Codebase list nfdump / 372bdb9
Imported Upstream version 1.6.6 Erik Wenzel 12 years ago
53 changed file(s) with 17174 addition(s) and 35295 deletion(s). Raw diff Collapse all Expand all
0 2011-12-xx 1.6.5
0 2011-03-12 1.6.6
1 - Minor IPFIX bug.
2 - IPFIX implement template withdraw
3 - For IPFIX, check packet sequence per template and observation domain
4 - Fix time window, when no flows collected or no flows matched
5 while processing
6 - Fixed typos
7 - Fix seg fault bug - test for EMPTY_LIST was missing at several places.
8
9 2011-02-19 1.6.6b1
10 - Fix bps/pps. make it uint64_t, as bps/pps > 4Gb/s overflows.
11 - In record raw print mode: decode ICMP instead of src/dst ports
12 - sflow use announced exporter IP instead of sending IP for router ID
13 - sflow: Ignore extra fill bytes. Do not complain.
14 - sflow: fix packet length issue.
15 - Add IPFIX protokoll support
16
17 2011-12-31 1.6.5
118 - Fix 64bit bug when using byte/packet limits
219 - for v5 and sampling use 64bit counters to prevent overflow for large sampled flows.
320 - Fixed Ident printig bug
11 *************************
22
33 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
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.
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.
810
911 Basic Installation
1012 ==================
1113
12 Briefly, the shell commands `./configure; make; make install' should
14 Briefly, the shell commands `./configure; make; make install' should
1315 configure, build, and install this package. The following
1416 more-detailed instructions are generic; see the `README' file for
15 instructions specific to this package.
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.
1622
1723 The `configure' shell script attempts to guess correct values for
1824 various system-dependent variables used during compilation. It uses
4147 you want to change it or regenerate `configure' using a newer version
4248 of `autoconf'.
4349
44 The simplest way to compile this package is:
50 The simplest way to compile this package is:
4551
4652 1. `cd' to the directory containing the package's source code and type
4753 `./configure' to configure the package for your system.
5258 2. Type `make' to compile the package.
5359
5460 3. Optionally, type `make check' to run any self-tests that come with
55 the package.
61 the package, generally using the just-built uninstalled binaries.
5662
5763 4. Type `make install' to install the programs and any data files and
58 documentation.
59
60 5. You can remove the program binaries and object files from the
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
6177 source code directory by typing `make clean'. To also remove the
6278 files that `configure' created (so you can compile the package for
6379 a different kind of computer), type `make distclean'. There is
6682 all sorts of other programs in order to regenerate files that came
6783 with the distribution.
6884
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
6995 Compilers and Options
7096 =====================
7197
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.
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.
75101
76102 You can give `configure' initial values for configuration parameters
77103 by setting variables in the command line or in the environment. Here
84110 Compiling For Multiple Architectures
85111 ====================================
86112
87 You can compile the package for more than one kind of computer at the
113 You can compile the package for more than one kind of computer at the
88114 same time, by placing the object files for each architecture in their
89115 own directory. To do this, you can use GNU `make'. `cd' to the
90116 directory where you want the object files and executables to go and run
91117 the `configure' script. `configure' automatically checks for the
92 source code in the directory that `configure' is in and in `..'.
118 source code in the directory that `configure' is in and in `..'. This
119 is known as a "VPATH" build.
93120
94121 With a non-GNU `make', it is safer to compile the package for one
95122 architecture at a time in the source code directory. After you have
96123 installed the package for one architecture, use `make distclean' before
97124 reconfiguring for another architecture.
98125
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
99140 Installation Names
100141 ==================
101142
102 By default, `make install' installs the package's commands under
143 By default, `make install' installs the package's commands under
103144 `/usr/local/bin', include files under `/usr/local/include', etc. You
104145 can specify an installation prefix other than `/usr/local' by giving
105 `configure' the option `--prefix=PREFIX'.
146 `configure' the option `--prefix=PREFIX', where PREFIX must be an
147 absolute file name.
106148
107149 You can specify separate installation prefixes for
108150 architecture-specific files and architecture-independent files. If you
113155 In addition, if you use an unusual directory layout you can give
114156 options like `--bindir=DIR' to specify different values for particular
115157 kinds of files. Run `configure --help' for a list of the directories
116 you can set and what kinds of files go in them.
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 =================
117193
118194 If the package supports it, you can cause programs to be installed
119195 with an extra prefix or suffix on their names by giving `configure' the
120196 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
121197
122 Optional Features
123 =================
124
125 Some packages pay attention to `--enable-FEATURE' options to
198 Some packages pay attention to `--enable-FEATURE' options to
126199 `configure', where FEATURE indicates an optional part of the package.
127200 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
128201 is something like `gnu-as' or `x' (for the X Window System). The
134207 you can use the `configure' options `--x-includes=DIR' and
135208 `--x-libraries=DIR' to specify their locations.
136209
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
137249 Specifying the System Type
138250 ==========================
139251
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
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
145257 `--build=TYPE' option. TYPE can either be a short name for the system
146258 type, such as `sun4', or a canonical name which has the form:
147259
149261
150262 where SYSTEM can have one of these forms:
151263
152 OS KERNEL-OS
264 OS
265 KERNEL-OS
153266
154267 See the file `config.sub' for the possible values of each field. If
155268 `config.sub' isn't included in this package, then this package doesn't
167280 Sharing Defaults
168281 ================
169282
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'.
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'.
173286 `configure' looks for `PREFIX/share/config.site' if it exists, then
174287 `PREFIX/etc/config.site' if it exists. Or, you can set the
175288 `CONFIG_SITE' environment variable to the location of the site script.
178291 Defining Variables
179292 ==================
180293
181 Variables not defined in a site shell script can be set in the
294 Variables not defined in a site shell script can be set in the
182295 environment passed to `configure'. However, some packages may run
183296 configure again during the build, and the customized values of these
184297 variables may be lost. In order to avoid this problem, you should set
197310 `configure' Invocation
198311 ======================
199312
200 `configure' recognizes the following options to control how it operates.
313 `configure' recognizes the following options to control how it
314 operates.
201315
202316 `--help'
203317 `-h'
204 Print a summary of the options to `configure', and exit.
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.
205326
206327 `--version'
207328 `-V'
228349 Look for the package's source code in directory DIR. Usually
229350 `configure' can determine that directory automatically.
230351
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
231362 `configure' also accepts some other, not widely useful, options. Run
232363 `configure --help' for more details.
233364
0 # Makefile.in generated by automake 1.10 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
5 # Inc.
56 # This Makefile.in is free software; the Free Software Foundation
67 # gives unlimited permission to copy and/or distribute it,
78 # with or without modifications, as long as this notice is preserved.
1415 @SET_MAKE@
1516 VPATH = @srcdir@
1617 pkgdatadir = $(datadir)/@PACKAGE@
18 pkgincludedir = $(includedir)/@PACKAGE@
1719 pkglibdir = $(libdir)/@PACKAGE@
18 pkgincludedir = $(includedir)/@PACKAGE@
20 pkglibexecdir = $(libexecdir)/@PACKAGE@
1921 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
2022 install_sh_DATA = $(install_sh) -c -m 644
2123 install_sh_PROGRAM = $(install_sh) -c
4244 mkinstalldirs = $(install_sh) -d
4345 CONFIG_HEADER = config.h
4446 CONFIG_CLEAN_FILES =
47 CONFIG_CLEAN_VPATH_FILES =
4548 SOURCES =
4649 DIST_SOURCES =
4750 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
5356 ps-recursive uninstall-recursive
5457 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
5558 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
5662 ETAGS = etags
5763 CTAGS = ctags
5864 DIST_SUBDIRS = $(SUBDIRS)
6066 distdir = $(PACKAGE)-$(VERSION)
6167 top_distdir = $(distdir)
6268 am__remove_distdir = \
63 { test ! -d $(distdir) \
64 || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
65 && rm -fr $(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"
6697 DIST_ARCHIVES = $(distdir).tar.gz
6798 GZIP_ENV = --best
6899 distuninstallcheck_listfiles = find . -type f -print
111142 PACKAGE_NAME = @PACKAGE_NAME@
112143 PACKAGE_STRING = @PACKAGE_STRING@
113144 PACKAGE_TARNAME = @PACKAGE_TARNAME@
145 PACKAGE_URL = @PACKAGE_URL@
114146 PACKAGE_VERSION = @PACKAGE_VERSION@
115147 PATH_SEPARATOR = @PATH_SEPARATOR@
116148 RRD_LIBS = @RRD_LIBS@
159191 srcdir = @srcdir@
160192 sysconfdir = @sysconfdir@
161193 target_alias = @target_alias@
194 top_build_prefix = @top_build_prefix@
162195 top_builddir = @top_builddir@
163196 top_srcdir = @top_srcdir@
164197 SUBDIRS = . bin man
173206 @for dep in $?; do \
174207 case '$(am__configure_deps)' in \
175208 *$$dep*) \
176 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
177 cd $(srcdir) && $(AUTOMAKE) --gnu \
209 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
210 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
178211 && exit 0; \
179212 exit 1;; \
180213 esac; \
181214 done; \
182 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
183 cd $(top_srcdir) && \
184 $(AUTOMAKE) --gnu Makefile
215 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
216 $(am__cd) $(top_srcdir) && \
217 $(AUTOMAKE) --gnu Makefile
185218 .PRECIOUS: Makefile
186219 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
187220 @case '$?' in \
197230 $(SHELL) ./config.status --recheck
198231
199232 $(top_srcdir)/configure: $(am__configure_deps)
200 cd $(srcdir) && $(AUTOCONF)
233 $(am__cd) $(srcdir) && $(AUTOCONF)
201234 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
202 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
235 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
236 $(am__aclocal_m4_deps):
203237
204238 config.h: stamp-h1
205239 @if test ! -f $@; then \
211245 @rm -f stamp-h1
212246 cd $(top_builddir) && $(SHELL) ./config.status config.h
213247 $(srcdir)/config.h.in: $(am__configure_deps)
214 cd $(top_srcdir) && $(AUTOHEADER)
248 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
215249 rm -f stamp-h1
216250 touch $@
217251
225259 # (which will cause the Makefiles to be regenerated when you run `make');
226260 # (2) otherwise, pass the desired values on the `make' command line.
227261 $(RECURSIVE_TARGETS):
228 @failcom='exit 1'; \
262 @fail= failcom='exit 1'; \
229263 for f in x $$MAKEFLAGS; do \
230264 case $$f in \
231265 *=* | --[!k]*);; \
242276 else \
243277 local_target="$$target"; \
244278 fi; \
245 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
279 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
246280 || eval $$failcom; \
247281 done; \
248282 if test "$$dot_seen" = "no"; then \
250284 fi; test -z "$$fail"
251285
252286 $(RECURSIVE_CLEAN_TARGETS):
253 @failcom='exit 1'; \
287 @fail= failcom='exit 1'; \
254288 for f in x $$MAKEFLAGS; do \
255289 case $$f in \
256290 *=* | --[!k]*);; \
276310 else \
277311 local_target="$$target"; \
278312 fi; \
279 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
313 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
280314 || eval $$failcom; \
281315 done && test -z "$$fail"
282316 tags-recursive:
283317 list='$(SUBDIRS)'; for subdir in $$list; do \
284 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
318 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
285319 done
286320 ctags-recursive:
287321 list='$(SUBDIRS)'; for subdir in $$list; do \
288 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
322 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
289323 done
290324
291325 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
293327 unique=`for i in $$list; do \
294328 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
295329 done | \
296 $(AWK) ' { files[$$0] = 1; } \
297 END { for (i in files) print i; }'`; \
330 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
331 END { if (nonempty) { for (i in files) print i; }; }'`; \
298332 mkid -fID $$unique
299333 tags: TAGS
300334
301335 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
302336 $(TAGS_FILES) $(LISP)
303 tags=; \
337 set x; \
304338 here=`pwd`; \
305339 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
306340 include_option=--etags-include; \
312346 list='$(SUBDIRS)'; for subdir in $$list; do \
313347 if test "$$subdir" = .; then :; else \
314348 test ! -f $$subdir/TAGS || \
315 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
349 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
316350 fi; \
317351 done; \
318352 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
319353 unique=`for i in $$list; do \
320354 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
321355 done | \
322 $(AWK) ' { files[$$0] = 1; } \
323 END { for (i in files) print i; }'`; \
324 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
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 \
325360 test -n "$$unique" || unique=$$empty_fix; \
326 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
327 $$tags $$unique; \
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; \
328368 fi
329369 ctags: CTAGS
330370 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
331371 $(TAGS_FILES) $(LISP)
332 tags=; \
333 here=`pwd`; \
334372 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
335373 unique=`for i in $$list; do \
336374 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
337375 done | \
338 $(AWK) ' { files[$$0] = 1; } \
339 END { for (i in files) print i; }'`; \
340 test -z "$(CTAGS_ARGS)$$tags$$unique" \
376 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
377 END { if (nonempty) { for (i in files) print i; }; }'`; \
378 test -z "$(CTAGS_ARGS)$$unique" \
341379 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
342 $$tags $$unique
380 $$unique
343381
344382 GTAGS:
345383 here=`$(am__cd) $(top_builddir) && pwd` \
346 && cd $(top_srcdir) \
347 && gtags -i $(GTAGS_ARGS) $$here
384 && $(am__cd) $(top_srcdir) \
385 && gtags -i $(GTAGS_ARGS) "$$here"
348386
349387 distclean-tags:
350388 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
351389
352390 distdir: $(DISTFILES)
353391 $(am__remove_distdir)
354 test -d $(distdir) || mkdir $(distdir)
392 test -d "$(distdir)" || mkdir "$(distdir)"
355393 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
356394 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
357395 list='$(DISTFILES)'; \
367405 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
368406 if test -d $$d/$$file; then \
369407 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 {} \;; \
410 fi; \
370411 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
371 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
412 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
413 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
372414 fi; \
373 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
415 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
374416 else \
375 test -f $(distdir)/$$file \
376 || cp -p $$d/$$file $(distdir)/$$file \
417 test -f "$(distdir)/$$file" \
418 || cp -p $$d/$$file "$(distdir)/$$file" \
377419 || exit 1; \
378420 fi; \
379421 done
380 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
422 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
381423 if test "$$subdir" = .; then :; else \
382424 test -d "$(distdir)/$$subdir" \
383425 || $(MKDIR_P) "$(distdir)/$$subdir" \
384426 || exit 1; \
385 distdir=`$(am__cd) $(distdir) && pwd`; \
386 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
387 (cd $$subdir && \
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 && \
388440 $(MAKE) $(AM_MAKEFLAGS) \
389 top_distdir="$$top_distdir" \
390 distdir="$$distdir/$$subdir" \
441 top_distdir="$$new_top_distdir" \
442 distdir="$$new_distdir" \
391443 am__remove_distdir=: \
392444 am__skip_length_check=: \
445 am__skip_mode_fix=: \
393446 distdir) \
394447 || exit 1; \
395448 fi; \
396449 done
397 -find $(distdir) -type d ! -perm -755 -exec chmod u+rwx,go+rx {} \; -o \
450 -test -n "$(am__skip_mode_fix)" \
451 || find "$(distdir)" -type d ! -perm -755 \
452 -exec chmod u+rwx,go+rx {} \; -o \
398453 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
399454 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
400455 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
401 || chmod -R a+r $(distdir)
456 || chmod -R a+r "$(distdir)"
402457 dist-gzip: distdir
403458 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
404459 $(am__remove_distdir)
405460
406461 dist-bzip2: distdir
407462 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
408471 $(am__remove_distdir)
409472
410473 dist-tarZ: distdir
430493 distcheck: dist
431494 case '$(DIST_ARCHIVES)' in \
432495 *.tar.gz*) \
433 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
496 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
434497 *.tar.bz2*) \
435 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
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) ;;\
436503 *.tar.Z*) \
437504 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
438505 *.shar.gz*) \
439 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
506 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
440507 *.zip*) \
441508 unzip $(distdir).zip ;;\
442509 esac
444511 mkdir $(distdir)/_build
445512 mkdir $(distdir)/_inst
446513 chmod a-w $(distdir)
514 test -d $(distdir)/_build || exit 0; \
447515 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
448516 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
449 && cd $(distdir)/_build \
517 && am__cwd=`pwd` \
518 && $(am__cd) $(distdir)/_build \
450519 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
451520 $(DISTCHECK_CONFIGURE_FLAGS) \
452521 && $(MAKE) $(AM_MAKEFLAGS) \
468537 && rm -rf "$$dc_destdir" \
469538 && $(MAKE) $(AM_MAKEFLAGS) dist \
470539 && rm -rf $(DIST_ARCHIVES) \
471 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
540 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
541 && cd "$$am__cwd" \
542 || exit 1
472543 $(am__remove_distdir)
473544 @(echo "$(distdir) archives ready for distribution: "; \
474545 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
475546 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
476547 distuninstallcheck:
477 @cd $(distuninstallcheck_dir) \
548 @$(am__cd) '$(distuninstallcheck_dir)' \
478549 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
479550 || { echo "ERROR: files left after uninstall:" ; \
480551 if test -n "$(DESTDIR)"; then \
516587
517588 distclean-generic:
518589 -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)
519591
520592 maintainer-clean-generic:
521593 @echo "This command is intended for maintainers to use"
535607
536608 html: html-recursive
537609
610 html-am:
611
538612 info: info-recursive
539613
540614 info-am:
543617
544618 install-dvi: install-dvi-recursive
545619
620 install-dvi-am:
621
546622 install-exec-am:
547623
548624 install-html: install-html-recursive
549625
626 install-html-am:
627
550628 install-info: install-info-recursive
551629
630 install-info-am:
631
552632 install-man:
553633
554634 install-pdf: install-pdf-recursive
555635
636 install-pdf-am:
637
556638 install-ps: install-ps-recursive
639
640 install-ps-am:
557641
558642 installcheck-am:
559643
577661
578662 uninstall-am:
579663
580 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
581 install-strip
664 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
665 ctags-recursive install-am install-strip tags-recursive
582666
583667 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
584668 all all-am am--refresh check check-am clean clean-generic \
585669 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
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 \
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 \
595679 maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
596680 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
681
597682
598683 # Tell versions [3.59,3.63) of GNU make to not export all variables.
599684 # Otherwise a system limit (for SysV at least) may be exceeded.
00
1 Release stable v1.6.5
2 nfdump-1.6.2 is a bugfix release
3
4 See the Changelog file for changes in release 1.6.5
5
6 NEW in 1.6.1 since 1.5.8
7 ------------------------
8 o Add sampling support for JunOS
9 o Add router IP extension.
10 o Add router ID extension (engine type/ID)
11 o Add srcmask and dstmask aggregation
12 o Add possibility to save aggregated flows into file ( -w )
13 Note: This results in a behaviour change for -w in combination
14 with aggregation )
15 o Extend -N ( do not scale numbers ) to all text output not just summary
16 o Remove header lines of -s stat, when using -q ( quiet )
17 Note: This results in a behaviour change for -N
18 o Remove legacy v1.4 file compatibility
19 o Remove -S option from nfdump ( legacy 1.4 compatibility )
20 o Make use of log (syslog) functions for nfprofile.
21 o Move log functions to util.c
22 o Update sflow collector.
23 o Add parse_csv.pl script as an example to parse csv output
24 o Add csv output format ( -o cvs ) as replacement for -o pipe - keep -o pipe for now.
25 o Flow-tools converter updated - supports all common elements.
26 o Sflow collector updated. Supports more common elements.
27 o Add sampling to nfdump. Sampling is automatically recognised
28 in undocumented v5 header fields and in v9 option templates.
29 see nfcapd.1(1)
30 o Add @include option for filter to include more filter files.
31 o Add flexible aggregation comparable to Flexible Netflow (FNF)
32 over all available v9 tags
33 o All new tags can be selected in -o fmt:... see nfdump(1)
34 o topN stat for all new tags is implemented
35 o Integrate developer code to read from pcap files into stable branch
36 o Update filter syntax for new tags
37 o Add flexible storage option for nfcapd. To save disk space, the
38 data extensions to be stored in the data file are user selectable.
39 o Added more v9 tags for netflow v9.
40 The detailed tags are listed in nfcapd(1) Beside of MAC addresses
41 and VLAN labels, also MPLS labels and many more v9 tags are now
42 supported. AS numbers and interface numbers are now 32bit clean.
43 Adding new tags also extended the binary file format with
44 data block type 2, which is extension based. File format
45 for version <= 1.5.* ( Data block format type 1 ) is read
46 transparently. ( --enable-compat15 ) Data block type 2 are skipped
47 by nfdump 1.5.7.
48 o Added option for multiple netflow stream to same port.
49 -n <Ident,IP,base_directory>
50 Example: -n router1,192.168.100.1,/var/nfdump/router1
51 So multiple -n options may be given at the command line
52 Old style syntax still works for compatibility, ( -I .. -l ... )
53 but then only one source is supported.
54 o Move to automake for building nfdump
55 o Make nfdump fully 64bit compliant. ( 32/64bit data alignments and access )
56 Compiles and runs cleanly on 32/64bit systems
57 o Switch scaling factor ( k, M, G ) from 1024 to 1000.
58
59 This release works with NfSen 1.3.2, however, the interface is not yet able to
60 profit from the new options.
61
62 *** WARNING ***
63 The PortTracker delivered with NfSen 1.3.2 does *NOT* work together with
64 nfdump-1.6
65
66 ** Note: **
67 To read nfdump-1.5.x files, you need to run configure qith --enable-compat15
1 Stable Release v1.6.6
2
3 See the Changelog file for changes in release 1.6.6
4
5 Version 1.6.6 now contains an IPFIX module for decoding IPFIX data. It
6 is considered to be experimental and does not yet support full IPFIX.
7 o Only UDP traffic is acceptedno SCTP
8 o No sampling support.
9 o Still more test data needed. If you would like to see more IPFIX
10 support, please contact me.
11
12 General README
13 --------------
6814
6915 This is a small description, what the nfdump tools do and how they work.
7016 Nfdump is distributed under the BSD license - see BSD-license.txt
0 # generated automatically by aclocal 1.10 -*- Autoconf -*-
0 # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
11
22 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 # 2005, 2006 Free Software Foundation, Inc.
3 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
66 # with or without modifications, as long as this notice is preserved.
1010 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1111 # PARTICULAR PURPOSE.
1212
13 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.
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.
1922 #
2023 # This file is free software; the Free Software Foundation
2124 # gives unlimited permission to copy and/or distribute it,
2730 # generated from the m4 files accompanying Automake X.Y.
2831 # (This private macro should not be called outside this file.)
2932 AC_DEFUN([AM_AUTOMAKE_VERSION],
30 [am__api_version='1.10'
33 [am__api_version='1.11'
3134 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3235 dnl require some minimum version. Point them to the right macro.
33 m4_if([$1], [1.10], [],
36 m4_if([$1], [1.11.1], [],
3437 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
3538 ])
3639
4447 # AM_SET_CURRENT_AUTOMAKE_VERSION
4548 # -------------------------------
4649 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
47 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
50 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
4851 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
49 [AM_AUTOMAKE_VERSION([1.10])dnl
50 _AM_AUTOCONF_VERSION(m4_PACKAGE_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]))])
5156
5257 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
5358
104109
105110 # AM_CONDITIONAL -*- Autoconf -*-
106111
107 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
112 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
108113 # Free Software Foundation, Inc.
109114 #
110115 # This file is free software; the Free Software Foundation
111116 # gives unlimited permission to copy and/or distribute it,
112117 # with or without modifications, as long as this notice is preserved.
113118
114 # serial 8
119 # serial 9
115120
116121 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
117122 # -------------------------------------
124129 AC_SUBST([$1_FALSE])dnl
125130 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
126131 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
132 m4_define([_AM_COND_VALUE_$1], [$2])dnl
127133 if $2; then
128134 $1_TRUE=
129135 $1_FALSE='#'
137143 Usually this means the macro was only invoked conditionally.]])
138144 fi])])
139145
140 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
146 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
141147 # Free Software Foundation, Inc.
142148 #
143149 # This file is free software; the Free Software Foundation
144150 # gives unlimited permission to copy and/or distribute it,
145151 # with or without modifications, as long as this notice is preserved.
146152
147 # serial 9
153 # serial 10
148154
149155 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
150156 # written in clear, in which case automake, when reading aclocal.m4,
201207 if test "$am_compiler_list" = ""; then
202208 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
203209 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
204220 for depmode in $am_compiler_list; do
205221 # Setup a source with many dependencies, because some compilers
206222 # like to wrap large dependency lists on column 80 (with \), and
218234 done
219235 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
220236
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"
221243 case $depmode in
244 gcc)
245 # This depmode causes a compiler race in universal mode.
246 test "$am__universal" = false || continue
247 ;;
222248 nosideeffect)
223249 # after this tag, mechanisms are not by side-effect, so they'll
224250 # only be used when explicitly requested
228254 break
229255 fi
230256 ;;
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 ;;
231264 none) break ;;
232265 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.
236266 if depmode=$depmode \
237 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
267 source=sub/conftest.c object=$am__obj \
238268 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
239 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
269 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
240270 >/dev/null 2>conftest.err &&
241271 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
242272 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
243 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
273 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
244274 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
245275 # icc doesn't choke on unknown options, it will just issue warnings
246276 # or remarks (even with -Werror). So we grep stderr for any message
297327
298328 # Generate code to set up dependency tracking. -*- Autoconf -*-
299329
300 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
330 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
301331 # Free Software Foundation, Inc.
302332 #
303333 # This file is free software; the Free Software Foundation
304334 # gives unlimited permission to copy and/or distribute it,
305335 # with or without modifications, as long as this notice is preserved.
306336
307 #serial 3
337 #serial 5
308338
309339 # _AM_OUTPUT_DEPENDENCY_COMMANDS
310340 # ------------------------------
311341 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
312 [for mf in $CONFIG_FILES; do
313 # Strip MF so we end up with the name of the file.
314 mf=`echo "$mf" | sed -e 's/:.*$//'`
315 # Check whether this is an Automake generated Makefile or not.
316 # We used to match only the files named `Makefile.in', but
317 # some people rename them; so instead we look at the file content.
318 # Grep'ing the first line is not enough: some people post-process
319 # each Makefile.in and add a new line on top of each file to say so.
320 # Grep'ing the whole file is not good either: AIX grep has a line
321 # limit of 2048, but all sed's we know have understand at least 4000.
322 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
323 dirpart=`AS_DIRNAME("$mf")`
324 else
325 continue
326 fi
327 # Extract the definition of DEPDIR, am__include, and am__quote
328 # from the Makefile without running `make'.
329 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
330 test -z "$DEPDIR" && continue
331 am__include=`sed -n 's/^am__include = //p' < "$mf"`
332 test -z "am__include" && continue
333 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
334 # When using ansi2knr, U may be empty or an underscore; expand it
335 U=`sed -n 's/^U = //p' < "$mf"`
336 # Find all dependency output files, they are included files with
337 # $(DEPDIR) in their names. We invoke sed twice because it is the
338 # simplest approach to changing $(DEPDIR) to its actual value in the
339 # expansion.
340 for file in `sed -n "
341 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
342 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
343 # Make sure the directory exists.
344 test -f "$dirpart/$file" && continue
345 fdir=`AS_DIRNAME(["$file"])`
346 AS_MKDIR_P([$dirpart/$fdir])
347 # echo "creating $dirpart/$file"
348 echo '# dummy' > "$dirpart/$file"
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
349390 done
350 done
391 }
351392 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
352393
353394
367408 # Do all the work for Automake. -*- Autoconf -*-
368409
369410 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
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
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
377418
378419 # This macro actually does too much. Some checks are only needed if
379420 # your package does certain things. But this isn't really a big deal.
390431 # arguments mandatory, and then we can depend on a new Autoconf
391432 # release and drop the old call support.
392433 AC_DEFUN([AM_INIT_AUTOMAKE],
393 [AC_PREREQ([2.60])dnl
434 [AC_PREREQ([2.62])dnl
394435 dnl Autoconf wants to disallow AM_ names. We explicitly allow
395436 dnl the ones we care about.
396437 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
441482 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
442483 AM_MISSING_PROG(AUTOHEADER, autoheader)
443484 AM_MISSING_PROG(MAKEINFO, makeinfo)
444 AM_PROG_INSTALL_SH
445 AM_PROG_INSTALL_STRIP
485 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
486 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
446487 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
447488 # We need awk for the "check" target. The system "awk" is bad on
448489 # some platforms.
450491 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
451492 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
452493 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
453 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
454 [_AM_PROG_TAR([v7])])])
494 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
495 [_AM_PROG_TAR([v7])])])
455496 _AM_IF_OPTION([no-dependencies],,
456497 [AC_PROVIDE_IFELSE([AC_PROG_CC],
457 [_AM_DEPENDENCIES(CC)],
458 [define([AC_PROG_CC],
459 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
498 [_AM_DEPENDENCIES(CC)],
499 [define([AC_PROG_CC],
500 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
460501 AC_PROVIDE_IFELSE([AC_PROG_CXX],
461 [_AM_DEPENDENCIES(CXX)],
462 [define([AC_PROG_CXX],
463 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
502 [_AM_DEPENDENCIES(CXX)],
503 [define([AC_PROG_CXX],
504 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
464505 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
465 [_AM_DEPENDENCIES(OBJC)],
466 [define([AC_PROG_OBJC],
467 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
468 ])
469 ])
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])])
470524
471525
472526 # When config.status generates a header, we must update the stamp-h file.
478532 # our stamp files there.
479533 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
480534 [# Compute $1's index in $config_headers.
535 _am_arg=$1
481536 _am_stamp_count=1
482537 for _am_header in $config_headers :; do
483538 case $_am_header in
484 $1 | $1:* )
539 $_am_arg | $_am_arg:* )
485540 break ;;
486541 * )
487542 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
488543 esac
489544 done
490 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
491
492 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
545 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
546
547 # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
493548 #
494549 # This file is free software; the Free Software Foundation
495550 # gives unlimited permission to copy and/or distribute it,
500555 # Define $install_sh.
501556 AC_DEFUN([AM_PROG_INSTALL_SH],
502557 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
503 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
558 if test x"${install_sh}" != xset; then
559 case $am_aux_dir in
560 *\ * | *\ *)
561 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
562 *)
563 install_sh="\${SHELL} $am_aux_dir/install-sh"
564 esac
565 fi
504566 AC_SUBST(install_sh)])
505567
506568 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
526588
527589 # Check to see how 'make' treats includes. -*- Autoconf -*-
528590
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
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
536598
537599 # AM_MAKE_INCLUDE()
538600 # -----------------
541603 [am_make=${MAKE-make}
542604 cat > confinc << 'END'
543605 am__doit:
544 @echo done
606 @echo this is the am__doit target
545607 .PHONY: am__doit
546608 END
547609 # If we don't find an include directive, just comment out the code.
551613 _am_result=none
552614 # First try GNU make style include.
553615 echo "include confinc" > confmf
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
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
564624 # Now try BSD make style include.
565625 if test "$am__include" = "#"; then
566626 echo '.include "confinc"' > confmf
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
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
572634 fi
573635 AC_SUBST([am__include])
574636 AC_SUBST([am__quote])
576638 rm -f confinc confmf
577639 ])
578640
579 # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
641 # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
580642 # Free Software Foundation, Inc.
581643 #
582644 # This file is free software; the Free Software Foundation
583645 # gives unlimited permission to copy and/or distribute it,
584646 # with or without modifications, as long as this notice is preserved.
585647
586 # serial 5
648 # serial 6
587649
588650 # AM_PROG_CC_C_O
589651 # --------------
595657 # FIXME: we rely on the cache variable name because
596658 # there is no other way.
597659 set dummy $CC
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
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
600663 # Losing compiler, so override with the script.
601664 # FIXME: It is wrong to rewrite CC.
602665 # But if we don't then we get into trouble of one sort or another.
612675
613676 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
614677
615 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
678 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
616679 # Free Software Foundation, Inc.
617680 #
618681 # This file is free software; the Free Software Foundation
619682 # gives unlimited permission to copy and/or distribute it,
620683 # with or without modifications, as long as this notice is preserved.
621684
622 # serial 5
685 # serial 6
623686
624687 # AM_MISSING_PROG(NAME, PROGRAM)
625688 # ------------------------------
636699 AC_DEFUN([AM_MISSING_HAS_RUN],
637700 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
638701 AC_REQUIRE_AUX_FILE([missing])dnl
639 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
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
640710 # Use eval to expand $SHELL
641711 if eval "$MISSING --run true"; then
642712 am_missing_run="$MISSING --run "
674744
675745 # Helper functions for option handling. -*- Autoconf -*-
676746
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
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
684754
685755 # _AM_MANGLE_OPTION(NAME)
686756 # -----------------------
697767 # ----------------------------------
698768 # OPTIONS is a space-separated list of Automake options.
699769 AC_DEFUN([_AM_SET_OPTIONS],
700 [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
770 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
701771
702772 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
703773 # -------------------------------------------
707777
708778 # Check to make sure that the build environment is sane. -*- Autoconf -*-
709779
710 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
780 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
711781 # Free Software Foundation, Inc.
712782 #
713783 # This file is free software; the Free Software Foundation
714784 # gives unlimited permission to copy and/or distribute it,
715785 # with or without modifications, as long as this notice is preserved.
716786
717 # serial 4
787 # serial 5
718788
719789 # AM_SANITY_CHECK
720790 # ---------------
723793 # Just in case
724794 sleep 1
725795 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
726809 # Do `set' in a subshell so we don't clobber the current shell's
727810 # arguments. Must try -L first in case configure is actually a
728811 # symlink; some systems play weird games with the mod time of symlinks
729812 # (eg FreeBSD returns the mod time of the symlink's containing
730813 # directory).
731814 if (
732 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
815 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
733816 if test "$[*]" = "X"; then
734817 # -L didn't work.
735 set X `ls -t $srcdir/configure conftest.file`
818 set X `ls -t "$srcdir/configure" conftest.file`
736819 fi
737820 rm -f conftest.file
738821 if test "$[*]" != "X $srcdir/configure conftest.file" \
785868 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
786869 AC_SUBST([INSTALL_STRIP_PROGRAM])])
787870
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.
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
793878
794879 # _AM_SUBST_NOTMAKE(VARIABLE)
795880 # ---------------------------
796 # Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
881 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
797882 # This macro is traced by Automake.
798883 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($@)])
799889
800890 # Check how to create a tarball. -*- Autoconf -*-
801891
00 @%:@! /bin/sh
1 @%:@ From configure.in Revision: 69 .
1 @%:@ From configure.in Revision: 88 .
22 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.61 for nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $.
3 @%:@ Generated by GNU Autoconf 2.68 for nfdump 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $.
44 @%:@
55 @%:@ Report bugs to <phaag@users.sourceforge.net>.
66 @%:@
7 @%:@
78 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 @%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 @%:@ Foundation, Inc.
11 @%:@
12 @%:@
913 @%:@ This configure script is free software; the Free Software Foundation
1014 @%:@ gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
1418
1519 # Be more Bourne compatible
1620 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1822 emulate sh
1923 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2125 # is contrary to our usage. Disable this feature.
2226 alias -g '${1+"$@"}'='"$@"'
2327 setopt NO_GLOB_SUBST
2428 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
29 case `(set -o) 2>/dev/null` in @%:@(
30 *posix*) :
31 set -o posix ;; @%:@(
32 *) :
33 ;;
2734 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
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
4175
4276 # The user is always right.
4377 if test "${PATH_SEPARATOR+set}" != set; then
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
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 }
6083 fi
6184
6285
6588 # there to prevent editors from complaining about space-tab.
6689 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6790 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
7091 IFS=" "" $as_nl"
7192
7293 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
94 as_myself=
95 case $0 in @%:@((
7496 *[\\/]* ) as_myself=$0 ;;
7597 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7698 for as_dir in $PATH
7799 do
78100 IFS=$as_save_IFS
79101 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
82104 IFS=$as_save_IFS
83105
84106 ;;
89111 as_myself=$0
90112 fi
91113 if test ! -f "$as_myself"; then
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
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 || :
99125 done
100126 PS1='$ '
101127 PS2='> '
102128 PS4='+ '
103129
104130 # NLS nuisances.
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
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
109189 do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
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
208 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."
112240 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
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."
114246 fi
115 done
116
117 # Required to use basename.
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
118386 if expr a : '\(a\)' >/dev/null 2>&1 &&
119387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120388 as_expr=expr
128396 as_basename=false
129397 fi
130398
131
132 # Name of the executable.
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
133405 as_me=`$as_basename -- "$0" ||
134406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135407 X"$0" : 'X\(//\)$' \| \
136408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
409 $as_echo X/"$0" |
138410 sed '/^.*\/\([^/][^/]*\)\/*$/{
139411 s//\1/
140412 q
149421 }
150422 s/.*/./; q'`
151423
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. :-)
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. :-)
440437 sed -n '
441438 p
442439 /[$]LINENO/=
453450 s/-\n.*//
454451 ' >$as_me.lineno &&
455452 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
458454
459455 # Don't try to exec as it changes $[0], causing all sort of problems
460456 # (the dirname of $[0] is not the place where we might find the
464460 exit
465461 }
466462
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
474463 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
464 case `echo -n x` in @%:@(((((
476465 -n*)
477 case `echo 'x\c'` in
466 case `echo 'xy\c'` in
478467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
468 xy) ECHO_C='\c';;
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
470 ECHO_T=' ';;
480471 esac;;
481472 *)
482473 ECHO_N='-n';;
483474 esac
484475
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
492476 rm -f conf$$ conf$$.exe conf$$.file
493477 if test -d conf$$.dir; then
494478 rm -f conf$$.dir/conf$$.file
495479 else
496480 rm -f conf$$.dir
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 ||
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
507495 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
496 fi
510497 else
511498 as_ln_s='cp -p'
512499 fi
514501 rmdir conf$$.dir 2>/dev/null
515502
516503 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
504 as_mkdir_p='mkdir -p "$as_dir"'
518505 else
519506 test -d ./-p && rmdir ./-p
520507 as_mkdir_p=false
531518 as_test_x='
532519 eval sh -c '\''
533520 if test -d "$1"; then
534 test -d "$1/.";
521 test -d "$1/.";
535522 else
536 case $1 in
537 -*)set "./$1";;
523 case $1 in @%:@(
524 -*)set "./$1";;
538525 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
540527 ???[sx]*):;;*)false;;esac;fi
541528 '\'' sh
542529 '
550537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551538
552539
553
554 exec 7<&0 </dev/null 6>&1
540 test -n "$DJDIR" || exec 7<&0 </dev/null
541 exec 6>&1
555542
556543 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
558545 # so uname gets run too.
559546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560547
569556 subdirs=
570557 MFLAGS=
571558 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
573559
574560 # Identity of this package.
575561 PACKAGE_NAME='nfdump'
576562 PACKAGE_TARNAME='nfdump'
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) $'
563 PACKAGE_VERSION='1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $'
564 PACKAGE_STRING='nfdump 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $'
579565 PACKAGE_BUGREPORT='phaag@users.sourceforge.net'
566 PACKAGE_URL=''
580567
581568 # Factoring default headers for most tests.
582569 ac_includes_default="\
616603
617604 ac_header_list=
618605 ac_func_list=
619 ac_subst_vars='SHELL
606 ac_subst_vars='am__EXEEXT_FALSE
607 am__EXEEXT_TRUE
608 LTLIBOBJS
609 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
620708 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
717 LIB@&t@OBJS
718 LTLIBOBJS'
709 SHELL'
719710 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 '
720725 ac_precious_vars='build_alias
721726 host_alias
722727 target_alias
733738 # Initialize some variables set by options.
734739 ac_init_help=
735740 ac_init_version=false
741 ac_unrecognized_opts=
742 ac_unrecognized_sep=
736743 # The variables have the same names as the options, with
737744 # dashes changed to underlines.
738745 cache_file=/dev/null
788795 fi
789796
790797 case $ac_option in
791 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
792 *) ac_optarg=yes ;;
798 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
799 *=) ac_optarg= ;;
800 *) ac_optarg=yes ;;
793801 esac
794802
795803 # Accept the important Cygnus configure options, so we can diagnose typos.
831839 datarootdir=$ac_optarg ;;
832840
833841 -disable-* | --disable-*)
834 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
842 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
835843 # Reject names that are not valid shell variable names.
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 ;;
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 ;;
841856
842857 -docdir | --docdir | --docdi | --doc | --do)
843858 ac_prev=docdir ;;
850865 dvidir=$ac_optarg ;;
851866
852867 -enable-* | --enable-*)
853 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
868 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
854869 # Reject names that are not valid shell variable names.
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 ;;
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 ;;
860882
861883 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
862884 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
10471069 ac_init_version=: ;;
10481070
10491071 -with-* | --with-*)
1050 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1072 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10511073 # Reject names that are not valid shell variable names.
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 ;;
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 ;;
10571086
10581087 -without-* | --without-*)
1059 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1088 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10601089 # Reject names that are not valid shell variable names.
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 ;;
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 ;;
10661102
10671103 --x)
10681104 # Obsolete; use --with-x.
10821118 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10831119 x_libraries=$ac_optarg ;;
10841120
1085 -*) { echo "$as_me: error: unrecognized option: $ac_option
1086 Try \`$0 --help' for more information." >&2
1087 { (exit 1); exit 1; }; }
1121 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1122 Try \`$0 --help' for more information"
10881123 ;;
10891124
10901125 *=*)
10911126 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10921127 # Reject names that are not valid shell variable names.
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; }; }
1128 case $ac_envvar in #(
1129 '' | [0-9]* | *[!_$as_cr_alnum]* )
1130 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1131 esac
10961132 eval $ac_envvar=\$ac_optarg
10971133 export $ac_envvar ;;
10981134
10991135 *)
11001136 # FIXME: should be removed in autoconf 3.0.
1101 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1137 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11021138 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1103 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
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}"
11051141 ;;
11061142
11071143 esac
11091145
11101146 if test -n "$ac_prev"; then
11111147 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
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.
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.
11171160 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
11181161 datadir sysconfdir sharedstatedir localstatedir includedir \
11191162 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11201163 libdir localedir mandir
11211164 do
11221165 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.
11231173 case $ac_val in
11241174 [\\/$]* | ?:[\\/]* ) continue;;
11251175 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11261176 esac
1127 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1128 { (exit 1); exit 1; }; }
1177 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
11291178 done
11301179
11311180 # There might be people who depend on the old broken behavior: `$host'
11391188 if test "x$host_alias" != x; then
11401189 if test "x$build_alias" = x; then
11411190 cross_compiling=maybe
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
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
11441193 elif test "x$build_alias" != "x$host_alias"; then
11451194 cross_compiling=yes
11461195 fi
11551204 ac_pwd=`pwd` && test -n "$ac_pwd" &&
11561205 ac_ls_di=`ls -di .` &&
11571206 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1158 { echo "$as_me: error: Working directory cannot be determined" >&2
1159 { (exit 1); exit 1; }; }
1207 as_fn_error $? "working directory cannot be determined"
11601208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1161 { echo "$as_me: error: pwd does not report name of working directory" >&2
1162 { (exit 1); exit 1; }; }
1209 as_fn_error $? "pwd does not report name of working directory"
11631210
11641211
11651212 # Find the source files, if location was not specified.
11661213 if test -z "$srcdir"; then
11671214 ac_srcdir_defaulted=yes
11681215 # Try the directory containing this script, then the parent directory.
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" |
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" |
11751222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11761223 s//\1/
11771224 q
11981245 fi
11991246 if test ! -r "$srcdir/$ac_unique_file"; then
12001247 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1201 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1202 { (exit 1); exit 1; }; }
1248 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
12031249 fi
12041250 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12051251 ac_abs_confdir=`(
1206 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1207 { (exit 1); exit 1; }; }
1252 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
12081253 pwd)`
12091254 # When building in place, set srcdir=.
12101255 if test "$ac_abs_confdir" = "$ac_pwd"; then
12301275 # Omit some internal or obsolete options to make the list less imposing.
12311276 # This message is too long to be a string in the A/UX 3.1 sh.
12321277 cat <<_ACEOF
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.
1278 \`configure' configures nfdump 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $ to adapt to many kinds of systems.
12341279
12351280 Usage: $0 [OPTION]... [VAR=VALUE]...
12361281
12441289 --help=short display options specific to this package
12451290 --help=recursive display the short help of all the included packages
12461291 -V, --version display version information and exit
1247 -q, --quiet, --silent do not print \`checking...' messages
1292 -q, --quiet, --silent do not print \`checking ...' messages
12481293 --cache-file=FILE cache test results in FILE [disabled]
12491294 -C, --config-cache alias for \`--cache-file=config.cache'
12501295 -n, --no-create do not create output files
12521297
12531298 Installation directories:
12541299 --prefix=PREFIX install architecture-independent files in PREFIX
1255 [$ac_default_prefix]
1300 @<:@@S|@ac_default_prefix@:>@
12561301 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1257 [PREFIX]
1302 @<:@PREFIX@:>@
12581303
12591304 By default, \`make install' will install all the files in
12601305 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
12641309 For better control, use the options below.
12651310
12661311 Fine tuning of the installation directories:
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]
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]
12861331 _ACEOF
12871332
12881333 cat <<\_ACEOF
12961341
12971342 if test -n "$ac_init_help"; then
12981343 case $ac_init_help in
1299 short | recursive ) echo "Configuration of nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $:";;
1344 short | recursive ) echo "Configuration of nfdump 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $:";;
13001345 esac
13011346 cat <<\_ACEOF
13021347
13031348 Optional Features:
1349 --disable-option-checking ignore unrecognized --enable/--with options
13041350 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
13051351 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
13061352 --disable-dependency-tracking speeds up one-time build
13261372 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
13271373 nonstandard directory <lib dir>
13281374 LIBS libraries to pass to the linker, e.g. -l<library>
1329 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1375 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
13301376 you have headers in a nonstandard directory <include dir>
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.
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.
13341381 This script will default YFLAGS to the empty string to avoid a
13351382 default value of `-d' given by some make applications.
13361383 CPP C preprocessor
13461393 if test "$ac_init_help" = "recursive"; then
13471394 # If there are subdirs, report their specific --help.
13481395 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1349 test -d "$ac_dir" || continue
1396 test -d "$ac_dir" ||
1397 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1398 continue
13501399 ac_builddir=.
13511400
13521401 case "$ac_dir" in
13531402 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13541403 *)
1355 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1404 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13561405 # A ".." for each directory in $ac_dir_suffix.
1357 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1406 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13581407 case $ac_top_builddir_sub in
13591408 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13601409 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13901439 echo &&
13911440 $SHELL "$ac_srcdir/configure" --help=recursive
13921441 else
1393 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1442 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
13941443 fi || ac_status=$?
13951444 cd "$ac_pwd" || { ac_status=$?; break; }
13961445 done
13991448 test -n "$ac_init_help" && exit $ac_status
14001449 if $ac_init_version; then
14011450 cat <<\_ACEOF
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.
1451 nfdump configure 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $
1452 generated by GNU Autoconf 2.68
1453
1454 Copyright (C) 2010 Free Software Foundation, Inc.
14071455 This configure script is free software; the Free Software Foundation
14081456 gives unlimited permission to copy, distribute and modify it.
14091457 _ACEOF
14101458 exit
14111459 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
14122105 cat >config.log <<_ACEOF
14132106 This file contains any messages produced by compilers while
14142107 running configure, to aid debugging if configure makes a mistake.
14152108
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
2109 It was created by nfdump $as_me 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $, which was
2110 generated by GNU Autoconf 2.68. Invocation command line was
14182111
14192112 $ $0 $@
14202113
14222115 exec 5>>config.log
14232116 {
14242117 cat <<_ASUNAME
1425 @%:@@%:@ --------- @%:@@%:@
1426 @%:@@%:@ Platform. @%:@@%:@
1427 @%:@@%:@ --------- @%:@@%:@
2118 ## --------- ##
2119 ## Platform. ##
2120 ## --------- ##
14282121
14292122 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
14302123 uname -m = `(uname -m) 2>/dev/null || echo unknown`
14502143 do
14512144 IFS=$as_save_IFS
14522145 test -z "$as_dir" && as_dir=.
1453 echo "PATH: $as_dir"
1454 done
2146 $as_echo "PATH: $as_dir"
2147 done
14552148 IFS=$as_save_IFS
14562149
14572150 } >&5
14592152 cat >&5 <<_ACEOF
14602153
14612154
1462 @%:@@%:@ ----------- @%:@@%:@
1463 @%:@@%:@ Core tests. @%:@@%:@
1464 @%:@@%:@ ----------- @%:@@%:@
2155 ## ----------- ##
2156 ## Core tests. ##
2157 ## ----------- ##
14652158
14662159 _ACEOF
14672160
14852178 | -silent | --silent | --silen | --sile | --sil)
14862179 continue ;;
14872180 *\'*)
1488 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2181 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14892182 esac
14902183 case $ac_pass in
1491 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2184 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
14922185 2)
1493 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2186 as_fn_append ac_configure_args1 " '$ac_arg'"
14942187 if test $ac_must_keep_next = true; then
14952188 ac_must_keep_next=false # Got value, back to normal.
14962189 else
15062199 -* ) ac_must_keep_next=true ;;
15072200 esac
15082201 fi
1509 ac_configure_args="$ac_configure_args '$ac_arg'"
2202 as_fn_append ac_configure_args " '$ac_arg'"
15102203 ;;
15112204 esac
15122205 done
15132206 done
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; }
2207 { ac_configure_args0=; unset ac_configure_args0;}
2208 { ac_configure_args1=; unset ac_configure_args1;}
15162209
15172210 # When interrupted or exit'd, cleanup temporary files, and complete
15182211 # config.log. We remove comments because anyway the quotes in there
15242217 {
15252218 echo
15262219
1527 cat <<\_ASBOX
1528 @%:@@%:@ ---------------- @%:@@%:@
1529 @%:@@%:@ Cache variables. @%:@@%:@
1530 @%:@@%:@ ---------------- @%:@@%:@
1531 _ASBOX
2220 $as_echo "## ---------------- ##
2221 ## Cache variables. ##
2222 ## ---------------- ##"
15322223 echo
15332224 # The following way of writing the cache mishandles newlines in values,
15342225 (
15372228 case $ac_val in #(
15382229 *${as_nl}*)
15392230 case $ac_var in #(
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;} ;;
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;} ;;
15422233 esac
15432234 case $ac_var in #(
15442235 _ | IFS | as_nl) ;; #(
1545 *) $as_unset $ac_var ;;
2236 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2237 *) { eval $ac_var=; unset $ac_var;} ;;
15462238 esac ;;
15472239 esac
15482240 done
15612253 )
15622254 echo
15632255
1564 cat <<\_ASBOX
1565 @%:@@%:@ ----------------- @%:@@%:@
1566 @%:@@%:@ Output variables. @%:@@%:@
1567 @%:@@%:@ ----------------- @%:@@%:@
1568 _ASBOX
2256 $as_echo "## ----------------- ##
2257 ## Output variables. ##
2258 ## ----------------- ##"
15692259 echo
15702260 for ac_var in $ac_subst_vars
15712261 do
15722262 eval ac_val=\$$ac_var
15732263 case $ac_val in
1574 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2264 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15752265 esac
1576 echo "$ac_var='\''$ac_val'\''"
2266 $as_echo "$ac_var='\''$ac_val'\''"
15772267 done | sort
15782268 echo
15792269
15802270 if test -n "$ac_subst_files"; then
1581 cat <<\_ASBOX
1582 @%:@@%:@ ------------------- @%:@@%:@
1583 @%:@@%:@ File substitutions. @%:@@%:@
1584 @%:@@%:@ ------------------- @%:@@%:@
1585 _ASBOX
2271 $as_echo "## ------------------- ##
2272 ## File substitutions. ##
2273 ## ------------------- ##"
15862274 echo
15872275 for ac_var in $ac_subst_files
15882276 do
15892277 eval ac_val=\$$ac_var
15902278 case $ac_val in
1591 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2279 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15922280 esac
1593 echo "$ac_var='\''$ac_val'\''"
2281 $as_echo "$ac_var='\''$ac_val'\''"
15942282 done | sort
15952283 echo
15962284 fi
15972285
15982286 if test -s confdefs.h; then
1599 cat <<\_ASBOX
1600 @%:@@%:@ ----------- @%:@@%:@
1601 @%:@@%:@ confdefs.h. @%:@@%:@
1602 @%:@@%:@ ----------- @%:@@%:@
1603 _ASBOX
2287 $as_echo "## ----------- ##
2288 ## confdefs.h. ##
2289 ## ----------- ##"
16042290 echo
16052291 cat confdefs.h
16062292 echo
16072293 fi
16082294 test "$ac_signal" != 0 &&
1609 echo "$as_me: caught signal $ac_signal"
1610 echo "$as_me: exit $exit_status"
2295 $as_echo "$as_me: caught signal $ac_signal"
2296 $as_echo "$as_me: exit $exit_status"
16112297 } >&5
16122298 rm -f core *.core core.conftest.* &&
16132299 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
16142300 exit $exit_status
16152301 ' 0
16162302 for ac_signal in 1 2 13 15; do
1617 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2303 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
16182304 done
16192305 ac_signal=0
16202306
16212307 # confdefs.h avoids OS command line length limits that DEFS can exceed.
16222308 rm -f -r conftest* confdefs.h
16232309
2310 $as_echo "/* confdefs.h */" > confdefs.h
2311
16242312 # Predefined preprocessor variables.
16252313
16262314 cat >>confdefs.h <<_ACEOF
16272315 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
16282316 _ACEOF
16292317
1630
16312318 cat >>confdefs.h <<_ACEOF
16322319 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
16332320 _ACEOF
16342321
1635
16362322 cat >>confdefs.h <<_ACEOF
16372323 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
16382324 _ACEOF
16392325
1640
16412326 cat >>confdefs.h <<_ACEOF
16422327 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
16432328 _ACEOF
16442329
1645
16462330 cat >>confdefs.h <<_ACEOF
16472331 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
16482332 _ACEOF
16492333
2334 cat >>confdefs.h <<_ACEOF
2335 @%:@define PACKAGE_URL "$PACKAGE_URL"
2336 _ACEOF
2337
16502338
16512339 # Let the site file select an alternate cache file if it wants to.
1652 # Prefer explicitly selected file to automatically selected ones.
2340 # Prefer an explicitly selected file to automatically selected ones.
2341 ac_site_file1=NONE
2342 ac_site_file2=NONE
16532343 if test -n "$CONFIG_SITE"; then
1654 set x "$CONFIG_SITE"
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
16552350 elif test "x$prefix" != xNONE; then
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
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"
16632358 do
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;}
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;}
16672363 sed 's/^/| /' "$ac_site_file" >&5
1668 . "$ac_site_file"
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; }
16692369 fi
16702370 done
16712371
16722372 if test -r "$cache_file"; then
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;}
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;}
16782378 case $cache_file in
16792379 [\\/]* | ?:[\\/]* ) . "$cache_file";;
16802380 *) . "./$cache_file";;
16812381 esac
16822382 fi
16832383 else
1684 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1685 echo "$as_me: creating cache $cache_file" >&6;}
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2385 $as_echo "$as_me: creating cache $cache_file" >&6;}
16862386 >$cache_file
16872387 fi
16882388
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"
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"
16922392 # Check that the precious variables saved in the cache have kept the same
16932393 # value.
16942394 ac_cache_corrupted=false
16992399 eval ac_new_val=\$ac_env_${ac_var}_value
17002400 case $ac_old_set,$ac_new_set in
17012401 set,)
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;}
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;}
17042404 ac_cache_corrupted=: ;;
17052405 ,set)
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;}
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;}
17082408 ac_cache_corrupted=: ;;
17092409 ,);;
17102410 *)
17112411 if test "x$ac_old_val" != "x$ac_new_val"; then
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=:
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;}
17192428 fi;;
17202429 esac
17212430 # Pass precious variables to config.status.
17222431 if test "$ac_new_set" = set; then
17232432 case $ac_new_val in
1724 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2433 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
17252434 *) ac_arg=$ac_var=$ac_new_val ;;
17262435 esac
17272436 case " $ac_configure_args " in
17282437 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1729 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2438 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
17302439 esac
17312440 fi
17322441 done
17332442 if $ac_cache_corrupted; then
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
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 ## -------------------- ##
17642452
17652453 ac_ext=c
17662454 ac_cpp='$CPP $CPPFLAGS'
17722460 #AC_CONFIG_SRCDIR([grammar.y])
17732461 ac_config_headers="$ac_config_headers config.h"
17742462
1775 am__api_version='1.10'
2463 am__api_version='1.11'
17762464
17772465 ac_aux_dir=
17782466 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
17912479 fi
17922480 done
17932481 if test -z "$ac_aux_dir"; then
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; }; }
2482 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
17972483 fi
17982484
17992485 # These three variables are undocumented and unsupported,
18182504 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
18192505 # OS/2's system install, which has a completely different semantic
18202506 # ./install, which can be erroneously created by make from ./install.sh.
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; }
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; }
18232510 if test -z "$INSTALL"; then
1824 if test "${ac_cv_path_install+set}" = set; then
1825 echo $ECHO_N "(cached) $ECHO_C" >&6
2511 if ${ac_cv_path_install+:} false; then :
2512 $as_echo_n "(cached) " >&6
18262513 else
18272514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18282515 for as_dir in $PATH
18292516 do
18302517 IFS=$as_save_IFS
18312518 test -z "$as_dir" && as_dir=.
1832 # Account for people who put trailing slashes in PATH elements.
1833 case $as_dir/ in
1834 ./ | .// | /cC/* | \
2519 # Account for people who put trailing slashes in PATH elements.
2520 case $as_dir/ in @%:@((
2521 ./ | .// | /[cC]/* | \
18352522 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1836 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2523 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
18372524 /usr/ucb/* ) ;;
18382525 *)
18392526 # OSF1 and SCO ODT 3.0 have their own names for install.
18512538 # program-specific install script used by HP pwplus--don't use.
18522539 :
18532540 else
1854 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1855 break 3
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
18562553 fi
18572554 fi
18582555 done
18592556 done
18602557 ;;
18612558 esac
1862 done
2559
2560 done
18632561 IFS=$as_save_IFS
18642562
2563 rm -rf conftest.one conftest.two conftest.dir
18652564
18662565 fi
18672566 if test "${ac_cv_path_install+set}" = set; then
18742573 INSTALL=$ac_install_sh
18752574 fi
18762575 fi
1877 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1878 echo "${ECHO_T}$INSTALL" >&6; }
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2577 $as_echo "$INSTALL" >&6; }
18792578
18802579 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18812580 # It thinks the first close brace ends the variable substitution.
18852584
18862585 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
18872586
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; }
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; }
18902589 # Just in case
18912590 sleep 1
18922591 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
18932605 # Do `set' in a subshell so we don't clobber the current shell's
18942606 # arguments. Must try -L first in case configure is actually a
18952607 # symlink; some systems play weird games with the mod time of symlinks
18962608 # (eg FreeBSD returns the mod time of the symlink's containing
18972609 # directory).
18982610 if (
1899 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2611 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
19002612 if test "$*" = "X"; then
19012613 # -L didn't work.
1902 set X `ls -t $srcdir/configure conftest.file`
2614 set X `ls -t "$srcdir/configure" conftest.file`
19032615 fi
19042616 rm -f conftest.file
19052617 if test "$*" != "X $srcdir/configure conftest.file" \
19092621 # if, for instance, CONFIG_SHELL is bash and it inherits a
19102622 # broken ls alias from the environment. This has actually
19112623 # happened. Such a system could not be considered "sane".
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; }; }
2624 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2625 alias in your environment" "$LINENO" 5
19172626 fi
19182627
19192628 test "$2" = conftest.file
19222631 # Ok.
19232632 :
19242633 else
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; }
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; }
19332639 test "$program_prefix" != NONE &&
19342640 program_transform_name="s&^&$program_prefix&;$program_transform_name"
19352641 # Use a double $ so make ignores it.
19362642 test "$program_suffix" != NONE &&
19372643 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1938 # Double any \ or $. echo might interpret backslashes.
2644 # Double any \ or $.
19392645 # By default was `s,x,x', remove it if useless.
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
2646 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2647 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
19452648
19462649 # expand $ac_aux_dir to an absolute path
19472650 am_aux_dir=`cd $ac_aux_dir && pwd`
19482651
1949 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
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
19502660 # Use eval to expand $SHELL
19512661 if eval "$MISSING --run true"; then
19522662 am_missing_run="$MISSING --run "
19532663 else
19542664 am_missing_run=
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; }
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; }
19612780 if test -z "$MKDIR_P"; then
1962 if test "${ac_cv_path_mkdir+set}" = set; then
1963 echo $ECHO_N "(cached) $ECHO_C" >&6
2781 if ${ac_cv_path_mkdir+:} false; then :
2782 $as_echo_n "(cached) " >&6
19642783 else
19652784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19662785 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
19672786 do
19682787 IFS=$as_save_IFS
19692788 test -z "$as_dir" && as_dir=.
1970 for ac_prog in mkdir gmkdir; do
2789 for ac_prog in mkdir gmkdir; do
19712790 for ac_exec_ext in '' $ac_executable_extensions; do
19722791 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
19732792 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
19792798 esac
19802799 done
19812800 done
1982 done
2801 done
19832802 IFS=$as_save_IFS
19842803
19852804 fi
19862805
2806 test -d ./--version && rmdir ./--version
19872807 if test "${ac_cv_path_mkdir+set}" = set; then
19882808 MKDIR_P="$ac_cv_path_mkdir -p"
19892809 else
19912811 # value for MKDIR_P within a source directory, because that will
19922812 # break other packages using the cache if that directory is
19932813 # removed, or if the value is a relative name.
1994 test -d ./--version && rmdir ./--version
19952814 MKDIR_P="$ac_install_sh -d"
19962815 fi
19972816 fi
1998 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1999 echo "${ECHO_T}$MKDIR_P" >&6; }
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2818 $as_echo "$MKDIR_P" >&6; }
20002819
20012820 mkdir_p="$MKDIR_P"
20022821 case $mkdir_p in
20082827 do
20092828 # Extract the first word of "$ac_prog", so it can be a program name with args.
20102829 set dummy $ac_prog; ac_word=$2
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
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
20152834 else
20162835 if test -n "$AWK"; then
20172836 ac_cv_prog_AWK="$AWK" # Let the user override the test.
20212840 do
20222841 IFS=$as_save_IFS
20232842 test -z "$as_dir" && as_dir=.
2024 for ac_exec_ext in '' $ac_executable_extensions; do
2843 for ac_exec_ext in '' $ac_executable_extensions; do
20252844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20262845 ac_cv_prog_AWK="$ac_prog"
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20282847 break 2
20292848 fi
20302849 done
2031 done
2850 done
20322851 IFS=$as_save_IFS
20332852
20342853 fi
20352854 fi
20362855 AWK=$ac_cv_prog_AWK
20372856 if test -n "$AWK"; then
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; }
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; }
20432862 fi
20442863
20452864
20462865 test -n "$AWK" && break
20472866 done
20482867
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
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
20542874 else
20552875 cat >conftest.make <<\_ACEOF
20562876 SHELL = /bin/sh
20572877 all:
20582878 @echo '@@@%%%=$(MAKE)=@@@%%%'
20592879 _ACEOF
2060 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2880 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
20612881 case `${MAKE-make} -f conftest.make 2>/dev/null` in
20622882 *@@@%%%=?*=@@@%%%*)
20632883 eval ac_cv_prog_make_${ac_make}_set=yes;;
20672887 rm -f conftest.make
20682888 fi
20692889 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2070 { echo "$as_me:$LINENO: result: yes" >&5
2071 echo "${ECHO_T}yes" >&6; }
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2891 $as_echo "yes" >&6; }
20722892 SET_MAKE=
20732893 else
2074 { echo "$as_me:$LINENO: result: no" >&5
2075 echo "${ECHO_T}no" >&6; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
20762896 SET_MAKE="MAKE=${MAKE-make}"
20772897 fi
20782898
20912911 am__isrc=' -I$(srcdir)'
20922912 # test to see if srcdir already configured
20932913 if test -f $srcdir/config.status; then
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; }; }
2914 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
20972915 fi
20982916 fi
20992917
21092927
21102928 # Define the identity of the package.
21112929 PACKAGE='nfdump'
2112 VERSION='1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $'
2930 VERSION='1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $'
21132931
21142932
21152933 cat >>confdefs.h <<_ACEOF
21362954
21372955
21382956 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"
22452957
22462958 # We need awk for the "check" target. The system "awk" is bad on
22472959 # some platforms.
22652977 if test -n "$ac_tool_prefix"; then
22662978 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
22672979 set dummy ${ac_tool_prefix}gcc; ac_word=$2
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
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
22722984 else
22732985 if test -n "$CC"; then
22742986 ac_cv_prog_CC="$CC" # Let the user override the test.
22782990 do
22792991 IFS=$as_save_IFS
22802992 test -z "$as_dir" && as_dir=.
2281 for ac_exec_ext in '' $ac_executable_extensions; do
2993 for ac_exec_ext in '' $ac_executable_extensions; do
22822994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22832995 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22852997 break 2
22862998 fi
22872999 done
2288 done
3000 done
22893001 IFS=$as_save_IFS
22903002
22913003 fi
22923004 fi
22933005 CC=$ac_cv_prog_CC
22943006 if test -n "$CC"; then
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; }
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; }
23003012 fi
23013013
23023014
23053017 ac_ct_CC=$CC
23063018 # Extract the first word of "gcc", so it can be a program name with args.
23073019 set dummy gcc; ac_word=$2
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
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
23123024 else
23133025 if test -n "$ac_ct_CC"; then
23143026 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
23183030 do
23193031 IFS=$as_save_IFS
23203032 test -z "$as_dir" && as_dir=.
2321 for ac_exec_ext in '' $ac_executable_extensions; do
3033 for ac_exec_ext in '' $ac_executable_extensions; do
23223034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23233035 ac_cv_prog_ac_ct_CC="gcc"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23253037 break 2
23263038 fi
23273039 done
2328 done
3040 done
23293041 IFS=$as_save_IFS
23303042
23313043 fi
23323044 fi
23333045 ac_ct_CC=$ac_cv_prog_ac_ct_CC
23343046 if test -n "$ac_ct_CC"; then
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; }
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; }
23403052 fi
23413053
23423054 if test "x$ac_ct_CC" = x; then
23443056 else
23453057 case $cross_compiling:$ac_tool_warned in
23463058 yes:)
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;}
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;}
23533061 ac_tool_warned=yes ;;
23543062 esac
23553063 CC=$ac_ct_CC
23623070 if test -n "$ac_tool_prefix"; then
23633071 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
23643072 set dummy ${ac_tool_prefix}cc; ac_word=$2
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
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
23693077 else
23703078 if test -n "$CC"; then
23713079 ac_cv_prog_CC="$CC" # Let the user override the test.
23753083 do
23763084 IFS=$as_save_IFS
23773085 test -z "$as_dir" && as_dir=.
2378 for ac_exec_ext in '' $ac_executable_extensions; do
3086 for ac_exec_ext in '' $ac_executable_extensions; do
23793087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23803088 ac_cv_prog_CC="${ac_tool_prefix}cc"
2381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23823090 break 2
23833091 fi
23843092 done
2385 done
3093 done
23863094 IFS=$as_save_IFS
23873095
23883096 fi
23893097 fi
23903098 CC=$ac_cv_prog_CC
23913099 if test -n "$CC"; then
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; }
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; }
23973105 fi
23983106
23993107
24023110 if test -z "$CC"; then
24033111 # Extract the first word of "cc", so it can be a program name with args.
24043112 set dummy cc; ac_word=$2
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
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
24093117 else
24103118 if test -n "$CC"; then
24113119 ac_cv_prog_CC="$CC" # Let the user override the test.
24163124 do
24173125 IFS=$as_save_IFS
24183126 test -z "$as_dir" && as_dir=.
2419 for ac_exec_ext in '' $ac_executable_extensions; do
3127 for ac_exec_ext in '' $ac_executable_extensions; do
24203128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24213129 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
24223130 ac_prog_rejected=yes
24233131 continue
24243132 fi
24253133 ac_cv_prog_CC="cc"
2426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24273135 break 2
24283136 fi
24293137 done
2430 done
3138 done
24313139 IFS=$as_save_IFS
24323140
24333141 if test $ac_prog_rejected = yes; then
24463154 fi
24473155 CC=$ac_cv_prog_CC
24483156 if test -n "$CC"; then
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; }
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; }
24543162 fi
24553163
24563164
24613169 do
24623170 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
24633171 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
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
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
24683176 else
24693177 if test -n "$CC"; then
24703178 ac_cv_prog_CC="$CC" # Let the user override the test.
24743182 do
24753183 IFS=$as_save_IFS
24763184 test -z "$as_dir" && as_dir=.
2477 for ac_exec_ext in '' $ac_executable_extensions; do
3185 for ac_exec_ext in '' $ac_executable_extensions; do
24783186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24793187 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24813189 break 2
24823190 fi
24833191 done
2484 done
3192 done
24853193 IFS=$as_save_IFS
24863194
24873195 fi
24883196 fi
24893197 CC=$ac_cv_prog_CC
24903198 if test -n "$CC"; then
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; }
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; }
24963204 fi
24973205
24983206
25053213 do
25063214 # Extract the first word of "$ac_prog", so it can be a program name with args.
25073215 set dummy $ac_prog; ac_word=$2
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
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
25123220 else
25133221 if test -n "$ac_ct_CC"; then
25143222 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
25183226 do
25193227 IFS=$as_save_IFS
25203228 test -z "$as_dir" && as_dir=.
2521 for ac_exec_ext in '' $ac_executable_extensions; do
3229 for ac_exec_ext in '' $ac_executable_extensions; do
25223230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25233231 ac_cv_prog_ac_ct_CC="$ac_prog"
2524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25253233 break 2
25263234 fi
25273235 done
2528 done
3236 done
25293237 IFS=$as_save_IFS
25303238
25313239 fi
25323240 fi
25333241 ac_ct_CC=$ac_cv_prog_ac_ct_CC
25343242 if test -n "$ac_ct_CC"; then
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; }
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; }
25403248 fi
25413249
25423250
25483256 else
25493257 case $cross_compiling:$ac_tool_warned in
25503258 yes:)
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;}
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;}
25573261 ac_tool_warned=yes ;;
25583262 esac
25593263 CC=$ac_ct_CC
25633267 fi
25643268
25653269
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; }; }
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; }
25713274
25723275 # Provide some information about the compiler.
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"
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"
25763281 case "(($ac_try" in
25773282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25783283 *) ac_try_echo=$ac_try;;
25793284 esac
2580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2581 (eval "$ac_compiler --version >&5") 2>&5
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
25823288 ac_status=$?
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }
2585 { (ac_try="$ac_compiler -v >&5"
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
3301 /* end confdefs.h. */
3302
3303 int
3304 main ()
3305 {
3306
3307 ;
3308 return 0;
3309 }
3310 _ACEOF
3311 ac_clean_files_save=$ac_clean_files
3312 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3313 # Try to create an executable without -o first, disregard a.out.
3314 # It will help us diagnose broken compilers, and finding out an intuition
3315 # 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
3323 ac_rmfiles=
3324 for ac_file in $ac_files
3325 do
3326 case $ac_file in
3327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3328 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3329 esac
3330 done
3331 rm -f $ac_rmfiles
3332
3333 if { { ac_try="$ac_link_default"
25863334 case "(($ac_try" in
25873335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25883336 *) ac_try_echo=$ac_try;;
25893337 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
2611 /* end confdefs.h. */
2612
2613 int
2614 main ()
2615 {
2616
2617 ;
2618 return 0;
2619 }
2620 _ACEOF
2621 ac_clean_files_save=$ac_clean_files
2622 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2623 # Try to create an executable without -o first, disregard a.out.
2624 # It will help us diagnose broken compilers, and finding out an intuition
2625 # of exeext.
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.
2638 ac_rmfiles=
2639 for ac_file in $ac_files
2640 do
2641 case $ac_file in
2642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2643 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2644 esac
2645 done
2646 rm -f $ac_rmfiles
2647
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
3338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339 $as_echo "$ac_try_echo"; } >&5
26543340 (eval "$ac_link_default") 2>&5
26553341 ac_status=$?
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }; then
3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343 test $ac_status = 0; }; then :
26583344 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
26593345 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
26603346 # in a Makefile. We should not override ac_cv_exeext if it was cached,
26643350 do
26653351 test -f "$ac_file" || continue
26663352 case $ac_file in
2667 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
26683354 ;;
26693355 [ab].out )
26703356 # We found the default executable, but exeext='' is most
26713357 # certainly right.
26723358 break;;
26733359 *.* )
2674 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3360 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
26753361 then :; else
26763362 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
26773363 fi
26903376 else
26913377 ac_file=''
26923378 fi
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
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
26983383 sed 's/^/| /' conftest.$ac_ext >&5
26993384
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
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; }
27073397 ac_exeext=$ac_cv_exeext
27083398
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
3399 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
27453400 ac_clean_files=$ac_clean_files_save
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"
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"
27563404 case "(($ac_try" in
27573405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27583406 *) ac_try_echo=$ac_try;;
27593407 esac
2760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3409 $as_echo "$ac_try_echo"; } >&5
27613410 (eval "$ac_link") 2>&5
27623411 ac_status=$?
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }; then
3412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3413 test $ac_status = 0; }; then :
27653414 # If both `conftest.exe' and `conftest' are `present' (well, observable)
27663415 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
27673416 # work properly (i.e., refer to `conftest.exe'), while it won't with
27693418 for ac_file in conftest.exe conftest conftest.*; do
27703419 test -f "$ac_file" || continue
27713420 case $ac_file in
2772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
27733422 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
27743423 break;;
27753424 * ) break;;
27763425 esac
27773426 done
27783427 else
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; }
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; }
27893436
27903437 rm -f conftest.$ac_ext
27913438 EXEEXT=$ac_cv_exeext
27923439 ac_exeext=$EXEEXT
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
3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28033441 /* end confdefs.h. */
2804
3442 @%:@include <stdio.h>
28053443 int
28063444 main ()
28073445 {
3446 FILE *f = fopen ("conftest.out", "w");
3447 return ferror (f) || fclose (f) != 0;
28083448
28093449 ;
28103450 return 0;
28113451 }
28123452 _ACEOF
2813 rm -f conftest.o conftest.obj
2814 if { (ac_try="$ac_compile"
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"
28153460 case "(($ac_try" in
28163461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28173462 *) ac_try_echo=$ac_try;;
28183463 esac
2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
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
3515 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
28203523 (eval "$ac_compile") 2>&5
28213524 ac_status=$?
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; then
3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526 test $ac_status = 0; }; then :
28243527 for ac_file in conftest.o conftest.obj conftest.*; do
28253528 test -f "$ac_file" || continue;
28263529 case $ac_file in
2827 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
28283531 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
28293532 break;;
28303533 esac
28313534 done
28323535 else
2833 echo "$as_me: failed program was:" >&5
3536 $as_echo "$as_me: failed program was:" >&5
28343537 sed 's/^/| /' conftest.$ac_ext >&5
28353538
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
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
28433544 rm -f conftest.$ac_cv_objext conftest.$ac_ext
28443545 fi
2845 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2846 echo "${ECHO_T}$ac_cv_objext" >&6; }
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3547 $as_echo "$ac_cv_objext" >&6; }
28473548 OBJEXT=$ac_cv_objext
28483549 ac_objext=$OBJEXT
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
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
28593556 /* end confdefs.h. */
28603557
28613558 int
28693566 return 0;
28703567 }
28713568 _ACEOF
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
3569 if ac_fn_c_try_compile "$LINENO"; then :
28893570 ac_compiler_gnu=yes
28903571 else
2891 echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2893
2894 ac_compiler_gnu=no
2895 fi
2896
3572 ac_compiler_gnu=no
3573 fi
28973574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28983575 ac_cv_c_compiler_gnu=$ac_compiler_gnu
28993576
29003577 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`
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
29043585 ac_test_CFLAGS=${CFLAGS+set}
29053586 ac_save_CFLAGS=$CFLAGS
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
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
29103591 else
29113592 ac_save_c_werror_flag=$ac_c_werror_flag
29123593 ac_c_werror_flag=yes
29133594 ac_cv_prog_cc_g=no
29143595 CFLAGS="-g"
2915 cat >conftest.$ac_ext <<_ACEOF
2916 /* confdefs.h. */
2917 _ACEOF
2918 cat confdefs.h >>conftest.$ac_ext
2919 cat >>conftest.$ac_ext <<_ACEOF
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29203597 /* end confdefs.h. */
29213598
29223599 int
29273604 return 0;
29283605 }
29293606 _ACEOF
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
3607 if ac_fn_c_try_compile "$LINENO"; then :
29473608 ac_cv_prog_cc_g=yes
29483609 else
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
3610 CFLAGS=""
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29583612 /* end confdefs.h. */
29593613
29603614 int
29653619 return 0;
29663620 }
29673621 _ACEOF
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
3622 if ac_fn_c_try_compile "$LINENO"; then :
3623
3624 else
3625 ac_c_werror_flag=$ac_save_c_werror_flag
29913626 CFLAGS="-g"
2992 cat >conftest.$ac_ext <<_ACEOF
2993 /* confdefs.h. */
2994 _ACEOF
2995 cat confdefs.h >>conftest.$ac_ext
2996 cat >>conftest.$ac_ext <<_ACEOF
3627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29973628 /* end confdefs.h. */
29983629
29993630 int
30043635 return 0;
30053636 }
30063637 _ACEOF
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
3638 if ac_fn_c_try_compile "$LINENO"; then :
30243639 ac_cv_prog_cc_g=yes
3025 else
3026 echo "$as_me: failed program was:" >&5
3027 sed 's/^/| /' conftest.$ac_ext >&5
3028
3029
3030 fi
3031
3640 fi
30323641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30333642 fi
3034
30353643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30363644 fi
3037
30383645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30393646 ac_c_werror_flag=$ac_save_c_werror_flag
30403647 fi
3041 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3042 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3649 $as_echo "$ac_cv_prog_cc_g" >&6; }
30433650 if test "$ac_test_CFLAGS" = set; then
30443651 CFLAGS=$ac_save_CFLAGS
30453652 elif test $ac_cv_prog_cc_g = yes; then
30553662 CFLAGS=
30563663 fi
30573664 fi
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
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
30623669 else
30633670 ac_cv_prog_cc_c89=no
30643671 ac_save_CC=$CC
3065 cat >conftest.$ac_ext <<_ACEOF
3066 /* confdefs.h. */
3067 _ACEOF
3068 cat confdefs.h >>conftest.$ac_ext
3069 cat >>conftest.$ac_ext <<_ACEOF
3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30703673 /* end confdefs.h. */
30713674 #include <stdarg.h>
30723675 #include <stdio.h>
31233726 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
31243727 do
31253728 CC="$ac_save_CC $ac_arg"
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
3729 if ac_fn_c_try_compile "$LINENO"; then :
31433730 ac_cv_prog_cc_c89=$ac_arg
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
3731 fi
3732 rm -f core conftest.err conftest.$ac_objext
31523733 test "x$ac_cv_prog_cc_c89" != "xno" && break
31533734 done
31543735 rm -f conftest.$ac_ext
31583739 # AC_CACHE_VAL
31593740 case "x$ac_cv_prog_cc_c89" in
31603741 x)
3161 { echo "$as_me:$LINENO: result: none needed" >&5
3162 echo "${ECHO_T}none needed" >&6; } ;;
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3743 $as_echo "none needed" >&6; } ;;
31633744 xno)
3164 { echo "$as_me:$LINENO: result: unsupported" >&5
3165 echo "${ECHO_T}unsupported" >&6; } ;;
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3746 $as_echo "unsupported" >&6; } ;;
31663747 *)
31673748 CC="$CC $ac_cv_prog_cc_c89"
3168 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3169 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3750 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
31703751 esac
3171
3752 if test "x$ac_cv_prog_cc_c89" != xno; then :
3753
3754 fi
31723755
31733756 ac_ext=c
31743757 ac_cpp='$CPP $CPPFLAGS'
31833766 am_make=${MAKE-make}
31843767 cat > confinc << 'END'
31853768 am__doit:
3186 @echo done
3769 @echo this is the am__doit target
31873770 .PHONY: am__doit
31883771 END
31893772 # If we don't find an include directive, just comment out the code.
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; }
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; }
31923775 am__include="#"
31933776 am__quote=
31943777 _am_result=none
31953778 # First try GNU make style include.
31963779 echo "include confinc" > confmf
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
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
32073788 # Now try BSD make style include.
32083789 if test "$am__include" = "#"; then
32093790 echo '.include "confinc"' > confmf
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; }
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; }
32203803 rm -f confinc confmf
32213804
3222 # Check whether --enable-dependency-tracking was given.
3223 if test "${enable_dependency_tracking+set}" = set; then
3805 @%:@ Check whether --enable-dependency-tracking was given.
3806 if test "${enable_dependency_tracking+set}" = set; then :
32243807 enableval=$enable_dependency_tracking;
32253808 fi
32263809
32403823
32413824 depcc="$CC" am_compiler_list=
32423825
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
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
32473830 else
32483831 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
32493832 # We make a subdir and do the tests there. Otherwise we can end up
32683851 if test "$am_compiler_list" = ""; then
32693852 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
32703853 fi
3854 am__universal=false
3855 case " $depcc " in #(
3856 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3857 esac
3858
32713859 for depmode in $am_compiler_list; do
32723860 # Setup a source with many dependencies, because some compilers
32733861 # like to wrap large dependency lists on column 80 (with \), and
32853873 done
32863874 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
32873875
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"
32883882 case $depmode in
3883 gcc)
3884 # This depmode causes a compiler race in universal mode.
3885 test "$am__universal" = false || continue
3886 ;;
32893887 nosideeffect)
32903888 # after this tag, mechanisms are not by side-effect, so they'll
32913889 # only be used when explicitly requested
32953893 break
32963894 fi
32973895 ;;
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 ;;
32983903 none) break ;;
32993904 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.
33033905 if depmode=$depmode \
3304 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3906 source=sub/conftest.c object=$am__obj \
33053907 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3306 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3908 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
33073909 >/dev/null 2>conftest.err &&
33083910 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
33093911 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3310 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3912 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
33113913 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
33123914 # icc doesn't choke on unknown options, it will just issue warnings
33133915 # or remarks (even with -Werror). So we grep stderr for any message
33313933 fi
33323934
33333935 fi
3334 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3335 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
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; }
33363938 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
33373939
33383940 if
33473949
33483950
33493951 if test "x$CC" != xcc; then
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 |
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" |
33573959 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
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
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
33663964 /* end confdefs.h. */
33673965
33683966 int
33783976 # existing .o file with -o, though they will create one.
33793977 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
33803978 rm -f conftest2.*
3381 if { (case "(($ac_try" in
3979 if { { case "(($ac_try" in
33823980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33833981 *) ac_try_echo=$ac_try;;
33843982 esac
3385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
33863985 (eval "$ac_try") 2>&5
33873986 ac_status=$?
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 test -f conftest2.$ac_objext && { (case "(($ac_try" in
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
33913990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33923991 *) ac_try_echo=$ac_try;;
33933992 esac
3394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3994 $as_echo "$ac_try_echo"; } >&5
33953995 (eval "$ac_try") 2>&5
33963996 ac_status=$?
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); };
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; };
33993999 then
34004000 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
34014001 if test "x$CC" != xcc; then
34024002 # Test first that cc exists at all.
34034003 if { ac_try='cc -c conftest.$ac_ext >&5'
3404 { (case "(($ac_try" in
4004 { { case "(($ac_try" in
34054005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34064006 *) ac_try_echo=$ac_try;;
34074007 esac
3408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4009 $as_echo "$ac_try_echo"; } >&5
34094010 (eval "$ac_try") 2>&5
34104011 ac_status=$?
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; }; then
4012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4013 test $ac_status = 0; }; }; then
34134014 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
34144015 rm -f conftest2.*
3415 if { (case "(($ac_try" in
4016 if { { case "(($ac_try" in
34164017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34174018 *) ac_try_echo=$ac_try;;
34184019 esac
3419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021 $as_echo "$ac_try_echo"; } >&5
34204022 (eval "$ac_try") 2>&5
34214023 ac_status=$?
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } &&
3424 test -f conftest2.$ac_objext && { (case "(($ac_try" in
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
34254027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34264028 *) ac_try_echo=$ac_try;;
34274029 esac
3428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
34294032 (eval "$ac_try") 2>&5
34304033 ac_status=$?
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); };
4034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035 test $ac_status = 0; };
34334036 then
34344037 # cc works too.
34354038 :
34424045 else
34434046 eval ac_cv_prog_cc_${ac_cc}_c_o=no
34444047 fi
3445 rm -f -r core conftest*
4048 rm -f core conftest*
34464049
34474050 fi
34484051 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
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; }
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; }
34544057
3455 cat >>confdefs.h <<\_ACEOF
3456 @%:@define NO_MINUS_C_MINUS_O 1
3457 _ACEOF
4058 $as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
34584059
34594060 fi
34604061
34614062 # FIXME: we rely on the cache variable name because
34624063 # there is no other way.
34634064 set dummy $CC
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
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
34664068 # Losing compiler, so override with the script.
34674069 # FIXME: It is wrong to rewrite CC.
34684070 # But if we don't then we get into trouble of one sort or another.
34734075
34744076
34754077
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
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
34844082 /* end confdefs.h. */
34854083
34864084 int
34944092 return 0;
34954093 }
34964094 _ACEOF
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
4095 if ac_fn_c_try_compile "$LINENO"; then :
35144096 __sunpro_c=yes
35154097 else
3516 echo "$as_me: failed program was:" >&5
3517 sed 's/^/| /' conftest.$ac_ext >&5
3518
3519 __sunpro_c=no
3520 fi
3521
4098 __sunpro_c=no
4099 fi
35224100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 { echo "$as_me:$LINENO: result: $__sunpro_c" >&5
3524 echo "${ECHO_T}$__sunpro_c" >&6; }
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $__sunpro_c" >&5
4102 $as_echo "$__sunpro_c" >&6; }
35254103
35264104 CFLAGS="${CFLAGS=}"
35274105 if test $ac_cv_c_compiler_gnu = yes -a "x$CFLAGS" = "x-g -O2"; then
35354113 fi
35364114 fi
35374115
3538 # Check whether --enable-devel was given.
3539 if test "${enable_devel+set}" = set; then
4116 @%:@ Check whether --enable-devel was given.
4117 if test "${enable_devel+set}" = set; then :
35404118 enableval=$enable_devel;
35414119 fi
35424120
35534131 _ACEOF
35544132 fi
35554133
3556 # Check whether --enable-compat15 was given.
3557 if test "${enable_compat15+set}" = set; then
4134 @%:@ Check whether --enable-compat15 was given.
4135 if test "${enable_compat15+set}" = set; then :
35584136 enableval=$enable_compat15;
35594137 fi
35604138
35654143 CFLAGS="$CFLAGS -DCOMPAT15"
35664144 fi
35674145
3568 +# Check whether --enable-fixtimebug was given.
3569 if test "${enable_fixtimebug+set}" = set; then
4146 @%:@ Check whether --enable-fixtimebug was given.
4147 if test "${enable_fixtimebug+set}" = set; then :
35704148 enableval=$enable_fixtimebug;
35714149 fi
35724150
35794157 do
35804158 # Extract the first word of "$ac_prog", so it can be a program name with args.
35814159 set dummy $ac_prog; ac_word=$2
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
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
35864164 else
35874165 if test -n "$YACC"; then
35884166 ac_cv_prog_YACC="$YACC" # Let the user override the test.
35924170 do
35934171 IFS=$as_save_IFS
35944172 test -z "$as_dir" && as_dir=.
3595 for ac_exec_ext in '' $ac_executable_extensions; do
4173 for ac_exec_ext in '' $ac_executable_extensions; do
35964174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35974175 ac_cv_prog_YACC="$ac_prog"
3598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
35994177 break 2
36004178 fi
36014179 done
3602 done
4180 done
36034181 IFS=$as_save_IFS
36044182
36054183 fi
36064184 fi
36074185 YACC=$ac_cv_prog_YACC
36084186 if test -n "$YACC"; then
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; }
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; }
36144192 fi
36154193
36164194
36224200 do
36234201 # Extract the first word of "$ac_prog", so it can be a program name with args.
36244202 set dummy $ac_prog; ac_word=$2
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
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
36294207 else
36304208 if test -n "$LEX"; then
36314209 ac_cv_prog_LEX="$LEX" # Let the user override the test.
36354213 do
36364214 IFS=$as_save_IFS
36374215 test -z "$as_dir" && as_dir=.
3638 for ac_exec_ext in '' $ac_executable_extensions; do
4216 for ac_exec_ext in '' $ac_executable_extensions; do
36394217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36404218 ac_cv_prog_LEX="$ac_prog"
3641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36424220 break 2
36434221 fi
36444222 done
3645 done
4223 done
36464224 IFS=$as_save_IFS
36474225
36484226 fi
36494227 fi
36504228 LEX=$ac_cv_prog_LEX
36514229 if test -n "$LEX"; then
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; }
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; }
36574235 fi
36584236
36594237
36814259 return ! yylex () + ! yywrap ();
36824260 }
36834261 _ACEOF
3684 { (ac_try="$LEX conftest.l"
4262 { { ac_try="$LEX conftest.l"
36854263 case "(($ac_try" in
36864264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36874265 *) ac_try_echo=$ac_try;;
36884266 esac
3689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4268 $as_echo "$ac_try_echo"; } >&5
36904269 (eval "$LEX conftest.l") 2>&5
36914270 ac_status=$?
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
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
36984277 else
36994278
37004279 if test -f lex.yy.c; then
37024281 elif test -f lexyy.c; then
37034282 ac_cv_prog_lex_root=lexyy
37044283 else
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; }
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; }
37124289 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
37134290
37144291 if test -z "${LEXLIB+set}"; then
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
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
37194296 else
37204297
37214298 ac_save_LIBS=$LIBS
37224299 ac_cv_lib_lex='none needed'
37234300 for ac_lib in '' -lfl -ll; do
37244301 LIBS="$ac_lib $ac_save_LIBS"
3725 cat >conftest.$ac_ext <<_ACEOF
4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h. */
37264304 `cat $LEX_OUTPUT_ROOT.c`
37274305 _ACEOF
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
4306 if ac_fn_c_try_link "$LINENO"; then :
37464307 ac_cv_lib_lex=$ac_lib
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
4308 fi
4309 rm -f core conftest.err conftest.$ac_objext \
4310 conftest$ac_exeext conftest.$ac_ext
37564311 test "$ac_cv_lib_lex" != 'none needed' && break
37574312 done
37584313 LIBS=$ac_save_LIBS
37594314
37604315 fi
3761 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
3762 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4317 $as_echo "$ac_cv_lib_lex" >&6; }
37634318 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
37644319 fi
37654320
37664321
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
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
37714326 else
37724327 # POSIX says lex can declare yytext either as a pointer or an array; the
37734328 # default is implementation-dependent. Figure out which it is, since
37754330 ac_cv_prog_lex_yytext_pointer=no
37764331 ac_save_LIBS=$LIBS
37774332 LIBS="$LEXLIB $ac_save_LIBS"
3778 cat >conftest.$ac_ext <<_ACEOF
3779 #define YYTEXT_POINTER 1
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4335
4336 #define YYTEXT_POINTER 1
37804337 `cat $LEX_OUTPUT_ROOT.c`
37814338 _ACEOF
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
4339 if ac_fn_c_try_link "$LINENO"; then :
38004340 ac_cv_prog_lex_yytext_pointer=yes
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
4341 fi
4342 rm -f core conftest.err conftest.$ac_objext \
4343 conftest$ac_exeext conftest.$ac_ext
38104344 LIBS=$ac_save_LIBS
38114345
38124346 fi
3813 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3814 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
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; }
38154349 if test $ac_cv_prog_lex_yytext_pointer = yes; then
38164350
3817 cat >>confdefs.h <<\_ACEOF
3818 @%:@define YYTEXT_POINTER 1
3819 _ACEOF
4351 $as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h
38204352
38214353 fi
38224354 rm -f conftest.l $LEX_OUTPUT_ROOT.c
38244356 fi
38254357 which $LEX > /dev/null 2>&1
38264358 if test $? = 1; then
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'
4359 as_fn_error $? "No lex or flex found on system" "$LINENO" 5
4360 fi
39104361
39114362
39124363 if test "x$ac_cv_prog_LEX" = "xflex"; then
39164367 # Check if we need to build the flow-tools converter
39174368 # FIXME? This should use flow-tools-dev if possible, not local sources..
39184369
3919 # Check whether --with-ftpath was given.
3920 if test "${with_ftpath+set}" = set; then
4370 @%:@ Check whether --with-ftpath was given.
4371 if test "${with_ftpath+set}" = set; then :
39214372 withval=$with_ftpath; if test "x$with_ftpath" = "xyes" ; then
39224373 WHERE_FTPATH="/usr/local/flow-tools/"
39234374 else
39314382
39324383
39334384
3934 # Check whether --with-rrdpath was given.
3935 if test "${with_rrdpath+set}" = set; then
4385 @%:@ Check whether --with-rrdpath was given.
4386 if test "${with_rrdpath+set}" = set; then :
39364387 withval=$with_rrdpath; if test "x$with_rrdpath" = "xyes" ; then
39374388 CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
39384389 LDFLAGS="${LDFLAGS} -L/usr/local/lib"
39454396
39464397
39474398 #Tidz up? esp not using in source dist flow-tools
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
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
39554405 else
39564406 ac_check_lib_save_LIBS=$LIBS
39574407 LIBS="-lz $LIBS"
3958 cat >conftest.$ac_ext <<_ACEOF
3959 /* confdefs.h. */
3960 _ACEOF
3961 cat confdefs.h >>conftest.$ac_ext
3962 cat >>conftest.$ac_ext <<_ACEOF
4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39634409 /* end confdefs.h. */
39644410
39654411 /* Override any GCC internal prototype to avoid an error.
39774423 return 0;
39784424 }
39794425 _ACEOF
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
4426 if ac_fn_c_try_link "$LINENO"; then :
39984427 ac_cv_lib_z_zlibVersion=yes
39994428 else
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
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
40084433 LIBS=$ac_check_lib_save_LIBS
40094434 fi
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
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 :
40134438 cat >>confdefs.h <<_ACEOF
40144439 @%:@define HAVE_LIBZ 1
40154440 _ACEOF
40174442 LIBS="-lz $LIBS"
40184443
40194444 else
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; }; }
4445 as_fn_error $? "Link with \"-lz\" failed! (Need zlib >= 1.0.2)" "$LINENO" 5
40234446
40244447 fi
40254448
40264449 if test -d "$WHERE_FTPATH"; then
40274450 if test ! -f "$WHERE_FTPATH/include/ftlib.h"; then
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; }; }
4451 as_fn_error $? "ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" "$LINENO" 5
40314452 fi
40324453 if test ! -f "$WHERE_FTPATH/lib/libft.a"; then
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; }; }
4454 as_fn_error $? "libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first" "$LINENO" 5
40364455 fi
40374456 FT_INCLUDES="-I$WHERE_FTPATH/include -I$WHERE_FTPATH/lib"
40384457 FT_LDFLAGS="-L$WHERE_FTPATH/lib"
40394458 else
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; }; }
4459 as_fn_error $? "flow-tools directory '$WHERE_FTPATH' does not exists. Use --with-ftpath=PATH" "$LINENO" 5
40434460 fi
40444461 if true; then
40454462 FT2NFDUMP_TRUE=
40694486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40704487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40714488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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; }
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; }
40744491 # On Suns, sometimes $CPP names a directory.
40754492 if test -n "$CPP" && test -d "$CPP"; then
40764493 CPP=
40774494 fi
40784495 if test -z "$CPP"; then
4079 if test "${ac_cv_prog_CPP+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 if ${ac_cv_prog_CPP+:} false; then :
4497 $as_echo_n "(cached) " >&6
40814498 else
40824499 # Double quotes because CPP needs to be expanded
40834500 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
40914508 # <limits.h> exists even on freestanding compilers.
40924509 # On the NeXT, cc -E runs the code through the compiler's parser,
40934510 # not just through cpp. "Syntax error" is here to catch this case.
4094 cat >conftest.$ac_ext <<_ACEOF
4095 /* confdefs.h. */
4096 _ACEOF
4097 cat confdefs.h >>conftest.$ac_ext
4098 cat >>conftest.$ac_ext <<_ACEOF
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40994512 /* end confdefs.h. */
41004513 @%:@ifdef __STDC__
41014514 @%:@ include <limits.h>
41044517 @%:@endif
41054518 Syntax error
41064519 _ACEOF
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
4520 if ac_fn_c_try_cpp "$LINENO"; then :
4521
4522 else
41284523 # Broken: fails on valid input.
41294524 continue
41304525 fi
4131
4132 rm -f conftest.err conftest.$ac_ext
4526 rm -f conftest.err conftest.i conftest.$ac_ext
41334527
41344528 # OK, works on sane cases. Now check whether nonexistent headers
41354529 # can be detected and how.
4136 cat >conftest.$ac_ext <<_ACEOF
4137 /* confdefs.h. */
4138 _ACEOF
4139 cat confdefs.h >>conftest.$ac_ext
4140 cat >>conftest.$ac_ext <<_ACEOF
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41414531 /* end confdefs.h. */
41424532 @%:@include <ac_nonexistent.h>
41434533 _ACEOF
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
4534 if ac_fn_c_try_cpp "$LINENO"; then :
41604535 # Broken: success on invalid input.
41614536 continue
41624537 else
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4165
41664538 # Passes both tests.
41674539 ac_preproc_ok=:
41684540 break
41694541 fi
4170
4171 rm -f conftest.err conftest.$ac_ext
4542 rm -f conftest.err conftest.i conftest.$ac_ext
41724543
41734544 done
41744545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4175 rm -f conftest.err conftest.$ac_ext
4176 if $ac_preproc_ok; then
4546 rm -f conftest.i conftest.err conftest.$ac_ext
4547 if $ac_preproc_ok; then :
41774548 break
41784549 fi
41794550
41854556 else
41864557 ac_cv_prog_CPP=$CPP
41874558 fi
4188 { echo "$as_me:$LINENO: result: $CPP" >&5
4189 echo "${ECHO_T}$CPP" >&6; }
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4560 $as_echo "$CPP" >&6; }
41904561 ac_preproc_ok=false
41914562 for ac_c_preproc_warn_flag in '' yes
41924563 do
41964567 # <limits.h> exists even on freestanding compilers.
41974568 # On the NeXT, cc -E runs the code through the compiler's parser,
41984569 # not just through cpp. "Syntax error" is here to catch this case.
4199 cat >conftest.$ac_ext <<_ACEOF
4200 /* confdefs.h. */
4201 _ACEOF
4202 cat confdefs.h >>conftest.$ac_ext
4203 cat >>conftest.$ac_ext <<_ACEOF
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42044571 /* end confdefs.h. */
42054572 @%:@ifdef __STDC__
42064573 @%:@ include <limits.h>
42094576 @%:@endif
42104577 Syntax error
42114578 _ACEOF
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
4579 if ac_fn_c_try_cpp "$LINENO"; then :
4580
4581 else
42334582 # Broken: fails on valid input.
42344583 continue
42354584 fi
4236
4237 rm -f conftest.err conftest.$ac_ext
4585 rm -f conftest.err conftest.i conftest.$ac_ext
42384586
42394587 # OK, works on sane cases. Now check whether nonexistent headers
42404588 # can be detected and how.
4241 cat >conftest.$ac_ext <<_ACEOF
4242 /* confdefs.h. */
4243 _ACEOF
4244 cat confdefs.h >>conftest.$ac_ext
4245 cat >>conftest.$ac_ext <<_ACEOF
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42464590 /* end confdefs.h. */
42474591 @%:@include <ac_nonexistent.h>
42484592 _ACEOF
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
4593 if ac_fn_c_try_cpp "$LINENO"; then :
42654594 # Broken: success on invalid input.
42664595 continue
42674596 else
4268 echo "$as_me: failed program was:" >&5
4269 sed 's/^/| /' conftest.$ac_ext >&5
4270
42714597 # Passes both tests.
42724598 ac_preproc_ok=:
42734599 break
42744600 fi
4275
4276 rm -f conftest.err conftest.$ac_ext
4601 rm -f conftest.err conftest.i conftest.$ac_ext
42774602
42784603 done
42794604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
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; }; }
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; }
42894613 fi
42904614
42914615 ac_ext=c
42954619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42964620
42974621
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
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
43094628 ac_path_GREP_found=false
4310 # Loop through the user's path and test for each of PROGNAME-LIST
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4629 # Loop through the user's path and test for each of PROGNAME-LIST
4630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43124631 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
43134632 do
43144633 IFS=$as_save_IFS
43154634 test -z "$as_dir" && as_dir=.
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.
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.
43214640 # Check for GNU $ac_path_GREP
43224641 case `"$ac_path_GREP" --version 2>&1` in
43234642 *GNU*)
43244643 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
43254644 *)
43264645 ac_count=0
4327 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4646 $as_echo_n 0123456789 >"conftest.in"
43284647 while :
43294648 do
43304649 cat "conftest.in" "conftest.in" >"conftest.tmp"
43314650 mv "conftest.tmp" "conftest.in"
43324651 cp "conftest.in" "conftest.nl"
4333 echo 'GREP' >> "conftest.nl"
4652 $as_echo 'GREP' >> "conftest.nl"
43344653 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
43354654 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4336 ac_count=`expr $ac_count + 1`
4655 as_fn_arith $ac_count + 1 && ac_count=$as_val
43374656 if test $ac_count -gt ${ac_path_GREP_max-0}; then
43384657 # Best one so far, save it but keep looking for a better one
43394658 ac_cv_path_GREP="$ac_path_GREP"
43454664 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
43464665 esac
43474666
4348
4349 $ac_path_GREP_found && break 3
4667 $ac_path_GREP_found && break 3
4668 done
43504669 done
4351 done
4352
4353 done
4670 done
43544671 IFS=$as_save_IFS
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
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
43664675 else
43674676 ac_cv_path_GREP=$GREP
43684677 fi
43694678
4370
4371 fi
4372 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4373 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4679 fi
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4681 $as_echo "$ac_cv_path_GREP" >&6; }
43744682 GREP="$ac_cv_path_GREP"
43754683
43764684
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
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
43814689 else
43824690 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
43834691 then ac_cv_path_EGREP="$GREP -E"
43844692 else
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
4693 if test -z "$EGREP"; then
43914694 ac_path_EGREP_found=false
4392 # Loop through the user's path and test for each of PROGNAME-LIST
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 # Loop through the user's path and test for each of PROGNAME-LIST
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43944697 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
43954698 do
43964699 IFS=$as_save_IFS
43974700 test -z "$as_dir" && as_dir=.
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.
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.
44034706 # Check for GNU $ac_path_EGREP
44044707 case `"$ac_path_EGREP" --version 2>&1` in
44054708 *GNU*)
44064709 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
44074710 *)
44084711 ac_count=0
4409 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4712 $as_echo_n 0123456789 >"conftest.in"
44104713 while :
44114714 do
44124715 cat "conftest.in" "conftest.in" >"conftest.tmp"
44134716 mv "conftest.tmp" "conftest.in"
44144717 cp "conftest.in" "conftest.nl"
4415 echo 'EGREP' >> "conftest.nl"
4718 $as_echo 'EGREP' >> "conftest.nl"
44164719 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
44174720 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4418 ac_count=`expr $ac_count + 1`
4721 as_fn_arith $ac_count + 1 && ac_count=$as_val
44194722 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
44204723 # Best one so far, save it but keep looking for a better one
44214724 ac_cv_path_EGREP="$ac_path_EGREP"
44274730 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
44284731 esac
44294732
4430
4431 $ac_path_EGREP_found && break 3
4733 $ac_path_EGREP_found && break 3
4734 done
44324735 done
4433 done
4434
4435 done
4736 done
44364737 IFS=$as_save_IFS
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
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
44484741 else
44494742 ac_cv_path_EGREP=$EGREP
44504743 fi
44514744
4452
44534745 fi
44544746 fi
4455 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4456 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4748 $as_echo "$ac_cv_path_EGREP" >&6; }
44574749 EGREP="$ac_cv_path_EGREP"
44584750
44594751
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
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
44704758 /* end confdefs.h. */
44714759 #include <stdlib.h>
44724760 #include <stdarg.h>
44814769 return 0;
44824770 }
44834771 _ACEOF
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
4772 if ac_fn_c_try_compile "$LINENO"; then :
45014773 ac_cv_header_stdc=yes
45024774 else
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
4775 ac_cv_header_stdc=no
4776 fi
45094777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45104778
45114779 if test $ac_cv_header_stdc = yes; then
45124780 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4513 cat >conftest.$ac_ext <<_ACEOF
4514 /* confdefs.h. */
4515 _ACEOF
4516 cat confdefs.h >>conftest.$ac_ext
4517 cat >>conftest.$ac_ext <<_ACEOF
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45184782 /* end confdefs.h. */
45194783 #include <string.h>
45204784
45214785 _ACEOF
45224786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4523 $EGREP "memchr" >/dev/null 2>&1; then
4524 :
4787 $EGREP "memchr" >/dev/null 2>&1; then :
4788
45254789 else
45264790 ac_cv_header_stdc=no
45274791 fi
4528 rm -f -r conftest*
4792 rm -f conftest*
45294793
45304794 fi
45314795
45324796 if test $ac_cv_header_stdc = yes; then
45334797 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4534 cat >conftest.$ac_ext <<_ACEOF
4535 /* confdefs.h. */
4536 _ACEOF
4537 cat confdefs.h >>conftest.$ac_ext
4538 cat >>conftest.$ac_ext <<_ACEOF
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45394799 /* end confdefs.h. */
45404800 #include <stdlib.h>
45414801
45424802 _ACEOF
45434803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4544 $EGREP "free" >/dev/null 2>&1; then
4545 :
4804 $EGREP "free" >/dev/null 2>&1; then :
4805
45464806 else
45474807 ac_cv_header_stdc=no
45484808 fi
4549 rm -f -r conftest*
4809 rm -f conftest*
45504810
45514811 fi
45524812
45534813 if test $ac_cv_header_stdc = yes; then
45544814 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4555 if test "$cross_compiling" = yes; then
4815 if test "$cross_compiling" = yes; then :
45564816 :
45574817 else
4558 cat >conftest.$ac_ext <<_ACEOF
4559 /* confdefs.h. */
4560 _ACEOF
4561 cat confdefs.h >>conftest.$ac_ext
4562 cat >>conftest.$ac_ext <<_ACEOF
4818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45634819 /* end confdefs.h. */
45644820 #include <ctype.h>
45654821 #include <stdlib.h>
45864842 return 0;
45874843 }
45884844 _ACEOF
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; }
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; }
46264858 if test $ac_cv_header_stdc = yes; then
46274859
4628 cat >>confdefs.h <<\_ACEOF
4629 @%:@define STDC_HEADERS 1
4630 _ACEOF
4860 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
46314861
46324862 fi
46334863
46344864 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4635
4636
4637
4638
4639
4640
4641
4642
4643
46444865 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
46454866 inttypes.h stdint.h unistd.h
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
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 :
46944872 cat >>confdefs.h <<_ACEOF
4695 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4873 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
46964874 _ACEOF
46974875
46984876 fi
47004878 done
47014879
47024880
4703 # Check whether --enable-nfprofile was given.
4704 if test "${enable_nfprofile+set}" = set; then
4881 @%:@ Check whether --enable-nfprofile was given.
4882 if test "${enable_nfprofile+set}" = set; then :
47054883 enableval=$enable_nfprofile;
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
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
47104888 else
47114889 ac_check_lib_save_LIBS=$LIBS
47124890 LIBS="-lrrd $LIBS"
4713 cat >conftest.$ac_ext <<_ACEOF
4714 /* confdefs.h. */
4715 _ACEOF
4716 cat confdefs.h >>conftest.$ac_ext
4717 cat >>conftest.$ac_ext <<_ACEOF
4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47184892 /* end confdefs.h. */
47194893
47204894 /* Override any GCC internal prototype to avoid an error.
47324906 return 0;
47334907 }
47344908 _ACEOF
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
4909 if ac_fn_c_try_link "$LINENO"; then :
47534910 ac_cv_lib_rrd_rrd_update=yes
47544911 else
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
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
47634916 LIBS=$ac_check_lib_save_LIBS
47644917 fi
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
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 :
47684921
47694922 cat >>config.h <<_ACEOF
47704923 #define HAVE_LIBRRD 1
47744927
47754928
47764929 else
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
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 :
49194937 cat >>confdefs.h <<_ACEOF
4920 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4938 @%:@define HAVE_RRD_H 1
49214939 _ACEOF
49224940
49234941 fi
49344952 fi
49354953
49364954 else
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; }; }
4955 as_fn_error $? "Required rrd.h header file not found!" "$LINENO" 5
49404956 fi
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
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
49534964 /* end confdefs.h. */
4954
4965
49554966 #include <stdio.h>
49564967 #include <rrd.h>
49574968
49664977 }
49674978
49684979 _ACEOF
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
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
50034988
50044989
50054990
50175002 fi
50185003
50195004
5020 # Check whether --enable-nftrack was given.
5021 if test "${enable_nftrack+set}" = set; then
5005 @%:@ Check whether --enable-nftrack was given.
5006 if test "${enable_nftrack+set}" = set; then :
50225007 enableval=$enable_nftrack;
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
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
50275012 else
50285013 ac_check_lib_save_LIBS=$LIBS
50295014 LIBS="-lrrd $LIBS"
5030 cat >conftest.$ac_ext <<_ACEOF
5031 /* confdefs.h. */
5032 _ACEOF
5033 cat confdefs.h >>conftest.$ac_ext
5034 cat >>conftest.$ac_ext <<_ACEOF
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50355016 /* end confdefs.h. */
50365017
50375018 /* Override any GCC internal prototype to avoid an error.
50495030 return 0;
50505031 }
50515032 _ACEOF
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
5033 if ac_fn_c_try_link "$LINENO"; then :
50705034 ac_cv_lib_rrd_rrd_update=yes
50715035 else
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
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
50805040 LIBS=$ac_check_lib_save_LIBS
50815041 fi
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
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 :
50855045
50865046 cat >>config.h <<_ACEOF
50875047 #define HAVE_LIBRRD 1
50915051
50925052
50935053 else
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
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 :
52365061 cat >>confdefs.h <<_ACEOF
5237 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5062 @%:@define HAVE_RRD_H 1
52385063 _ACEOF
52395064
52405065 fi
52515076 fi
52525077
52535078 else
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; }; }
5079 as_fn_error $? "Required rrd.h header file not found!" "$LINENO" 5
52575080 fi
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
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
52705088 /* end confdefs.h. */
5271
5089
52725090 #include <stdio.h>
52735091 #include <rrd.h>
52745092
52835101 }
52845102
52855103 _ACEOF
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
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
53205112
53215113
53225114
53345126 fi
53355127
53365128
5337 # Check whether --enable-sflow was given.
5338 if test "${enable_sflow+set}" = set; then
5129 @%:@ Check whether --enable-sflow was given.
5130 if test "${enable_sflow+set}" = set; then :
53395131 enableval=$enable_sflow;
53405132 fi
53415133
53485140 fi
53495141
53505142
5351 # Check whether --enable-readpcap was given.
5352 if test "${enable_readpcap+set}" = set; then
5143 @%:@ Check whether --enable-readpcap was given.
5144 if test "${enable_readpcap+set}" = set; then :
53535145 enableval=$enable_readpcap;
53545146 fi
53555147
53635155
53645156
53655157 # Check for structures
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
5158 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
53785159 #include <sys/types.h>
53795160 #include <sys/socket.h>
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
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" "
54205170 #include <sys/types.h>
54215171 #include <sys/socket.h>
54225172
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
5173 "
5174 if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
55765175
55775176 cat >>confdefs.h <<_ACEOF
55785177 @%:@define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
55805179
55815180
55825181 fi
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
5182 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "__ss_family" "ac_cv_member_struct_sockaddr_storage___ss_family" "
55955183 #include <sys/types.h>
55965184 #include <sys/socket.h>
55975185
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
5186 "
5187 if test "x$ac_cv_member_struct_sockaddr_storage___ss_family" = xyes; then :
56855188
56865189 cat >>confdefs.h <<_ACEOF
56875190 @%:@define HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY 1
56895192
56905193
56915194 fi
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
5195 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_len" "ac_cv_member_struct_sockaddr_storage_ss_len" "
57045196 #include <sys/types.h>
57055197 #include <sys/socket.h>
57065198
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
5199 "
5200 if test "x$ac_cv_member_struct_sockaddr_storage_ss_len" = xyes; then :
57945201
57955202 cat >>confdefs.h <<_ACEOF
57965203 @%:@define HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN 1
57985205
57995206
58005207 fi
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
5208 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "__ss_len" "ac_cv_member_struct_sockaddr_storage___ss_len" "
58135209 #include <sys/types.h>
58145210 #include <sys/socket.h>
58155211
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
5212 "
5213 if test "x$ac_cv_member_struct_sockaddr_storage___ss_len" = xyes; then :
59035214
59045215 cat >>confdefs.h <<_ACEOF
59055216 @%:@define HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN 1
59075218
59085219
59095220 fi
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
5221 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
59225222 #include <sys/types.h>
59235223 #include <sys/socket.h>
59245224
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
5225 "
5226 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
60125227
60135228 cat >>confdefs.h <<_ACEOF
60145229 @%:@define HAVE_STRUCT_SOCKADDR_SA_LEN 1
60255240
60265241
60275242 # Checks for libraries.
6028
60295243 for ac_func in gethostbyname
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
5244 do :
5245 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5246 if test "x$ac_cv_func_gethostbyname" = xyes; then :
61155247 cat >>confdefs.h <<_ACEOF
6116 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5248 @%:@define HAVE_GETHOSTBYNAME 1
61175249 _ACEOF
61185250
61195251 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
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
61255256 else
61265257 ac_check_lib_save_LIBS=$LIBS
61275258 LIBS="-lnsl $LIBS"
6128 cat >conftest.$ac_ext <<_ACEOF
6129 /* confdefs.h. */
6130 _ACEOF
6131 cat confdefs.h >>conftest.$ac_ext
6132 cat >>conftest.$ac_ext <<_ACEOF
5259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61335260 /* end confdefs.h. */
61345261
61355262 /* Override any GCC internal prototype to avoid an error.
61475274 return 0;
61485275 }
61495276 _ACEOF
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
5277 if ac_fn_c_try_link "$LINENO"; then :
61685278 ac_cv_lib_nsl_gethostbyname=yes
61695279 else
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
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
61785284 LIBS=$ac_check_lib_save_LIBS
61795285 fi
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
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 :
61835289 cat >>confdefs.h <<_ACEOF
61845290 @%:@define HAVE_LIBNSL 1
61855291 _ACEOF
61875293 LIBS="-lnsl $LIBS"
61885294
61895295 else
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
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
61955300 else
61965301 ac_check_lib_save_LIBS=$LIBS
61975302 LIBS="-lsocket $LIBS"
6198 cat >conftest.$ac_ext <<_ACEOF
6199 /* confdefs.h. */
6200 _ACEOF
6201 cat confdefs.h >>conftest.$ac_ext
6202 cat >>conftest.$ac_ext <<_ACEOF
5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62035304 /* end confdefs.h. */
62045305
62055306 /* Override any GCC internal prototype to avoid an error.
62175318 return 0;
62185319 }
62195320 _ACEOF
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
5321 if ac_fn_c_try_link "$LINENO"; then :
62385322 ac_cv_lib_socket_gethostbyname=yes
62395323 else
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
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
62485328 LIBS=$ac_check_lib_save_LIBS
62495329 fi
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
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 :
62535333 cat >>confdefs.h <<_ACEOF
62545334 @%:@define HAVE_LIBSOCKET 1
62555335 _ACEOF
62635343 fi
62645344 done
62655345
6266
62675346 for ac_func in setsockopt
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
5347 do :
5348 ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt"
5349 if test "x$ac_cv_func_setsockopt" = xyes; then :
63535350 cat >>confdefs.h <<_ACEOF
6354 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5351 @%:@define HAVE_SETSOCKOPT 1
63555352 _ACEOF
63565353
63575354 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
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
63635359 else
63645360 ac_check_lib_save_LIBS=$LIBS
63655361 LIBS="-lsocket $LIBS"
6366 cat >conftest.$ac_ext <<_ACEOF
6367 /* confdefs.h. */
6368 _ACEOF
6369 cat confdefs.h >>conftest.$ac_ext
6370 cat >>conftest.$ac_ext <<_ACEOF
5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63715363 /* end confdefs.h. */
63725364
63735365 /* Override any GCC internal prototype to avoid an error.
63855377 return 0;
63865378 }
63875379 _ACEOF
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
5380 if ac_fn_c_try_link "$LINENO"; then :
64065381 ac_cv_lib_socket_setsockopt=yes
64075382 else
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
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
64165387 LIBS=$ac_check_lib_save_LIBS
64175388 fi
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
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 :
64215392 cat >>confdefs.h <<_ACEOF
64225393 @%:@define HAVE_LIBSOCKET 1
64235394 _ACEOF
64305401 done
64315402
64325403
6433
6434
64355404 for ac_func in fpurge __fpurge
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
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 :
65215409 cat >>confdefs.h <<_ACEOF
6522 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5410 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65235411 _ACEOF
65245412
65255413 fi
65285416
65295417
65305418 # Checks for header files.
6531
6532
6533
6534
6535
65365419 ac_header_dirent=no
65375420 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
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
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
65495428 /* end confdefs.h. */
65505429 #include <sys/types.h>
65515430 #include <$ac_hdr>
65595438 return 0;
65605439 }
65615440 _ACEOF
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
5441 if ac_fn_c_try_compile "$LINENO"; then :
65795442 eval "$as_ac_Header=yes"
65805443 else
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
5444 eval "$as_ac_Header=no"
5445 fi
65875446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65885447 fi
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
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 :
65935452 cat >>confdefs.h <<_ACEOF
6594 @%:@define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5453 @%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
65955454 _ACEOF
65965455
65975456 ac_header_dirent=$ac_hdr; break
66005459 done
66015460 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
66025461 if test $ac_header_dirent = dirent.h; then
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
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
66075466 else
66085467 ac_func_search_save_LIBS=$LIBS
6609 cat >conftest.$ac_ext <<_ACEOF
6610 /* confdefs.h. */
6611 _ACEOF
6612 cat confdefs.h >>conftest.$ac_ext
6613 cat >>conftest.$ac_ext <<_ACEOF
5468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66145469 /* end confdefs.h. */
66155470
66165471 /* Override any GCC internal prototype to avoid an error.
66355490 ac_res=-l$ac_lib
66365491 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
66375492 fi
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
5493 if ac_fn_c_try_link "$LINENO"; then :
66565494 ac_cv_search_opendir=$ac_res
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
5495 fi
5496 rm -f core conftest.err conftest.$ac_objext \
5497 conftest$ac_exeext
5498 if ${ac_cv_search_opendir+:} false; then :
66675499 break
66685500 fi
66695501 done
6670 if test "${ac_cv_search_opendir+set}" = set; then
6671 :
5502 if ${ac_cv_search_opendir+:} false; then :
5503
66725504 else
66735505 ac_cv_search_opendir=no
66745506 fi
66755507 rm conftest.$ac_ext
66765508 LIBS=$ac_func_search_save_LIBS
66775509 fi
6678 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6679 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5511 $as_echo "$ac_cv_search_opendir" >&6; }
66805512 ac_res=$ac_cv_search_opendir
6681 if test "$ac_res" != no; then
5513 if test "$ac_res" != no; then :
66825514 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
66835515
66845516 fi
66855517
66865518 else
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
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
66915523 else
66925524 ac_func_search_save_LIBS=$LIBS
6693 cat >conftest.$ac_ext <<_ACEOF
6694 /* confdefs.h. */
6695 _ACEOF
6696 cat confdefs.h >>conftest.$ac_ext
6697 cat >>conftest.$ac_ext <<_ACEOF
5525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66985526 /* end confdefs.h. */
66995527
67005528 /* Override any GCC internal prototype to avoid an error.
67195547 ac_res=-l$ac_lib
67205548 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
67215549 fi
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
5550 if ac_fn_c_try_link "$LINENO"; then :
67405551 ac_cv_search_opendir=$ac_res
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
5552 fi
5553 rm -f core conftest.err conftest.$ac_objext \
5554 conftest$ac_exeext
5555 if ${ac_cv_search_opendir+:} false; then :
67515556 break
67525557 fi
67535558 done
6754 if test "${ac_cv_search_opendir+set}" = set; then
6755 :
5559 if ${ac_cv_search_opendir+:} false; then :
5560
67565561 else
67575562 ac_cv_search_opendir=no
67585563 fi
67595564 rm conftest.$ac_ext
67605565 LIBS=$ac_func_search_save_LIBS
67615566 fi
6762 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6763 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5568 $as_echo "$ac_cv_search_opendir" >&6; }
67645569 ac_res=$ac_cv_search_opendir
6765 if test "$ac_res" != no; then
5570 if test "$ac_res" != no; then :
67665571 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
67675572
67685573 fi
67695574
67705575 fi
67715576
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
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
67825583 /* end confdefs.h. */
67835584 #include <stdlib.h>
67845585 #include <stdarg.h>
67935594 return 0;
67945595 }
67955596 _ACEOF
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
5597 if ac_fn_c_try_compile "$LINENO"; then :
68135598 ac_cv_header_stdc=yes
68145599 else
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
5600 ac_cv_header_stdc=no
5601 fi
68215602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68225603
68235604 if test $ac_cv_header_stdc = yes; then
68245605 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6825 cat >conftest.$ac_ext <<_ACEOF
6826 /* confdefs.h. */
6827 _ACEOF
6828 cat confdefs.h >>conftest.$ac_ext
6829 cat >>conftest.$ac_ext <<_ACEOF
5606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68305607 /* end confdefs.h. */
68315608 #include <string.h>
68325609
68335610 _ACEOF
68345611 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6835 $EGREP "memchr" >/dev/null 2>&1; then
6836 :
5612 $EGREP "memchr" >/dev/null 2>&1; then :
5613
68375614 else
68385615 ac_cv_header_stdc=no
68395616 fi
6840 rm -f -r conftest*
5617 rm -f conftest*
68415618
68425619 fi
68435620
68445621 if test $ac_cv_header_stdc = yes; then
68455622 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6846 cat >conftest.$ac_ext <<_ACEOF
6847 /* confdefs.h. */
6848 _ACEOF
6849 cat confdefs.h >>conftest.$ac_ext
6850 cat >>conftest.$ac_ext <<_ACEOF
5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68515624 /* end confdefs.h. */
68525625 #include <stdlib.h>
68535626
68545627 _ACEOF
68555628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6856 $EGREP "free" >/dev/null 2>&1; then
6857 :
5629 $EGREP "free" >/dev/null 2>&1; then :
5630
68585631 else
68595632 ac_cv_header_stdc=no
68605633 fi
6861 rm -f -r conftest*
5634 rm -f conftest*
68625635
68635636 fi
68645637
68655638 if test $ac_cv_header_stdc = yes; then
68665639 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6867 if test "$cross_compiling" = yes; then
5640 if test "$cross_compiling" = yes; then :
68685641 :
68695642 else
6870 cat >conftest.$ac_ext <<_ACEOF
6871 /* confdefs.h. */
6872 _ACEOF
6873 cat confdefs.h >>conftest.$ac_ext
6874 cat >>conftest.$ac_ext <<_ACEOF
5643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68755644 /* end confdefs.h. */
68765645 #include <ctype.h>
68775646 #include <stdlib.h>
68985667 return 0;
68995668 }
69005669 _ACEOF
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; }
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; }
69385683 if test $ac_cv_header_stdc = yes; then
69395684
6940 cat >>confdefs.h <<\_ACEOF
6941 @%:@define STDC_HEADERS 1
6942 _ACEOF
6943
6944 fi
6945
5685 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
5686
5687 fi
69465688
69475689 for ac_header in nameser8_compat.h
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
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 :
70835693 cat >>confdefs.h <<_ACEOF
7084 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5694 @%:@define HAVE_NAMESER8_COMPAT_H 1
70855695 _ACEOF
70865696
70875697 fi
70885698
70895699 done
70905700
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
71035701 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
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
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 :
72395706 cat >>confdefs.h <<_ACEOF
7240 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5707 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
72415708 _ACEOF
72425709
72435710 fi
72455712 done
72465713
72475714
7248
7249
7250
7251
7252
72535715 for ac_header in sys/types.h netinet/in.h arpa/nameser.h netdb.h resolv.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
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
72685719 # include <sys/types.h>
72695720 #endif
72705721 #ifdef HAVE_NETINET_IN_H
72765727 #ifdef HAVE_NETDB_H
72775728 # include <netdb.h>
72785729 #endif
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
5730 "
5731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
73135732 cat >>confdefs.h <<_ACEOF
7314 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5733 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
73155734 _ACEOF
73165735
73175736 fi
73275746
73285747
73295748 # 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
73845749 # The cast to long int works around a bug in the HP C Compiler
73855750 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
73865751 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
73875752 # This bug is HP SR number 8606223364.
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; }; }
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; }
77175766 else
77185767 ac_cv_sizeof_void_p=0
77195768 fi
77205769 fi
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; }
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; }
77275774
77285775
77295776
77335780
77345781
77355782
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
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
77465789 /* end confdefs.h. */
77475790
77485791 int
78025845 return 0;
78035846 }
78045847 _ACEOF
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
5848 if ac_fn_c_try_compile "$LINENO"; then :
78225849 ac_cv_c_const=yes
78235850 else
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
5851 ac_cv_c_const=no
5852 fi
78305853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78315854 fi
7832 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7833 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5856 $as_echo "$ac_cv_c_const" >&6; }
78345857 if test $ac_cv_c_const = no; then
78355858
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
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
78465867 else
78475868 ac_cv_c_inline=no
78485869 for ac_kw in inline __inline__ __inline; do
7849 cat >conftest.$ac_ext <<_ACEOF
7850 /* confdefs.h. */
7851 _ACEOF
7852 cat confdefs.h >>conftest.$ac_ext
7853 cat >>conftest.$ac_ext <<_ACEOF
5870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78545871 /* end confdefs.h. */
78555872 #ifndef __cplusplus
78565873 typedef int foo_t;
78595876 #endif
78605877
78615878 _ACEOF
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
5879 if ac_fn_c_try_compile "$LINENO"; then :
78795880 ac_cv_c_inline=$ac_kw
7880 else
7881 echo "$as_me: failed program was:" >&5
7882 sed 's/^/| /' conftest.$ac_ext >&5
7883
7884
7885 fi
7886
5881 fi
78875882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78885883 test "$ac_cv_c_inline" != no && break
78895884 done
78905885
78915886 fi
7892 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7893 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
7894
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5888 $as_echo "$ac_cv_c_inline" >&6; }
78955889
78965890 case $ac_cv_c_inline in
78975891 inline | yes) ;;
79085902 ;;
79095903 esac
79105904
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
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
79225948 /* end confdefs.h. */
79235949 #include <sys/types.h>
7924 #include <sys/param.h>
7925
5950 #include <sys/param.h>
5951
79265952 int
79275953 main ()
79285954 {
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
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
79345961 ;
79355962 return 0;
79365963 }
79375964 _ACEOF
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
5965 if ac_fn_c_try_compile "$LINENO"; then :
79555966 # It does; now see whether it defined to BIG_ENDIAN or not.
7956 cat >conftest.$ac_ext <<_ACEOF
7957 /* confdefs.h. */
7958 _ACEOF
7959 cat confdefs.h >>conftest.$ac_ext
7960 cat >>conftest.$ac_ext <<_ACEOF
5967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79615968 /* end confdefs.h. */
79625969 #include <sys/types.h>
7963 #include <sys/param.h>
7964
5970 #include <sys/param.h>
5971
79655972 int
79665973 main ()
79675974 {
79685975 #if BYTE_ORDER != BIG_ENDIAN
7969 not big endian
7970 #endif
7971
5976 not big endian
5977 #endif
5978
79725979 ;
79735980 return 0;
79745981 }
79755982 _ACEOF
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
5983 if ac_fn_c_try_compile "$LINENO"; then :
79935984 ac_cv_c_bigendian=yes
79945985 else
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
5986 ac_cv_c_bigendian=no
5987 fi
80015988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
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
80155995 /* 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; }
5996 #include <limits.h>
5997
80225998 int
80235999 main ()
80246000 {
8025 _ascii (); _ebcdic ();
6001 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6002 bogus endian macros
6003 #endif
6004
80266005 ;
80276006 return 0;
80286007 }
80296008 _ACEOF
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
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 :
80486027 ac_cv_c_bigendian=yes
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
6028 else
6029 ac_cv_c_bigendian=no
6030 fi
80656031 rm -f core conftest.err conftest.$ac_objext 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
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
80726081 /* end confdefs.h. */
80736082 $ac_includes_default
80746083 int
80756084 main ()
80766085 {
80776086
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
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
80876096 ;
80886097 return 0;
80896098 }
80906099 _ACEOF
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
6100 if ac_fn_c_try_run "$LINENO"; then :
81116101 ac_cv_c_bigendian=no
81126102 else
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
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
6132 else
6133
6134 cat >>confdefs.h <<_ACEOF
6135 @%:@define pid_t int
6136 _ACEOF
6137
6138 fi
6139
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
6143 else
6144
6145 cat >>confdefs.h <<_ACEOF
6146 @%:@define size_t unsigned int
6147 _ACEOF
6148
6149 fi
6150
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
81576157 /* end confdefs.h. */
8158 $ac_includes_default
8159 typedef pid_t ac__type_new_;
6158 #include <sys/types.h>
6159 #include <time.h>
6160
81606161 int
81616162 main ()
81626163 {
8163 if ((ac__type_new_ *) 0)
8164 return 0;
8165 if (sizeof (ac__type_new_))
8166 return 0;
6164 struct tm tm;
6165 int *p = &tm.tm_sec;
6166 return !p;
81676167 ;
81686168 return 0;
81696169 }
81706170 _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
6171 if ac_fn_c_try_compile "$LINENO"; then :
6172 ac_cv_struct_tm=time.h
6173 else
6174 ac_cv_struct_tm=sys/time.h
6175 fi
81966176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81976177 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 :
8202 else
8203
8204 cat >>confdefs.h <<_ACEOF
8205 @%:@define pid_t int
8206 _ACEOF
8207
8208 fi
8209
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 :
8265 else
8266
8267 cat >>confdefs.h <<_ACEOF
8268 @%:@define size_t unsigned int
8269 _ACEOF
8270
8271 fi
8272
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
8283 /* end confdefs.h. */
8284 #include <sys/types.h>
8285 #include <time.h>
8286
8287 int
8288 main ()
8289 {
8290 struct tm tm;
8291 int *p = &tm.tm_sec;
8292 return !p;
8293 ;
8294 return 0;
8295 }
8296 _ACEOF
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
8314 ac_cv_struct_tm=time.h
8315 else
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
8322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8323 fi
8324 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8325 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6179 $as_echo "$ac_cv_struct_tm" >&6; }
83266180 if test $ac_cv_struct_tm = sys/time.h; then
83276181
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
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
83446192 /* end confdefs.h. */
83456193
83466194 #include <stdbool.h>
83696217 char b[false == 0 ? 1 : -1];
83706218 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
83716219 char d[(bool) 0.5 == true ? 1 : -1];
8372 bool e = &s;
6220 /* See body of main program for 'e'. */
83736221 char f[(_Bool) 0.0 == false ? 1 : -1];
83746222 char g[true];
83756223 char h[sizeof (_Bool)];
83766224 char i[sizeof s.t];
83776225 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]. */
83786228 _Bool n[m];
83796229 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
83806230 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
84006231 /* Catch a bug in an HP-UX C compiler. See
84016232 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
84026233 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
84086239 main ()
84096240 {
84106241
6242 bool e = &s;
84116243 *pq |= q;
84126244 *pq |= ! q;
84136245 /* Refer to every declared value, to avoid compiler optimizations. */
84186250 return 0;
84196251 }
84206252 _ACEOF
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
6253 if ac_fn_c_try_compile "$LINENO"; then :
84386254 ac_cv_header_stdbool_h=yes
84396255 else
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
6256 ac_cv_header_stdbool_h=no
6257 fi
84466258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84476259 fi
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
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 :
85046264
85056265 cat >>confdefs.h <<_ACEOF
85066266 @%:@define HAVE__BOOL 1
85116271
85126272 if test $ac_cv_header_stdbool_h = yes; then
85136273
8514 cat >>confdefs.h <<\_ACEOF
8515 @%:@define HAVE_STDBOOL_H 1
8516 _ACEOF
6274 $as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
85176275
85186276 fi
85196277
85206278
85216279 # Checks for library functions.
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
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 :
85286286 ac_cv_func_closedir_void=yes
85296287 else
8530 cat >conftest.$ac_ext <<_ACEOF
8531 /* confdefs.h. */
8532 _ACEOF
8533 cat confdefs.h >>conftest.$ac_ext
8534 cat >>conftest.$ac_ext <<_ACEOF
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85356289 /* end confdefs.h. */
85366290 $ac_includes_default
85376291 #include <$ac_header_dirent>
85476301 return 0;
85486302 }
85496303 _ACEOF
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
6304 if ac_fn_c_try_run "$LINENO"; then :
85706305 ac_cv_func_closedir_void=no
85716306 else
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; }
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; }
85866316 if test $ac_cv_func_closedir_void = yes; then
85876317
8588 cat >>confdefs.h <<\_ACEOF
8589 @%:@define CLOSEDIR_VOID 1
8590 _ACEOF
8591
8592 fi
8593
6318 $as_echo "@%:@define CLOSEDIR_VOID 1" >>confdefs.h
6319
6320 fi
85946321
85956322 for ac_header in vfork.h
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
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 :
87316326 cat >>confdefs.h <<_ACEOF
8732 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6327 @%:@define HAVE_VFORK_H 1
87336328 _ACEOF
87346329
87356330 fi
87366331
87376332 done
87386333
8739
8740
87416334 for ac_func in fork vfork
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
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 :
88276339 cat >>confdefs.h <<_ACEOF
8828 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6340 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
88296341 _ACEOF
88306342
88316343 fi
88326344 done
88336345
88346346 if test "x$ac_cv_func_fork" = xyes; 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
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 :
88416353 ac_cv_func_fork_works=cross
88426354 else
8843 cat >conftest.$ac_ext <<_ACEOF
8844 /* confdefs.h. */
8845 _ACEOF
8846 cat confdefs.h >>conftest.$ac_ext
8847 cat >>conftest.$ac_ext <<_ACEOF
6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88486356 /* end confdefs.h. */
88496357 $ac_includes_default
88506358 int
88586366 return 0;
88596367 }
88606368 _ACEOF
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
6369 if ac_fn_c_try_run "$LINENO"; then :
88816370 ac_cv_func_fork_works=yes
88826371 else
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; }
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; }
88976381
88986382 else
88996383 ac_cv_func_fork_works=$ac_cv_func_fork
89086392 ac_cv_func_fork_works=yes
89096393 ;;
89106394 esac
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;}
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;}
89136397 fi
89146398 ac_cv_func_vfork_works=$ac_cv_func_vfork
89156399 if test "x$ac_cv_func_vfork" = xyes; 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
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 :
89226406 ac_cv_func_vfork_works=cross
89236407 else
8924 cat >conftest.$ac_ext <<_ACEOF
8925 /* confdefs.h. */
8926 _ACEOF
8927 cat confdefs.h >>conftest.$ac_ext
8928 cat >>conftest.$ac_ext <<_ACEOF
6408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89296409 /* end confdefs.h. */
89306410 /* Thanks to Paul Eggert for this test. */
89316411 $ac_includes_default
90176497 }
90186498 }
90196499 _ACEOF
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
6500 if ac_fn_c_try_run "$LINENO"; then :
90406501 ac_cv_func_vfork_works=yes
90416502 else
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; }
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; }
90566512
90576513 fi;
90586514 if test "x$ac_cv_func_fork_works" = xcross; then
90596515 ac_cv_func_vfork_works=$ac_cv_func_vfork
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;}
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;}
90626518 fi
90636519
90646520 if test "x$ac_cv_func_vfork_works" = xyes; then
90656521
9066 cat >>confdefs.h <<\_ACEOF
9067 @%:@define HAVE_WORKING_VFORK 1
9068 _ACEOF
6522 $as_echo "@%:@define HAVE_WORKING_VFORK 1" >>confdefs.h
90696523
90706524 else
90716525
9072 cat >>confdefs.h <<\_ACEOF
9073 @%:@define vfork fork
9074 _ACEOF
6526 $as_echo "@%:@define vfork fork" >>confdefs.h
90756527
90766528 fi
90776529 if test "x$ac_cv_func_fork_works" = xyes; then
90786530
9079 cat >>confdefs.h <<\_ACEOF
9080 @%:@define HAVE_WORKING_FORK 1
9081 _ACEOF
9082
9083 fi
9084
6531 $as_echo "@%:@define HAVE_WORKING_FORK 1" >>confdefs.h
6532
6533 fi
90856534
90866535 for ac_header in stdlib.h
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
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 :
92226539 cat >>confdefs.h <<_ACEOF
9223 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6540 @%:@define HAVE_STDLIB_H 1
92246541 _ACEOF
92256542
92266543 fi
92276544
92286545 done
92296546
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
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 :
92366553 ac_cv_func_malloc_0_nonnull=no
92376554 else
9238 cat >conftest.$ac_ext <<_ACEOF
9239 /* confdefs.h. */
9240 _ACEOF
9241 cat confdefs.h >>conftest.$ac_ext
9242 cat >>conftest.$ac_ext <<_ACEOF
6555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92436556 /* end confdefs.h. */
92446557 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
92456558 # include <stdlib.h>
92556568 return 0;
92566569 }
92576570 _ACEOF
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
6571 if ac_fn_c_try_run "$LINENO"; then :
92786572 ac_cv_func_malloc_0_nonnull=yes
92796573 else
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
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 :
92956584
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
6585 $as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
6586
6587 else
6588 $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
93046589
93056590 case " $LIB@&t@OBJS " in
93066591 *" malloc.$ac_objext "* ) ;;
93096594 esac
93106595
93116596
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
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
93306608 /* end confdefs.h. */
93316609 #include <sys/types.h>
93326610 #include <sys/time.h>
93416619 return 0;
93426620 }
93436621 _ACEOF
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
6622 if ac_fn_c_try_compile "$LINENO"; then :
93616623 ac_cv_header_time=yes
93626624 else
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
6625 ac_cv_header_time=no
6626 fi
93696627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93706628 fi
9371 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9372 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6630 $as_echo "$ac_cv_header_time" >&6; }
93736631 if test $ac_cv_header_time = yes; then
93746632
9375 cat >>confdefs.h <<\_ACEOF
9376 @%:@define TIME_WITH_SYS_TIME 1
9377 _ACEOF
9378
9379 fi
9380
9381
9382
6633 $as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
6634
6635 fi
6636
6637
6638
93836639
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 :
6646 cat >>confdefs.h <<_ACEOF
6647 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6648 _ACEOF
6649
6650 fi
6651
6652 done
6653
93846654
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
6655
6656
6657
6658
6659
6660
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 :
95216666 cat >>confdefs.h <<_ACEOF
9522 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6667 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
95236668 _ACEOF
95246669
95256670 fi
9526
95276671 done
95286672
95296673
95306674
95316675
9532
9533
9534
9535
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
9623 cat >>confdefs.h <<_ACEOF
9624 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9625 _ACEOF
9626
9627 fi
9628 done
9629
9630
9631
9632
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
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 :
96526683 ac_cv_func_working_mktime=no
96536684 else
9654 cat >conftest.$ac_ext <<_ACEOF
9655 /* confdefs.h. */
9656 _ACEOF
9657 cat confdefs.h >>conftest.$ac_ext
9658 cat >>conftest.$ac_ext <<_ACEOF
6685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
96596686 /* end confdefs.h. */
96606687 /* Test program from Paul Eggert and Tony Leneis. */
96616688 #ifdef TIME_WITH_SYS_TIME
96696696 # endif
96706697 #endif
96716698
6699 #include <limits.h>
96726700 #include <stdlib.h>
96736701
96746702 #ifdef HAVE_UNISTD_H
96866714 static time_t time_t_min;
96876715
96886716 /* Values we'll use to set the TZ environment variable. */
9689 static char *tz_strings[] = {
9690 (char *) 0, "TZ=GMT0", "TZ=JST-9",
6717 static const char *tz_strings[] = {
6718 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
96916719 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
96926720 };
96936721 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
97046732 instead of "TZ=America/Vancouver" in order to detect the bug even
97056733 on systems that don't support the Olson extension, or don't have the
97066734 full zoneinfo tables installed. */
9707 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
6735 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
97086736
97096737 tm.tm_year = 98;
97106738 tm.tm_mon = 3;
97176745 }
97186746
97196747 static int
9720 mktime_test1 (now)
9721 time_t now;
6748 mktime_test1 (time_t now)
97226749 {
97236750 struct tm *lt;
97246751 return ! (lt = localtime (&now)) || mktime (lt) == now;
97256752 }
97266753
97276754 static int
9728 mktime_test (now)
9729 time_t now;
6755 mktime_test (time_t now)
97306756 {
97316757 return (mktime_test1 (now)
97326758 && mktime_test1 ((time_t) (time_t_max - now))
97506776 }
97516777
97526778 static int
9753 bigtime_test (j)
9754 int j;
6779 bigtime_test (int j)
97556780 {
97566781 struct tm tm;
97576782 time_t now;
97956820 instead of "TZ=America/Vancouver" in order to detect the bug even
97966821 on systems that don't support the Olson extension, or don't have the
97976822 full zoneinfo tables installed. */
9798 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
6823 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
97996824
98006825 t = mktime (&tm);
98016826
98176842 isn't worth using anyway. */
98186843 alarm (60);
98196844
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;
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
98266854 delta = time_t_max / 997; /* a suitable prime number */
98276855 for (i = 0; i < N_STRINGS; i++)
98286856 {
98296857 if (tz_strings[i])
9830 putenv (tz_strings[i]);
6858 putenv ((char*) tz_strings[i]);
98316859
98326860 for (t = 0; t <= time_t_max - delta; t += delta)
98336861 if (! mktime_test (t))
98376865 && mktime_test ((time_t) (60 * 60 * 24))))
98386866 return 1;
98396867
9840 for (j = 1; 0 < j; j *= 2)
6868 for (j = 1; ; j <<= 1)
98416869 if (! bigtime_test (j))
98426870 return 1;
9843 if (! bigtime_test (j - 1))
6871 else if (INT_MAX / 2 < j)
6872 break;
6873 if (! bigtime_test (INT_MAX))
98446874 return 1;
98456875 }
98466876 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
98476877 }
98486878 _ACEOF
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
6879 if ac_fn_c_try_run "$LINENO"; then :
98696880 ac_cv_func_working_mktime=yes
98706881 else
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; }
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; }
98856891 if test $ac_cv_func_working_mktime = no; then
98866892 case " $LIB@&t@OBJS " in
98876893 *" mktime.$ac_objext "* ) ;;
98916897
98926898 fi
98936899
9894
98956900 for ac_header in stdlib.h
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
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 :
100316904 cat >>confdefs.h <<_ACEOF
10032 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6905 @%:@define HAVE_STDLIB_H 1
100336906 _ACEOF
100346907
100356908 fi
100366909
100376910 done
100386911
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
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 :
100456918 ac_cv_func_realloc_0_nonnull=no
100466919 else
10047 cat >conftest.$ac_ext <<_ACEOF
10048 /* confdefs.h. */
10049 _ACEOF
10050 cat confdefs.h >>conftest.$ac_ext
10051 cat >>conftest.$ac_ext <<_ACEOF
6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
100526921 /* end confdefs.h. */
100536922 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
100546923 # include <stdlib.h>
100646933 return 0;
100656934 }
100666935 _ACEOF
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
6936 if ac_fn_c_try_run "$LINENO"; then :
100876937 ac_cv_func_realloc_0_nonnull=yes
100886938 else
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
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 :
101046949
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
6950 $as_echo "@%:@define HAVE_REALLOC 1" >>confdefs.h
6951
6952 else
6953 $as_echo "@%:@define HAVE_REALLOC 0" >>confdefs.h
101136954
101146955 case " $LIB@&t@OBJS " in
101156956 *" realloc.$ac_objext "* ) ;;
101186959 esac
101196960
101206961
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
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
101336971 else
101346972 rm -f conftest.sym conftest.file
101356973 echo >conftest.file
101366974 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
10137 if test "$cross_compiling" = yes; then
6975 if test "$cross_compiling" = yes; then :
101386976 ac_cv_func_lstat_dereferences_slashed_symlink=no
101396977 else
10140 cat >conftest.$ac_ext <<_ACEOF
10141 /* confdefs.h. */
10142 _ACEOF
10143 cat confdefs.h >>conftest.$ac_ext
10144 cat >>conftest.$ac_ext <<_ACEOF
6978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
101456979 /* end confdefs.h. */
101466980 $ac_includes_default
101476981 int
101486982 main ()
101496983 {
101506984 struct stat sbuf;
10151 /* Linux will dereference the symlink and fail.
6985 /* Linux will dereference the symlink and fail, as required by POSIX.
101526986 That is better in the sense that it means we will not
101536987 have to compile and use the lstat wrapper. */
101546988 return lstat ("conftest.sym/", &sbuf) == 0;
101566990 return 0;
101576991 }
101586992 _ACEOF
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
6993 if ac_fn_c_try_run "$LINENO"; then :
101796994 ac_cv_func_lstat_dereferences_slashed_symlink=yes
101806995 else
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
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
101917001
101927002 else
101937003 # If the `ln -s' command failed, then we probably don't even
101977007 rm -f conftest.sym conftest.file
101987008
101997009 fi
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; }
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; }
102027012
102037013 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
102047014
102077017 _ACEOF
102087018
102097019
10210 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
7020 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
102117021 case " $LIB@&t@OBJS " in
102127022 *" lstat.$ac_objext "* ) ;;
102137023 *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext"
102167026
102177027 fi
102187028
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
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 :
102257035 ac_cv_func_stat_empty_string_bug=yes
102267036 else
10227 cat >conftest.$ac_ext <<_ACEOF
10228 /* confdefs.h. */
10229 _ACEOF
10230 cat confdefs.h >>conftest.$ac_ext
10231 cat >>conftest.$ac_ext <<_ACEOF
7037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
102327038 /* end confdefs.h. */
102337039 $ac_includes_default
102347040 int
102407046 return 0;
102417047 }
102427048 _ACEOF
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
7049 if ac_fn_c_try_run "$LINENO"; then :
102637050 ac_cv_func_stat_empty_string_bug=no
102647051 else
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; }
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; }
102797061 if test $ac_cv_func_stat_empty_string_bug = yes; then
102807062 case " $LIB@&t@OBJS " in
102817063 *" stat.$ac_objext "* ) ;;
102907072
102917073 fi
102927074
10293
102947075 for ac_func in strftime
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
7076 do :
7077 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
7078 if test "x$ac_cv_func_strftime" = xyes; then :
103807079 cat >>confdefs.h <<_ACEOF
10381 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7080 @%:@define HAVE_STRFTIME 1
103827081 _ACEOF
103837082
103847083 else
103857084 # strftime is in -lintl on SCO UNIX.
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
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
103907089 else
103917090 ac_check_lib_save_LIBS=$LIBS
103927091 LIBS="-lintl $LIBS"
10393 cat >conftest.$ac_ext <<_ACEOF
10394 /* confdefs.h. */
10395 _ACEOF
10396 cat confdefs.h >>conftest.$ac_ext
10397 cat >>conftest.$ac_ext <<_ACEOF
7092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103987093 /* end confdefs.h. */
103997094
104007095 /* Override any GCC internal prototype to avoid an error.
104127107 return 0;
104137108 }
104147109 _ACEOF
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
7110 if ac_fn_c_try_link "$LINENO"; then :
104337111 ac_cv_lib_intl_strftime=yes
104347112 else
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
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
104437117 LIBS=$ac_check_lib_save_LIBS
104447118 fi
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
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
104517123
104527124 LIBS="-lintl $LIBS"
104537125 fi
104557127 fi
104567128 done
104577129
10458
10459
10460
10461
10462
10463
10464
10465
104667130 for ac_func in inet_ntoa socket strchr strdup strerror strrchr strstr scandir
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
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 :
105527135 cat >>confdefs.h <<_ACEOF
10553 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7136 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
105547137 _ACEOF
105557138
105567139 fi
105577140 done
105587141
105597142
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
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
105647147 else
105657148 ac_check_lib_save_LIBS=$LIBS
105667149 LIBS="-lsocket $LIBS"
10567 cat >conftest.$ac_ext <<_ACEOF
10568 /* confdefs.h. */
10569 _ACEOF
10570 cat confdefs.h >>conftest.$ac_ext
10571 cat >>conftest.$ac_ext <<_ACEOF
7150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
105727151 /* end confdefs.h. */
105737152
105747153 /* Override any GCC internal prototype to avoid an error.
105867165 return 0;
105877166 }
105887167 _ACEOF
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
7168 if ac_fn_c_try_link "$LINENO"; then :
106077169 ac_cv_lib_socket_res_search=yes
106087170 else
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
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
106177175 LIBS=$ac_check_lib_save_LIBS
106187176 fi
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
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 :
106227180
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
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
106287185 else
106297186 ac_check_lib_save_LIBS=$LIBS
106307187 LIBS="-lresolv $LIBS"
10631 cat >conftest.$ac_ext <<_ACEOF
10632 /* confdefs.h. */
10633 _ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
7188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106367189 /* end confdefs.h. */
106377190
106387191 /* Override any GCC internal prototype to avoid an error.
106507203 return 0;
106517204 }
106527205 _ACEOF
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
7206 if ac_fn_c_try_link "$LINENO"; then :
106717207 ac_cv_lib_resolv_dn_skipname=yes
106727208 else
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
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
106817213 LIBS=$ac_check_lib_save_LIBS
106827214 fi
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
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 :
106867218 cat >>confdefs.h <<_ACEOF
106877219 @%:@define HAVE_LIBRESOLV 1
106887220 _ACEOF
106917223
106927224 fi
106937225
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
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
106997230 else
107007231 ac_check_lib_save_LIBS=$LIBS
107017232 LIBS="-lresolv $LIBS"
10702 cat >conftest.$ac_ext <<_ACEOF
10703 /* confdefs.h. */
10704 _ACEOF
10705 cat confdefs.h >>conftest.$ac_ext
10706 cat >>conftest.$ac_ext <<_ACEOF
7233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107077234 /* end confdefs.h. */
107087235
107097236 /* Override any GCC internal prototype to avoid an error.
107217248 return 0;
107227249 }
107237250 _ACEOF
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
7251 if ac_fn_c_try_link "$LINENO"; then :
107427252 ac_cv_lib_resolv___dn_skipname=yes
107437253 else
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
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
107527258 LIBS=$ac_check_lib_save_LIBS
107537259 fi
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
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 :
107577263 cat >>confdefs.h <<_ACEOF
107587264 @%:@define HAVE_LIBRESOLV 1
107597265 _ACEOF
107647270
107657271 LIBS="$LIBS -lsocket"
107667272
10767 cat >>confdefs.h <<\_ACEOF
10768 @%:@define HAVE_LIBSOCKET 1
10769 _ACEOF
7273 $as_echo "@%:@define HAVE_LIBSOCKET 1" >>confdefs.h
107707274
107717275 else
107727276
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
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
107777281 else
107787282 ac_check_lib_save_LIBS=$LIBS
107797283 LIBS="-lresolv $LIBS"
10780 cat >conftest.$ac_ext <<_ACEOF
10781 /* confdefs.h. */
10782 _ACEOF
10783 cat confdefs.h >>conftest.$ac_ext
10784 cat >>conftest.$ac_ext <<_ACEOF
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107857285 /* end confdefs.h. */
107867286
107877287 /* Override any GCC internal prototype to avoid an error.
107997299 return 0;
108007300 }
108017301 _ACEOF
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
7302 if ac_fn_c_try_link "$LINENO"; then :
108207303 ac_cv_lib_resolv_res_search=yes
108217304 else
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
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
108307309 LIBS=$ac_check_lib_save_LIBS
108317310 fi
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
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 :
108357314
108367315 LIBS="$LIBS -lresolv"
108377316
10838 cat >>confdefs.h <<\_ACEOF
10839 @%:@define HAVE_LIBRESOLV 1
10840 _ACEOF
7317 $as_echo "@%:@define HAVE_LIBRESOLV 1" >>confdefs.h
108417318
108427319
108437320 else
108447321
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
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
108507326 else
108517327 ac_check_lib_save_LIBS=$LIBS
108527328 LIBS="-lresolv $LIBS"
10853 cat >conftest.$ac_ext <<_ACEOF
10854 /* confdefs.h. */
10855 _ACEOF
10856 cat confdefs.h >>conftest.$ac_ext
10857 cat >>conftest.$ac_ext <<_ACEOF
7329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
108587330 /* end confdefs.h. */
108597331
108607332 /* Override any GCC internal prototype to avoid an error.
108727344 return 0;
108737345 }
108747346 _ACEOF
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
7347 if ac_fn_c_try_link "$LINENO"; then :
108937348 ac_cv_lib_resolv_dn_skipname=yes
108947349 else
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
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
109037354 LIBS=$ac_check_lib_save_LIBS
109047355 fi
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
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 :
109087359 cat >>confdefs.h <<_ACEOF
109097360 @%:@define HAVE_LIBRESOLV 1
109107361 _ACEOF
109137364
109147365 fi
109157366
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
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
109217371 else
109227372 ac_check_lib_save_LIBS=$LIBS
109237373 LIBS="-lresolv $LIBS"
10924 cat >conftest.$ac_ext <<_ACEOF
10925 /* confdefs.h. */
10926 _ACEOF
10927 cat confdefs.h >>conftest.$ac_ext
10928 cat >>conftest.$ac_ext <<_ACEOF
7374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
109297375 /* end confdefs.h. */
109307376
109317377 /* Override any GCC internal prototype to avoid an error.
109437389 return 0;
109447390 }
109457391 _ACEOF
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
7392 if ac_fn_c_try_link "$LINENO"; then :
109647393 ac_cv_lib_resolv___dn_skipname=yes
109657394 else
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
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
109747399 LIBS=$ac_check_lib_save_LIBS
109757400 fi
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
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 :
109797404 cat >>confdefs.h <<_ACEOF
109807405 @%:@define HAVE_LIBRESOLV 1
109817406 _ACEOF
109927417
109937418
109947419 # lzo compression requirements
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 :
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
110507423 else
110517424
110527425 cat >>confdefs.h <<_ACEOF
110557428
110567429 fi
110577430
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 :
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
111137434 else
111147435
111157436 cat >>confdefs.h <<_ACEOF
111177438 _ACEOF
111187439
111197440 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; }
111747441
111757442 # The cast to long int works around a bug in the HP C Compiler
111767443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
111777444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
111787445 # This bug is HP SR number 8606223364.
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; }; }
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; }
115087459 else
115097460 ac_cv_sizeof_short=0
115107461 fi
115117462 fi
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; }
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; }
115187467
115197468
115207469
115227471 @%:@define SIZEOF_SHORT $ac_cv_sizeof_short
115237472 _ACEOF
115247473
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; }
115797474
115807475 # The cast to long int works around a bug in the HP C Compiler
115817476 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
115827477 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
115837478 # This bug is HP SR number 8606223364.
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; }; }
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; }
119137492 else
119147493 ac_cv_sizeof_int=0
119157494 fi
119167495 fi
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; }
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; }
119237500
119247501
119257502
119277504 @%:@define SIZEOF_INT $ac_cv_sizeof_int
119287505 _ACEOF
119297506
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; }
119847507
119857508 # The cast to long int works around a bug in the HP C Compiler
119867509 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
119877510 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
119887511 # This bug is HP SR number 8606223364.
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; }; }
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; }
123187525 else
123197526 ac_cv_sizeof_long=0
123207527 fi
123217528 fi
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; }
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; }
123287533
123297534
123307535
123327537 @%:@define SIZEOF_LONG $ac_cv_sizeof_long
123337538 _ACEOF
123347539
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; }
123897540
123907541 # The cast to long int works around a bug in the HP C Compiler
123917542 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
123927543 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
123937544 # This bug is HP SR number 8606223364.
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; }; }
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; }
127237558 else
127247559 ac_cv_sizeof_long_long=0
127257560 fi
127267561 fi
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; }
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; }
127337566
127347567
127357568
127377570 @%:@define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
127387571 _ACEOF
127397572
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; }
127947573
127957574 # The cast to long int works around a bug in the HP C Compiler
127967575 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
127977576 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
127987577 # This bug is HP SR number 8606223364.
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; }; }
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; }
131287591 else
131297592 ac_cv_sizeof___int64=0
131307593 fi
131317594 fi
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; }
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; }
131387599
131397600
131407601
131427603 @%:@define SIZEOF___INT64 $ac_cv_sizeof___int64
131437604 _ACEOF
131447605
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; }
131997606
132007607 # The cast to long int works around a bug in the HP C Compiler
132017608 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
132027609 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
132037610 # This bug is HP SR number 8606223364.
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; }; }
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; }
135337624 else
135347625 ac_cv_sizeof_void_p=0
135357626 fi
135367627 fi
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; }
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; }
135437632
135447633
135457634
135477636 @%:@define SIZEOF_VOID_P $ac_cv_sizeof_void_p
135487637 _ACEOF
135497638
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; }
136047639
136057640 # The cast to long int works around a bug in the HP C Compiler
136067641 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
136077642 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
136087643 # This bug is HP SR number 8606223364.
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; }; }
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; }
139387657 else
139397658 ac_cv_sizeof_size_t=0
139407659 fi
139417660 fi
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; }
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; }
139487665
139497666
139507667
139527669 @%:@define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
139537670 _ACEOF
139547671
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; }
140097672
140107673 # The cast to long int works around a bug in the HP C Compiler
140117674 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
140127675 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
140137676 # This bug is HP SR number 8606223364.
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; }; }
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; }
143437690 else
143447691 ac_cv_sizeof_ptrdiff_t=0
143457692 fi
143467693 fi
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; }
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; }
143537698
143547699
143557700
143587703 _ACEOF
143597704
143607705
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
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
143717712 /* end confdefs.h. */
143727713
143737714 int
144277768 return 0;
144287769 }
144297770 _ACEOF
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
7771 if ac_fn_c_try_compile "$LINENO"; then :
144477772 ac_cv_c_const=yes
144487773 else
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
7774 ac_cv_c_const=no
7775 fi
144557776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
144567777 fi
14457 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14458 echo "${ECHO_T}$ac_cv_c_const" >&6; }
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7779 $as_echo "$ac_cv_c_const" >&6; }
144597780 if test $ac_cv_c_const = no; then
144607781
14461 cat >>confdefs.h <<\_ACEOF
14462 @%:@define const
14463 _ACEOF
14464
14465 fi
14466
14467
14468
14469
7782 $as_echo "@%:@define const /**/" >>confdefs.h
7783
7784 fi
144707785
144717786 for ac_func in memcmp memcpy memmove memset
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
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 :
145577791 cat >>confdefs.h <<_ACEOF
14558 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7792 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
145597793 _ACEOF
145607794
145617795 fi
145627796 done
145637797
145647798
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
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
145697803 else
145707804
14571 cat >conftest.$ac_ext <<_ACEOF
14572 /* confdefs.h. */
14573 _ACEOF
14574 cat confdefs.h >>conftest.$ac_ext
14575 cat >>conftest.$ac_ext <<_ACEOF
7805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
145767806 /* end confdefs.h. */
145777807
145787808 #include <sys/types.h>
145897819 return 0;
145907820 }
145917821 _ACEOF
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
7822 if ac_fn_c_try_compile "$LINENO"; then :
146097823 ac_cv_struct_semun=yes
146107824 else
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.$ac_ext >&5
14613
14614 ac_cv_struct_semun=no
7825 ac_cv_struct_semun=no
146157826
146167827 fi
14617
146187828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
146197829
146207830
146217831 fi
146227832
146237833
14624 { echo "$as_me:$LINENO: result: $ac_cv_struct_semun" >&5
14625 echo "${ECHO_T}$ac_cv_struct_semun" >&6; }
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_semun" >&5
7835 $as_echo "$ac_cv_struct_semun" >&6; }
146267836 if test "$ac_cv_struct_semun" = "yes"; then
146277837
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
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 :
146377845
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
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
146487852 /* end confdefs.h. */
146497853
146507854 #include <stdio.h>
146627866 }
146637867
146647868 _ACEOF
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
7869 if ac_fn_c_try_run "$LINENO"; then :
146857870
14686 { echo "$as_me:$LINENO: result: yes" >&5
14687 echo "${ECHO_T}yes" >&6; }
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7872 $as_echo "yes" >&6; }
146887873
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
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
147087886
147097887
147107888 #AC_CONFIG_FILES([Makefile])
147377915 case $ac_val in #(
147387916 *${as_nl}*)
147397917 case $ac_var in #(
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;} ;;
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;} ;;
147427920 esac
147437921 case $ac_var in #(
147447922 _ | IFS | as_nl) ;; #(
14745 *) $as_unset $ac_var ;;
7923 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7924 *) { eval $ac_var=; unset $ac_var;} ;;
147467925 esac ;;
147477926 esac
147487927 done
147507929 (set) 2>&1 |
147517930 case $as_nl`(ac_space=' '; set) 2>&1` in #(
147527931 *${as_nl}ac_space=\ *)
14753 # `set' does not quote correctly, so add quotes (double-quote
14754 # substitution turns \\\\ into \\, and sed turns \\ into \).
7932 # `set' does not quote correctly, so add quotes: double-quote
7933 # substitution turns \\\\ into \\, and sed turns \\ into \.
147557934 sed -n \
147567935 "s/'/'\\\\''/g;
147577936 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
147737952 :end' >>confcache
147747953 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
147757954 if test -w "$cache_file"; then
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
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
147807970 else
14781 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14782 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
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;}
147837973 fi
147847974 fi
147857975 rm -f confcache
147927982
147937983 ac_libobjs=
147947984 ac_ltlibobjs=
7985 U=
147957986 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
147967987 # 1. Remove the extension, and $U if already installed.
147977988 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14798 ac_i=`echo "$ac_i" | sed "$ac_script"`
7989 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
147997990 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
148007991 # will be set to the directory where LIBOBJS objects are built.
14801 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14802 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7992 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7993 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
148037994 done
148047995 LIB@&t@OBJS=$ac_libobjs
148057996
148067997 LTLIBOBJS=$ac_ltlibobjs
148077998
148087999
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
148098008 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
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; }; }
8009 as_fn_error $? "conditional \"AMDEP\" was never defined.
8010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148158011 fi
148168012 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
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; }; }
8013 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148228015 fi
148238016 if test -z "${FT2NFDUMP_TRUE}" && test -z "${FT2NFDUMP_FALSE}"; then
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; }; }
8017 as_fn_error $? "conditional \"FT2NFDUMP\" was never defined.
8018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148298019 fi
148308020 if test -z "${FT2NFDUMP_TRUE}" && test -z "${FT2NFDUMP_FALSE}"; then
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; }; }
8021 as_fn_error $? "conditional \"FT2NFDUMP\" was never defined.
8022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148368023 fi
148378024 if test -z "${NFPROFILE_TRUE}" && test -z "${NFPROFILE_FALSE}"; then
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; }; }
8025 as_fn_error $? "conditional \"NFPROFILE\" was never defined.
8026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148438027 fi
148448028 if test -z "${NFPROFILE_TRUE}" && test -z "${NFPROFILE_FALSE}"; then
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; }; }
8029 as_fn_error $? "conditional \"NFPROFILE\" was never defined.
8030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148508031 fi
148518032 if test -z "${NFTRACK_TRUE}" && test -z "${NFTRACK_FALSE}"; then
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; }; }
8033 as_fn_error $? "conditional \"NFTRACK\" was never defined.
8034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148578035 fi
148588036 if test -z "${NFTRACK_TRUE}" && test -z "${NFTRACK_FALSE}"; then
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; }; }
8037 as_fn_error $? "conditional \"NFTRACK\" was never defined.
8038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148648039 fi
148658040 if test -z "${SFLOW_TRUE}" && test -z "${SFLOW_FALSE}"; then
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; }; }
8041 as_fn_error $? "conditional \"SFLOW\" was never defined.
8042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148718043 fi
148728044 if test -z "${READPCAP_TRUE}" && test -z "${READPCAP_FALSE}"; then
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}
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
148818052 ac_clean_files_save=$ac_clean_files
148828053 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14883 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14884 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14885 cat >$CONFIG_STATUS <<_ACEOF
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
148868058 #! $SHELL
148878059 # Generated by $as_me.
148888060 # Run this file to recreate the current configuration.
148928064 debug=false
148938065 ac_cs_recheck=false
148948066 ac_cs_silent=false
8067
148958068 SHELL=\${CONFIG_SHELL-$SHELL}
14896 _ACEOF
14897
14898 cat >>$CONFIG_STATUS <<\_ACEOF
14899 ## --------------------- ##
14900 ## M4sh Initialization. ##
14901 ## --------------------- ##
8069 export SHELL
8070 _ASEOF
8071 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8072 ## -------------------- ##
8073 ## M4sh Initialization. ##
8074 ## -------------------- ##
149028075
149038076 # Be more Bourne compatible
149048077 DUALCASE=1; export DUALCASE # for MKS sh
14905 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8078 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
149068079 emulate sh
149078080 NULLCMD=:
14908 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8081 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
149098082 # is contrary to our usage. Disable this feature.
149108083 alias -g '${1+"$@"}'='"$@"'
149118084 setopt NO_GLOB_SUBST
149128085 else
14913 case `(set -o) 2>/dev/null` in
14914 *posix*) set -o posix ;;
8086 case `(set -o) 2>/dev/null` in @%:@(
8087 *posix*) :
8088 set -o posix ;; @%:@(
8089 *) :
8090 ;;
149158091 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
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
149298132
149308133 # The user is always right.
149318134 if test "${PATH_SEPARATOR+set}" != set; then
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
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 }
149488140 fi
149498141
149508142
149538145 # there to prevent editors from complaining about space-tab.
149548146 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
149558147 # splitting by setting IFS to empty value.)
14956 as_nl='
14957 '
149588148 IFS=" "" $as_nl"
149598149
149608150 # Find who we are. Look in the path if we contain no directory separator.
14961 case $0 in
8151 as_myself=
8152 case $0 in @%:@((
149628153 *[\\/]* ) as_myself=$0 ;;
149638154 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
149648155 for as_dir in $PATH
149658156 do
149668157 IFS=$as_save_IFS
149678158 test -z "$as_dir" && as_dir=.
14968 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14969 done
8159 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8160 done
149708161 IFS=$as_save_IFS
149718162
149728163 ;;
149778168 as_myself=$0
149788169 fi
149798170 if test ! -f "$as_myself"; then
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
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 || :
149878182 done
149888183 PS1='$ '
149898184 PS2='> '
149908185 PS4='+ '
149918186
149928187 # NLS nuisances.
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
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
150028208 fi
15003 done
15004
15005 # Required to use basename.
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
150068276 if expr a : '\(a\)' >/dev/null 2>&1 &&
150078277 test "X`expr 00001 : '.*\(...\)'`" = X001; then
150088278 as_expr=expr
150168286 as_basename=false
150178287 fi
150188288
15019
15020 # Name of the executable.
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
150218295 as_me=`$as_basename -- "$0" ||
150228296 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
150238297 X"$0" : 'X\(//\)$' \| \
150248298 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15025 echo X/"$0" |
8299 $as_echo X/"$0" |
150268300 sed '/^.*\/\([^/][^/]*\)\/*$/{
150278301 s//\1/
150288302 q
150378311 }
150388312 s/.*/./; q'`
150398313
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
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
150938320
150948321 ECHO_C= ECHO_N= ECHO_T=
15095 case `echo -n x` in
8322 case `echo -n x` in @%:@(((((
150968323 -n*)
15097 case `echo 'x\c'` in
8324 case `echo 'xy\c'` in
150988325 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15099 *) ECHO_C='\c';;
8326 xy) ECHO_C='\c';;
8327 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8328 ECHO_T=' ';;
151008329 esac;;
151018330 *)
151028331 ECHO_N='-n';;
151038332 esac
151048333
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
151128334 rm -f conf$$ conf$$.exe conf$$.file
151138335 if test -d conf$$.dir; then
151148336 rm -f conf$$.dir/conf$$.file
151158337 else
151168338 rm -f conf$$.dir
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 ||
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
151278353 as_ln_s='cp -p'
15128 elif ln conf$$.file conf$$ 2>/dev/null; then
15129 as_ln_s=ln
8354 fi
151308355 else
151318356 as_ln_s='cp -p'
151328357 fi
151338358 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
151348359 rmdir conf$$.dir 2>/dev/null
151358360
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
15323 {
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"
8361
8362 @%:@ as_fn_mkdir_p
8363 @%:@ -------------
8364 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
8365 as_fn_mkdir_p ()
8366 {
8367
156988368 case $as_dir in #(
156998369 -*) as_dir=./$as_dir;;
157008370 esac
15701 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8371 test -d "$as_dir" || eval $as_mkdir_p || {
157028372 as_dirs=
157038373 while :; do
157048374 case $as_dir in #(
15705 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8375 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
157068376 *) as_qdir=$as_dir;;
157078377 esac
157088378 as_dirs="'$as_qdir' $as_dirs"
157118381 X"$as_dir" : 'X\(//\)[^/]' \| \
157128382 X"$as_dir" : 'X\(//\)$' \| \
157138383 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15714 echo X"$as_dir" |
8384 $as_echo X"$as_dir" |
157158385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
157168386 s//\1/
157178387 q
157328402 test -d "$as_dir" && break
157338403 done
157348404 test -z "$as_dirs" || eval "mkdir $as_dirs"
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; }; }; }
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.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $, 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.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $
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
157389061 ac_builddir=.
157399062
157409063 case "$ac_dir" in
157419064 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
157429065 *)
15743 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9066 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
157449067 # A ".." for each directory in $ac_dir_suffix.
15745 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9068 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
157469069 case $ac_top_builddir_sub in
157479070 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
157489071 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
157879110 esac
157889111 _ACEOF
157899112
15790 cat >>$CONFIG_STATUS <<\_ACEOF
9113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
157919114 # If the template does not know about datarootdir, expand it.
157929115 # FIXME: This hack should be removed a few years after 2.60.
157939116 ac_datarootdir_hack=; ac_datarootdir_seen=
15794
15795 case `sed -n '/datarootdir/ {
9117 ac_sed_dataroot='
9118 /datarootdir/ {
157969119 p
157979120 q
157989121 }
158009123 /@docdir@/p
158019124 /@infodir@/p
158029125 /@localedir@/p
15803 /@mandir@/p
15804 ' $ac_file_inputs` in
9126 /@mandir@/p'
9127 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
158059128 *datarootdir*) ac_datarootdir_seen=yes;;
158069129 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
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
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
158119134 ac_datarootdir_hack='
158129135 s&@datadir@&$datadir&g
158139136 s&@docdir@&$docdir&g
158149137 s&@infodir@&$infodir&g
158159138 s&@localedir@&$localedir&g
158169139 s&@mandir@&$mandir&g
15817 s&\\\${datarootdir}&$datarootdir&g' ;;
9140 s&\\\${datarootdir}&$datarootdir&g' ;;
158189141 esac
158199142 _ACEOF
158209143
158219144 # Neutralize VPATH when `$srcdir' = `.'.
158229145 # Shell code in configure.ac might set extrasub.
158239146 # FIXME: do we really want to maintain this feature?
15824 cat >>$CONFIG_STATUS <<_ACEOF
15825 sed "$ac_vpsub
9147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9148 ac_sed_extra="$ac_vpsub
158269149 $extrasub
158279150 _ACEOF
15828 cat >>$CONFIG_STATUS <<\_ACEOF
9151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
158299152 :t
158309153 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15831 s&@configure_input@&$configure_input&;t t
9154 s|@configure_input@|$ac_sed_conf_input|;t t
158329155 s&@top_builddir@&$ac_top_builddir_sub&;t t
9156 s&@top_build_prefix@&$ac_top_build_prefix&;t t
158339157 s&@srcdir@&$ac_srcdir&;t t
158349158 s&@abs_srcdir@&$ac_abs_srcdir&;t t
158359159 s&@top_srcdir@&$ac_top_srcdir&;t t
158409164 s&@INSTALL@&$ac_INSTALL&;t t
158419165 s&@MKDIR_P@&$ac_MKDIR_P&;t t
158429166 $ac_datarootdir_hack
15843 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
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
158449170
158459171 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
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"
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"
158549181 case $ac_file in
15855 -) cat "$tmp/out"; rm -f "$tmp/out";;
15856 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
15857 esac
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
158589186 ;;
158599187 :H)
158609188 #
158619189 # CONFIG_HEADER
158629190 #
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
159419191 if test x"$ac_file" != x-; then
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;}
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;}
159479200 else
15948 rm -f $ac_file
15949 mv "$tmp/config.h" $ac_file
9201 rm -f "$ac_file"
9202 mv "$ac_tmp/config.h" "$ac_file" \
9203 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
159509204 fi
159519205 else
15952 echo "/* $configure_input */"
15953 cat "$ac_result"
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
159549209 fi
15955 rm -f "$tmp/out12"
15956 # Compute $ac_file's index in $config_headers.
9210 # Compute "$ac_file"'s index in $config_headers.
9211 _am_arg="$ac_file"
159579212 _am_stamp_count=1
159589213 for _am_header in $config_headers :; do
159599214 case $_am_header in
15960 $ac_file | $ac_file:* )
9215 $_am_arg | $_am_arg:* )
159619216 break ;;
159629217 * )
159639218 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
159649219 esac
159659220 done
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 |
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" |
159729227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
159739228 s//\1/
159749229 q
159889243 s/.*/./; q'`/stamp-h$_am_stamp_count
159899244 ;;
159909245
15991 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
15992 echo "$as_me: executing $ac_file commands" >&6;}
9246 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9247 $as_echo "$as_me: executing $ac_file commands" >&6;}
159939248 ;;
159949249 esac
159959250
159969251
159979252 case $ac_file$ac_mode in
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" ||
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" ||
160109275 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
160119276 X"$mf" : 'X\(//\)[^/]' \| \
160129277 X"$mf" : 'X\(//\)$' \| \
160139278 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16014 echo X"$mf" |
9279 $as_echo X"$mf" |
160159280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
160169281 s//\1/
160179282 q
160299294 q
160309295 }
160319296 s/.*/./; q'`
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" ||
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" ||
160549319 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
160559320 X"$file" : 'X\(//\)[^/]' \| \
160569321 X"$file" : 'X\(//\)$' \| \
160579322 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16058 echo X"$file" |
9323 $as_echo X"$file" |
160599324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
160609325 s//\1/
160619326 q
160739338 q
160749339 }
160759340 s/.*/./; q'`
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
9341 as_dir=$dirpart/$fdir; as_fn_mkdir_p
9342 # echo "creating $dirpart/$file"
9343 echo '# dummy' > "$dirpart/$file"
161129344 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"
161199345 done
16120 done
9346 }
161219347 ;;
161229348
161239349 esac
161249350 done # for ac_tag
161259351
161269352
16127 { (exit 0); exit 0; }
16128 _ACEOF
16129 chmod +x $CONFIG_STATUS
9353 as_fn_exit 0
9354 _ACEOF
161309355 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
161319359
161329360
161339361 # configure is writing to config.log, and then calls config.status.
161489376 exec 5>>config.log
161499377 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
161509378 # would make configure fail if this is the last instruction.
16151 $ac_cs_success || { (exit 1); exit 1; }
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;}
161529384 fi
161539385
161549386
00 @%:@! /bin/sh
1 @%:@ From configure.in Revision: 69 .
1 @%:@ From configure.in Revision: 88 .
22 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.61 for nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $.
3 @%:@ Generated by GNU Autoconf 2.68 for nfdump 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $.
44 @%:@
55 @%:@ Report bugs to <phaag@users.sourceforge.net>.
66 @%:@
7 @%:@
78 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 @%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 @%:@ Foundation, Inc.
11 @%:@
12 @%:@
913 @%:@ This configure script is free software; the Free Software Foundation
1014 @%:@ gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
1418
1519 # Be more Bourne compatible
1620 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1822 emulate sh
1923 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2125 # is contrary to our usage. Disable this feature.
2226 alias -g '${1+"$@"}'='"$@"'
2327 setopt NO_GLOB_SUBST
2428 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
29 case `(set -o) 2>/dev/null` in @%:@(
30 *posix*) :
31 set -o posix ;; @%:@(
32 *) :
33 ;;
2734 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
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
4175
4276 # The user is always right.
4377 if test "${PATH_SEPARATOR+set}" != set; then
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
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 }
6083 fi
6184
6285
6588 # there to prevent editors from complaining about space-tab.
6689 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6790 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
7091 IFS=" "" $as_nl"
7192
7293 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
94 as_myself=
95 case $0 in @%:@((
7496 *[\\/]* ) as_myself=$0 ;;
7597 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7698 for as_dir in $PATH
7799 do
78100 IFS=$as_save_IFS
79101 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
82104 IFS=$as_save_IFS
83105
84106 ;;
89111 as_myself=$0
90112 fi
91113 if test ! -f "$as_myself"; then
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
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 || :
99125 done
100126 PS1='$ '
101127 PS2='> '
102128 PS4='+ '
103129
104130 # NLS nuisances.
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
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
109189 do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
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
208 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."
112240 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
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."
114246 fi
115 done
116
117 # Required to use basename.
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
118386 if expr a : '\(a\)' >/dev/null 2>&1 &&
119387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120388 as_expr=expr
128396 as_basename=false
129397 fi
130398
131
132 # Name of the executable.
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
133405 as_me=`$as_basename -- "$0" ||
134406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135407 X"$0" : 'X\(//\)$' \| \
136408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
409 $as_echo X/"$0" |
138410 sed '/^.*\/\([^/][^/]*\)\/*$/{
139411 s//\1/
140412 q
149421 }
150422 s/.*/./; q'`
151423
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. :-)
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. :-)
440437 sed -n '
441438 p
442439 /[$]LINENO/=
453450 s/-\n.*//
454451 ' >$as_me.lineno &&
455452 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
458454
459455 # Don't try to exec as it changes $[0], causing all sort of problems
460456 # (the dirname of $[0] is not the place where we might find the
464460 exit
465461 }
466462
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
474463 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
464 case `echo -n x` in @%:@(((((
476465 -n*)
477 case `echo 'x\c'` in
466 case `echo 'xy\c'` in
478467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
468 xy) ECHO_C='\c';;
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
470 ECHO_T=' ';;
480471 esac;;
481472 *)
482473 ECHO_N='-n';;
483474 esac
484475
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
492476 rm -f conf$$ conf$$.exe conf$$.file
493477 if test -d conf$$.dir; then
494478 rm -f conf$$.dir/conf$$.file
495479 else
496480 rm -f conf$$.dir
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 ||
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
507495 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
496 fi
510497 else
511498 as_ln_s='cp -p'
512499 fi
514501 rmdir conf$$.dir 2>/dev/null
515502
516503 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
504 as_mkdir_p='mkdir -p "$as_dir"'
518505 else
519506 test -d ./-p && rmdir ./-p
520507 as_mkdir_p=false
531518 as_test_x='
532519 eval sh -c '\''
533520 if test -d "$1"; then
534 test -d "$1/.";
521 test -d "$1/.";
535522 else
536 case $1 in
537 -*)set "./$1";;
523 case $1 in @%:@(
524 -*)set "./$1";;
538525 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
540527 ???[sx]*):;;*)false;;esac;fi
541528 '\'' sh
542529 '
550537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551538
552539
553
554 exec 7<&0 </dev/null 6>&1
540 test -n "$DJDIR" || exec 7<&0 </dev/null
541 exec 6>&1
555542
556543 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
558545 # so uname gets run too.
559546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560547
569556 subdirs=
570557 MFLAGS=
571558 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
573559
574560 # Identity of this package.
575561 PACKAGE_NAME='nfdump'
576562 PACKAGE_TARNAME='nfdump'
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) $'
563 PACKAGE_VERSION='1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $'
564 PACKAGE_STRING='nfdump 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $'
579565 PACKAGE_BUGREPORT='phaag@users.sourceforge.net'
566 PACKAGE_URL=''
580567
581568 # Factoring default headers for most tests.
582569 ac_includes_default="\
616603
617604 ac_header_list=
618605 ac_func_list=
619 ac_subst_vars='SHELL
606 ac_subst_vars='am__EXEEXT_FALSE
607 am__EXEEXT_TRUE
608 LTLIBOBJS
609 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
620708 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
717 LIB@&t@OBJS
718 LTLIBOBJS'
709 SHELL'
719710 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 '
720725 ac_precious_vars='build_alias
721726 host_alias
722727 target_alias
733738 # Initialize some variables set by options.
734739 ac_init_help=
735740 ac_init_version=false
741 ac_unrecognized_opts=
742 ac_unrecognized_sep=
736743 # The variables have the same names as the options, with
737744 # dashes changed to underlines.
738745 cache_file=/dev/null
788795 fi
789796
790797 case $ac_option in
791 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
792 *) ac_optarg=yes ;;
798 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
799 *=) ac_optarg= ;;
800 *) ac_optarg=yes ;;
793801 esac
794802
795803 # Accept the important Cygnus configure options, so we can diagnose typos.
831839 datarootdir=$ac_optarg ;;
832840
833841 -disable-* | --disable-*)
834 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
842 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
835843 # Reject names that are not valid shell variable names.
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 ;;
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 ;;
841856
842857 -docdir | --docdir | --docdi | --doc | --do)
843858 ac_prev=docdir ;;
850865 dvidir=$ac_optarg ;;
851866
852867 -enable-* | --enable-*)
853 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
868 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
854869 # Reject names that are not valid shell variable names.
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 ;;
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 ;;
860882
861883 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
862884 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
10471069 ac_init_version=: ;;
10481070
10491071 -with-* | --with-*)
1050 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1072 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10511073 # Reject names that are not valid shell variable names.
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 ;;
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 ;;
10571086
10581087 -without-* | --without-*)
1059 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1088 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10601089 # Reject names that are not valid shell variable names.
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 ;;
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 ;;
10661102
10671103 --x)
10681104 # Obsolete; use --with-x.
10821118 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10831119 x_libraries=$ac_optarg ;;
10841120
1085 -*) { echo "$as_me: error: unrecognized option: $ac_option
1086 Try \`$0 --help' for more information." >&2
1087 { (exit 1); exit 1; }; }
1121 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1122 Try \`$0 --help' for more information"
10881123 ;;
10891124
10901125 *=*)
10911126 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10921127 # Reject names that are not valid shell variable names.
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; }; }
1128 case $ac_envvar in #(
1129 '' | [0-9]* | *[!_$as_cr_alnum]* )
1130 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1131 esac
10961132 eval $ac_envvar=\$ac_optarg
10971133 export $ac_envvar ;;
10981134
10991135 *)
11001136 # FIXME: should be removed in autoconf 3.0.
1101 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1137 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11021138 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1103 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
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}"
11051141 ;;
11061142
11071143 esac
11091145
11101146 if test -n "$ac_prev"; then
11111147 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
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.
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.
11171160 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
11181161 datadir sysconfdir sharedstatedir localstatedir includedir \
11191162 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11201163 libdir localedir mandir
11211164 do
11221165 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.
11231173 case $ac_val in
11241174 [\\/$]* | ?:[\\/]* ) continue;;
11251175 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11261176 esac
1127 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1128 { (exit 1); exit 1; }; }
1177 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
11291178 done
11301179
11311180 # There might be people who depend on the old broken behavior: `$host'
11391188 if test "x$host_alias" != x; then
11401189 if test "x$build_alias" = x; then
11411190 cross_compiling=maybe
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
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
11441193 elif test "x$build_alias" != "x$host_alias"; then
11451194 cross_compiling=yes
11461195 fi
11551204 ac_pwd=`pwd` && test -n "$ac_pwd" &&
11561205 ac_ls_di=`ls -di .` &&
11571206 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1158 { echo "$as_me: error: Working directory cannot be determined" >&2
1159 { (exit 1); exit 1; }; }
1207 as_fn_error $? "working directory cannot be determined"
11601208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1161 { echo "$as_me: error: pwd does not report name of working directory" >&2
1162 { (exit 1); exit 1; }; }
1209 as_fn_error $? "pwd does not report name of working directory"
11631210
11641211
11651212 # Find the source files, if location was not specified.
11661213 if test -z "$srcdir"; then
11671214 ac_srcdir_defaulted=yes
11681215 # Try the directory containing this script, then the parent directory.
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" |
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" |
11751222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11761223 s//\1/
11771224 q
11981245 fi
11991246 if test ! -r "$srcdir/$ac_unique_file"; then
12001247 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1201 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1202 { (exit 1); exit 1; }; }
1248 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
12031249 fi
12041250 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12051251 ac_abs_confdir=`(
1206 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1207 { (exit 1); exit 1; }; }
1252 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
12081253 pwd)`
12091254 # When building in place, set srcdir=.
12101255 if test "$ac_abs_confdir" = "$ac_pwd"; then
12301275 # Omit some internal or obsolete options to make the list less imposing.
12311276 # This message is too long to be a string in the A/UX 3.1 sh.
12321277 cat <<_ACEOF
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.
1278 \`configure' configures nfdump 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $ to adapt to many kinds of systems.
12341279
12351280 Usage: $0 [OPTION]... [VAR=VALUE]...
12361281
12441289 --help=short display options specific to this package
12451290 --help=recursive display the short help of all the included packages
12461291 -V, --version display version information and exit
1247 -q, --quiet, --silent do not print \`checking...' messages
1292 -q, --quiet, --silent do not print \`checking ...' messages
12481293 --cache-file=FILE cache test results in FILE [disabled]
12491294 -C, --config-cache alias for \`--cache-file=config.cache'
12501295 -n, --no-create do not create output files
12521297
12531298 Installation directories:
12541299 --prefix=PREFIX install architecture-independent files in PREFIX
1255 [$ac_default_prefix]
1300 @<:@@S|@ac_default_prefix@:>@
12561301 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1257 [PREFIX]
1302 @<:@PREFIX@:>@
12581303
12591304 By default, \`make install' will install all the files in
12601305 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
12641309 For better control, use the options below.
12651310
12661311 Fine tuning of the installation directories:
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]
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]
12861331 _ACEOF
12871332
12881333 cat <<\_ACEOF
12961341
12971342 if test -n "$ac_init_help"; then
12981343 case $ac_init_help in
1299 short | recursive ) echo "Configuration of nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $:";;
1344 short | recursive ) echo "Configuration of nfdump 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $:";;
13001345 esac
13011346 cat <<\_ACEOF
13021347
13031348 Optional Features:
1349 --disable-option-checking ignore unrecognized --enable/--with options
13041350 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
13051351 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
13061352 --disable-dependency-tracking speeds up one-time build
13261372 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
13271373 nonstandard directory <lib dir>
13281374 LIBS libraries to pass to the linker, e.g. -l<library>
1329 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1375 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
13301376 you have headers in a nonstandard directory <include dir>
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.
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.
13341381 This script will default YFLAGS to the empty string to avoid a
13351382 default value of `-d' given by some make applications.
13361383 CPP C preprocessor
13461393 if test "$ac_init_help" = "recursive"; then
13471394 # If there are subdirs, report their specific --help.
13481395 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1349 test -d "$ac_dir" || continue
1396 test -d "$ac_dir" ||
1397 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1398 continue
13501399 ac_builddir=.
13511400
13521401 case "$ac_dir" in
13531402 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13541403 *)
1355 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1404 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13561405 # A ".." for each directory in $ac_dir_suffix.
1357 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1406 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13581407 case $ac_top_builddir_sub in
13591408 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13601409 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13901439 echo &&
13911440 $SHELL "$ac_srcdir/configure" --help=recursive
13921441 else
1393 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1442 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
13941443 fi || ac_status=$?
13951444 cd "$ac_pwd" || { ac_status=$?; break; }
13961445 done
13991448 test -n "$ac_init_help" && exit $ac_status
14001449 if $ac_init_version; then
14011450 cat <<\_ACEOF
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.
1451 nfdump configure 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $
1452 generated by GNU Autoconf 2.68
1453
1454 Copyright (C) 2010 Free Software Foundation, Inc.
14071455 This configure script is free software; the Free Software Foundation
14081456 gives unlimited permission to copy, distribute and modify it.
14091457 _ACEOF
14101458 exit
14111459 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
14122105 cat >config.log <<_ACEOF
14132106 This file contains any messages produced by compilers while
14142107 running configure, to aid debugging if configure makes a mistake.
14152108
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
2109 It was created by nfdump $as_me 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $, which was
2110 generated by GNU Autoconf 2.68. Invocation command line was
14182111
14192112 $ $0 $@
14202113
14222115 exec 5>>config.log
14232116 {
14242117 cat <<_ASUNAME
1425 @%:@@%:@ --------- @%:@@%:@
1426 @%:@@%:@ Platform. @%:@@%:@
1427 @%:@@%:@ --------- @%:@@%:@
2118 ## --------- ##
2119 ## Platform. ##
2120 ## --------- ##
14282121
14292122 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
14302123 uname -m = `(uname -m) 2>/dev/null || echo unknown`
14502143 do
14512144 IFS=$as_save_IFS
14522145 test -z "$as_dir" && as_dir=.
1453 echo "PATH: $as_dir"
1454 done
2146 $as_echo "PATH: $as_dir"
2147 done
14552148 IFS=$as_save_IFS
14562149
14572150 } >&5
14592152 cat >&5 <<_ACEOF
14602153
14612154
1462 @%:@@%:@ ----------- @%:@@%:@
1463 @%:@@%:@ Core tests. @%:@@%:@
1464 @%:@@%:@ ----------- @%:@@%:@
2155 ## ----------- ##
2156 ## Core tests. ##
2157 ## ----------- ##
14652158
14662159 _ACEOF
14672160
14852178 | -silent | --silent | --silen | --sile | --sil)
14862179 continue ;;
14872180 *\'*)
1488 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2181 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14892182 esac
14902183 case $ac_pass in
1491 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2184 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
14922185 2)
1493 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2186 as_fn_append ac_configure_args1 " '$ac_arg'"
14942187 if test $ac_must_keep_next = true; then
14952188 ac_must_keep_next=false # Got value, back to normal.
14962189 else
15062199 -* ) ac_must_keep_next=true ;;
15072200 esac
15082201 fi
1509 ac_configure_args="$ac_configure_args '$ac_arg'"
2202 as_fn_append ac_configure_args " '$ac_arg'"
15102203 ;;
15112204 esac
15122205 done
15132206 done
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; }
2207 { ac_configure_args0=; unset ac_configure_args0;}
2208 { ac_configure_args1=; unset ac_configure_args1;}
15162209
15172210 # When interrupted or exit'd, cleanup temporary files, and complete
15182211 # config.log. We remove comments because anyway the quotes in there
15242217 {
15252218 echo
15262219
1527 cat <<\_ASBOX
1528 @%:@@%:@ ---------------- @%:@@%:@
1529 @%:@@%:@ Cache variables. @%:@@%:@
1530 @%:@@%:@ ---------------- @%:@@%:@
1531 _ASBOX
2220 $as_echo "## ---------------- ##
2221 ## Cache variables. ##
2222 ## ---------------- ##"
15322223 echo
15332224 # The following way of writing the cache mishandles newlines in values,
15342225 (
15372228 case $ac_val in #(
15382229 *${as_nl}*)
15392230 case $ac_var in #(
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;} ;;
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;} ;;
15422233 esac
15432234 case $ac_var in #(
15442235 _ | IFS | as_nl) ;; #(
1545 *) $as_unset $ac_var ;;
2236 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2237 *) { eval $ac_var=; unset $ac_var;} ;;
15462238 esac ;;
15472239 esac
15482240 done
15612253 )
15622254 echo
15632255
1564 cat <<\_ASBOX
1565 @%:@@%:@ ----------------- @%:@@%:@
1566 @%:@@%:@ Output variables. @%:@@%:@
1567 @%:@@%:@ ----------------- @%:@@%:@
1568 _ASBOX
2256 $as_echo "## ----------------- ##
2257 ## Output variables. ##
2258 ## ----------------- ##"
15692259 echo
15702260 for ac_var in $ac_subst_vars
15712261 do
15722262 eval ac_val=\$$ac_var
15732263 case $ac_val in
1574 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2264 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15752265 esac
1576 echo "$ac_var='\''$ac_val'\''"
2266 $as_echo "$ac_var='\''$ac_val'\''"
15772267 done | sort
15782268 echo
15792269
15802270 if test -n "$ac_subst_files"; then
1581 cat <<\_ASBOX
1582 @%:@@%:@ ------------------- @%:@@%:@
1583 @%:@@%:@ File substitutions. @%:@@%:@
1584 @%:@@%:@ ------------------- @%:@@%:@
1585 _ASBOX
2271 $as_echo "## ------------------- ##
2272 ## File substitutions. ##
2273 ## ------------------- ##"
15862274 echo
15872275 for ac_var in $ac_subst_files
15882276 do
15892277 eval ac_val=\$$ac_var
15902278 case $ac_val in
1591 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2279 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15922280 esac
1593 echo "$ac_var='\''$ac_val'\''"
2281 $as_echo "$ac_var='\''$ac_val'\''"
15942282 done | sort
15952283 echo
15962284 fi
15972285
15982286 if test -s confdefs.h; then
1599 cat <<\_ASBOX
1600 @%:@@%:@ ----------- @%:@@%:@
1601 @%:@@%:@ confdefs.h. @%:@@%:@
1602 @%:@@%:@ ----------- @%:@@%:@
1603 _ASBOX
2287 $as_echo "## ----------- ##
2288 ## confdefs.h. ##
2289 ## ----------- ##"
16042290 echo
16052291 cat confdefs.h
16062292 echo
16072293 fi
16082294 test "$ac_signal" != 0 &&
1609 echo "$as_me: caught signal $ac_signal"
1610 echo "$as_me: exit $exit_status"
2295 $as_echo "$as_me: caught signal $ac_signal"
2296 $as_echo "$as_me: exit $exit_status"
16112297 } >&5
16122298 rm -f core *.core core.conftest.* &&
16132299 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
16142300 exit $exit_status
16152301 ' 0
16162302 for ac_signal in 1 2 13 15; do
1617 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2303 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
16182304 done
16192305 ac_signal=0
16202306
16212307 # confdefs.h avoids OS command line length limits that DEFS can exceed.
16222308 rm -f -r conftest* confdefs.h
16232309
2310 $as_echo "/* confdefs.h */" > confdefs.h
2311
16242312 # Predefined preprocessor variables.
16252313
16262314 cat >>confdefs.h <<_ACEOF
16272315 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
16282316 _ACEOF
16292317
1630
16312318 cat >>confdefs.h <<_ACEOF
16322319 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
16332320 _ACEOF
16342321
1635
16362322 cat >>confdefs.h <<_ACEOF
16372323 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
16382324 _ACEOF
16392325
1640
16412326 cat >>confdefs.h <<_ACEOF
16422327 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
16432328 _ACEOF
16442329
1645
16462330 cat >>confdefs.h <<_ACEOF
16472331 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
16482332 _ACEOF
16492333
2334 cat >>confdefs.h <<_ACEOF
2335 @%:@define PACKAGE_URL "$PACKAGE_URL"
2336 _ACEOF
2337
16502338
16512339 # Let the site file select an alternate cache file if it wants to.
1652 # Prefer explicitly selected file to automatically selected ones.
2340 # Prefer an explicitly selected file to automatically selected ones.
2341 ac_site_file1=NONE
2342 ac_site_file2=NONE
16532343 if test -n "$CONFIG_SITE"; then
1654 set x "$CONFIG_SITE"
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
16552350 elif test "x$prefix" != xNONE; then
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
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"
16632358 do
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;}
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;}
16672363 sed 's/^/| /' "$ac_site_file" >&5
1668 . "$ac_site_file"
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; }
16692369 fi
16702370 done
16712371
16722372 if test -r "$cache_file"; then
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;}
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;}
16782378 case $cache_file in
16792379 [\\/]* | ?:[\\/]* ) . "$cache_file";;
16802380 *) . "./$cache_file";;
16812381 esac
16822382 fi
16832383 else
1684 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1685 echo "$as_me: creating cache $cache_file" >&6;}
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2385 $as_echo "$as_me: creating cache $cache_file" >&6;}
16862386 >$cache_file
16872387 fi
16882388
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"
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"
16922392 # Check that the precious variables saved in the cache have kept the same
16932393 # value.
16942394 ac_cache_corrupted=false
16992399 eval ac_new_val=\$ac_env_${ac_var}_value
17002400 case $ac_old_set,$ac_new_set in
17012401 set,)
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;}
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;}
17042404 ac_cache_corrupted=: ;;
17052405 ,set)
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;}
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;}
17082408 ac_cache_corrupted=: ;;
17092409 ,);;
17102410 *)
17112411 if test "x$ac_old_val" != "x$ac_new_val"; then
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=:
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;}
17192428 fi;;
17202429 esac
17212430 # Pass precious variables to config.status.
17222431 if test "$ac_new_set" = set; then
17232432 case $ac_new_val in
1724 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2433 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
17252434 *) ac_arg=$ac_var=$ac_new_val ;;
17262435 esac
17272436 case " $ac_configure_args " in
17282437 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1729 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2438 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
17302439 esac
17312440 fi
17322441 done
17332442 if $ac_cache_corrupted; then
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
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 ## -------------------- ##
17642452
17652453 ac_ext=c
17662454 ac_cpp='$CPP $CPPFLAGS'
17722460 #AC_CONFIG_SRCDIR([grammar.y])
17732461 ac_config_headers="$ac_config_headers config.h"
17742462
1775 am__api_version='1.10'
2463 am__api_version='1.11'
17762464
17772465 ac_aux_dir=
17782466 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
17912479 fi
17922480 done
17932481 if test -z "$ac_aux_dir"; then
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; }; }
2482 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
17972483 fi
17982484
17992485 # These three variables are undocumented and unsupported,
18182504 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
18192505 # OS/2's system install, which has a completely different semantic
18202506 # ./install, which can be erroneously created by make from ./install.sh.
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; }
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; }
18232510 if test -z "$INSTALL"; then
1824 if test "${ac_cv_path_install+set}" = set; then
1825 echo $ECHO_N "(cached) $ECHO_C" >&6
2511 if ${ac_cv_path_install+:} false; then :
2512 $as_echo_n "(cached) " >&6
18262513 else
18272514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18282515 for as_dir in $PATH
18292516 do
18302517 IFS=$as_save_IFS
18312518 test -z "$as_dir" && as_dir=.
1832 # Account for people who put trailing slashes in PATH elements.
1833 case $as_dir/ in
1834 ./ | .// | /cC/* | \
2519 # Account for people who put trailing slashes in PATH elements.
2520 case $as_dir/ in @%:@((
2521 ./ | .// | /[cC]/* | \
18352522 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1836 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2523 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
18372524 /usr/ucb/* ) ;;
18382525 *)
18392526 # OSF1 and SCO ODT 3.0 have their own names for install.
18512538 # program-specific install script used by HP pwplus--don't use.
18522539 :
18532540 else
1854 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1855 break 3
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
18562553 fi
18572554 fi
18582555 done
18592556 done
18602557 ;;
18612558 esac
1862 done
2559
2560 done
18632561 IFS=$as_save_IFS
18642562
2563 rm -rf conftest.one conftest.two conftest.dir
18652564
18662565 fi
18672566 if test "${ac_cv_path_install+set}" = set; then
18742573 INSTALL=$ac_install_sh
18752574 fi
18762575 fi
1877 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1878 echo "${ECHO_T}$INSTALL" >&6; }
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2577 $as_echo "$INSTALL" >&6; }
18792578
18802579 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18812580 # It thinks the first close brace ends the variable substitution.
18852584
18862585 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
18872586
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; }
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; }
18902589 # Just in case
18912590 sleep 1
18922591 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
18932605 # Do `set' in a subshell so we don't clobber the current shell's
18942606 # arguments. Must try -L first in case configure is actually a
18952607 # symlink; some systems play weird games with the mod time of symlinks
18962608 # (eg FreeBSD returns the mod time of the symlink's containing
18972609 # directory).
18982610 if (
1899 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2611 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
19002612 if test "$*" = "X"; then
19012613 # -L didn't work.
1902 set X `ls -t $srcdir/configure conftest.file`
2614 set X `ls -t "$srcdir/configure" conftest.file`
19032615 fi
19042616 rm -f conftest.file
19052617 if test "$*" != "X $srcdir/configure conftest.file" \
19092621 # if, for instance, CONFIG_SHELL is bash and it inherits a
19102622 # broken ls alias from the environment. This has actually
19112623 # happened. Such a system could not be considered "sane".
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; }; }
2624 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2625 alias in your environment" "$LINENO" 5
19172626 fi
19182627
19192628 test "$2" = conftest.file
19222631 # Ok.
19232632 :
19242633 else
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; }
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; }
19332639 test "$program_prefix" != NONE &&
19342640 program_transform_name="s&^&$program_prefix&;$program_transform_name"
19352641 # Use a double $ so make ignores it.
19362642 test "$program_suffix" != NONE &&
19372643 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1938 # Double any \ or $. echo might interpret backslashes.
2644 # Double any \ or $.
19392645 # By default was `s,x,x', remove it if useless.
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
2646 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2647 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
19452648
19462649 # expand $ac_aux_dir to an absolute path
19472650 am_aux_dir=`cd $ac_aux_dir && pwd`
19482651
1949 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
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
19502660 # Use eval to expand $SHELL
19512661 if eval "$MISSING --run true"; then
19522662 am_missing_run="$MISSING --run "
19532663 else
19542664 am_missing_run=
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; }
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; }
19612780 if test -z "$MKDIR_P"; then
1962 if test "${ac_cv_path_mkdir+set}" = set; then
1963 echo $ECHO_N "(cached) $ECHO_C" >&6
2781 if ${ac_cv_path_mkdir+:} false; then :
2782 $as_echo_n "(cached) " >&6
19642783 else
19652784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19662785 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
19672786 do
19682787 IFS=$as_save_IFS
19692788 test -z "$as_dir" && as_dir=.
1970 for ac_prog in mkdir gmkdir; do
2789 for ac_prog in mkdir gmkdir; do
19712790 for ac_exec_ext in '' $ac_executable_extensions; do
19722791 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
19732792 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
19792798 esac
19802799 done
19812800 done
1982 done
2801 done
19832802 IFS=$as_save_IFS
19842803
19852804 fi
19862805
2806 test -d ./--version && rmdir ./--version
19872807 if test "${ac_cv_path_mkdir+set}" = set; then
19882808 MKDIR_P="$ac_cv_path_mkdir -p"
19892809 else
19912811 # value for MKDIR_P within a source directory, because that will
19922812 # break other packages using the cache if that directory is
19932813 # removed, or if the value is a relative name.
1994 test -d ./--version && rmdir ./--version
19952814 MKDIR_P="$ac_install_sh -d"
19962815 fi
19972816 fi
1998 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1999 echo "${ECHO_T}$MKDIR_P" >&6; }
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2818 $as_echo "$MKDIR_P" >&6; }
20002819
20012820 mkdir_p="$MKDIR_P"
20022821 case $mkdir_p in
20082827 do
20092828 # Extract the first word of "$ac_prog", so it can be a program name with args.
20102829 set dummy $ac_prog; ac_word=$2
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
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
20152834 else
20162835 if test -n "$AWK"; then
20172836 ac_cv_prog_AWK="$AWK" # Let the user override the test.
20212840 do
20222841 IFS=$as_save_IFS
20232842 test -z "$as_dir" && as_dir=.
2024 for ac_exec_ext in '' $ac_executable_extensions; do
2843 for ac_exec_ext in '' $ac_executable_extensions; do
20252844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20262845 ac_cv_prog_AWK="$ac_prog"
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20282847 break 2
20292848 fi
20302849 done
2031 done
2850 done
20322851 IFS=$as_save_IFS
20332852
20342853 fi
20352854 fi
20362855 AWK=$ac_cv_prog_AWK
20372856 if test -n "$AWK"; then
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; }
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; }
20432862 fi
20442863
20452864
20462865 test -n "$AWK" && break
20472866 done
20482867
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
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
20542874 else
20552875 cat >conftest.make <<\_ACEOF
20562876 SHELL = /bin/sh
20572877 all:
20582878 @echo '@@@%%%=$(MAKE)=@@@%%%'
20592879 _ACEOF
2060 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2880 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
20612881 case `${MAKE-make} -f conftest.make 2>/dev/null` in
20622882 *@@@%%%=?*=@@@%%%*)
20632883 eval ac_cv_prog_make_${ac_make}_set=yes;;
20672887 rm -f conftest.make
20682888 fi
20692889 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2070 { echo "$as_me:$LINENO: result: yes" >&5
2071 echo "${ECHO_T}yes" >&6; }
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2891 $as_echo "yes" >&6; }
20722892 SET_MAKE=
20732893 else
2074 { echo "$as_me:$LINENO: result: no" >&5
2075 echo "${ECHO_T}no" >&6; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
20762896 SET_MAKE="MAKE=${MAKE-make}"
20772897 fi
20782898
20912911 am__isrc=' -I$(srcdir)'
20922912 # test to see if srcdir already configured
20932913 if test -f $srcdir/config.status; then
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; }; }
2914 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
20972915 fi
20982916 fi
20992917
21092927
21102928 # Define the identity of the package.
21112929 PACKAGE='nfdump'
2112 VERSION='1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $'
2930 VERSION='1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $'
21132931
21142932
21152933 cat >>confdefs.h <<_ACEOF
21362954
21372955
21382956 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"
22452957
22462958 # We need awk for the "check" target. The system "awk" is bad on
22472959 # some platforms.
22652977 if test -n "$ac_tool_prefix"; then
22662978 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
22672979 set dummy ${ac_tool_prefix}gcc; ac_word=$2
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
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
22722984 else
22732985 if test -n "$CC"; then
22742986 ac_cv_prog_CC="$CC" # Let the user override the test.
22782990 do
22792991 IFS=$as_save_IFS
22802992 test -z "$as_dir" && as_dir=.
2281 for ac_exec_ext in '' $ac_executable_extensions; do
2993 for ac_exec_ext in '' $ac_executable_extensions; do
22822994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22832995 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22852997 break 2
22862998 fi
22872999 done
2288 done
3000 done
22893001 IFS=$as_save_IFS
22903002
22913003 fi
22923004 fi
22933005 CC=$ac_cv_prog_CC
22943006 if test -n "$CC"; then
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; }
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; }
23003012 fi
23013013
23023014
23053017 ac_ct_CC=$CC
23063018 # Extract the first word of "gcc", so it can be a program name with args.
23073019 set dummy gcc; ac_word=$2
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
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
23123024 else
23133025 if test -n "$ac_ct_CC"; then
23143026 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
23183030 do
23193031 IFS=$as_save_IFS
23203032 test -z "$as_dir" && as_dir=.
2321 for ac_exec_ext in '' $ac_executable_extensions; do
3033 for ac_exec_ext in '' $ac_executable_extensions; do
23223034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23233035 ac_cv_prog_ac_ct_CC="gcc"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23253037 break 2
23263038 fi
23273039 done
2328 done
3040 done
23293041 IFS=$as_save_IFS
23303042
23313043 fi
23323044 fi
23333045 ac_ct_CC=$ac_cv_prog_ac_ct_CC
23343046 if test -n "$ac_ct_CC"; then
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; }
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; }
23403052 fi
23413053
23423054 if test "x$ac_ct_CC" = x; then
23443056 else
23453057 case $cross_compiling:$ac_tool_warned in
23463058 yes:)
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;}
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;}
23533061 ac_tool_warned=yes ;;
23543062 esac
23553063 CC=$ac_ct_CC
23623070 if test -n "$ac_tool_prefix"; then
23633071 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
23643072 set dummy ${ac_tool_prefix}cc; ac_word=$2
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
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
23693077 else
23703078 if test -n "$CC"; then
23713079 ac_cv_prog_CC="$CC" # Let the user override the test.
23753083 do
23763084 IFS=$as_save_IFS
23773085 test -z "$as_dir" && as_dir=.
2378 for ac_exec_ext in '' $ac_executable_extensions; do
3086 for ac_exec_ext in '' $ac_executable_extensions; do
23793087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23803088 ac_cv_prog_CC="${ac_tool_prefix}cc"
2381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23823090 break 2
23833091 fi
23843092 done
2385 done
3093 done
23863094 IFS=$as_save_IFS
23873095
23883096 fi
23893097 fi
23903098 CC=$ac_cv_prog_CC
23913099 if test -n "$CC"; then
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; }
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; }
23973105 fi
23983106
23993107
24023110 if test -z "$CC"; then
24033111 # Extract the first word of "cc", so it can be a program name with args.
24043112 set dummy cc; ac_word=$2
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
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
24093117 else
24103118 if test -n "$CC"; then
24113119 ac_cv_prog_CC="$CC" # Let the user override the test.
24163124 do
24173125 IFS=$as_save_IFS
24183126 test -z "$as_dir" && as_dir=.
2419 for ac_exec_ext in '' $ac_executable_extensions; do
3127 for ac_exec_ext in '' $ac_executable_extensions; do
24203128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24213129 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
24223130 ac_prog_rejected=yes
24233131 continue
24243132 fi
24253133 ac_cv_prog_CC="cc"
2426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24273135 break 2
24283136 fi
24293137 done
2430 done
3138 done
24313139 IFS=$as_save_IFS
24323140
24333141 if test $ac_prog_rejected = yes; then
24463154 fi
24473155 CC=$ac_cv_prog_CC
24483156 if test -n "$CC"; then
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; }
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; }
24543162 fi
24553163
24563164
24613169 do
24623170 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
24633171 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
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
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
24683176 else
24693177 if test -n "$CC"; then
24703178 ac_cv_prog_CC="$CC" # Let the user override the test.
24743182 do
24753183 IFS=$as_save_IFS
24763184 test -z "$as_dir" && as_dir=.
2477 for ac_exec_ext in '' $ac_executable_extensions; do
3185 for ac_exec_ext in '' $ac_executable_extensions; do
24783186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24793187 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24813189 break 2
24823190 fi
24833191 done
2484 done
3192 done
24853193 IFS=$as_save_IFS
24863194
24873195 fi
24883196 fi
24893197 CC=$ac_cv_prog_CC
24903198 if test -n "$CC"; then
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; }
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; }
24963204 fi
24973205
24983206
25053213 do
25063214 # Extract the first word of "$ac_prog", so it can be a program name with args.
25073215 set dummy $ac_prog; ac_word=$2
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
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
25123220 else
25133221 if test -n "$ac_ct_CC"; then
25143222 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
25183226 do
25193227 IFS=$as_save_IFS
25203228 test -z "$as_dir" && as_dir=.
2521 for ac_exec_ext in '' $ac_executable_extensions; do
3229 for ac_exec_ext in '' $ac_executable_extensions; do
25223230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25233231 ac_cv_prog_ac_ct_CC="$ac_prog"
2524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25253233 break 2
25263234 fi
25273235 done
2528 done
3236 done
25293237 IFS=$as_save_IFS
25303238
25313239 fi
25323240 fi
25333241 ac_ct_CC=$ac_cv_prog_ac_ct_CC
25343242 if test -n "$ac_ct_CC"; then
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; }
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; }
25403248 fi
25413249
25423250
25483256 else
25493257 case $cross_compiling:$ac_tool_warned in
25503258 yes:)
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;}
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;}
25573261 ac_tool_warned=yes ;;
25583262 esac
25593263 CC=$ac_ct_CC
25633267 fi
25643268
25653269
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; }; }
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; }
25713274
25723275 # Provide some information about the compiler.
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"
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"
25763281 case "(($ac_try" in
25773282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25783283 *) ac_try_echo=$ac_try;;
25793284 esac
2580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2581 (eval "$ac_compiler --version >&5") 2>&5
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
25823288 ac_status=$?
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }
2585 { (ac_try="$ac_compiler -v >&5"
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
3301 /* end confdefs.h. */
3302
3303 int
3304 main ()
3305 {
3306
3307 ;
3308 return 0;
3309 }
3310 _ACEOF
3311 ac_clean_files_save=$ac_clean_files
3312 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3313 # Try to create an executable without -o first, disregard a.out.
3314 # It will help us diagnose broken compilers, and finding out an intuition
3315 # 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
3323 ac_rmfiles=
3324 for ac_file in $ac_files
3325 do
3326 case $ac_file in
3327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3328 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3329 esac
3330 done
3331 rm -f $ac_rmfiles
3332
3333 if { { ac_try="$ac_link_default"
25863334 case "(($ac_try" in
25873335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25883336 *) ac_try_echo=$ac_try;;
25893337 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
2611 /* end confdefs.h. */
2612
2613 int
2614 main ()
2615 {
2616
2617 ;
2618 return 0;
2619 }
2620 _ACEOF
2621 ac_clean_files_save=$ac_clean_files
2622 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2623 # Try to create an executable without -o first, disregard a.out.
2624 # It will help us diagnose broken compilers, and finding out an intuition
2625 # of exeext.
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.
2638 ac_rmfiles=
2639 for ac_file in $ac_files
2640 do
2641 case $ac_file in
2642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2643 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2644 esac
2645 done
2646 rm -f $ac_rmfiles
2647
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
3338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339 $as_echo "$ac_try_echo"; } >&5
26543340 (eval "$ac_link_default") 2>&5
26553341 ac_status=$?
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }; then
3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343 test $ac_status = 0; }; then :
26583344 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
26593345 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
26603346 # in a Makefile. We should not override ac_cv_exeext if it was cached,
26643350 do
26653351 test -f "$ac_file" || continue
26663352 case $ac_file in
2667 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
26683354 ;;
26693355 [ab].out )
26703356 # We found the default executable, but exeext='' is most
26713357 # certainly right.
26723358 break;;
26733359 *.* )
2674 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3360 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
26753361 then :; else
26763362 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
26773363 fi
26903376 else
26913377 ac_file=''
26923378 fi
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
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
26983383 sed 's/^/| /' conftest.$ac_ext >&5
26993384
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
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; }
27073397 ac_exeext=$ac_cv_exeext
27083398
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
3399 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
27453400 ac_clean_files=$ac_clean_files_save
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"
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"
27563404 case "(($ac_try" in
27573405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27583406 *) ac_try_echo=$ac_try;;
27593407 esac
2760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3409 $as_echo "$ac_try_echo"; } >&5
27613410 (eval "$ac_link") 2>&5
27623411 ac_status=$?
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }; then
3412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3413 test $ac_status = 0; }; then :
27653414 # If both `conftest.exe' and `conftest' are `present' (well, observable)
27663415 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
27673416 # work properly (i.e., refer to `conftest.exe'), while it won't with
27693418 for ac_file in conftest.exe conftest conftest.*; do
27703419 test -f "$ac_file" || continue
27713420 case $ac_file in
2772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
27733422 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
27743423 break;;
27753424 * ) break;;
27763425 esac
27773426 done
27783427 else
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; }
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; }
27893436
27903437 rm -f conftest.$ac_ext
27913438 EXEEXT=$ac_cv_exeext
27923439 ac_exeext=$EXEEXT
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
3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28033441 /* end confdefs.h. */
2804
3442 @%:@include <stdio.h>
28053443 int
28063444 main ()
28073445 {
3446 FILE *f = fopen ("conftest.out", "w");
3447 return ferror (f) || fclose (f) != 0;
28083448
28093449 ;
28103450 return 0;
28113451 }
28123452 _ACEOF
2813 rm -f conftest.o conftest.obj
2814 if { (ac_try="$ac_compile"
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"
28153460 case "(($ac_try" in
28163461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28173462 *) ac_try_echo=$ac_try;;
28183463 esac
2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
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
3515 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
28203523 (eval "$ac_compile") 2>&5
28213524 ac_status=$?
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; then
3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526 test $ac_status = 0; }; then :
28243527 for ac_file in conftest.o conftest.obj conftest.*; do
28253528 test -f "$ac_file" || continue;
28263529 case $ac_file in
2827 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
28283531 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
28293532 break;;
28303533 esac
28313534 done
28323535 else
2833 echo "$as_me: failed program was:" >&5
3536 $as_echo "$as_me: failed program was:" >&5
28343537 sed 's/^/| /' conftest.$ac_ext >&5
28353538
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
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
28433544 rm -f conftest.$ac_cv_objext conftest.$ac_ext
28443545 fi
2845 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2846 echo "${ECHO_T}$ac_cv_objext" >&6; }
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3547 $as_echo "$ac_cv_objext" >&6; }
28473548 OBJEXT=$ac_cv_objext
28483549 ac_objext=$OBJEXT
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
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
28593556 /* end confdefs.h. */
28603557
28613558 int
28693566 return 0;
28703567 }
28713568 _ACEOF
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
3569 if ac_fn_c_try_compile "$LINENO"; then :
28893570 ac_compiler_gnu=yes
28903571 else
2891 echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2893
2894 ac_compiler_gnu=no
2895 fi
2896
3572 ac_compiler_gnu=no
3573 fi
28973574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28983575 ac_cv_c_compiler_gnu=$ac_compiler_gnu
28993576
29003577 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`
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
29043585 ac_test_CFLAGS=${CFLAGS+set}
29053586 ac_save_CFLAGS=$CFLAGS
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
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
29103591 else
29113592 ac_save_c_werror_flag=$ac_c_werror_flag
29123593 ac_c_werror_flag=yes
29133594 ac_cv_prog_cc_g=no
29143595 CFLAGS="-g"
2915 cat >conftest.$ac_ext <<_ACEOF
2916 /* confdefs.h. */
2917 _ACEOF
2918 cat confdefs.h >>conftest.$ac_ext
2919 cat >>conftest.$ac_ext <<_ACEOF
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29203597 /* end confdefs.h. */
29213598
29223599 int
29273604 return 0;
29283605 }
29293606 _ACEOF
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
3607 if ac_fn_c_try_compile "$LINENO"; then :
29473608 ac_cv_prog_cc_g=yes
29483609 else
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
3610 CFLAGS=""
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29583612 /* end confdefs.h. */
29593613
29603614 int
29653619 return 0;
29663620 }
29673621 _ACEOF
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
3622 if ac_fn_c_try_compile "$LINENO"; then :
3623
3624 else
3625 ac_c_werror_flag=$ac_save_c_werror_flag
29913626 CFLAGS="-g"
2992 cat >conftest.$ac_ext <<_ACEOF
2993 /* confdefs.h. */
2994 _ACEOF
2995 cat confdefs.h >>conftest.$ac_ext
2996 cat >>conftest.$ac_ext <<_ACEOF
3627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29973628 /* end confdefs.h. */
29983629
29993630 int
30043635 return 0;
30053636 }
30063637 _ACEOF
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
3638 if ac_fn_c_try_compile "$LINENO"; then :
30243639 ac_cv_prog_cc_g=yes
3025 else
3026 echo "$as_me: failed program was:" >&5
3027 sed 's/^/| /' conftest.$ac_ext >&5
3028
3029
3030 fi
3031
3640 fi
30323641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30333642 fi
3034
30353643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30363644 fi
3037
30383645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30393646 ac_c_werror_flag=$ac_save_c_werror_flag
30403647 fi
3041 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3042 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3649 $as_echo "$ac_cv_prog_cc_g" >&6; }
30433650 if test "$ac_test_CFLAGS" = set; then
30443651 CFLAGS=$ac_save_CFLAGS
30453652 elif test $ac_cv_prog_cc_g = yes; then
30553662 CFLAGS=
30563663 fi
30573664 fi
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
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
30623669 else
30633670 ac_cv_prog_cc_c89=no
30643671 ac_save_CC=$CC
3065 cat >conftest.$ac_ext <<_ACEOF
3066 /* confdefs.h. */
3067 _ACEOF
3068 cat confdefs.h >>conftest.$ac_ext
3069 cat >>conftest.$ac_ext <<_ACEOF
3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30703673 /* end confdefs.h. */
30713674 #include <stdarg.h>
30723675 #include <stdio.h>
31233726 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
31243727 do
31253728 CC="$ac_save_CC $ac_arg"
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
3729 if ac_fn_c_try_compile "$LINENO"; then :
31433730 ac_cv_prog_cc_c89=$ac_arg
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
3731 fi
3732 rm -f core conftest.err conftest.$ac_objext
31523733 test "x$ac_cv_prog_cc_c89" != "xno" && break
31533734 done
31543735 rm -f conftest.$ac_ext
31583739 # AC_CACHE_VAL
31593740 case "x$ac_cv_prog_cc_c89" in
31603741 x)
3161 { echo "$as_me:$LINENO: result: none needed" >&5
3162 echo "${ECHO_T}none needed" >&6; } ;;
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3743 $as_echo "none needed" >&6; } ;;
31633744 xno)
3164 { echo "$as_me:$LINENO: result: unsupported" >&5
3165 echo "${ECHO_T}unsupported" >&6; } ;;
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3746 $as_echo "unsupported" >&6; } ;;
31663747 *)
31673748 CC="$CC $ac_cv_prog_cc_c89"
3168 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3169 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3750 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
31703751 esac
3171
3752 if test "x$ac_cv_prog_cc_c89" != xno; then :
3753
3754 fi
31723755
31733756 ac_ext=c
31743757 ac_cpp='$CPP $CPPFLAGS'
31833766 am_make=${MAKE-make}
31843767 cat > confinc << 'END'
31853768 am__doit:
3186 @echo done
3769 @echo this is the am__doit target
31873770 .PHONY: am__doit
31883771 END
31893772 # If we don't find an include directive, just comment out the code.
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; }
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; }
31923775 am__include="#"
31933776 am__quote=
31943777 _am_result=none
31953778 # First try GNU make style include.
31963779 echo "include confinc" > confmf
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
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
32073788 # Now try BSD make style include.
32083789 if test "$am__include" = "#"; then
32093790 echo '.include "confinc"' > confmf
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; }
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; }
32203803 rm -f confinc confmf
32213804
3222 # Check whether --enable-dependency-tracking was given.
3223 if test "${enable_dependency_tracking+set}" = set; then
3805 @%:@ Check whether --enable-dependency-tracking was given.
3806 if test "${enable_dependency_tracking+set}" = set; then :
32243807 enableval=$enable_dependency_tracking;
32253808 fi
32263809
32403823
32413824 depcc="$CC" am_compiler_list=
32423825
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
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
32473830 else
32483831 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
32493832 # We make a subdir and do the tests there. Otherwise we can end up
32683851 if test "$am_compiler_list" = ""; then
32693852 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
32703853 fi
3854 am__universal=false
3855 case " $depcc " in #(
3856 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3857 esac
3858
32713859 for depmode in $am_compiler_list; do
32723860 # Setup a source with many dependencies, because some compilers
32733861 # like to wrap large dependency lists on column 80 (with \), and
32853873 done
32863874 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
32873875
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"
32883882 case $depmode in
3883 gcc)
3884 # This depmode causes a compiler race in universal mode.
3885 test "$am__universal" = false || continue
3886 ;;
32893887 nosideeffect)
32903888 # after this tag, mechanisms are not by side-effect, so they'll
32913889 # only be used when explicitly requested
32953893 break
32963894 fi
32973895 ;;
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 ;;
32983903 none) break ;;
32993904 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.
33033905 if depmode=$depmode \
3304 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3906 source=sub/conftest.c object=$am__obj \
33053907 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3306 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3908 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
33073909 >/dev/null 2>conftest.err &&
33083910 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
33093911 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3310 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3912 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
33113913 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
33123914 # icc doesn't choke on unknown options, it will just issue warnings
33133915 # or remarks (even with -Werror). So we grep stderr for any message
33313933 fi
33323934
33333935 fi
3334 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3335 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
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; }
33363938 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
33373939
33383940 if
33473949
33483950
33493951 if test "x$CC" != xcc; then
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 |
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" |
33573959 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
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
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
33663964 /* end confdefs.h. */
33673965
33683966 int
33783976 # existing .o file with -o, though they will create one.
33793977 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
33803978 rm -f conftest2.*
3381 if { (case "(($ac_try" in
3979 if { { case "(($ac_try" in
33823980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33833981 *) ac_try_echo=$ac_try;;
33843982 esac
3385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
33863985 (eval "$ac_try") 2>&5
33873986 ac_status=$?
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 test -f conftest2.$ac_objext && { (case "(($ac_try" in
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
33913990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33923991 *) ac_try_echo=$ac_try;;
33933992 esac
3394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3994 $as_echo "$ac_try_echo"; } >&5
33953995 (eval "$ac_try") 2>&5
33963996 ac_status=$?
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); };
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; };
33993999 then
34004000 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
34014001 if test "x$CC" != xcc; then
34024002 # Test first that cc exists at all.
34034003 if { ac_try='cc -c conftest.$ac_ext >&5'
3404 { (case "(($ac_try" in
4004 { { case "(($ac_try" in
34054005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34064006 *) ac_try_echo=$ac_try;;
34074007 esac
3408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4009 $as_echo "$ac_try_echo"; } >&5
34094010 (eval "$ac_try") 2>&5
34104011 ac_status=$?
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; }; then
4012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4013 test $ac_status = 0; }; }; then
34134014 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
34144015 rm -f conftest2.*
3415 if { (case "(($ac_try" in
4016 if { { case "(($ac_try" in
34164017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34174018 *) ac_try_echo=$ac_try;;
34184019 esac
3419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021 $as_echo "$ac_try_echo"; } >&5
34204022 (eval "$ac_try") 2>&5
34214023 ac_status=$?
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } &&
3424 test -f conftest2.$ac_objext && { (case "(($ac_try" in
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
34254027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34264028 *) ac_try_echo=$ac_try;;
34274029 esac
3428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
34294032 (eval "$ac_try") 2>&5
34304033 ac_status=$?
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); };
4034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035 test $ac_status = 0; };
34334036 then
34344037 # cc works too.
34354038 :
34424045 else
34434046 eval ac_cv_prog_cc_${ac_cc}_c_o=no
34444047 fi
3445 rm -f -r core conftest*
4048 rm -f core conftest*
34464049
34474050 fi
34484051 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
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; }
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; }
34544057
3455 cat >>confdefs.h <<\_ACEOF
3456 @%:@define NO_MINUS_C_MINUS_O 1
3457 _ACEOF
4058 $as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
34584059
34594060 fi
34604061
34614062 # FIXME: we rely on the cache variable name because
34624063 # there is no other way.
34634064 set dummy $CC
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
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
34664068 # Losing compiler, so override with the script.
34674069 # FIXME: It is wrong to rewrite CC.
34684070 # But if we don't then we get into trouble of one sort or another.
34734075
34744076
34754077
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
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
34844082 /* end confdefs.h. */
34854083
34864084 int
34944092 return 0;
34954093 }
34964094 _ACEOF
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
4095 if ac_fn_c_try_compile "$LINENO"; then :
35144096 __sunpro_c=yes
35154097 else
3516 echo "$as_me: failed program was:" >&5
3517 sed 's/^/| /' conftest.$ac_ext >&5
3518
3519 __sunpro_c=no
3520 fi
3521
4098 __sunpro_c=no
4099 fi
35224100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 { echo "$as_me:$LINENO: result: $__sunpro_c" >&5
3524 echo "${ECHO_T}$__sunpro_c" >&6; }
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $__sunpro_c" >&5
4102 $as_echo "$__sunpro_c" >&6; }
35254103
35264104 CFLAGS="${CFLAGS=}"
35274105 if test $ac_cv_c_compiler_gnu = yes -a "x$CFLAGS" = "x-g -O2"; then
35354113 fi
35364114 fi
35374115
3538 # Check whether --enable-devel was given.
3539 if test "${enable_devel+set}" = set; then
4116 @%:@ Check whether --enable-devel was given.
4117 if test "${enable_devel+set}" = set; then :
35404118 enableval=$enable_devel;
35414119 fi
35424120
35534131 _ACEOF
35544132 fi
35554133
3556 # Check whether --enable-compat15 was given.
3557 if test "${enable_compat15+set}" = set; then
4134 @%:@ Check whether --enable-compat15 was given.
4135 if test "${enable_compat15+set}" = set; then :
35584136 enableval=$enable_compat15;
35594137 fi
35604138
35654143 CFLAGS="$CFLAGS -DCOMPAT15"
35664144 fi
35674145
3568 +# Check whether --enable-fixtimebug was given.
3569 if test "${enable_fixtimebug+set}" = set; then
4146 @%:@ Check whether --enable-fixtimebug was given.
4147 if test "${enable_fixtimebug+set}" = set; then :
35704148 enableval=$enable_fixtimebug;
35714149 fi
35724150
35794157 do
35804158 # Extract the first word of "$ac_prog", so it can be a program name with args.
35814159 set dummy $ac_prog; ac_word=$2
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
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
35864164 else
35874165 if test -n "$YACC"; then
35884166 ac_cv_prog_YACC="$YACC" # Let the user override the test.
35924170 do
35934171 IFS=$as_save_IFS
35944172 test -z "$as_dir" && as_dir=.
3595 for ac_exec_ext in '' $ac_executable_extensions; do
4173 for ac_exec_ext in '' $ac_executable_extensions; do
35964174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35974175 ac_cv_prog_YACC="$ac_prog"
3598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
35994177 break 2
36004178 fi
36014179 done
3602 done
4180 done
36034181 IFS=$as_save_IFS
36044182
36054183 fi
36064184 fi
36074185 YACC=$ac_cv_prog_YACC
36084186 if test -n "$YACC"; then
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; }
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; }
36144192 fi
36154193
36164194
36224200 do
36234201 # Extract the first word of "$ac_prog", so it can be a program name with args.
36244202 set dummy $ac_prog; ac_word=$2
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
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
36294207 else
36304208 if test -n "$LEX"; then
36314209 ac_cv_prog_LEX="$LEX" # Let the user override the test.
36354213 do
36364214 IFS=$as_save_IFS
36374215 test -z "$as_dir" && as_dir=.
3638 for ac_exec_ext in '' $ac_executable_extensions; do
4216 for ac_exec_ext in '' $ac_executable_extensions; do
36394217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36404218 ac_cv_prog_LEX="$ac_prog"
3641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36424220 break 2
36434221 fi
36444222 done
3645 done
4223 done
36464224 IFS=$as_save_IFS
36474225
36484226 fi
36494227 fi
36504228 LEX=$ac_cv_prog_LEX
36514229 if test -n "$LEX"; then
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; }
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; }
36574235 fi
36584236
36594237
36814259 return ! yylex () + ! yywrap ();
36824260 }
36834261 _ACEOF
3684 { (ac_try="$LEX conftest.l"
4262 { { ac_try="$LEX conftest.l"
36854263 case "(($ac_try" in
36864264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36874265 *) ac_try_echo=$ac_try;;
36884266 esac
3689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4268 $as_echo "$ac_try_echo"; } >&5
36904269 (eval "$LEX conftest.l") 2>&5
36914270 ac_status=$?
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
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
36984277 else
36994278
37004279 if test -f lex.yy.c; then
37024281 elif test -f lexyy.c; then
37034282 ac_cv_prog_lex_root=lexyy
37044283 else
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; }
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; }
37124289 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
37134290
37144291 if test -z "${LEXLIB+set}"; then
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
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
37194296 else
37204297
37214298 ac_save_LIBS=$LIBS
37224299 ac_cv_lib_lex='none needed'
37234300 for ac_lib in '' -lfl -ll; do
37244301 LIBS="$ac_lib $ac_save_LIBS"
3725 cat >conftest.$ac_ext <<_ACEOF
4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h. */
37264304 `cat $LEX_OUTPUT_ROOT.c`
37274305 _ACEOF
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
4306 if ac_fn_c_try_link "$LINENO"; then :
37464307 ac_cv_lib_lex=$ac_lib
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
4308 fi
4309 rm -f core conftest.err conftest.$ac_objext \
4310 conftest$ac_exeext conftest.$ac_ext
37564311 test "$ac_cv_lib_lex" != 'none needed' && break
37574312 done
37584313 LIBS=$ac_save_LIBS
37594314
37604315 fi
3761 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
3762 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4317 $as_echo "$ac_cv_lib_lex" >&6; }
37634318 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
37644319 fi
37654320
37664321
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
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
37714326 else
37724327 # POSIX says lex can declare yytext either as a pointer or an array; the
37734328 # default is implementation-dependent. Figure out which it is, since
37754330 ac_cv_prog_lex_yytext_pointer=no
37764331 ac_save_LIBS=$LIBS
37774332 LIBS="$LEXLIB $ac_save_LIBS"
3778 cat >conftest.$ac_ext <<_ACEOF
3779 #define YYTEXT_POINTER 1
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4335
4336 #define YYTEXT_POINTER 1
37804337 `cat $LEX_OUTPUT_ROOT.c`
37814338 _ACEOF
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
4339 if ac_fn_c_try_link "$LINENO"; then :
38004340 ac_cv_prog_lex_yytext_pointer=yes
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
4341 fi
4342 rm -f core conftest.err conftest.$ac_objext \
4343 conftest$ac_exeext conftest.$ac_ext
38104344 LIBS=$ac_save_LIBS
38114345
38124346 fi
3813 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3814 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
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; }
38154349 if test $ac_cv_prog_lex_yytext_pointer = yes; then
38164350
3817 cat >>confdefs.h <<\_ACEOF
3818 @%:@define YYTEXT_POINTER 1
3819 _ACEOF
4351 $as_echo "@%:@define YYTEXT_POINTER 1" >>confdefs.h
38204352
38214353 fi
38224354 rm -f conftest.l $LEX_OUTPUT_ROOT.c
38244356 fi
38254357 which $LEX > /dev/null 2>&1
38264358 if test $? = 1; then
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'
4359 as_fn_error $? "No lex or flex found on system" "$LINENO" 5
4360 fi
39104361
39114362
39124363 if test "x$ac_cv_prog_LEX" = "xflex"; then
39164367 # Check if we need to build the flow-tools converter
39174368 # FIXME? This should use flow-tools-dev if possible, not local sources..
39184369
3919 # Check whether --with-ftpath was given.
3920 if test "${with_ftpath+set}" = set; then
4370 @%:@ Check whether --with-ftpath was given.
4371 if test "${with_ftpath+set}" = set; then :
39214372 withval=$with_ftpath; if test "x$with_ftpath" = "xyes" ; then
39224373 WHERE_FTPATH="/usr/local/flow-tools/"
39234374 else
39314382
39324383
39334384
3934 # Check whether --with-rrdpath was given.
3935 if test "${with_rrdpath+set}" = set; then
4385 @%:@ Check whether --with-rrdpath was given.
4386 if test "${with_rrdpath+set}" = set; then :
39364387 withval=$with_rrdpath; if test "x$with_rrdpath" = "xyes" ; then
39374388 CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
39384389 LDFLAGS="${LDFLAGS} -L/usr/local/lib"
39454396
39464397
39474398 #Tidz up? esp not using in source dist flow-tools
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
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
39554405 else
39564406 ac_check_lib_save_LIBS=$LIBS
39574407 LIBS="-lz $LIBS"
3958 cat >conftest.$ac_ext <<_ACEOF
3959 /* confdefs.h. */
3960 _ACEOF
3961 cat confdefs.h >>conftest.$ac_ext
3962 cat >>conftest.$ac_ext <<_ACEOF
4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39634409 /* end confdefs.h. */
39644410
39654411 /* Override any GCC internal prototype to avoid an error.
39774423 return 0;
39784424 }
39794425 _ACEOF
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
4426 if ac_fn_c_try_link "$LINENO"; then :
39984427 ac_cv_lib_z_zlibVersion=yes
39994428 else
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
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
40084433 LIBS=$ac_check_lib_save_LIBS
40094434 fi
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
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 :
40134438 cat >>confdefs.h <<_ACEOF
40144439 @%:@define HAVE_LIBZ 1
40154440 _ACEOF
40174442 LIBS="-lz $LIBS"
40184443
40194444 else
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; }; }
4445 as_fn_error $? "Link with \"-lz\" failed! (Need zlib >= 1.0.2)" "$LINENO" 5
40234446
40244447 fi
40254448
40264449 if test -d "$WHERE_FTPATH"; then
40274450 if test ! -f "$WHERE_FTPATH/include/ftlib.h"; then
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; }; }
4451 as_fn_error $? "ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" "$LINENO" 5
40314452 fi
40324453 if test ! -f "$WHERE_FTPATH/lib/libft.a"; then
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; }; }
4454 as_fn_error $? "libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first" "$LINENO" 5
40364455 fi
40374456 FT_INCLUDES="-I$WHERE_FTPATH/include -I$WHERE_FTPATH/lib"
40384457 FT_LDFLAGS="-L$WHERE_FTPATH/lib"
40394458 else
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; }; }
4459 as_fn_error $? "flow-tools directory '$WHERE_FTPATH' does not exists. Use --with-ftpath=PATH" "$LINENO" 5
40434460 fi
40444461 if true; then
40454462 FT2NFDUMP_TRUE=
40694486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40704487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40714488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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; }
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; }
40744491 # On Suns, sometimes $CPP names a directory.
40754492 if test -n "$CPP" && test -d "$CPP"; then
40764493 CPP=
40774494 fi
40784495 if test -z "$CPP"; then
4079 if test "${ac_cv_prog_CPP+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 if ${ac_cv_prog_CPP+:} false; then :
4497 $as_echo_n "(cached) " >&6
40814498 else
40824499 # Double quotes because CPP needs to be expanded
40834500 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
40914508 # <limits.h> exists even on freestanding compilers.
40924509 # On the NeXT, cc -E runs the code through the compiler's parser,
40934510 # not just through cpp. "Syntax error" is here to catch this case.
4094 cat >conftest.$ac_ext <<_ACEOF
4095 /* confdefs.h. */
4096 _ACEOF
4097 cat confdefs.h >>conftest.$ac_ext
4098 cat >>conftest.$ac_ext <<_ACEOF
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40994512 /* end confdefs.h. */
41004513 @%:@ifdef __STDC__
41014514 @%:@ include <limits.h>
41044517 @%:@endif
41054518 Syntax error
41064519 _ACEOF
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
4520 if ac_fn_c_try_cpp "$LINENO"; then :
4521
4522 else
41284523 # Broken: fails on valid input.
41294524 continue
41304525 fi
4131
4132 rm -f conftest.err conftest.$ac_ext
4526 rm -f conftest.err conftest.i conftest.$ac_ext
41334527
41344528 # OK, works on sane cases. Now check whether nonexistent headers
41354529 # can be detected and how.
4136 cat >conftest.$ac_ext <<_ACEOF
4137 /* confdefs.h. */
4138 _ACEOF
4139 cat confdefs.h >>conftest.$ac_ext
4140 cat >>conftest.$ac_ext <<_ACEOF
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41414531 /* end confdefs.h. */
41424532 @%:@include <ac_nonexistent.h>
41434533 _ACEOF
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
4534 if ac_fn_c_try_cpp "$LINENO"; then :
41604535 # Broken: success on invalid input.
41614536 continue
41624537 else
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4165
41664538 # Passes both tests.
41674539 ac_preproc_ok=:
41684540 break
41694541 fi
4170
4171 rm -f conftest.err conftest.$ac_ext
4542 rm -f conftest.err conftest.i conftest.$ac_ext
41724543
41734544 done
41744545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4175 rm -f conftest.err conftest.$ac_ext
4176 if $ac_preproc_ok; then
4546 rm -f conftest.i conftest.err conftest.$ac_ext
4547 if $ac_preproc_ok; then :
41774548 break
41784549 fi
41794550
41854556 else
41864557 ac_cv_prog_CPP=$CPP
41874558 fi
4188 { echo "$as_me:$LINENO: result: $CPP" >&5
4189 echo "${ECHO_T}$CPP" >&6; }
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4560 $as_echo "$CPP" >&6; }
41904561 ac_preproc_ok=false
41914562 for ac_c_preproc_warn_flag in '' yes
41924563 do
41964567 # <limits.h> exists even on freestanding compilers.
41974568 # On the NeXT, cc -E runs the code through the compiler's parser,
41984569 # not just through cpp. "Syntax error" is here to catch this case.
4199 cat >conftest.$ac_ext <<_ACEOF
4200 /* confdefs.h. */
4201 _ACEOF
4202 cat confdefs.h >>conftest.$ac_ext
4203 cat >>conftest.$ac_ext <<_ACEOF
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42044571 /* end confdefs.h. */
42054572 @%:@ifdef __STDC__
42064573 @%:@ include <limits.h>
42094576 @%:@endif
42104577 Syntax error
42114578 _ACEOF
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
4579 if ac_fn_c_try_cpp "$LINENO"; then :
4580
4581 else
42334582 # Broken: fails on valid input.
42344583 continue
42354584 fi
4236
4237 rm -f conftest.err conftest.$ac_ext
4585 rm -f conftest.err conftest.i conftest.$ac_ext
42384586
42394587 # OK, works on sane cases. Now check whether nonexistent headers
42404588 # can be detected and how.
4241 cat >conftest.$ac_ext <<_ACEOF
4242 /* confdefs.h. */
4243 _ACEOF
4244 cat confdefs.h >>conftest.$ac_ext
4245 cat >>conftest.$ac_ext <<_ACEOF
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42464590 /* end confdefs.h. */
42474591 @%:@include <ac_nonexistent.h>
42484592 _ACEOF
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
4593 if ac_fn_c_try_cpp "$LINENO"; then :
42654594 # Broken: success on invalid input.
42664595 continue
42674596 else
4268 echo "$as_me: failed program was:" >&5
4269 sed 's/^/| /' conftest.$ac_ext >&5
4270
42714597 # Passes both tests.
42724598 ac_preproc_ok=:
42734599 break
42744600 fi
4275
4276 rm -f conftest.err conftest.$ac_ext
4601 rm -f conftest.err conftest.i conftest.$ac_ext
42774602
42784603 done
42794604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
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; }; }
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; }
42894613 fi
42904614
42914615 ac_ext=c
42954619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42964620
42974621
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
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
43094628 ac_path_GREP_found=false
4310 # Loop through the user's path and test for each of PROGNAME-LIST
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4629 # Loop through the user's path and test for each of PROGNAME-LIST
4630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43124631 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
43134632 do
43144633 IFS=$as_save_IFS
43154634 test -z "$as_dir" && as_dir=.
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.
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.
43214640 # Check for GNU $ac_path_GREP
43224641 case `"$ac_path_GREP" --version 2>&1` in
43234642 *GNU*)
43244643 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
43254644 *)
43264645 ac_count=0
4327 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4646 $as_echo_n 0123456789 >"conftest.in"
43284647 while :
43294648 do
43304649 cat "conftest.in" "conftest.in" >"conftest.tmp"
43314650 mv "conftest.tmp" "conftest.in"
43324651 cp "conftest.in" "conftest.nl"
4333 echo 'GREP' >> "conftest.nl"
4652 $as_echo 'GREP' >> "conftest.nl"
43344653 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
43354654 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4336 ac_count=`expr $ac_count + 1`
4655 as_fn_arith $ac_count + 1 && ac_count=$as_val
43374656 if test $ac_count -gt ${ac_path_GREP_max-0}; then
43384657 # Best one so far, save it but keep looking for a better one
43394658 ac_cv_path_GREP="$ac_path_GREP"
43454664 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
43464665 esac
43474666
4348
4349 $ac_path_GREP_found && break 3
4667 $ac_path_GREP_found && break 3
4668 done
43504669 done
4351 done
4352
4353 done
4670 done
43544671 IFS=$as_save_IFS
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
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
43664675 else
43674676 ac_cv_path_GREP=$GREP
43684677 fi
43694678
4370
4371 fi
4372 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4373 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4679 fi
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4681 $as_echo "$ac_cv_path_GREP" >&6; }
43744682 GREP="$ac_cv_path_GREP"
43754683
43764684
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
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
43814689 else
43824690 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
43834691 then ac_cv_path_EGREP="$GREP -E"
43844692 else
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
4693 if test -z "$EGREP"; then
43914694 ac_path_EGREP_found=false
4392 # Loop through the user's path and test for each of PROGNAME-LIST
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 # Loop through the user's path and test for each of PROGNAME-LIST
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43944697 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
43954698 do
43964699 IFS=$as_save_IFS
43974700 test -z "$as_dir" && as_dir=.
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.
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.
44034706 # Check for GNU $ac_path_EGREP
44044707 case `"$ac_path_EGREP" --version 2>&1` in
44054708 *GNU*)
44064709 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
44074710 *)
44084711 ac_count=0
4409 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4712 $as_echo_n 0123456789 >"conftest.in"
44104713 while :
44114714 do
44124715 cat "conftest.in" "conftest.in" >"conftest.tmp"
44134716 mv "conftest.tmp" "conftest.in"
44144717 cp "conftest.in" "conftest.nl"
4415 echo 'EGREP' >> "conftest.nl"
4718 $as_echo 'EGREP' >> "conftest.nl"
44164719 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
44174720 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4418 ac_count=`expr $ac_count + 1`
4721 as_fn_arith $ac_count + 1 && ac_count=$as_val
44194722 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
44204723 # Best one so far, save it but keep looking for a better one
44214724 ac_cv_path_EGREP="$ac_path_EGREP"
44274730 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
44284731 esac
44294732
4430
4431 $ac_path_EGREP_found && break 3
4733 $ac_path_EGREP_found && break 3
4734 done
44324735 done
4433 done
4434
4435 done
4736 done
44364737 IFS=$as_save_IFS
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
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
44484741 else
44494742 ac_cv_path_EGREP=$EGREP
44504743 fi
44514744
4452
44534745 fi
44544746 fi
4455 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4456 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4748 $as_echo "$ac_cv_path_EGREP" >&6; }
44574749 EGREP="$ac_cv_path_EGREP"
44584750
44594751
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
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
44704758 /* end confdefs.h. */
44714759 #include <stdlib.h>
44724760 #include <stdarg.h>
44814769 return 0;
44824770 }
44834771 _ACEOF
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
4772 if ac_fn_c_try_compile "$LINENO"; then :
45014773 ac_cv_header_stdc=yes
45024774 else
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
4775 ac_cv_header_stdc=no
4776 fi
45094777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45104778
45114779 if test $ac_cv_header_stdc = yes; then
45124780 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4513 cat >conftest.$ac_ext <<_ACEOF
4514 /* confdefs.h. */
4515 _ACEOF
4516 cat confdefs.h >>conftest.$ac_ext
4517 cat >>conftest.$ac_ext <<_ACEOF
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45184782 /* end confdefs.h. */
45194783 #include <string.h>
45204784
45214785 _ACEOF
45224786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4523 $EGREP "memchr" >/dev/null 2>&1; then
4524 :
4787 $EGREP "memchr" >/dev/null 2>&1; then :
4788
45254789 else
45264790 ac_cv_header_stdc=no
45274791 fi
4528 rm -f -r conftest*
4792 rm -f conftest*
45294793
45304794 fi
45314795
45324796 if test $ac_cv_header_stdc = yes; then
45334797 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4534 cat >conftest.$ac_ext <<_ACEOF
4535 /* confdefs.h. */
4536 _ACEOF
4537 cat confdefs.h >>conftest.$ac_ext
4538 cat >>conftest.$ac_ext <<_ACEOF
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45394799 /* end confdefs.h. */
45404800 #include <stdlib.h>
45414801
45424802 _ACEOF
45434803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4544 $EGREP "free" >/dev/null 2>&1; then
4545 :
4804 $EGREP "free" >/dev/null 2>&1; then :
4805
45464806 else
45474807 ac_cv_header_stdc=no
45484808 fi
4549 rm -f -r conftest*
4809 rm -f conftest*
45504810
45514811 fi
45524812
45534813 if test $ac_cv_header_stdc = yes; then
45544814 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4555 if test "$cross_compiling" = yes; then
4815 if test "$cross_compiling" = yes; then :
45564816 :
45574817 else
4558 cat >conftest.$ac_ext <<_ACEOF
4559 /* confdefs.h. */
4560 _ACEOF
4561 cat confdefs.h >>conftest.$ac_ext
4562 cat >>conftest.$ac_ext <<_ACEOF
4818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45634819 /* end confdefs.h. */
45644820 #include <ctype.h>
45654821 #include <stdlib.h>
45864842 return 0;
45874843 }
45884844 _ACEOF
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; }
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; }
46264858 if test $ac_cv_header_stdc = yes; then
46274859
4628 cat >>confdefs.h <<\_ACEOF
4629 @%:@define STDC_HEADERS 1
4630 _ACEOF
4860 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
46314861
46324862 fi
46334863
46344864 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4635
4636
4637
4638
4639
4640
4641
4642
4643
46444865 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
46454866 inttypes.h stdint.h unistd.h
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
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 :
46944872 cat >>confdefs.h <<_ACEOF
4695 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4873 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
46964874 _ACEOF
46974875
46984876 fi
47004878 done
47014879
47024880
4703 # Check whether --enable-nfprofile was given.
4704 if test "${enable_nfprofile+set}" = set; then
4881 @%:@ Check whether --enable-nfprofile was given.
4882 if test "${enable_nfprofile+set}" = set; then :
47054883 enableval=$enable_nfprofile;
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
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
47104888 else
47114889 ac_check_lib_save_LIBS=$LIBS
47124890 LIBS="-lrrd $LIBS"
4713 cat >conftest.$ac_ext <<_ACEOF
4714 /* confdefs.h. */
4715 _ACEOF
4716 cat confdefs.h >>conftest.$ac_ext
4717 cat >>conftest.$ac_ext <<_ACEOF
4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47184892 /* end confdefs.h. */
47194893
47204894 /* Override any GCC internal prototype to avoid an error.
47324906 return 0;
47334907 }
47344908 _ACEOF
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
4909 if ac_fn_c_try_link "$LINENO"; then :
47534910 ac_cv_lib_rrd_rrd_update=yes
47544911 else
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
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
47634916 LIBS=$ac_check_lib_save_LIBS
47644917 fi
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
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 :
47684921
47694922 cat >>config.h <<_ACEOF
47704923 #define HAVE_LIBRRD 1
47744927
47754928
47764929 else
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
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 :
49194937 cat >>confdefs.h <<_ACEOF
4920 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4938 @%:@define HAVE_RRD_H 1
49214939 _ACEOF
49224940
49234941 fi
49344952 fi
49354953
49364954 else
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; }; }
4955 as_fn_error $? "Required rrd.h header file not found!" "$LINENO" 5
49404956 fi
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
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
49534964 /* end confdefs.h. */
4954
4965
49554966 #include <stdio.h>
49564967 #include <rrd.h>
49574968
49664977 }
49674978
49684979 _ACEOF
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
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
50034988
50044989
50054990
50175002 fi
50185003
50195004
5020 # Check whether --enable-nftrack was given.
5021 if test "${enable_nftrack+set}" = set; then
5005 @%:@ Check whether --enable-nftrack was given.
5006 if test "${enable_nftrack+set}" = set; then :
50225007 enableval=$enable_nftrack;
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
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
50275012 else
50285013 ac_check_lib_save_LIBS=$LIBS
50295014 LIBS="-lrrd $LIBS"
5030 cat >conftest.$ac_ext <<_ACEOF
5031 /* confdefs.h. */
5032 _ACEOF
5033 cat confdefs.h >>conftest.$ac_ext
5034 cat >>conftest.$ac_ext <<_ACEOF
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50355016 /* end confdefs.h. */
50365017
50375018 /* Override any GCC internal prototype to avoid an error.
50495030 return 0;
50505031 }
50515032 _ACEOF
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
5033 if ac_fn_c_try_link "$LINENO"; then :
50705034 ac_cv_lib_rrd_rrd_update=yes
50715035 else
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
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
50805040 LIBS=$ac_check_lib_save_LIBS
50815041 fi
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
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 :
50855045
50865046 cat >>config.h <<_ACEOF
50875047 #define HAVE_LIBRRD 1
50915051
50925052
50935053 else
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
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 :
52365061 cat >>confdefs.h <<_ACEOF
5237 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5062 @%:@define HAVE_RRD_H 1
52385063 _ACEOF
52395064
52405065 fi
52515076 fi
52525077
52535078 else
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; }; }
5079 as_fn_error $? "Required rrd.h header file not found!" "$LINENO" 5
52575080 fi
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
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
52705088 /* end confdefs.h. */
5271
5089
52725090 #include <stdio.h>
52735091 #include <rrd.h>
52745092
52835101 }
52845102
52855103 _ACEOF
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
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
53205112
53215113
53225114
53345126 fi
53355127
53365128
5337 # Check whether --enable-sflow was given.
5338 if test "${enable_sflow+set}" = set; then
5129 @%:@ Check whether --enable-sflow was given.
5130 if test "${enable_sflow+set}" = set; then :
53395131 enableval=$enable_sflow;
53405132 fi
53415133
53485140 fi
53495141
53505142
5351 # Check whether --enable-readpcap was given.
5352 if test "${enable_readpcap+set}" = set; then
5143 @%:@ Check whether --enable-readpcap was given.
5144 if test "${enable_readpcap+set}" = set; then :
53535145 enableval=$enable_readpcap;
53545146 fi
53555147
53635155
53645156
53655157 # Check for structures
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
5158 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
53785159 #include <sys/types.h>
53795160 #include <sys/socket.h>
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
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" "
54205170 #include <sys/types.h>
54215171 #include <sys/socket.h>
54225172
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
5173 "
5174 if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
55765175
55775176 cat >>confdefs.h <<_ACEOF
55785177 @%:@define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
55805179
55815180
55825181 fi
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
5182 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "__ss_family" "ac_cv_member_struct_sockaddr_storage___ss_family" "
55955183 #include <sys/types.h>
55965184 #include <sys/socket.h>
55975185
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
5186 "
5187 if test "x$ac_cv_member_struct_sockaddr_storage___ss_family" = xyes; then :
56855188
56865189 cat >>confdefs.h <<_ACEOF
56875190 @%:@define HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY 1
56895192
56905193
56915194 fi
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
5195 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_len" "ac_cv_member_struct_sockaddr_storage_ss_len" "
57045196 #include <sys/types.h>
57055197 #include <sys/socket.h>
57065198
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
5199 "
5200 if test "x$ac_cv_member_struct_sockaddr_storage_ss_len" = xyes; then :
57945201
57955202 cat >>confdefs.h <<_ACEOF
57965203 @%:@define HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN 1
57985205
57995206
58005207 fi
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
5208 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "__ss_len" "ac_cv_member_struct_sockaddr_storage___ss_len" "
58135209 #include <sys/types.h>
58145210 #include <sys/socket.h>
58155211
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
5212 "
5213 if test "x$ac_cv_member_struct_sockaddr_storage___ss_len" = xyes; then :
59035214
59045215 cat >>confdefs.h <<_ACEOF
59055216 @%:@define HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN 1
59075218
59085219
59095220 fi
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
5221 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
59225222 #include <sys/types.h>
59235223 #include <sys/socket.h>
59245224
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
5225 "
5226 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
60125227
60135228 cat >>confdefs.h <<_ACEOF
60145229 @%:@define HAVE_STRUCT_SOCKADDR_SA_LEN 1
60255240
60265241
60275242 # Checks for libraries.
6028
60295243 for ac_func in gethostbyname
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
5244 do :
5245 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5246 if test "x$ac_cv_func_gethostbyname" = xyes; then :
61155247 cat >>confdefs.h <<_ACEOF
6116 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5248 @%:@define HAVE_GETHOSTBYNAME 1
61175249 _ACEOF
61185250
61195251 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
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
61255256 else
61265257 ac_check_lib_save_LIBS=$LIBS
61275258 LIBS="-lnsl $LIBS"
6128 cat >conftest.$ac_ext <<_ACEOF
6129 /* confdefs.h. */
6130 _ACEOF
6131 cat confdefs.h >>conftest.$ac_ext
6132 cat >>conftest.$ac_ext <<_ACEOF
5259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61335260 /* end confdefs.h. */
61345261
61355262 /* Override any GCC internal prototype to avoid an error.
61475274 return 0;
61485275 }
61495276 _ACEOF
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
5277 if ac_fn_c_try_link "$LINENO"; then :
61685278 ac_cv_lib_nsl_gethostbyname=yes
61695279 else
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
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
61785284 LIBS=$ac_check_lib_save_LIBS
61795285 fi
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
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 :
61835289 cat >>confdefs.h <<_ACEOF
61845290 @%:@define HAVE_LIBNSL 1
61855291 _ACEOF
61875293 LIBS="-lnsl $LIBS"
61885294
61895295 else
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
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
61955300 else
61965301 ac_check_lib_save_LIBS=$LIBS
61975302 LIBS="-lsocket $LIBS"
6198 cat >conftest.$ac_ext <<_ACEOF
6199 /* confdefs.h. */
6200 _ACEOF
6201 cat confdefs.h >>conftest.$ac_ext
6202 cat >>conftest.$ac_ext <<_ACEOF
5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62035304 /* end confdefs.h. */
62045305
62055306 /* Override any GCC internal prototype to avoid an error.
62175318 return 0;
62185319 }
62195320 _ACEOF
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
5321 if ac_fn_c_try_link "$LINENO"; then :
62385322 ac_cv_lib_socket_gethostbyname=yes
62395323 else
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
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
62485328 LIBS=$ac_check_lib_save_LIBS
62495329 fi
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
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 :
62535333 cat >>confdefs.h <<_ACEOF
62545334 @%:@define HAVE_LIBSOCKET 1
62555335 _ACEOF
62635343 fi
62645344 done
62655345
6266
62675346 for ac_func in setsockopt
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
5347 do :
5348 ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt"
5349 if test "x$ac_cv_func_setsockopt" = xyes; then :
63535350 cat >>confdefs.h <<_ACEOF
6354 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5351 @%:@define HAVE_SETSOCKOPT 1
63555352 _ACEOF
63565353
63575354 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
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
63635359 else
63645360 ac_check_lib_save_LIBS=$LIBS
63655361 LIBS="-lsocket $LIBS"
6366 cat >conftest.$ac_ext <<_ACEOF
6367 /* confdefs.h. */
6368 _ACEOF
6369 cat confdefs.h >>conftest.$ac_ext
6370 cat >>conftest.$ac_ext <<_ACEOF
5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63715363 /* end confdefs.h. */
63725364
63735365 /* Override any GCC internal prototype to avoid an error.
63855377 return 0;
63865378 }
63875379 _ACEOF
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
5380 if ac_fn_c_try_link "$LINENO"; then :
64065381 ac_cv_lib_socket_setsockopt=yes
64075382 else
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
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
64165387 LIBS=$ac_check_lib_save_LIBS
64175388 fi
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
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 :
64215392 cat >>confdefs.h <<_ACEOF
64225393 @%:@define HAVE_LIBSOCKET 1
64235394 _ACEOF
64305401 done
64315402
64325403
6433
6434
64355404 for ac_func in fpurge __fpurge
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
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 :
65215409 cat >>confdefs.h <<_ACEOF
6522 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5410 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65235411 _ACEOF
65245412
65255413 fi
65285416
65295417
65305418 # Checks for header files.
6531
6532
6533
6534
6535
65365419 ac_header_dirent=no
65375420 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
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
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
65495428 /* end confdefs.h. */
65505429 #include <sys/types.h>
65515430 #include <$ac_hdr>
65595438 return 0;
65605439 }
65615440 _ACEOF
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
5441 if ac_fn_c_try_compile "$LINENO"; then :
65795442 eval "$as_ac_Header=yes"
65805443 else
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
5444 eval "$as_ac_Header=no"
5445 fi
65875446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65885447 fi
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
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 :
65935452 cat >>confdefs.h <<_ACEOF
6594 @%:@define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5453 @%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
65955454 _ACEOF
65965455
65975456 ac_header_dirent=$ac_hdr; break
66005459 done
66015460 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
66025461 if test $ac_header_dirent = dirent.h; then
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
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
66075466 else
66085467 ac_func_search_save_LIBS=$LIBS
6609 cat >conftest.$ac_ext <<_ACEOF
6610 /* confdefs.h. */
6611 _ACEOF
6612 cat confdefs.h >>conftest.$ac_ext
6613 cat >>conftest.$ac_ext <<_ACEOF
5468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66145469 /* end confdefs.h. */
66155470
66165471 /* Override any GCC internal prototype to avoid an error.
66355490 ac_res=-l$ac_lib
66365491 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
66375492 fi
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
5493 if ac_fn_c_try_link "$LINENO"; then :
66565494 ac_cv_search_opendir=$ac_res
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
5495 fi
5496 rm -f core conftest.err conftest.$ac_objext \
5497 conftest$ac_exeext
5498 if ${ac_cv_search_opendir+:} false; then :
66675499 break
66685500 fi
66695501 done
6670 if test "${ac_cv_search_opendir+set}" = set; then
6671 :
5502 if ${ac_cv_search_opendir+:} false; then :
5503
66725504 else
66735505 ac_cv_search_opendir=no
66745506 fi
66755507 rm conftest.$ac_ext
66765508 LIBS=$ac_func_search_save_LIBS
66775509 fi
6678 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6679 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5511 $as_echo "$ac_cv_search_opendir" >&6; }
66805512 ac_res=$ac_cv_search_opendir
6681 if test "$ac_res" != no; then
5513 if test "$ac_res" != no; then :
66825514 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
66835515
66845516 fi
66855517
66865518 else
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
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
66915523 else
66925524 ac_func_search_save_LIBS=$LIBS
6693 cat >conftest.$ac_ext <<_ACEOF
6694 /* confdefs.h. */
6695 _ACEOF
6696 cat confdefs.h >>conftest.$ac_ext
6697 cat >>conftest.$ac_ext <<_ACEOF
5525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66985526 /* end confdefs.h. */
66995527
67005528 /* Override any GCC internal prototype to avoid an error.
67195547 ac_res=-l$ac_lib
67205548 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
67215549 fi
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
5550 if ac_fn_c_try_link "$LINENO"; then :
67405551 ac_cv_search_opendir=$ac_res
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
5552 fi
5553 rm -f core conftest.err conftest.$ac_objext \
5554 conftest$ac_exeext
5555 if ${ac_cv_search_opendir+:} false; then :
67515556 break
67525557 fi
67535558 done
6754 if test "${ac_cv_search_opendir+set}" = set; then
6755 :
5559 if ${ac_cv_search_opendir+:} false; then :
5560
67565561 else
67575562 ac_cv_search_opendir=no
67585563 fi
67595564 rm conftest.$ac_ext
67605565 LIBS=$ac_func_search_save_LIBS
67615566 fi
6762 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6763 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5568 $as_echo "$ac_cv_search_opendir" >&6; }
67645569 ac_res=$ac_cv_search_opendir
6765 if test "$ac_res" != no; then
5570 if test "$ac_res" != no; then :
67665571 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
67675572
67685573 fi
67695574
67705575 fi
67715576
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
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
67825583 /* end confdefs.h. */
67835584 #include <stdlib.h>
67845585 #include <stdarg.h>
67935594 return 0;
67945595 }
67955596 _ACEOF
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
5597 if ac_fn_c_try_compile "$LINENO"; then :
68135598 ac_cv_header_stdc=yes
68145599 else
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
5600 ac_cv_header_stdc=no
5601 fi
68215602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68225603
68235604 if test $ac_cv_header_stdc = yes; then
68245605 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6825 cat >conftest.$ac_ext <<_ACEOF
6826 /* confdefs.h. */
6827 _ACEOF
6828 cat confdefs.h >>conftest.$ac_ext
6829 cat >>conftest.$ac_ext <<_ACEOF
5606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68305607 /* end confdefs.h. */
68315608 #include <string.h>
68325609
68335610 _ACEOF
68345611 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6835 $EGREP "memchr" >/dev/null 2>&1; then
6836 :
5612 $EGREP "memchr" >/dev/null 2>&1; then :
5613
68375614 else
68385615 ac_cv_header_stdc=no
68395616 fi
6840 rm -f -r conftest*
5617 rm -f conftest*
68415618
68425619 fi
68435620
68445621 if test $ac_cv_header_stdc = yes; then
68455622 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6846 cat >conftest.$ac_ext <<_ACEOF
6847 /* confdefs.h. */
6848 _ACEOF
6849 cat confdefs.h >>conftest.$ac_ext
6850 cat >>conftest.$ac_ext <<_ACEOF
5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68515624 /* end confdefs.h. */
68525625 #include <stdlib.h>
68535626
68545627 _ACEOF
68555628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6856 $EGREP "free" >/dev/null 2>&1; then
6857 :
5629 $EGREP "free" >/dev/null 2>&1; then :
5630
68585631 else
68595632 ac_cv_header_stdc=no
68605633 fi
6861 rm -f -r conftest*
5634 rm -f conftest*
68625635
68635636 fi
68645637
68655638 if test $ac_cv_header_stdc = yes; then
68665639 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6867 if test "$cross_compiling" = yes; then
5640 if test "$cross_compiling" = yes; then :
68685641 :
68695642 else
6870 cat >conftest.$ac_ext <<_ACEOF
6871 /* confdefs.h. */
6872 _ACEOF
6873 cat confdefs.h >>conftest.$ac_ext
6874 cat >>conftest.$ac_ext <<_ACEOF
5643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68755644 /* end confdefs.h. */
68765645 #include <ctype.h>
68775646 #include <stdlib.h>
68985667 return 0;
68995668 }
69005669 _ACEOF
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; }
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; }
69385683 if test $ac_cv_header_stdc = yes; then
69395684
6940 cat >>confdefs.h <<\_ACEOF
6941 @%:@define STDC_HEADERS 1
6942 _ACEOF
6943
6944 fi
6945
5685 $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
5686
5687 fi
69465688
69475689 for ac_header in nameser8_compat.h
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
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 :
70835693 cat >>confdefs.h <<_ACEOF
7084 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5694 @%:@define HAVE_NAMESER8_COMPAT_H 1
70855695 _ACEOF
70865696
70875697 fi
70885698
70895699 done
70905700
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
71035701 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
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
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 :
72395706 cat >>confdefs.h <<_ACEOF
7240 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5707 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
72415708 _ACEOF
72425709
72435710 fi
72455712 done
72465713
72475714
7248
7249
7250
7251
7252
72535715 for ac_header in sys/types.h netinet/in.h arpa/nameser.h netdb.h resolv.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
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
72685719 # include <sys/types.h>
72695720 #endif
72705721 #ifdef HAVE_NETINET_IN_H
72765727 #ifdef HAVE_NETDB_H
72775728 # include <netdb.h>
72785729 #endif
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
5730 "
5731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
73135732 cat >>confdefs.h <<_ACEOF
7314 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5733 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
73155734 _ACEOF
73165735
73175736 fi
73275746
73285747
73295748 # 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
73845749 # The cast to long int works around a bug in the HP C Compiler
73855750 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
73865751 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
73875752 # This bug is HP SR number 8606223364.
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; }; }
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; }
77175766 else
77185767 ac_cv_sizeof_void_p=0
77195768 fi
77205769 fi
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; }
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; }
77275774
77285775
77295776
77335780
77345781
77355782
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
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
77465789 /* end confdefs.h. */
77475790
77485791 int
78025845 return 0;
78035846 }
78045847 _ACEOF
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
5848 if ac_fn_c_try_compile "$LINENO"; then :
78225849 ac_cv_c_const=yes
78235850 else
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
5851 ac_cv_c_const=no
5852 fi
78305853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78315854 fi
7832 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7833 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5856 $as_echo "$ac_cv_c_const" >&6; }
78345857 if test $ac_cv_c_const = no; then
78355858
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
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
78465867 else
78475868 ac_cv_c_inline=no
78485869 for ac_kw in inline __inline__ __inline; do
7849 cat >conftest.$ac_ext <<_ACEOF
7850 /* confdefs.h. */
7851 _ACEOF
7852 cat confdefs.h >>conftest.$ac_ext
7853 cat >>conftest.$ac_ext <<_ACEOF
5870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78545871 /* end confdefs.h. */
78555872 #ifndef __cplusplus
78565873 typedef int foo_t;
78595876 #endif
78605877
78615878 _ACEOF
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
5879 if ac_fn_c_try_compile "$LINENO"; then :
78795880 ac_cv_c_inline=$ac_kw
7880 else
7881 echo "$as_me: failed program was:" >&5
7882 sed 's/^/| /' conftest.$ac_ext >&5
7883
7884
7885 fi
7886
5881 fi
78875882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78885883 test "$ac_cv_c_inline" != no && break
78895884 done
78905885
78915886 fi
7892 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7893 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
7894
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5888 $as_echo "$ac_cv_c_inline" >&6; }
78955889
78965890 case $ac_cv_c_inline in
78975891 inline | yes) ;;
79085902 ;;
79095903 esac
79105904
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
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
79225948 /* end confdefs.h. */
79235949 #include <sys/types.h>
7924 #include <sys/param.h>
7925
5950 #include <sys/param.h>
5951
79265952 int
79275953 main ()
79285954 {
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
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
79345961 ;
79355962 return 0;
79365963 }
79375964 _ACEOF
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
5965 if ac_fn_c_try_compile "$LINENO"; then :
79555966 # It does; now see whether it defined to BIG_ENDIAN or not.
7956 cat >conftest.$ac_ext <<_ACEOF
7957 /* confdefs.h. */
7958 _ACEOF
7959 cat confdefs.h >>conftest.$ac_ext
7960 cat >>conftest.$ac_ext <<_ACEOF
5967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79615968 /* end confdefs.h. */
79625969 #include <sys/types.h>
7963 #include <sys/param.h>
7964
5970 #include <sys/param.h>
5971
79655972 int
79665973 main ()
79675974 {
79685975 #if BYTE_ORDER != BIG_ENDIAN
7969 not big endian
7970 #endif
7971
5976 not big endian
5977 #endif
5978
79725979 ;
79735980 return 0;
79745981 }
79755982 _ACEOF
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
5983 if ac_fn_c_try_compile "$LINENO"; then :
79935984 ac_cv_c_bigendian=yes
79945985 else
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
5986 ac_cv_c_bigendian=no
5987 fi
80015988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
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
80155995 /* 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; }
5996 #include <limits.h>
5997
80225998 int
80235999 main ()
80246000 {
8025 _ascii (); _ebcdic ();
6001 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6002 bogus endian macros
6003 #endif
6004
80266005 ;
80276006 return 0;
80286007 }
80296008 _ACEOF
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
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 :
80486027 ac_cv_c_bigendian=yes
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
6028 else
6029 ac_cv_c_bigendian=no
6030 fi
80656031 rm -f core conftest.err conftest.$ac_objext 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
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
80726081 /* end confdefs.h. */
80736082 $ac_includes_default
80746083 int
80756084 main ()
80766085 {
80776086
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
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
80876096 ;
80886097 return 0;
80896098 }
80906099 _ACEOF
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
6100 if ac_fn_c_try_run "$LINENO"; then :
81116101 ac_cv_c_bigendian=no
81126102 else
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
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
6132 else
6133
6134 cat >>confdefs.h <<_ACEOF
6135 @%:@define pid_t int
6136 _ACEOF
6137
6138 fi
6139
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
6143 else
6144
6145 cat >>confdefs.h <<_ACEOF
6146 @%:@define size_t unsigned int
6147 _ACEOF
6148
6149 fi
6150
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
81576157 /* end confdefs.h. */
8158 $ac_includes_default
8159 typedef pid_t ac__type_new_;
6158 #include <sys/types.h>
6159 #include <time.h>
6160
81606161 int
81616162 main ()
81626163 {
8163 if ((ac__type_new_ *) 0)
8164 return 0;
8165 if (sizeof (ac__type_new_))
8166 return 0;
6164 struct tm tm;
6165 int *p = &tm.tm_sec;
6166 return !p;
81676167 ;
81686168 return 0;
81696169 }
81706170 _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
6171 if ac_fn_c_try_compile "$LINENO"; then :
6172 ac_cv_struct_tm=time.h
6173 else
6174 ac_cv_struct_tm=sys/time.h
6175 fi
81966176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81976177 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 :
8202 else
8203
8204 cat >>confdefs.h <<_ACEOF
8205 @%:@define pid_t int
8206 _ACEOF
8207
8208 fi
8209
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 :
8265 else
8266
8267 cat >>confdefs.h <<_ACEOF
8268 @%:@define size_t unsigned int
8269 _ACEOF
8270
8271 fi
8272
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
8283 /* end confdefs.h. */
8284 #include <sys/types.h>
8285 #include <time.h>
8286
8287 int
8288 main ()
8289 {
8290 struct tm tm;
8291 int *p = &tm.tm_sec;
8292 return !p;
8293 ;
8294 return 0;
8295 }
8296 _ACEOF
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
8314 ac_cv_struct_tm=time.h
8315 else
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
8322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8323 fi
8324 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8325 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6179 $as_echo "$ac_cv_struct_tm" >&6; }
83266180 if test $ac_cv_struct_tm = sys/time.h; then
83276181
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
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
83446192 /* end confdefs.h. */
83456193
83466194 #include <stdbool.h>
83696217 char b[false == 0 ? 1 : -1];
83706218 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
83716219 char d[(bool) 0.5 == true ? 1 : -1];
8372 bool e = &s;
6220 /* See body of main program for 'e'. */
83736221 char f[(_Bool) 0.0 == false ? 1 : -1];
83746222 char g[true];
83756223 char h[sizeof (_Bool)];
83766224 char i[sizeof s.t];
83776225 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]. */
83786228 _Bool n[m];
83796229 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
83806230 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
84006231 /* Catch a bug in an HP-UX C compiler. See
84016232 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
84026233 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
84086239 main ()
84096240 {
84106241
6242 bool e = &s;
84116243 *pq |= q;
84126244 *pq |= ! q;
84136245 /* Refer to every declared value, to avoid compiler optimizations. */
84186250 return 0;
84196251 }
84206252 _ACEOF
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
6253 if ac_fn_c_try_compile "$LINENO"; then :
84386254 ac_cv_header_stdbool_h=yes
84396255 else
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
6256 ac_cv_header_stdbool_h=no
6257 fi
84466258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84476259 fi
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
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 :
85046264
85056265 cat >>confdefs.h <<_ACEOF
85066266 @%:@define HAVE__BOOL 1
85116271
85126272 if test $ac_cv_header_stdbool_h = yes; then
85136273
8514 cat >>confdefs.h <<\_ACEOF
8515 @%:@define HAVE_STDBOOL_H 1
8516 _ACEOF
6274 $as_echo "@%:@define HAVE_STDBOOL_H 1" >>confdefs.h
85176275
85186276 fi
85196277
85206278
85216279 # Checks for library functions.
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
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 :
85286286 ac_cv_func_closedir_void=yes
85296287 else
8530 cat >conftest.$ac_ext <<_ACEOF
8531 /* confdefs.h. */
8532 _ACEOF
8533 cat confdefs.h >>conftest.$ac_ext
8534 cat >>conftest.$ac_ext <<_ACEOF
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85356289 /* end confdefs.h. */
85366290 $ac_includes_default
85376291 #include <$ac_header_dirent>
85476301 return 0;
85486302 }
85496303 _ACEOF
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
6304 if ac_fn_c_try_run "$LINENO"; then :
85706305 ac_cv_func_closedir_void=no
85716306 else
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; }
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; }
85866316 if test $ac_cv_func_closedir_void = yes; then
85876317
8588 cat >>confdefs.h <<\_ACEOF
8589 @%:@define CLOSEDIR_VOID 1
8590 _ACEOF
8591
8592 fi
8593
6318 $as_echo "@%:@define CLOSEDIR_VOID 1" >>confdefs.h
6319
6320 fi
85946321
85956322 for ac_header in vfork.h
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
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 :
87316326 cat >>confdefs.h <<_ACEOF
8732 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6327 @%:@define HAVE_VFORK_H 1
87336328 _ACEOF
87346329
87356330 fi
87366331
87376332 done
87386333
8739
8740
87416334 for ac_func in fork vfork
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
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 :
88276339 cat >>confdefs.h <<_ACEOF
8828 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6340 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
88296341 _ACEOF
88306342
88316343 fi
88326344 done
88336345
88346346 if test "x$ac_cv_func_fork" = xyes; 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
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 :
88416353 ac_cv_func_fork_works=cross
88426354 else
8843 cat >conftest.$ac_ext <<_ACEOF
8844 /* confdefs.h. */
8845 _ACEOF
8846 cat confdefs.h >>conftest.$ac_ext
8847 cat >>conftest.$ac_ext <<_ACEOF
6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88486356 /* end confdefs.h. */
88496357 $ac_includes_default
88506358 int
88586366 return 0;
88596367 }
88606368 _ACEOF
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
6369 if ac_fn_c_try_run "$LINENO"; then :
88816370 ac_cv_func_fork_works=yes
88826371 else
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; }
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; }
88976381
88986382 else
88996383 ac_cv_func_fork_works=$ac_cv_func_fork
89086392 ac_cv_func_fork_works=yes
89096393 ;;
89106394 esac
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;}
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;}
89136397 fi
89146398 ac_cv_func_vfork_works=$ac_cv_func_vfork
89156399 if test "x$ac_cv_func_vfork" = xyes; 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
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 :
89226406 ac_cv_func_vfork_works=cross
89236407 else
8924 cat >conftest.$ac_ext <<_ACEOF
8925 /* confdefs.h. */
8926 _ACEOF
8927 cat confdefs.h >>conftest.$ac_ext
8928 cat >>conftest.$ac_ext <<_ACEOF
6408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89296409 /* end confdefs.h. */
89306410 /* Thanks to Paul Eggert for this test. */
89316411 $ac_includes_default
90176497 }
90186498 }
90196499 _ACEOF
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
6500 if ac_fn_c_try_run "$LINENO"; then :
90406501 ac_cv_func_vfork_works=yes
90416502 else
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; }
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; }
90566512
90576513 fi;
90586514 if test "x$ac_cv_func_fork_works" = xcross; then
90596515 ac_cv_func_vfork_works=$ac_cv_func_vfork
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;}
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;}
90626518 fi
90636519
90646520 if test "x$ac_cv_func_vfork_works" = xyes; then
90656521
9066 cat >>confdefs.h <<\_ACEOF
9067 @%:@define HAVE_WORKING_VFORK 1
9068 _ACEOF
6522 $as_echo "@%:@define HAVE_WORKING_VFORK 1" >>confdefs.h
90696523
90706524 else
90716525
9072 cat >>confdefs.h <<\_ACEOF
9073 @%:@define vfork fork
9074 _ACEOF
6526 $as_echo "@%:@define vfork fork" >>confdefs.h
90756527
90766528 fi
90776529 if test "x$ac_cv_func_fork_works" = xyes; then
90786530
9079 cat >>confdefs.h <<\_ACEOF
9080 @%:@define HAVE_WORKING_FORK 1
9081 _ACEOF
9082
9083 fi
9084
6531 $as_echo "@%:@define HAVE_WORKING_FORK 1" >>confdefs.h
6532
6533 fi
90856534
90866535 for ac_header in stdlib.h
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
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 :
92226539 cat >>confdefs.h <<_ACEOF
9223 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6540 @%:@define HAVE_STDLIB_H 1
92246541 _ACEOF
92256542
92266543 fi
92276544
92286545 done
92296546
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
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 :
92366553 ac_cv_func_malloc_0_nonnull=no
92376554 else
9238 cat >conftest.$ac_ext <<_ACEOF
9239 /* confdefs.h. */
9240 _ACEOF
9241 cat confdefs.h >>conftest.$ac_ext
9242 cat >>conftest.$ac_ext <<_ACEOF
6555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92436556 /* end confdefs.h. */
92446557 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
92456558 # include <stdlib.h>
92556568 return 0;
92566569 }
92576570 _ACEOF
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
6571 if ac_fn_c_try_run "$LINENO"; then :
92786572 ac_cv_func_malloc_0_nonnull=yes
92796573 else
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
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 :
92956584
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
6585 $as_echo "@%:@define HAVE_MALLOC 1" >>confdefs.h
6586
6587 else
6588 $as_echo "@%:@define HAVE_MALLOC 0" >>confdefs.h
93046589
93056590 case " $LIB@&t@OBJS " in
93066591 *" malloc.$ac_objext "* ) ;;
93096594 esac
93106595
93116596
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
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
93306608 /* end confdefs.h. */
93316609 #include <sys/types.h>
93326610 #include <sys/time.h>
93416619 return 0;
93426620 }
93436621 _ACEOF
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
6622 if ac_fn_c_try_compile "$LINENO"; then :
93616623 ac_cv_header_time=yes
93626624 else
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
6625 ac_cv_header_time=no
6626 fi
93696627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93706628 fi
9371 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9372 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6630 $as_echo "$ac_cv_header_time" >&6; }
93736631 if test $ac_cv_header_time = yes; then
93746632
9375 cat >>confdefs.h <<\_ACEOF
9376 @%:@define TIME_WITH_SYS_TIME 1
9377 _ACEOF
9378
9379 fi
9380
9381
9382
6633 $as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
6634
6635 fi
6636
6637
6638
93836639
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 :
6646 cat >>confdefs.h <<_ACEOF
6647 @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6648 _ACEOF
6649
6650 fi
6651
6652 done
6653
93846654
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
6655
6656
6657
6658
6659
6660
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 :
95216666 cat >>confdefs.h <<_ACEOF
9522 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6667 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
95236668 _ACEOF
95246669
95256670 fi
9526
95276671 done
95286672
95296673
95306674
95316675
9532
9533
9534
9535
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
9623 cat >>confdefs.h <<_ACEOF
9624 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9625 _ACEOF
9626
9627 fi
9628 done
9629
9630
9631
9632
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
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 :
96526683 ac_cv_func_working_mktime=no
96536684 else
9654 cat >conftest.$ac_ext <<_ACEOF
9655 /* confdefs.h. */
9656 _ACEOF
9657 cat confdefs.h >>conftest.$ac_ext
9658 cat >>conftest.$ac_ext <<_ACEOF
6685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
96596686 /* end confdefs.h. */
96606687 /* Test program from Paul Eggert and Tony Leneis. */
96616688 #ifdef TIME_WITH_SYS_TIME
96696696 # endif
96706697 #endif
96716698
6699 #include <limits.h>
96726700 #include <stdlib.h>
96736701
96746702 #ifdef HAVE_UNISTD_H
96866714 static time_t time_t_min;
96876715
96886716 /* Values we'll use to set the TZ environment variable. */
9689 static char *tz_strings[] = {
9690 (char *) 0, "TZ=GMT0", "TZ=JST-9",
6717 static const char *tz_strings[] = {
6718 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
96916719 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
96926720 };
96936721 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
97046732 instead of "TZ=America/Vancouver" in order to detect the bug even
97056733 on systems that don't support the Olson extension, or don't have the
97066734 full zoneinfo tables installed. */
9707 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
6735 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
97086736
97096737 tm.tm_year = 98;
97106738 tm.tm_mon = 3;
97176745 }
97186746
97196747 static int
9720 mktime_test1 (now)
9721 time_t now;
6748 mktime_test1 (time_t now)
97226749 {
97236750 struct tm *lt;
97246751 return ! (lt = localtime (&now)) || mktime (lt) == now;
97256752 }
97266753
97276754 static int
9728 mktime_test (now)
9729 time_t now;
6755 mktime_test (time_t now)
97306756 {
97316757 return (mktime_test1 (now)
97326758 && mktime_test1 ((time_t) (time_t_max - now))
97506776 }
97516777
97526778 static int
9753 bigtime_test (j)
9754 int j;
6779 bigtime_test (int j)
97556780 {
97566781 struct tm tm;
97576782 time_t now;
97956820 instead of "TZ=America/Vancouver" in order to detect the bug even
97966821 on systems that don't support the Olson extension, or don't have the
97976822 full zoneinfo tables installed. */
9798 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
6823 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
97996824
98006825 t = mktime (&tm);
98016826
98176842 isn't worth using anyway. */
98186843 alarm (60);
98196844
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;
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
98266854 delta = time_t_max / 997; /* a suitable prime number */
98276855 for (i = 0; i < N_STRINGS; i++)
98286856 {
98296857 if (tz_strings[i])
9830 putenv (tz_strings[i]);
6858 putenv ((char*) tz_strings[i]);
98316859
98326860 for (t = 0; t <= time_t_max - delta; t += delta)
98336861 if (! mktime_test (t))
98376865 && mktime_test ((time_t) (60 * 60 * 24))))
98386866 return 1;
98396867
9840 for (j = 1; 0 < j; j *= 2)
6868 for (j = 1; ; j <<= 1)
98416869 if (! bigtime_test (j))
98426870 return 1;
9843 if (! bigtime_test (j - 1))
6871 else if (INT_MAX / 2 < j)
6872 break;
6873 if (! bigtime_test (INT_MAX))
98446874 return 1;
98456875 }
98466876 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
98476877 }
98486878 _ACEOF
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
6879 if ac_fn_c_try_run "$LINENO"; then :
98696880 ac_cv_func_working_mktime=yes
98706881 else
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; }
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; }
98856891 if test $ac_cv_func_working_mktime = no; then
98866892 case " $LIB@&t@OBJS " in
98876893 *" mktime.$ac_objext "* ) ;;
98916897
98926898 fi
98936899
9894
98956900 for ac_header in stdlib.h
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
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 :
100316904 cat >>confdefs.h <<_ACEOF
10032 @%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6905 @%:@define HAVE_STDLIB_H 1
100336906 _ACEOF
100346907
100356908 fi
100366909
100376910 done
100386911
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
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 :
100456918 ac_cv_func_realloc_0_nonnull=no
100466919 else
10047 cat >conftest.$ac_ext <<_ACEOF
10048 /* confdefs.h. */
10049 _ACEOF
10050 cat confdefs.h >>conftest.$ac_ext
10051 cat >>conftest.$ac_ext <<_ACEOF
6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
100526921 /* end confdefs.h. */
100536922 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
100546923 # include <stdlib.h>
100646933 return 0;
100656934 }
100666935 _ACEOF
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
6936 if ac_fn_c_try_run "$LINENO"; then :
100876937 ac_cv_func_realloc_0_nonnull=yes
100886938 else
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
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 :
101046949
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
6950 $as_echo "@%:@define HAVE_REALLOC 1" >>confdefs.h
6951
6952 else
6953 $as_echo "@%:@define HAVE_REALLOC 0" >>confdefs.h
101136954
101146955 case " $LIB@&t@OBJS " in
101156956 *" realloc.$ac_objext "* ) ;;
101186959 esac
101196960
101206961
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
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
101336971 else
101346972 rm -f conftest.sym conftest.file
101356973 echo >conftest.file
101366974 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
10137 if test "$cross_compiling" = yes; then
6975 if test "$cross_compiling" = yes; then :
101386976 ac_cv_func_lstat_dereferences_slashed_symlink=no
101396977 else
10140 cat >conftest.$ac_ext <<_ACEOF
10141 /* confdefs.h. */
10142 _ACEOF
10143 cat confdefs.h >>conftest.$ac_ext
10144 cat >>conftest.$ac_ext <<_ACEOF
6978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
101456979 /* end confdefs.h. */
101466980 $ac_includes_default
101476981 int
101486982 main ()
101496983 {
101506984 struct stat sbuf;
10151 /* Linux will dereference the symlink and fail.
6985 /* Linux will dereference the symlink and fail, as required by POSIX.
101526986 That is better in the sense that it means we will not
101536987 have to compile and use the lstat wrapper. */
101546988 return lstat ("conftest.sym/", &sbuf) == 0;
101566990 return 0;
101576991 }
101586992 _ACEOF
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
6993 if ac_fn_c_try_run "$LINENO"; then :
101796994 ac_cv_func_lstat_dereferences_slashed_symlink=yes
101806995 else
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
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
101917001
101927002 else
101937003 # If the `ln -s' command failed, then we probably don't even
101977007 rm -f conftest.sym conftest.file
101987008
101997009 fi
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; }
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; }
102027012
102037013 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
102047014
102077017 _ACEOF
102087018
102097019
10210 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
7020 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
102117021 case " $LIB@&t@OBJS " in
102127022 *" lstat.$ac_objext "* ) ;;
102137023 *) LIB@&t@OBJS="$LIB@&t@OBJS lstat.$ac_objext"
102167026
102177027 fi
102187028
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
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 :
102257035 ac_cv_func_stat_empty_string_bug=yes
102267036 else
10227 cat >conftest.$ac_ext <<_ACEOF
10228 /* confdefs.h. */
10229 _ACEOF
10230 cat confdefs.h >>conftest.$ac_ext
10231 cat >>conftest.$ac_ext <<_ACEOF
7037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
102327038 /* end confdefs.h. */
102337039 $ac_includes_default
102347040 int
102407046 return 0;
102417047 }
102427048 _ACEOF
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
7049 if ac_fn_c_try_run "$LINENO"; then :
102637050 ac_cv_func_stat_empty_string_bug=no
102647051 else
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; }
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; }
102797061 if test $ac_cv_func_stat_empty_string_bug = yes; then
102807062 case " $LIB@&t@OBJS " in
102817063 *" stat.$ac_objext "* ) ;;
102907072
102917073 fi
102927074
10293
102947075 for ac_func in strftime
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
7076 do :
7077 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
7078 if test "x$ac_cv_func_strftime" = xyes; then :
103807079 cat >>confdefs.h <<_ACEOF
10381 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7080 @%:@define HAVE_STRFTIME 1
103827081 _ACEOF
103837082
103847083 else
103857084 # strftime is in -lintl on SCO UNIX.
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
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
103907089 else
103917090 ac_check_lib_save_LIBS=$LIBS
103927091 LIBS="-lintl $LIBS"
10393 cat >conftest.$ac_ext <<_ACEOF
10394 /* confdefs.h. */
10395 _ACEOF
10396 cat confdefs.h >>conftest.$ac_ext
10397 cat >>conftest.$ac_ext <<_ACEOF
7092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103987093 /* end confdefs.h. */
103997094
104007095 /* Override any GCC internal prototype to avoid an error.
104127107 return 0;
104137108 }
104147109 _ACEOF
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
7110 if ac_fn_c_try_link "$LINENO"; then :
104337111 ac_cv_lib_intl_strftime=yes
104347112 else
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
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
104437117 LIBS=$ac_check_lib_save_LIBS
104447118 fi
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
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
104517123
104527124 LIBS="-lintl $LIBS"
104537125 fi
104557127 fi
104567128 done
104577129
10458
10459
10460
10461
10462
10463
10464
10465
104667130 for ac_func in inet_ntoa socket strchr strdup strerror strrchr strstr scandir
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
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 :
105527135 cat >>confdefs.h <<_ACEOF
10553 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7136 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
105547137 _ACEOF
105557138
105567139 fi
105577140 done
105587141
105597142
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
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
105647147 else
105657148 ac_check_lib_save_LIBS=$LIBS
105667149 LIBS="-lsocket $LIBS"
10567 cat >conftest.$ac_ext <<_ACEOF
10568 /* confdefs.h. */
10569 _ACEOF
10570 cat confdefs.h >>conftest.$ac_ext
10571 cat >>conftest.$ac_ext <<_ACEOF
7150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
105727151 /* end confdefs.h. */
105737152
105747153 /* Override any GCC internal prototype to avoid an error.
105867165 return 0;
105877166 }
105887167 _ACEOF
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
7168 if ac_fn_c_try_link "$LINENO"; then :
106077169 ac_cv_lib_socket_res_search=yes
106087170 else
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
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
106177175 LIBS=$ac_check_lib_save_LIBS
106187176 fi
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
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 :
106227180
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
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
106287185 else
106297186 ac_check_lib_save_LIBS=$LIBS
106307187 LIBS="-lresolv $LIBS"
10631 cat >conftest.$ac_ext <<_ACEOF
10632 /* confdefs.h. */
10633 _ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
7188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106367189 /* end confdefs.h. */
106377190
106387191 /* Override any GCC internal prototype to avoid an error.
106507203 return 0;
106517204 }
106527205 _ACEOF
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
7206 if ac_fn_c_try_link "$LINENO"; then :
106717207 ac_cv_lib_resolv_dn_skipname=yes
106727208 else
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
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
106817213 LIBS=$ac_check_lib_save_LIBS
106827214 fi
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
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 :
106867218 cat >>confdefs.h <<_ACEOF
106877219 @%:@define HAVE_LIBRESOLV 1
106887220 _ACEOF
106917223
106927224 fi
106937225
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
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
106997230 else
107007231 ac_check_lib_save_LIBS=$LIBS
107017232 LIBS="-lresolv $LIBS"
10702 cat >conftest.$ac_ext <<_ACEOF
10703 /* confdefs.h. */
10704 _ACEOF
10705 cat confdefs.h >>conftest.$ac_ext
10706 cat >>conftest.$ac_ext <<_ACEOF
7233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107077234 /* end confdefs.h. */
107087235
107097236 /* Override any GCC internal prototype to avoid an error.
107217248 return 0;
107227249 }
107237250 _ACEOF
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
7251 if ac_fn_c_try_link "$LINENO"; then :
107427252 ac_cv_lib_resolv___dn_skipname=yes
107437253 else
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
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
107527258 LIBS=$ac_check_lib_save_LIBS
107537259 fi
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
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 :
107577263 cat >>confdefs.h <<_ACEOF
107587264 @%:@define HAVE_LIBRESOLV 1
107597265 _ACEOF
107647270
107657271 LIBS="$LIBS -lsocket"
107667272
10767 cat >>confdefs.h <<\_ACEOF
10768 @%:@define HAVE_LIBSOCKET 1
10769 _ACEOF
7273 $as_echo "@%:@define HAVE_LIBSOCKET 1" >>confdefs.h
107707274
107717275 else
107727276
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
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
107777281 else
107787282 ac_check_lib_save_LIBS=$LIBS
107797283 LIBS="-lresolv $LIBS"
10780 cat >conftest.$ac_ext <<_ACEOF
10781 /* confdefs.h. */
10782 _ACEOF
10783 cat confdefs.h >>conftest.$ac_ext
10784 cat >>conftest.$ac_ext <<_ACEOF
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107857285 /* end confdefs.h. */
107867286
107877287 /* Override any GCC internal prototype to avoid an error.
107997299 return 0;
108007300 }
108017301 _ACEOF
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
7302 if ac_fn_c_try_link "$LINENO"; then :
108207303 ac_cv_lib_resolv_res_search=yes
108217304 else
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
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
108307309 LIBS=$ac_check_lib_save_LIBS
108317310 fi
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
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 :
108357314
108367315 LIBS="$LIBS -lresolv"
108377316
10838 cat >>confdefs.h <<\_ACEOF
10839 @%:@define HAVE_LIBRESOLV 1
10840 _ACEOF
7317 $as_echo "@%:@define HAVE_LIBRESOLV 1" >>confdefs.h
108417318
108427319
108437320 else
108447321
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
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
108507326 else
108517327 ac_check_lib_save_LIBS=$LIBS
108527328 LIBS="-lresolv $LIBS"
10853 cat >conftest.$ac_ext <<_ACEOF
10854 /* confdefs.h. */
10855 _ACEOF
10856 cat confdefs.h >>conftest.$ac_ext
10857 cat >>conftest.$ac_ext <<_ACEOF
7329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
108587330 /* end confdefs.h. */
108597331
108607332 /* Override any GCC internal prototype to avoid an error.
108727344 return 0;
108737345 }
108747346 _ACEOF
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
7347 if ac_fn_c_try_link "$LINENO"; then :
108937348 ac_cv_lib_resolv_dn_skipname=yes
108947349 else
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
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
109037354 LIBS=$ac_check_lib_save_LIBS
109047355 fi
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
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 :
109087359 cat >>confdefs.h <<_ACEOF
109097360 @%:@define HAVE_LIBRESOLV 1
109107361 _ACEOF
109137364
109147365 fi
109157366
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
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
109217371 else
109227372 ac_check_lib_save_LIBS=$LIBS
109237373 LIBS="-lresolv $LIBS"
10924 cat >conftest.$ac_ext <<_ACEOF
10925 /* confdefs.h. */
10926 _ACEOF
10927 cat confdefs.h >>conftest.$ac_ext
10928 cat >>conftest.$ac_ext <<_ACEOF
7374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
109297375 /* end confdefs.h. */
109307376
109317377 /* Override any GCC internal prototype to avoid an error.
109437389 return 0;
109447390 }
109457391 _ACEOF
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
7392 if ac_fn_c_try_link "$LINENO"; then :
109647393 ac_cv_lib_resolv___dn_skipname=yes
109657394 else
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
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
109747399 LIBS=$ac_check_lib_save_LIBS
109757400 fi
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
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 :
109797404 cat >>confdefs.h <<_ACEOF
109807405 @%:@define HAVE_LIBRESOLV 1
109817406 _ACEOF
109927417
109937418
109947419 # lzo compression requirements
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 :
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
110507423 else
110517424
110527425 cat >>confdefs.h <<_ACEOF
110557428
110567429 fi
110577430
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 :
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
111137434 else
111147435
111157436 cat >>confdefs.h <<_ACEOF
111177438 _ACEOF
111187439
111197440 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; }
111747441
111757442 # The cast to long int works around a bug in the HP C Compiler
111767443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
111777444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
111787445 # This bug is HP SR number 8606223364.
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; }; }
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; }
115087459 else
115097460 ac_cv_sizeof_short=0
115107461 fi
115117462 fi
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; }
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; }
115187467
115197468
115207469
115227471 @%:@define SIZEOF_SHORT $ac_cv_sizeof_short
115237472 _ACEOF
115247473
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; }
115797474
115807475 # The cast to long int works around a bug in the HP C Compiler
115817476 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
115827477 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
115837478 # This bug is HP SR number 8606223364.
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; }; }
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; }
119137492 else
119147493 ac_cv_sizeof_int=0
119157494 fi
119167495 fi
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; }
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; }
119237500
119247501
119257502
119277504 @%:@define SIZEOF_INT $ac_cv_sizeof_int
119287505 _ACEOF
119297506
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; }
119847507
119857508 # The cast to long int works around a bug in the HP C Compiler
119867509 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
119877510 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
119887511 # This bug is HP SR number 8606223364.
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; }; }
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; }
123187525 else
123197526 ac_cv_sizeof_long=0
123207527 fi
123217528 fi
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; }
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; }
123287533
123297534
123307535
123327537 @%:@define SIZEOF_LONG $ac_cv_sizeof_long
123337538 _ACEOF
123347539
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; }
123897540
123907541 # The cast to long int works around a bug in the HP C Compiler
123917542 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
123927543 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
123937544 # This bug is HP SR number 8606223364.
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; }; }
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; }
127237558 else
127247559 ac_cv_sizeof_long_long=0
127257560 fi
127267561 fi
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; }
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; }
127337566
127347567
127357568
127377570 @%:@define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
127387571 _ACEOF
127397572
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; }
127947573
127957574 # The cast to long int works around a bug in the HP C Compiler
127967575 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
127977576 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
127987577 # This bug is HP SR number 8606223364.
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; }; }
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; }
131287591 else
131297592 ac_cv_sizeof___int64=0
131307593 fi
131317594 fi
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; }
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; }
131387599
131397600
131407601
131427603 @%:@define SIZEOF___INT64 $ac_cv_sizeof___int64
131437604 _ACEOF
131447605
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; }
131997606
132007607 # The cast to long int works around a bug in the HP C Compiler
132017608 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
132027609 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
132037610 # This bug is HP SR number 8606223364.
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; }; }
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; }
135337624 else
135347625 ac_cv_sizeof_void_p=0
135357626 fi
135367627 fi
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; }
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; }
135437632
135447633
135457634
135477636 @%:@define SIZEOF_VOID_P $ac_cv_sizeof_void_p
135487637 _ACEOF
135497638
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; }
136047639
136057640 # The cast to long int works around a bug in the HP C Compiler
136067641 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
136077642 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
136087643 # This bug is HP SR number 8606223364.
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; }; }
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; }
139387657 else
139397658 ac_cv_sizeof_size_t=0
139407659 fi
139417660 fi
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; }
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; }
139487665
139497666
139507667
139527669 @%:@define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
139537670 _ACEOF
139547671
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; }
140097672
140107673 # The cast to long int works around a bug in the HP C Compiler
140117674 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
140127675 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
140137676 # This bug is HP SR number 8606223364.
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; }; }
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; }
143437690 else
143447691 ac_cv_sizeof_ptrdiff_t=0
143457692 fi
143467693 fi
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; }
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; }
143537698
143547699
143557700
143587703 _ACEOF
143597704
143607705
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
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
143717712 /* end confdefs.h. */
143727713
143737714 int
144277768 return 0;
144287769 }
144297770 _ACEOF
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
7771 if ac_fn_c_try_compile "$LINENO"; then :
144477772 ac_cv_c_const=yes
144487773 else
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
7774 ac_cv_c_const=no
7775 fi
144557776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
144567777 fi
14457 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14458 echo "${ECHO_T}$ac_cv_c_const" >&6; }
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7779 $as_echo "$ac_cv_c_const" >&6; }
144597780 if test $ac_cv_c_const = no; then
144607781
14461 cat >>confdefs.h <<\_ACEOF
14462 @%:@define const
14463 _ACEOF
14464
14465 fi
14466
14467
14468
14469
7782 $as_echo "@%:@define const /**/" >>confdefs.h
7783
7784 fi
144707785
144717786 for ac_func in memcmp memcpy memmove memset
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
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 :
145577791 cat >>confdefs.h <<_ACEOF
14558 @%:@define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7792 @%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
145597793 _ACEOF
145607794
145617795 fi
145627796 done
145637797
145647798
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
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
145697803 else
145707804
14571 cat >conftest.$ac_ext <<_ACEOF
14572 /* confdefs.h. */
14573 _ACEOF
14574 cat confdefs.h >>conftest.$ac_ext
14575 cat >>conftest.$ac_ext <<_ACEOF
7805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
145767806 /* end confdefs.h. */
145777807
145787808 #include <sys/types.h>
145897819 return 0;
145907820 }
145917821 _ACEOF
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
7822 if ac_fn_c_try_compile "$LINENO"; then :
146097823 ac_cv_struct_semun=yes
146107824 else
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.$ac_ext >&5
14613
14614 ac_cv_struct_semun=no
7825 ac_cv_struct_semun=no
146157826
146167827 fi
14617
146187828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
146197829
146207830
146217831 fi
146227832
146237833
14624 { echo "$as_me:$LINENO: result: $ac_cv_struct_semun" >&5
14625 echo "${ECHO_T}$ac_cv_struct_semun" >&6; }
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_semun" >&5
7835 $as_echo "$ac_cv_struct_semun" >&6; }
146267836 if test "$ac_cv_struct_semun" = "yes"; then
146277837
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
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 :
146377845
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
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
146487852 /* end confdefs.h. */
146497853
146507854 #include <stdio.h>
146627866 }
146637867
146647868 _ACEOF
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
7869 if ac_fn_c_try_run "$LINENO"; then :
146857870
14686 { echo "$as_me:$LINENO: result: yes" >&5
14687 echo "${ECHO_T}yes" >&6; }
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7872 $as_echo "yes" >&6; }
146887873
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
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
147087886
147097887
147107888 #AC_CONFIG_FILES([Makefile])
147377915 case $ac_val in #(
147387916 *${as_nl}*)
147397917 case $ac_var in #(
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;} ;;
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;} ;;
147427920 esac
147437921 case $ac_var in #(
147447922 _ | IFS | as_nl) ;; #(
14745 *) $as_unset $ac_var ;;
7923 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7924 *) { eval $ac_var=; unset $ac_var;} ;;
147467925 esac ;;
147477926 esac
147487927 done
147507929 (set) 2>&1 |
147517930 case $as_nl`(ac_space=' '; set) 2>&1` in #(
147527931 *${as_nl}ac_space=\ *)
14753 # `set' does not quote correctly, so add quotes (double-quote
14754 # substitution turns \\\\ into \\, and sed turns \\ into \).
7932 # `set' does not quote correctly, so add quotes: double-quote
7933 # substitution turns \\\\ into \\, and sed turns \\ into \.
147557934 sed -n \
147567935 "s/'/'\\\\''/g;
147577936 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
147737952 :end' >>confcache
147747953 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
147757954 if test -w "$cache_file"; then
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
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
147807970 else
14781 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14782 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
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;}
147837973 fi
147847974 fi
147857975 rm -f confcache
147927982
147937983 ac_libobjs=
147947984 ac_ltlibobjs=
7985 U=
147957986 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
147967987 # 1. Remove the extension, and $U if already installed.
147977988 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14798 ac_i=`echo "$ac_i" | sed "$ac_script"`
7989 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
147997990 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
148007991 # will be set to the directory where LIBOBJS objects are built.
14801 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14802 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7992 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7993 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
148037994 done
148047995 LIB@&t@OBJS=$ac_libobjs
148057996
148067997 LTLIBOBJS=$ac_ltlibobjs
148077998
148087999
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
148098008 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
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; }; }
8009 as_fn_error $? "conditional \"AMDEP\" was never defined.
8010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148158011 fi
148168012 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
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; }; }
8013 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148228015 fi
148238016 if test -z "${FT2NFDUMP_TRUE}" && test -z "${FT2NFDUMP_FALSE}"; then
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; }; }
8017 as_fn_error $? "conditional \"FT2NFDUMP\" was never defined.
8018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148298019 fi
148308020 if test -z "${FT2NFDUMP_TRUE}" && test -z "${FT2NFDUMP_FALSE}"; then
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; }; }
8021 as_fn_error $? "conditional \"FT2NFDUMP\" was never defined.
8022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148368023 fi
148378024 if test -z "${NFPROFILE_TRUE}" && test -z "${NFPROFILE_FALSE}"; then
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; }; }
8025 as_fn_error $? "conditional \"NFPROFILE\" was never defined.
8026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148438027 fi
148448028 if test -z "${NFPROFILE_TRUE}" && test -z "${NFPROFILE_FALSE}"; then
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; }; }
8029 as_fn_error $? "conditional \"NFPROFILE\" was never defined.
8030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148508031 fi
148518032 if test -z "${NFTRACK_TRUE}" && test -z "${NFTRACK_FALSE}"; then
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; }; }
8033 as_fn_error $? "conditional \"NFTRACK\" was never defined.
8034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148578035 fi
148588036 if test -z "${NFTRACK_TRUE}" && test -z "${NFTRACK_FALSE}"; then
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; }; }
8037 as_fn_error $? "conditional \"NFTRACK\" was never defined.
8038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148648039 fi
148658040 if test -z "${SFLOW_TRUE}" && test -z "${SFLOW_FALSE}"; then
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; }; }
8041 as_fn_error $? "conditional \"SFLOW\" was never defined.
8042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148718043 fi
148728044 if test -z "${READPCAP_TRUE}" && test -z "${READPCAP_FALSE}"; then
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}
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
148818052 ac_clean_files_save=$ac_clean_files
148828053 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14883 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14884 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14885 cat >$CONFIG_STATUS <<_ACEOF
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
148868058 #! $SHELL
148878059 # Generated by $as_me.
148888060 # Run this file to recreate the current configuration.
148928064 debug=false
148938065 ac_cs_recheck=false
148948066 ac_cs_silent=false
8067
148958068 SHELL=\${CONFIG_SHELL-$SHELL}
14896 _ACEOF
14897
14898 cat >>$CONFIG_STATUS <<\_ACEOF
14899 ## --------------------- ##
14900 ## M4sh Initialization. ##
14901 ## --------------------- ##
8069 export SHELL
8070 _ASEOF
8071 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8072 ## -------------------- ##
8073 ## M4sh Initialization. ##
8074 ## -------------------- ##
149028075
149038076 # Be more Bourne compatible
149048077 DUALCASE=1; export DUALCASE # for MKS sh
14905 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8078 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
149068079 emulate sh
149078080 NULLCMD=:
14908 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8081 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
149098082 # is contrary to our usage. Disable this feature.
149108083 alias -g '${1+"$@"}'='"$@"'
149118084 setopt NO_GLOB_SUBST
149128085 else
14913 case `(set -o) 2>/dev/null` in
14914 *posix*) set -o posix ;;
8086 case `(set -o) 2>/dev/null` in @%:@(
8087 *posix*) :
8088 set -o posix ;; @%:@(
8089 *) :
8090 ;;
149158091 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
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
149298132
149308133 # The user is always right.
149318134 if test "${PATH_SEPARATOR+set}" != set; then
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
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 }
149488140 fi
149498141
149508142
149538145 # there to prevent editors from complaining about space-tab.
149548146 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
149558147 # splitting by setting IFS to empty value.)
14956 as_nl='
14957 '
149588148 IFS=" "" $as_nl"
149598149
149608150 # Find who we are. Look in the path if we contain no directory separator.
14961 case $0 in
8151 as_myself=
8152 case $0 in @%:@((
149628153 *[\\/]* ) as_myself=$0 ;;
149638154 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
149648155 for as_dir in $PATH
149658156 do
149668157 IFS=$as_save_IFS
149678158 test -z "$as_dir" && as_dir=.
14968 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14969 done
8159 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8160 done
149708161 IFS=$as_save_IFS
149718162
149728163 ;;
149778168 as_myself=$0
149788169 fi
149798170 if test ! -f "$as_myself"; then
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
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 || :
149878182 done
149888183 PS1='$ '
149898184 PS2='> '
149908185 PS4='+ '
149918186
149928187 # NLS nuisances.
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
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
150028208 fi
15003 done
15004
15005 # Required to use basename.
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
150068276 if expr a : '\(a\)' >/dev/null 2>&1 &&
150078277 test "X`expr 00001 : '.*\(...\)'`" = X001; then
150088278 as_expr=expr
150168286 as_basename=false
150178287 fi
150188288
15019
15020 # Name of the executable.
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
150218295 as_me=`$as_basename -- "$0" ||
150228296 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
150238297 X"$0" : 'X\(//\)$' \| \
150248298 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15025 echo X/"$0" |
8299 $as_echo X/"$0" |
150268300 sed '/^.*\/\([^/][^/]*\)\/*$/{
150278301 s//\1/
150288302 q
150378311 }
150388312 s/.*/./; q'`
150398313
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
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
150938320
150948321 ECHO_C= ECHO_N= ECHO_T=
15095 case `echo -n x` in
8322 case `echo -n x` in @%:@(((((
150968323 -n*)
15097 case `echo 'x\c'` in
8324 case `echo 'xy\c'` in
150988325 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15099 *) ECHO_C='\c';;
8326 xy) ECHO_C='\c';;
8327 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8328 ECHO_T=' ';;
151008329 esac;;
151018330 *)
151028331 ECHO_N='-n';;
151038332 esac
151048333
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
151128334 rm -f conf$$ conf$$.exe conf$$.file
151138335 if test -d conf$$.dir; then
151148336 rm -f conf$$.dir/conf$$.file
151158337 else
151168338 rm -f conf$$.dir
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 ||
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
151278353 as_ln_s='cp -p'
15128 elif ln conf$$.file conf$$ 2>/dev/null; then
15129 as_ln_s=ln
8354 fi
151308355 else
151318356 as_ln_s='cp -p'
151328357 fi
151338358 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
151348359 rmdir conf$$.dir 2>/dev/null
151358360
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
15323 {
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"
8361
8362 @%:@ as_fn_mkdir_p
8363 @%:@ -------------
8364 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
8365 as_fn_mkdir_p ()
8366 {
8367
156988368 case $as_dir in #(
156998369 -*) as_dir=./$as_dir;;
157008370 esac
15701 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8371 test -d "$as_dir" || eval $as_mkdir_p || {
157028372 as_dirs=
157038373 while :; do
157048374 case $as_dir in #(
15705 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8375 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
157068376 *) as_qdir=$as_dir;;
157078377 esac
157088378 as_dirs="'$as_qdir' $as_dirs"
157118381 X"$as_dir" : 'X\(//\)[^/]' \| \
157128382 X"$as_dir" : 'X\(//\)$' \| \
157138383 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15714 echo X"$as_dir" |
8384 $as_echo X"$as_dir" |
157158385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
157168386 s//\1/
157178387 q
157328402 test -d "$as_dir" && break
157338403 done
157348404 test -z "$as_dirs" || eval "mkdir $as_dirs"
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; }; }; }
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.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $, 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.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $
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
157389061 ac_builddir=.
157399062
157409063 case "$ac_dir" in
157419064 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
157429065 *)
15743 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9066 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
157449067 # A ".." for each directory in $ac_dir_suffix.
15745 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9068 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
157469069 case $ac_top_builddir_sub in
157479070 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
157489071 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
157879110 esac
157889111 _ACEOF
157899112
15790 cat >>$CONFIG_STATUS <<\_ACEOF
9113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
157919114 # If the template does not know about datarootdir, expand it.
157929115 # FIXME: This hack should be removed a few years after 2.60.
157939116 ac_datarootdir_hack=; ac_datarootdir_seen=
15794
15795 case `sed -n '/datarootdir/ {
9117 ac_sed_dataroot='
9118 /datarootdir/ {
157969119 p
157979120 q
157989121 }
158009123 /@docdir@/p
158019124 /@infodir@/p
158029125 /@localedir@/p
15803 /@mandir@/p
15804 ' $ac_file_inputs` in
9126 /@mandir@/p'
9127 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
158059128 *datarootdir*) ac_datarootdir_seen=yes;;
158069129 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
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
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
158119134 ac_datarootdir_hack='
158129135 s&@datadir@&$datadir&g
158139136 s&@docdir@&$docdir&g
158149137 s&@infodir@&$infodir&g
158159138 s&@localedir@&$localedir&g
158169139 s&@mandir@&$mandir&g
15817 s&\\\${datarootdir}&$datarootdir&g' ;;
9140 s&\\\${datarootdir}&$datarootdir&g' ;;
158189141 esac
158199142 _ACEOF
158209143
158219144 # Neutralize VPATH when `$srcdir' = `.'.
158229145 # Shell code in configure.ac might set extrasub.
158239146 # FIXME: do we really want to maintain this feature?
15824 cat >>$CONFIG_STATUS <<_ACEOF
15825 sed "$ac_vpsub
9147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9148 ac_sed_extra="$ac_vpsub
158269149 $extrasub
158279150 _ACEOF
15828 cat >>$CONFIG_STATUS <<\_ACEOF
9151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
158299152 :t
158309153 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15831 s&@configure_input@&$configure_input&;t t
9154 s|@configure_input@|$ac_sed_conf_input|;t t
158329155 s&@top_builddir@&$ac_top_builddir_sub&;t t
9156 s&@top_build_prefix@&$ac_top_build_prefix&;t t
158339157 s&@srcdir@&$ac_srcdir&;t t
158349158 s&@abs_srcdir@&$ac_abs_srcdir&;t t
158359159 s&@top_srcdir@&$ac_top_srcdir&;t t
158409164 s&@INSTALL@&$ac_INSTALL&;t t
158419165 s&@MKDIR_P@&$ac_MKDIR_P&;t t
158429166 $ac_datarootdir_hack
15843 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
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
158449170
158459171 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
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"
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"
158549181 case $ac_file in
15855 -) cat "$tmp/out"; rm -f "$tmp/out";;
15856 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
15857 esac
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
158589186 ;;
158599187 :H)
158609188 #
158619189 # CONFIG_HEADER
158629190 #
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
159419191 if test x"$ac_file" != x-; then
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;}
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;}
159479200 else
15948 rm -f $ac_file
15949 mv "$tmp/config.h" $ac_file
9201 rm -f "$ac_file"
9202 mv "$ac_tmp/config.h" "$ac_file" \
9203 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
159509204 fi
159519205 else
15952 echo "/* $configure_input */"
15953 cat "$ac_result"
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
159549209 fi
15955 rm -f "$tmp/out12"
15956 # Compute $ac_file's index in $config_headers.
9210 # Compute "$ac_file"'s index in $config_headers.
9211 _am_arg="$ac_file"
159579212 _am_stamp_count=1
159589213 for _am_header in $config_headers :; do
159599214 case $_am_header in
15960 $ac_file | $ac_file:* )
9215 $_am_arg | $_am_arg:* )
159619216 break ;;
159629217 * )
159639218 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
159649219 esac
159659220 done
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 |
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" |
159729227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
159739228 s//\1/
159749229 q
159889243 s/.*/./; q'`/stamp-h$_am_stamp_count
159899244 ;;
159909245
15991 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
15992 echo "$as_me: executing $ac_file commands" >&6;}
9246 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9247 $as_echo "$as_me: executing $ac_file commands" >&6;}
159939248 ;;
159949249 esac
159959250
159969251
159979252 case $ac_file$ac_mode in
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" ||
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" ||
160109275 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
160119276 X"$mf" : 'X\(//\)[^/]' \| \
160129277 X"$mf" : 'X\(//\)$' \| \
160139278 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16014 echo X"$mf" |
9279 $as_echo X"$mf" |
160159280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
160169281 s//\1/
160179282 q
160299294 q
160309295 }
160319296 s/.*/./; q'`
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" ||
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" ||
160549319 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
160559320 X"$file" : 'X\(//\)[^/]' \| \
160569321 X"$file" : 'X\(//\)$' \| \
160579322 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16058 echo X"$file" |
9323 $as_echo X"$file" |
160599324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
160609325 s//\1/
160619326 q
160739338 q
160749339 }
160759340 s/.*/./; q'`
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
9341 as_dir=$dirpart/$fdir; as_fn_mkdir_p
9342 # echo "creating $dirpart/$file"
9343 echo '# dummy' > "$dirpart/$file"
161129344 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"
161199345 done
16120 done
9346 }
161219347 ;;
161229348
161239349 esac
161249350 done # for ac_tag
161259351
161269352
16127 { (exit 0); exit 0; }
16128 _ACEOF
16129 chmod +x $CONFIG_STATUS
9353 as_fn_exit 0
9354 _ACEOF
161309355 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
161319359
161329360
161339361 # configure is writing to config.log, and then calls config.status.
161489376 exec 5>>config.log
161499377 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
161509378 # would make configure fail if this is the last instruction.
16151 $ac_cs_success || { (exit 1); exit 1; }
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;}
161529384 fi
161539385
161549386
66 '0',
77 1,
88 [
9 '/usr/share/autoconf'
9 '/opt/local/share/autoconf'
1010 ],
1111 [
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',
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',
3132 'configure.in'
3233 ],
3334 {
3940 'AM_INIT_AUTOMAKE' => 1,
4041 'AM_AUTOMAKE_VERSION' => 1,
4142 'AM_MISSING_HAS_RUN' => 1,
43 'AM_SUBST_NOTMAKE' => 1,
4244 'AM_MISSING_PROG' => 1,
4345 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
4446 'AC_DEFUN_ONCE' => 1,
4547 'AM_PROG_INSTALL_STRIP' => 1,
4648 '_m4_warn' => 1,
4749 'AM_SANITY_CHECK' => 1,
50 'AM_SILENT_RULES' => 1,
4851 'include' => 1,
4952 '_AM_PROG_TAR' => 1,
5053 'AM_AUX_DIR_EXPAND' => 1,
5154 'AM_DEP_TRACK' => 1,
5255 '_AM_SET_OPTIONS' => 1,
56 '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
5357 'AM_RUN_LOG' => 1,
54 '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1,
5558 '_AM_IF_OPTION' => 1,
5659 '_AM_SUBST_NOTMAKE' => 1,
60 'm4_pattern_allow' => 1,
5761 '_AM_AUTOCONF_VERSION' => 1,
5862 'AM_PROG_CC_C_O' => 1,
59 'm4_pattern_allow' => 1,
6063 '_AM_MANGLE_OPTION' => 1,
64 'AM_CONDITIONAL' => 1,
6165 'AM_SET_LEADING_DOT' => 1,
62 'AM_CONDITIONAL' => 1,
6366 'AM_SET_DEPDIR' => 1,
6467 '_AM_DEPENDENCIES' => 1,
68 'AM_PROG_INSTALL_SH' => 1,
6569 'm4_include' => 1,
66 'AM_PROG_INSTALL_SH' => 1,
6770 '_AC_AM_CONFIG_HEADER_HOOK' => 1,
6871 'AU_DEFUN' => 1,
6972 'AM_MAKE_INCLUDE' => 1
7376 '1',
7477 1,
7578 [
76 '/usr/share/autoconf'
79 '/opt/local/share/autoconf'
7780 ],
7881 [
79 '/usr/share/autoconf/autoconf/autoconf.m4f',
82 '/opt/local/share/autoconf/autoconf/autoconf.m4f',
8083 'aclocal.m4',
8184 'configure.in'
8285 ],
8588 '_LT_AC_TAGCONFIG' => 1,
8689 'm4_pattern_forbid' => 1,
8790 'AC_INIT' => 1,
91 '_AM_COND_IF' => 1,
8892 'AC_CANONICAL_TARGET' => 1,
8993 'AC_SUBST' => 1,
9094 'AC_CONFIG_LIBOBJ_DIR' => 1,
9296 'AC_CANONICAL_HOST' => 1,
9397 'AC_PROG_LIBTOOL' => 1,
9498 'AM_INIT_AUTOMAKE' => 1,
99 'AM_PATH_GUILE' => 1,
95100 'AC_CONFIG_SUBDIRS' => 1,
96101 'AM_AUTOMAKE_VERSION' => 1,
97102 'LT_CONFIG_LTDL_DIR' => 1,
103 'AC_REQUIRE_AUX_FILE' => 1,
98104 'AC_CONFIG_LINKS' => 1,
99 'AC_REQUIRE_AUX_FILE' => 1,
105 'LT_SUPPORTED_TAG' => 1,
100106 'm4_sinclude' => 1,
101 'LT_SUPPORTED_TAG' => 1,
102107 'AM_MAINTAINER_MODE' => 1,
108 'AM_NLS' => 1,
103109 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
110 'AM_MAKEFILE_INCLUDE' => 1,
104111 '_m4_warn' => 1,
105112 'AM_PROG_CXX_C_O' => 1,
113 '_AM_MAKEFILE_INCLUDE' => 1,
114 '_AM_COND_ENDIF' => 1,
106115 'AM_ENABLE_MULTILIB' => 1,
116 'AM_PROG_MOC' => 1,
117 'AM_SILENT_RULES' => 1,
107118 'AC_CONFIG_FILES' => 1,
108119 'LT_INIT' => 1,
109120 'include' => 1,
121 'AM_PROG_AR' => 1,
110122 'AM_GNU_GETTEXT' => 1,
111123 'AC_LIBSOURCE' => 1,
112124 'AM_PROG_FC_C_O' => 1,
115127 'AH_OUTPUT' => 1,
116128 '_AM_SUBST_NOTMAKE' => 1,
117129 'AC_CONFIG_AUX_DIR' => 1,
130 'm4_pattern_allow' => 1,
118131 'sinclude' => 1,
119132 'AM_PROG_CC_C_O' => 1,
120 'm4_pattern_allow' => 1,
133 'AM_XGETTEXT_OPTION' => 1,
121134 'AC_CANONICAL_SYSTEM' => 1,
122135 'AM_CONDITIONAL' => 1,
123136 'AC_CONFIG_HEADERS' => 1,
124137 'AC_DEFINE_TRACE_LITERAL' => 1,
138 'AM_POT_TOOLS' => 1,
125139 'm4_include' => 1,
140 '_AM_COND_ELSE' => 1,
126141 'AC_SUBST_TRACE' => 1
127142 }
128143 ], 'Autom4te::Request' )
0 m4trace:/usr/bin/../share/aclocal-1.10/amversion.m4:20: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.10'
0 m4trace:/opt/local/share/aclocal-1.11/amversion.m4:14: -1- AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11'
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.10], [],
3 m4_if([$1], [1.11.1], [],
44 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
55 ])
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.
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.
911 AC_PREREQ([2.50])dnl
1012 # expand $ac_aux_dir to an absolute path
1113 am_aux_dir=`cd $ac_aux_dir && pwd`
1214 ])
13 m4trace:/usr/bin/../share/aclocal-1.10/cond.m4:34: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
15 m4trace:/opt/local/share/aclocal-1.11/cond.m4:15: -1- AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl
1416 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
1517 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
1618 AC_SUBST([$1_TRUE])dnl
1719 AC_SUBST([$1_FALSE])dnl
1820 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
1921 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
22 m4_define([_AM_COND_VALUE_$1], [$2])dnl
2023 if $2; then
2124 $1_TRUE=
2225 $1_FALSE='#'
2932 AC_MSG_ERROR([[conditional "$1" was never defined.
3033 Usually this means the macro was only invoked conditionally.]])
3134 fi])])
32 m4trace:/usr/bin/../share/aclocal-1.10/depend.m4:132: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
35 m4trace:/opt/local/share/aclocal-1.11/depend.m4:28: -1- AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl
3336 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
3437 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
3538 AC_REQUIRE([AM_DEP_TRACK])dnl
6669 if test "$am_compiler_list" = ""; then
6770 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
6871 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
6982 for depmode in $am_compiler_list; do
7083 # Setup a source with many dependencies, because some compilers
7184 # like to wrap large dependency lists on column 80 (with \), and
8396 done
8497 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8598
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"
86105 case $depmode in
106 gcc)
107 # This depmode causes a compiler race in universal mode.
108 test "$am__universal" = false || continue
109 ;;
87110 nosideeffect)
88111 # after this tag, mechanisms are not by side-effect, so they'll
89112 # only be used when explicitly requested
93116 break
94117 fi
95118 ;;
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 ;;
96126 none) break ;;
97127 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.
101128 if depmode=$depmode \
102 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
129 source=sub/conftest.c object=$am__obj \
103130 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
104 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
131 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
105132 >/dev/null 2>conftest.err &&
106133 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
107134 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
108 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
135 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
109136 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
110137 # icc doesn't choke on unknown options, it will just issue warnings
111138 # or remarks (even with -Werror). So we grep stderr for any message
133160 test "x$enable_dependency_tracking" != xno \
134161 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
135162 ])
136 m4trace:/usr/bin/../share/aclocal-1.10/depend.m4:142: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
163 m4trace:/opt/local/share/aclocal-1.11/depend.m4:163: -1- AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
137164 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
138165 ])
139 m4trace:/usr/bin/../share/aclocal-1.10/depend.m4:158: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
166 m4trace:/opt/local/share/aclocal-1.11/depend.m4:171: -1- AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking,
140167 [ --disable-dependency-tracking speeds up one-time build
141168 --enable-dependency-tracking do not reject slow dependency extractors])
142169 if test "x$enable_dependency_tracking" != xno; then
147174 AC_SUBST([AMDEPBACKSLASH])dnl
148175 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
149176 ])
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"
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
187225 done
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],
226 }
227 ])
228 m4trace:/opt/local/share/aclocal-1.11/depout.m4:75: -1- AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles],
191229 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
192230 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
193231 ])
194 m4trace:/usr/bin/../share/aclocal-1.10/init.m4:103: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.60])dnl
232 m4trace:/opt/local/share/aclocal-1.11/init.m4:26: -1- AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl
195233 dnl Autoconf wants to disallow AM_ names. We explicitly allow
196234 dnl the ones we care about.
197235 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
242280 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
243281 AM_MISSING_PROG(AUTOHEADER, autoheader)
244282 AM_MISSING_PROG(MAKEINFO, makeinfo)
245 AM_PROG_INSTALL_SH
246 AM_PROG_INSTALL_STRIP
283 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
284 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
247285 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
248286 # We need awk for the "check" target. The system "awk" is bad on
249287 # some platforms.
251289 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
252290 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
253291 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
254 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
255 [_AM_PROG_TAR([v7])])])
292 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
293 [_AM_PROG_TAR([v7])])])
256294 _AM_IF_OPTION([no-dependencies],,
257295 [AC_PROVIDE_IFELSE([AC_PROG_CC],
258 [_AM_DEPENDENCIES(CC)],
259 [define([AC_PROG_CC],
260 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
296 [_AM_DEPENDENCIES(CC)],
297 [define([AC_PROG_CC],
298 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
261299 AC_PROVIDE_IFELSE([AC_PROG_CXX],
262 [_AM_DEPENDENCIES(CXX)],
263 [define([AC_PROG_CXX],
264 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
300 [_AM_DEPENDENCIES(CXX)],
301 [define([AC_PROG_CXX],
302 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
265303 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
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.
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
272318 _am_stamp_count=1
273319 for _am_header in $config_headers :; do
274320 case $_am_header in
275 $1 | $1:* )
321 $_am_arg | $_am_arg:* )
276322 break ;;
277323 * )
278324 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
279325 esac
280326 done
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"}
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
284337 AC_SUBST(install_sh)])
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
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
286339 mkdir .tst 2>/dev/null
287340 if test -d .tst; then
288341 am__leading_dot=.
291344 fi
292345 rmdir .tst 2>/dev/null
293346 AC_SUBST([am__leading_dot])])
294 m4trace:/usr/bin/../share/aclocal-1.10/make.m4:51: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
347 m4trace:/opt/local/share/aclocal-1.11/make.m4:14: -1- AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make}
295348 cat > confinc << 'END'
296349 am__doit:
297 @echo done
350 @echo this is the am__doit target
298351 .PHONY: am__doit
299352 END
300353 # If we don't find an include directive, just comment out the code.
304357 _am_result=none
305358 # First try GNU make style include.
306359 echo "include confinc" > confmf
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
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
317368 # Now try BSD make style include.
318369 if test "$am__include" = "#"; then
319370 echo '.include "confinc"' > confmf
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
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
325378 fi
326379 AC_SUBST([am__include])
327380 AC_SUBST([am__quote])
328381 AC_MSG_RESULT([$_am_result])
329382 rm -f confinc confmf
330383 ])
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
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
332385 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
333386 AC_REQUIRE_AUX_FILE([compile])dnl
334387 # FIXME: we rely on the cache variable name because
335388 # there is no other way.
336389 set dummy $CC
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
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
339393 # Losing compiler, so override with the script.
340394 # FIXME: It is wrong to rewrite CC.
341395 # But if we don't then we get into trouble of one sort or another.
348402 m4_define([AC_PROG_CC],
349403 [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
350404 ])
351 m4trace:/usr/bin/../share/aclocal-1.10/missing.m4:17: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
405 m4trace:/opt/local/share/aclocal-1.11/missing.m4:14: -1- AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN])
352406 $1=${$1-"${am_missing_run}$2"}
353407 AC_SUBST($1)])
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
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
355409 AC_REQUIRE_AUX_FILE([missing])dnl
356 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
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
357418 # Use eval to expand $SHELL
358419 if eval "$MISSING --run true"; then
359420 am_missing_run="$MISSING --run "
362423 AC_MSG_WARN([`missing' script is too old or missing])
363424 fi
364425 ])
365 m4trace:/usr/bin/../share/aclocal-1.10/mkdirp.m4:26: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
426 m4trace:/opt/local/share/aclocal-1.11/mkdirp.m4:11: -1- AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl
366427 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
367428 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
368429 dnl while keeping a definition of mkdir_p for backward compatibility.
377438 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
378439 esac
379440 ])
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
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
385446 ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
386447 ac_status=$?
387448 echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
388449 (exit $ac_status); }])
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])
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])
390451 # Just in case
391452 sleep 1
392453 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
393467 # Do `set' in a subshell so we don't clobber the current shell's
394468 # arguments. Must try -L first in case configure is actually a
395469 # symlink; some systems play weird games with the mod time of symlinks
396470 # (eg FreeBSD returns the mod time of the symlink's containing
397471 # directory).
398472 if (
399 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
473 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
400474 if test "$[*]" = "X"; then
401475 # -L didn't work.
402 set X `ls -t $srcdir/configure conftest.file`
476 set X `ls -t "$srcdir/configure" conftest.file`
403477 fi
404478 rm -f conftest.file
405479 if test "$[*]" != "X $srcdir/configure conftest.file" \
423497 Check your system clock])
424498 fi
425499 AC_MSG_RESULT(yes)])
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
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
427514 # Installed binaries are usually stripped using `strip' when the user
428515 # run `make install-strip'. However `strip' might not be the right
429516 # tool to use in cross-compilation environments, therefore Automake
434521 fi
435522 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
436523 AC_SUBST([INSTALL_STRIP_PROGRAM])])
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.
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.
439527 AM_MISSING_PROG([AMTAR], [tar])
440528 m4_if([$1], [v7],
441529 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
513601 m4trace:configure.in:6: -1- m4_pattern_forbid([^_?m4_])
514602 m4trace:configure.in:6: -1- m4_pattern_forbid([^dnl$])
515603 m4trace:configure.in:6: -1- m4_pattern_forbid([^_?AS_])
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) $], [])
604 m4trace:configure.in:6: -1- _m4_warn([syntax], [AC_INIT: not a literal: 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $], [])
517605 m4trace:configure.in:6: -1- m4_pattern_allow([^SHELL$])
518606 m4trace:configure.in:6: -1- m4_pattern_allow([^PATH_SEPARATOR$])
519607 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_NAME$])
521609 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_VERSION$])
522610 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_STRING$])
523611 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
612 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_URL$])
524613 m4trace:configure.in:6: -1- m4_pattern_allow([^exec_prefix$])
525614 m4trace:configure.in:6: -1- m4_pattern_allow([^prefix$])
526615 m4trace:configure.in:6: -1- m4_pattern_allow([^program_transform_name$])
548637 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_VERSION$])
549638 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_STRING$])
550639 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
640 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_URL$])
551641 m4trace:configure.in:6: -1- m4_pattern_allow([^DEFS$])
552642 m4trace:configure.in:6: -1- m4_pattern_allow([^ECHO_C$])
553643 m4trace:configure.in:6: -1- m4_pattern_allow([^ECHO_N$])
559649 m4trace:configure.in:9: -1- AM_INIT_AUTOMAKE([])
560650 m4trace:configure.in:9: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
561651 m4trace:configure.in:9: -1- AM_SET_CURRENT_AUTOMAKE_VERSION
562 m4trace:configure.in:9: -1- AM_AUTOMAKE_VERSION([1.10])
563 m4trace:configure.in:9: -1- _AM_AUTOCONF_VERSION([2.61])
652 m4trace:configure.in:9: -1- AM_AUTOMAKE_VERSION([1.11.1])
653 m4trace:configure.in:9: -1- _AM_AUTOCONF_VERSION([2.68])
564654 m4trace:configure.in:9: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
565655 m4trace:configure.in:9: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
566656 m4trace:configure.in:9: -1- m4_pattern_allow([^INSTALL_DATA$])
568658 m4trace:configure.in:9: -1- _AM_SUBST_NOTMAKE([am__isrc])
569659 m4trace:configure.in:9: -1- m4_pattern_allow([^CYGPATH_W$])
570660 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])
576661 m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE$])
577662 m4trace:configure.in:9: -1- m4_pattern_allow([^VERSION$])
578663 m4trace:configure.in:9: -1- _AM_IF_OPTION([no-define], [], [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
599684 m4trace:configure.in:9: -1- m4_pattern_allow([^STRIP$])
600685 m4trace:configure.in:9: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
601686 m4trace:configure.in:9: -1- AM_PROG_MKDIR_P
687 m4trace:configure.in:9: -1- m4_pattern_allow([^MKDIR_P$])
602688 m4trace:configure.in:9: -1- m4_pattern_allow([^mkdir_p$])
603689 m4trace:configure.in:9: -1- m4_pattern_allow([^AWK$])
604690 m4trace:configure.in:9: -1- m4_pattern_allow([^SET_MAKE$])
605691 m4trace:configure.in:9: -1- AM_SET_LEADING_DOT
606692 m4trace:configure.in:9: -1- m4_pattern_allow([^am__leading_dot$])
607693 m4trace:configure.in:9: -1- _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
608 [_AM_PROG_TAR([v7])])])
694 [_AM_PROG_TAR([v7])])])
609695 m4trace:configure.in:9: -2- _AM_MANGLE_OPTION([tar-ustar])
610696 m4trace:configure.in:9: -1- _AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])
611697 m4trace:configure.in:9: -2- _AM_MANGLE_OPTION([tar-pax])
615701 m4trace:configure.in:9: -1- m4_pattern_allow([^am__tar$])
616702 m4trace:configure.in:9: -1- m4_pattern_allow([^am__untar$])
617703 m4trace:configure.in:9: -1- _AM_IF_OPTION([no-dependencies], [], [AC_PROVIDE_IFELSE([AC_PROG_CC],
618 [_AM_DEPENDENCIES(CC)],
619 [define([AC_PROG_CC],
620 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
704 [_AM_DEPENDENCIES(CC)],
705 [define([AC_PROG_CC],
706 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
621707 AC_PROVIDE_IFELSE([AC_PROG_CXX],
622 [_AM_DEPENDENCIES(CXX)],
623 [define([AC_PROG_CXX],
624 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
708 [_AM_DEPENDENCIES(CXX)],
709 [define([AC_PROG_CXX],
710 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
625711 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
626 [_AM_DEPENDENCIES(OBJC)],
627 [define([AC_PROG_OBJC],
628 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
712 [_AM_DEPENDENCIES(OBJC)],
713 [define([AC_PROG_OBJC],
714 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
629715 ])
630716 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])
631719 m4trace:configure.in:12: -1- m4_pattern_allow([^CC$])
632720 m4trace:configure.in:12: -1- m4_pattern_allow([^CFLAGS$])
633721 m4trace:configure.in:12: -1- m4_pattern_allow([^LDFLAGS$])
665753 m4trace:configure.in:12: -1- _AM_SUBST_NOTMAKE([am__fastdepCC_FALSE])
666754 m4trace:configure.in:13: -1- AM_PROG_CC_C_O
667755 m4trace:configure.in:13: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$])
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])
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])
671759 m4trace:configure.in:24: -1- _m4_warn([obsolete], [The macro `ac_cv_prog_gcc' is obsolete.
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...
760 You should run autoupdate.], [../../lib/autoconf/c.m4:436: ac_cv_prog_gcc is expanded from...
673761 configure.in:24: the top level])
674762 m4trace:configure.in:66: -1- m4_pattern_allow([^YACC$])
675763 m4trace:configure.in:66: -1- m4_pattern_allow([^YACC$])
678766 m4trace:configure.in:67: -1- m4_pattern_allow([^LEX_OUTPUT_ROOT$])
679767 m4trace:configure.in:67: -1- m4_pattern_allow([^LEXLIB$])
680768 m4trace:configure.in:67: -1- m4_pattern_allow([^YYTEXT_POINTER$])
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$])
769 m4trace:configure.in:106: -2- m4_pattern_allow([^HAVE_LIBZ$])
685770 m4trace:configure.in:121: -2- AM_CONDITIONAL([FT2NFDUMP], [true])
686771 m4trace:configure.in:121: -2- m4_pattern_allow([^FT2NFDUMP_TRUE$])
687772 m4trace:configure.in:121: -2- m4_pattern_allow([^FT2NFDUMP_FALSE$])
697782 m4trace:configure.in:157: -2- m4_pattern_allow([^NFPROFILE_FALSE$])
698783 m4trace:configure.in:157: -2- _AM_SUBST_NOTMAKE([NFPROFILE_TRUE])
699784 m4trace:configure.in:157: -2- _AM_SUBST_NOTMAKE([NFPROFILE_FALSE])
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])
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])
718802 m4trace:configure.in:190: -2- AM_CONDITIONAL([NFTRACK], [false])
719803 m4trace:configure.in:190: -2- m4_pattern_allow([^NFTRACK_TRUE$])
720804 m4trace:configure.in:190: -2- m4_pattern_allow([^NFTRACK_FALSE$])
721805 m4trace:configure.in:190: -2- _AM_SUBST_NOTMAKE([NFTRACK_TRUE])
722806 m4trace:configure.in:190: -2- _AM_SUBST_NOTMAKE([NFTRACK_FALSE])
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])
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])
733818 m4trace:configure.in:195: -1- AM_CONDITIONAL([SFLOW], [test "$enable_sflow" = yes])
734819 m4trace:configure.in:195: -1- m4_pattern_allow([^SFLOW_TRUE$])
735820 m4trace:configure.in:195: -1- m4_pattern_allow([^SFLOW_FALSE$])
741826 m4trace:configure.in:199: -1- _AM_SUBST_NOTMAKE([READPCAP_TRUE])
742827 m4trace:configure.in:199: -1- _AM_SUBST_NOTMAKE([READPCAP_FALSE])
743828 m4trace:configure.in:203: -2- m4_pattern_allow([^HAVE_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$])
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$])
749834 m4trace:configure.in:217: -1- m4_pattern_allow([^FT_INCLUDES$])
750835 m4trace:configure.in:218: -1- m4_pattern_allow([^FT_LDFLAGS$])
751836 m4trace:configure.in:219: -1- m4_pattern_allow([^LFLAGS$])
837 m4trace:configure.in:223: -1- m4_pattern_allow([^HAVE_GETHOSTBYNAME$])
752838 m4trace:configure.in:223: -1- m4_pattern_allow([^HAVE_LIBNSL$])
753839 m4trace:configure.in:223: -1- m4_pattern_allow([^HAVE_LIBSOCKET$])
840 m4trace:configure.in:224: -1- m4_pattern_allow([^HAVE_SETSOCKOPT$])
754841 m4trace:configure.in:224: -1- m4_pattern_allow([^HAVE_LIBSOCKET$])
755842 m4trace:configure.in:232: -1- m4_pattern_allow([^STDC_HEADERS$])
843 m4trace:configure.in:233: -1- m4_pattern_allow([^HAVE_NAMESER8_COMPAT_H$])
756844 m4trace:configure.in:255: -1- m4_pattern_allow([^FTS_OBJ$])
757845 m4trace:configure.in:259: -1- m4_pattern_allow([^SIZEOF_VOID_P$])
758846 m4trace:configure.in:261: -1- m4_pattern_allow([^const$])
759847 m4trace:configure.in:263: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
848 m4trace:configure.in:263: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
760849 m4trace:configure.in:264: -1- m4_pattern_allow([^pid_t$])
761850 m4trace:configure.in:265: -1- m4_pattern_allow([^size_t$])
762851 m4trace:configure.in:266: -1- m4_pattern_allow([^TM_IN_SYS_TIME$])
763852 m4trace:configure.in:267: -1- m4_pattern_allow([^HAVE__BOOL$])
764853 m4trace:configure.in:267: -1- m4_pattern_allow([^HAVE_STDBOOL_H$])
765854 m4trace:configure.in:270: -1- m4_pattern_allow([^CLOSEDIR_VOID$])
855 m4trace:configure.in:271: -1- m4_pattern_allow([^HAVE_VFORK_H$])
766856 m4trace:configure.in:271: -1- m4_pattern_allow([^HAVE_WORKING_VFORK$])
767857 m4trace:configure.in:271: -1- m4_pattern_allow([^vfork$])
768858 m4trace:configure.in:271: -1- m4_pattern_allow([^HAVE_WORKING_FORK$])
859 m4trace:configure.in:272: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
769860 m4trace:configure.in:272: -1- m4_pattern_allow([^HAVE_MALLOC$])
770861 m4trace:configure.in:272: -1- m4_pattern_allow([^HAVE_MALLOC$])
771862 m4trace:configure.in:272: -1- m4_pattern_allow([^LIB@&t@OBJS$])
772863 m4trace:configure.in:272: -1- m4_pattern_allow([^malloc$])
773864 m4trace:configure.in:273: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$])
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])
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])
783871 m4trace:configure.in:273: -1- m4_pattern_allow([^LIB@&t@OBJS$])
872 m4trace:configure.in:274: -1- m4_pattern_allow([^HAVE_STDLIB_H$])
784873 m4trace:configure.in:274: -1- m4_pattern_allow([^HAVE_REALLOC$])
785874 m4trace:configure.in:274: -1- m4_pattern_allow([^HAVE_REALLOC$])
786875 m4trace:configure.in:274: -1- m4_pattern_allow([^LIB@&t@OBJS$])
790879 m4trace:configure.in:275: -1- m4_pattern_allow([^LIB@&t@OBJS$])
791880 m4trace:configure.in:275: -1- m4_pattern_allow([^HAVE_STAT_EMPTY_STRING_BUG$])
792881 m4trace:configure.in:276: -1- m4_pattern_allow([^HAVE_STRFTIME$])
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$])
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$])
799889 m4trace:configure.in:297: -1- m4_pattern_allow([^ptrdiff_t$])
800890 m4trace:configure.in:298: -1- m4_pattern_allow([^size_t$])
801891 m4trace:configure.in:299: -1- m4_pattern_allow([^SIZEOF_SHORT$])
807897 m4trace:configure.in:305: -1- m4_pattern_allow([^SIZEOF_SIZE_T$])
808898 m4trace:configure.in:306: -1- m4_pattern_allow([^SIZEOF_PTRDIFF_T$])
809899 m4trace:configure.in:307: -1- m4_pattern_allow([^const$])
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])
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])
815905 m4trace:configure.in:329: -1- m4_pattern_allow([^HAVE_SEMUN$])
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$])
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$])
820910 m4trace:configure.in:362: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
821911 You should run autoupdate.], [])
822912 m4trace:configure.in:362: -1- m4_pattern_allow([^LIB@&t@OBJS$])
823913 m4trace:configure.in:362: -1- m4_pattern_allow([^LTLIBOBJS$])
824 m4trace:configure.in:362: -1- _AC_AM_CONFIG_HEADER_HOOK([$ac_file])
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"])
825920 m4trace:configure.in:362: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
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])
0 m4trace:configure.in:6: -1- AC_INIT([nfdump], [1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $], [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.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}])
8 m4trace:configure.in:6: -1- _m4_warn([syntax], [AC_INIT: not a literal: 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $], [])
9 m4trace:configure.in:6: -1- AC_SUBST([SHELL])
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$])
3033 m4trace:configure.in:6: -1- AC_SUBST([exec_prefix], [NONE])
3134 m4trace:configure.in:6: -1- AC_SUBST_TRACE([exec_prefix])
3235 m4trace:configure.in:6: -1- m4_pattern_allow([^exec_prefix$])
98101 m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
99102 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_NAME$])
100103 m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
101 #undef PACKAGE_NAME])
104 @%:@undef PACKAGE_NAME])
102105 m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
103106 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
104107 m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
105 #undef PACKAGE_TARNAME])
108 @%:@undef PACKAGE_TARNAME])
106109 m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
107110 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_VERSION$])
108111 m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
109 #undef PACKAGE_VERSION])
112 @%:@undef PACKAGE_VERSION])
110113 m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
111114 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_STRING$])
112115 m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
113 #undef PACKAGE_STRING])
116 @%:@undef PACKAGE_STRING])
114117 m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
115118 m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
116119 m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
117 #undef PACKAGE_BUGREPORT])
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])
118125 m4trace:configure.in:6: -1- AC_SUBST([DEFS])
119126 m4trace:configure.in:6: -1- AC_SUBST_TRACE([DEFS])
120127 m4trace:configure.in:6: -1- m4_pattern_allow([^DEFS$])
142149 m4trace:configure.in:8: -1- AC_CONFIG_HEADERS([config.h])
143150 m4trace:configure.in:9: -1- AM_INIT_AUTOMAKE([])
144151 m4trace:configure.in:9: -1- m4_pattern_allow([^AM_[A-Z]+FLAGS$])
145 m4trace:configure.in:9: -1- AM_AUTOMAKE_VERSION([1.10])
152 m4trace:configure.in:9: -1- AM_AUTOMAKE_VERSION([1.11.1])
146153 m4trace:configure.in:9: -1- AC_REQUIRE_AUX_FILE([install-sh])
147154 m4trace:configure.in:9: -1- AC_SUBST([INSTALL_PROGRAM])
148155 m4trace:configure.in:9: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
160167 m4trace:configure.in:9: -1- AC_SUBST([CYGPATH_W])
161168 m4trace:configure.in:9: -1- AC_SUBST_TRACE([CYGPATH_W])
162169 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])
168170 m4trace:configure.in:9: -1- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])
169171 m4trace:configure.in:9: -1- AC_SUBST_TRACE([PACKAGE])
170172 m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE$])
174176 m4trace:configure.in:9: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE])
175177 m4trace:configure.in:9: -1- m4_pattern_allow([^PACKAGE$])
176178 m4trace:configure.in:9: -1- AH_OUTPUT([PACKAGE], [/* Name of package */
177 #undef PACKAGE])
179 @%:@undef PACKAGE])
178180 m4trace:configure.in:9: -1- AC_DEFINE_TRACE_LITERAL([VERSION])
179181 m4trace:configure.in:9: -1- m4_pattern_allow([^VERSION$])
180182 m4trace:configure.in:9: -1- AH_OUTPUT([VERSION], [/* Version number of package */
181 #undef VERSION])
183 @%:@undef VERSION])
182184 m4trace:configure.in:9: -1- AC_REQUIRE_AUX_FILE([missing])
183185 m4trace:configure.in:9: -1- AC_SUBST([ACLOCAL])
184186 m4trace:configure.in:9: -1- AC_SUBST_TRACE([ACLOCAL])
205207 m4trace:configure.in:9: -1- AC_SUBST_TRACE([INSTALL_STRIP_PROGRAM])
206208 m4trace:configure.in:9: -1- m4_pattern_allow([^INSTALL_STRIP_PROGRAM$])
207209 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$])
208213 m4trace:configure.in:9: -1- AC_SUBST([mkdir_p], ["$MKDIR_P"])
209214 m4trace:configure.in:9: -1- AC_SUBST_TRACE([mkdir_p])
210215 m4trace:configure.in:9: -1- m4_pattern_allow([^mkdir_p$])
302307 m4trace:configure.in:13: -1- AC_DEFINE_TRACE_LITERAL([NO_MINUS_C_MINUS_O])
303308 m4trace:configure.in:13: -1- m4_pattern_allow([^NO_MINUS_C_MINUS_O$])
304309 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. */
305 #undef NO_MINUS_C_MINUS_O])
310 @%:@undef NO_MINUS_C_MINUS_O])
306311 m4trace:configure.in:13: -1- AC_REQUIRE_AUX_FILE([compile])
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])
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])
310315 m4trace:configure.in:24: -1- _m4_warn([obsolete], [The macro `ac_cv_prog_gcc' is obsolete.
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...
316 You should run autoupdate.], [../../lib/autoconf/c.m4:436: ac_cv_prog_gcc is expanded from...
312317 configure.in:24: the top level])
313318 m4trace:configure.in:66: -1- AC_SUBST([YACC])
314319 m4trace:configure.in:66: -1- AC_SUBST_TRACE([YACC])
331336 m4trace:configure.in:67: -1- AC_DEFINE_TRACE_LITERAL([YYTEXT_POINTER])
332337 m4trace:configure.in:67: -1- m4_pattern_allow([^YYTEXT_POINTER$])
333338 m4trace:configure.in:67: -1- AH_OUTPUT([YYTEXT_POINTER], [/* Define to 1 if `lex\' declares `yytext\' as a `char *\' by default, not a
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$])
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$])
350345 m4trace:configure.in:121: -2- AM_CONDITIONAL([FT2NFDUMP], [true])
351346 m4trace:configure.in:121: -2- AC_SUBST([FT2NFDUMP_TRUE])
352347 m4trace:configure.in:121: -2- AC_SUBST_TRACE([FT2NFDUMP_TRUE])
374369 m4trace:configure.in:157: -2- m4_pattern_allow([^NFPROFILE_FALSE$])
375370 m4trace:configure.in:157: -2- _AM_SUBST_NOTMAKE([NFPROFILE_TRUE])
376371 m4trace:configure.in:157: -2- _AM_SUBST_NOTMAKE([NFPROFILE_FALSE])
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])
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])
438429 m4trace:configure.in:190: -2- AM_CONDITIONAL([NFTRACK], [false])
439430 m4trace:configure.in:190: -2- AC_SUBST([NFTRACK_TRUE])
440431 m4trace:configure.in:190: -2- AC_SUBST_TRACE([NFTRACK_TRUE])
444435 m4trace:configure.in:190: -2- m4_pattern_allow([^NFTRACK_FALSE$])
445436 m4trace:configure.in:190: -2- _AM_SUBST_NOTMAKE([NFTRACK_TRUE])
446437 m4trace:configure.in:190: -2- _AM_SUBST_NOTMAKE([NFTRACK_FALSE])
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])
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])
465458 m4trace:configure.in:195: -1- AM_CONDITIONAL([SFLOW], [test "$enable_sflow" = yes])
466459 m4trace:configure.in:195: -1- AC_SUBST([SFLOW_TRUE])
467460 m4trace:configure.in:195: -1- AC_SUBST_TRACE([SFLOW_TRUE])
483476 m4trace:configure.in:203: -2- AC_DEFINE_TRACE_LITERAL([HAVE_SOCKADDR_SA_LEN])
484477 m4trace:configure.in:203: -2- m4_pattern_allow([^HAVE_SOCKADDR_SA_LEN$])
485478 m4trace:configure.in:203: -2- AH_OUTPUT([HAVE_SOCKADDR_SA_LEN], [/* define if socket address structures have length fields */
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])
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])
507500 m4trace:configure.in:217: -1- AC_SUBST([FT_INCLUDES])
508501 m4trace:configure.in:217: -1- AC_SUBST_TRACE([FT_INCLUDES])
509502 m4trace:configure.in:217: -1- m4_pattern_allow([^FT_INCLUDES$])
514507 m4trace:configure.in:219: -1- AC_SUBST_TRACE([LFLAGS])
515508 m4trace:configure.in:219: -1- m4_pattern_allow([^LFLAGS$])
516509 m4trace:configure.in:223: -1- AH_OUTPUT([HAVE_GETHOSTBYNAME], [/* Define to 1 if you have the `gethostbyname\' function. */
517 #undef HAVE_GETHOSTBYNAME])
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$])
518513 m4trace:configure.in:223: -1- AH_OUTPUT([HAVE_LIBNSL], [/* Define to 1 if you have the `nsl\' library (-lnsl). */
519 #undef HAVE_LIBNSL])
514 @%:@undef HAVE_LIBNSL])
520515 m4trace:configure.in:223: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBNSL])
521516 m4trace:configure.in:223: -1- m4_pattern_allow([^HAVE_LIBNSL$])
522517 m4trace:configure.in:223: -1- AH_OUTPUT([HAVE_LIBSOCKET], [/* Define to 1 if you have the `socket\' library (-lsocket). */
523 #undef HAVE_LIBSOCKET])
518 @%:@undef HAVE_LIBSOCKET])
524519 m4trace:configure.in:223: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSOCKET])
525520 m4trace:configure.in:223: -1- m4_pattern_allow([^HAVE_LIBSOCKET$])
526521 m4trace:configure.in:224: -1- AH_OUTPUT([HAVE_SETSOCKOPT], [/* Define to 1 if you have the `setsockopt\' function. */
527 #undef HAVE_SETSOCKOPT])
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$])
528525 m4trace:configure.in:224: -1- AH_OUTPUT([HAVE_LIBSOCKET], [/* Define to 1 if you have the `socket\' library (-lsocket). */
529 #undef HAVE_LIBSOCKET])
526 @%:@undef HAVE_LIBSOCKET])
530527 m4trace:configure.in:224: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBSOCKET])
531528 m4trace:configure.in:224: -1- m4_pattern_allow([^HAVE_LIBSOCKET$])
532529 m4trace:configure.in:227: -1- AH_OUTPUT([HAVE_FPURGE], [/* Define to 1 if you have the `fpurge\' function. */
533 #undef HAVE_FPURGE])
530 @%:@undef HAVE_FPURGE])
534531 m4trace:configure.in:227: -1- AH_OUTPUT([HAVE___FPURGE], [/* Define to 1 if you have the `__fpurge\' function. */
535 #undef HAVE___FPURGE])
532 @%:@undef HAVE___FPURGE])
536533 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\'.
537534 */
538 #undef HAVE_DIRENT_H])
535 @%:@undef HAVE_DIRENT_H])
539536 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\'.
540537 */
541 #undef HAVE_SYS_NDIR_H])
538 @%:@undef HAVE_SYS_NDIR_H])
542539 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\'.
543540 */
544 #undef HAVE_SYS_DIR_H])
541 @%:@undef HAVE_SYS_DIR_H])
545542 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\'. */
546 #undef HAVE_NDIR_H])
543 @%:@undef HAVE_NDIR_H])
547544 m4trace:configure.in:232: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
548545 m4trace:configure.in:232: -1- m4_pattern_allow([^STDC_HEADERS$])
549546 m4trace:configure.in:232: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
550 #undef STDC_HEADERS])
547 @%:@undef STDC_HEADERS])
551548 m4trace:configure.in:233: -1- AH_OUTPUT([HAVE_NAMESER8_COMPAT_H], [/* Define to 1 if you have the <nameser8_compat.h> header file. */
552 #undef HAVE_NAMESER8_COMPAT_H])
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$])
553552 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_ARPA_INET_H], [/* Define to 1 if you have the <arpa/inet.h> header file. */
554 #undef HAVE_ARPA_INET_H])
553 @%:@undef HAVE_ARPA_INET_H])
555554 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_FCNTL_H], [/* Define to 1 if you have the <fcntl.h> header file. */
556 #undef HAVE_FCNTL_H])
555 @%:@undef HAVE_FCNTL_H])
557556 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_NETINET_IN_H], [/* Define to 1 if you have the <netinet/in.h> header file. */
558 #undef HAVE_NETINET_IN_H])
557 @%:@undef HAVE_NETINET_IN_H])
559558 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_FTS_H], [/* Define to 1 if you have the <fts.h> header file. */
560 #undef HAVE_FTS_H])
559 @%:@undef HAVE_FTS_H])
561560 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
562 #undef HAVE_STDINT_H])
561 @%:@undef HAVE_STDINT_H])
563562 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
564 #undef HAVE_STDLIB_H])
563 @%:@undef HAVE_STDLIB_H])
565564 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_STDDEF_H], [/* Define to 1 if you have the <stddef.h> header file. */
566 #undef HAVE_STDDEF_H])
565 @%:@undef HAVE_STDDEF_H])
567566 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
568 #undef HAVE_STRING_H])
567 @%:@undef HAVE_STRING_H])
569568 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_SYS_SOCKET_H], [/* Define to 1 if you have the <sys/socket.h> header file. */
570 #undef HAVE_SYS_SOCKET_H])
569 @%:@undef HAVE_SYS_SOCKET_H])
571570 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_SYSLOG_H], [/* Define to 1 if you have the <syslog.h> header file. */
572 #undef HAVE_SYSLOG_H])
571 @%:@undef HAVE_SYSLOG_H])
573572 m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
574 #undef HAVE_UNISTD_H])
573 @%:@undef HAVE_UNISTD_H])
575574 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. */
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])
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])
587586 m4trace:configure.in:255: -1- AC_SUBST([FTS_OBJ])
588587 m4trace:configure.in:255: -1- AC_SUBST_TRACE([FTS_OBJ])
589588 m4trace:configure.in:255: -1- m4_pattern_allow([^FTS_OBJ$])
590589 m4trace:configure.in:259: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_VOID_P])
591590 m4trace:configure.in:259: -1- m4_pattern_allow([^SIZEOF_VOID_P$])
592591 m4trace:configure.in:259: -1- AH_OUTPUT([SIZEOF_VOID_P], [/* The size of `void *\', as computed by sizeof. */
593 #undef SIZEOF_VOID_P])
592 @%:@undef SIZEOF_VOID_P])
594593 m4trace:configure.in:261: -1- AC_DEFINE_TRACE_LITERAL([const])
595594 m4trace:configure.in:261: -1- m4_pattern_allow([^const$])
596595 m4trace:configure.in:261: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
597 #undef const])
596 @%:@undef const])
598597 m4trace:configure.in:262: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler
599598 calls it, or to nothing if \'inline\' is not supported under any name. */
600599 #ifndef __cplusplus
601600 #undef inline
602601 #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])
603613 m4trace:configure.in:263: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
604614 m4trace:configure.in:263: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
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])
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])
608619 m4trace:configure.in:264: -1- AC_DEFINE_TRACE_LITERAL([pid_t])
609620 m4trace:configure.in:264: -1- m4_pattern_allow([^pid_t$])
610621 m4trace:configure.in:264: -1- AH_OUTPUT([pid_t], [/* Define to `int\' if <sys/types.h> does not define. */
611 #undef pid_t])
622 @%:@undef pid_t])
612623 m4trace:configure.in:265: -1- AC_DEFINE_TRACE_LITERAL([size_t])
613624 m4trace:configure.in:265: -1- m4_pattern_allow([^size_t$])
614625 m4trace:configure.in:265: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
615 #undef size_t])
626 @%:@undef size_t])
616627 m4trace:configure.in:266: -1- AC_DEFINE_TRACE_LITERAL([TM_IN_SYS_TIME])
617628 m4trace:configure.in:266: -1- m4_pattern_allow([^TM_IN_SYS_TIME$])
618629 m4trace:configure.in:266: -1- AH_OUTPUT([TM_IN_SYS_TIME], [/* Define to 1 if your <sys/time.h> declares `struct tm\'. */
619 #undef TM_IN_SYS_TIME])
630 @%:@undef TM_IN_SYS_TIME])
620631 m4trace:configure.in:267: -1- AC_DEFINE_TRACE_LITERAL([HAVE__BOOL])
621632 m4trace:configure.in:267: -1- m4_pattern_allow([^HAVE__BOOL$])
622633 m4trace:configure.in:267: -1- AH_OUTPUT([HAVE__BOOL], [/* Define to 1 if the system has the type `_Bool\'. */
623 #undef HAVE__BOOL])
634 @%:@undef HAVE__BOOL])
624635 m4trace:configure.in:267: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STDBOOL_H])
625636 m4trace:configure.in:267: -1- m4_pattern_allow([^HAVE_STDBOOL_H$])
626637 m4trace:configure.in:267: -1- AH_OUTPUT([HAVE_STDBOOL_H], [/* Define to 1 if stdbool.h conforms to C99. */
627 #undef HAVE_STDBOOL_H])
638 @%:@undef HAVE_STDBOOL_H])
628639 m4trace:configure.in:270: -1- AC_DEFINE_TRACE_LITERAL([CLOSEDIR_VOID])
629640 m4trace:configure.in:270: -1- m4_pattern_allow([^CLOSEDIR_VOID$])
630641 m4trace:configure.in:270: -1- AH_OUTPUT([CLOSEDIR_VOID], [/* Define to 1 if the `closedir\' function returns void instead of `int\'. */
631 #undef CLOSEDIR_VOID])
642 @%:@undef CLOSEDIR_VOID])
632643 m4trace:configure.in:271: -1- AH_OUTPUT([HAVE_VFORK_H], [/* Define to 1 if you have the <vfork.h> header file. */
633 #undef HAVE_VFORK_H])
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$])
634647 m4trace:configure.in:271: -1- AH_OUTPUT([HAVE_FORK], [/* Define to 1 if you have the `fork\' function. */
635 #undef HAVE_FORK])
648 @%:@undef HAVE_FORK])
636649 m4trace:configure.in:271: -1- AH_OUTPUT([HAVE_VFORK], [/* Define to 1 if you have the `vfork\' function. */
637 #undef HAVE_VFORK])
650 @%:@undef HAVE_VFORK])
638651 m4trace:configure.in:271: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_VFORK])
639652 m4trace:configure.in:271: -1- m4_pattern_allow([^HAVE_WORKING_VFORK$])
640653 m4trace:configure.in:271: -1- AH_OUTPUT([HAVE_WORKING_VFORK], [/* Define to 1 if `vfork\' works. */
641 #undef HAVE_WORKING_VFORK])
654 @%:@undef HAVE_WORKING_VFORK])
642655 m4trace:configure.in:271: -1- AC_DEFINE_TRACE_LITERAL([vfork])
643656 m4trace:configure.in:271: -1- m4_pattern_allow([^vfork$])
644657 m4trace:configure.in:271: -1- AH_OUTPUT([vfork], [/* Define as `fork\' if `vfork\' does not work. */
645 #undef vfork])
658 @%:@undef vfork])
646659 m4trace:configure.in:271: -1- AC_DEFINE_TRACE_LITERAL([HAVE_WORKING_FORK])
647660 m4trace:configure.in:271: -1- m4_pattern_allow([^HAVE_WORKING_FORK$])
648661 m4trace:configure.in:271: -1- AH_OUTPUT([HAVE_WORKING_FORK], [/* Define to 1 if `fork\' works. */
649 #undef HAVE_WORKING_FORK])
662 @%:@undef HAVE_WORKING_FORK])
650663 m4trace:configure.in:272: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
651 #undef HAVE_STDLIB_H])
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$])
652667 m4trace:configure.in:272: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
653668 m4trace:configure.in:272: -1- m4_pattern_allow([^HAVE_MALLOC$])
654669 m4trace:configure.in:272: -1- AH_OUTPUT([HAVE_MALLOC], [/* Define to 1 if your system has a GNU libc compatible `malloc\' function, and
655670 to 0 otherwise. */
656 #undef HAVE_MALLOC])
671 @%:@undef HAVE_MALLOC])
657672 m4trace:configure.in:272: -1- AC_DEFINE_TRACE_LITERAL([HAVE_MALLOC])
658673 m4trace:configure.in:272: -1- m4_pattern_allow([^HAVE_MALLOC$])
659 m4trace:configure.in:272: -1- AC_LIBSOURCE([malloc.c])
660674 m4trace:configure.in:272: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS malloc.$ac_objext"])
661675 m4trace:configure.in:272: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
662676 m4trace:configure.in:272: -1- m4_pattern_allow([^LIB@&t@OBJS$])
677 m4trace:configure.in:272: -1- AC_LIBSOURCE([malloc.c])
663678 m4trace:configure.in:272: -1- AC_DEFINE_TRACE_LITERAL([malloc])
664679 m4trace:configure.in:272: -1- m4_pattern_allow([^malloc$])
665680 m4trace:configure.in:272: -1- AH_OUTPUT([malloc], [/* Define to rpl_malloc if the replacement function should be used. */
666 #undef malloc])
681 @%:@undef malloc])
667682 m4trace:configure.in:273: -1- AC_DEFINE_TRACE_LITERAL([TIME_WITH_SYS_TIME])
668683 m4trace:configure.in:273: -1- m4_pattern_allow([^TIME_WITH_SYS_TIME$])
669684 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>. */
670 #undef TIME_WITH_SYS_TIME])
685 @%:@undef TIME_WITH_SYS_TIME])
671686 m4trace:configure.in:273: -1- AH_OUTPUT([HAVE_SYS_TIME_H], [/* Define to 1 if you have the <sys/time.h> header file. */
672 #undef HAVE_SYS_TIME_H])
687 @%:@undef HAVE_SYS_TIME_H])
673688 m4trace:configure.in:273: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
674 #undef HAVE_UNISTD_H])
689 @%:@undef HAVE_UNISTD_H])
675690 m4trace:configure.in:273: -1- AH_OUTPUT([HAVE_ALARM], [/* Define to 1 if you have the `alarm\' function. */
676 #undef HAVE_ALARM])
677 m4trace:configure.in:273: -1- AC_LIBSOURCE([mktime.c])
691 @%:@undef HAVE_ALARM])
678692 m4trace:configure.in:273: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS mktime.$ac_objext"])
679693 m4trace:configure.in:273: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
680694 m4trace:configure.in:273: -1- m4_pattern_allow([^LIB@&t@OBJS$])
695 m4trace:configure.in:273: -1- AC_LIBSOURCE([mktime.c])
681696 m4trace:configure.in:274: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
682 #undef HAVE_STDLIB_H])
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$])
683700 m4trace:configure.in:274: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
684701 m4trace:configure.in:274: -1- m4_pattern_allow([^HAVE_REALLOC$])
685702 m4trace:configure.in:274: -1- AH_OUTPUT([HAVE_REALLOC], [/* Define to 1 if your system has a GNU libc compatible `realloc\' function,
686703 and to 0 otherwise. */
687 #undef HAVE_REALLOC])
704 @%:@undef HAVE_REALLOC])
688705 m4trace:configure.in:274: -1- AC_DEFINE_TRACE_LITERAL([HAVE_REALLOC])
689706 m4trace:configure.in:274: -1- m4_pattern_allow([^HAVE_REALLOC$])
690 m4trace:configure.in:274: -1- AC_LIBSOURCE([realloc.c])
691707 m4trace:configure.in:274: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS realloc.$ac_objext"])
692708 m4trace:configure.in:274: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
693709 m4trace:configure.in:274: -1- m4_pattern_allow([^LIB@&t@OBJS$])
710 m4trace:configure.in:274: -1- AC_LIBSOURCE([realloc.c])
694711 m4trace:configure.in:274: -1- AC_DEFINE_TRACE_LITERAL([realloc])
695712 m4trace:configure.in:274: -1- m4_pattern_allow([^realloc$])
696713 m4trace:configure.in:274: -1- AH_OUTPUT([realloc], [/* Define to rpl_realloc if the replacement function should be used. */
697 #undef realloc])
714 @%:@undef realloc])
698715 m4trace:configure.in:275: -1- AC_DEFINE_TRACE_LITERAL([LSTAT_FOLLOWS_SLASHED_SYMLINK])
699716 m4trace:configure.in:275: -1- m4_pattern_allow([^LSTAT_FOLLOWS_SLASHED_SYMLINK$])
700717 m4trace:configure.in:275: -1- AH_OUTPUT([LSTAT_FOLLOWS_SLASHED_SYMLINK], [/* Define to 1 if `lstat\' dereferences a symlink specified with a trailing
701718 slash. */
702 #undef LSTAT_FOLLOWS_SLASHED_SYMLINK])
703 m4trace:configure.in:275: -1- AC_LIBSOURCE([lstat.c])
719 @%:@undef LSTAT_FOLLOWS_SLASHED_SYMLINK])
704720 m4trace:configure.in:275: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS lstat.$ac_objext"])
705721 m4trace:configure.in:275: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
706722 m4trace:configure.in:275: -1- m4_pattern_allow([^LIB@&t@OBJS$])
707 m4trace:configure.in:275: -1- AC_LIBSOURCE([stat.c])
723 m4trace:configure.in:275: -1- AC_LIBSOURCE([lstat.c])
708724 m4trace:configure.in:275: -1- AC_SUBST([LIB@&t@OBJS], ["$LIB@&t@OBJS stat.$ac_objext"])
709725 m4trace:configure.in:275: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
710726 m4trace:configure.in:275: -1- m4_pattern_allow([^LIB@&t@OBJS$])
727 m4trace:configure.in:275: -1- AC_LIBSOURCE([stat.c])
711728 m4trace:configure.in:275: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STAT_EMPTY_STRING_BUG])
712729 m4trace:configure.in:275: -1- m4_pattern_allow([^HAVE_STAT_EMPTY_STRING_BUG$])
713730 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
714731 zero-length file name argument. */
715 #undef HAVE_STAT_EMPTY_STRING_BUG])
732 @%:@undef HAVE_STAT_EMPTY_STRING_BUG])
716733 m4trace:configure.in:276: -1- AH_OUTPUT([HAVE_STRFTIME], [/* Define to 1 if you have the `strftime\' function. */
717 #undef HAVE_STRFTIME])
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$])
718737 m4trace:configure.in:276: -1- AC_DEFINE_TRACE_LITERAL([HAVE_STRFTIME])
719738 m4trace:configure.in:276: -1- m4_pattern_allow([^HAVE_STRFTIME$])
720739 m4trace:configure.in:277: -1- AH_OUTPUT([HAVE_INET_NTOA], [/* Define to 1 if you have the `inet_ntoa\' function. */
721 #undef HAVE_INET_NTOA])
740 @%:@undef HAVE_INET_NTOA])
722741 m4trace:configure.in:277: -1- AH_OUTPUT([HAVE_SOCKET], [/* Define to 1 if you have the `socket\' function. */
723 #undef HAVE_SOCKET])
742 @%:@undef HAVE_SOCKET])
724743 m4trace:configure.in:277: -1- AH_OUTPUT([HAVE_STRCHR], [/* Define to 1 if you have the `strchr\' function. */
725 #undef HAVE_STRCHR])
744 @%:@undef HAVE_STRCHR])
726745 m4trace:configure.in:277: -1- AH_OUTPUT([HAVE_STRDUP], [/* Define to 1 if you have the `strdup\' function. */
727 #undef HAVE_STRDUP])
746 @%:@undef HAVE_STRDUP])
728747 m4trace:configure.in:277: -1- AH_OUTPUT([HAVE_STRERROR], [/* Define to 1 if you have the `strerror\' function. */
729 #undef HAVE_STRERROR])
748 @%:@undef HAVE_STRERROR])
730749 m4trace:configure.in:277: -1- AH_OUTPUT([HAVE_STRRCHR], [/* Define to 1 if you have the `strrchr\' function. */
731 #undef HAVE_STRRCHR])
750 @%:@undef HAVE_STRRCHR])
732751 m4trace:configure.in:277: -1- AH_OUTPUT([HAVE_STRSTR], [/* Define to 1 if you have the `strstr\' function. */
733 #undef HAVE_STRSTR])
752 @%:@undef HAVE_STRSTR])
734753 m4trace:configure.in:277: -1- AH_OUTPUT([HAVE_SCANDIR], [/* Define to 1 if you have the `scandir\' function. */
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$])
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$])
760779 m4trace:configure.in:297: -1- AC_DEFINE_TRACE_LITERAL([ptrdiff_t])
761780 m4trace:configure.in:297: -1- m4_pattern_allow([^ptrdiff_t$])
762781 m4trace:configure.in:297: -1- AH_OUTPUT([ptrdiff_t], [/* Define to `long\' if <sys/types.h> does not define. */
763 #undef ptrdiff_t])
782 @%:@undef ptrdiff_t])
764783 m4trace:configure.in:298: -1- AC_DEFINE_TRACE_LITERAL([size_t])
765784 m4trace:configure.in:298: -1- m4_pattern_allow([^size_t$])
766785 m4trace:configure.in:298: -1- AH_OUTPUT([size_t], [/* Define to `unsigned int\' if <sys/types.h> does not define. */
767 #undef size_t])
786 @%:@undef size_t])
768787 m4trace:configure.in:299: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_SHORT])
769788 m4trace:configure.in:299: -1- m4_pattern_allow([^SIZEOF_SHORT$])
770789 m4trace:configure.in:299: -1- AH_OUTPUT([SIZEOF_SHORT], [/* The size of `short\', as computed by sizeof. */
771 #undef SIZEOF_SHORT])
790 @%:@undef SIZEOF_SHORT])
772791 m4trace:configure.in:300: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_INT])
773792 m4trace:configure.in:300: -1- m4_pattern_allow([^SIZEOF_INT$])
774793 m4trace:configure.in:300: -1- AH_OUTPUT([SIZEOF_INT], [/* The size of `int\', as computed by sizeof. */
775 #undef SIZEOF_INT])
794 @%:@undef SIZEOF_INT])
776795 m4trace:configure.in:301: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG])
777796 m4trace:configure.in:301: -1- m4_pattern_allow([^SIZEOF_LONG$])
778797 m4trace:configure.in:301: -1- AH_OUTPUT([SIZEOF_LONG], [/* The size of `long\', as computed by sizeof. */
779 #undef SIZEOF_LONG])
798 @%:@undef SIZEOF_LONG])
780799 m4trace:configure.in:302: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_LONG_LONG])
781800 m4trace:configure.in:302: -1- m4_pattern_allow([^SIZEOF_LONG_LONG$])
782801 m4trace:configure.in:302: -1- AH_OUTPUT([SIZEOF_LONG_LONG], [/* The size of `long long\', as computed by sizeof. */
783 #undef SIZEOF_LONG_LONG])
802 @%:@undef SIZEOF_LONG_LONG])
784803 m4trace:configure.in:303: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF___INT64])
785804 m4trace:configure.in:303: -1- m4_pattern_allow([^SIZEOF___INT64$])
786805 m4trace:configure.in:303: -1- AH_OUTPUT([SIZEOF___INT64], [/* The size of `__int64\', as computed by sizeof. */
787 #undef SIZEOF___INT64])
806 @%:@undef SIZEOF___INT64])
788807 m4trace:configure.in:304: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_VOID_P])
789808 m4trace:configure.in:304: -1- m4_pattern_allow([^SIZEOF_VOID_P$])
790809 m4trace:configure.in:304: -1- AH_OUTPUT([SIZEOF_VOID_P], [/* The size of `void *\', as computed by sizeof. */
791 #undef SIZEOF_VOID_P])
810 @%:@undef SIZEOF_VOID_P])
792811 m4trace:configure.in:305: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_SIZE_T])
793812 m4trace:configure.in:305: -1- m4_pattern_allow([^SIZEOF_SIZE_T$])
794813 m4trace:configure.in:305: -1- AH_OUTPUT([SIZEOF_SIZE_T], [/* The size of `size_t\', as computed by sizeof. */
795 #undef SIZEOF_SIZE_T])
814 @%:@undef SIZEOF_SIZE_T])
796815 m4trace:configure.in:306: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_PTRDIFF_T])
797816 m4trace:configure.in:306: -1- m4_pattern_allow([^SIZEOF_PTRDIFF_T$])
798817 m4trace:configure.in:306: -1- AH_OUTPUT([SIZEOF_PTRDIFF_T], [/* The size of `ptrdiff_t\', as computed by sizeof. */
799 #undef SIZEOF_PTRDIFF_T])
818 @%:@undef SIZEOF_PTRDIFF_T])
800819 m4trace:configure.in:307: -1- AC_DEFINE_TRACE_LITERAL([const])
801820 m4trace:configure.in:307: -1- m4_pattern_allow([^const$])
802821 m4trace:configure.in:307: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */
803 #undef const])
822 @%:@undef const])
804823 m4trace:configure.in:308: -1- AH_OUTPUT([HAVE_MEMCMP], [/* Define to 1 if you have the `memcmp\' function. */
805 #undef HAVE_MEMCMP])
824 @%:@undef HAVE_MEMCMP])
806825 m4trace:configure.in:308: -1- AH_OUTPUT([HAVE_MEMCPY], [/* Define to 1 if you have the `memcpy\' function. */
807 #undef HAVE_MEMCPY])
826 @%:@undef HAVE_MEMCPY])
808827 m4trace:configure.in:308: -1- AH_OUTPUT([HAVE_MEMMOVE], [/* Define to 1 if you have the `memmove\' function. */
809 #undef HAVE_MEMMOVE])
828 @%:@undef HAVE_MEMMOVE])
810829 m4trace:configure.in:308: -1- AH_OUTPUT([HAVE_MEMSET], [/* Define to 1 if you have the `memset\' function. */
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])
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])
817836 m4trace:configure.in:329: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SEMUN])
818837 m4trace:configure.in:329: -1- m4_pattern_allow([^HAVE_SEMUN$])
819838 m4trace:configure.in:329: -1- AH_OUTPUT([HAVE_SEMUN], [/* Define if sys/sem.h defines struct semun */
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])
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])
828847 m4trace:configure.in:362: -1- AC_CONFIG_FILES([Makefile bin/Makefile man/Makefile])
829848 m4trace:configure.in:362: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
830849 You should run autoupdate.], [])
834853 m4trace:configure.in:362: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
835854 m4trace:configure.in:362: -1- AC_SUBST_TRACE([LTLIBOBJS])
836855 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])
837865 m4trace:configure.in:362: -1- AC_SUBST_TRACE([top_builddir])
866 m4trace:configure.in:362: -1- AC_SUBST_TRACE([top_build_prefix])
838867 m4trace:configure.in:362: -1- AC_SUBST_TRACE([srcdir])
839868 m4trace:configure.in:362: -1- AC_SUBST_TRACE([abs_srcdir])
840869 m4trace:configure.in:362: -1- AC_SUBST_TRACE([top_srcdir])
4040 collector = collector.c collector.h
4141 nfv1 = netflow_v1.c netflow_v1.h
4242 nfv9 = netflow_v9.c netflow_v9.h
43 ipfix = ipfix.c ipfix.h
4344 nfv5v7 = netflow_v5_v7.c netflow_v5_v7.h
4445 nfstatfile = nfstatfile.c nfstatfile.h
4546 nflowcache = nflowcache.c nflowcache.h
6566
6667 nfcapd_SOURCES = nfcapd.c \
6768 $(common) $(util) $(filelzo) $(nflist) $(nfstatfile) $(launch) \
68 $(nfnet) $(collector) $(nfv1) $(nfv9) $(nfv5v7) $(bookkeeper) $(expire)
69 $(nfnet) $(collector) $(nfv1) $(nfv5v7) $(nfv9) $(ipfix) $(bookkeeper) $(expire)
6970
7071 if READPCAP
7172 nfcapd_CFLAGS = -DPCAP
0 # Makefile.in generated by automake 1.10 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
5 # Inc.
56 # This Makefile.in is free software; the Free Software Foundation
67 # gives unlimited permission to copy and/or distribute it,
78 # with or without modifications, as long as this notice is preserved.
1516
1617 VPATH = @srcdir@
1718 pkgdatadir = $(datadir)/@PACKAGE@
19 pkgincludedir = $(includedir)/@PACKAGE@
1820 pkglibdir = $(libdir)/@PACKAGE@
19 pkgincludedir = $(includedir)/@PACKAGE@
21 pkglibexecdir = $(libexecdir)/@PACKAGE@
2022 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
2123 install_sh_DATA = $(install_sh) -c -m 644
2224 install_sh_PROGRAM = $(install_sh) -c
5052 mkinstalldirs = $(install_sh) -d
5153 CONFIG_HEADER = $(top_builddir)/config.h
5254 CONFIG_CLEAN_FILES =
55 CONFIG_CLEAN_VPATH_FILES =
5356 @SFLOW_TRUE@am__EXEEXT_1 = sfcapd$(EXEEXT)
5457 @NFPROFILE_TRUE@am__EXEEXT_2 = nfprofile$(EXEEXT)
5558 @NFTRACK_TRUE@am__EXEEXT_3 = nftrack$(EXEEXT)
5659 @FT2NFDUMP_TRUE@am__EXEEXT_4 = ft2nfdump$(EXEEXT)
5760 am__installdirs = "$(DESTDIR)$(bindir)"
58 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
5961 PROGRAMS = $(bin_PROGRAMS)
6062 am__ft2nfdump_SOURCES_DIST = ft2nfdump.c nf_common.c nf_common.h \
6163 version.h minilzo.c minilzo.h lzoconf.h lzodefs.h nffile.c \
8688 nffile.h nfx.c nfx.h nfxstat.h nfxstat.c flist.c flist.h \
8789 fts_compat.c fts_compat.h nfstatfile.c nfstatfile.h launch.c \
8890 launch.h nfnet.c nfnet.h collector.c collector.h netflow_v1.c \
89 netflow_v1.h netflow_v9.c netflow_v9.h netflow_v5_v7.c \
90 netflow_v5_v7.h bookkeeper.c bookkeeper.h expire.c expire.h \
91 pcap_reader.c pcap_reader.h
91 netflow_v1.h netflow_v5_v7.c netflow_v5_v7.h netflow_v9.c \
92 netflow_v9.h ipfix.c ipfix.h bookkeeper.c bookkeeper.h \
93 expire.c expire.h pcap_reader.c pcap_reader.h
9294 am__objects_8 = nfcapd-nf_common.$(OBJEXT)
9395 am__objects_9 = nfcapd-util.$(OBJEXT)
9496 am__objects_10 = nfcapd-minilzo.$(OBJEXT) nfcapd-nffile.$(OBJEXT) \
99101 am__objects_14 = nfcapd-nfnet.$(OBJEXT)
100102 am__objects_15 = nfcapd-collector.$(OBJEXT)
101103 am__objects_16 = nfcapd-netflow_v1.$(OBJEXT)
102 am__objects_17 = nfcapd-netflow_v9.$(OBJEXT)
103 am__objects_18 = nfcapd-netflow_v5_v7.$(OBJEXT)
104 am__objects_19 = nfcapd-bookkeeper.$(OBJEXT)
105 am__objects_20 = nfcapd-expire.$(OBJEXT)
106 @READPCAP_TRUE@am__objects_21 = nfcapd-pcap_reader.$(OBJEXT)
104 am__objects_17 = nfcapd-netflow_v5_v7.$(OBJEXT)
105 am__objects_18 = nfcapd-netflow_v9.$(OBJEXT)
106 am__objects_19 = nfcapd-ipfix.$(OBJEXT)
107 am__objects_20 = nfcapd-bookkeeper.$(OBJEXT)
108 am__objects_21 = nfcapd-expire.$(OBJEXT)
109 @READPCAP_TRUE@am__objects_22 = nfcapd-pcap_reader.$(OBJEXT)
107110 am_nfcapd_OBJECTS = nfcapd-nfcapd.$(OBJEXT) $(am__objects_8) \
108111 $(am__objects_9) $(am__objects_10) $(am__objects_11) \
109112 $(am__objects_12) $(am__objects_13) $(am__objects_14) \
110113 $(am__objects_15) $(am__objects_16) $(am__objects_17) \
111114 $(am__objects_18) $(am__objects_19) $(am__objects_20) \
112 $(am__objects_21)
115 $(am__objects_21) $(am__objects_22)
113116 nfcapd_OBJECTS = $(am_nfcapd_OBJECTS)
114117 nfcapd_DEPENDENCIES =
115118 nfcapd_LINK = $(CCLD) $(nfcapd_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
116119 $(LDFLAGS) -o $@
117 am__objects_22 = nf_common.$(OBJEXT)
118 am__objects_23 = nflowcache.$(OBJEXT)
119 am__objects_24 = grammar.$(OBJEXT) scanner.$(OBJEXT) nftree.$(OBJEXT) \
120 am__objects_23 = nf_common.$(OBJEXT)
121 am__objects_24 = nflowcache.$(OBJEXT)
122 am__objects_25 = grammar.$(OBJEXT) scanner.$(OBJEXT) nftree.$(OBJEXT) \
120123 ipconv.$(OBJEXT)
121 am__objects_25 = nfprof.$(OBJEXT)
124 am__objects_26 = nfprof.$(OBJEXT)
122125 am_nfdump_OBJECTS = nfdump.$(OBJEXT) nfstat.$(OBJEXT) \
123 nfexport.$(OBJEXT) $(am__objects_22) $(am__objects_23) \
126 nfexport.$(OBJEXT) $(am__objects_23) $(am__objects_24) \
124127 $(am__objects_4) $(am__objects_5) $(am__objects_6) \
125 $(am__objects_24) $(am__objects_25)
128 $(am__objects_25) $(am__objects_26)
126129 nfdump_OBJECTS = $(am_nfdump_OBJECTS)
127130 nfdump_LDADD = $(LDADD)
128131 nfdump_DEPENDENCIES =
129 am__objects_26 = bookkeeper.$(OBJEXT)
130 am__objects_27 = expire.$(OBJEXT)
131 am__objects_28 = nfstatfile.$(OBJEXT)
132 am_nfexpire_OBJECTS = nfexpire.$(OBJEXT) $(am__objects_26) \
133 $(am__objects_27) $(am__objects_4) $(am__objects_28)
132 am__objects_27 = bookkeeper.$(OBJEXT)
133 am__objects_28 = expire.$(OBJEXT)
134 am__objects_29 = nfstatfile.$(OBJEXT)
135 am_nfexpire_OBJECTS = nfexpire.$(OBJEXT) $(am__objects_27) \
136 $(am__objects_28) $(am__objects_4) $(am__objects_29)
134137 nfexpire_OBJECTS = $(am_nfexpire_OBJECTS)
135138 nfexpire_DEPENDENCIES =
136139 am_nfgen_OBJECTS = nfgen.$(OBJEXT) $(am__objects_4) $(am__objects_5) \
139142 nfgen_LDADD = $(LDADD)
140143 nfgen_DEPENDENCIES =
141144 am_nfprofile_OBJECTS = nfprofile.$(OBJEXT) profile.$(OBJEXT) \
142 $(am__objects_22) $(am__objects_4) $(am__objects_5) \
143 $(am__objects_6) $(am__objects_24) $(am__objects_28)
145 $(am__objects_23) $(am__objects_4) $(am__objects_5) \
146 $(am__objects_6) $(am__objects_25) $(am__objects_29)
144147 nfprofile_OBJECTS = $(am_nfprofile_OBJECTS)
145148 nfprofile_DEPENDENCIES =
146149 am_nfreader_OBJECTS = nfreader.$(OBJEXT) $(am__objects_4) \
148151 nfreader_OBJECTS = $(am_nfreader_OBJECTS)
149152 nfreader_LDADD = $(LDADD)
150153 nfreader_DEPENDENCIES =
151 am__objects_29 = nfnet.$(OBJEXT)
152 am__objects_30 = collector.$(OBJEXT)
153 am__objects_31 = netflow_v1.$(OBJEXT)
154 am__objects_32 = netflow_v9.$(OBJEXT)
155 am__objects_33 = netflow_v5_v7.$(OBJEXT)
156 am_nfreplay_OBJECTS = nfreplay.$(OBJEXT) $(am__objects_22) \
154 am__objects_30 = nfnet.$(OBJEXT)
155 am__objects_31 = collector.$(OBJEXT)
156 am__objects_32 = netflow_v1.$(OBJEXT)
157 am__objects_33 = netflow_v9.$(OBJEXT)
158 am__objects_34 = netflow_v5_v7.$(OBJEXT)
159 am_nfreplay_OBJECTS = nfreplay.$(OBJEXT) $(am__objects_23) \
157160 $(am__objects_4) $(am__objects_5) $(am__objects_6) \
158 $(am__objects_24) $(am__objects_25) $(am__objects_29) \
159 $(am__objects_30) $(am__objects_31) $(am__objects_32) \
160 $(am__objects_33)
161 $(am__objects_25) $(am__objects_26) $(am__objects_30) \
162 $(am__objects_31) $(am__objects_32) $(am__objects_33) \
163 $(am__objects_34)
161164 nfreplay_OBJECTS = $(am_nfreplay_OBJECTS)
162165 nfreplay_LDADD = $(LDADD)
163166 nfreplay_DEPENDENCIES =
164 am_nftest_OBJECTS = nftest.$(OBJEXT) $(am__objects_22) \
165 $(am__objects_24) $(am__objects_5)
167 am_nftest_OBJECTS = nftest.$(OBJEXT) $(am__objects_23) \
168 $(am__objects_25) $(am__objects_5)
166169 nftest_OBJECTS = $(am_nftest_OBJECTS)
167170 nftest_LDADD = $(LDADD)
168 am__objects_34 = nftrack-nf_common.$(OBJEXT)
169 am__objects_35 = nftrack-util.$(OBJEXT)
170 am__objects_36 = nftrack-minilzo.$(OBJEXT) nftrack-nffile.$(OBJEXT) \
171 am__objects_35 = nftrack-nf_common.$(OBJEXT)
172 am__objects_36 = nftrack-util.$(OBJEXT)
173 am__objects_37 = nftrack-minilzo.$(OBJEXT) nftrack-nffile.$(OBJEXT) \
171174 nftrack-nfx.$(OBJEXT) nftrack-nfxstat.$(OBJEXT)
172 am__objects_37 = nftrack-flist.$(OBJEXT) nftrack-fts_compat.$(OBJEXT)
173 am__objects_38 = nftrack-grammar.$(OBJEXT) nftrack-scanner.$(OBJEXT) \
175 am__objects_38 = nftrack-flist.$(OBJEXT) nftrack-fts_compat.$(OBJEXT)
176 am__objects_39 = nftrack-grammar.$(OBJEXT) nftrack-scanner.$(OBJEXT) \
174177 nftrack-nftree.$(OBJEXT) nftrack-ipconv.$(OBJEXT)
175178 am_nftrack_OBJECTS = nftrack-nftrack.$(OBJEXT) \
176179 nftrack-nftrack_rrd.$(OBJEXT) nftrack-nftrack_stat.$(OBJEXT) \
177 $(am__objects_34) $(am__objects_35) $(am__objects_36) \
178 $(am__objects_37) $(am__objects_38)
180 $(am__objects_35) $(am__objects_36) $(am__objects_37) \
181 $(am__objects_38) $(am__objects_39)
179182 nftrack_OBJECTS = $(am_nftrack_OBJECTS)
180183 nftrack_DEPENDENCIES =
181184 nftrack_LINK = $(CCLD) $(nftrack_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
187190 nfstatfile.c nfstatfile.h launch.c launch.h nfnet.c nfnet.h \
188191 collector.c collector.h bookkeeper.c bookkeeper.h expire.c \
189192 expire.h pcap_reader.c pcap_reader.h
190 am__objects_39 = sfcapd-nf_common.$(OBJEXT)
191 am__objects_40 = sfcapd-util.$(OBJEXT)
192 am__objects_41 = sfcapd-minilzo.$(OBJEXT) sfcapd-nffile.$(OBJEXT) \
193 am__objects_40 = sfcapd-nf_common.$(OBJEXT)
194 am__objects_41 = sfcapd-util.$(OBJEXT)
195 am__objects_42 = sfcapd-minilzo.$(OBJEXT) sfcapd-nffile.$(OBJEXT) \
193196 sfcapd-nfx.$(OBJEXT) sfcapd-nfxstat.$(OBJEXT)
194 am__objects_42 = sfcapd-flist.$(OBJEXT) sfcapd-fts_compat.$(OBJEXT)
195 am__objects_43 = sfcapd-nfstatfile.$(OBJEXT)
196 am__objects_44 = sfcapd-launch.$(OBJEXT)
197 am__objects_45 = sfcapd-nfnet.$(OBJEXT)
198 am__objects_46 = sfcapd-collector.$(OBJEXT)
199 am__objects_47 = sfcapd-bookkeeper.$(OBJEXT)
200 am__objects_48 = sfcapd-expire.$(OBJEXT)
201 @READPCAP_TRUE@am__objects_49 = sfcapd-pcap_reader.$(OBJEXT)
197 am__objects_43 = sfcapd-flist.$(OBJEXT) sfcapd-fts_compat.$(OBJEXT)
198 am__objects_44 = sfcapd-nfstatfile.$(OBJEXT)
199 am__objects_45 = sfcapd-launch.$(OBJEXT)
200 am__objects_46 = sfcapd-nfnet.$(OBJEXT)
201 am__objects_47 = sfcapd-collector.$(OBJEXT)
202 am__objects_48 = sfcapd-bookkeeper.$(OBJEXT)
203 am__objects_49 = sfcapd-expire.$(OBJEXT)
204 @READPCAP_TRUE@am__objects_50 = sfcapd-pcap_reader.$(OBJEXT)
202205 am_sfcapd_OBJECTS = sfcapd-sfcapd.$(OBJEXT) sfcapd-sflow.$(OBJEXT) \
203 $(am__objects_39) $(am__objects_40) $(am__objects_41) \
204 $(am__objects_42) $(am__objects_43) $(am__objects_44) \
205 $(am__objects_45) $(am__objects_46) $(am__objects_47) \
206 $(am__objects_48) $(am__objects_49)
206 $(am__objects_40) $(am__objects_41) $(am__objects_42) \
207 $(am__objects_43) $(am__objects_44) $(am__objects_45) \
208 $(am__objects_46) $(am__objects_47) $(am__objects_48) \
209 $(am__objects_49) $(am__objects_50)
207210 sfcapd_OBJECTS = $(am_sfcapd_OBJECTS)
208211 sfcapd_DEPENDENCIES =
209212 sfcapd_LINK = $(CCLD) $(sfcapd_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
210213 $(LDFLAGS) -o $@
211 DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@
214 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
212215 depcomp = $(SHELL) $(top_srcdir)/depcomp
213216 am__depfiles_maybe = depfiles
217 am__mv = mv -f
214218 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
215219 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
216220 CCLD = $(CC)
229233 $(nftrack_SOURCES) $(am__sfcapd_SOURCES_DIST)
230234 ETAGS = etags
231235 CTAGS = ctags
236 am__tty_colors = \
237 red=; grn=; lgn=; blu=; std=
232238 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
233239 ACLOCAL = @ACLOCAL@
234240 AMTAR = @AMTAR@
274280 PACKAGE_NAME = @PACKAGE_NAME@
275281 PACKAGE_STRING = @PACKAGE_STRING@
276282 PACKAGE_TARNAME = @PACKAGE_TARNAME@
283 PACKAGE_URL = @PACKAGE_URL@
277284 PACKAGE_VERSION = @PACKAGE_VERSION@
278285 PATH_SEPARATOR = @PATH_SEPARATOR@
279286 RRD_LIBS = @RRD_LIBS@
322329 srcdir = @srcdir@
323330 sysconfdir = @sysconfdir@
324331 target_alias = @target_alias@
332 top_build_prefix = @top_build_prefix@
325333 top_builddir = @top_builddir@
326334 top_srcdir = @top_srcdir@
327335 check_PROGRAMMS = test.sh
343351 collector = collector.c collector.h
344352 nfv1 = netflow_v1.c netflow_v1.h
345353 nfv9 = netflow_v9.c netflow_v9.h
354 ipfix = ipfix.c ipfix.h
346355 nfv5v7 = netflow_v5_v7.c netflow_v5_v7.h
347356 nfstatfile = nfstatfile.c nfstatfile.h
348357 nflowcache = nflowcache.c nflowcache.h
366375 nftrack_CFLAGS = -I ../extra/nftrack
367376 nftrack_LDADD = -lrrd
368377 nfcapd_SOURCES = nfcapd.c $(common) $(util) $(filelzo) $(nflist) \
369 $(nfstatfile) $(launch) $(nfnet) $(collector) $(nfv1) $(nfv9) \
370 $(nfv5v7) $(bookkeeper) $(expire) $(am__append_5)
378 $(nfstatfile) $(launch) $(nfnet) $(collector) $(nfv1) \
379 $(nfv5v7) $(nfv9) $(ipfix) $(bookkeeper) $(expire) \
380 $(am__append_5)
371381 @READPCAP_TRUE@nfcapd_CFLAGS = -DPCAP
372382 @READPCAP_TRUE@nfcapd_LDADD = -lpcap
373383 sfcapd_SOURCES = sfcapd.c sflow.c sflow.h sflow_proto.h $(common) \
402412 @for dep in $?; do \
403413 case '$(am__configure_deps)' in \
404414 *$$dep*) \
405 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
406 && exit 0; \
415 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
416 && { if test -f $@; then exit 0; else break; fi; }; \
407417 exit 1;; \
408418 esac; \
409419 done; \
410 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu bin/Makefile'; \
411 cd $(top_srcdir) && \
412 $(AUTOMAKE) --gnu bin/Makefile
420 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu bin/Makefile'; \
421 $(am__cd) $(top_srcdir) && \
422 $(AUTOMAKE) --gnu bin/Makefile
413423 .PRECIOUS: Makefile
414424 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
415425 @case '$?' in \
427437 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
428438 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
429439 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
440 $(am__aclocal_m4_deps):
430441 install-binPROGRAMS: $(bin_PROGRAMS)
431442 @$(NORMAL_INSTALL)
432443 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
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
444 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
445 for p in $$list; do echo "$$p $$p"; done | \
446 sed 's/$(EXEEXT)$$//' | \
447 while read p p1; do if test -f $$p; \
448 then echo "$$p"; echo "$$p"; else :; fi; \
449 done | \
450 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
451 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
452 sed 'N;N;N;s,\n, ,g' | \
453 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
454 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
455 if ($$2 == $$4) files[d] = files[d] " " $$1; \
456 else { print "f", $$3 "/" $$4, $$1; } } \
457 END { for (d in files) print "f", d, files[d] }' | \
458 while read type dir files; do \
459 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
460 test -z "$$files" || { \
461 echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
462 $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
463 } \
464 ; done
442465
443466 uninstall-binPROGRAMS:
444467 @$(NORMAL_UNINSTALL)
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
468 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
469 files=`for p in $$list; do echo "$$p"; done | \
470 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
471 -e 's/$$/$(EXEEXT)/' `; \
472 test -n "$$list" || exit 0; \
473 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
474 cd "$(DESTDIR)$(bindir)" && rm -f $$files
450475
451476 clean-binPROGRAMS:
452477 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
523548 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nfcapd-expire.Po@am__quote@
524549 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nfcapd-flist.Po@am__quote@
525550 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nfcapd-fts_compat.Po@am__quote@
551 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nfcapd-ipfix.Po@am__quote@
526552 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nfcapd-launch.Po@am__quote@
527553 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nfcapd-minilzo.Po@am__quote@
528554 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nfcapd-netflow_v1.Po@am__quote@
594620
595621 .c.o:
596622 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
597 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
623 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
598624 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
599625 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
600626 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
601627
602628 .c.obj:
603629 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
604 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
630 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
605631 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
606632 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
607633 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
608634
609635 ft2nfdump-ft2nfdump.o: ft2nfdump.c
610636 @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
611 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-ft2nfdump.Tpo $(DEPDIR)/ft2nfdump-ft2nfdump.Po
637 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-ft2nfdump.Tpo $(DEPDIR)/ft2nfdump-ft2nfdump.Po
612638 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ft2nfdump.c' object='ft2nfdump-ft2nfdump.o' libtool=no @AMDEPBACKSLASH@
613639 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
614640 @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
615641
616642 ft2nfdump-ft2nfdump.obj: ft2nfdump.c
617643 @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`
618 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-ft2nfdump.Tpo $(DEPDIR)/ft2nfdump-ft2nfdump.Po
644 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-ft2nfdump.Tpo $(DEPDIR)/ft2nfdump-ft2nfdump.Po
619645 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ft2nfdump.c' object='ft2nfdump-ft2nfdump.obj' libtool=no @AMDEPBACKSLASH@
620646 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
621647 @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`
622648
623649 ft2nfdump-nf_common.o: nf_common.c
624650 @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
625 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-nf_common.Tpo $(DEPDIR)/ft2nfdump-nf_common.Po
651 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-nf_common.Tpo $(DEPDIR)/ft2nfdump-nf_common.Po
626652 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nf_common.c' object='ft2nfdump-nf_common.o' libtool=no @AMDEPBACKSLASH@
627653 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
628654 @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
629655
630656 ft2nfdump-nf_common.obj: nf_common.c
631657 @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`
632 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-nf_common.Tpo $(DEPDIR)/ft2nfdump-nf_common.Po
658 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-nf_common.Tpo $(DEPDIR)/ft2nfdump-nf_common.Po
633659 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nf_common.c' object='ft2nfdump-nf_common.obj' libtool=no @AMDEPBACKSLASH@
634660 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
635661 @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`
636662
637663 ft2nfdump-minilzo.o: minilzo.c
638664 @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
639 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-minilzo.Tpo $(DEPDIR)/ft2nfdump-minilzo.Po
665 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-minilzo.Tpo $(DEPDIR)/ft2nfdump-minilzo.Po
640666 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='minilzo.c' object='ft2nfdump-minilzo.o' libtool=no @AMDEPBACKSLASH@
641667 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
642668 @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
643669
644670 ft2nfdump-minilzo.obj: minilzo.c
645671 @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`
646 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-minilzo.Tpo $(DEPDIR)/ft2nfdump-minilzo.Po
672 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-minilzo.Tpo $(DEPDIR)/ft2nfdump-minilzo.Po
647673 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='minilzo.c' object='ft2nfdump-minilzo.obj' libtool=no @AMDEPBACKSLASH@
648674 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
649675 @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`
650676
651677 ft2nfdump-nffile.o: nffile.c
652678 @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
653 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-nffile.Tpo $(DEPDIR)/ft2nfdump-nffile.Po
679 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-nffile.Tpo $(DEPDIR)/ft2nfdump-nffile.Po
654680 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nffile.c' object='ft2nfdump-nffile.o' libtool=no @AMDEPBACKSLASH@
655681 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
656682 @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
657683
658684 ft2nfdump-nffile.obj: nffile.c
659685 @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`
660 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-nffile.Tpo $(DEPDIR)/ft2nfdump-nffile.Po
686 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-nffile.Tpo $(DEPDIR)/ft2nfdump-nffile.Po
661687 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nffile.c' object='ft2nfdump-nffile.obj' libtool=no @AMDEPBACKSLASH@
662688 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
663689 @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`
664690
665691 ft2nfdump-nfx.o: nfx.c
666692 @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
667 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-nfx.Tpo $(DEPDIR)/ft2nfdump-nfx.Po
693 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-nfx.Tpo $(DEPDIR)/ft2nfdump-nfx.Po
668694 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfx.c' object='ft2nfdump-nfx.o' libtool=no @AMDEPBACKSLASH@
669695 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
670696 @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
671697
672698 ft2nfdump-nfx.obj: nfx.c
673699 @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`
674 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-nfx.Tpo $(DEPDIR)/ft2nfdump-nfx.Po
700 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-nfx.Tpo $(DEPDIR)/ft2nfdump-nfx.Po
675701 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfx.c' object='ft2nfdump-nfx.obj' libtool=no @AMDEPBACKSLASH@
676702 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
677703 @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`
678704
679705 ft2nfdump-nfxstat.o: nfxstat.c
680706 @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
681 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-nfxstat.Tpo $(DEPDIR)/ft2nfdump-nfxstat.Po
707 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-nfxstat.Tpo $(DEPDIR)/ft2nfdump-nfxstat.Po
682708 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfxstat.c' object='ft2nfdump-nfxstat.o' libtool=no @AMDEPBACKSLASH@
683709 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
684710 @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
685711
686712 ft2nfdump-nfxstat.obj: nfxstat.c
687713 @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`
688 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-nfxstat.Tpo $(DEPDIR)/ft2nfdump-nfxstat.Po
714 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-nfxstat.Tpo $(DEPDIR)/ft2nfdump-nfxstat.Po
689715 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfxstat.c' object='ft2nfdump-nfxstat.obj' libtool=no @AMDEPBACKSLASH@
690716 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
691717 @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`
692718
693719 ft2nfdump-util.o: util.c
694720 @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
695 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-util.Tpo $(DEPDIR)/ft2nfdump-util.Po
721 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-util.Tpo $(DEPDIR)/ft2nfdump-util.Po
696722 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='ft2nfdump-util.o' libtool=no @AMDEPBACKSLASH@
697723 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
698724 @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
699725
700726 ft2nfdump-util.obj: util.c
701727 @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`
702 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/ft2nfdump-util.Tpo $(DEPDIR)/ft2nfdump-util.Po
728 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/ft2nfdump-util.Tpo $(DEPDIR)/ft2nfdump-util.Po
703729 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='ft2nfdump-util.obj' libtool=no @AMDEPBACKSLASH@
704730 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
705731 @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`
706732
707733 nfcapd-nfcapd.o: nfcapd.c
708734 @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
709 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfcapd.Tpo $(DEPDIR)/nfcapd-nfcapd.Po
735 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfcapd.Tpo $(DEPDIR)/nfcapd-nfcapd.Po
710736 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfcapd.c' object='nfcapd-nfcapd.o' libtool=no @AMDEPBACKSLASH@
711737 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
712738 @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
713739
714740 nfcapd-nfcapd.obj: nfcapd.c
715741 @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`
716 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfcapd.Tpo $(DEPDIR)/nfcapd-nfcapd.Po
742 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfcapd.Tpo $(DEPDIR)/nfcapd-nfcapd.Po
717743 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfcapd.c' object='nfcapd-nfcapd.obj' libtool=no @AMDEPBACKSLASH@
718744 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
719745 @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`
720746
721747 nfcapd-nf_common.o: nf_common.c
722748 @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
723 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nf_common.Tpo $(DEPDIR)/nfcapd-nf_common.Po
749 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nf_common.Tpo $(DEPDIR)/nfcapd-nf_common.Po
724750 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nf_common.c' object='nfcapd-nf_common.o' libtool=no @AMDEPBACKSLASH@
725751 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
726752 @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
727753
728754 nfcapd-nf_common.obj: nf_common.c
729755 @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`
730 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nf_common.Tpo $(DEPDIR)/nfcapd-nf_common.Po
756 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nf_common.Tpo $(DEPDIR)/nfcapd-nf_common.Po
731757 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nf_common.c' object='nfcapd-nf_common.obj' libtool=no @AMDEPBACKSLASH@
732758 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
733759 @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`
734760
735761 nfcapd-util.o: util.c
736762 @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
737 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-util.Tpo $(DEPDIR)/nfcapd-util.Po
763 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-util.Tpo $(DEPDIR)/nfcapd-util.Po
738764 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='nfcapd-util.o' libtool=no @AMDEPBACKSLASH@
739765 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
740766 @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
741767
742768 nfcapd-util.obj: util.c
743769 @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`
744 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-util.Tpo $(DEPDIR)/nfcapd-util.Po
770 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-util.Tpo $(DEPDIR)/nfcapd-util.Po
745771 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='nfcapd-util.obj' libtool=no @AMDEPBACKSLASH@
746772 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
747773 @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`
748774
749775 nfcapd-minilzo.o: minilzo.c
750776 @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
751 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-minilzo.Tpo $(DEPDIR)/nfcapd-minilzo.Po
777 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-minilzo.Tpo $(DEPDIR)/nfcapd-minilzo.Po
752778 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='minilzo.c' object='nfcapd-minilzo.o' libtool=no @AMDEPBACKSLASH@
753779 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
754780 @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
755781
756782 nfcapd-minilzo.obj: minilzo.c
757783 @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`
758 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-minilzo.Tpo $(DEPDIR)/nfcapd-minilzo.Po
784 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-minilzo.Tpo $(DEPDIR)/nfcapd-minilzo.Po
759785 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='minilzo.c' object='nfcapd-minilzo.obj' libtool=no @AMDEPBACKSLASH@
760786 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
761787 @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`
762788
763789 nfcapd-nffile.o: nffile.c
764790 @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
765 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nffile.Tpo $(DEPDIR)/nfcapd-nffile.Po
791 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nffile.Tpo $(DEPDIR)/nfcapd-nffile.Po
766792 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nffile.c' object='nfcapd-nffile.o' libtool=no @AMDEPBACKSLASH@
767793 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
768794 @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
769795
770796 nfcapd-nffile.obj: nffile.c
771797 @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`
772 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nffile.Tpo $(DEPDIR)/nfcapd-nffile.Po
798 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nffile.Tpo $(DEPDIR)/nfcapd-nffile.Po
773799 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nffile.c' object='nfcapd-nffile.obj' libtool=no @AMDEPBACKSLASH@
774800 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
775801 @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`
776802
777803 nfcapd-nfx.o: nfx.c
778804 @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
779 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfx.Tpo $(DEPDIR)/nfcapd-nfx.Po
805 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfx.Tpo $(DEPDIR)/nfcapd-nfx.Po
780806 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfx.c' object='nfcapd-nfx.o' libtool=no @AMDEPBACKSLASH@
781807 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
782808 @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
783809
784810 nfcapd-nfx.obj: nfx.c
785811 @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`
786 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfx.Tpo $(DEPDIR)/nfcapd-nfx.Po
812 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfx.Tpo $(DEPDIR)/nfcapd-nfx.Po
787813 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfx.c' object='nfcapd-nfx.obj' libtool=no @AMDEPBACKSLASH@
788814 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
789815 @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`
790816
791817 nfcapd-nfxstat.o: nfxstat.c
792818 @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
793 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfxstat.Tpo $(DEPDIR)/nfcapd-nfxstat.Po
819 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfxstat.Tpo $(DEPDIR)/nfcapd-nfxstat.Po
794820 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfxstat.c' object='nfcapd-nfxstat.o' libtool=no @AMDEPBACKSLASH@
795821 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
796822 @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
797823
798824 nfcapd-nfxstat.obj: nfxstat.c
799825 @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`
800 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfxstat.Tpo $(DEPDIR)/nfcapd-nfxstat.Po
826 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfxstat.Tpo $(DEPDIR)/nfcapd-nfxstat.Po
801827 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfxstat.c' object='nfcapd-nfxstat.obj' libtool=no @AMDEPBACKSLASH@
802828 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
803829 @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`
804830
805831 nfcapd-flist.o: flist.c
806832 @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
807 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-flist.Tpo $(DEPDIR)/nfcapd-flist.Po
833 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-flist.Tpo $(DEPDIR)/nfcapd-flist.Po
808834 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='flist.c' object='nfcapd-flist.o' libtool=no @AMDEPBACKSLASH@
809835 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
810836 @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
811837
812838 nfcapd-flist.obj: flist.c
813839 @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`
814 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-flist.Tpo $(DEPDIR)/nfcapd-flist.Po
840 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-flist.Tpo $(DEPDIR)/nfcapd-flist.Po
815841 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='flist.c' object='nfcapd-flist.obj' libtool=no @AMDEPBACKSLASH@
816842 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
817843 @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`
818844
819845 nfcapd-fts_compat.o: fts_compat.c
820846 @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
821 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-fts_compat.Tpo $(DEPDIR)/nfcapd-fts_compat.Po
847 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-fts_compat.Tpo $(DEPDIR)/nfcapd-fts_compat.Po
822848 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fts_compat.c' object='nfcapd-fts_compat.o' libtool=no @AMDEPBACKSLASH@
823849 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
824850 @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
825851
826852 nfcapd-fts_compat.obj: fts_compat.c
827853 @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`
828 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-fts_compat.Tpo $(DEPDIR)/nfcapd-fts_compat.Po
854 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-fts_compat.Tpo $(DEPDIR)/nfcapd-fts_compat.Po
829855 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fts_compat.c' object='nfcapd-fts_compat.obj' libtool=no @AMDEPBACKSLASH@
830856 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
831857 @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`
832858
833859 nfcapd-nfstatfile.o: nfstatfile.c
834860 @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
835 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfstatfile.Tpo $(DEPDIR)/nfcapd-nfstatfile.Po
861 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfstatfile.Tpo $(DEPDIR)/nfcapd-nfstatfile.Po
836862 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfstatfile.c' object='nfcapd-nfstatfile.o' libtool=no @AMDEPBACKSLASH@
837863 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
838864 @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
839865
840866 nfcapd-nfstatfile.obj: nfstatfile.c
841867 @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`
842 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfstatfile.Tpo $(DEPDIR)/nfcapd-nfstatfile.Po
868 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfstatfile.Tpo $(DEPDIR)/nfcapd-nfstatfile.Po
843869 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfstatfile.c' object='nfcapd-nfstatfile.obj' libtool=no @AMDEPBACKSLASH@
844870 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
845871 @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`
846872
847873 nfcapd-launch.o: launch.c
848874 @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
849 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-launch.Tpo $(DEPDIR)/nfcapd-launch.Po
875 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-launch.Tpo $(DEPDIR)/nfcapd-launch.Po
850876 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='launch.c' object='nfcapd-launch.o' libtool=no @AMDEPBACKSLASH@
851877 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
852878 @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
853879
854880 nfcapd-launch.obj: launch.c
855881 @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`
856 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-launch.Tpo $(DEPDIR)/nfcapd-launch.Po
882 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-launch.Tpo $(DEPDIR)/nfcapd-launch.Po
857883 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='launch.c' object='nfcapd-launch.obj' libtool=no @AMDEPBACKSLASH@
858884 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
859885 @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`
860886
861887 nfcapd-nfnet.o: nfnet.c
862888 @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
863 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfnet.Tpo $(DEPDIR)/nfcapd-nfnet.Po
889 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfnet.Tpo $(DEPDIR)/nfcapd-nfnet.Po
864890 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfnet.c' object='nfcapd-nfnet.o' libtool=no @AMDEPBACKSLASH@
865891 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
866892 @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
867893
868894 nfcapd-nfnet.obj: nfnet.c
869895 @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`
870 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-nfnet.Tpo $(DEPDIR)/nfcapd-nfnet.Po
896 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-nfnet.Tpo $(DEPDIR)/nfcapd-nfnet.Po
871897 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfnet.c' object='nfcapd-nfnet.obj' libtool=no @AMDEPBACKSLASH@
872898 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
873899 @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`
874900
875901 nfcapd-collector.o: collector.c
876902 @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
877 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-collector.Tpo $(DEPDIR)/nfcapd-collector.Po
903 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-collector.Tpo $(DEPDIR)/nfcapd-collector.Po
878904 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='collector.c' object='nfcapd-collector.o' libtool=no @AMDEPBACKSLASH@
879905 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
880906 @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
881907
882908 nfcapd-collector.obj: collector.c
883909 @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`
884 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-collector.Tpo $(DEPDIR)/nfcapd-collector.Po
910 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-collector.Tpo $(DEPDIR)/nfcapd-collector.Po
885911 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='collector.c' object='nfcapd-collector.obj' libtool=no @AMDEPBACKSLASH@
886912 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
887913 @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`
888914
889915 nfcapd-netflow_v1.o: netflow_v1.c
890916 @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
891 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-netflow_v1.Tpo $(DEPDIR)/nfcapd-netflow_v1.Po
917 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-netflow_v1.Tpo $(DEPDIR)/nfcapd-netflow_v1.Po
892918 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='netflow_v1.c' object='nfcapd-netflow_v1.o' libtool=no @AMDEPBACKSLASH@
893919 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
894920 @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
895921
896922 nfcapd-netflow_v1.obj: netflow_v1.c
897923 @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`
898 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-netflow_v1.Tpo $(DEPDIR)/nfcapd-netflow_v1.Po
924 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-netflow_v1.Tpo $(DEPDIR)/nfcapd-netflow_v1.Po
899925 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='netflow_v1.c' object='nfcapd-netflow_v1.obj' libtool=no @AMDEPBACKSLASH@
900926 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
901927 @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`
928
929 nfcapd-netflow_v5_v7.o: netflow_v5_v7.c
930 @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
931 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-netflow_v5_v7.Tpo $(DEPDIR)/nfcapd-netflow_v5_v7.Po
932 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='netflow_v5_v7.c' object='nfcapd-netflow_v5_v7.o' libtool=no @AMDEPBACKSLASH@
933 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
934 @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
935
936 nfcapd-netflow_v5_v7.obj: netflow_v5_v7.c
937 @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`
938 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-netflow_v5_v7.Tpo $(DEPDIR)/nfcapd-netflow_v5_v7.Po
939 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='netflow_v5_v7.c' object='nfcapd-netflow_v5_v7.obj' libtool=no @AMDEPBACKSLASH@
940 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
941 @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`
902942
903943 nfcapd-netflow_v9.o: netflow_v9.c
904944 @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
905 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-netflow_v9.Tpo $(DEPDIR)/nfcapd-netflow_v9.Po
945 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-netflow_v9.Tpo $(DEPDIR)/nfcapd-netflow_v9.Po
906946 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='netflow_v9.c' object='nfcapd-netflow_v9.o' libtool=no @AMDEPBACKSLASH@
907947 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
908948 @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
909949
910950 nfcapd-netflow_v9.obj: netflow_v9.c
911951 @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`
912 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-netflow_v9.Tpo $(DEPDIR)/nfcapd-netflow_v9.Po
952 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-netflow_v9.Tpo $(DEPDIR)/nfcapd-netflow_v9.Po
913953 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='netflow_v9.c' object='nfcapd-netflow_v9.obj' libtool=no @AMDEPBACKSLASH@
914954 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
915955 @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`
916956
917 nfcapd-netflow_v5_v7.o: netflow_v5_v7.c
918 @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
919 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-netflow_v5_v7.Tpo $(DEPDIR)/nfcapd-netflow_v5_v7.Po
920 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='netflow_v5_v7.c' object='nfcapd-netflow_v5_v7.o' libtool=no @AMDEPBACKSLASH@
921 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
922 @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
923
924 nfcapd-netflow_v5_v7.obj: netflow_v5_v7.c
925 @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`
926 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-netflow_v5_v7.Tpo $(DEPDIR)/nfcapd-netflow_v5_v7.Po
927 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='netflow_v5_v7.c' object='nfcapd-netflow_v5_v7.obj' libtool=no @AMDEPBACKSLASH@
928 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
929 @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`
957 nfcapd-ipfix.o: ipfix.c
958 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-ipfix.o -MD -MP -MF $(DEPDIR)/nfcapd-ipfix.Tpo -c -o nfcapd-ipfix.o `test -f 'ipfix.c' || echo '$(srcdir)/'`ipfix.c
959 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-ipfix.Tpo $(DEPDIR)/nfcapd-ipfix.Po
960 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ipfix.c' object='nfcapd-ipfix.o' libtool=no @AMDEPBACKSLASH@
961 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
962 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-ipfix.o `test -f 'ipfix.c' || echo '$(srcdir)/'`ipfix.c
963
964 nfcapd-ipfix.obj: ipfix.c
965 @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -MT nfcapd-ipfix.obj -MD -MP -MF $(DEPDIR)/nfcapd-ipfix.Tpo -c -o nfcapd-ipfix.obj `if test -f 'ipfix.c'; then $(CYGPATH_W) 'ipfix.c'; else $(CYGPATH_W) '$(srcdir)/ipfix.c'; fi`
966 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-ipfix.Tpo $(DEPDIR)/nfcapd-ipfix.Po
967 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ipfix.c' object='nfcapd-ipfix.obj' libtool=no @AMDEPBACKSLASH@
968 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
969 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(nfcapd_CFLAGS) $(CFLAGS) -c -o nfcapd-ipfix.obj `if test -f 'ipfix.c'; then $(CYGPATH_W) 'ipfix.c'; else $(CYGPATH_W) '$(srcdir)/ipfix.c'; fi`
930970
931971 nfcapd-bookkeeper.o: bookkeeper.c
932972 @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
933 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-bookkeeper.Tpo $(DEPDIR)/nfcapd-bookkeeper.Po
973 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-bookkeeper.Tpo $(DEPDIR)/nfcapd-bookkeeper.Po
934974 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bookkeeper.c' object='nfcapd-bookkeeper.o' libtool=no @AMDEPBACKSLASH@
935975 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
936976 @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
937977
938978 nfcapd-bookkeeper.obj: bookkeeper.c
939979 @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`
940 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-bookkeeper.Tpo $(DEPDIR)/nfcapd-bookkeeper.Po
980 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-bookkeeper.Tpo $(DEPDIR)/nfcapd-bookkeeper.Po
941981 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bookkeeper.c' object='nfcapd-bookkeeper.obj' libtool=no @AMDEPBACKSLASH@
942982 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
943983 @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`
944984
945985 nfcapd-expire.o: expire.c
946986 @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
947 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-expire.Tpo $(DEPDIR)/nfcapd-expire.Po
987 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-expire.Tpo $(DEPDIR)/nfcapd-expire.Po
948988 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='expire.c' object='nfcapd-expire.o' libtool=no @AMDEPBACKSLASH@
949989 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
950990 @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
951991
952992 nfcapd-expire.obj: expire.c
953993 @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`
954 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-expire.Tpo $(DEPDIR)/nfcapd-expire.Po
994 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-expire.Tpo $(DEPDIR)/nfcapd-expire.Po
955995 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='expire.c' object='nfcapd-expire.obj' libtool=no @AMDEPBACKSLASH@
956996 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
957997 @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`
958998
959999 nfcapd-pcap_reader.o: pcap_reader.c
9601000 @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
961 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-pcap_reader.Tpo $(DEPDIR)/nfcapd-pcap_reader.Po
1001 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-pcap_reader.Tpo $(DEPDIR)/nfcapd-pcap_reader.Po
9621002 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pcap_reader.c' object='nfcapd-pcap_reader.o' libtool=no @AMDEPBACKSLASH@
9631003 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9641004 @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
9651005
9661006 nfcapd-pcap_reader.obj: pcap_reader.c
9671007 @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`
968 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nfcapd-pcap_reader.Tpo $(DEPDIR)/nfcapd-pcap_reader.Po
1008 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nfcapd-pcap_reader.Tpo $(DEPDIR)/nfcapd-pcap_reader.Po
9691009 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pcap_reader.c' object='nfcapd-pcap_reader.obj' libtool=no @AMDEPBACKSLASH@
9701010 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9711011 @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`
9721012
9731013 nftrack-nftrack.o: ../extra/nftrack/nftrack.c
9741014 @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
975 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nftrack.Tpo $(DEPDIR)/nftrack-nftrack.Po
1015 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nftrack.Tpo $(DEPDIR)/nftrack-nftrack.Po
9761016 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../extra/nftrack/nftrack.c' object='nftrack-nftrack.o' libtool=no @AMDEPBACKSLASH@
9771017 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9781018 @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
9791019
9801020 nftrack-nftrack.obj: ../extra/nftrack/nftrack.c
9811021 @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`
982 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nftrack.Tpo $(DEPDIR)/nftrack-nftrack.Po
1022 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nftrack.Tpo $(DEPDIR)/nftrack-nftrack.Po
9831023 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../extra/nftrack/nftrack.c' object='nftrack-nftrack.obj' libtool=no @AMDEPBACKSLASH@
9841024 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9851025 @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`
9861026
9871027 nftrack-nftrack_rrd.o: ../extra/nftrack/nftrack_rrd.c
9881028 @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
989 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nftrack_rrd.Tpo $(DEPDIR)/nftrack-nftrack_rrd.Po
1029 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nftrack_rrd.Tpo $(DEPDIR)/nftrack-nftrack_rrd.Po
9901030 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../extra/nftrack/nftrack_rrd.c' object='nftrack-nftrack_rrd.o' libtool=no @AMDEPBACKSLASH@
9911031 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9921032 @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
9931033
9941034 nftrack-nftrack_rrd.obj: ../extra/nftrack/nftrack_rrd.c
9951035 @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`
996 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nftrack_rrd.Tpo $(DEPDIR)/nftrack-nftrack_rrd.Po
1036 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nftrack_rrd.Tpo $(DEPDIR)/nftrack-nftrack_rrd.Po
9971037 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../extra/nftrack/nftrack_rrd.c' object='nftrack-nftrack_rrd.obj' libtool=no @AMDEPBACKSLASH@
9981038 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
9991039 @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`
10001040
10011041 nftrack-nftrack_stat.o: ../extra/nftrack/nftrack_stat.c
10021042 @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
1003 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nftrack_stat.Tpo $(DEPDIR)/nftrack-nftrack_stat.Po
1043 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nftrack_stat.Tpo $(DEPDIR)/nftrack-nftrack_stat.Po
10041044 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../extra/nftrack/nftrack_stat.c' object='nftrack-nftrack_stat.o' libtool=no @AMDEPBACKSLASH@
10051045 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10061046 @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
10071047
10081048 nftrack-nftrack_stat.obj: ../extra/nftrack/nftrack_stat.c
10091049 @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`
1010 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nftrack_stat.Tpo $(DEPDIR)/nftrack-nftrack_stat.Po
1050 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nftrack_stat.Tpo $(DEPDIR)/nftrack-nftrack_stat.Po
10111051 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../extra/nftrack/nftrack_stat.c' object='nftrack-nftrack_stat.obj' libtool=no @AMDEPBACKSLASH@
10121052 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10131053 @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`
10141054
10151055 nftrack-nf_common.o: nf_common.c
10161056 @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
1017 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nf_common.Tpo $(DEPDIR)/nftrack-nf_common.Po
1057 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nf_common.Tpo $(DEPDIR)/nftrack-nf_common.Po
10181058 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nf_common.c' object='nftrack-nf_common.o' libtool=no @AMDEPBACKSLASH@
10191059 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10201060 @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
10211061
10221062 nftrack-nf_common.obj: nf_common.c
10231063 @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`
1024 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nf_common.Tpo $(DEPDIR)/nftrack-nf_common.Po
1064 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nf_common.Tpo $(DEPDIR)/nftrack-nf_common.Po
10251065 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nf_common.c' object='nftrack-nf_common.obj' libtool=no @AMDEPBACKSLASH@
10261066 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10271067 @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`
10281068
10291069 nftrack-util.o: util.c
10301070 @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
1031 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-util.Tpo $(DEPDIR)/nftrack-util.Po
1071 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-util.Tpo $(DEPDIR)/nftrack-util.Po
10321072 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='nftrack-util.o' libtool=no @AMDEPBACKSLASH@
10331073 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10341074 @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
10351075
10361076 nftrack-util.obj: util.c
10371077 @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`
1038 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-util.Tpo $(DEPDIR)/nftrack-util.Po
1078 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-util.Tpo $(DEPDIR)/nftrack-util.Po
10391079 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='nftrack-util.obj' libtool=no @AMDEPBACKSLASH@
10401080 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10411081 @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`
10421082
10431083 nftrack-minilzo.o: minilzo.c
10441084 @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
1045 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-minilzo.Tpo $(DEPDIR)/nftrack-minilzo.Po
1085 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-minilzo.Tpo $(DEPDIR)/nftrack-minilzo.Po
10461086 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='minilzo.c' object='nftrack-minilzo.o' libtool=no @AMDEPBACKSLASH@
10471087 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10481088 @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
10491089
10501090 nftrack-minilzo.obj: minilzo.c
10511091 @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`
1052 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-minilzo.Tpo $(DEPDIR)/nftrack-minilzo.Po
1092 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-minilzo.Tpo $(DEPDIR)/nftrack-minilzo.Po
10531093 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='minilzo.c' object='nftrack-minilzo.obj' libtool=no @AMDEPBACKSLASH@
10541094 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10551095 @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`
10561096
10571097 nftrack-nffile.o: nffile.c
10581098 @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
1059 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nffile.Tpo $(DEPDIR)/nftrack-nffile.Po
1099 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nffile.Tpo $(DEPDIR)/nftrack-nffile.Po
10601100 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nffile.c' object='nftrack-nffile.o' libtool=no @AMDEPBACKSLASH@
10611101 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10621102 @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
10631103
10641104 nftrack-nffile.obj: nffile.c
10651105 @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`
1066 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nffile.Tpo $(DEPDIR)/nftrack-nffile.Po
1106 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nffile.Tpo $(DEPDIR)/nftrack-nffile.Po
10671107 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nffile.c' object='nftrack-nffile.obj' libtool=no @AMDEPBACKSLASH@
10681108 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10691109 @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`
10701110
10711111 nftrack-nfx.o: nfx.c
10721112 @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
1073 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nfx.Tpo $(DEPDIR)/nftrack-nfx.Po
1113 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nfx.Tpo $(DEPDIR)/nftrack-nfx.Po
10741114 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfx.c' object='nftrack-nfx.o' libtool=no @AMDEPBACKSLASH@
10751115 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10761116 @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
10771117
10781118 nftrack-nfx.obj: nfx.c
10791119 @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`
1080 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nfx.Tpo $(DEPDIR)/nftrack-nfx.Po
1120 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nfx.Tpo $(DEPDIR)/nftrack-nfx.Po
10811121 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfx.c' object='nftrack-nfx.obj' libtool=no @AMDEPBACKSLASH@
10821122 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10831123 @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`
10841124
10851125 nftrack-nfxstat.o: nfxstat.c
10861126 @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
1087 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nfxstat.Tpo $(DEPDIR)/nftrack-nfxstat.Po
1127 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nfxstat.Tpo $(DEPDIR)/nftrack-nfxstat.Po
10881128 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfxstat.c' object='nftrack-nfxstat.o' libtool=no @AMDEPBACKSLASH@
10891129 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10901130 @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
10911131
10921132 nftrack-nfxstat.obj: nfxstat.c
10931133 @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`
1094 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nfxstat.Tpo $(DEPDIR)/nftrack-nfxstat.Po
1134 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nfxstat.Tpo $(DEPDIR)/nftrack-nfxstat.Po
10951135 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfxstat.c' object='nftrack-nfxstat.obj' libtool=no @AMDEPBACKSLASH@
10961136 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
10971137 @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`
10981138
10991139 nftrack-flist.o: flist.c
11001140 @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
1101 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-flist.Tpo $(DEPDIR)/nftrack-flist.Po
1141 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-flist.Tpo $(DEPDIR)/nftrack-flist.Po
11021142 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='flist.c' object='nftrack-flist.o' libtool=no @AMDEPBACKSLASH@
11031143 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11041144 @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
11051145
11061146 nftrack-flist.obj: flist.c
11071147 @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`
1108 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-flist.Tpo $(DEPDIR)/nftrack-flist.Po
1148 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-flist.Tpo $(DEPDIR)/nftrack-flist.Po
11091149 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='flist.c' object='nftrack-flist.obj' libtool=no @AMDEPBACKSLASH@
11101150 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11111151 @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`
11121152
11131153 nftrack-fts_compat.o: fts_compat.c
11141154 @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
1115 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-fts_compat.Tpo $(DEPDIR)/nftrack-fts_compat.Po
1155 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-fts_compat.Tpo $(DEPDIR)/nftrack-fts_compat.Po
11161156 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fts_compat.c' object='nftrack-fts_compat.o' libtool=no @AMDEPBACKSLASH@
11171157 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11181158 @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
11191159
11201160 nftrack-fts_compat.obj: fts_compat.c
11211161 @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`
1122 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-fts_compat.Tpo $(DEPDIR)/nftrack-fts_compat.Po
1162 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-fts_compat.Tpo $(DEPDIR)/nftrack-fts_compat.Po
11231163 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fts_compat.c' object='nftrack-fts_compat.obj' libtool=no @AMDEPBACKSLASH@
11241164 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11251165 @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`
11261166
11271167 nftrack-grammar.o: grammar.c
11281168 @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
1129 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-grammar.Tpo $(DEPDIR)/nftrack-grammar.Po
1169 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-grammar.Tpo $(DEPDIR)/nftrack-grammar.Po
11301170 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grammar.c' object='nftrack-grammar.o' libtool=no @AMDEPBACKSLASH@
11311171 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11321172 @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
11331173
11341174 nftrack-grammar.obj: grammar.c
11351175 @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`
1136 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-grammar.Tpo $(DEPDIR)/nftrack-grammar.Po
1176 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-grammar.Tpo $(DEPDIR)/nftrack-grammar.Po
11371177 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='grammar.c' object='nftrack-grammar.obj' libtool=no @AMDEPBACKSLASH@
11381178 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11391179 @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`
11401180
11411181 nftrack-scanner.o: scanner.c
11421182 @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
1143 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-scanner.Tpo $(DEPDIR)/nftrack-scanner.Po
1183 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-scanner.Tpo $(DEPDIR)/nftrack-scanner.Po
11441184 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='scanner.c' object='nftrack-scanner.o' libtool=no @AMDEPBACKSLASH@
11451185 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11461186 @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
11471187
11481188 nftrack-scanner.obj: scanner.c
11491189 @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`
1150 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-scanner.Tpo $(DEPDIR)/nftrack-scanner.Po
1190 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-scanner.Tpo $(DEPDIR)/nftrack-scanner.Po
11511191 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='scanner.c' object='nftrack-scanner.obj' libtool=no @AMDEPBACKSLASH@
11521192 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11531193 @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`
11541194
11551195 nftrack-nftree.o: nftree.c
11561196 @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
1157 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nftree.Tpo $(DEPDIR)/nftrack-nftree.Po
1197 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nftree.Tpo $(DEPDIR)/nftrack-nftree.Po
11581198 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nftree.c' object='nftrack-nftree.o' libtool=no @AMDEPBACKSLASH@
11591199 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11601200 @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
11611201
11621202 nftrack-nftree.obj: nftree.c
11631203 @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`
1164 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-nftree.Tpo $(DEPDIR)/nftrack-nftree.Po
1204 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-nftree.Tpo $(DEPDIR)/nftrack-nftree.Po
11651205 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nftree.c' object='nftrack-nftree.obj' libtool=no @AMDEPBACKSLASH@
11661206 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11671207 @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`
11681208
11691209 nftrack-ipconv.o: ipconv.c
11701210 @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
1171 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-ipconv.Tpo $(DEPDIR)/nftrack-ipconv.Po
1211 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-ipconv.Tpo $(DEPDIR)/nftrack-ipconv.Po
11721212 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ipconv.c' object='nftrack-ipconv.o' libtool=no @AMDEPBACKSLASH@
11731213 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11741214 @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
11751215
11761216 nftrack-ipconv.obj: ipconv.c
11771217 @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`
1178 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/nftrack-ipconv.Tpo $(DEPDIR)/nftrack-ipconv.Po
1218 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/nftrack-ipconv.Tpo $(DEPDIR)/nftrack-ipconv.Po
11791219 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ipconv.c' object='nftrack-ipconv.obj' libtool=no @AMDEPBACKSLASH@
11801220 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11811221 @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`
11821222
11831223 sfcapd-sfcapd.o: sfcapd.c
11841224 @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
1185 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-sfcapd.Tpo $(DEPDIR)/sfcapd-sfcapd.Po
1225 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-sfcapd.Tpo $(DEPDIR)/sfcapd-sfcapd.Po
11861226 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sfcapd.c' object='sfcapd-sfcapd.o' libtool=no @AMDEPBACKSLASH@
11871227 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11881228 @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
11891229
11901230 sfcapd-sfcapd.obj: sfcapd.c
11911231 @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`
1192 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-sfcapd.Tpo $(DEPDIR)/sfcapd-sfcapd.Po
1232 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-sfcapd.Tpo $(DEPDIR)/sfcapd-sfcapd.Po
11931233 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sfcapd.c' object='sfcapd-sfcapd.obj' libtool=no @AMDEPBACKSLASH@
11941234 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
11951235 @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`
11961236
11971237 sfcapd-sflow.o: sflow.c
11981238 @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
1199 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-sflow.Tpo $(DEPDIR)/sfcapd-sflow.Po
1239 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-sflow.Tpo $(DEPDIR)/sfcapd-sflow.Po
12001240 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sflow.c' object='sfcapd-sflow.o' libtool=no @AMDEPBACKSLASH@
12011241 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12021242 @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
12031243
12041244 sfcapd-sflow.obj: sflow.c
12051245 @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`
1206 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-sflow.Tpo $(DEPDIR)/sfcapd-sflow.Po
1246 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-sflow.Tpo $(DEPDIR)/sfcapd-sflow.Po
12071247 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sflow.c' object='sfcapd-sflow.obj' libtool=no @AMDEPBACKSLASH@
12081248 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12091249 @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`
12101250
12111251 sfcapd-nf_common.o: nf_common.c
12121252 @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
1213 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nf_common.Tpo $(DEPDIR)/sfcapd-nf_common.Po
1253 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nf_common.Tpo $(DEPDIR)/sfcapd-nf_common.Po
12141254 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nf_common.c' object='sfcapd-nf_common.o' libtool=no @AMDEPBACKSLASH@
12151255 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12161256 @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
12171257
12181258 sfcapd-nf_common.obj: nf_common.c
12191259 @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`
1220 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nf_common.Tpo $(DEPDIR)/sfcapd-nf_common.Po
1260 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nf_common.Tpo $(DEPDIR)/sfcapd-nf_common.Po
12211261 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nf_common.c' object='sfcapd-nf_common.obj' libtool=no @AMDEPBACKSLASH@
12221262 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12231263 @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`
12241264
12251265 sfcapd-util.o: util.c
12261266 @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
1227 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-util.Tpo $(DEPDIR)/sfcapd-util.Po
1267 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-util.Tpo $(DEPDIR)/sfcapd-util.Po
12281268 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='sfcapd-util.o' libtool=no @AMDEPBACKSLASH@
12291269 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12301270 @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
12311271
12321272 sfcapd-util.obj: util.c
12331273 @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`
1234 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-util.Tpo $(DEPDIR)/sfcapd-util.Po
1274 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-util.Tpo $(DEPDIR)/sfcapd-util.Po
12351275 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='util.c' object='sfcapd-util.obj' libtool=no @AMDEPBACKSLASH@
12361276 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12371277 @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`
12381278
12391279 sfcapd-minilzo.o: minilzo.c
12401280 @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
1241 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-minilzo.Tpo $(DEPDIR)/sfcapd-minilzo.Po
1281 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-minilzo.Tpo $(DEPDIR)/sfcapd-minilzo.Po
12421282 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='minilzo.c' object='sfcapd-minilzo.o' libtool=no @AMDEPBACKSLASH@
12431283 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12441284 @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
12451285
12461286 sfcapd-minilzo.obj: minilzo.c
12471287 @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`
1248 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-minilzo.Tpo $(DEPDIR)/sfcapd-minilzo.Po
1288 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-minilzo.Tpo $(DEPDIR)/sfcapd-minilzo.Po
12491289 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='minilzo.c' object='sfcapd-minilzo.obj' libtool=no @AMDEPBACKSLASH@
12501290 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12511291 @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`
12521292
12531293 sfcapd-nffile.o: nffile.c
12541294 @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
1255 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nffile.Tpo $(DEPDIR)/sfcapd-nffile.Po
1295 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nffile.Tpo $(DEPDIR)/sfcapd-nffile.Po
12561296 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nffile.c' object='sfcapd-nffile.o' libtool=no @AMDEPBACKSLASH@
12571297 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12581298 @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
12591299
12601300 sfcapd-nffile.obj: nffile.c
12611301 @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`
1262 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nffile.Tpo $(DEPDIR)/sfcapd-nffile.Po
1302 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nffile.Tpo $(DEPDIR)/sfcapd-nffile.Po
12631303 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nffile.c' object='sfcapd-nffile.obj' libtool=no @AMDEPBACKSLASH@
12641304 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12651305 @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`
12661306
12671307 sfcapd-nfx.o: nfx.c
12681308 @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
1269 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nfx.Tpo $(DEPDIR)/sfcapd-nfx.Po
1309 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nfx.Tpo $(DEPDIR)/sfcapd-nfx.Po
12701310 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfx.c' object='sfcapd-nfx.o' libtool=no @AMDEPBACKSLASH@
12711311 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12721312 @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
12731313
12741314 sfcapd-nfx.obj: nfx.c
12751315 @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`
1276 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nfx.Tpo $(DEPDIR)/sfcapd-nfx.Po
1316 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nfx.Tpo $(DEPDIR)/sfcapd-nfx.Po
12771317 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfx.c' object='sfcapd-nfx.obj' libtool=no @AMDEPBACKSLASH@
12781318 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12791319 @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`
12801320
12811321 sfcapd-nfxstat.o: nfxstat.c
12821322 @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
1283 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nfxstat.Tpo $(DEPDIR)/sfcapd-nfxstat.Po
1323 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nfxstat.Tpo $(DEPDIR)/sfcapd-nfxstat.Po
12841324 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfxstat.c' object='sfcapd-nfxstat.o' libtool=no @AMDEPBACKSLASH@
12851325 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12861326 @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
12871327
12881328 sfcapd-nfxstat.obj: nfxstat.c
12891329 @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`
1290 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nfxstat.Tpo $(DEPDIR)/sfcapd-nfxstat.Po
1330 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nfxstat.Tpo $(DEPDIR)/sfcapd-nfxstat.Po
12911331 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfxstat.c' object='sfcapd-nfxstat.obj' libtool=no @AMDEPBACKSLASH@
12921332 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
12931333 @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`
12941334
12951335 sfcapd-flist.o: flist.c
12961336 @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
1297 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-flist.Tpo $(DEPDIR)/sfcapd-flist.Po
1337 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-flist.Tpo $(DEPDIR)/sfcapd-flist.Po
12981338 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='flist.c' object='sfcapd-flist.o' libtool=no @AMDEPBACKSLASH@
12991339 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13001340 @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
13011341
13021342 sfcapd-flist.obj: flist.c
13031343 @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`
1304 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-flist.Tpo $(DEPDIR)/sfcapd-flist.Po
1344 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-flist.Tpo $(DEPDIR)/sfcapd-flist.Po
13051345 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='flist.c' object='sfcapd-flist.obj' libtool=no @AMDEPBACKSLASH@
13061346 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13071347 @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`
13081348
13091349 sfcapd-fts_compat.o: fts_compat.c
13101350 @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
1311 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-fts_compat.Tpo $(DEPDIR)/sfcapd-fts_compat.Po
1351 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-fts_compat.Tpo $(DEPDIR)/sfcapd-fts_compat.Po
13121352 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fts_compat.c' object='sfcapd-fts_compat.o' libtool=no @AMDEPBACKSLASH@
13131353 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13141354 @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
13151355
13161356 sfcapd-fts_compat.obj: fts_compat.c
13171357 @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`
1318 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-fts_compat.Tpo $(DEPDIR)/sfcapd-fts_compat.Po
1358 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-fts_compat.Tpo $(DEPDIR)/sfcapd-fts_compat.Po
13191359 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='fts_compat.c' object='sfcapd-fts_compat.obj' libtool=no @AMDEPBACKSLASH@
13201360 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13211361 @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`
13221362
13231363 sfcapd-nfstatfile.o: nfstatfile.c
13241364 @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
1325 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nfstatfile.Tpo $(DEPDIR)/sfcapd-nfstatfile.Po
1365 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nfstatfile.Tpo $(DEPDIR)/sfcapd-nfstatfile.Po
13261366 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfstatfile.c' object='sfcapd-nfstatfile.o' libtool=no @AMDEPBACKSLASH@
13271367 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13281368 @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
13291369
13301370 sfcapd-nfstatfile.obj: nfstatfile.c
13311371 @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`
1332 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nfstatfile.Tpo $(DEPDIR)/sfcapd-nfstatfile.Po
1372 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nfstatfile.Tpo $(DEPDIR)/sfcapd-nfstatfile.Po
13331373 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfstatfile.c' object='sfcapd-nfstatfile.obj' libtool=no @AMDEPBACKSLASH@
13341374 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13351375 @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`
13361376
13371377 sfcapd-launch.o: launch.c
13381378 @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
1339 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-launch.Tpo $(DEPDIR)/sfcapd-launch.Po
1379 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-launch.Tpo $(DEPDIR)/sfcapd-launch.Po
13401380 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='launch.c' object='sfcapd-launch.o' libtool=no @AMDEPBACKSLASH@
13411381 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13421382 @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
13431383
13441384 sfcapd-launch.obj: launch.c
13451385 @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`
1346 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-launch.Tpo $(DEPDIR)/sfcapd-launch.Po
1386 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-launch.Tpo $(DEPDIR)/sfcapd-launch.Po
13471387 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='launch.c' object='sfcapd-launch.obj' libtool=no @AMDEPBACKSLASH@
13481388 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13491389 @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`
13501390
13511391 sfcapd-nfnet.o: nfnet.c
13521392 @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
1353 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nfnet.Tpo $(DEPDIR)/sfcapd-nfnet.Po
1393 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nfnet.Tpo $(DEPDIR)/sfcapd-nfnet.Po
13541394 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfnet.c' object='sfcapd-nfnet.o' libtool=no @AMDEPBACKSLASH@
13551395 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13561396 @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
13571397
13581398 sfcapd-nfnet.obj: nfnet.c
13591399 @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`
1360 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-nfnet.Tpo $(DEPDIR)/sfcapd-nfnet.Po
1400 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-nfnet.Tpo $(DEPDIR)/sfcapd-nfnet.Po
13611401 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='nfnet.c' object='sfcapd-nfnet.obj' libtool=no @AMDEPBACKSLASH@
13621402 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13631403 @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`
13641404
13651405 sfcapd-collector.o: collector.c
13661406 @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
1367 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-collector.Tpo $(DEPDIR)/sfcapd-collector.Po
1407 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-collector.Tpo $(DEPDIR)/sfcapd-collector.Po
13681408 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='collector.c' object='sfcapd-collector.o' libtool=no @AMDEPBACKSLASH@
13691409 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13701410 @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
13711411
13721412 sfcapd-collector.obj: collector.c
13731413 @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`
1374 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-collector.Tpo $(DEPDIR)/sfcapd-collector.Po
1414 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-collector.Tpo $(DEPDIR)/sfcapd-collector.Po
13751415 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='collector.c' object='sfcapd-collector.obj' libtool=no @AMDEPBACKSLASH@
13761416 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13771417 @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`
13781418
13791419 sfcapd-bookkeeper.o: bookkeeper.c
13801420 @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
1381 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-bookkeeper.Tpo $(DEPDIR)/sfcapd-bookkeeper.Po
1421 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-bookkeeper.Tpo $(DEPDIR)/sfcapd-bookkeeper.Po
13821422 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bookkeeper.c' object='sfcapd-bookkeeper.o' libtool=no @AMDEPBACKSLASH@
13831423 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13841424 @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
13851425
13861426 sfcapd-bookkeeper.obj: bookkeeper.c
13871427 @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`
1388 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-bookkeeper.Tpo $(DEPDIR)/sfcapd-bookkeeper.Po
1428 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-bookkeeper.Tpo $(DEPDIR)/sfcapd-bookkeeper.Po
13891429 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='bookkeeper.c' object='sfcapd-bookkeeper.obj' libtool=no @AMDEPBACKSLASH@
13901430 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13911431 @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`
13921432
13931433 sfcapd-expire.o: expire.c
13941434 @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
1395 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-expire.Tpo $(DEPDIR)/sfcapd-expire.Po
1435 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-expire.Tpo $(DEPDIR)/sfcapd-expire.Po
13961436 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='expire.c' object='sfcapd-expire.o' libtool=no @AMDEPBACKSLASH@
13971437 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
13981438 @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
13991439
14001440 sfcapd-expire.obj: expire.c
14011441 @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`
1402 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-expire.Tpo $(DEPDIR)/sfcapd-expire.Po
1442 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-expire.Tpo $(DEPDIR)/sfcapd-expire.Po
14031443 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='expire.c' object='sfcapd-expire.obj' libtool=no @AMDEPBACKSLASH@
14041444 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
14051445 @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`
14061446
14071447 sfcapd-pcap_reader.o: pcap_reader.c
14081448 @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
1409 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-pcap_reader.Tpo $(DEPDIR)/sfcapd-pcap_reader.Po
1449 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-pcap_reader.Tpo $(DEPDIR)/sfcapd-pcap_reader.Po
14101450 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pcap_reader.c' object='sfcapd-pcap_reader.o' libtool=no @AMDEPBACKSLASH@
14111451 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
14121452 @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
14131453
14141454 sfcapd-pcap_reader.obj: pcap_reader.c
14151455 @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`
1416 @am__fastdepCC_TRUE@ mv -f $(DEPDIR)/sfcapd-pcap_reader.Tpo $(DEPDIR)/sfcapd-pcap_reader.Po
1456 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sfcapd-pcap_reader.Tpo $(DEPDIR)/sfcapd-pcap_reader.Po
14171457 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='pcap_reader.c' object='sfcapd-pcap_reader.obj' libtool=no @AMDEPBACKSLASH@
14181458 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
14191459 @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`
14291469 unique=`for i in $$list; do \
14301470 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
14311471 done | \
1432 $(AWK) ' { files[$$0] = 1; } \
1433 END { for (i in files) print i; }'`; \
1472 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1473 END { if (nonempty) { for (i in files) print i; }; }'`; \
14341474 mkid -fID $$unique
14351475 tags: TAGS
14361476
14371477 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
14381478 $(TAGS_FILES) $(LISP)
1439 tags=; \
1479 set x; \
14401480 here=`pwd`; \
14411481 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
14421482 unique=`for i in $$list; do \
14431483 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
14441484 done | \
1445 $(AWK) ' { files[$$0] = 1; } \
1446 END { for (i in files) print i; }'`; \
1447 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
1485 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1486 END { if (nonempty) { for (i in files) print i; }; }'`; \
1487 shift; \
1488 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
14481489 test -n "$$unique" || unique=$$empty_fix; \
1449 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1450 $$tags $$unique; \
1490 if test $$# -gt 0; then \
1491 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1492 "$$@" $$unique; \
1493 else \
1494 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1495 $$unique; \
1496 fi; \
14511497 fi
14521498 ctags: CTAGS
14531499 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
14541500 $(TAGS_FILES) $(LISP)
1455 tags=; \
1456 here=`pwd`; \
14571501 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
14581502 unique=`for i in $$list; do \
14591503 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
14601504 done | \
1461 $(AWK) ' { files[$$0] = 1; } \
1462 END { for (i in files) print i; }'`; \
1463 test -z "$(CTAGS_ARGS)$$tags$$unique" \
1505 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1506 END { if (nonempty) { for (i in files) print i; }; }'`; \
1507 test -z "$(CTAGS_ARGS)$$unique" \
14641508 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1465 $$tags $$unique
1509 $$unique
14661510
14671511 GTAGS:
14681512 here=`$(am__cd) $(top_builddir) && pwd` \
1469 && cd $(top_srcdir) \
1470 && gtags -i $(GTAGS_ARGS) $$here
1513 && $(am__cd) $(top_srcdir) \
1514 && gtags -i $(GTAGS_ARGS) "$$here"
14711515
14721516 distclean-tags:
14731517 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
14741518
14751519 check-TESTS: $(TESTS)
1476 @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
1520 @failed=0; all=0; xfail=0; xpass=0; skip=0; \
14771521 srcdir=$(srcdir); export srcdir; \
14781522 list=' $(TESTS) '; \
1523 $(am__tty_colors); \
14791524 if test -n "$$list"; then \
14801525 for tst in $$list; do \
14811526 if test -f ./$$tst; then dir=./; \
14841529 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
14851530 all=`expr $$all + 1`; \
14861531 case " $(XFAIL_TESTS) " in \
1487 *$$ws$$tst$$ws*) \
1532 *[\ \ ]$$tst[\ \ ]*) \
14881533 xpass=`expr $$xpass + 1`; \
14891534 failed=`expr $$failed + 1`; \
1490 echo "XPASS: $$tst"; \
1535 col=$$red; res=XPASS; \
14911536 ;; \
14921537 *) \
1493 echo "PASS: $$tst"; \
1538 col=$$grn; res=PASS; \
14941539 ;; \
14951540 esac; \
14961541 elif test $$? -ne 77; then \
14971542 all=`expr $$all + 1`; \
14981543 case " $(XFAIL_TESTS) " in \
1499 *$$ws$$tst$$ws*) \
1544 *[\ \ ]$$tst[\ \ ]*) \
15001545 xfail=`expr $$xfail + 1`; \
1501 echo "XFAIL: $$tst"; \
1546 col=$$lgn; res=XFAIL; \
15021547 ;; \
15031548 *) \
15041549 failed=`expr $$failed + 1`; \
1505 echo "FAIL: $$tst"; \
1550 col=$$red; res=FAIL; \
15061551 ;; \
15071552 esac; \
15081553 else \
15091554 skip=`expr $$skip + 1`; \
1510 echo "SKIP: $$tst"; \
1555 col=$$blu; res=SKIP; \
15111556 fi; \
1557 echo "$${col}$$res$${std}: $$tst"; \
15121558 done; \
1559 if test "$$all" -eq 1; then \
1560 tests="test"; \
1561 All=""; \
1562 else \
1563 tests="tests"; \
1564 All="All "; \
1565 fi; \
15131566 if test "$$failed" -eq 0; then \
15141567 if test "$$xfail" -eq 0; then \
1515 banner="All $$all tests passed"; \
1568 banner="$$All$$all $$tests passed"; \
15161569 else \
1517 banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
1570 if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
1571 banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
15181572 fi; \
15191573 else \
15201574 if test "$$xpass" -eq 0; then \
1521 banner="$$failed of $$all tests failed"; \
1575 banner="$$failed of $$all $$tests failed"; \
15221576 else \
1523 banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
1577 if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
1578 banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
15241579 fi; \
15251580 fi; \
15261581 dashes="$$banner"; \
15271582 skipped=""; \
15281583 if test "$$skip" -ne 0; then \
1529 skipped="($$skip tests were not run)"; \
1584 if test "$$skip" -eq 1; then \
1585 skipped="($$skip test was not run)"; \
1586 else \
1587 skipped="($$skip tests were not run)"; \
1588 fi; \
15301589 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
15311590 dashes="$$skipped"; \
15321591 fi; \
15371596 dashes="$$report"; \
15381597 fi; \
15391598 dashes=`echo "$$dashes" | sed s/./=/g`; \
1540 echo "$$dashes"; \
1599 if test "$$failed" -eq 0; then \
1600 echo "$$grn$$dashes"; \
1601 else \
1602 echo "$$red$$dashes"; \
1603 fi; \
15411604 echo "$$banner"; \
15421605 test -z "$$skipped" || echo "$$skipped"; \
15431606 test -z "$$report" || echo "$$report"; \
1544 echo "$$dashes"; \
1607 echo "$$dashes$$std"; \
15451608 test "$$failed" -eq 0; \
15461609 else :; fi
15471610
15611624 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
15621625 if test -d $$d/$$file; then \
15631626 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1627 if test -d "$(distdir)/$$file"; then \
1628 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1629 fi; \
15641630 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1565 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
1631 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1632 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
15661633 fi; \
1567 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
1634 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
15681635 else \
1569 test -f $(distdir)/$$file \
1570 || cp -p $$d/$$file $(distdir)/$$file \
1636 test -f "$(distdir)/$$file" \
1637 || cp -p $$d/$$file "$(distdir)/$$file" \
15711638 || exit 1; \
15721639 fi; \
15731640 done
16021669
16031670 distclean-generic:
16041671 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1672 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
16051673
16061674 maintainer-clean-generic:
16071675 @echo "This command is intended for maintainers to use"
16261694
16271695 html: html-am
16281696
1697 html-am:
1698
16291699 info: info-am
16301700
16311701 info-am:
16341704
16351705 install-dvi: install-dvi-am
16361706
1707 install-dvi-am:
1708
16371709 install-exec-am: install-binPROGRAMS
16381710
16391711 install-html: install-html-am
16401712
1713 install-html-am:
1714
16411715 install-info: install-info-am
16421716
1717 install-info-am:
1718
16431719 install-man:
16441720
16451721 install-pdf: install-pdf-am
16461722
1723 install-pdf-am:
1724
16471725 install-ps: install-ps-am
1726
1727 install-ps-am:
16481728
16491729 installcheck-am:
16501730
16671747
16681748 uninstall-am: uninstall-binPROGRAMS
16691749
1670 .MAKE: install-am install-strip
1750 .MAKE: all check check-am install install-am install-strip
16711751
16721752 .PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
16731753 clean-binPROGRAMS clean-generic ctags distclean \
16821762 mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
16831763 tags uninstall uninstall-am uninstall-binPROGRAMS
16841764
1765
16851766 # Tell versions [3.59,3.63) of GNU make to not export all variables.
16861767 # Otherwise a system limit (for SysV at least) may be exceeded.
16871768 .NOEXPORT:
364364 fprintf(stderr, "malloc() allocation error: %s\n", strerror(errno));
365365 return ;
366366 }
367 dbg_printf("Process_v9: New sampler at offsets: ID %i, mode: %i, interval: %i",
367 dbg_printf("Process_v9: New sampler at offsets: ID %i, mode: %i, interval: %i\n",
368368 offset_sampler_id, offset_sampler_mode, offset_sampler_interval);
369369 } // else existing table
370370
9494
9595 // statistical data per source
9696 uint32_t bad_packets;
97 uint64_t first_seen;
98 uint64_t last_seen;
97 uint64_t first_seen; // in msec
98 uint64_t last_seen; // in msec
9999
100100 // port histogram data
101101 xstat_t *xstat;
4343 #include <sys/stat.h>
4444 #include <sys/uio.h>
4545 #include <unistd.h>
46 #include <signal.h>
4647 #include <fcntl.h>
4748 #include <errno.h>
4849 #include <ctype.h>
6869 #include "nfstatfile.h"
6970 #include "expire.h"
7071
72 static uint32_t timeout = 0;
73
7174 /*
7275 * expire.c is needed for daemon code as well as normal stdio code
7376 * therefore a generic LogError is defined, which maps to the
8790 return 0;
8891 } // End of unlink_debug
8992 #endif
93
94 static void IntHandler(int signal) {
95
96 switch (signal) {
97 case SIGALRM:
98 timeout = 1;
99 break;
100 case SIGHUP:
101 case SIGINT:
102 case SIGTERM:
103 timeout = 1;
104 break;
105 break;
106 case SIGCHLD:
107 default:
108 // ignore everything we don't know
109 break;
110 }
111
112 } /* End of IntHandler */
113
114 static void SetupSignalHandler(void) {
115 struct sigaction act;
116
117 memset((void *)&act,0,sizeof(struct sigaction));
118 act.sa_handler = IntHandler;
119 sigemptyset(&act.sa_mask);
120 act.sa_flags = 0;
121 sigaction(SIGTERM, &act, NULL);
122 sigaction(SIGINT, &act, NULL);
123 sigaction(SIGHUP, &act, NULL);
124 sigaction(SIGALRM, &act, NULL);
125 sigaction(SIGCHLD, &act, NULL);
126
127 } // End of SetupSignalHandler
90128
91129 uint64_t ParseSizeDef(char *s, uint64_t *value) {
92130 char *p;
317355
318356 } // End of RescanDir
319357
320 void ExpireDir(char *dir, dirstat_t *dirstat, uint64_t maxsize, uint64_t maxlife ) {
358 void ExpireDir(char *dir, dirstat_t *dirstat, uint64_t maxsize, uint64_t maxlife, uint32_t runtime ) {
321359 FTS *fts;
322360 FTSENT *ftsent;
323361 uint64_t sizelimit, num_expired;
329367 dir_files = 0;
330368 if ( dirstat->low_water == 0 )
331369 dirstat->low_water = 95;
370
371 SetupSignalHandler();
372 if ( runtime )
373 alarm(runtime);
332374
333375 if ( maxlife ) {
334376 // build an appropriate string for comparing
431473 lifetime_done = 1;
432474 }
433475 }
434 done = size_done && lifetime_done;
476 done = (size_done && lifetime_done) || timeout;
435477
436478 }
437479 } else {
466508 // the time limit is shorter than the latest file
467509 dirstat->first = dirstat->last;
468510 }
511 if ( runtime )
512 alarm(0);
513 if ( timeout ) {
514 LogError( "Maximum execution time reached! Interrupt expire.\n");
515 }
469516 if ( num_expired > dirstat->numfiles ) {
470517 LogError( "Error updating stat record: Number of files inconsistent!\n");
471518 LogError( "Will automatically rebuild this directory next time\n");
551598
552599 } // End of PrepareDirLists
553600
554 void ExpireProfile(channel_t *channel, dirstat_t *current_stat, uint64_t maxsize, uint64_t maxlife ) {
601 void ExpireProfile(channel_t *channel, dirstat_t *current_stat, uint64_t maxsize, uint64_t maxlife, uint32_t runtime ) {
555602 int size_done, lifetime_done, done;
556603 char *expire_timelimit = "";
557604 time_t now = time(NULL);
561608 return;
562609
563610 done = 0;
611 SetupSignalHandler();
564612
565613 if ( maxlife ) {
566614 // time_t t_expire = now - maxlife;
581629 num_expired = 0;
582630
583631 PrepareDirLists(channel);
632 if ( runtime )
633 alarm(runtime);
584634 while ( !done ) {
585635 char *p;
586636 int file_removed;
676726 }
677727 } else
678728 // all done
729 done = 1;
730 if ( timeout )
679731 done = 1;
680732
681733 // advance fts entry in expire channel to next file, if file was removed
736788 }
737789 } // while ( !done )
738790
791 if ( runtime )
792 alarm(0);
793 if ( timeout ) {
794 LogError( "Maximum execution time reached! Interrupt expire.\n");
795 }
796
739797 } // End of ExpireProfile
740798
741799 void UpdateBookStat(dirstat_t *dirstat, bookkeeper_t *books) {
5757
5858 void RescanDir(char *dir, dirstat_t *dirstat);
5959
60 void ExpireDir(char *dir, dirstat_t *dirstat, uint64_t maxsize, uint64_t maxlife );
60 void ExpireDir(char *dir, dirstat_t *dirstat, uint64_t maxsize, uint64_t maxlife, uint32_t runtime );
6161
62 void ExpireProfile(channel_t *channel, dirstat_t *current_stat, uint64_t maxsize, uint64_t maxlife );
62 void ExpireProfile(channel_t *channel, dirstat_t *current_stat, uint64_t maxsize, uint64_t maxlife, uint32_t runtime );
6363
6464 void UpdateBookStat(dirstat_t *dirstat, bookkeeper_t *books);
6565
0 /*
1 * Copyright (c) 2012, Peter Haag
2 * All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 *
7 * * Redistributions of source code must retain the above copyright notice,
8 * this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright notice,
10 * this list of conditions and the following disclaimer in the documentation
11 * and/or other materials provided with the distribution.
12 * * Neither the name of the author nor the names of its contributors may be
13 * used to endorse or promote products derived from this software without
14 * specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
20 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 * POSSIBILITY OF SUCH DAMAGE.
27 *
28 * $Author:$
29 *
30 * $Id:$
31 *
32 * $LastChangedRevision:$
33 *
34 */
35
36 #include "config.h"
37
38 #include <stdio.h>
39 #include <sys/types.h>
40 #include <sys/socket.h>
41 #include <unistd.h>
42 #include <stdlib.h>
43 #include <syslog.h>
44 #include <string.h>
45 #include <errno.h>
46 #include <time.h>
47 #include <netinet/in.h>
48 #include <arpa/inet.h>
49
50 #ifdef HAVE_STDINT_H
51 #include <stdint.h>
52 #endif
53
54 #include "nffile.h"
55 #include "nfx.h"
56 #include "nfnet.h"
57 #include "nf_common.h"
58 #include "util.h"
59 #include "bookkeeper.h"
60 #include "nfxstat.h"
61 #include "collector.h"
62 #include "ipfix.h"
63
64 #ifndef DEVEL
65 # define dbg_printf(...) /* printf(__VA_ARGS__) */
66 #else
67 # define dbg_printf(...) printf(__VA_ARGS__)
68 #endif
69
70 // a few handy macros
71 #define GET_FLOWSET_ID(p) (Get_val16(p))
72 #define GET_FLOWSET_LENGTH(p) (Get_val16((void *)((p) + 2)))
73
74 #define GET_TEMPLATE_ID(p) (Get_val16(p))
75 #define GET_TEMPLATE_COUNT(p) (Get_val16((void *)((p) + 2)))
76
77 #define GET_OPTION_TEMPLATE_ID(p) (Get_val16(p))
78 #define GET_OPTION_TEMPLATE_FIELD_COUNT(p) (Get_val16((void *)((p) + 2)))
79 #define GET_OPTION_TEMPLATE_SCOPE_FIELD_COUNT(p) (Get_val16((void *)((p) + 4)))
80
81 /* module limited globals */
82
83 /*
84 * sequence element to move data from data input to output
85 * a sequence exists for each IPFIX element
86 */
87 typedef struct sequence_map_s {
88 /* sequence definition:
89 just move a certain number of bytes -> moveXX
90 set a certain number of output bytes to zero -> zeroXX
91 process input data into appropriate output -> AnyName
92 */
93 #define nop 0
94 #define move8 1
95 #define move16 2
96 #define move32 3
97 #define move40 4
98 #define move48 5
99 #define move56 6
100 #define move64 7
101 #define move128 8
102 #define move32_sampling 9
103 #define move64_sampling 10
104 #define move_mac 11
105 #define move_mpls 12
106 #define Time64Mili 13
107 #define saveICMP 14
108 #define zero8 15
109 #define zero16 16
110 #define zero32 17
111 #define zero64 18
112 #define zero128 19
113
114 uint32_t id; // sequence ID as defined above
115 uint16_t input_offset; // copy/process data at this input offset
116 uint16_t output_offset; // copy final data to this output offset
117 void *stack; // optionally copy data onto this stack
118 } sequence_map_t;
119
120 /*
121 * the IPFIX template records are processed and
122 * for each template we create a a translation table, which contains
123 * all information required, to transform the data records from
124 * the exporter into nfdump internal data structurs.
125 * All templates are chained in a linked list
126 */
127 typedef struct input_translation_s {
128 struct input_translation_s *next; // linked list
129 uint32_t flags; // flags for output record
130 time_t updated; // timestamp of last update/refresh
131 uint32_t id; // template ID of exporter domains
132 uint32_t input_record_size; // size of the input record
133 uint32_t output_record_size; // required size in nfdump format
134
135 // tmp vars needed while processing the data record
136 uint64_t flow_start; // start time in msec
137 uint64_t flow_end; // end time in msec
138 uint32_t ICMP_offset; // offset of ICMP type/code in data stream
139 uint64_t packets; // total packets - sampling corrected
140 uint64_t bytes; // total bytes - sampling corrected
141 // uint32_t src_as_offset;
142 // uint32_t dst_as_offset;
143 // uint32_t sampler_offset;
144 // uint32_t sampler_size;
145 // uint32_t engine_offset;
146 uint32_t router_ip_offset;
147
148 // etension map infos
149 uint32_t extension_map_changed; // map changed while refreshing?
150 extension_info_t extension_info; // the extension map reflecting this template
151
152 // track packet sequence numbers
153 uint32_t PacketSequence;
154
155 // sequence map information
156 uint32_t number_of_sequences; // number of sequences for the translate
157 sequence_map_t *sequence; // sequence map
158 } input_translation_t;
159
160 /*
161 * All Obervation Domains from all exporter are stored in a linked list
162 * which uniquely can identify each exporter/Observation Domain
163 */
164 typedef struct exporter_domain_s {
165 struct exporter_domain_s *next; // linkes list to next exporter
166
167 // identifiers to uniquely idetify each exporter
168 uint32_t version; // make sure it's a version 10 exporter
169 uint32_t ObservationDomain; // The Observation Domain is unique per device
170 ip_addr_t ip; // IP address to identify the device
171 uint32_t sa_family; // v4/v6
172
173 // exporter parameters
174 uint32_t ExportTime;
175
176 // statistics
177 uint64_t TemplateRecords; // stat counter
178 uint64_t DataRecords; // stat counter
179
180 // linked list of all templates sent by this exporter
181 input_translation_t *input_translation_table;
182
183 // in order to prevent search through all lists keep
184 // the last template we processed as a cache
185 input_translation_t *current_table;
186
187 // Current sequence number
188 uint32_t PacketSequence;
189
190 } exporter_domain_t;
191
192
193 static struct ipfix_element_map_s {
194 uint16_t id; // IPFIX element id
195 uint16_t length; // type of this element ( input length )
196 uint16_t out_length; // type of this element ( output length )
197 uint32_t sequence; //
198 uint32_t zero_sequence; //
199 uint16_t extension; // maps into nfdump extension ID
200 } ipfix_element_map[] = {
201 {0, 0, 0},
202 { IPFIX_octetDeltaCount, _8bytes, _8bytes, move64_sampling, zero64, COMMON_BLOCK },
203 { IPFIX_packetDeltaCount, _8bytes, _8bytes, move64_sampling, zero64, COMMON_BLOCK },
204 { IPFIX_protocolIdentifier, _1byte, _1byte, move8, zero8, COMMON_BLOCK },
205 { IPFIX_ipClassOfService, _1byte, _1byte, move8, zero8, COMMON_BLOCK },
206 { IPFIX_tcpControlBits, _1byte, _1byte, move8, zero8, COMMON_BLOCK },
207 { IPFIX_SourceTransportPort, _2bytes, _2bytes, move16, zero16, COMMON_BLOCK },
208 { IPFIX_SourceIPv4Address, _4bytes, _4bytes, move32, zero32, COMMON_BLOCK },
209 { IPFIX_SourceIPv4PrefixLength, _1byte, _1byte, move8, zero8, EX_MULIPLE },
210 { IPFIX_ingressInterface, _4bytes, _4bytes, move32, zero32, EX_IO_SNMP_4 },
211 { IPFIX_DestinationTransportPort, _2bytes, _2bytes, move16, zero16, COMMON_BLOCK },
212 { IPFIX_DestinationIPv4Address, _4bytes, _4bytes, move32, zero32, COMMON_BLOCK },
213 { IPFIX_DestinationIPv4PrefixLength, _1byte, _1byte, move8, zero8, EX_MULIPLE },
214 { IPFIX_egressInterface, _4bytes, _4bytes, move32, zero32, EX_IO_SNMP_4 },
215 { IPFIX_ipNextHopIPv4Address, _4bytes, _4bytes, move32, zero32, EX_NEXT_HOP_v4 },
216 { IPFIX_bgpSourceAsNumber, _4bytes, _4bytes, move32, zero32, EX_AS_4 },
217 { IPFIX_bgpDestinationAsNumber, _4bytes, _4bytes, move32, zero32, EX_AS_4 },
218 { IPFIX_bgpNextHopIPv4Address, _4bytes, _4bytes, move32, zero32, EX_NEXT_HOP_BGP_v4},
219 { IPFIX_flowEndSysUpTime, _8bytes, _8bytes, nop, nop, COMMON_BLOCK },
220 { IPFIX_flowStartSysUpTime, _4bytes, _4bytes, nop, nop, COMMON_BLOCK },
221 { IPFIX_postOctetDeltaCount, _8bytes, _8bytes, move64, zero64, EX_OUT_BYTES_8 },
222 { IPFIX_postPacketDeltaCount, _8bytes, _8bytes, move64, zero64, EX_OUT_PKG_8 },
223 { IPFIX_SourceIPv6Address, _16bytes, _16bytes, move128, zero128, COMMON_BLOCK },
224 { IPFIX_DestinationIPv6Address, _16bytes, _16bytes, move128, zero128, COMMON_BLOCK },
225 { IPFIX_SourceIPv6PrefixLength, _1byte, _1byte, move8, zero8, EX_MULIPLE },
226 { IPFIX_DestinationIPv6PrefixLength, _1byte, _1byte, move8, zero8, EX_MULIPLE },
227 { IPFIX_flowLabelIPv6, _4bytes, _4bytes, nop, nop, COMMON_BLOCK },
228 { IPFIX_icmpTypeCodeIPv4, _2bytes, _2bytes, nop, nop, COMMON_BLOCK },
229 { IPFIX_postIpClassOfService, _1byte, _1byte, move8, zero8, EX_MULIPLE },
230 { IPFIX_SourceMacAddress, _6bytes, _8bytes, move_mac, zero64, EX_MAC_1},
231 { IPFIX_postDestinationMacAddress, _6bytes, _8bytes, move_mac, zero64, EX_MAC_1},
232 { IPFIX_vlanId, _2bytes, _2bytes, move16, zero16, EX_VLAN},
233 { IPFIX_postVlanId, _2bytes, _2bytes, move16, zero16, EX_VLAN},
234 { IPFIX_flowDirection, _1byte, _1byte, move8, zero8, EX_MULIPLE },
235 { IPFIX_ipNextHopIPv6Address, _16bytes, _16bytes, move128, zero128, EX_NEXT_HOP_v6},
236 { IPFIX_bgpNextHopIPv6Address, _16bytes, _16bytes, move128, zero128, EX_NEXT_HOP_BGP_v6},
237 { IPFIX_mplsTopLabelStackSection, _3bytes, _4bytes, move_mpls, zero32, EX_MPLS},
238 { IPFIX_mplsLabelStackSection2, _3bytes, _4bytes, move_mpls, zero32, EX_MPLS},
239 { IPFIX_mplsLabelStackSection3, _3bytes, _4bytes, move_mpls, zero32, EX_MPLS},
240 { IPFIX_mplsLabelStackSection4, _3bytes, _4bytes, move_mpls, zero32, EX_MPLS},
241 { IPFIX_mplsLabelStackSection5, _3bytes, _4bytes, move_mpls, zero32, EX_MPLS},
242 { IPFIX_mplsLabelStackSection6, _3bytes, _4bytes, move_mpls, zero32, EX_MPLS},
243 { IPFIX_mplsLabelStackSection7, _3bytes, _4bytes, move_mpls, zero32, EX_MPLS},
244 { IPFIX_mplsLabelStackSection8, _3bytes, _4bytes, move_mpls, zero32, EX_MPLS},
245 { IPFIX_mplsLabelStackSection9, _3bytes, _4bytes, move_mpls, zero32, EX_MPLS},
246 { IPFIX_mplsLabelStackSection10, _3bytes, _4bytes, move_mpls, zero32, EX_MPLS},
247 { IPFIX_DestinationMacAddress, _6bytes, _8bytes, move_mac, zero64, EX_MAC_2},
248 { IPFIX_postSourceMacAddress, _6bytes, _8bytes, move_mac, zero64, EX_MAC_2},
249 { IPFIX_flowStartMilliseconds, _8bytes, _8bytes, Time64Mili, zero32, COMMON_BLOCK},
250 { IPFIX_flowEndMilliseconds, _8bytes, _8bytes, Time64Mili, zero32, COMMON_BLOCK},
251 {0, 0, 0}
252 };
253
254 // cache to be used while parsing a template
255 static struct cache_s {
256 struct element_param_s {
257 uint16_t index;
258 uint16_t found;
259 uint16_t offset;
260 uint16_t length;
261 } *lookup_info;
262 uint32_t max_ipfix_elements;
263 uint32_t *common_extensions;
264
265 } cache;
266
267 // module limited globals
268 static uint32_t processed_records;
269
270 // externals
271 extern int verbose;
272 extern uint32_t Max_num_extensions;
273 extern extension_descriptor_t extension_descriptor[];
274 extern uint32_t overwrite_sampling;
275
276 // prototypes
277 static input_translation_t *add_translation_table(exporter_domain_t *exporter, uint16_t id);
278
279 static void remove_translation_table(exporter_domain_t *exporter, uint16_t id);
280
281 static void remove_all_translation_tables(exporter_domain_t *exporter);
282
283 static inline exporter_domain_t *GetExporter(FlowSource_t *fs, ipfix_header_t *ipfix_header);
284
285 static inline uint32_t MapElement(uint16_t Type, uint16_t Length, uint16_t Offset);
286
287 static inline void PushSequence(input_translation_t *table, uint16_t Type, uint32_t *offset, void *stack);
288
289 static inline void Process_ipfix_templates(exporter_domain_t *exporter, void *flowset_header, uint32_t size_left, FlowSource_t *fs);
290
291 static inline void Process_ipfix_template_add(exporter_domain_t *exporter, void *DataPtr, uint32_t size_left, FlowSource_t *fs);
292
293 static inline void Process_ipfix_template_withdraw(exporter_domain_t *exporter, void *DataPtr, uint32_t size_left, FlowSource_t *fs);
294
295
296 #include "inline.c"
297 #include "nffile_inline.c"
298
299 int Init_IPFIX(void) {
300 int i;
301
302 cache.lookup_info = (struct element_param_s *)calloc(65536, sizeof(struct element_param_s));
303 cache.common_extensions = (uint32_t *)malloc((Max_num_extensions+1)*sizeof(uint32_t));
304 if ( !cache.common_extensions || !cache.lookup_info ) {
305 syslog(LOG_ERR, "Process_ipfix: Panic! malloc(): %s line %d: %s", __FILE__, __LINE__, strerror (errno));
306 return 0;
307 }
308
309 // init the helper element table
310 for (i=1; ipfix_element_map[i].id != 0; i++ ) {
311 uint32_t Type = ipfix_element_map[i].id;
312 cache.lookup_info[Type].index = i;
313 }
314 cache.max_ipfix_elements = i;
315
316 return 1;
317
318 } // End of Init_IPFIX
319
320 static inline exporter_domain_t *GetExporter(FlowSource_t *fs, ipfix_header_t *ipfix_header) {
321 #define IP_STRING_LEN 40
322 char ipstr[IP_STRING_LEN];
323 exporter_domain_t **e = (exporter_domain_t **)&(fs->exporter_data);
324 uint32_t ObservationDomain = ntohl(ipfix_header->ObservationDomain);
325
326 while ( *e ) {
327 if ( (*e)->ObservationDomain == ObservationDomain && (*e)->version == 10 &&
328 (*e)->ip.v6[0] == fs->ip.v6[0] && (*e)->ip.v6[1] == fs->ip.v6[1])
329 return *e;
330 e = &((*e)->next);
331 }
332
333 if ( fs->sa_family == AF_INET ) {
334 uint32_t _ip = htonl(fs->ip.v4);
335 inet_ntop(AF_INET, &_ip, ipstr, sizeof(ipstr));
336 } else if ( fs->sa_family == AF_INET6 ) {
337 uint64_t _ip[2];
338 _ip[0] = htonll(fs->ip.v6[0]);
339 _ip[1] = htonll(fs->ip.v6[1]);
340 inet_ntop(AF_INET6, &_ip, ipstr, sizeof(ipstr));
341 } else {
342 strncpy(ipstr, "<unknown>", IP_STRING_LEN);
343 }
344
345 dbg_printf("Process_ipfix: New observation domain %u from: %s\n", ObservationDomain, ipstr);
346 syslog(LOG_INFO, "Process_ipfix: New observation domain %u from: %s\n", ObservationDomain, ipstr);
347
348 // nothing found
349 *e = (exporter_domain_t *)malloc(sizeof(exporter_domain_t));
350 if ( !(*e)) {
351 syslog(LOG_ERR, "Process_ipfix: Panic! malloc() %s line %d: %s", __FILE__, __LINE__, strerror (errno));
352 return NULL;
353 }
354 memset((void *)(*e), 0, sizeof(exporter_domain_t));
355 (*e)->ObservationDomain = ObservationDomain;
356 (*e)->ip.v6[0] = fs->ip.v6[0];
357 (*e)->ip.v6[1] = fs->ip.v6[1];
358 (*e)->sa_family = fs->sa_family;
359 (*e)->version = 10;
360 (*e)->TemplateRecords = 0;
361 (*e)->DataRecords = 0;
362 (*e)->next = NULL;
363 return (*e);
364
365 } // End of GetExporter
366
367 static inline uint32_t MapElement(uint16_t Type, uint16_t Length, uint16_t Offset) {
368 int index;
369
370 index = cache.lookup_info[Type].index;
371 if ( index && Length == ipfix_element_map[index].length ) {
372 cache.lookup_info[Type].found = 1;
373 cache.lookup_info[Type].offset = Offset;
374 cache.lookup_info[Type].length = Length;
375 dbg_printf("found extension %u for type: %u, input length: %u output length: %u Extension: %u\n",
376 ipfix_element_map[index].extension, ipfix_element_map[index].id,
377 ipfix_element_map[index].length, ipfix_element_map[index].out_length, ipfix_element_map[index].extension);
378 return ipfix_element_map[index].extension;
379 }
380
381 dbg_printf("Skip unknown element type: %u, Length: %u\n",
382 Type, Length);
383
384 return 0;
385
386 } // End of MapElement
387
388 static inline input_translation_t *GetTranslationTable(exporter_domain_t *exporter, uint16_t id) {
389 input_translation_t *table;
390
391 if ( exporter->current_table && ( exporter->current_table->id == id ) )
392 return exporter->current_table;
393
394 table = exporter->input_translation_table;
395 while ( table ) {
396 if ( table->id == id ) {
397 exporter->current_table = table;
398 return table;
399 }
400
401 table = table->next;
402 }
403
404 dbg_printf("[%u] Get translation table %u: %s\n", exporter->ObservationDomain, id, table == NULL ? "not found" : "found");
405
406 exporter->current_table = table;
407 return table;
408
409 } // End of GetTranslationTable
410
411 static input_translation_t *add_translation_table(exporter_domain_t *exporter, uint16_t id) {
412 input_translation_t **table;
413
414 table = &(exporter->input_translation_table);
415 while ( *table ) {
416 table = &((*table)->next);
417 }
418
419 // Allocate enough space for all potential ipfix tags, which we support
420 // so template refreshing may change the table size without danger of overflowing
421 *table = malloc(sizeof(input_translation_t));
422 if ( !(*table) ) {
423 syslog(LOG_ERR, "Process_ipfix: Panic! malloc() %s line %d: %s", __FILE__, __LINE__, strerror (errno));
424 return NULL;
425 }
426 (*table)->sequence = calloc(cache.max_ipfix_elements, sizeof(sequence_map_t));
427 if ( !(*table)->sequence ) {
428 syslog(LOG_ERR, "Process_ipfix: Panic! malloc() %s line %d: %s", __FILE__, __LINE__, strerror (errno));
429 return NULL;
430 }
431
432 (*table)->id = id;
433 (*table)->next = NULL;
434 (*table)->PacketSequence = exporter->PacketSequence;
435
436 dbg_printf("[%u] Get new translation table %u\n", exporter->ObservationDomain, id);
437
438 return *table;
439
440 } // End of add_translation_table
441
442 static void remove_translation_table(exporter_domain_t *exporter, uint16_t id) {
443 input_translation_t *table, *parent;
444
445 syslog(LOG_INFO, "Process_ipfix: [%u] Withdraw template id: %i",
446 exporter->ObservationDomain, id);
447
448 parent = NULL;
449 table = exporter->input_translation_table;
450 while ( table && ( table->id != id ) ) {
451 parent = table;
452 table = table->next;
453 }
454
455 if ( table == NULL ) {
456 syslog(LOG_ERR, "Process_ipfix: [%u] Withdraw template id: %i. translation table not found",
457 exporter->ObservationDomain, id);
458 return;
459 }
460
461 dbg_printf("\n[%u] Withdraw template ID: %u\n", exporter->ObservationDomain, table->id);
462
463 if ( parent ) {
464 // remove table from list
465 parent->next = table->next;
466 } else {
467 // last table removed
468 exporter->input_translation_table = NULL;
469 }
470
471 free(table->sequence);
472 free(table->extension_info.map);
473 free(table);
474
475 } // End of remove_translation_table
476
477 static void remove_all_translation_tables(exporter_domain_t *exporter) {
478 input_translation_t *table, *next;
479
480 syslog(LOG_INFO, "Process_ipfix: Withdraw all templates from observation domain %u\n",
481 exporter->ObservationDomain);
482
483 table = exporter->input_translation_table;
484 while ( table ) {
485 next = table->next;
486
487 dbg_printf("\n[%u] Withdraw template ID: %u\n", exporter->ObservationDomain, table->id);
488
489 free(table->sequence);
490 free(table->extension_info.map);
491 free(table);
492
493 table = next;
494 }
495
496 } // End of remove_all_translation_tables
497
498 static inline void PushSequence(input_translation_t *table, uint16_t Type, uint32_t *offset, void *stack) {
499 uint32_t i = table->number_of_sequences;
500 uint32_t index = cache.lookup_info[Type].index;
501
502 if ( table->number_of_sequences >= cache.max_ipfix_elements ) {
503 syslog(LOG_ERR, "Process_ipfix: Software bug! Sequence table full. at %s line %d",
504 __FILE__, __LINE__);
505 dbg_printf("Software bug! Sequence table full. at %s line %d",
506 __FILE__, __LINE__);
507 return;
508 }
509
510 if ( cache.lookup_info[Type].found ) {
511 table->sequence[i].id = ipfix_element_map[index].sequence;
512 table->sequence[i].input_offset = cache.lookup_info[Type].offset;
513 table->sequence[i].output_offset = *offset;
514 table->sequence[i].stack = stack;
515 } else {
516 table->sequence[i].id = ipfix_element_map[index].zero_sequence;
517 table->sequence[i].input_offset = 0;
518 table->sequence[i].output_offset = *offset;
519 table->sequence[i].stack = NULL;
520 }
521 dbg_printf("Push: sequence: %u, Type: %u, length: %u, out length: %u, id: %u, in offset: %u, out offset: %u\n",
522 i, Type, ipfix_element_map[index].length, ipfix_element_map[index].out_length, table->sequence[i].id,
523 table->sequence[i].input_offset, table->sequence[i].output_offset);
524 table->number_of_sequences++;
525 (*offset) += ipfix_element_map[index].out_length;
526
527 } // End of PushSequence
528
529 static input_translation_t *setup_translation_table (exporter_domain_t *exporter, uint16_t id, uint16_t input_record_size) {
530 input_translation_t *table;
531 extension_map_t *extension_map;
532 uint32_t i, ipv6, offset, next_extension;
533 size_t size_required;
534
535 ipv6 = 0;
536
537 table = GetTranslationTable(exporter, id);
538 if ( !table ) {
539 syslog(LOG_INFO, "Process_ipfix: [%u] Add template %u", exporter->ObservationDomain, id);
540 table = add_translation_table(exporter, id);
541 if ( !table ) {
542 return NULL;
543 }
544 // Add an extension map
545 // The number of extensions for this template is currently unknown
546 // Allocate enough space for all configured extensions - some may be unused later
547 // make sure memory is 4byte alligned
548 size_required = Max_num_extensions * sizeof(uint16_t) + sizeof(extension_map_t);
549 size_required = (size_required + 3) &~(size_t)3;
550 extension_map = malloc(size_required);
551 if ( !extension_map ) {
552 syslog(LOG_ERR, "Process_ipfix: Panic! malloc() error in %s line %d: %s", __FILE__, __LINE__, strerror (errno));
553 return NULL;
554 }
555 extension_map->type = ExtensionMapType;
556 // Set size to an empty table - will be adapted later
557 extension_map->size = sizeof(extension_map_t);
558 extension_map->map_id = INIT_ID;
559 // packed record size still unknown at this point - will be added later
560 extension_map->extension_size = 0;
561
562 table->extension_info.map = extension_map;
563 table->extension_map_changed = 1;
564 table->number_of_sequences = 0;
565 } else {
566 extension_map = table->extension_info.map;
567
568 // reset size/extension size - it's refreshed automatically
569 extension_map->size = sizeof(extension_map_t);
570 extension_map->extension_size = 0;
571
572 dbg_printf("[%u] Refresh template %u\n", exporter->ObservationDomain, id);
573
574 // very noisy with somee exporters
575 // syslog(LOG_DEBUG, "Process_ipfix: [%u] Refresh template %u", exporter->ObservationDomain, id);
576 }
577 // clear current table
578 memset((void *)table->sequence, 0, cache.max_ipfix_elements * sizeof(sequence_map_t));
579 table->number_of_sequences = 0;
580
581 table->updated = time(NULL);
582 // IPFIX only has 64bit counters
583 SetFlag(table->flags, FLAG_PKG_64);
584 SetFlag(table->flags, FLAG_BYTES_64);
585 table->ICMP_offset = 0;
586 // table->sampler_offset = 0;
587 // table->sampler_size = 0;
588 // table->engine_offset = 0;
589 table->router_ip_offset = 0;
590
591 dbg_printf("[%u] Build sequence table %u\n", exporter->ObservationDomain, id);
592
593 // fill table
594 table->id = id;
595
596 /*
597 * common data block: The common record is expected in the output stream. If not available
598 * in the template, fill values with 0
599 */
600
601 // All required extensions
602 // The order we Push all ipfix elements, must corresponde to the structure of the common record
603 // followed by all available extension in the extension map
604 offset = BYTE_OFFSET_first;
605 PushSequence( table, IPFIX_flowStartMilliseconds, &offset, &table->flow_start);
606 offset = BYTE_OFFSET_first + 4;
607 PushSequence( table, IPFIX_flowEndMilliseconds, &offset, &table->flow_end);
608 offset = BYTE_OFFSET_first + 8;
609 offset +=1; // Skip netflow v9 fwd status
610 PushSequence( table, IPFIX_tcpControlBits, &offset, NULL);
611 PushSequence( table, IPFIX_protocolIdentifier, &offset, NULL);
612 PushSequence( table, IPFIX_ipClassOfService, &offset, NULL);
613
614 PushSequence( table, IPFIX_SourceTransportPort, &offset, NULL);
615 PushSequence( table, IPFIX_DestinationTransportPort, &offset, NULL);
616
617 /* IP addresss record
618 * This record is expected in the output stream. If not available
619 * in the template, assume empty v4 address.
620 */
621 if ( cache.lookup_info[IPFIX_SourceIPv4Address].found ) {
622 // IPv4 addresses
623 PushSequence( table, IPFIX_SourceIPv4Address, &offset, NULL);
624 PushSequence( table, IPFIX_DestinationIPv4Address, &offset, NULL);
625 } else if ( cache.lookup_info[IPFIX_SourceIPv6Address].found ) {
626 // IPv6 addresses
627 PushSequence( table, IPFIX_SourceIPv6Address, &offset, NULL);
628 PushSequence( table, IPFIX_DestinationIPv6Address, &offset, NULL);
629 // mark IPv6
630 SetFlag(table->flags, FLAG_IPV6_ADDR);
631 ipv6 = 1;
632 } else {
633 // should not happen, assume empty IPv4 addresses, zero
634 PushSequence( table, IPFIX_SourceIPv4Address, &offset, NULL);
635 PushSequence( table, IPFIX_DestinationIPv4Address, &offset, NULL);
636 }
637
638 PushSequence( table, IPFIX_packetDeltaCount, &offset, &table->packets);
639 SetFlag(table->flags, FLAG_PKG_64);
640 PushSequence( table, IPFIX_octetDeltaCount, &offset, &table->bytes);
641 SetFlag(table->flags, FLAG_BYTES_64);
642
643
644 // Optional extensions
645 next_extension = 0;
646 for (i=4; i <= Max_num_extensions; i++ ) {
647 uint32_t map_index = i;
648
649 if ( cache.common_extensions[i] == 0 )
650 continue;
651
652 switch(i) {
653 case EX_IO_SNMP_4:
654 PushSequence( table, IPFIX_ingressInterface, &offset, NULL);
655 PushSequence( table, IPFIX_egressInterface, &offset, NULL);
656 break;
657 case EX_AS_4:
658 PushSequence( table, IPFIX_bgpSourceAsNumber, &offset, NULL);
659 PushSequence( table, IPFIX_bgpDestinationAsNumber, &offset, NULL);
660 break;
661 case EX_MULIPLE:
662 PushSequence( table, IPFIX_postIpClassOfService, &offset, NULL);
663 PushSequence( table, IPFIX_flowDirection, &offset, NULL);
664 if ( ipv6 ) {
665 // IPv6
666 PushSequence( table, IPFIX_SourceIPv6PrefixLength, &offset, NULL);
667 PushSequence( table, IPFIX_DestinationIPv6PrefixLength, &offset, NULL);
668 } else {
669 // IPv4
670 PushSequence( table, IPFIX_SourceIPv4PrefixLength, &offset, NULL);
671 PushSequence( table, IPFIX_DestinationIPv4PrefixLength, &offset, NULL);
672 }
673 break;
674 case EX_NEXT_HOP_v4:
675 PushSequence( table, IPFIX_ipNextHopIPv4Address, &offset, NULL);
676 break;
677 case EX_NEXT_HOP_v6:
678 PushSequence( table, IPFIX_ipNextHopIPv6Address, &offset, NULL);
679 SetFlag(table->flags, FLAG_IPV6_NH);
680 break;
681 case EX_NEXT_HOP_BGP_v4:
682 PushSequence( table, IPFIX_bgpNextHopIPv4Address, &offset, NULL);
683 break;
684 case EX_NEXT_HOP_BGP_v6:
685 PushSequence( table, IPFIX_bgpNextHopIPv6Address, &offset, NULL);
686 SetFlag(table->flags, FLAG_IPV6_NHB);
687 break;
688 case EX_VLAN:
689 PushSequence( table, IPFIX_vlanId, &offset, NULL);
690 PushSequence( table, IPFIX_postVlanId, &offset, NULL);
691 break;
692 case EX_OUT_PKG_8:
693 PushSequence( table, IPFIX_postPacketDeltaCount, &offset, NULL);
694 break;
695 case EX_OUT_BYTES_8:
696 PushSequence( table, IPFIX_postOctetDeltaCount, &offset, NULL);
697 break;
698 case EX_AGGR_FLOWS_8:
699 break;
700 case EX_MAC_1:
701 PushSequence( table, IPFIX_SourceMacAddress, &offset, NULL);
702 PushSequence( table, IPFIX_postDestinationMacAddress, &offset, NULL);
703 break;
704 case EX_MAC_2:
705 PushSequence( table, IPFIX_DestinationMacAddress, &offset, NULL);
706 PushSequence( table, IPFIX_postSourceMacAddress, &offset, NULL);
707 break;
708 case EX_MPLS:
709 PushSequence( table, IPFIX_mplsTopLabelStackSection, &offset, NULL);
710 PushSequence( table, IPFIX_mplsLabelStackSection2, &offset, NULL);
711 PushSequence( table, IPFIX_mplsLabelStackSection3, &offset, NULL);
712 PushSequence( table, IPFIX_mplsLabelStackSection4, &offset, NULL);
713 PushSequence( table, IPFIX_mplsLabelStackSection5, &offset, NULL);
714 PushSequence( table, IPFIX_mplsLabelStackSection6, &offset, NULL);
715 PushSequence( table, IPFIX_mplsLabelStackSection7, &offset, NULL);
716 PushSequence( table, IPFIX_mplsLabelStackSection8, &offset, NULL);
717 PushSequence( table, IPFIX_mplsLabelStackSection9, &offset, NULL);
718 PushSequence( table, IPFIX_mplsLabelStackSection10, &offset, NULL);
719 break;
720 case EX_ROUTER_IP_v4:
721 case EX_ROUTER_IP_v6:
722 if ( exporter->sa_family == PF_INET6 ) {
723 table->router_ip_offset = offset;
724 dbg_printf("Router IPv6: offset: %u, olen: %u\n", offset, 16 );
725 // not an entry for the translateion table.
726 // but reserve space in the output record for IPv6
727 offset += 16;
728 SetFlag(table->flags, FLAG_IPV6_EXP);
729 map_index = EX_ROUTER_IP_v6;
730 } else {
731 table->router_ip_offset = offset;
732 dbg_printf("Router IPv4: offset: %u, olen: %u\n", offset, 4 );
733 // not an entry for the translateion table.
734 // but reserve space in the output record for IPv4
735 offset += 4;
736 ClearFlag(table->flags, FLAG_IPV6_EXP);
737 map_index = EX_ROUTER_IP_v4;
738 }
739 break;
740 case EX_ROUTER_ID:
741 // no value in ipfix
742 break;
743 }
744 extension_map->size += sizeof(uint16_t);
745 extension_map->extension_size += extension_descriptor[map_index].size;
746
747
748 // found extension in map_index must be the same as in map - otherwise map is dirty
749 if ( extension_map->ex_id[next_extension] != map_index ) {
750 // dirty map - needs to be refreshed in output stream
751 extension_map->ex_id[next_extension] = map_index;
752 table->extension_map_changed = 1;
753
754 }
755 next_extension++;
756
757 }
758 extension_map->ex_id[next_extension++] = 0;
759
760 // make sure map is aligned
761 if ( extension_map->size & 0x3 ) {
762 extension_map->ex_id[next_extension] = 0;
763 extension_map->size = ( extension_map->size + 3 ) &~ 0x3;
764 }
765
766 table->output_record_size = offset;
767 table->input_record_size = input_record_size;
768
769 // for netflow historical reason, ICMP type/code goes into dst port field
770 // remember offset, for decoding
771 if ( cache.lookup_info[IPFIX_icmpTypeCodeIPv4].found && cache.lookup_info[IPFIX_icmpTypeCodeIPv4].length == 2 ) {
772 table->ICMP_offset = cache.lookup_info[IPFIX_icmpTypeCodeIPv4].offset;
773 }
774
775 #ifdef DEVEL
776 if ( table->extension_map_changed ) {
777 printf("Extension Map id=%u changed!\n", extension_map->map_id);
778 } else {
779 printf("[%u] template %u unchanged\n", exporter->ObservationDomain, id);
780 }
781
782 printf("Process_ipfix: Check extension map: id: %d, size: %u, extension_size: %u\n",
783 extension_map->map_id, extension_map->size, extension_map->extension_size);
784 { int i;
785 for (i=0; i<table->number_of_sequences; i++ ) {
786 printf("Sequence %i: id: %u, in offset: %u, out offset: %u, stack: %llu\n",
787 i, table->sequence[i].id, table->sequence[i].input_offset, table->sequence[i].output_offset,
788 (unsigned long long)table->sequence[i].stack);
789 }
790 printf("Flags: 0x%x\n", table->flags);
791 printf("Input record size: %u, output record size: %u\n",
792 table->input_record_size, table->output_record_size);
793 }
794 PrintExtensionMap(extension_map);
795 #endif
796
797 return table;
798
799 } // End of setup_translation_table
800
801 static inline void Process_ipfix_templates(exporter_domain_t *exporter, void *flowset_header, uint32_t size_left, FlowSource_t *fs) {
802 ipfix_template_record_t *ipfix_template_record;
803 void *DataPtr;
804 uint32_t id, count;
805
806 size_left -= 4; // subtract message header
807 DataPtr = flowset_header + 4;
808
809 ipfix_template_record = (ipfix_template_record_t *)DataPtr;
810
811 id = ntohs(ipfix_template_record->TemplateID);
812 count = ntohs(ipfix_template_record->FieldCount);
813
814 if ( count == 0 ) {
815 // withdraw template
816 Process_ipfix_template_withdraw(exporter, DataPtr, size_left, fs);
817 } else {
818 // refresh/add templates
819 Process_ipfix_template_add(exporter, DataPtr, size_left, fs);
820 }
821
822 } // End of Process_ipfix_templates
823
824 static inline void Process_ipfix_template_add(exporter_domain_t *exporter, void *DataPtr, uint32_t size_left, FlowSource_t *fs) {
825 input_translation_t *translation_table;
826 ipfix_template_record_t *ipfix_template_record;
827 ipfix_template_elements_std_t *NextElement;
828 int i;
829 uint16_t Offset = 0;
830
831 // clear helper tables
832 memset((void *)cache.common_extensions, 0, (Max_num_extensions+1)*sizeof(uint32_t));
833 for (i=1; ipfix_element_map[i].id != 0; i++ ) {
834 uint32_t Type = ipfix_element_map[i].id;
835 cache.lookup_info[Type].found = 0;
836 cache.lookup_info[Type].offset = 0;
837 cache.lookup_info[Type].length = 0;
838 }
839
840 // a template flowset can contain multiple records ( templates )
841 while ( size_left ) {
842 uint32_t id, count, size_required;
843 uint32_t num_extensions = 0;
844
845 // map next record.
846 ipfix_template_record = (ipfix_template_record_t *)DataPtr;
847 size_left -= 4;
848
849 id = ntohs(ipfix_template_record->TemplateID);
850 count = ntohs(ipfix_template_record->FieldCount);
851
852 dbg_printf("\n[%u] Template ID: %u\n", exporter->ObservationDomain, id);
853 dbg_printf("FieldCount: %u buffersize: %u\n", count, size_left);
854
855 // assume all elements in template are std elements. correct this value, if we find an enterprise element
856 size_required = 4*count;
857 if ( size_left < size_required ) {
858 // if we fail this check, this flowset must be skipped.
859 syslog(LOG_ERR, "Process_ipfix: [%u] Not enough data for template elements! required: %i, left: %u",
860 exporter->ObservationDomain, size_required, size_left);
861 dbg_printf("ERROR: Not enough data for template elements! required: %i, left: %u", size_required, size_left);
862 return;
863 }
864
865 Offset = 0;
866 // process all elements in this record
867 NextElement = (ipfix_template_elements_std_t *)ipfix_template_record->elements;
868 for ( i=0; i<count; i++ ) {
869 uint16_t Type, Length;
870 uint32_t ext_id;
871 int Enterprise;
872
873 Type = ntohs(NextElement->Type);
874 Length = ntohs(NextElement->Length);
875 Enterprise = Type & 0x8000 ? 1 : 0;
876
877 ext_id = MapElement(Type, Length, Offset);
878
879 // do we store this extension? enabled != 0
880 // more than 1 v9 tag may map to an extension - so count this extension once only
881 if ( ext_id && extension_descriptor[ext_id].enabled ) {
882 if ( cache.common_extensions[ext_id] == 0 ) {
883 cache.common_extensions[ext_id] = 1;
884 num_extensions++;
885 }
886 }
887 Offset += Length;
888
889 if ( Enterprise ) {
890 ipfix_template_elements_e_t *e = (ipfix_template_elements_e_t *)NextElement;
891 size_required += 4; // ad 4 for enterprise value
892 if ( size_left < size_required ) {
893 syslog(LOG_ERR, "Process_ipfix: [%u] Not enough data for template elements! required: %i, left: %u",
894 exporter->ObservationDomain, size_required, size_left);
895 dbg_printf("ERROR: Not enough data for template elements! required: %i, left: %u", size_required, size_left);
896 return;
897 }
898 dbg_printf(" [%i] Enterprise: 1, Type: %u, Length %u EnterpriseNumber: %u\n", i, Type, Length, ntohl(e->EnterpriseNumber));
899 e++;
900 NextElement = (ipfix_template_elements_std_t *)e;
901 } else {
902 dbg_printf(" [%i] Enterprise: 0, Type: %u, Length %u\n", i, Type, Length);
903 NextElement++;
904 }
905 }
906
907 dbg_printf("Processed: %u\n", size_required);
908
909 // as the router IP address extension is not part announced in a template, we need to deal with it here
910 if ( extension_descriptor[EX_ROUTER_IP_v4].enabled ) {
911 if ( cache.common_extensions[EX_ROUTER_IP_v4] == 0 ) {
912 cache.common_extensions[EX_ROUTER_IP_v4] = 1;
913 num_extensions++;
914 }
915 dbg_printf("Add sending router IP address (%s) => Extension: %u\n",
916 fs->sa_family == PF_INET6 ? "ipv6" : "ipv4", EX_ROUTER_IP_v4);
917 }
918
919 // as the router IP address extension is not part announced in a template, we need to deal with it here
920 if ( extension_descriptor[EX_ROUTER_ID].enabled ) {
921 if ( cache.common_extensions[EX_ROUTER_ID] == 0 ) {
922 cache.common_extensions[EX_ROUTER_ID] = 1;
923 num_extensions++;
924 }
925 dbg_printf("Force add router ID (engine type/ID), Extension: %u\n", EX_ROUTER_ID);
926 }
927
928 #ifdef DEVEL
929 {
930 int i;
931 for (i=0; i<Max_num_extensions; i++ ) {
932 if ( cache.common_extensions[i] ) {
933 printf("Enabled extension: %i\n", i);
934 }
935 }
936 }
937 #endif
938
939 translation_table = setup_translation_table(exporter, id, Offset);
940 if (translation_table->extension_map_changed ) {
941 translation_table->extension_map_changed = 0;
942 // refresh he map in the ouput buffer
943 dbg_printf("Translation Table changed! Add extension map ID: %i\n", translation_table->extension_info.map->map_id);
944 AddExtensionMap(fs, translation_table->extension_info.map);
945 dbg_printf("Translation Table added! map ID: %i\n", translation_table->extension_info.map->map_id);
946 }
947
948 // update size left of this flowset
949 size_left -= size_required;
950 DataPtr = DataPtr + size_required+4; // +4 for header
951 if ( size_left < 4 ) {
952 // pading
953 dbg_printf("Skip %u bytes padding\n", size_left);
954 size_left = 0;
955 }
956 }
957
958 } // End of Process_ipfix_template_add
959
960 static inline void Process_ipfix_template_withdraw(exporter_domain_t *exporter, void *DataPtr, uint32_t size_left, FlowSource_t *fs) {
961 ipfix_template_record_t *ipfix_template_record;
962
963 // a template flowset can contain multiple records ( templates )
964 while ( size_left ) {
965 uint32_t id, count;
966
967 // map next record.
968 ipfix_template_record = (ipfix_template_record_t *)DataPtr;
969 size_left -= 4;
970
971 id = ntohs(ipfix_template_record->TemplateID);
972 count = ntohs(ipfix_template_record->FieldCount);
973
974 if ( id == IPFIX_TEMPLATE_FLOWSET_ID ) {
975 // withdraw all templates
976 remove_all_translation_tables(exporter);
977 } else {
978 remove_translation_table(exporter, id);
979 }
980
981 DataPtr = DataPtr + 4;
982 if ( size_left < 4 ) {
983 // pading
984 dbg_printf("Skip %u bytes padding\n", size_left);
985 size_left = 0;
986 }
987 }
988
989 } // End of Process_ipfix_template_withdraw
990
991 static inline void Process_ipfix_option_templates(exporter_domain_t *exporter, void *option_template_flowset, FlowSource_t *fs) {
992 void *DataPtr, *p;
993 uint32_t size_left, size_required, nr_scopes, nr_options, i;
994 uint16_t id, field_count, scope_field_count, offset, sampler_id_length;
995 uint16_t offset_sampler_id, offset_sampler_mode, offset_sampler_interval, found_sampler;
996 uint16_t offset_std_sampler_interval, offset_std_sampler_algorithm, found_std_sampling;
997
998 i = 0; // keep compiler happy
999 size_left = GET_FLOWSET_LENGTH(option_template_flowset) - 4; // -4 for flowset header -> id and length
1000 if ( size_left < 6 ) {
1001 syslog(LOG_ERR, "Process_ipfix: [%u] option template length error: size left %u too small for an options template",
1002 exporter->ObservationDomain, size_left);
1003 return;
1004 }
1005
1006 DataPtr = option_template_flowset + 4;
1007 id = GET_OPTION_TEMPLATE_ID(DataPtr);
1008 field_count = GET_OPTION_TEMPLATE_FIELD_COUNT(DataPtr);
1009 scope_field_count = GET_OPTION_TEMPLATE_SCOPE_FIELD_COUNT(DataPtr);
1010 DataPtr += 6;
1011 size_left -= 6;
1012
1013 if ( scope_field_count == 0 ) {
1014 syslog(LOG_ERR, "Process_ipfx: [%u] scope field count error: length must not be zero",
1015 exporter->ObservationDomain);
1016 dbg_printf("scope field count error: length must not be zero\n");
1017 return;
1018 }
1019
1020 size_required = field_count * 2 * sizeof(uint16_t);
1021 dbg_printf("Size left: %u, size required: %u\n", size_left, size_required);
1022 if ( size_left < size_required ) {
1023 syslog(LOG_ERR, "Process_ipfix: [%u] option template length error: size left %u too small for %u scopes length and %u options length",
1024 exporter->ObservationDomain, size_left, field_count, scope_field_count);
1025 dbg_printf("option template length error: size left %u too small for field_count %u\n",
1026 size_left, field_count);
1027 return;
1028 }
1029
1030 dbg_printf("Decode Option Template. id: %u, field count: %u, scope field count: %u\n",
1031 id, field_count, scope_field_count);
1032
1033 if ( scope_field_count == 0 ) {
1034 syslog(LOG_ERR, "Process_ipfxi: [%u] scope field count error: length must not be zero",
1035 exporter->ObservationDomain);
1036 return;
1037 }
1038
1039 for ( i=0; i<scope_field_count; i++ ) {
1040 uint32_t enterprise_value;
1041 uint16_t id, length;
1042 int Enterprise;
1043
1044 id = Get_val16(DataPtr); DataPtr += 2;
1045 length = Get_val16(DataPtr); DataPtr += 2;
1046 Enterprise = id & 0x8000 ? 1 : 0;
1047 if ( Enterprise ) {
1048 size_required += 4;
1049 dbg_printf("Adjusted: Size left: %u, size required: %u\n", size_left, size_required);
1050 if ( size_left < size_required ) {
1051 syslog(LOG_ERR, "Process_ipfix: [%u] option template length error: size left %u too small for %u scopes length and %u options length",
1052 exporter->ObservationDomain, size_left, field_count, scope_field_count);
1053 dbg_printf("option template length error: size left %u too small for field_count %u\n",
1054 size_left, field_count);
1055 return;
1056 }
1057 enterprise_value = Get_val32(DataPtr);
1058 DataPtr += 4;
1059 dbg_printf(" [%i] Enterprise: 1, scope id: %u, scope length %u enterprise value: %u\n",
1060 i, id, length, enterprise_value);
1061 } else {
1062 dbg_printf(" [%i] Enterprise: 0, scope id: %u, scope length %u\n", i, id, length);
1063 }
1064 }
1065 for ( ;i<field_count; i++ ) {
1066 uint32_t enterprise_value;
1067 uint16_t id, length;
1068 int Enterprise;
1069
1070 id = Get_val16(DataPtr); DataPtr += 2;
1071 length = Get_val16(DataPtr); DataPtr += 2;
1072 Enterprise = id & 0x8000 ? 1 : 0;
1073 if ( Enterprise ) {
1074 size_required += 4;
1075 dbg_printf("Adjusted: Size left: %u, size required: %u\n", size_left, size_required);
1076 if ( size_left < size_required ) {
1077 syslog(LOG_ERR, "Process_ipfix: [%u] option template length error: size left %u too small for %u scopes length and %u options length",
1078 exporter->ObservationDomain, size_left, field_count, scope_field_count);
1079 dbg_printf("option template length error: size left %u too small for field_count %u\n",
1080 size_left, field_count);
1081 return;
1082 }
1083 enterprise_value = Get_val32(DataPtr);
1084 DataPtr += 4;
1085 dbg_printf(" [%i] Enterprise: 1, option id: %u, option length %u enterprise value: %u\n",
1086 i, id, length, enterprise_value);
1087 } else {
1088 dbg_printf(" [%i] Enterprise: 0, option id: %u, option length %u\n", i, id, length);
1089 }
1090 }
1091
1092 sampler_id_length = 0;
1093 offset_sampler_id = 0;
1094 offset_sampler_mode = 0;
1095 offset_sampler_interval = 0;
1096 offset_std_sampler_interval = 0;
1097 offset_std_sampler_algorithm = 0;
1098 found_sampler = 0;
1099 found_std_sampling = 0;
1100 offset = 0;
1101
1102 /*
1103 switch (type) {
1104 // general sampling
1105 case NF9_SAMPLING_INTERVAL:
1106 offset_std_sampler_interval = offset;
1107 found_std_sampling++;
1108 break;
1109 case NF9_SAMPLING_ALGORITHM:
1110 offset_std_sampler_algorithm = offset;
1111 found_std_sampling++;
1112 break;
1113
1114 // individual samplers
1115 case NF9_FLOW_SAMPLER_ID:
1116 offset_sampler_id = offset;
1117 sampler_id_length = length;
1118 found_sampler++;
1119 break;
1120 case FLOW_SAMPLER_MODE:
1121 offset_sampler_mode = offset;
1122 found_sampler++;
1123 break;
1124 case NF9_FLOW_SAMPLER_RANDOM_INTERVAL:
1125 offset_sampler_interval = offset;
1126 found_sampler++;
1127 break;
1128 }
1129 offset += length;
1130 */
1131 if ( found_sampler == 3 ) { // need all three tags
1132 dbg_printf("[%u] Sampling information found\n", exporter->ObservationDomain);
1133 InsertSamplerOffset(fs, id, offset_sampler_id, sampler_id_length, offset_sampler_mode, offset_sampler_interval);
1134 } else if ( found_std_sampling == 2 ) { // need all two tags
1135 dbg_printf("[%u] Std sampling information found\n", exporter->ObservationDomain);
1136 InsertStdSamplerOffset(fs, id, offset_std_sampler_interval, offset_std_sampler_algorithm);
1137 } else {
1138 dbg_printf("[%u] No Sampling information found\n", exporter->ObservationDomain);
1139 }
1140 dbg_printf("\n");
1141 processed_records++;
1142
1143 } // End of Process_ipfix_option_templates
1144
1145
1146 static inline void Process_ipfix_data(exporter_domain_t *exporter, void *data_flowset, FlowSource_t *fs, input_translation_t *table ){
1147 uint64_t sampling_rate;
1148 uint32_t size_left;
1149 uint8_t *in, *out;
1150 int i;
1151 char *string;
1152
1153 size_left = GET_FLOWSET_LENGTH(data_flowset) - 4; // -4 for data flowset header -> id and length
1154
1155 // map input buffer as a byte array
1156 in = (uint8_t *)(data_flowset + 4); // skip flowset header
1157
1158 dbg_printf("[%u] Process data flowset size: %u\n", exporter->ObservationDomain, size_left);
1159
1160 // sequence check
1161 // 2^32 wrap is handled automatically as both counters overflow
1162 if ( table->PacketSequence != exporter->PacketSequence ) {
1163 if ( exporter->DataRecords != 0 ) {
1164 // sync sequence on first data record without error report
1165 fs->nffile->stat_record->sequence_failure++;
1166 dbg_printf("[%u] Sequence check failed: last seq: %u, seq %u\n",
1167 exporter->ObservationDomain, table->PacketSequence, exporter->PacketSequence);
1168 /* maybee to noise onbuggy exporters
1169 syslog(LOG_ERR, "Process_ipfix [%u] Sequence error: last seq: %u, seq %u\n",
1170 ObservationDomain, exporter->LastSequence, Sequence);
1171 */
1172 }
1173 table->PacketSequence = exporter->PacketSequence;
1174 } else {
1175 dbg_printf("[%u] Sequence check ok\n", exporter->ObservationDomain);
1176 }
1177
1178
1179 // Check if sampling is announced
1180 sampling_rate = 1;
1181 /* ###
1182 if ( table->sampler_offset && fs->sampler ) {
1183 uint32_t sampler_id;
1184 if ( table->sampler_size == 2 ) {
1185 sampler_id = Get_val16((void *)&in[table->sampler_offset]);
1186 } else {
1187 sampler_id = in[table->sampler_offset];
1188 }
1189 if ( fs->sampler[sampler_id] ) {
1190 sampling_rate = fs->sampler[sampler_id]->interval;
1191 dbg_printf("[%u] Sampling ID %u available\n", exporter->ObservationDomain, sampler_id);
1192 dbg_printf("[%u] Sampler_offset : %u\n", exporter->ObservationDomain, table->sampler_offset);
1193 dbg_printf("[%u] Sampler Data : %s\n", exporter->ObservationDomain, fs->sampler == NULL ? "not available" : "available");
1194 dbg_printf("[%u] Sampling rate: %llu\n", exporter->ObservationDomain, (long long unsigned)sampling_rate);
1195 } else {
1196 sampling_rate = default_sampling;
1197 dbg_printf("[%u] Sampling ID %u not (yet) available\n", exporter->ObservationDomain, sampler_id);
1198 }
1199
1200 } else if ( fs->std_sampling.interval > 0 ) {
1201 sampling_rate = fs->std_sampling.interval;
1202 dbg_printf("[%u] Std sampling available for this flow source: Rate: %llu\n", exporter->ObservationDomain, (long long unsigned)sampling_rate);
1203 } else {
1204 sampling_rate = default_sampling;
1205 dbg_printf("[%u] No Sampling record found\n", exporter->ObservationDomain);
1206 }
1207 ### */
1208 if ( overwrite_sampling > 0 ) {
1209 sampling_rate = overwrite_sampling;
1210 dbg_printf("[%u] Hard overwrite sampling rate: %llu\n", exporter->ObservationDomain, (long long unsigned)sampling_rate);
1211 }
1212
1213 if ( sampling_rate != 1 )
1214 SetFlag(table->flags, FLAG_SAMPLED);
1215
1216 while (size_left) {
1217 common_record_t *data_record;
1218
1219 if ( (size_left < table->input_record_size) ) {
1220 if ( size_left > 3 ) {
1221 syslog(LOG_WARNING,"Process_ipfix: Corrupt data flowset? Pad bytes: %u", size_left);
1222 dbg_printf("Process_ipfix: Corrupt data flowset? Pad bytes: %u, table record_size: %u\n",
1223 size_left, table->input_record_size);
1224 }
1225 size_left = 0;
1226 continue;
1227 }
1228
1229 // check for enough space in output buffer
1230 if ( !CheckBufferSpace(fs->nffile, table->output_record_size) ) {
1231 // this should really never occur, because the buffer gets flushed ealier
1232 syslog(LOG_ERR,"Process_ipfix: output buffer size error. Abort ipfix record processing");
1233 dbg_printf("Process_ipfix: output buffer size error. Abort ipfix record processing");
1234 return;
1235 }
1236 processed_records++;
1237 table->PacketSequence++;
1238
1239 // map file record to output buffer
1240 data_record = (common_record_t *)fs->nffile->buff_ptr;
1241 // map output buffer as a byte array
1242 out = (uint8_t *)data_record;
1243
1244 dbg_printf("[%u] Process data record: %u addr: %llu, in record size: %u, buffer size_left: %u\n",
1245 exporter->ObservationDomain, processed_records, (long long unsigned)((ptrdiff_t)in - (ptrdiff_t)data_flowset),
1246 table->input_record_size, size_left);
1247
1248 // fill the data record
1249 data_record->flags = table->flags;
1250 data_record->size = table->output_record_size;
1251 data_record->type = CommonRecordType;
1252 data_record->ext_map = table->extension_info.map->map_id;
1253 data_record->exporter_ref = 0;
1254
1255 table->flow_start = 0;
1256 table->flow_end = 0;
1257 table->packets = 0;
1258 table->bytes = 0;
1259
1260 // apply copy and processing sequence
1261 for ( i=0; i<table->number_of_sequences; i++ ) {
1262 int input_offset = table->sequence[i].input_offset;
1263 int output_offset = table->sequence[i].output_offset;
1264 void *stack = table->sequence[i].stack;
1265 switch (table->sequence[i].id) {
1266 case nop:
1267 break;
1268 case move8:
1269 out[output_offset] = in[input_offset];
1270 break;
1271 case move16:
1272 *((uint16_t *)&out[output_offset]) = Get_val16((void *)&in[input_offset]);
1273 break;
1274 case move32:
1275 *((uint32_t *)&out[output_offset]) = Get_val32((void *)&in[input_offset]);
1276 break;
1277 case move40:
1278 /* 64bit access to potentially unaligned output buffer. use 2 x 32bit for _LP64 CPUs */
1279 { type_mask_t t;
1280
1281 t.val.val64 = Get_val40((void *)&in[input_offset]);
1282 *((uint32_t *)&out[output_offset]) = t.val.val32[0];
1283 *((uint32_t *)&out[output_offset+4]) = t.val.val32[1];
1284 }
1285 break;
1286 case move48:
1287 /* 64bit access to potentially unaligned output buffer. use 2 x 32bit for _LP64 CPUs */
1288 { type_mask_t t;
1289 t.val.val64 = Get_val48((void *)&in[input_offset]);
1290 *((uint32_t *)&out[output_offset]) = t.val.val32[0];
1291 *((uint32_t *)&out[output_offset+4]) = t.val.val32[1];
1292 }
1293 break;
1294 case move56:
1295 /* 64bit access to potentially unaligned output buffer. use 2 x 32bit for _LP64 CPUs */
1296 { type_mask_t t;
1297
1298 t.val.val64 = Get_val56((void *)&in[input_offset]);
1299 *((uint32_t *)&out[output_offset]) = t.val.val32[0];
1300 *((uint32_t *)&out[output_offset+4]) = t.val.val32[1];
1301 }
1302 break;
1303 case move64:
1304 { type_mask_t t;
1305 t.val.val64 = Get_val64((void *)&in[input_offset]);
1306
1307 *((uint32_t *)&out[output_offset]) = t.val.val32[0];
1308 *((uint32_t *)&out[output_offset+4]) = t.val.val32[1];
1309 } break;
1310 case move128:
1311 /* 64bit access to potentially unaligned output buffer. use 2 x 32bit for _LP64 CPUs */
1312 { type_mask_t t;
1313
1314 t.val.val64 = Get_val64((void *)&in[input_offset]);
1315 *((uint32_t *)&out[output_offset]) = t.val.val32[0];
1316 *((uint32_t *)&out[output_offset+4]) = t.val.val32[1];
1317
1318 t.val.val64 = Get_val64((void *)&in[input_offset+8]);
1319 *((uint32_t *)&out[output_offset+8]) = t.val.val32[0];
1320 *((uint32_t *)&out[output_offset+12]) = t.val.val32[1];
1321 } break;
1322 case move64_sampling:
1323 /* 64bit access to potentially unaligned output buffer. use 2 x 32bit for _LP64 CPUs */
1324 { type_mask_t t;
1325 t.val.val64 = Get_val64((void *)&in[input_offset]);
1326
1327 t.val.val64 *= sampling_rate;
1328 *((uint32_t *)&out[output_offset]) = t.val.val32[0];
1329 *((uint32_t *)&out[output_offset+4]) = t.val.val32[1];
1330 *(uint64_t *)stack = t.val.val64;
1331 } break;
1332 case Time64Mili:
1333 { uint64_t DateMiliseconds = Get_val64((void *)&in[input_offset]);
1334 *(uint64_t *)stack = DateMiliseconds;
1335
1336 } break;
1337 case zero8:
1338 out[output_offset] = 0;
1339 break;
1340 case zero16:
1341 *((uint16_t *)&out[output_offset]) = 0;
1342 break;
1343 case zero32:
1344 *((uint32_t *)&out[output_offset]) = 0;
1345 break;
1346 case zero64:
1347 *((uint64_t *)&out[output_offset]) = 0;
1348 break;
1349 case zero128:
1350 *((uint64_t *)&out[output_offset]) = 0;
1351 *((uint64_t *)&out[output_offset+8]) = 0;
1352 break;
1353
1354 default:
1355 syslog(LOG_ERR, "Process_ipfix: Software bug! Unknown Sequence: %u. at %s line %d",
1356 table->sequence[i].id, __FILE__, __LINE__);
1357 dbg_printf("Software bug! Unknown Sequence: %u. at %s line %d",
1358 table->sequence[i].id, __FILE__, __LINE__);
1359 }
1360 }
1361
1362 // for netflow historical reason, ICMP type/code goes into dst port field
1363 if ( data_record->prot == IPPROTO_ICMP || data_record->prot == IPPROTO_ICMPV6 ) {
1364 if ( table->ICMP_offset ) {
1365 data_record->srcport = 0;
1366 data_record->dstport = Get_val16((void *)&in[table->ICMP_offset]);
1367 }
1368 }
1369
1370 // split first/last time into epoch/msec values
1371 data_record->first = table->flow_start / 1000;
1372 data_record->msec_first = table->flow_start % 1000;
1373
1374 data_record->last = table->flow_end / 1000;
1375 data_record->msec_last = table->flow_end % 1000;
1376
1377 // update first_seen, last_seen
1378 if ( table->flow_start < fs->first_seen )
1379 fs->first_seen = table->flow_start;
1380 if ( table->flow_end > fs->last_seen )
1381 fs->last_seen = table->flow_end;
1382
1383 // check if we need to record the router IP address
1384 if ( table->router_ip_offset ) {
1385 int output_offset = table->router_ip_offset;
1386 if ( exporter->sa_family == PF_INET6 ) {
1387 // 64bit access to potentially unaligned output buffer. use 2 x 32bit for _LP64 CPUs
1388 type_mask_t t;
1389
1390 t.val.val64 = exporter->ip.v6[0];
1391 *((uint32_t *)&out[output_offset]) = t.val.val32[0];
1392 *((uint32_t *)&out[output_offset+4]) = t.val.val32[1];
1393
1394 t.val.val64 = exporter->ip.v6[1];
1395 *((uint32_t *)&out[output_offset+8]) = t.val.val32[0];
1396 *((uint32_t *)&out[output_offset+12]) = t.val.val32[1];
1397 } else {
1398 *((uint32_t *)&out[output_offset]) = exporter->ip.v4;
1399 }
1400 }
1401
1402 switch (data_record->prot ) { // switch protocol of
1403 case IPPROTO_ICMP:
1404 fs->nffile->stat_record->numflows_icmp++;
1405 fs->nffile->stat_record->numpackets_icmp += table->packets;
1406 fs->nffile->stat_record->numbytes_icmp += table->bytes;
1407 break;
1408 case IPPROTO_TCP:
1409 fs->nffile->stat_record->numflows_tcp++;
1410 fs->nffile->stat_record->numpackets_tcp += table->packets;
1411 fs->nffile->stat_record->numbytes_tcp += table->bytes;
1412 break;
1413 case IPPROTO_UDP:
1414 fs->nffile->stat_record->numflows_udp++;
1415 fs->nffile->stat_record->numpackets_udp += table->packets;
1416 fs->nffile->stat_record->numbytes_udp += table->bytes;
1417 break;
1418 default:
1419 fs->nffile->stat_record->numflows_other++;
1420 fs->nffile->stat_record->numpackets_other += table->packets;
1421 fs->nffile->stat_record->numbytes_other += table->bytes;
1422 }
1423 fs->nffile->stat_record->numflows++;
1424 fs->nffile->stat_record->numpackets += table->packets;
1425 fs->nffile->stat_record->numbytes += table->bytes;
1426
1427 if ( fs->xstat ) {
1428 uint32_t bpp = table->packets ? table->bytes/table->packets : 0;
1429 if ( bpp > MAX_BPP )
1430 bpp = MAX_BPP;
1431 if ( data_record->prot == IPPROTO_TCP ) {
1432 fs->xstat->bpp_histogram->tcp.bpp[bpp]++;
1433 fs->xstat->bpp_histogram->tcp.count++;
1434
1435 fs->xstat->port_histogram->src_tcp.port[data_record->srcport]++;
1436 fs->xstat->port_histogram->dst_tcp.port[data_record->dstport]++;
1437 fs->xstat->port_histogram->src_tcp.count++;
1438 fs->xstat->port_histogram->dst_tcp.count++;
1439 } else if ( data_record->prot == IPPROTO_UDP ) {
1440 fs->xstat->bpp_histogram->udp.bpp[bpp]++;
1441 fs->xstat->bpp_histogram->udp.count++;
1442
1443 fs->xstat->port_histogram->src_udp.port[data_record->srcport]++;
1444 fs->xstat->port_histogram->dst_udp.port[data_record->dstport]++;
1445 fs->xstat->port_histogram->src_udp.count++;
1446 fs->xstat->port_histogram->dst_udp.count++;
1447 }
1448 }
1449
1450 if ( verbose ) {
1451 master_record_t master_record;
1452 ExpandRecord_v2((common_record_t *)data_record, &(table->extension_info), &master_record);
1453 format_file_block_record(&master_record, &string, 0);
1454 printf("%s\n", string);
1455 }
1456
1457 fs->nffile->block_header->size += data_record->size;
1458 fs->nffile->block_header->NumRecords++;
1459 fs->nffile->buff_ptr = (common_record_t *)((pointer_addr_t)data_record + data_record->size);
1460
1461 // advance input
1462 size_left -= table->input_record_size;
1463 in += table->input_record_size;
1464
1465 // buffer size sanity check
1466 if ( fs->nffile->block_header->size > BUFFSIZE ) {
1467 // should never happen
1468 syslog(LOG_ERR,"### Software error ###: %s line %d", __FILE__, __LINE__);
1469 syslog(LOG_ERR,"Process ipfix: Output buffer overflow! Flush buffer and skip records.");
1470 syslog(LOG_ERR,"Buffer size: %u > %u", fs->nffile->block_header->size, BUFFSIZE);
1471
1472 // reset buffer
1473 fs->nffile->block_header->size = 0;
1474 fs->nffile->block_header->NumRecords = 0;
1475 fs->nffile->buff_ptr = (void *)((pointer_addr_t)fs->nffile->block_header + sizeof(data_block_header_t) );
1476 return;
1477 }
1478
1479 }
1480
1481 } // End of Process_ipfix_data
1482
1483 void Process_IPFIX(void *in_buff, ssize_t in_buff_cnt, FlowSource_t *fs) {
1484 exporter_domain_t *exporter;
1485 ssize_t size_left;
1486 uint32_t ExportTime, ObservationDomain, Sequence, flowset_length;
1487 ipfix_header_t *ipfix_header;
1488 void *flowset_header;
1489 #ifdef DEVEL
1490 static uint32_t packet_cntr = 0;
1491 #endif
1492
1493 size_left = in_buff_cnt;
1494 if ( size_left < IPFIX_HEADER_LENGTH ) {
1495 syslog(LOG_ERR, "Process_ipfix: Too little data for ipfix packet: '%lli'", (long long)size_left);
1496 return;
1497 }
1498
1499 ipfix_header = (ipfix_header_t *)in_buff;
1500 ObservationDomain = ntohl(ipfix_header->ObservationDomain);
1501 ExportTime = ntohl(ipfix_header->ExportTime);
1502 Sequence = ntohl(ipfix_header->LastSequence);
1503
1504 exporter = GetExporter(fs, ipfix_header);
1505 if ( !exporter ) {
1506 syslog(LOG_ERR,"Process_ipfix: Exporter NULL: Abort ipfix record processing");
1507 return;
1508 }
1509 exporter->PacketSequence = Sequence;
1510
1511 flowset_header = (void *)ipfix_header + IPFIX_HEADER_LENGTH;
1512 size_left -= IPFIX_HEADER_LENGTH;
1513
1514 dbg_printf("\n[%u] Next packet: %u, exported: %s, TemplateRecords: %llu, DataRecords: %llu, buffer: %li \n",
1515 ObservationDomain, packet_cntr++, UNIX2ISO(ExportTime), (long long unsigned)exporter->TemplateRecords,
1516 (long long unsigned)exporter->DataRecords, size_left);
1517
1518 dbg_printf("[%u] Sequence: %u\n", ObservationDomain, Sequence);
1519
1520 // iterate over all set
1521 flowset_length = 0;
1522 while (size_left) {
1523 uint16_t flowset_id;
1524
1525 flowset_header = flowset_header + flowset_length;
1526
1527 flowset_id = GET_FLOWSET_ID(flowset_header);
1528 flowset_length = GET_FLOWSET_LENGTH(flowset_header);
1529
1530 dbg_printf("Process_ipfix: Next flowset %u, length %u.\n", flowset_id, flowset_length);
1531
1532 if ( flowset_length == 0 ) {
1533 /* this should never happen, as 4 is an empty flowset
1534 and smaller is an illegal flowset anyway ...
1535 if it happends, we can't determine the next flowset, so skip the entire export packet
1536 */
1537 syslog(LOG_ERR,"Process_ipfix: flowset zero length error.");
1538 dbg_printf("Process_ipfix: flowset zero length error.\n");
1539 return;
1540
1541 }
1542
1543 // possible padding
1544 if ( flowset_length <= 4 ) {
1545 size_left = 0;
1546 continue;
1547 }
1548
1549 if ( flowset_length > size_left ) {
1550 syslog(LOG_ERR,"Process_ipfix: flowset length error. Expected bytes: %u > buffersize: %lli",
1551 flowset_length, (long long)size_left);
1552 size_left = 0;
1553 continue;
1554 }
1555
1556
1557 switch (flowset_id) {
1558 case IPFIX_TEMPLATE_FLOWSET_ID:
1559 // Process_ipfix_templates(exporter, flowset_header, fs);
1560 exporter->TemplateRecords++;
1561 dbg_printf("Process template flowset, length: %u\n", flowset_length);
1562 Process_ipfix_templates(exporter, flowset_header, flowset_length, fs);
1563 break;
1564 case IPFIX_OPTIONS_FLOWSET_ID:
1565 // option_flowset = (option_template_flowset_t *)flowset_header;
1566 exporter->TemplateRecords++;
1567 dbg_printf("Process option template flowset, length: %u\n", flowset_length);
1568 Process_ipfix_option_templates(exporter, flowset_header, fs);
1569 break;
1570 default: {
1571 if ( flowset_id < IPFIX_MIN_RECORD_FLOWSET_ID ) {
1572 dbg_printf("Invalid flowset id: %u. Skip flowset\n", flowset_id);
1573 syslog(LOG_ERR,"Process_ipfix: Invalid flowset id: %u. Skip flowset", flowset_id);
1574 } else {
1575 input_translation_t *table;
1576 dbg_printf("Process data flowset, length: %u\n", flowset_length);
1577 table = GetTranslationTable(exporter, flowset_id);
1578 if ( table ) {
1579 Process_ipfix_data(exporter, flowset_header, fs, table);
1580 } else if ( HasOptionTable(fs, flowset_id) ) {
1581 // Process_ipfix_option_data(exporter, flowset_header, fs);
1582 } else {
1583 // maybe a flowset with option data
1584 dbg_printf("Process ipfix: [%u] No table for id %u -> Skip record\n",
1585 exporter->ObservationDomain, flowset_id);
1586 }
1587
1588 exporter->DataRecords++;
1589 }
1590 }
1591 } // End of switch
1592
1593 // next record
1594 size_left -= flowset_length;
1595
1596 } // End of while
1597
1598 } // End of Process_IPFIX
0 /*
1 * Copyright (c) 2009, Peter Haag
2 * All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
6 *
7 * * Redistributions of source code must retain the above copyright notice,
8 * this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright notice,
10 * this list of conditions and the following disclaimer in the documentation
11 * and/or other materials provided with the distribution.
12 * * Neither the name of the author nor the names of its contributors may be
13 * used to endorse or promote products derived from this software without
14 * specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
20 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 * POSSIBILITY OF SUCH DAMAGE.
27 *
28 * $Author:$
29 *
30 * $Id:$
31 *
32 * $LastChangedRevision:$
33 *
34 */
35
36 #ifndef _IPFIX_H
37 #define _IPFIX_H 1
38
39 /* reference: http://tools.ietf.org/html/draft-ietf-ipfix-protocol-rfc5101bis-00 */
40
41 typedef struct ipfix_header {
42 uint16_t Version; // set to 10 for IPFIX
43 uint16_t Length; // Total length incl. this header. up to 65535 bytes
44 uint32_t ExportTime; // UNIC epoch export Time of flow.
45 uint32_t LastSequence; // Incremental sequence counter modulo 2^32 of all IPFIX Data Records
46 uint32_t ObservationDomain; // identifier , unique to the exporter
47 } ipfix_header_t;
48
49 #define IPFIX_HEADER_LENGTH sizeof(ipfix_header_t)
50
51 /*
52 Message Header Field Descriptions:
53
54 Version
55
56 Version of Flow Record format exported in this message. The value
57 of this field is 0x000a for the current version, incrementing by
58 one the version used in the NetFlow services export version 9
59 [RFC3954].
60
61 Length
62
63 Total length of the IPFIX Message, measured in octets, including
64 Message Header and Set(s).
65
66 Export Time
67
68 Time at which the IPFIX Message Header leaves the Exporter,
69 expressed in seconds since the UNIX epoch of 1 January 1970 at
70 00:00 UTC, encoded as an unsigned 32-bit integer.
71
72 Sequence Number
73
74 Incremental sequence counter modulo 2^32 of all IPFIX Data Records
75 sent on this PR-SCTP stream from the current Observation Domain by
76 the Exporting Process. Check the specific meaning of this field
77 in the subsections of Section 10 when UDP or TCP is selected as
78 the transport protocol. This value SHOULD be used by the
79 Collecting Process to identify whether any IPFIX Data Records have
80 been missed. Template and Options Template Records do not
81 increase the Sequence Number.
82
83 Observation Domain ID
84
85 A 32-bit identifier of the Observation Domain that is locally
86 unique to the Exporting Process. The Exporting Process uses the
87 Observation Domain ID to uniquely identify to the Collecting
88 Process the Observation Domain that metered the Flows. It is
89 RECOMMENDED that this identifier also be unique per IPFIX Device.
90
91 Collecting Processes SHOULD use the Transport Session and the
92 Observation Domain ID field to separate different export streams
93 originating from the same Exporter. The Observation Domain ID
94 SHOULD be 0 when no specific Observation Domain ID is relevant for
95 the entire IPFIX Message, for example, when exporting the
96 Exporting Process Statistics, or in case of a hierarchy of
97 Collectors when aggregated Data Records are exported.
98
99 */
100
101 /* set format:
102 A Set has the format shown in Figure H. The record types can be
103 either Template Records, Options Template Records, or Data Records.
104 The record types MUST NOT be mixed within a Set.
105
106 +--------------------------------------------------+
107 | Set Header |
108 +--------------------------------------------------+
109 | record |
110 +--------------------------------------------------+
111 | record |
112 +--------------------------------------------------+
113 ...
114 +--------------------------------------------------+
115 | record |
116 +--------------------------------------------------+
117 | Padding (opt.) |
118 +--------------------------------------------------+
119 */
120
121 typedef struct set_header_s {
122 uint16_t SetID; // SetIDs:
123 // 0, 1: not used
124 // 2: Template Set
125 // 3: Options Template Set
126 #define IPFIX_TEMPLATE_FLOWSET_ID 2
127 #define IPFIX_OPTIONS_FLOWSET_ID 3
128 #define IPFIX_MIN_RECORD_FLOWSET_ID 256
129 uint16_t Length; // Length of bytes incl. this header
130 uint32_t records[1]; // pointer to records
131 } set_header_t;
132
133 /* Template Record Format
134 The format of the Template Record is shown in Figure J. It consists
135 of a Template Record Header and one or more Field Specifiers. The
136 definition of the Field Specifiers is given in Figure G above.
137
138 +--------------------------------------------------+
139 | Template Record Header |
140 +--------------------------------------------------+
141 | Field Specifier |
142 +--------------------------------------------------+
143 | Field Specifier |
144 +--------------------------------------------------+
145 ...
146 +--------------------------------------------------+
147 | Field Specifier |
148 +--------------------------------------------------+
149 */
150
151 typedef struct ipfix_template_record_s {
152 uint16_t TemplateID; // Template ID:
153 // 0-255 reserved for Template Sets, Options Template Sets,
154 // and other reserved Sets yet to be created.
155 // 256-65535 Template IDs of Data Sets
156 uint16_t FieldCount;
157 uint32_t elements[1];
158 } ipfix_template_record_t;
159
160 /* Standard Information Elements
161 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
162 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
163 |0| Information Element ident. | Field Length |
164 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
165 */
166 typedef struct ipfix_template_elements_std_s {
167 uint16_t Type;
168 uint16_t Length;
169 } ipfix_template_elements_std_t;
170
171 /* enterprise-specific Information Elements
172 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
173 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
174 |1| Information Element ident. | Field Length |
175 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
176 | Enterprise Number |
177 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
178 */
179 typedef struct ipfix_template_elements_e_s {
180 uint16_t Type;
181 uint16_t Length;
182 uint32_t EnterpriseNumber;
183 } ipfix_template_elements_e_t;
184
185 #define _1byte 1
186 #define _2bytes 2
187 #define _3bytes 3
188 #define _4bytes 4
189 #define _6bytes 6
190 #define _8bytes 8
191 #define _16bytes 16
192
193 // IPFIX std element definitios
194 // Flowset record types
195 #define IPFIX_octetDeltaCount 1
196 #define IPFIX_packetDeltaCount 2
197 // reserved 3
198 #define IPFIX_FLOWS_AGGR 3
199 #define IPFIX_protocolIdentifier 4
200 #define IPFIX_ipClassOfService 5
201 #define IPFIX_tcpControlBits 6
202 #define IPFIX_SourceTransportPort 7
203 #define IPFIX_SourceIPv4Address 8
204 #define IPFIX_SourceIPv4PrefixLength 9
205 #define IPFIX_ingressInterface 10
206 #define IPFIX_DestinationTransportPort 11
207 #define IPFIX_DestinationIPv4Address 12
208 #define IPFIX_DestinationIPv4PrefixLength 13
209 #define IPFIX_egressInterface 14
210 #define IPFIX_ipNextHopIPv4Address 15
211 #define IPFIX_bgpSourceAsNumber 16
212 #define IPFIX_bgpDestinationAsNumber 17
213 #define IPFIX_bgpNextHopIPv4Address 18
214
215 #define IPFIX_flowEndSysUpTime 21
216 #define IPFIX_flowStartSysUpTime 22
217 #define IPFIX_postOctetDeltaCount 23
218 #define IPFIX_postPacketDeltaCount 24
219 #define IPFIX_SourceIPv6Address 27
220 #define IPFIX_DestinationIPv6Address 28
221 #define IPFIX_SourceIPv6PrefixLength 29
222 #define IPFIX_DestinationIPv6PrefixLength 30
223 #define IPFIX_flowLabelIPv6 31
224 #define IPFIX_icmpTypeCodeIPv4 32
225 // reserved 34, 35
226 // reserved 38, 39
227 // reserved 48, 49, 50, 51
228
229 // #define IPFIX_MIN_TTL 52
230 // #define IPFIX_MAX_TTL 53
231 // #define IPFIX_IPV4_IDENT 54
232
233 #define IPFIX_postIpClassOfService 55
234 #define IPFIX_SourceMacAddress 56
235 #define IPFIX_postDestinationMacAddress 57
236 #define IPFIX_vlanId 58
237 #define IPFIX_postVlanId 59
238
239 #define IPFIX_flowDirection 61
240 #define IPFIX_ipNextHopIPv6Address 62
241 #define IPFIX_bgpNextHopIPv6Address 63
242
243 #define IPFIX_mplsTopLabelStackSection 70
244 #define IPFIX_mplsLabelStackSection2 71
245 #define IPFIX_mplsLabelStackSection3 72
246 #define IPFIX_mplsLabelStackSection4 73
247 #define IPFIX_mplsLabelStackSection5 74
248 #define IPFIX_mplsLabelStackSection6 75
249 #define IPFIX_mplsLabelStackSection7 76
250 #define IPFIX_mplsLabelStackSection8 77
251 #define IPFIX_mplsLabelStackSection9 78
252 #define IPFIX_mplsLabelStackSection10 79
253 #define IPFIX_DestinationMacAddress 80
254 #define IPFIX_postSourceMacAddress 81
255 #define IPFIX_flowStartMilliseconds 152
256 #define IPFIX_flowEndMilliseconds 153
257 // reserved 89
258
259 /* prototypes */
260 int Init_IPFIX(void);
261
262 void Process_IPFIX(void *in_buff, ssize_t in_buff_cnt, FlowSource_t *fs);
263
264 #endif //_IPFIX_H 1
251251 syslog(LOG_INFO, "Run expire on '%s'", datadir);
252252
253253 do_rescan = 0;
254 ret = ReadStatInfo(datadir, &dirstat, CRETAE_AND_LOCK);
254 ret = ReadStatInfo(datadir, &dirstat, CREATE_AND_LOCK);
255255 switch (ret) {
256256 case STATFILE_OK:
257257 break;
302302
303303 oldstat = *dirstat;
304304 if ( dirstat->max_size || dirstat->max_lifetime )
305 ExpireDir(datadir, dirstat, dirstat->max_size, dirstat->max_lifetime);
305 ExpireDir(datadir, dirstat, dirstat->max_size, dirstat->max_lifetime, 0);
306306 WriteStatInfo(dirstat);
307307
308308 if ( (oldstat.numfiles - dirstat->numfiles) > 0 ) {
393393 if ( args[0] )
394394 cmd_execute(args);
395395
396 // don not flood the system with new processes
396 // do not flood the system with new processes
397397 sleep(1);
398398 // else cmd_parse already reported the error
399399 free(cmd);
15281528 pkg_num++;
15291529 size_left = in_buff_cnt;
15301530 if ( size_left < NETFLOW_V9_HEADER_LENGTH ) {
1531 syslog(LOG_ERR, "Process_v9: Too little data for v9 packets: '%lli'", (long long)size_left);
1531 syslog(LOG_ERR, "Process_v9: Too little data for v9 packet: '%lli'", (long long)size_left);
15321532 return;
15331533 }
15341534
15521552
15531553 size_left -= NETFLOW_V9_HEADER_LENGTH;
15541554
1555 dbg_printf("\n[%u] Next packet: %i %u records, buffer: %li \n", pkg_num, exporter_id, expected_records, size_left);
1555 dbg_printf("\n[%u] Next packet: %i %u records, buffer: %li \n", exporter_id, pkg_num, expected_records, size_left);
15561556 // sequence check
15571557 if ( exporter->first ) {
15581558 exporter->last_sequence = ntohl(v9_header->sequence);
15911591 exporter->exporter_id, flowset_id, flowset_length, size_left,
15921592 (long long unsigned)(flowset_header - in_buff) );
15931593
1594 if ( flowset_length <= 4 ) {
1594 if ( flowset_length == 0 ) {
15951595 /* this should never happen, as 4 is an empty flowset
15961596 and smaller is an illegal flowset anyway ...
15971597 if it happends, we can't determine the next flowset, so skip the entire export packet
15981598 */
1599 syslog(LOG_ERR,"Process_v9: flowset length error. '%u' is too short for a flowset", flowset_length);
1600 dbg_printf("Process_v9: flowset length error. '%u' is too short for a flowset\n", flowset_length);
1599 syslog(LOG_ERR,"Process_v9: flowset zero length error.");
1600 dbg_printf("Process_v9: flowset zero length error.\n");
16011601 return;
16021602 }
16031603
1604 // possible padding
1605 if ( flowset_length <= 4 ) {
1606 size_left = 0;
1607 continue;
1608 }
1609
16041610 if ( flowset_length > size_left ) {
1605 syslog(LOG_ERR,"Process_v9: flowset length error. Expected bytes: %u but buffersize: %lli",
1611 syslog(LOG_ERR,"Process_v9: flowset length error. Expected bytes: %u > buffersize: %lli",
16061612 flowset_length, (long long)size_left);
16071613 size_left = 0;
16081614 continue;
16291635 if ( flowset_id < NF9_MIN_RECORD_FLOWSET_ID ) {
16301636 dbg_printf("Invalid flowset id: %u\n", flowset_id);
16311637 syslog(LOG_ERR,"Process_v9: Invalid flowset id: %u", flowset_id);
1638 } else {
1639
1640 dbg_printf("[%u] ID %u Data flowset\n", exporter->exporter_id, flowset_id);
1641
1642 table = GetTranslationTable(exporter, flowset_id);
1643 if ( table ) {
1644 Process_v9_data(exporter, flowset_header, fs, table);
1645 } else if ( HasOptionTable(fs, flowset_id) ) {
1646 Process_v9_option_data(exporter, flowset_header, fs);
1647 } else {
1648 // maybe a flowset with option data
1649 dbg_printf("Process v9: [%u] No table for id %u -> Skip record\n",
1650 exporter->exporter_id, flowset_id);
1651 }
16321652 }
1633
1634 dbg_printf("[%u] ID %u Data flowset\n", exporter->exporter_id, flowset_id);
1635
1636 table = GetTranslationTable(exporter, flowset_id);
1637 if ( table ) {
1638 Process_v9_data(exporter, flowset_header, fs, table);
1639 } else if ( HasOptionTable(fs, flowset_id) ) {
1640 Process_v9_option_data(exporter, flowset_header, fs);
1641 } else {
1642 // maybe a flowset with option data
1643 dbg_printf("Process v9: [%u] No table for id %u -> Skip record\n",
1644 exporter->exporter_id, flowset_id);
1645 }
1646
1647 }
1653 }
16481654 }
16491655
16501656 // next flowset
151151 uint16_t flowset_id;
152152 uint16_t length;
153153 } common_header_t;
154
155 #define _1byte 1
156 #define _2bytes 2
157 #define _3bytes 3
158 #define _4bytes 4
159 #define _6bytes 6
160 #define _8bytes 8
161 #define _16bytes 16
154162
155163 #define NF9_TEMPLATE_FLOWSET_ID 0
156164 #define NF9_OPTIONS_FLOWSET_ID 1
186194 #define NF9_IPV6_SRC_MASK 29
187195 #define NF9_IPV6_DST_MASK 30
188196
197 #define NF9_IPV6_FLOW_LABEL 31
189198 #define NF9_ICMP_TYPE 32
190199
191200 #define NF9_SAMPLING_INTERVAL 34
653653 " msec_last = %5u\n"
654654 " src addr = %16s\n"
655655 " dst addr = %16s\n"
656 ,
657 r->flags, TestFlag(r->flags, FLAG_SAMPLED) ? "Sampled" : "Unsampled", r->size, r->first,
658 datestr1, r->last, datestr2, r->msec_first, r->msec_last,
659 as, ds );
660
661 _slen = strlen(data_string);
662 _s = data_string + _slen;
663 slen = STRINGSIZE - _slen;
664
665 if ( r->prot == IPPROTO_ICMP || r->prot == IPPROTO_ICMPV6 ) { // ICMP
666 uint16_t type = r->dstport >> 8;
667 uint16_t code = r->dstport & 0xFF;
668 snprintf(_s, slen-1,
669 " ICMP = %2u.%-2u\n",
670 type, code);
671 } else {
672 snprintf(_s, slen-1,
656673 " src port = %5u\n"
657 " dst port = %5u\n"
674 " dst port = %5u\n",
675 r->srcport, r->dstport);
676 }
677
678 _slen = strlen(data_string);
679 _s = data_string + _slen;
680 slen = STRINGSIZE - _slen;
681
682 snprintf(_s, slen-1,
658683 " fwd status = %3u\n"
659684 " tcp flags = 0x%.2x %s\n"
660685 " proto = %3u\n"
661686 " (src)tos = %3u\n"
662687 " (in)packets = %10llu\n"
663 " (in)bytes = %10llu\n"
664 ,
665 r->flags, TestFlag(r->flags, FLAG_SAMPLED) ? "Sampled" : "Unsampled", r->size, r->first,
666 datestr1, r->last, datestr2, r->msec_first, r->msec_last,
667 as, ds, r->srcport, r->dstport, r->fwd_status, r->tcp_flags, flags_str, r->prot, r->tos,
688 " (in)bytes = %10llu\n",
689 r->fwd_status, r->tcp_flags, flags_str, r->prot, r->tos,
668690 (unsigned long long)r->dPkts, (unsigned long long)r->dOctets);
669691
670692 _slen = strlen(data_string);
671 _s += _slen;
672 slen -= _slen;
693 _s = data_string + _slen;
694 slen = STRINGSIZE - _slen;
673695
674696 i = 0;
675697 while ( (id = extension_map->ex_id[i]) != 0 ) {
21312153 char s[32];
21322154
21332155 if ( duration ) {
2134 bps = ( r->dOctets << 3 ) / duration; // bits per second. ( >> 3 ) -> * 8 to convert octets into bits
2156 bps = (( r->dOctets << 3 ) / duration); // bits per second. ( >> 3 ) -> * 8 to convert octets into bits
21352157 } else {
21362158 bps = 0;
21372159 }
184184 LogError("GetNextFile() error in %s line %d: %s\n", __FILE__, __LINE__, strerror(errno) );
185185 return;
186186 }
187 if ( nffile_r == EMPTY_LIST ) {
188 LogError("Empty file list. No files to process\n");
189 return;
190 }
187191
188192 cfile = GetCurrentFilename();
189193 if ( !cfile ) {
192196 outfile[1] = '\0';
193197 verbose = 0;
194198 } else {
195 fprintf(stderr, "(NULL) input file name error in %s line %d\n", __FILE__, __LINE__);
199 LogError("(NULL) input file name error in %s line %d\n", __FILE__, __LINE__);
196200 return;
197201 }
198202 } else {
9393 #include "netflow_v1.h"
9494 #include "netflow_v5_v7.h"
9595 #include "netflow_v9.h"
96 #include "ipfix.h"
9697
9798 #ifdef HAVE_FTS_H
9899 # include <fts.h>
373374 char *string;
374375 srecord_t *commbuff;
375376
376 if ( !Init_v1() || !Init_v5_v7_input() || !Init_v9() )
377 if ( !Init_v1() || !Init_v5_v7_input() || !Init_v9() || !Init_IPFIX() )
377378 return;
378379
379380 in_buff = malloc(NETWORK_INPUT_BUFF_SIZE);
402403 }
403404 // init vars
404405 fs->bad_packets = 0;
405 fs->first_seen = (uint64_t)0xffffffffffffLL;
406 fs->first_seen = 0xffffffffffffLL;
406407 fs->last_seen = 0;
407408
408409 // next source
513514 nfcapd_filename[MAXPATHLEN-1] = '\0';
514515
515516 // update stat record
516 nffile->stat_record->first_seen = fs->first_seen/1000;
517 // if no flows were collected, fs->last_seen is still 0
518 // set first_seen to start of this time slot, with twin window size.
519 if ( fs->last_seen == 0 ) {
520 fs->first_seen = (uint64_t)1000 * (uint64_t)t_start;
521 fs->last_seen = (uint64_t)1000 * (uint64_t)(t_start + twin);
522 }
523 nffile->stat_record->first_seen = fs->first_seen/1000;
517524 nffile->stat_record->msec_first = fs->first_seen - nffile->stat_record->first_seen*1000;
518525 nffile->stat_record->last_seen = fs->last_seen/1000;
519526 nffile->stat_record->msec_last = fs->last_seen - nffile->stat_record->last_seen*1000;
563570
564571 // reset stats
565572 fs->bad_packets = 0;
566 fs->first_seen = 0xffffffffffffLL;
573 fs->first_seen = 0xffffffffffffLL;
567574 fs->last_seen = 0;
568575
569576 if ( !done ) {
676683 Process_v9(in_buff, cnt, fs);
677684 break;
678685 case 10:
679 syslog(LOG_ERR,"Ident: %s, IPFIX not yet supported", fs->Ident);
686 Process_IPFIX(in_buff, cnt, fs);
680687 break;
681688 case 255:
682689 // blast test header
298298 char byte_str[32], packet_str[32], bps_str[32], pps_str[32], bpp_str[32];
299299
300300 bps = pps = bpp = 0;
301 duration = stat_record->last_seen - stat_record->first_seen;
302 duration += ((double)stat_record->msec_last - (double)stat_record->msec_first) / 1000.0;
301 if ( stat_record->last_seen ) {
302 duration = stat_record->last_seen - stat_record->first_seen;
303 duration += ((double)stat_record->msec_last - (double)stat_record->msec_first) / 1000.0;
304 } else {
305 // no flows to report
306 duration = 0;
307 }
303308 if ( duration > 0 && stat_record->last_seen > 0 ) {
304309 bps = ( stat_record->numbytes << 3 ) / duration; // bits per second. ( >> 3 ) -> * 8 to convert octets into bits
305310 pps = stat_record->numpackets / duration; // packets per second
348353 stat_record.first_seen = 0x7fffffff;
349354 stat_record.msec_first = 999;
350355
351 // time window of all processed flows
352 t_first_flow = 0x7fffffff;
353 t_last_flow = 0;
354
355356 // Do the logic first
356357
357358 // print flows later, when all records are processed and sorted
380381 LogError("GetNextFile() error in %s line %d: %s\n", __FILE__, __LINE__, strerror(errno) );
381382 return stat_record;
382383 }
384 if ( nffile_r == EMPTY_LIST ) {
385 LogError("Empty file list. No files to process\n");
386 return stat_record;
387 }
388
389 // preset time window of all processed flows to the stat record in first flow file
390 t_first_flow = nffile_r->stat_record->first_seen;
391 t_last_flow = nffile_r->stat_record->last_seen;
383392
384393 // store infos away for later use
385394 // although multiple files may be processed, it is assumed that all
433442 nffile_t *next = GetNextFile(nffile_r, twin_start, twin_end);
434443 if ( next == EMPTY_LIST ) {
435444 done = 1;
436 }
437 if ( next == NULL ) {
445 } else if ( next == NULL ) {
438446 done = 1;
439447 LogError("Unexpected end of file list\n");
440 }
441 // else continue with next file
448 } else {
449 // Update global time span window
450 if ( next->stat_record->first_seen < t_first_flow )
451 t_first_flow = next->stat_record->first_seen;
452 if ( next->stat_record->last_seen > t_last_flow )
453 t_last_flow = next->stat_record->last_seen;
454 // continue with next file
455 }
442456 continue;
443457
444458 } break; // not really needed
549563 // Records passed filter -> continue record processing
550564 // Update statistics
551565 UpdateStat(&stat_record, master_record);
552
553 // Update global time span window
554 if ( master_record->first < t_first_flow )
555 t_first_flow = master_record->first;
556 if ( master_record->last > t_last_flow )
557 t_last_flow = master_record->last;
558566
559567 // update number of flows matching a given map
560568 extension_map_list.slot[map_id]->ref_count++;
11011109 limitflows, do_tag, compress, do_xstat);
11021110 nfprof_end(&profile_data, total_flows);
11031111
1104 if ( total_bytes == 0 )
1112 if ( total_bytes == 0 ) {
1113 printf("No matched flows\n");
11051114 exit(0);
1106
1115 }
11071116
11081117 if (aggregate || date_sorted) {
11091118 if ( wfile ) {
11401149 if (is_anonymized)
11411150 printf("IP addresses anonymised\n");
11421151 PrintSummary(&sum_stat, plain_numbers, csv_output);
1143 printf("Time window: %s\n", TimeString(t_first_flow, t_last_flow));
1152 if ( t_last_flow == 0 ) {
1153 // in case of a pre 1.6.6 collected and empty flow file
1154 printf("Time window: <unknown>\n");
1155 } else {
1156 printf("Time window: %s\n", TimeString(t_first_flow, t_last_flow));
1157 }
11441158 printf("Total flows processed: %u, Blocks skipped: %u, Bytes read: %llu\n",
11451159 total_flows, skipped_blocks, (unsigned long long)total_bytes);
11461160 nfprof_print(&profile_data, stdout);
8181 ---
8282 > Flags = 0x00 Unsampled
8383 > size = 160
84 717,718c717,718
84 716,717c716,717
8585 < Flags = 0x06 Unsampled
8686 < size = 168
8787 ---
8888 > Flags = 0x00 Unsampled
8989 > size = 160
90 768,769c768,769
90 767,768c767,768
9191 < Flags = 0x07 Unsampled
9292 < size = 192
9393 ---
9494 > Flags = 0x01 Unsampled
9595 > size = 184
96 819,820c819,820
96 818,819c818,819
9797 < Flags = 0x07 Unsampled
9898 < size = 192
9999 ---
100100 > Flags = 0x01 Unsampled
101101 > size = 184
102 870,871c870,871
102 869,870c869,870
103103 < Flags = 0x07 Unsampled
104104 < size = 192
105105 ---
106106 > Flags = 0x05 Unsampled
107107 > size = 188
108 921,922c921,922
108 920,921c920,921
109109 < Flags = 0x07 Unsampled
110110 < size = 192
111111 ---
112112 > Flags = 0x03 Unsampled
113113 > size = 188
114 1023,1024c1023,1024
114 1022,1023c1022,1023
115115 < Flags = 0x06 Unsampled
116116 < size = 168
117117 ---
118118 > Flags = 0x04 Unsampled
119119 > size = 164
120 1074,1075c1074,1075
120 1073,1074c1073,1074
121121 < Flags = 0x06 Unsampled
122122 < size = 168
123123 ---
670670 msec_last = 320
671671 src addr = 172.16.13.66
672672 dst addr = 192.168.170.112
673 src port = 0
674 dst port = 8
673 ICMP = 0.8
675674 fwd status = 14
676675 tcp flags = 0x00 ......
677676 proto = 1
175175 (*c)->datadir = dirlist.list[i];
176176 (*c)->do_rescan = do_rescan;
177177
178 ret = ReadStatInfo((*c)->datadir, &(*c)->dirstat, CRETAE_AND_LOCK);
178 ret = ReadStatInfo((*c)->datadir, &(*c)->dirstat, CREATE_AND_LOCK);
179179 switch (ret) {
180180 case FORCE_REBUILD:
181181 printf("Force rebuild requested by stat record in %s\n", (*c)->datadir);
212212 int do_rescan, do_expire, do_list, print_stat, do_update_param, print_books, is_profile, nfsen_format;
213213 char *maxsize_string, *lifetime_string, *datadir;
214214 uint64_t maxsize, lifetime, low_water;
215 uint32_t runtime;
215216 channel_t *channel, *current_channel;
216217
217218 maxsize_string = lifetime_string = NULL;
228229 maxlife_set = 0;
229230 low_water = 0;
230231 nfsen_format = 0;
231
232 while ((c = getopt(argc, argv, "e:hl:L:Ypr:s:t:u:w:")) != EOF) {
232 runtime = 0;
233
234 while ((c = getopt(argc, argv, "e:hl:L:T:Ypr:s:t:u:w:")) != EOF) {
233235 switch (c) {
234236 case 'h':
235237 usage(argv[0]);
285287 }
286288 if ( low_water == 0 )
287289 low_water = 100;
290 break;
291 case 'T':
292 runtime = strtoll(optarg, NULL, 10);
293 if ( runtime > 3600 ) {
294 fprintf(stderr, "Runtime > 3600 (1h)\n");
295 exit(250);
296 }
288297 break;
289298 case 'Y':
290299 nfsen_format = 1;
408417 current_channel = current_channel->next;
409418 }
410419 old_stat = current_stat;
411 ExpireProfile(channel, &current_stat, maxsize, lifetime);
420 ExpireProfile(channel, &current_stat, maxsize, lifetime, runtime);
412421
413422 } else {
414423 // cmd args override dirstat values
423432
424433
425434 old_stat = *(channel->dirstat);
426 ExpireDir(channel->datadir, channel->dirstat, maxsize, lifetime);
435 ExpireDir(channel->datadir, channel->dirstat, maxsize, lifetime, runtime);
427436 current_stat = *(channel->dirstat);
428437
429438 }
320320 } common_record_t;
321321 #define COMMON_RECORD_DATA_SIZE (sizeof(common_record_t) - sizeof(uint32_t) )
322322
323 #define COMMON_BLOCK 0
324
323325 /*
324326 * Required extensions:
325327 * --------------------
bin/nfgen less more
Binary diff not shown
122122 LogError("GetNextFile() error in %s line %d: %s\n", __FILE__, __LINE__, strerror(errno) );
123123 return;
124124 }
125 if ( nffile == EMPTY_LIST ) {
126 LogError("Empty file list. No files to process\n");
127 return;
128 }
125129
126130 // store infos away for later use
127131 // although multiple files may be processed, it is assumed that all
bin/nfreader less more
Binary diff not shown
177177 LogError("GetNextFile() error in %s line %d: %s\n", __FILE__, __LINE__, strerror(errno) );
178178 return;
179179 }
180 if ( nffile == EMPTY_LIST ) {
181 LogError("Empty file list. No files to process\n");
182 return;
183 }
180184
181185 done = 0;
182186 while ( !done ) {
217217 LogError("GetNextFile() error in %s line %d: %s\n", __FILE__, __LINE__, strerror(errno) );
218218 return;
219219 }
220 if ( nffile == EMPTY_LIST ) {
221 LogError("Empty file list. No files to process\n");
222 return;
223 }
220224
221225 peer.send_buffer = malloc(UDP_PACKET_SIZE);
222226 peer.flush = 0;
291291 * pps, bps and bpp are not directly available in the flow/stat record
292292 * therefore we need a function to calculate these values
293293 */
294 typedef uint32_t (*order_proc_record_t)(FlowTableRecord_t *);
295 typedef uint32_t (*order_proc_element_t)(StatRecord_t *);
294 typedef uint64_t (*order_proc_record_t)(FlowTableRecord_t *);
295 typedef uint64_t (*order_proc_element_t)(StatRecord_t *);
296296
297297 /* order functions */
298 static inline uint32_t pps_record(FlowTableRecord_t *record);
299 static inline uint32_t bps_record(FlowTableRecord_t *record);
300 static inline uint32_t bpp_record(FlowTableRecord_t *record);
301
302 static inline uint32_t pps_element(StatRecord_t *record);
303 static inline uint32_t bps_element(StatRecord_t *record);
304 static inline uint32_t bpp_element(StatRecord_t *record);
298 static inline uint64_t pps_record(FlowTableRecord_t *record);
299 static inline uint64_t bps_record(FlowTableRecord_t *record);
300 static inline uint64_t bpp_record(FlowTableRecord_t *record);
301
302 static inline uint64_t pps_element(StatRecord_t *record);
303 static inline uint64_t bps_element(StatRecord_t *record);
304 static inline uint64_t bpp_element(StatRecord_t *record);
305305
306306 struct order_mode_s {
307307 char *string; // Stat name
359359 #include "heapsort_inline.c"
360360 #include "applybits_inline.c"
361361
362 static uint32_t pps_record(FlowTableRecord_t *record) {
362 static uint64_t pps_record(FlowTableRecord_t *record) {
363363 uint64_t duration;
364364
365365 /* duration in msec */
371371
372372 } // End of pps_record
373373
374 static uint32_t bps_record(FlowTableRecord_t *record) {
374 static uint64_t bps_record(FlowTableRecord_t *record) {
375375 uint64_t duration;
376376
377377 duration = 1000*(record->flowrecord.last - record->flowrecord.first) + record->flowrecord.msec_last - record->flowrecord.msec_first;
382382
383383 } // End of bps_record
384384
385 static uint32_t bpp_record(FlowTableRecord_t *record) {
385 static uint64_t bpp_record(FlowTableRecord_t *record) {
386386
387387 return record->counter[INPACKETS] ? record->counter[INBYTES] / record->counter[INPACKETS] : 0;
388388
389389 } // End of bpp_record
390390
391 static uint32_t pps_element(StatRecord_t *record) {
391 static uint64_t pps_element(StatRecord_t *record) {
392392 uint64_t duration;
393393
394394 /* duration in msec */
400400
401401 } // End of pps_element
402402
403 static uint32_t bps_element(StatRecord_t *record) {
403 static uint64_t bps_element(StatRecord_t *record) {
404404 uint64_t duration;
405405
406406 duration = 1000*(record->last - record->first) + record->msec_last - record->msec_first;
411411
412412 } // End of bps_element
413413
414 static uint32_t bpp_element(StatRecord_t *record) {
414 static uint64_t bpp_element(StatRecord_t *record) {
415415
416416 return record->counter[INPACKETS] ? record->counter[INBYTES] / record->counter[INPACKETS] : 0;
417417
874874 char proto[16], valstr[40], datestr[64], flows_str[32], byte_str[32], packets_str[32], pps_str[32], bps_str[32];
875875 char tag_string[2];
876876 double duration, flows_percent, packets_percent, bytes_percent;
877 uint32_t pps, bps, bpp;
877 uint32_t bpp;
878 uint64_t pps, bps;
878879 time_t first;
879880 struct tm *tbuff;
880881
932933 duration += ((double)StatData->msec_last - (double)StatData->msec_first) / 1000.0;
933934
934935 if ( duration != 0 ) {
935 pps = (uint32_t)((double)StatData->counter[INPACKETS] / duration);
936 bps = (uint32_t)((double)(8 * StatData->counter[INBYTES]) / duration);
936 pps = (uint64_t)((double)StatData->counter[INPACKETS] / duration);
937 bps = (uint64_t)((double)(8 * StatData->counter[INBYTES]) / duration);
937938 } else {
938939 pps = bps = 0;
939940 }
232232 * dirname: directory to read the .nfstat file
233233 * dirstat_p: Assign a point of the result to this pointer
234234 * lock: READ_ONLY file is locked while reading, and unlocked and closed thereafter
235 * CRETAE_AND_LOCK if file does not exists, create it - continue as LOCK_IF_EXISTS
235 * CREATE_AND_LOCK if file does not exists, create it - continue as LOCK_IF_EXISTS
236236 * LOCK_IF_EXISTS: lock the file if it exists - file remains open
237237 * If file does not exists, an empty record is returned.
238238 */
5858 enum { STATFILE_OK = 0, ERR_FAIL, ERR_NOSTATFILE, FORCE_REBUILD };
5959
6060 #define READ_ONLY 0
61 #define CRETAE_AND_LOCK 1
61 #define CREATE_AND_LOCK 1
6262 #define LOCK_IF_EXISTS 2
6363
6464 #define stat_filename ".nfstat"
bin/nftest less more
Binary diff not shown
381381
382382 stat(profile_channels[num].ofile, &fstat);
383383
384 ret = ReadStatInfo(profile_channels[num].dirstat_path, &dirstat, LOCK_IF_EXISTS);
384 ret = ReadStatInfo(profile_channels[num].dirstat_path, &dirstat, CREATE_AND_LOCK);
385385 update_ok = ret == STATFILE_OK;
386386
387387
680680
681681 static void lengthCheck(SFSample *sample, char *description, u_char *start, int len) {
682682 uint32_t actualLen = (u_char *)sample->datap - start;
683 if(actualLen != len) {
683 uint32_t adjustedLen = ((len + 3) >> 2) << 2;
684 if(actualLen != adjustedLen) {
685 dbg_printf("%s length error (expected %d, found %d)\n", description, len, actualLen);
684686 syslog(LOG_ERR, "SFLOW: %s length error (expected %d, found %d)\n", description, len, actualLen);
685687 SFABORT(sample, SF_ABORT_LENGTH_ERROR);
686 }
688 }
689
687690 }
688691
689692 /*_________________---------------------------__________________
10281031 if( sample->ip_fragmentOffset > 0 )
10291032 return;
10301033
1031 // count the bytes from the start of IP header, with the exception that
1032 // for udp packets we use the udp_pduLen. This is because the udp_pduLen
1033 // can be up tp 65535 bytes, which causes fragmentation at the IP layer.
1034 // Since the sampled fragments are discarded, we have to use this field
1035 // to get the total bytes estimates right.
1036 if(sample->udp_pduLen > 0)
1037 bytes = sample->udp_pduLen;
1038 else
1039 bytes = sample->sampledPacketSize - sample->stripped - sample->offsetToIPV4;
1034 bytes = sample->sampledPacketSize;
10401035
10411036 ip_flags = 0;
10421037 if ( sample->nextHop.type == SFLADDRESSTYPE_IP_V6 )
12221217 } break;
12231218 case EX_ROUTER_IP_v4:
12241219 case EX_ROUTER_IP_v6: // IPv4/IPv6 router address
1225 if ( exporter->sa_family == PF_INET6 ) {
1226 tpl_ext_24_t *tpl = (tpl_ext_24_t *)next_data;
1227 tpl->router_ip[0] = fs->ip.v6[0];
1228 tpl->router_ip[1] = fs->ip.v6[1];
1229 next_data = (void *)tpl->data;
1230 SetFlag(common_record->flags, FLAG_IPV6_EXP);
1231 } else {
1232 tpl_ext_23_t *tpl = (tpl_ext_23_t *)next_data;
1233 tpl->router_ip = fs->ip.v4;
1234 next_data = (void *)tpl->data;
1235 ClearFlag(common_record->flags, FLAG_IPV6_EXP);
1236 }
1220 if(sample->agent_addr.type == SFLADDRESSTYPE_IP_V4) {
1221 tpl_ext_23_t *tpl = (tpl_ext_23_t *)next_data;
1222 tpl->router_ip = ntohl(sample->agent_addr.address.ip_v4.s_addr);
1223 next_data = (void *)tpl->data;
1224 ClearFlag(common_record->flags, FLAG_IPV6_EXP);
1225 } else {
1226 tpl_ext_24_t *tpl = (tpl_ext_24_t *)next_data;
1227 void *ptr = (void *)sample->agent_addr.address.ip_v6.s6_addr;
1228 tpl->router_ip[0] = ntohll(((uint64_t *)ptr)[0]);
1229 tpl->router_ip[1] = ntohll(((uint64_t *)ptr)[1]);
1230 next_data = (void *)tpl->data;
1231 SetFlag(common_record->flags, FLAG_IPV6_EXP);
1232 }
12371233 break;
12381234 default:
12391235 // this should never happen
14031399 char buf[51];
14041400 #endif
14051401
1406 dbg_printf("skipping unknown %s: %s len=%d\n", description, printTag(tag, buf, 50), len);
1402 dbg_printf("skipping unknown %s: 0x%x, %s len=%d\n", description, tag, printTag(tag, buf, 50), len);
14071403 skipBytes(sample, len);
14081404 } // End of skipTLVRecord
14091405
26732669 readSFlowDatagram(&sample, fs );
26742670 } else {
26752671 // CATCH
2672 dbg_printf("SFLOW: caught exception: %d\n", exceptionVal);
26762673 syslog(LOG_ERR, "SFLOW: caught exception: %d\n", exceptionVal);
26772674 }
26782675 dbg_printf("endDatagram =================================\n");
+0
-126
bin/test3.diff less more
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=2005-05-14.22
3 scriptversion=2009-10-06.20; # UTC
44
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software
6 # Foundation, Inc.
67 # Written by Tom Tromey <tromey@cygnus.com>.
78 #
89 # This program is free software; you can redistribute it and/or modify
1617 # GNU General Public License for more details.
1718 #
1819 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 # along with this program. If not, see <http://www.gnu.org/licenses/>.
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 -e 's|^.*/||' -e 's/\.c$/.o/'`
105 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; 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 mv "$cofile" "$ofile"
126 test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
127127 elif test -f "${cofile}bj"; then
128 mv "${cofile}bj" "$ofile"
128 test "${cofile}bj" = "$ofile" || 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-end: "$"
140 # time-stamp-time-zone: "UTC"
141 # time-stamp-end: "; # UTC"
141142 # 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
14
25 /* Define to 1 if the `closedir' function returns void instead of `int'. */
36 #undef CLOSEDIR_VOID
150153 /* Define to 1 if you have the `strstr' function. */
151154 #undef HAVE_STRSTR
152155
153 /* Define to 1 if `sa_len' is member of `struct sockaddr'. */
156 /* Define to 1 if `sa_len' is a member of `struct sockaddr'. */
154157 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
155158
156 /* Define to 1 if `ss_family' is member of `struct sockaddr_storage'. */
159 /* Define to 1 if `ss_family' is a member of `struct sockaddr_storage'. */
157160 #undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY
158161
159 /* Define to 1 if `ss_len' is member of `struct sockaddr_storage'. */
162 /* Define to 1 if `ss_len' is a member of `struct sockaddr_storage'. */
160163 #undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN
161164
162 /* Define to 1 if `__ss_family' is member of `struct sockaddr_storage'. */
165 /* Define to 1 if `__ss_family' is a member of `struct sockaddr_storage'. */
163166 #undef HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY
164167
165 /* Define to 1 if `__ss_len' is member of `struct sockaddr_storage'. */
168 /* Define to 1 if `__ss_len' is a member of `struct sockaddr_storage'. */
166169 #undef HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN
167170
168171 /* Define to 1 if you have the <syslog.h> header file. */
231234 /* Define to the one symbol short name of this package. */
232235 #undef PACKAGE_TARNAME
233236
237 /* Define to the home page for this package. */
238 #undef PACKAGE_URL
239
234240 /* Define to the version of this package. */
235241 #undef PACKAGE_VERSION
236242
270276 /* Version number of package */
271277 #undef VERSION
272278
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
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
276290
277291 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
278292 `char[]'. */
+4387
-11155
configure less more
00 #! /bin/sh
1 # From configure.in Revision: 69 .
1 # From configure.in Revision: 88 .
22 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $.
3 # Generated by GNU Autoconf 2.68 for nfdump 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $.
44 #
55 # Report bugs to <phaag@users.sourceforge.net>.
66 #
7 #
78 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
913 # This configure script is free software; the Free Software Foundation
1014 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
1418
1519 # Be more Bourne compatible
1620 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1822 emulate sh
1923 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2125 # is contrary to our usage. Disable this feature.
2226 alias -g '${1+"$@"}'='"$@"'
2327 setopt NO_GLOB_SUBST
2428 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
2734 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
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
4175
4276 # The user is always right.
4377 if test "${PATH_SEPARATOR+set}" != set; then
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
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 }
6083 fi
6184
6285
6588 # there to prevent editors from complaining about space-tab.
6689 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6790 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
7091 IFS=" "" $as_nl"
7192
7293 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
94 as_myself=
95 case $0 in #((
7496 *[\\/]* ) as_myself=$0 ;;
7597 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7698 for as_dir in $PATH
7799 do
78100 IFS=$as_save_IFS
79101 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
82104 IFS=$as_save_IFS
83105
84106 ;;
89111 as_myself=$0
90112 fi
91113 if test ! -f "$as_myself"; then
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
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 || :
99125 done
100126 PS1='$ '
101127 PS2='> '
102128 PS4='+ '
103129
104130 # NLS nuisances.
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
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
109189 do
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
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
208 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."
112240 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
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."
114246 fi
115 done
116
117 # Required to use basename.
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
118386 if expr a : '\(a\)' >/dev/null 2>&1 &&
119387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120388 as_expr=expr
128396 as_basename=false
129397 fi
130398
131
132 # Name of the executable.
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
133405 as_me=`$as_basename -- "$0" ||
134406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135407 X"$0" : 'X\(//\)$' \| \
136408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
409 $as_echo X/"$0" |
138410 sed '/^.*\/\([^/][^/]*\)\/*$/{
139411 s//\1/
140412 q
149421 }
150422 s/.*/./; q'`
151423
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. :-)
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. :-)
440437 sed -n '
441438 p
442439 /[$]LINENO/=
453450 s/-\n.*//
454451 ' >$as_me.lineno &&
455452 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
458454
459455 # Don't try to exec as it changes $[0], causing all sort of problems
460456 # (the dirname of $[0] is not the place where we might find the
464460 exit
465461 }
466462
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
474463 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
464 case `echo -n x` in #(((((
476465 -n*)
477 case `echo 'x\c'` in
466 case `echo 'xy\c'` in
478467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
468 xy) ECHO_C='\c';;
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
470 ECHO_T=' ';;
480471 esac;;
481472 *)
482473 ECHO_N='-n';;
483474 esac
484475
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
492476 rm -f conf$$ conf$$.exe conf$$.file
493477 if test -d conf$$.dir; then
494478 rm -f conf$$.dir/conf$$.file
495479 else
496480 rm -f conf$$.dir
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 ||
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
507495 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
496 fi
510497 else
511498 as_ln_s='cp -p'
512499 fi
514501 rmdir conf$$.dir 2>/dev/null
515502
516503 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
504 as_mkdir_p='mkdir -p "$as_dir"'
518505 else
519506 test -d ./-p && rmdir ./-p
520507 as_mkdir_p=false
531518 as_test_x='
532519 eval sh -c '\''
533520 if test -d "$1"; then
534 test -d "$1/.";
521 test -d "$1/.";
535522 else
536 case $1 in
537 -*)set "./$1";;
523 case $1 in #(
524 -*)set "./$1";;
538525 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
540527 ???[sx]*):;;*)false;;esac;fi
541528 '\'' sh
542529 '
550537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551538
552539
553
554 exec 7<&0 </dev/null 6>&1
540 test -n "$DJDIR" || exec 7<&0 </dev/null
541 exec 6>&1
555542
556543 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
558545 # so uname gets run too.
559546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560547
569556 subdirs=
570557 MFLAGS=
571558 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
573559
574560 # Identity of this package.
575561 PACKAGE_NAME='nfdump'
576562 PACKAGE_TARNAME='nfdump'
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) $'
563 PACKAGE_VERSION='1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $'
564 PACKAGE_STRING='nfdump 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $'
579565 PACKAGE_BUGREPORT='phaag@users.sourceforge.net'
566 PACKAGE_URL=''
580567
581568 # Factoring default headers for most tests.
582569 ac_includes_default="\
616603
617604 ac_header_list=
618605 ac_func_list=
619 ac_subst_vars='SHELL
606 ac_subst_vars='am__EXEEXT_FALSE
607 am__EXEEXT_TRUE
608 LTLIBOBJS
609 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
620708 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
717 LIBOBJS
718 LTLIBOBJS'
709 SHELL'
719710 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 '
720725 ac_precious_vars='build_alias
721726 host_alias
722727 target_alias
733738 # Initialize some variables set by options.
734739 ac_init_help=
735740 ac_init_version=false
741 ac_unrecognized_opts=
742 ac_unrecognized_sep=
736743 # The variables have the same names as the options, with
737744 # dashes changed to underlines.
738745 cache_file=/dev/null
788795 fi
789796
790797 case $ac_option in
791 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
792 *) ac_optarg=yes ;;
798 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
799 *=) ac_optarg= ;;
800 *) ac_optarg=yes ;;
793801 esac
794802
795803 # Accept the important Cygnus configure options, so we can diagnose typos.
831839 datarootdir=$ac_optarg ;;
832840
833841 -disable-* | --disable-*)
834 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
842 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
835843 # Reject names that are not valid shell variable names.
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 ;;
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 ;;
841856
842857 -docdir | --docdir | --docdi | --doc | --do)
843858 ac_prev=docdir ;;
850865 dvidir=$ac_optarg ;;
851866
852867 -enable-* | --enable-*)
853 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
868 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
854869 # Reject names that are not valid shell variable names.
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 ;;
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 ;;
860882
861883 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
862884 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
10471069 ac_init_version=: ;;
10481070
10491071 -with-* | --with-*)
1050 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1072 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10511073 # Reject names that are not valid shell variable names.
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 ;;
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 ;;
10571086
10581087 -without-* | --without-*)
1059 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1088 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10601089 # Reject names that are not valid shell variable names.
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 ;;
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 ;;
10661102
10671103 --x)
10681104 # Obsolete; use --with-x.
10821118 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
10831119 x_libraries=$ac_optarg ;;
10841120
1085 -*) { echo "$as_me: error: unrecognized option: $ac_option
1086 Try \`$0 --help' for more information." >&2
1087 { (exit 1); exit 1; }; }
1121 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1122 Try \`$0 --help' for more information"
10881123 ;;
10891124
10901125 *=*)
10911126 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
10921127 # Reject names that are not valid shell variable names.
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; }; }
1128 case $ac_envvar in #(
1129 '' | [0-9]* | *[!_$as_cr_alnum]* )
1130 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1131 esac
10961132 eval $ac_envvar=\$ac_optarg
10971133 export $ac_envvar ;;
10981134
10991135 *)
11001136 # FIXME: should be removed in autoconf 3.0.
1101 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1137 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11021138 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1103 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1104 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
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}"
11051141 ;;
11061142
11071143 esac
11091145
11101146 if test -n "$ac_prev"; then
11111147 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
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.
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.
11171160 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
11181161 datadir sysconfdir sharedstatedir localstatedir includedir \
11191162 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
11201163 libdir localedir mandir
11211164 do
11221165 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.
11231173 case $ac_val in
11241174 [\\/$]* | ?:[\\/]* ) continue;;
11251175 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
11261176 esac
1127 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1128 { (exit 1); exit 1; }; }
1177 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
11291178 done
11301179
11311180 # There might be people who depend on the old broken behavior: `$host'
11391188 if test "x$host_alias" != x; then
11401189 if test "x$build_alias" = x; then
11411190 cross_compiling=maybe
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
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
11441193 elif test "x$build_alias" != "x$host_alias"; then
11451194 cross_compiling=yes
11461195 fi
11551204 ac_pwd=`pwd` && test -n "$ac_pwd" &&
11561205 ac_ls_di=`ls -di .` &&
11571206 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1158 { echo "$as_me: error: Working directory cannot be determined" >&2
1159 { (exit 1); exit 1; }; }
1207 as_fn_error $? "working directory cannot be determined"
11601208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1161 { echo "$as_me: error: pwd does not report name of working directory" >&2
1162 { (exit 1); exit 1; }; }
1209 as_fn_error $? "pwd does not report name of working directory"
11631210
11641211
11651212 # Find the source files, if location was not specified.
11661213 if test -z "$srcdir"; then
11671214 ac_srcdir_defaulted=yes
11681215 # Try the directory containing this script, then the parent directory.
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" |
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" |
11751222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11761223 s//\1/
11771224 q
11981245 fi
11991246 if test ! -r "$srcdir/$ac_unique_file"; then
12001247 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1201 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1202 { (exit 1); exit 1; }; }
1248 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
12031249 fi
12041250 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
12051251 ac_abs_confdir=`(
1206 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1207 { (exit 1); exit 1; }; }
1252 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
12081253 pwd)`
12091254 # When building in place, set srcdir=.
12101255 if test "$ac_abs_confdir" = "$ac_pwd"; then
12301275 # Omit some internal or obsolete options to make the list less imposing.
12311276 # This message is too long to be a string in the A/UX 3.1 sh.
12321277 cat <<_ACEOF
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.
1278 \`configure' configures nfdump 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $ to adapt to many kinds of systems.
12341279
12351280 Usage: $0 [OPTION]... [VAR=VALUE]...
12361281
12441289 --help=short display options specific to this package
12451290 --help=recursive display the short help of all the included packages
12461291 -V, --version display version information and exit
1247 -q, --quiet, --silent do not print \`checking...' messages
1292 -q, --quiet, --silent do not print \`checking ...' messages
12481293 --cache-file=FILE cache test results in FILE [disabled]
12491294 -C, --config-cache alias for \`--cache-file=config.cache'
12501295 -n, --no-create do not create output files
12521297
12531298 Installation directories:
12541299 --prefix=PREFIX install architecture-independent files in PREFIX
1255 [$ac_default_prefix]
1300 [$ac_default_prefix]
12561301 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1257 [PREFIX]
1302 [PREFIX]
12581303
12591304 By default, \`make install' will install all the files in
12601305 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
12641309 For better control, use the options below.
12651310
12661311 Fine tuning of the installation directories:
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]
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]
12861331 _ACEOF
12871332
12881333 cat <<\_ACEOF
12961341
12971342 if test -n "$ac_init_help"; then
12981343 case $ac_init_help in
1299 short | recursive ) echo "Configuration of nfdump 1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $:";;
1344 short | recursive ) echo "Configuration of nfdump 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $:";;
13001345 esac
13011346 cat <<\_ACEOF
13021347
13031348 Optional Features:
1349 --disable-option-checking ignore unrecognized --enable/--with options
13041350 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
13051351 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
13061352 --disable-dependency-tracking speeds up one-time build
13261372 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
13271373 nonstandard directory <lib dir>
13281374 LIBS libraries to pass to the linker, e.g. -l<library>
1329 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1375 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
13301376 you have headers in a nonstandard directory <include dir>
1331 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1332 the first program found out of: `bison -y', `byacc', `yacc'.
1377 YACC The `Yet Another Compiler Compiler' implementation to use.
1378 Defaults to the first program found out of: `bison -y', `byacc',
1379 `yacc'.
13331380 YFLAGS The list of arguments that will be passed by default to $YACC.
13341381 This script will default YFLAGS to the empty string to avoid a
13351382 default value of `-d' given by some make applications.
13461393 if test "$ac_init_help" = "recursive"; then
13471394 # If there are subdirs, report their specific --help.
13481395 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1349 test -d "$ac_dir" || continue
1396 test -d "$ac_dir" ||
1397 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1398 continue
13501399 ac_builddir=.
13511400
13521401 case "$ac_dir" in
13531402 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13541403 *)
1355 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1404 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13561405 # A ".." for each directory in $ac_dir_suffix.
1357 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1406 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13581407 case $ac_top_builddir_sub in
13591408 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13601409 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13901439 echo &&
13911440 $SHELL "$ac_srcdir/configure" --help=recursive
13921441 else
1393 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1442 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
13941443 fi || ac_status=$?
13951444 cd "$ac_pwd" || { ac_status=$?; break; }
13961445 done
13991448 test -n "$ac_init_help" && exit $ac_status
14001449 if $ac_init_version; then
14011450 cat <<\_ACEOF
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.
1451 nfdump configure 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $
1452 generated by GNU Autoconf 2.68
1453
1454 Copyright (C) 2010 Free Software Foundation, Inc.
14071455 This configure script is free software; the Free Software Foundation
14081456 gives unlimited permission to copy, distribute and modify it.
14091457 _ACEOF
14101458 exit
14111459 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
14122105 cat >config.log <<_ACEOF
14132106 This file contains any messages produced by compilers while
14142107 running configure, to aid debugging if configure makes a mistake.
14152108
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
2109 It was created by nfdump $as_me 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $, which was
2110 generated by GNU Autoconf 2.68. Invocation command line was
14182111
14192112 $ $0 $@
14202113
14502143 do
14512144 IFS=$as_save_IFS
14522145 test -z "$as_dir" && as_dir=.
1453 echo "PATH: $as_dir"
1454 done
2146 $as_echo "PATH: $as_dir"
2147 done
14552148 IFS=$as_save_IFS
14562149
14572150 } >&5
14852178 | -silent | --silent | --silen | --sile | --sil)
14862179 continue ;;
14872180 *\'*)
1488 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2181 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14892182 esac
14902183 case $ac_pass in
1491 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2184 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
14922185 2)
1493 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2186 as_fn_append ac_configure_args1 " '$ac_arg'"
14942187 if test $ac_must_keep_next = true; then
14952188 ac_must_keep_next=false # Got value, back to normal.
14962189 else
15062199 -* ) ac_must_keep_next=true ;;
15072200 esac
15082201 fi
1509 ac_configure_args="$ac_configure_args '$ac_arg'"
2202 as_fn_append ac_configure_args " '$ac_arg'"
15102203 ;;
15112204 esac
15122205 done
15132206 done
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; }
2207 { ac_configure_args0=; unset ac_configure_args0;}
2208 { ac_configure_args1=; unset ac_configure_args1;}
15162209
15172210 # When interrupted or exit'd, cleanup temporary files, and complete
15182211 # config.log. We remove comments because anyway the quotes in there
15242217 {
15252218 echo
15262219
1527 cat <<\_ASBOX
1528 ## ---------------- ##
2220 $as_echo "## ---------------- ##
15292221 ## Cache variables. ##
1530 ## ---------------- ##
1531 _ASBOX
2222 ## ---------------- ##"
15322223 echo
15332224 # The following way of writing the cache mishandles newlines in values,
15342225 (
15372228 case $ac_val in #(
15382229 *${as_nl}*)
15392230 case $ac_var in #(
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;} ;;
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;} ;;
15422233 esac
15432234 case $ac_var in #(
15442235 _ | IFS | as_nl) ;; #(
1545 *) $as_unset $ac_var ;;
2236 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2237 *) { eval $ac_var=; unset $ac_var;} ;;
15462238 esac ;;
15472239 esac
15482240 done
15612253 )
15622254 echo
15632255
1564 cat <<\_ASBOX
1565 ## ----------------- ##
2256 $as_echo "## ----------------- ##
15662257 ## Output variables. ##
1567 ## ----------------- ##
1568 _ASBOX
2258 ## ----------------- ##"
15692259 echo
15702260 for ac_var in $ac_subst_vars
15712261 do
15722262 eval ac_val=\$$ac_var
15732263 case $ac_val in
1574 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2264 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15752265 esac
1576 echo "$ac_var='\''$ac_val'\''"
2266 $as_echo "$ac_var='\''$ac_val'\''"
15772267 done | sort
15782268 echo
15792269
15802270 if test -n "$ac_subst_files"; then
1581 cat <<\_ASBOX
1582 ## ------------------- ##
2271 $as_echo "## ------------------- ##
15832272 ## File substitutions. ##
1584 ## ------------------- ##
1585 _ASBOX
2273 ## ------------------- ##"
15862274 echo
15872275 for ac_var in $ac_subst_files
15882276 do
15892277 eval ac_val=\$$ac_var
15902278 case $ac_val in
1591 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2279 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15922280 esac
1593 echo "$ac_var='\''$ac_val'\''"
2281 $as_echo "$ac_var='\''$ac_val'\''"
15942282 done | sort
15952283 echo
15962284 fi
15972285
15982286 if test -s confdefs.h; then
1599 cat <<\_ASBOX
1600 ## ----------- ##
2287 $as_echo "## ----------- ##
16012288 ## confdefs.h. ##
1602 ## ----------- ##
1603 _ASBOX
2289 ## ----------- ##"
16042290 echo
16052291 cat confdefs.h
16062292 echo
16072293 fi
16082294 test "$ac_signal" != 0 &&
1609 echo "$as_me: caught signal $ac_signal"
1610 echo "$as_me: exit $exit_status"
2295 $as_echo "$as_me: caught signal $ac_signal"
2296 $as_echo "$as_me: exit $exit_status"
16112297 } >&5
16122298 rm -f core *.core core.conftest.* &&
16132299 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
16142300 exit $exit_status
16152301 ' 0
16162302 for ac_signal in 1 2 13 15; do
1617 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2303 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
16182304 done
16192305 ac_signal=0
16202306
16212307 # confdefs.h avoids OS command line length limits that DEFS can exceed.
16222308 rm -f -r conftest* confdefs.h
16232309
2310 $as_echo "/* confdefs.h */" > confdefs.h
2311
16242312 # Predefined preprocessor variables.
16252313
16262314 cat >>confdefs.h <<_ACEOF
16272315 #define PACKAGE_NAME "$PACKAGE_NAME"
16282316 _ACEOF
16292317
1630
16312318 cat >>confdefs.h <<_ACEOF
16322319 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
16332320 _ACEOF
16342321
1635
16362322 cat >>confdefs.h <<_ACEOF
16372323 #define PACKAGE_VERSION "$PACKAGE_VERSION"
16382324 _ACEOF
16392325
1640
16412326 cat >>confdefs.h <<_ACEOF
16422327 #define PACKAGE_STRING "$PACKAGE_STRING"
16432328 _ACEOF
16442329
1645
16462330 cat >>confdefs.h <<_ACEOF
16472331 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
16482332 _ACEOF
16492333
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE_URL "$PACKAGE_URL"
2336 _ACEOF
2337
16502338
16512339 # Let the site file select an alternate cache file if it wants to.
1652 # Prefer explicitly selected file to automatically selected ones.
2340 # Prefer an explicitly selected file to automatically selected ones.
2341 ac_site_file1=NONE
2342 ac_site_file2=NONE
16532343 if test -n "$CONFIG_SITE"; then
1654 set x "$CONFIG_SITE"
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
16552350 elif test "x$prefix" != xNONE; then
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
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"
16632358 do
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;}
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;}
16672363 sed 's/^/| /' "$ac_site_file" >&5
1668 . "$ac_site_file"
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; }
16692369 fi
16702370 done
16712371
16722372 if test -r "$cache_file"; then
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;}
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;}
16782378 case $cache_file in
16792379 [\\/]* | ?:[\\/]* ) . "$cache_file";;
16802380 *) . "./$cache_file";;
16812381 esac
16822382 fi
16832383 else
1684 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1685 echo "$as_me: creating cache $cache_file" >&6;}
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2385 $as_echo "$as_me: creating cache $cache_file" >&6;}
16862386 >$cache_file
16872387 fi
16882388
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"
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"
16922392 # Check that the precious variables saved in the cache have kept the same
16932393 # value.
16942394 ac_cache_corrupted=false
16992399 eval ac_new_val=\$ac_env_${ac_var}_value
17002400 case $ac_old_set,$ac_new_set in
17012401 set,)
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;}
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;}
17042404 ac_cache_corrupted=: ;;
17052405 ,set)
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;}
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;}
17082408 ac_cache_corrupted=: ;;
17092409 ,);;
17102410 *)
17112411 if test "x$ac_old_val" != "x$ac_new_val"; then
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=:
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;}
17192428 fi;;
17202429 esac
17212430 # Pass precious variables to config.status.
17222431 if test "$ac_new_set" = set; then
17232432 case $ac_new_val in
1724 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2433 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
17252434 *) ac_arg=$ac_var=$ac_new_val ;;
17262435 esac
17272436 case " $ac_configure_args " in
17282437 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1729 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2438 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
17302439 esac
17312440 fi
17322441 done
17332442 if $ac_cache_corrupted; then
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
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 ## -------------------- ##
17642452
17652453 ac_ext=c
17662454 ac_cpp='$CPP $CPPFLAGS'
17722460 #AC_CONFIG_SRCDIR([grammar.y])
17732461 ac_config_headers="$ac_config_headers config.h"
17742462
1775 am__api_version='1.10'
2463 am__api_version='1.11'
17762464
17772465 ac_aux_dir=
17782466 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
17912479 fi
17922480 done
17932481 if test -z "$ac_aux_dir"; then
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; }; }
2482 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
17972483 fi
17982484
17992485 # These three variables are undocumented and unsupported,
18182504 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
18192505 # OS/2's system install, which has a completely different semantic
18202506 # ./install, which can be erroneously created by make from ./install.sh.
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; }
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; }
18232510 if test -z "$INSTALL"; then
1824 if test "${ac_cv_path_install+set}" = set; then
1825 echo $ECHO_N "(cached) $ECHO_C" >&6
2511 if ${ac_cv_path_install+:} false; then :
2512 $as_echo_n "(cached) " >&6
18262513 else
18272514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18282515 for as_dir in $PATH
18292516 do
18302517 IFS=$as_save_IFS
18312518 test -z "$as_dir" && as_dir=.
1832 # Account for people who put trailing slashes in PATH elements.
1833 case $as_dir/ in
1834 ./ | .// | /cC/* | \
2519 # Account for people who put trailing slashes in PATH elements.
2520 case $as_dir/ in #((
2521 ./ | .// | /[cC]/* | \
18352522 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1836 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2523 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
18372524 /usr/ucb/* ) ;;
18382525 *)
18392526 # OSF1 and SCO ODT 3.0 have their own names for install.
18512538 # program-specific install script used by HP pwplus--don't use.
18522539 :
18532540 else
1854 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1855 break 3
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
18562553 fi
18572554 fi
18582555 done
18592556 done
18602557 ;;
18612558 esac
1862 done
2559
2560 done
18632561 IFS=$as_save_IFS
18642562
2563 rm -rf conftest.one conftest.two conftest.dir
18652564
18662565 fi
18672566 if test "${ac_cv_path_install+set}" = set; then
18742573 INSTALL=$ac_install_sh
18752574 fi
18762575 fi
1877 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1878 echo "${ECHO_T}$INSTALL" >&6; }
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2577 $as_echo "$INSTALL" >&6; }
18792578
18802579 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18812580 # It thinks the first close brace ends the variable substitution.
18852584
18862585 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
18872586
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; }
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; }
18902589 # Just in case
18912590 sleep 1
18922591 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
18932605 # Do `set' in a subshell so we don't clobber the current shell's
18942606 # arguments. Must try -L first in case configure is actually a
18952607 # symlink; some systems play weird games with the mod time of symlinks
18962608 # (eg FreeBSD returns the mod time of the symlink's containing
18972609 # directory).
18982610 if (
1899 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2611 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
19002612 if test "$*" = "X"; then
19012613 # -L didn't work.
1902 set X `ls -t $srcdir/configure conftest.file`
2614 set X `ls -t "$srcdir/configure" conftest.file`
19032615 fi
19042616 rm -f conftest.file
19052617 if test "$*" != "X $srcdir/configure conftest.file" \
19092621 # if, for instance, CONFIG_SHELL is bash and it inherits a
19102622 # broken ls alias from the environment. This has actually
19112623 # happened. Such a system could not be considered "sane".
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; }; }
2624 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2625 alias in your environment" "$LINENO" 5
19172626 fi
19182627
19192628 test "$2" = conftest.file
19222631 # Ok.
19232632 :
19242633 else
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; }
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; }
19332639 test "$program_prefix" != NONE &&
19342640 program_transform_name="s&^&$program_prefix&;$program_transform_name"
19352641 # Use a double $ so make ignores it.
19362642 test "$program_suffix" != NONE &&
19372643 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1938 # Double any \ or $. echo might interpret backslashes.
2644 # Double any \ or $.
19392645 # By default was `s,x,x', remove it if useless.
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
2646 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2647 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
19452648
19462649 # expand $ac_aux_dir to an absolute path
19472650 am_aux_dir=`cd $ac_aux_dir && pwd`
19482651
1949 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
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
19502660 # Use eval to expand $SHELL
19512661 if eval "$MISSING --run true"; then
19522662 am_missing_run="$MISSING --run "
19532663 else
19542664 am_missing_run=
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; }
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; }
19612780 if test -z "$MKDIR_P"; then
1962 if test "${ac_cv_path_mkdir+set}" = set; then
1963 echo $ECHO_N "(cached) $ECHO_C" >&6
2781 if ${ac_cv_path_mkdir+:} false; then :
2782 $as_echo_n "(cached) " >&6
19642783 else
19652784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19662785 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
19672786 do
19682787 IFS=$as_save_IFS
19692788 test -z "$as_dir" && as_dir=.
1970 for ac_prog in mkdir gmkdir; do
2789 for ac_prog in mkdir gmkdir; do
19712790 for ac_exec_ext in '' $ac_executable_extensions; do
19722791 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
19732792 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
19792798 esac
19802799 done
19812800 done
1982 done
2801 done
19832802 IFS=$as_save_IFS
19842803
19852804 fi
19862805
2806 test -d ./--version && rmdir ./--version
19872807 if test "${ac_cv_path_mkdir+set}" = set; then
19882808 MKDIR_P="$ac_cv_path_mkdir -p"
19892809 else
19912811 # value for MKDIR_P within a source directory, because that will
19922812 # break other packages using the cache if that directory is
19932813 # removed, or if the value is a relative name.
1994 test -d ./--version && rmdir ./--version
19952814 MKDIR_P="$ac_install_sh -d"
19962815 fi
19972816 fi
1998 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1999 echo "${ECHO_T}$MKDIR_P" >&6; }
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2818 $as_echo "$MKDIR_P" >&6; }
20002819
20012820 mkdir_p="$MKDIR_P"
20022821 case $mkdir_p in
20082827 do
20092828 # Extract the first word of "$ac_prog", so it can be a program name with args.
20102829 set dummy $ac_prog; ac_word=$2
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
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
20152834 else
20162835 if test -n "$AWK"; then
20172836 ac_cv_prog_AWK="$AWK" # Let the user override the test.
20212840 do
20222841 IFS=$as_save_IFS
20232842 test -z "$as_dir" && as_dir=.
2024 for ac_exec_ext in '' $ac_executable_extensions; do
2843 for ac_exec_ext in '' $ac_executable_extensions; do
20252844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20262845 ac_cv_prog_AWK="$ac_prog"
2027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20282847 break 2
20292848 fi
20302849 done
2031 done
2850 done
20322851 IFS=$as_save_IFS
20332852
20342853 fi
20352854 fi
20362855 AWK=$ac_cv_prog_AWK
20372856 if test -n "$AWK"; then
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; }
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; }
20432862 fi
20442863
20452864
20462865 test -n "$AWK" && break
20472866 done
20482867
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
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
20542874 else
20552875 cat >conftest.make <<\_ACEOF
20562876 SHELL = /bin/sh
20572877 all:
20582878 @echo '@@@%%%=$(MAKE)=@@@%%%'
20592879 _ACEOF
2060 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2880 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
20612881 case `${MAKE-make} -f conftest.make 2>/dev/null` in
20622882 *@@@%%%=?*=@@@%%%*)
20632883 eval ac_cv_prog_make_${ac_make}_set=yes;;
20672887 rm -f conftest.make
20682888 fi
20692889 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2070 { echo "$as_me:$LINENO: result: yes" >&5
2071 echo "${ECHO_T}yes" >&6; }
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2891 $as_echo "yes" >&6; }
20722892 SET_MAKE=
20732893 else
2074 { echo "$as_me:$LINENO: result: no" >&5
2075 echo "${ECHO_T}no" >&6; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
20762896 SET_MAKE="MAKE=${MAKE-make}"
20772897 fi
20782898
20912911 am__isrc=' -I$(srcdir)'
20922912 # test to see if srcdir already configured
20932913 if test -f $srcdir/config.status; then
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; }; }
2914 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
20972915 fi
20982916 fi
20992917
21092927
21102928 # Define the identity of the package.
21112929 PACKAGE='nfdump'
2112 VERSION='1.6.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $'
2930 VERSION='1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $'
21132931
21142932
21152933 cat >>confdefs.h <<_ACEOF
21362954
21372955
21382956 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"
22452957
22462958 # We need awk for the "check" target. The system "awk" is bad on
22472959 # some platforms.
22652977 if test -n "$ac_tool_prefix"; then
22662978 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
22672979 set dummy ${ac_tool_prefix}gcc; ac_word=$2
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
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
22722984 else
22732985 if test -n "$CC"; then
22742986 ac_cv_prog_CC="$CC" # Let the user override the test.
22782990 do
22792991 IFS=$as_save_IFS
22802992 test -z "$as_dir" && as_dir=.
2281 for ac_exec_ext in '' $ac_executable_extensions; do
2993 for ac_exec_ext in '' $ac_executable_extensions; do
22822994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22832995 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22852997 break 2
22862998 fi
22872999 done
2288 done
3000 done
22893001 IFS=$as_save_IFS
22903002
22913003 fi
22923004 fi
22933005 CC=$ac_cv_prog_CC
22943006 if test -n "$CC"; then
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; }
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; }
23003012 fi
23013013
23023014
23053017 ac_ct_CC=$CC
23063018 # Extract the first word of "gcc", so it can be a program name with args.
23073019 set dummy gcc; ac_word=$2
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
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
23123024 else
23133025 if test -n "$ac_ct_CC"; then
23143026 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
23183030 do
23193031 IFS=$as_save_IFS
23203032 test -z "$as_dir" && as_dir=.
2321 for ac_exec_ext in '' $ac_executable_extensions; do
3033 for ac_exec_ext in '' $ac_executable_extensions; do
23223034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23233035 ac_cv_prog_ac_ct_CC="gcc"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23253037 break 2
23263038 fi
23273039 done
2328 done
3040 done
23293041 IFS=$as_save_IFS
23303042
23313043 fi
23323044 fi
23333045 ac_ct_CC=$ac_cv_prog_ac_ct_CC
23343046 if test -n "$ac_ct_CC"; then
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; }
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; }
23403052 fi
23413053
23423054 if test "x$ac_ct_CC" = x; then
23443056 else
23453057 case $cross_compiling:$ac_tool_warned in
23463058 yes:)
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;}
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;}
23533061 ac_tool_warned=yes ;;
23543062 esac
23553063 CC=$ac_ct_CC
23623070 if test -n "$ac_tool_prefix"; then
23633071 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
23643072 set dummy ${ac_tool_prefix}cc; ac_word=$2
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
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
23693077 else
23703078 if test -n "$CC"; then
23713079 ac_cv_prog_CC="$CC" # Let the user override the test.
23753083 do
23763084 IFS=$as_save_IFS
23773085 test -z "$as_dir" && as_dir=.
2378 for ac_exec_ext in '' $ac_executable_extensions; do
3086 for ac_exec_ext in '' $ac_executable_extensions; do
23793087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23803088 ac_cv_prog_CC="${ac_tool_prefix}cc"
2381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23823090 break 2
23833091 fi
23843092 done
2385 done
3093 done
23863094 IFS=$as_save_IFS
23873095
23883096 fi
23893097 fi
23903098 CC=$ac_cv_prog_CC
23913099 if test -n "$CC"; then
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; }
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; }
23973105 fi
23983106
23993107
24023110 if test -z "$CC"; then
24033111 # Extract the first word of "cc", so it can be a program name with args.
24043112 set dummy cc; ac_word=$2
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
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
24093117 else
24103118 if test -n "$CC"; then
24113119 ac_cv_prog_CC="$CC" # Let the user override the test.
24163124 do
24173125 IFS=$as_save_IFS
24183126 test -z "$as_dir" && as_dir=.
2419 for ac_exec_ext in '' $ac_executable_extensions; do
3127 for ac_exec_ext in '' $ac_executable_extensions; do
24203128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24213129 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
24223130 ac_prog_rejected=yes
24233131 continue
24243132 fi
24253133 ac_cv_prog_CC="cc"
2426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24273135 break 2
24283136 fi
24293137 done
2430 done
3138 done
24313139 IFS=$as_save_IFS
24323140
24333141 if test $ac_prog_rejected = yes; then
24463154 fi
24473155 CC=$ac_cv_prog_CC
24483156 if test -n "$CC"; then
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; }
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; }
24543162 fi
24553163
24563164
24613169 do
24623170 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
24633171 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
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
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
24683176 else
24693177 if test -n "$CC"; then
24703178 ac_cv_prog_CC="$CC" # Let the user override the test.
24743182 do
24753183 IFS=$as_save_IFS
24763184 test -z "$as_dir" && as_dir=.
2477 for ac_exec_ext in '' $ac_executable_extensions; do
3185 for ac_exec_ext in '' $ac_executable_extensions; do
24783186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24793187 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24813189 break 2
24823190 fi
24833191 done
2484 done
3192 done
24853193 IFS=$as_save_IFS
24863194
24873195 fi
24883196 fi
24893197 CC=$ac_cv_prog_CC
24903198 if test -n "$CC"; then
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; }
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; }
24963204 fi
24973205
24983206
25053213 do
25063214 # Extract the first word of "$ac_prog", so it can be a program name with args.
25073215 set dummy $ac_prog; ac_word=$2
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
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
25123220 else
25133221 if test -n "$ac_ct_CC"; then
25143222 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
25183226 do
25193227 IFS=$as_save_IFS
25203228 test -z "$as_dir" && as_dir=.
2521 for ac_exec_ext in '' $ac_executable_extensions; do
3229 for ac_exec_ext in '' $ac_executable_extensions; do
25223230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25233231 ac_cv_prog_ac_ct_CC="$ac_prog"
2524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25253233 break 2
25263234 fi
25273235 done
2528 done
3236 done
25293237 IFS=$as_save_IFS
25303238
25313239 fi
25323240 fi
25333241 ac_ct_CC=$ac_cv_prog_ac_ct_CC
25343242 if test -n "$ac_ct_CC"; then
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; }
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; }
25403248 fi
25413249
25423250
25483256 else
25493257 case $cross_compiling:$ac_tool_warned in
25503258 yes:)
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;}
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;}
25573261 ac_tool_warned=yes ;;
25583262 esac
25593263 CC=$ac_ct_CC
25633267 fi
25643268
25653269
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; }; }
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; }
25713274
25723275 # Provide some information about the compiler.
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"
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"
25763281 case "(($ac_try" in
25773282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25783283 *) ac_try_echo=$ac_try;;
25793284 esac
2580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2581 (eval "$ac_compiler --version >&5") 2>&5
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
25823288 ac_status=$?
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }
2585 { (ac_try="$ac_compiler -v >&5"
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
3301 /* end confdefs.h. */
3302
3303 int
3304 main ()
3305 {
3306
3307 ;
3308 return 0;
3309 }
3310 _ACEOF
3311 ac_clean_files_save=$ac_clean_files
3312 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3313 # Try to create an executable without -o first, disregard a.out.
3314 # It will help us diagnose broken compilers, and finding out an intuition
3315 # 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
3323 ac_rmfiles=
3324 for ac_file in $ac_files
3325 do
3326 case $ac_file in
3327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3328 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3329 esac
3330 done
3331 rm -f $ac_rmfiles
3332
3333 if { { ac_try="$ac_link_default"
25863334 case "(($ac_try" in
25873335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25883336 *) ac_try_echo=$ac_try;;
25893337 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
2611 /* end confdefs.h. */
2612
2613 int
2614 main ()
2615 {
2616
2617 ;
2618 return 0;
2619 }
2620 _ACEOF
2621 ac_clean_files_save=$ac_clean_files
2622 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2623 # Try to create an executable without -o first, disregard a.out.
2624 # It will help us diagnose broken compilers, and finding out an intuition
2625 # of exeext.
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.
2638 ac_rmfiles=
2639 for ac_file in $ac_files
2640 do
2641 case $ac_file in
2642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2643 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2644 esac
2645 done
2646 rm -f $ac_rmfiles
2647
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
3338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339 $as_echo "$ac_try_echo"; } >&5
26543340 (eval "$ac_link_default") 2>&5
26553341 ac_status=$?
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }; then
3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343 test $ac_status = 0; }; then :
26583344 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
26593345 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
26603346 # in a Makefile. We should not override ac_cv_exeext if it was cached,
26643350 do
26653351 test -f "$ac_file" || continue
26663352 case $ac_file in
2667 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
26683354 ;;
26693355 [ab].out )
26703356 # We found the default executable, but exeext='' is most
26713357 # certainly right.
26723358 break;;
26733359 *.* )
2674 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3360 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
26753361 then :; else
26763362 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
26773363 fi
26903376 else
26913377 ac_file=''
26923378 fi
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
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
26983383 sed 's/^/| /' conftest.$ac_ext >&5
26993384
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
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; }
27073397 ac_exeext=$ac_cv_exeext
27083398
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
3399 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
27453400 ac_clean_files=$ac_clean_files_save
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"
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"
27563404 case "(($ac_try" in
27573405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27583406 *) ac_try_echo=$ac_try;;
27593407 esac
2760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3409 $as_echo "$ac_try_echo"; } >&5
27613410 (eval "$ac_link") 2>&5
27623411 ac_status=$?
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }; then
3412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3413 test $ac_status = 0; }; then :
27653414 # If both `conftest.exe' and `conftest' are `present' (well, observable)
27663415 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
27673416 # work properly (i.e., refer to `conftest.exe'), while it won't with
27693418 for ac_file in conftest.exe conftest conftest.*; do
27703419 test -f "$ac_file" || continue
27713420 case $ac_file in
2772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
27733422 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
27743423 break;;
27753424 * ) break;;
27763425 esac
27773426 done
27783427 else
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; }
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; }
27893436
27903437 rm -f conftest.$ac_ext
27913438 EXEEXT=$ac_cv_exeext
27923439 ac_exeext=$EXEEXT
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
3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28033441 /* end confdefs.h. */
2804
3442 #include <stdio.h>
28053443 int
28063444 main ()
28073445 {
3446 FILE *f = fopen ("conftest.out", "w");
3447 return ferror (f) || fclose (f) != 0;
28083448
28093449 ;
28103450 return 0;
28113451 }
28123452 _ACEOF
2813 rm -f conftest.o conftest.obj
2814 if { (ac_try="$ac_compile"
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"
28153460 case "(($ac_try" in
28163461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28173462 *) ac_try_echo=$ac_try;;
28183463 esac
2819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
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
3515 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
28203523 (eval "$ac_compile") 2>&5
28213524 ac_status=$?
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; then
3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526 test $ac_status = 0; }; then :
28243527 for ac_file in conftest.o conftest.obj conftest.*; do
28253528 test -f "$ac_file" || continue;
28263529 case $ac_file in
2827 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
28283531 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
28293532 break;;
28303533 esac
28313534 done
28323535 else
2833 echo "$as_me: failed program was:" >&5
3536 $as_echo "$as_me: failed program was:" >&5
28343537 sed 's/^/| /' conftest.$ac_ext >&5
28353538
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
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
28433544 rm -f conftest.$ac_cv_objext conftest.$ac_ext
28443545 fi
2845 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2846 echo "${ECHO_T}$ac_cv_objext" >&6; }
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3547 $as_echo "$ac_cv_objext" >&6; }
28473548 OBJEXT=$ac_cv_objext
28483549 ac_objext=$OBJEXT
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
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
28593556 /* end confdefs.h. */
28603557
28613558 int
28693566 return 0;
28703567 }
28713568 _ACEOF
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
3569 if ac_fn_c_try_compile "$LINENO"; then :
28893570 ac_compiler_gnu=yes
28903571 else
2891 echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2893
2894 ac_compiler_gnu=no
2895 fi
2896
3572 ac_compiler_gnu=no
3573 fi
28973574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28983575 ac_cv_c_compiler_gnu=$ac_compiler_gnu
28993576
29003577 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`
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
29043585 ac_test_CFLAGS=${CFLAGS+set}
29053586 ac_save_CFLAGS=$CFLAGS
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
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
29103591 else
29113592 ac_save_c_werror_flag=$ac_c_werror_flag
29123593 ac_c_werror_flag=yes
29133594 ac_cv_prog_cc_g=no
29143595 CFLAGS="-g"
2915 cat >conftest.$ac_ext <<_ACEOF
2916 /* confdefs.h. */
2917 _ACEOF
2918 cat confdefs.h >>conftest.$ac_ext
2919 cat >>conftest.$ac_ext <<_ACEOF
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29203597 /* end confdefs.h. */
29213598
29223599 int
29273604 return 0;
29283605 }
29293606 _ACEOF
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
3607 if ac_fn_c_try_compile "$LINENO"; then :
29473608 ac_cv_prog_cc_g=yes
29483609 else
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
3610 CFLAGS=""
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29583612 /* end confdefs.h. */
29593613
29603614 int
29653619 return 0;
29663620 }
29673621 _ACEOF
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
3622 if ac_fn_c_try_compile "$LINENO"; then :
3623
3624 else
3625 ac_c_werror_flag=$ac_save_c_werror_flag
29913626 CFLAGS="-g"
2992 cat >conftest.$ac_ext <<_ACEOF
2993 /* confdefs.h. */
2994 _ACEOF
2995 cat confdefs.h >>conftest.$ac_ext
2996 cat >>conftest.$ac_ext <<_ACEOF
3627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29973628 /* end confdefs.h. */
29983629
29993630 int
30043635 return 0;
30053636 }
30063637 _ACEOF
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
3638 if ac_fn_c_try_compile "$LINENO"; then :
30243639 ac_cv_prog_cc_g=yes
3025 else
3026 echo "$as_me: failed program was:" >&5
3027 sed 's/^/| /' conftest.$ac_ext >&5
3028
3029
3030 fi
3031
3640 fi
30323641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30333642 fi
3034
30353643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30363644 fi
3037
30383645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30393646 ac_c_werror_flag=$ac_save_c_werror_flag
30403647 fi
3041 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3042 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3649 $as_echo "$ac_cv_prog_cc_g" >&6; }
30433650 if test "$ac_test_CFLAGS" = set; then
30443651 CFLAGS=$ac_save_CFLAGS
30453652 elif test $ac_cv_prog_cc_g = yes; then
30553662 CFLAGS=
30563663 fi
30573664 fi
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
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
30623669 else
30633670 ac_cv_prog_cc_c89=no
30643671 ac_save_CC=$CC
3065 cat >conftest.$ac_ext <<_ACEOF
3066 /* confdefs.h. */
3067 _ACEOF
3068 cat confdefs.h >>conftest.$ac_ext
3069 cat >>conftest.$ac_ext <<_ACEOF
3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30703673 /* end confdefs.h. */
30713674 #include <stdarg.h>
30723675 #include <stdio.h>
31233726 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
31243727 do
31253728 CC="$ac_save_CC $ac_arg"
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
3729 if ac_fn_c_try_compile "$LINENO"; then :
31433730 ac_cv_prog_cc_c89=$ac_arg
3144 else
3145 echo "$as_me: failed program was:" >&5
3146 sed 's/^/| /' conftest.$ac_ext >&5
3147
3148
3149 fi
3150
3731 fi
31513732 rm -f core conftest.err conftest.$ac_objext
31523733 test "x$ac_cv_prog_cc_c89" != "xno" && break
31533734 done
31583739 # AC_CACHE_VAL
31593740 case "x$ac_cv_prog_cc_c89" in
31603741 x)
3161 { echo "$as_me:$LINENO: result: none needed" >&5
3162 echo "${ECHO_T}none needed" >&6; } ;;
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3743 $as_echo "none needed" >&6; } ;;
31633744 xno)
3164 { echo "$as_me:$LINENO: result: unsupported" >&5
3165 echo "${ECHO_T}unsupported" >&6; } ;;
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3746 $as_echo "unsupported" >&6; } ;;
31663747 *)
31673748 CC="$CC $ac_cv_prog_cc_c89"
3168 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3169 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3750 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
31703751 esac
3171
3752 if test "x$ac_cv_prog_cc_c89" != xno; then :
3753
3754 fi
31723755
31733756 ac_ext=c
31743757 ac_cpp='$CPP $CPPFLAGS'
31833766 am_make=${MAKE-make}
31843767 cat > confinc << 'END'
31853768 am__doit:
3186 @echo done
3769 @echo this is the am__doit target
31873770 .PHONY: am__doit
31883771 END
31893772 # If we don't find an include directive, just comment out the code.
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; }
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; }
31923775 am__include="#"
31933776 am__quote=
31943777 _am_result=none
31953778 # First try GNU make style include.
31963779 echo "include confinc" > confmf
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
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
32073788 # Now try BSD make style include.
32083789 if test "$am__include" = "#"; then
32093790 echo '.include "confinc"' > confmf
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; }
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; }
32203803 rm -f confinc confmf
32213804
32223805 # Check whether --enable-dependency-tracking was given.
3223 if test "${enable_dependency_tracking+set}" = set; then
3806 if test "${enable_dependency_tracking+set}" = set; then :
32243807 enableval=$enable_dependency_tracking;
32253808 fi
32263809
32403823
32413824 depcc="$CC" am_compiler_list=
32423825
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
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
32473830 else
32483831 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
32493832 # We make a subdir and do the tests there. Otherwise we can end up
32683851 if test "$am_compiler_list" = ""; then
32693852 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
32703853 fi
3854 am__universal=false
3855 case " $depcc " in #(
3856 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3857 esac
3858
32713859 for depmode in $am_compiler_list; do
32723860 # Setup a source with many dependencies, because some compilers
32733861 # like to wrap large dependency lists on column 80 (with \), and
32853873 done
32863874 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
32873875
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"
32883882 case $depmode in
3883 gcc)
3884 # This depmode causes a compiler race in universal mode.
3885 test "$am__universal" = false || continue
3886 ;;
32893887 nosideeffect)
32903888 # after this tag, mechanisms are not by side-effect, so they'll
32913889 # only be used when explicitly requested
32953893 break
32963894 fi
32973895 ;;
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 ;;
32983903 none) break ;;
32993904 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.
33033905 if depmode=$depmode \
3304 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3906 source=sub/conftest.c object=$am__obj \
33053907 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3306 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3908 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
33073909 >/dev/null 2>conftest.err &&
33083910 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
33093911 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3310 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3912 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
33113913 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
33123914 # icc doesn't choke on unknown options, it will just issue warnings
33133915 # or remarks (even with -Werror). So we grep stderr for any message
33313933 fi
33323934
33333935 fi
3334 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3335 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
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; }
33363938 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
33373939
33383940 if
33473949
33483950
33493951 if test "x$CC" != xcc; then
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 |
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" |
33573959 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
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
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
33663964 /* end confdefs.h. */
33673965
33683966 int
33783976 # existing .o file with -o, though they will create one.
33793977 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
33803978 rm -f conftest2.*
3381 if { (case "(($ac_try" in
3979 if { { case "(($ac_try" in
33823980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33833981 *) ac_try_echo=$ac_try;;
33843982 esac
3385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
33863985 (eval "$ac_try") 2>&5
33873986 ac_status=$?
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 test -f conftest2.$ac_objext && { (case "(($ac_try" in
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
33913990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33923991 *) ac_try_echo=$ac_try;;
33933992 esac
3394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3994 $as_echo "$ac_try_echo"; } >&5
33953995 (eval "$ac_try") 2>&5
33963996 ac_status=$?
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); };
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; };
33993999 then
34004000 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
34014001 if test "x$CC" != xcc; then
34024002 # Test first that cc exists at all.
34034003 if { ac_try='cc -c conftest.$ac_ext >&5'
3404 { (case "(($ac_try" in
4004 { { case "(($ac_try" in
34054005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34064006 *) ac_try_echo=$ac_try;;
34074007 esac
3408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4009 $as_echo "$ac_try_echo"; } >&5
34094010 (eval "$ac_try") 2>&5
34104011 ac_status=$?
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; }; then
4012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4013 test $ac_status = 0; }; }; then
34134014 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
34144015 rm -f conftest2.*
3415 if { (case "(($ac_try" in
4016 if { { case "(($ac_try" in
34164017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34174018 *) ac_try_echo=$ac_try;;
34184019 esac
3419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021 $as_echo "$ac_try_echo"; } >&5
34204022 (eval "$ac_try") 2>&5
34214023 ac_status=$?
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } &&
3424 test -f conftest2.$ac_objext && { (case "(($ac_try" in
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
34254027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34264028 *) ac_try_echo=$ac_try;;
34274029 esac
3428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
34294032 (eval "$ac_try") 2>&5
34304033 ac_status=$?
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); };
4034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035 test $ac_status = 0; };
34334036 then
34344037 # cc works too.
34354038 :
34424045 else
34434046 eval ac_cv_prog_cc_${ac_cc}_c_o=no
34444047 fi
3445 rm -f -r core conftest*
4048 rm -f core conftest*
34464049
34474050 fi
34484051 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
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
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
34584059
34594060 fi
34604061
34614062 # FIXME: we rely on the cache variable name because
34624063 # there is no other way.
34634064 set dummy $CC
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
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
34664068 # Losing compiler, so override with the script.
34674069 # FIXME: It is wrong to rewrite CC.
34684070 # But if we don't then we get into trouble of one sort or another.
34734075
34744076
34754077
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
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
34844082 /* end confdefs.h. */
34854083
34864084 int
34944092 return 0;
34954093 }
34964094 _ACEOF
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
4095 if ac_fn_c_try_compile "$LINENO"; then :
35144096 __sunpro_c=yes
35154097 else
3516 echo "$as_me: failed program was:" >&5
3517 sed 's/^/| /' conftest.$ac_ext >&5
3518
3519 __sunpro_c=no
3520 fi
3521
4098 __sunpro_c=no
4099 fi
35224100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 { echo "$as_me:$LINENO: result: $__sunpro_c" >&5
3524 echo "${ECHO_T}$__sunpro_c" >&6; }
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $__sunpro_c" >&5
4102 $as_echo "$__sunpro_c" >&6; }
35254103
35264104 CFLAGS="${CFLAGS=}"
35274105 if test $ac_cv_c_compiler_gnu = yes -a "x$CFLAGS" = "x-g -O2"; then
35364114 fi
35374115
35384116 # Check whether --enable-devel was given.
3539 if test "${enable_devel+set}" = set; then
4117 if test "${enable_devel+set}" = set; then :
35404118 enableval=$enable_devel;
35414119 fi
35424120
35544132 fi
35554133
35564134 # Check whether --enable-compat15 was given.
3557 if test "${enable_compat15+set}" = set; then
4135 if test "${enable_compat15+set}" = set; then :
35584136 enableval=$enable_compat15;
35594137 fi
35604138
35654143 CFLAGS="$CFLAGS -DCOMPAT15"
35664144 fi
35674145
3568 +# Check whether --enable-fixtimebug was given.
3569 if test "${enable_fixtimebug+set}" = set; then
4146 # Check whether --enable-fixtimebug was given.
4147 if test "${enable_fixtimebug+set}" = set; then :
35704148 enableval=$enable_fixtimebug;
35714149 fi
35724150
35794157 do
35804158 # Extract the first word of "$ac_prog", so it can be a program name with args.
35814159 set dummy $ac_prog; ac_word=$2
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
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
35864164 else
35874165 if test -n "$YACC"; then
35884166 ac_cv_prog_YACC="$YACC" # Let the user override the test.
35924170 do
35934171 IFS=$as_save_IFS
35944172 test -z "$as_dir" && as_dir=.
3595 for ac_exec_ext in '' $ac_executable_extensions; do
4173 for ac_exec_ext in '' $ac_executable_extensions; do
35964174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35974175 ac_cv_prog_YACC="$ac_prog"
3598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
35994177 break 2
36004178 fi
36014179 done
3602 done
4180 done
36034181 IFS=$as_save_IFS
36044182
36054183 fi
36064184 fi
36074185 YACC=$ac_cv_prog_YACC
36084186 if test -n "$YACC"; then
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; }
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; }
36144192 fi
36154193
36164194
36224200 do
36234201 # Extract the first word of "$ac_prog", so it can be a program name with args.
36244202 set dummy $ac_prog; ac_word=$2
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
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
36294207 else
36304208 if test -n "$LEX"; then
36314209 ac_cv_prog_LEX="$LEX" # Let the user override the test.
36354213 do
36364214 IFS=$as_save_IFS
36374215 test -z "$as_dir" && as_dir=.
3638 for ac_exec_ext in '' $ac_executable_extensions; do
4216 for ac_exec_ext in '' $ac_executable_extensions; do
36394217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36404218 ac_cv_prog_LEX="$ac_prog"
3641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36424220 break 2
36434221 fi
36444222 done
3645 done
4223 done
36464224 IFS=$as_save_IFS
36474225
36484226 fi
36494227 fi
36504228 LEX=$ac_cv_prog_LEX
36514229 if test -n "$LEX"; then
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; }
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; }
36574235 fi
36584236
36594237
36814259 return ! yylex () + ! yywrap ();
36824260 }
36834261 _ACEOF
3684 { (ac_try="$LEX conftest.l"
4262 { { ac_try="$LEX conftest.l"
36854263 case "(($ac_try" in
36864264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36874265 *) ac_try_echo=$ac_try;;
36884266 esac
3689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4268 $as_echo "$ac_try_echo"; } >&5
36904269 (eval "$LEX conftest.l") 2>&5
36914270 ac_status=$?
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
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
36984277 else
36994278
37004279 if test -f lex.yy.c; then
37024281 elif test -f lexyy.c; then
37034282 ac_cv_prog_lex_root=lexyy
37044283 else
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; }
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; }
37124289 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
37134290
37144291 if test -z "${LEXLIB+set}"; then
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
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
37194296 else
37204297
37214298 ac_save_LIBS=$LIBS
37224299 ac_cv_lib_lex='none needed'
37234300 for ac_lib in '' -lfl -ll; do
37244301 LIBS="$ac_lib $ac_save_LIBS"
3725 cat >conftest.$ac_ext <<_ACEOF
4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h. */
37264304 `cat $LEX_OUTPUT_ROOT.c`
37274305 _ACEOF
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
4306 if ac_fn_c_try_link "$LINENO"; then :
37464307 ac_cv_lib_lex=$ac_lib
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
4308 fi
4309 rm -f core conftest.err conftest.$ac_objext \
4310 conftest$ac_exeext conftest.$ac_ext
37564311 test "$ac_cv_lib_lex" != 'none needed' && break
37574312 done
37584313 LIBS=$ac_save_LIBS
37594314
37604315 fi
3761 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
3762 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4317 $as_echo "$ac_cv_lib_lex" >&6; }
37634318 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
37644319 fi
37654320
37664321
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
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
37714326 else
37724327 # POSIX says lex can declare yytext either as a pointer or an array; the
37734328 # default is implementation-dependent. Figure out which it is, since
37754330 ac_cv_prog_lex_yytext_pointer=no
37764331 ac_save_LIBS=$LIBS
37774332 LIBS="$LEXLIB $ac_save_LIBS"
3778 cat >conftest.$ac_ext <<_ACEOF
3779 #define YYTEXT_POINTER 1
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4335
4336 #define YYTEXT_POINTER 1
37804337 `cat $LEX_OUTPUT_ROOT.c`
37814338 _ACEOF
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
4339 if ac_fn_c_try_link "$LINENO"; then :
38004340 ac_cv_prog_lex_yytext_pointer=yes
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
4341 fi
4342 rm -f core conftest.err conftest.$ac_objext \
4343 conftest$ac_exeext conftest.$ac_ext
38104344 LIBS=$ac_save_LIBS
38114345
38124346 fi
3813 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3814 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
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; }
38154349 if test $ac_cv_prog_lex_yytext_pointer = yes; then
38164350
3817 cat >>confdefs.h <<\_ACEOF
3818 #define YYTEXT_POINTER 1
3819 _ACEOF
4351 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
38204352
38214353 fi
38224354 rm -f conftest.l $LEX_OUTPUT_ROOT.c
38244356 fi
38254357 which $LEX > /dev/null 2>&1
38264358 if test $? = 1; then
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'
4359 as_fn_error $? "No lex or flex found on system" "$LINENO" 5
4360 fi
39104361
39114362
39124363 if test "x$ac_cv_prog_LEX" = "xflex"; then
39174368 # FIXME? This should use flow-tools-dev if possible, not local sources..
39184369
39194370 # Check whether --with-ftpath was given.
3920 if test "${with_ftpath+set}" = set; then
4371 if test "${with_ftpath+set}" = set; then :
39214372 withval=$with_ftpath; if test "x$with_ftpath" = "xyes" ; then
39224373 WHERE_FTPATH="/usr/local/flow-tools/"
39234374 else
39324383
39334384
39344385 # Check whether --with-rrdpath was given.
3935 if test "${with_rrdpath+set}" = set; then
4386 if test "${with_rrdpath+set}" = set; then :
39364387 withval=$with_rrdpath; if test "x$with_rrdpath" = "xyes" ; then
39374388 CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
39384389 LDFLAGS="${LDFLAGS} -L/usr/local/lib"
39464397
39474398 #Tidz up? esp not using in source dist flow-tools
39484399 # 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
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
39554405 else
39564406 ac_check_lib_save_LIBS=$LIBS
39574407 LIBS="-lz $LIBS"
3958 cat >conftest.$ac_ext <<_ACEOF
3959 /* confdefs.h. */
3960 _ACEOF
3961 cat confdefs.h >>conftest.$ac_ext
3962 cat >>conftest.$ac_ext <<_ACEOF
4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39634409 /* end confdefs.h. */
39644410
39654411 /* Override any GCC internal prototype to avoid an error.
39774423 return 0;
39784424 }
39794425 _ACEOF
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
4426 if ac_fn_c_try_link "$LINENO"; then :
39984427 ac_cv_lib_z_zlibVersion=yes
39994428 else
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
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
40084433 LIBS=$ac_check_lib_save_LIBS
40094434 fi
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
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 :
40134438 cat >>confdefs.h <<_ACEOF
40144439 #define HAVE_LIBZ 1
40154440 _ACEOF
40174442 LIBS="-lz $LIBS"
40184443
40194444 else
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; }; }
4445 as_fn_error $? "Link with \"-lz\" failed! (Need zlib >= 1.0.2)" "$LINENO" 5
40234446
40244447 fi
40254448
40264449 if test -d "$WHERE_FTPATH"; then
40274450 if test ! -f "$WHERE_FTPATH/include/ftlib.h"; then
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; }; }
4451 as_fn_error $? "ftlib.h file not found in flow-tools directory '$WHERE_FTPATH'. Use --with-ftpath=PATH" "$LINENO" 5
40314452 fi
40324453 if test ! -f "$WHERE_FTPATH/lib/libft.a"; then
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; }; }
4454 as_fn_error $? "libft.a not found in flow-tools directory '$WHERE_FTPATH'. Build flow tools first" "$LINENO" 5
40364455 fi
40374456 FT_INCLUDES="-I$WHERE_FTPATH/include -I$WHERE_FTPATH/lib"
40384457 FT_LDFLAGS="-L$WHERE_FTPATH/lib"
40394458 else
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; }; }
4459 as_fn_error $? "flow-tools directory '$WHERE_FTPATH' does not exists. Use --with-ftpath=PATH" "$LINENO" 5
40434460 fi
40444461 if true; then
40454462 FT2NFDUMP_TRUE=
40694486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40704487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40714488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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; }
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; }
40744491 # On Suns, sometimes $CPP names a directory.
40754492 if test -n "$CPP" && test -d "$CPP"; then
40764493 CPP=
40774494 fi
40784495 if test -z "$CPP"; then
4079 if test "${ac_cv_prog_CPP+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4496 if ${ac_cv_prog_CPP+:} false; then :
4497 $as_echo_n "(cached) " >&6
40814498 else
40824499 # Double quotes because CPP needs to be expanded
40834500 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
40914508 # <limits.h> exists even on freestanding compilers.
40924509 # On the NeXT, cc -E runs the code through the compiler's parser,
40934510 # not just through cpp. "Syntax error" is here to catch this case.
4094 cat >conftest.$ac_ext <<_ACEOF
4095 /* confdefs.h. */
4096 _ACEOF
4097 cat confdefs.h >>conftest.$ac_ext
4098 cat >>conftest.$ac_ext <<_ACEOF
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40994512 /* end confdefs.h. */
41004513 #ifdef __STDC__
41014514 # include <limits.h>
41044517 #endif
41054518 Syntax error
41064519 _ACEOF
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
4520 if ac_fn_c_try_cpp "$LINENO"; then :
4521
4522 else
41284523 # Broken: fails on valid input.
41294524 continue
41304525 fi
4131
4132 rm -f conftest.err conftest.$ac_ext
4526 rm -f conftest.err conftest.i conftest.$ac_ext
41334527
41344528 # OK, works on sane cases. Now check whether nonexistent headers
41354529 # can be detected and how.
4136 cat >conftest.$ac_ext <<_ACEOF
4137 /* confdefs.h. */
4138 _ACEOF
4139 cat confdefs.h >>conftest.$ac_ext
4140 cat >>conftest.$ac_ext <<_ACEOF
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41414531 /* end confdefs.h. */
41424532 #include <ac_nonexistent.h>
41434533 _ACEOF
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
4534 if ac_fn_c_try_cpp "$LINENO"; then :
41604535 # Broken: success on invalid input.
41614536 continue
41624537 else
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.$ac_ext >&5
4165
41664538 # Passes both tests.
41674539 ac_preproc_ok=:
41684540 break
41694541 fi
4170
4171 rm -f conftest.err conftest.$ac_ext
4542 rm -f conftest.err conftest.i conftest.$ac_ext
41724543
41734544 done
41744545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4175 rm -f conftest.err conftest.$ac_ext
4176 if $ac_preproc_ok; then
4546 rm -f conftest.i conftest.err conftest.$ac_ext
4547 if $ac_preproc_ok; then :
41774548 break
41784549 fi
41794550
41854556 else
41864557 ac_cv_prog_CPP=$CPP
41874558 fi
4188 { echo "$as_me:$LINENO: result: $CPP" >&5
4189 echo "${ECHO_T}$CPP" >&6; }
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4560 $as_echo "$CPP" >&6; }
41904561 ac_preproc_ok=false
41914562 for ac_c_preproc_warn_flag in '' yes
41924563 do
41964567 # <limits.h> exists even on freestanding compilers.
41974568 # On the NeXT, cc -E runs the code through the compiler's parser,
41984569 # not just through cpp. "Syntax error" is here to catch this case.
4199 cat >conftest.$ac_ext <<_ACEOF
4200 /* confdefs.h. */
4201 _ACEOF
4202 cat confdefs.h >>conftest.$ac_ext
4203 cat >>conftest.$ac_ext <<_ACEOF
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42044571 /* end confdefs.h. */
42054572 #ifdef __STDC__
42064573 # include <limits.h>
42094576 #endif
42104577 Syntax error
42114578 _ACEOF
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
4579 if ac_fn_c_try_cpp "$LINENO"; then :
4580
4581 else
42334582 # Broken: fails on valid input.
42344583 continue
42354584 fi
4236
4237 rm -f conftest.err conftest.$ac_ext
4585 rm -f conftest.err conftest.i conftest.$ac_ext
42384586
42394587 # OK, works on sane cases. Now check whether nonexistent headers
42404588 # can be detected and how.
4241 cat >conftest.$ac_ext <<_ACEOF
4242 /* confdefs.h. */
4243 _ACEOF
4244 cat confdefs.h >>conftest.$ac_ext
4245 cat >>conftest.$ac_ext <<_ACEOF
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42464590 /* end confdefs.h. */
42474591 #include <ac_nonexistent.h>
42484592 _ACEOF
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
4593 if ac_fn_c_try_cpp "$LINENO"; then :
42654594 # Broken: success on invalid input.
42664595 continue
42674596 else
4268 echo "$as_me: failed program was:" >&5
4269 sed 's/^/| /' conftest.$ac_ext >&5
4270
42714597 # Passes both tests.
42724598 ac_preproc_ok=:
42734599 break
42744600 fi
4275
4276 rm -f conftest.err conftest.$ac_ext
4601 rm -f conftest.err conftest.i conftest.$ac_ext
42774602
42784603 done
42794604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
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; }; }
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; }
42894613 fi
42904614
42914615 ac_ext=c
42954619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42964620
42974621
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
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
43094628 ac_path_GREP_found=false
4310 # Loop through the user's path and test for each of PROGNAME-LIST
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4629 # Loop through the user's path and test for each of PROGNAME-LIST
4630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43124631 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
43134632 do
43144633 IFS=$as_save_IFS
43154634 test -z "$as_dir" && as_dir=.
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.
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.
43214640 # Check for GNU $ac_path_GREP
43224641 case `"$ac_path_GREP" --version 2>&1` in
43234642 *GNU*)
43244643 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
43254644 *)
43264645 ac_count=0
4327 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4646 $as_echo_n 0123456789 >"conftest.in"
43284647 while :
43294648 do
43304649 cat "conftest.in" "conftest.in" >"conftest.tmp"
43314650 mv "conftest.tmp" "conftest.in"
43324651 cp "conftest.in" "conftest.nl"
4333 echo 'GREP' >> "conftest.nl"
4652 $as_echo 'GREP' >> "conftest.nl"
43344653 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
43354654 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4336 ac_count=`expr $ac_count + 1`
4655 as_fn_arith $ac_count + 1 && ac_count=$as_val
43374656 if test $ac_count -gt ${ac_path_GREP_max-0}; then
43384657 # Best one so far, save it but keep looking for a better one
43394658 ac_cv_path_GREP="$ac_path_GREP"
43454664 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
43464665 esac
43474666
4348
4349 $ac_path_GREP_found && break 3
4667 $ac_path_GREP_found && break 3
4668 done
43504669 done
4351 done
4352
4353 done
4670 done
43544671 IFS=$as_save_IFS
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
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
43664675 else
43674676 ac_cv_path_GREP=$GREP
43684677 fi
43694678
4370
4371 fi
4372 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4373 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4679 fi
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4681 $as_echo "$ac_cv_path_GREP" >&6; }
43744682 GREP="$ac_cv_path_GREP"
43754683
43764684
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
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
43814689 else
43824690 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
43834691 then ac_cv_path_EGREP="$GREP -E"
43844692 else
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
4693 if test -z "$EGREP"; then
43914694 ac_path_EGREP_found=false
4392 # Loop through the user's path and test for each of PROGNAME-LIST
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 # Loop through the user's path and test for each of PROGNAME-LIST
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43944697 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
43954698 do
43964699 IFS=$as_save_IFS
43974700 test -z "$as_dir" && as_dir=.
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.
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.
44034706 # Check for GNU $ac_path_EGREP
44044707 case `"$ac_path_EGREP" --version 2>&1` in
44054708 *GNU*)
44064709 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
44074710 *)
44084711 ac_count=0
4409 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4712 $as_echo_n 0123456789 >"conftest.in"
44104713 while :
44114714 do
44124715 cat "conftest.in" "conftest.in" >"conftest.tmp"
44134716 mv "conftest.tmp" "conftest.in"
44144717 cp "conftest.in" "conftest.nl"
4415 echo 'EGREP' >> "conftest.nl"
4718 $as_echo 'EGREP' >> "conftest.nl"
44164719 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
44174720 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4418 ac_count=`expr $ac_count + 1`
4721 as_fn_arith $ac_count + 1 && ac_count=$as_val
44194722 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
44204723 # Best one so far, save it but keep looking for a better one
44214724 ac_cv_path_EGREP="$ac_path_EGREP"
44274730 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
44284731 esac
44294732
4430
4431 $ac_path_EGREP_found && break 3
4733 $ac_path_EGREP_found && break 3
4734 done
44324735 done
4433 done
4434
4435 done
4736 done
44364737 IFS=$as_save_IFS
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
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
44484741 else
44494742 ac_cv_path_EGREP=$EGREP
44504743 fi
44514744
4452
44534745 fi
44544746 fi
4455 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4456 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4748 $as_echo "$ac_cv_path_EGREP" >&6; }
44574749 EGREP="$ac_cv_path_EGREP"
44584750
44594751
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
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
44704758 /* end confdefs.h. */
44714759 #include <stdlib.h>
44724760 #include <stdarg.h>
44814769 return 0;
44824770 }
44834771 _ACEOF
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
4772 if ac_fn_c_try_compile "$LINENO"; then :
45014773 ac_cv_header_stdc=yes
45024774 else
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
4775 ac_cv_header_stdc=no
4776 fi
45094777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45104778
45114779 if test $ac_cv_header_stdc = yes; then
45124780 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4513 cat >conftest.$ac_ext <<_ACEOF
4514 /* confdefs.h. */
4515 _ACEOF
4516 cat confdefs.h >>conftest.$ac_ext
4517 cat >>conftest.$ac_ext <<_ACEOF
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45184782 /* end confdefs.h. */
45194783 #include <string.h>
45204784
45214785 _ACEOF
45224786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4523 $EGREP "memchr" >/dev/null 2>&1; then
4524 :
4787 $EGREP "memchr" >/dev/null 2>&1; then :
4788
45254789 else
45264790 ac_cv_header_stdc=no
45274791 fi
4528 rm -f -r conftest*
4792 rm -f conftest*
45294793
45304794 fi
45314795
45324796 if test $ac_cv_header_stdc = yes; then
45334797 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4534 cat >conftest.$ac_ext <<_ACEOF
4535 /* confdefs.h. */
4536 _ACEOF
4537 cat confdefs.h >>conftest.$ac_ext
4538 cat >>conftest.$ac_ext <<_ACEOF
4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45394799 /* end confdefs.h. */
45404800 #include <stdlib.h>
45414801
45424802 _ACEOF
45434803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4544 $EGREP "free" >/dev/null 2>&1; then
4545 :
4804 $EGREP "free" >/dev/null 2>&1; then :
4805
45464806 else
45474807 ac_cv_header_stdc=no
45484808 fi
4549 rm -f -r conftest*
4809 rm -f conftest*
45504810
45514811 fi
45524812
45534813 if test $ac_cv_header_stdc = yes; then
45544814 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4555 if test "$cross_compiling" = yes; then
4815 if test "$cross_compiling" = yes; then :
45564816 :
45574817 else
4558 cat >conftest.$ac_ext <<_ACEOF
4559 /* confdefs.h. */
4560 _ACEOF
4561 cat confdefs.h >>conftest.$ac_ext
4562 cat >>conftest.$ac_ext <<_ACEOF
4818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45634819 /* end confdefs.h. */
45644820 #include <ctype.h>
45654821 #include <stdlib.h>
45864842 return 0;
45874843 }
45884844 _ACEOF
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; }
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; }
46264858 if test $ac_cv_header_stdc = yes; then
46274859
4628 cat >>confdefs.h <<\_ACEOF
4629 #define STDC_HEADERS 1
4630 _ACEOF
4860 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
46314861
46324862 fi
46334863
46344864 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4635
4636
4637
4638
4639
4640
4641
4642
4643
46444865 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
46454866 inttypes.h stdint.h unistd.h
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
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 :
46944872 cat >>confdefs.h <<_ACEOF
4695 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4873 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
46964874 _ACEOF
46974875
46984876 fi
47014879
47024880
47034881 # Check whether --enable-nfprofile was given.
4704 if test "${enable_nfprofile+set}" = set; then
4882 if test "${enable_nfprofile+set}" = set; then :
47054883 enableval=$enable_nfprofile;
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
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
47104888 else
47114889 ac_check_lib_save_LIBS=$LIBS
47124890 LIBS="-lrrd $LIBS"
4713 cat >conftest.$ac_ext <<_ACEOF
4714 /* confdefs.h. */
4715 _ACEOF
4716 cat confdefs.h >>conftest.$ac_ext
4717 cat >>conftest.$ac_ext <<_ACEOF
4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47184892 /* end confdefs.h. */
47194893
47204894 /* Override any GCC internal prototype to avoid an error.
47324906 return 0;
47334907 }
47344908 _ACEOF
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
4909 if ac_fn_c_try_link "$LINENO"; then :
47534910 ac_cv_lib_rrd_rrd_update=yes
47544911 else
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
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
47634916 LIBS=$ac_check_lib_save_LIBS
47644917 fi
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
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 :
47684921
47694922 cat >>config.h <<_ACEOF
47704923 #define HAVE_LIBRRD 1
47744927
47754928
47764929 else
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
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 :
49194937 cat >>confdefs.h <<_ACEOF
4920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4938 #define HAVE_RRD_H 1
49214939 _ACEOF
49224940
49234941 fi
49344952 fi
49354953
49364954 else
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; }; }
4955 as_fn_error $? "Required rrd.h header file not found!" "$LINENO" 5
49404956 fi
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
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
49534964 /* end confdefs.h. */
49544965
49554966 #include <stdio.h>
49664977 }
49674978
49684979 _ACEOF
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
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
50034988
50044989
50054990
50185003
50195004
50205005 # Check whether --enable-nftrack was given.
5021 if test "${enable_nftrack+set}" = set; then
5006 if test "${enable_nftrack+set}" = set; then :
50225007 enableval=$enable_nftrack;
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
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
50275012 else
50285013 ac_check_lib_save_LIBS=$LIBS
50295014 LIBS="-lrrd $LIBS"
5030 cat >conftest.$ac_ext <<_ACEOF
5031 /* confdefs.h. */
5032 _ACEOF
5033 cat confdefs.h >>conftest.$ac_ext
5034 cat >>conftest.$ac_ext <<_ACEOF
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50355016 /* end confdefs.h. */
50365017
50375018 /* Override any GCC internal prototype to avoid an error.
50495030 return 0;
50505031 }
50515032 _ACEOF
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
5033 if ac_fn_c_try_link "$LINENO"; then :
50705034 ac_cv_lib_rrd_rrd_update=yes
50715035 else
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
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
50805040 LIBS=$ac_check_lib_save_LIBS
50815041 fi
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
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 :
50855045
50865046 cat >>config.h <<_ACEOF
50875047 #define HAVE_LIBRRD 1
50915051
50925052
50935053 else
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
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 :
52365061 cat >>confdefs.h <<_ACEOF
5237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5062 #define HAVE_RRD_H 1
52385063 _ACEOF
52395064
52405065 fi
52515076 fi
52525077
52535078 else
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; }; }
5079 as_fn_error $? "Required rrd.h header file not found!" "$LINENO" 5
52575080 fi
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
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
52705088 /* end confdefs.h. */
52715089
52725090 #include <stdio.h>
52835101 }
52845102
52855103 _ACEOF
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
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
53205112
53215113
53225114
53355127
53365128
53375129 # Check whether --enable-sflow was given.
5338 if test "${enable_sflow+set}" = set; then
5130 if test "${enable_sflow+set}" = set; then :
53395131 enableval=$enable_sflow;
53405132 fi
53415133
53495141
53505142
53515143 # Check whether --enable-readpcap was given.
5352 if test "${enable_readpcap+set}" = set; then
5144 if test "${enable_readpcap+set}" = set; then :
53535145 enableval=$enable_readpcap;
53545146 fi
53555147
53635155
53645156
53655157 # Check for structures
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
5158 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
53785159 #include <sys/types.h>
53795160 #include <sys/socket.h>
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
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" "
54205170 #include <sys/types.h>
54215171 #include <sys/socket.h>
54225172
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
5173 "
5174 if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
5175
5176 cat >>confdefs.h <<_ACEOF
5177 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
5178 _ACEOF
5179
5180
5181 fi
5182 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "__ss_family" "ac_cv_member_struct_sockaddr_storage___ss_family" "
54865183 #include <sys/types.h>
54875184 #include <sys/socket.h>
54885185
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
5186 "
5187 if test "x$ac_cv_member_struct_sockaddr_storage___ss_family" = xyes; then :
5188
5189 cat >>confdefs.h <<_ACEOF
5190 #define HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY 1
5191 _ACEOF
5192
5193
5194 fi
5195 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_len" "ac_cv_member_struct_sockaddr_storage_ss_len" "
55295196 #include <sys/types.h>
55305197 #include <sys/socket.h>
55315198
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
5199 "
5200 if test "x$ac_cv_member_struct_sockaddr_storage_ss_len" = xyes; then :
55765201
55775202 cat >>confdefs.h <<_ACEOF
5578 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
5579 _ACEOF
5580
5581
5582 fi
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
5203 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN 1
5204 _ACEOF
5205
5206
5207 fi
5208 ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "__ss_len" "ac_cv_member_struct_sockaddr_storage___ss_len" "
55955209 #include <sys/types.h>
55965210 #include <sys/socket.h>
55975211
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
5212 "
5213 if test "x$ac_cv_member_struct_sockaddr_storage___ss_len" = xyes; then :
5214
5215 cat >>confdefs.h <<_ACEOF
5216 #define HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN 1
5217 _ACEOF
5218
5219
5220 fi
5221 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
56385222 #include <sys/types.h>
56395223 #include <sys/socket.h>
56405224
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
5685
5686 cat >>confdefs.h <<_ACEOF
5687 #define HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY 1
5688 _ACEOF
5689
5690
5691 fi
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
5704 #include <sys/types.h>
5705 #include <sys/socket.h>
5706
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
5794
5795 cat >>confdefs.h <<_ACEOF
5796 #define HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN 1
5797 _ACEOF
5798
5799
5800 fi
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
5813 #include <sys/types.h>
5814 #include <sys/socket.h>
5815
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
5903
5904 cat >>confdefs.h <<_ACEOF
5905 #define HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN 1
5906 _ACEOF
5907
5908
5909 fi
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
5922 #include <sys/types.h>
5923 #include <sys/socket.h>
5924
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
5225 "
5226 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
60125227
60135228 cat >>confdefs.h <<_ACEOF
60145229 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
60255240
60265241
60275242 # Checks for libraries.
6028
60295243 for ac_func in gethostbyname
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
5244 do :
5245 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
5246 if test "x$ac_cv_func_gethostbyname" = xyes; then :
61155247 cat >>confdefs.h <<_ACEOF
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
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
61255256 else
61265257 ac_check_lib_save_LIBS=$LIBS
61275258 LIBS="-lnsl $LIBS"
6128 cat >conftest.$ac_ext <<_ACEOF
6129 /* confdefs.h. */
6130 _ACEOF
6131 cat confdefs.h >>conftest.$ac_ext
6132 cat >>conftest.$ac_ext <<_ACEOF
5259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61335260 /* end confdefs.h. */
61345261
61355262 /* Override any GCC internal prototype to avoid an error.
61475274 return 0;
61485275 }
61495276 _ACEOF
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
5277 if ac_fn_c_try_link "$LINENO"; then :
61685278 ac_cv_lib_nsl_gethostbyname=yes
61695279 else
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
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
61785284 LIBS=$ac_check_lib_save_LIBS
61795285 fi
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
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 :
61835289 cat >>confdefs.h <<_ACEOF
61845290 #define HAVE_LIBNSL 1
61855291 _ACEOF
61875293 LIBS="-lnsl $LIBS"
61885294
61895295 else
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
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
61955300 else
61965301 ac_check_lib_save_LIBS=$LIBS
61975302 LIBS="-lsocket $LIBS"
6198 cat >conftest.$ac_ext <<_ACEOF
6199 /* confdefs.h. */
6200 _ACEOF
6201 cat confdefs.h >>conftest.$ac_ext
6202 cat >>conftest.$ac_ext <<_ACEOF
5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62035304 /* end confdefs.h. */
62045305
62055306 /* Override any GCC internal prototype to avoid an error.
62175318 return 0;
62185319 }
62195320 _ACEOF
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
5321 if ac_fn_c_try_link "$LINENO"; then :
62385322 ac_cv_lib_socket_gethostbyname=yes
62395323 else
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
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
62485328 LIBS=$ac_check_lib_save_LIBS
62495329 fi
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
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 :
62535333 cat >>confdefs.h <<_ACEOF
62545334 #define HAVE_LIBSOCKET 1
62555335 _ACEOF
62635343 fi
62645344 done
62655345
6266
62675346 for ac_func in setsockopt
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
5347 do :
5348 ac_fn_c_check_func "$LINENO" "setsockopt" "ac_cv_func_setsockopt"
5349 if test "x$ac_cv_func_setsockopt" = xyes; then :
63535350 cat >>confdefs.h <<_ACEOF
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
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
63635359 else
63645360 ac_check_lib_save_LIBS=$LIBS
63655361 LIBS="-lsocket $LIBS"
6366 cat >conftest.$ac_ext <<_ACEOF
6367 /* confdefs.h. */
6368 _ACEOF
6369 cat confdefs.h >>conftest.$ac_ext
6370 cat >>conftest.$ac_ext <<_ACEOF
5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63715363 /* end confdefs.h. */
63725364
63735365 /* Override any GCC internal prototype to avoid an error.
63855377 return 0;
63865378 }
63875379 _ACEOF
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
5380 if ac_fn_c_try_link "$LINENO"; then :
64065381 ac_cv_lib_socket_setsockopt=yes
64075382 else
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
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
64165387 LIBS=$ac_check_lib_save_LIBS
64175388 fi
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
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 :
64215392 cat >>confdefs.h <<_ACEOF
64225393 #define HAVE_LIBSOCKET 1
64235394 _ACEOF
64305401 done
64315402
64325403
6433
6434
64355404 for ac_func in fpurge __fpurge
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
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 :
65215409 cat >>confdefs.h <<_ACEOF
6522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65235411 _ACEOF
65245412
65255413 fi
65285416
65295417
65305418 # Checks for header files.
6531
6532
6533
6534
6535
65365419 ac_header_dirent=no
65375420 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
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
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
65495428 /* end confdefs.h. */
65505429 #include <sys/types.h>
65515430 #include <$ac_hdr>
65595438 return 0;
65605439 }
65615440 _ACEOF
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
5441 if ac_fn_c_try_compile "$LINENO"; then :
65795442 eval "$as_ac_Header=yes"
65805443 else
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
5444 eval "$as_ac_Header=no"
5445 fi
65875446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65885447 fi
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
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 :
65935452 cat >>confdefs.h <<_ACEOF
6594 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5453 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
65955454 _ACEOF
65965455
65975456 ac_header_dirent=$ac_hdr; break
66005459 done
66015460 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
66025461 if test $ac_header_dirent = dirent.h; then
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
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
66075466 else
66085467 ac_func_search_save_LIBS=$LIBS
6609 cat >conftest.$ac_ext <<_ACEOF
6610 /* confdefs.h. */
6611 _ACEOF
6612 cat confdefs.h >>conftest.$ac_ext
6613 cat >>conftest.$ac_ext <<_ACEOF
5468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66145469 /* end confdefs.h. */
66155470
66165471 /* Override any GCC internal prototype to avoid an error.
66355490 ac_res=-l$ac_lib
66365491 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
66375492 fi
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
5493 if ac_fn_c_try_link "$LINENO"; then :
66565494 ac_cv_search_opendir=$ac_res
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
5495 fi
5496 rm -f core conftest.err conftest.$ac_objext \
5497 conftest$ac_exeext
5498 if ${ac_cv_search_opendir+:} false; then :
66675499 break
66685500 fi
66695501 done
6670 if test "${ac_cv_search_opendir+set}" = set; then
6671 :
5502 if ${ac_cv_search_opendir+:} false; then :
5503
66725504 else
66735505 ac_cv_search_opendir=no
66745506 fi
66755507 rm conftest.$ac_ext
66765508 LIBS=$ac_func_search_save_LIBS
66775509 fi
6678 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6679 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5511 $as_echo "$ac_cv_search_opendir" >&6; }
66805512 ac_res=$ac_cv_search_opendir
6681 if test "$ac_res" != no; then
5513 if test "$ac_res" != no; then :
66825514 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
66835515
66845516 fi
66855517
66865518 else
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
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
66915523 else
66925524 ac_func_search_save_LIBS=$LIBS
6693 cat >conftest.$ac_ext <<_ACEOF
6694 /* confdefs.h. */
6695 _ACEOF
6696 cat confdefs.h >>conftest.$ac_ext
6697 cat >>conftest.$ac_ext <<_ACEOF
5525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66985526 /* end confdefs.h. */
66995527
67005528 /* Override any GCC internal prototype to avoid an error.
67195547 ac_res=-l$ac_lib
67205548 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
67215549 fi
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
5550 if ac_fn_c_try_link "$LINENO"; then :
67405551 ac_cv_search_opendir=$ac_res
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
5552 fi
5553 rm -f core conftest.err conftest.$ac_objext \
5554 conftest$ac_exeext
5555 if ${ac_cv_search_opendir+:} false; then :
67515556 break
67525557 fi
67535558 done
6754 if test "${ac_cv_search_opendir+set}" = set; then
6755 :
5559 if ${ac_cv_search_opendir+:} false; then :
5560
67565561 else
67575562 ac_cv_search_opendir=no
67585563 fi
67595564 rm conftest.$ac_ext
67605565 LIBS=$ac_func_search_save_LIBS
67615566 fi
6762 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6763 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5568 $as_echo "$ac_cv_search_opendir" >&6; }
67645569 ac_res=$ac_cv_search_opendir
6765 if test "$ac_res" != no; then
5570 if test "$ac_res" != no; then :
67665571 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
67675572
67685573 fi
67695574
67705575 fi
67715576
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
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
67825583 /* end confdefs.h. */
67835584 #include <stdlib.h>
67845585 #include <stdarg.h>
67935594 return 0;
67945595 }
67955596 _ACEOF
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
5597 if ac_fn_c_try_compile "$LINENO"; then :
68135598 ac_cv_header_stdc=yes
68145599 else
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
5600 ac_cv_header_stdc=no
5601 fi
68215602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68225603
68235604 if test $ac_cv_header_stdc = yes; then
68245605 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6825 cat >conftest.$ac_ext <<_ACEOF
6826 /* confdefs.h. */
6827 _ACEOF
6828 cat confdefs.h >>conftest.$ac_ext
6829 cat >>conftest.$ac_ext <<_ACEOF
5606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68305607 /* end confdefs.h. */
68315608 #include <string.h>
68325609
68335610 _ACEOF
68345611 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6835 $EGREP "memchr" >/dev/null 2>&1; then
6836 :
5612 $EGREP "memchr" >/dev/null 2>&1; then :
5613
68375614 else
68385615 ac_cv_header_stdc=no
68395616 fi
6840 rm -f -r conftest*
5617 rm -f conftest*
68415618
68425619 fi
68435620
68445621 if test $ac_cv_header_stdc = yes; then
68455622 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6846 cat >conftest.$ac_ext <<_ACEOF
6847 /* confdefs.h. */
6848 _ACEOF
6849 cat confdefs.h >>conftest.$ac_ext
6850 cat >>conftest.$ac_ext <<_ACEOF
5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68515624 /* end confdefs.h. */
68525625 #include <stdlib.h>
68535626
68545627 _ACEOF
68555628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6856 $EGREP "free" >/dev/null 2>&1; then
6857 :
5629 $EGREP "free" >/dev/null 2>&1; then :
5630
68585631 else
68595632 ac_cv_header_stdc=no
68605633 fi
6861 rm -f -r conftest*
5634 rm -f conftest*
68625635
68635636 fi
68645637
68655638 if test $ac_cv_header_stdc = yes; then
68665639 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6867 if test "$cross_compiling" = yes; then
5640 if test "$cross_compiling" = yes; then :
68685641 :
68695642 else
6870 cat >conftest.$ac_ext <<_ACEOF
6871 /* confdefs.h. */
6872 _ACEOF
6873 cat confdefs.h >>conftest.$ac_ext
6874 cat >>conftest.$ac_ext <<_ACEOF
5643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68755644 /* end confdefs.h. */
68765645 #include <ctype.h>
68775646 #include <stdlib.h>
68985667 return 0;
68995668 }
69005669 _ACEOF
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; }
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; }
69385683 if test $ac_cv_header_stdc = yes; then
69395684
6940 cat >>confdefs.h <<\_ACEOF
6941 #define STDC_HEADERS 1
6942 _ACEOF
6943
6944 fi
6945
5685 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5686
5687 fi
69465688
69475689 for ac_header in nameser8_compat.h
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
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 :
70835693 cat >>confdefs.h <<_ACEOF
7084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5694 #define HAVE_NAMESER8_COMPAT_H 1
70855695 _ACEOF
70865696
70875697 fi
70885698
70895699 done
70905700
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
71035701 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
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
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 :
72395706 cat >>confdefs.h <<_ACEOF
7240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5707 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
72415708 _ACEOF
72425709
72435710 fi
72455712 done
72465713
72475714
7248
7249
7250
7251
7252
72535715 for ac_header in sys/types.h netinet/in.h arpa/nameser.h netdb.h resolv.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
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
72685719 # include <sys/types.h>
72695720 #endif
72705721 #ifdef HAVE_NETINET_IN_H
72765727 #ifdef HAVE_NETDB_H
72775728 # include <netdb.h>
72785729 #endif
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
5730 "
5731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
73135732 cat >>confdefs.h <<_ACEOF
7314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
73155734 _ACEOF
73165735
73175736 fi
73275746
73285747
73295748 # 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
73845749 # The cast to long int works around a bug in the HP C Compiler
73855750 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
73865751 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
73875752 # This bug is HP SR number 8606223364.
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; }; }
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; }
77175766 else
77185767 ac_cv_sizeof_void_p=0
77195768 fi
77205769 fi
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; }
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; }
77275774
77285775
77295776
77335780
77345781
77355782
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
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
77465789 /* end confdefs.h. */
77475790
77485791 int
78025845 return 0;
78035846 }
78045847 _ACEOF
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
5848 if ac_fn_c_try_compile "$LINENO"; then :
78225849 ac_cv_c_const=yes
78235850 else
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
5851 ac_cv_c_const=no
5852 fi
78305853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78315854 fi
7832 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7833 echo "${ECHO_T}$ac_cv_c_const" >&6; }
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
5856 $as_echo "$ac_cv_c_const" >&6; }
78345857 if test $ac_cv_c_const = no; then
78355858
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
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
78465867 else
78475868 ac_cv_c_inline=no
78485869 for ac_kw in inline __inline__ __inline; do
7849 cat >conftest.$ac_ext <<_ACEOF
7850 /* confdefs.h. */
7851 _ACEOF
7852 cat confdefs.h >>conftest.$ac_ext
7853 cat >>conftest.$ac_ext <<_ACEOF
5870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78545871 /* end confdefs.h. */
78555872 #ifndef __cplusplus
78565873 typedef int foo_t;
78595876 #endif
78605877
78615878 _ACEOF
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
5879 if ac_fn_c_try_compile "$LINENO"; then :
78795880 ac_cv_c_inline=$ac_kw
7880 else
7881 echo "$as_me: failed program was:" >&5
7882 sed 's/^/| /' conftest.$ac_ext >&5
7883
7884
7885 fi
7886
5881 fi
78875882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78885883 test "$ac_cv_c_inline" != no && break
78895884 done
78905885
78915886 fi
7892 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7893 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
7894
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
5888 $as_echo "$ac_cv_c_inline" >&6; }
78955889
78965890 case $ac_cv_c_inline in
78975891 inline | yes) ;;
79085902 ;;
79095903 esac
79105904
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
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
79225948 /* end confdefs.h. */
79235949 #include <sys/types.h>
7924 #include <sys/param.h>
5950 #include <sys/param.h>
79255951
79265952 int
79275953 main ()
79285954 {
7929 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
7930 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
7931 bogus endian macros
7932 #endif
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
79335960
79345961 ;
79355962 return 0;
79365963 }
79375964 _ACEOF
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
5965 if ac_fn_c_try_compile "$LINENO"; then :
79555966 # It does; now see whether it defined to BIG_ENDIAN or not.
7956 cat >conftest.$ac_ext <<_ACEOF
7957 /* confdefs.h. */
7958 _ACEOF
7959 cat confdefs.h >>conftest.$ac_ext
7960 cat >>conftest.$ac_ext <<_ACEOF
5967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79615968 /* end confdefs.h. */
79625969 #include <sys/types.h>
7963 #include <sys/param.h>
5970 #include <sys/param.h>
79645971
79655972 int
79665973 main ()
79675974 {
79685975 #if BYTE_ORDER != BIG_ENDIAN
7969 not big endian
7970 #endif
5976 not big endian
5977 #endif
79715978
79725979 ;
79735980 return 0;
79745981 }
79755982 _ACEOF
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
5983 if ac_fn_c_try_compile "$LINENO"; then :
79935984 ac_cv_c_bigendian=yes
79945985 else
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
5986 ac_cv_c_bigendian=no
5987 fi
80015988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
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
80155995 /* 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; }
5996 #include <limits.h>
5997
80225998 int
80235999 main ()
80246000 {
8025 _ascii (); _ebcdic ();
6001 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6002 bogus endian macros
6003 #endif
6004
80266005 ;
80276006 return 0;
80286007 }
80296008 _ACEOF
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
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 :
80486027 ac_cv_c_bigendian=yes
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
6028 else
6029 ac_cv_c_bigendian=no
6030 fi
80656031 rm -f core conftest.err conftest.$ac_objext 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
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
80726081 /* end confdefs.h. */
80736082 $ac_includes_default
80746083 int
80756084 main ()
80766085 {
80776086
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;
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;
80866095
80876096 ;
80886097 return 0;
80896098 }
80906099 _ACEOF
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
6100 if ac_fn_c_try_run "$LINENO"; then :
81116101 ac_cv_c_bigendian=no
81126102 else
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
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
6132 else
6133
6134 cat >>confdefs.h <<_ACEOF
6135 #define pid_t int
6136 _ACEOF
6137
6138 fi
6139
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
6143 else
6144
6145 cat >>confdefs.h <<_ACEOF
6146 #define size_t unsigned int
6147 _ACEOF
6148
6149 fi
6150
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
81576157 /* end confdefs.h. */
8158 $ac_includes_default
8159 typedef pid_t ac__type_new_;
6158 #include <sys/types.h>
6159 #include <time.h>
6160
81606161 int
81616162 main ()
81626163 {
8163 if ((ac__type_new_ *) 0)
8164 return 0;
8165 if (sizeof (ac__type_new_))
8166 return 0;
6164 struct tm tm;
6165 int *p = &tm.tm_sec;
6166 return !p;
81676167 ;
81686168 return 0;
81696169 }
81706170 _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
6171 if ac_fn_c_try_compile "$LINENO"; then :
6172 ac_cv_struct_tm=time.h
6173 else
6174 ac_cv_struct_tm=sys/time.h
6175 fi
81966176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81976177 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 :
8202 else
8203
8204 cat >>confdefs.h <<_ACEOF
8205 #define pid_t int
8206 _ACEOF
8207
8208 fi
8209
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 :
8265 else
8266
8267 cat >>confdefs.h <<_ACEOF
8268 #define size_t unsigned int
8269 _ACEOF
8270
8271 fi
8272
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
8283 /* end confdefs.h. */
8284 #include <sys/types.h>
8285 #include <time.h>
8286
8287 int
8288 main ()
8289 {
8290 struct tm tm;
8291 int *p = &tm.tm_sec;
8292 return !p;
8293 ;
8294 return 0;
8295 }
8296 _ACEOF
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
8314 ac_cv_struct_tm=time.h
8315 else
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
8322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8323 fi
8324 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
8325 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6179 $as_echo "$ac_cv_struct_tm" >&6; }
83266180 if test $ac_cv_struct_tm = sys/time.h; then
83276181
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
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
83446192 /* end confdefs.h. */
83456193
83466194 #include <stdbool.h>
83696217 char b[false == 0 ? 1 : -1];
83706218 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
83716219 char d[(bool) 0.5 == true ? 1 : -1];
8372 bool e = &s;
6220 /* See body of main program for 'e'. */
83736221 char f[(_Bool) 0.0 == false ? 1 : -1];
83746222 char g[true];
83756223 char h[sizeof (_Bool)];
83766224 char i[sizeof s.t];
83776225 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]. */
83786228 _Bool n[m];
83796229 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
83806230 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
84006231 /* Catch a bug in an HP-UX C compiler. See
84016232 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
84026233 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
84086239 main ()
84096240 {
84106241
6242 bool e = &s;
84116243 *pq |= q;
84126244 *pq |= ! q;
84136245 /* Refer to every declared value, to avoid compiler optimizations. */
84186250 return 0;
84196251 }
84206252 _ACEOF
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
6253 if ac_fn_c_try_compile "$LINENO"; then :
84386254 ac_cv_header_stdbool_h=yes
84396255 else
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
6256 ac_cv_header_stdbool_h=no
6257 fi
84466258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
84476259 fi
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
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 :
85046264
85056265 cat >>confdefs.h <<_ACEOF
85066266 #define HAVE__BOOL 1
85116271
85126272 if test $ac_cv_header_stdbool_h = yes; then
85136273
8514 cat >>confdefs.h <<\_ACEOF
8515 #define HAVE_STDBOOL_H 1
8516 _ACEOF
6274 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
85176275
85186276 fi
85196277
85206278
85216279 # Checks for library functions.
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
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 :
85286286 ac_cv_func_closedir_void=yes
85296287 else
8530 cat >conftest.$ac_ext <<_ACEOF
8531 /* confdefs.h. */
8532 _ACEOF
8533 cat confdefs.h >>conftest.$ac_ext
8534 cat >>conftest.$ac_ext <<_ACEOF
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85356289 /* end confdefs.h. */
85366290 $ac_includes_default
85376291 #include <$ac_header_dirent>
85476301 return 0;
85486302 }
85496303 _ACEOF
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
6304 if ac_fn_c_try_run "$LINENO"; then :
85706305 ac_cv_func_closedir_void=no
85716306 else
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; }
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; }
85866316 if test $ac_cv_func_closedir_void = yes; then
85876317
8588 cat >>confdefs.h <<\_ACEOF
8589 #define CLOSEDIR_VOID 1
8590 _ACEOF
8591
8592 fi
8593
6318 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
6319
6320 fi
85946321
85956322 for ac_header in vfork.h
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
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 :
87316326 cat >>confdefs.h <<_ACEOF
8732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6327 #define HAVE_VFORK_H 1
87336328 _ACEOF
87346329
87356330 fi
87366331
87376332 done
87386333
8739
8740
87416334 for ac_func in fork vfork
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
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 :
88276339 cat >>confdefs.h <<_ACEOF
8828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
88296341 _ACEOF
88306342
88316343 fi
88326344 done
88336345
88346346 if test "x$ac_cv_func_fork" = xyes; 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
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 :
88416353 ac_cv_func_fork_works=cross
88426354 else
8843 cat >conftest.$ac_ext <<_ACEOF
8844 /* confdefs.h. */
8845 _ACEOF
8846 cat confdefs.h >>conftest.$ac_ext
8847 cat >>conftest.$ac_ext <<_ACEOF
6355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
88486356 /* end confdefs.h. */
88496357 $ac_includes_default
88506358 int
88586366 return 0;
88596367 }
88606368 _ACEOF
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
6369 if ac_fn_c_try_run "$LINENO"; then :
88816370 ac_cv_func_fork_works=yes
88826371 else
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; }
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; }
88976381
88986382 else
88996383 ac_cv_func_fork_works=$ac_cv_func_fork
89086392 ac_cv_func_fork_works=yes
89096393 ;;
89106394 esac
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;}
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;}
89136397 fi
89146398 ac_cv_func_vfork_works=$ac_cv_func_vfork
89156399 if test "x$ac_cv_func_vfork" = xyes; 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
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 :
89226406 ac_cv_func_vfork_works=cross
89236407 else
8924 cat >conftest.$ac_ext <<_ACEOF
8925 /* confdefs.h. */
8926 _ACEOF
8927 cat confdefs.h >>conftest.$ac_ext
8928 cat >>conftest.$ac_ext <<_ACEOF
6408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
89296409 /* end confdefs.h. */
89306410 /* Thanks to Paul Eggert for this test. */
89316411 $ac_includes_default
90176497 }
90186498 }
90196499 _ACEOF
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
6500 if ac_fn_c_try_run "$LINENO"; then :
90406501 ac_cv_func_vfork_works=yes
90416502 else
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; }
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; }
90566512
90576513 fi;
90586514 if test "x$ac_cv_func_fork_works" = xcross; then
90596515 ac_cv_func_vfork_works=$ac_cv_func_vfork
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;}
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;}
90626518 fi
90636519
90646520 if test "x$ac_cv_func_vfork_works" = xyes; then
90656521
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
6522 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
6523
6524 else
6525
6526 $as_echo "#define vfork fork" >>confdefs.h
90756527
90766528 fi
90776529 if test "x$ac_cv_func_fork_works" = xyes; then
90786530
9079 cat >>confdefs.h <<\_ACEOF
9080 #define HAVE_WORKING_FORK 1
9081 _ACEOF
9082
9083 fi
9084
6531 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
6532
6533 fi
90856534
90866535 for ac_header in stdlib.h
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
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 :
92226539 cat >>confdefs.h <<_ACEOF
9223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6540 #define HAVE_STDLIB_H 1
92246541 _ACEOF
92256542
92266543 fi
92276544
92286545 done
92296546
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
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 :
92366553 ac_cv_func_malloc_0_nonnull=no
92376554 else
9238 cat >conftest.$ac_ext <<_ACEOF
9239 /* confdefs.h. */
9240 _ACEOF
9241 cat confdefs.h >>conftest.$ac_ext
9242 cat >>conftest.$ac_ext <<_ACEOF
6555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
92436556 /* end confdefs.h. */
92446557 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
92456558 # include <stdlib.h>
92556568 return 0;
92566569 }
92576570 _ACEOF
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
6571 if ac_fn_c_try_run "$LINENO"; then :
92786572 ac_cv_func_malloc_0_nonnull=yes
92796573 else
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
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
93046589
93056590 case " $LIBOBJS " in
93066591 *" malloc.$ac_objext "* ) ;;
93096594 esac
93106595
93116596
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
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
93306608 /* end confdefs.h. */
93316609 #include <sys/types.h>
93326610 #include <sys/time.h>
93416619 return 0;
93426620 }
93436621 _ACEOF
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
6622 if ac_fn_c_try_compile "$LINENO"; then :
93616623 ac_cv_header_time=yes
93626624 else
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
6625 ac_cv_header_time=no
6626 fi
93696627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
93706628 fi
9371 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9372 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6630 $as_echo "$ac_cv_header_time" >&6; }
93736631 if test $ac_cv_header_time = yes; then
93746632
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
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 :
95216646 cat >>confdefs.h <<_ACEOF
9522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
95236648 _ACEOF
95246649
95256650 fi
95336658
95346659
95356660
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
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 :
96236666 cat >>confdefs.h <<_ACEOF
9624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
96256668 _ACEOF
96266669
96276670 fi
96316674
96326675
96336676
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
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 :
96526683 ac_cv_func_working_mktime=no
96536684 else
9654 cat >conftest.$ac_ext <<_ACEOF
9655 /* confdefs.h. */
9656 _ACEOF
9657 cat confdefs.h >>conftest.$ac_ext
9658 cat >>conftest.$ac_ext <<_ACEOF
6685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
96596686 /* end confdefs.h. */
96606687 /* Test program from Paul Eggert and Tony Leneis. */
96616688 #ifdef TIME_WITH_SYS_TIME
96696696 # endif
96706697 #endif
96716698
6699 #include <limits.h>
96726700 #include <stdlib.h>
96736701
96746702 #ifdef HAVE_UNISTD_H
96866714 static time_t time_t_min;
96876715
96886716 /* Values we'll use to set the TZ environment variable. */
9689 static char *tz_strings[] = {
9690 (char *) 0, "TZ=GMT0", "TZ=JST-9",
6717 static const char *tz_strings[] = {
6718 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
96916719 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
96926720 };
96936721 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
97046732 instead of "TZ=America/Vancouver" in order to detect the bug even
97056733 on systems that don't support the Olson extension, or don't have the
97066734 full zoneinfo tables installed. */
9707 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
6735 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
97086736
97096737 tm.tm_year = 98;
97106738 tm.tm_mon = 3;
97176745 }
97186746
97196747 static int
9720 mktime_test1 (now)
9721 time_t now;
6748 mktime_test1 (time_t now)
97226749 {
97236750 struct tm *lt;
97246751 return ! (lt = localtime (&now)) || mktime (lt) == now;
97256752 }
97266753
97276754 static int
9728 mktime_test (now)
9729 time_t now;
6755 mktime_test (time_t now)
97306756 {
97316757 return (mktime_test1 (now)
97326758 && mktime_test1 ((time_t) (time_t_max - now))
97506776 }
97516777
97526778 static int
9753 bigtime_test (j)
9754 int j;
6779 bigtime_test (int j)
97556780 {
97566781 struct tm tm;
97576782 time_t now;
97956820 instead of "TZ=America/Vancouver" in order to detect the bug even
97966821 on systems that don't support the Olson extension, or don't have the
97976822 full zoneinfo tables installed. */
9798 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
6823 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
97996824
98006825 t = mktime (&tm);
98016826
98176842 isn't worth using anyway. */
98186843 alarm (60);
98196844
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;
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
98266854 delta = time_t_max / 997; /* a suitable prime number */
98276855 for (i = 0; i < N_STRINGS; i++)
98286856 {
98296857 if (tz_strings[i])
9830 putenv (tz_strings[i]);
6858 putenv ((char*) tz_strings[i]);
98316859
98326860 for (t = 0; t <= time_t_max - delta; t += delta)
98336861 if (! mktime_test (t))
98376865 && mktime_test ((time_t) (60 * 60 * 24))))
98386866 return 1;
98396867
9840 for (j = 1; 0 < j; j *= 2)
6868 for (j = 1; ; j <<= 1)
98416869 if (! bigtime_test (j))
98426870 return 1;
9843 if (! bigtime_test (j - 1))
6871 else if (INT_MAX / 2 < j)
6872 break;
6873 if (! bigtime_test (INT_MAX))
98446874 return 1;
98456875 }
98466876 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
98476877 }
98486878 _ACEOF
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
6879 if ac_fn_c_try_run "$LINENO"; then :
98696880 ac_cv_func_working_mktime=yes
98706881 else
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; }
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; }
98856891 if test $ac_cv_func_working_mktime = no; then
98866892 case " $LIBOBJS " in
98876893 *" mktime.$ac_objext "* ) ;;
98916897
98926898 fi
98936899
9894
98956900 for ac_header in stdlib.h
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
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 :
100316904 cat >>confdefs.h <<_ACEOF
10032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6905 #define HAVE_STDLIB_H 1
100336906 _ACEOF
100346907
100356908 fi
100366909
100376910 done
100386911
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
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 :
100456918 ac_cv_func_realloc_0_nonnull=no
100466919 else
10047 cat >conftest.$ac_ext <<_ACEOF
10048 /* confdefs.h. */
10049 _ACEOF
10050 cat confdefs.h >>conftest.$ac_ext
10051 cat >>conftest.$ac_ext <<_ACEOF
6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
100526921 /* end confdefs.h. */
100536922 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
100546923 # include <stdlib.h>
100646933 return 0;
100656934 }
100666935 _ACEOF
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
6936 if ac_fn_c_try_run "$LINENO"; then :
100876937 ac_cv_func_realloc_0_nonnull=yes
100886938 else
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
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
101136954
101146955 case " $LIBOBJS " in
101156956 *" realloc.$ac_objext "* ) ;;
101186959 esac
101196960
101206961
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
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
101336971 else
101346972 rm -f conftest.sym conftest.file
101356973 echo >conftest.file
101366974 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
10137 if test "$cross_compiling" = yes; then
6975 if test "$cross_compiling" = yes; then :
101386976 ac_cv_func_lstat_dereferences_slashed_symlink=no
101396977 else
10140 cat >conftest.$ac_ext <<_ACEOF
10141 /* confdefs.h. */
10142 _ACEOF
10143 cat confdefs.h >>conftest.$ac_ext
10144 cat >>conftest.$ac_ext <<_ACEOF
6978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
101456979 /* end confdefs.h. */
101466980 $ac_includes_default
101476981 int
101486982 main ()
101496983 {
101506984 struct stat sbuf;
10151 /* Linux will dereference the symlink and fail.
6985 /* Linux will dereference the symlink and fail, as required by POSIX.
101526986 That is better in the sense that it means we will not
101536987 have to compile and use the lstat wrapper. */
101546988 return lstat ("conftest.sym/", &sbuf) == 0;
101566990 return 0;
101576991 }
101586992 _ACEOF
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
6993 if ac_fn_c_try_run "$LINENO"; then :
101796994 ac_cv_func_lstat_dereferences_slashed_symlink=yes
101806995 else
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
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
101917001
101927002 else
101937003 # If the `ln -s' command failed, then we probably don't even
101977007 rm -f conftest.sym conftest.file
101987008
101997009 fi
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; }
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; }
102027012
102037013 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
102047014
102077017 _ACEOF
102087018
102097019
10210 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
7020 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
102117021 case " $LIBOBJS " in
102127022 *" lstat.$ac_objext "* ) ;;
102137023 *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
102167026
102177027 fi
102187028
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
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 :
102257035 ac_cv_func_stat_empty_string_bug=yes
102267036 else
10227 cat >conftest.$ac_ext <<_ACEOF
10228 /* confdefs.h. */
10229 _ACEOF
10230 cat confdefs.h >>conftest.$ac_ext
10231 cat >>conftest.$ac_ext <<_ACEOF
7037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
102327038 /* end confdefs.h. */
102337039 $ac_includes_default
102347040 int
102407046 return 0;
102417047 }
102427048 _ACEOF
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
7049 if ac_fn_c_try_run "$LINENO"; then :
102637050 ac_cv_func_stat_empty_string_bug=no
102647051 else
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; }
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; }
102797061 if test $ac_cv_func_stat_empty_string_bug = yes; then
102807062 case " $LIBOBJS " in
102817063 *" stat.$ac_objext "* ) ;;
102907072
102917073 fi
102927074
10293
102947075 for ac_func in strftime
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
7076 do :
7077 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
7078 if test "x$ac_cv_func_strftime" = xyes; then :
103807079 cat >>confdefs.h <<_ACEOF
10381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7080 #define HAVE_STRFTIME 1
103827081 _ACEOF
103837082
103847083 else
103857084 # strftime is in -lintl on SCO UNIX.
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
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
103907089 else
103917090 ac_check_lib_save_LIBS=$LIBS
103927091 LIBS="-lintl $LIBS"
10393 cat >conftest.$ac_ext <<_ACEOF
10394 /* confdefs.h. */
10395 _ACEOF
10396 cat confdefs.h >>conftest.$ac_ext
10397 cat >>conftest.$ac_ext <<_ACEOF
7092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103987093 /* end confdefs.h. */
103997094
104007095 /* Override any GCC internal prototype to avoid an error.
104127107 return 0;
104137108 }
104147109 _ACEOF
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
7110 if ac_fn_c_try_link "$LINENO"; then :
104337111 ac_cv_lib_intl_strftime=yes
104347112 else
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
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
104437117 LIBS=$ac_check_lib_save_LIBS
104447118 fi
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
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
104517123
104527124 LIBS="-lintl $LIBS"
104537125 fi
104557127 fi
104567128 done
104577129
10458
10459
10460
10461
10462
10463
10464
10465
104667130 for ac_func in inet_ntoa socket strchr strdup strerror strrchr strstr scandir
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
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 :
105527135 cat >>confdefs.h <<_ACEOF
10553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
105547137 _ACEOF
105557138
105567139 fi
105577140 done
105587141
105597142
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
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
105647147 else
105657148 ac_check_lib_save_LIBS=$LIBS
105667149 LIBS="-lsocket $LIBS"
10567 cat >conftest.$ac_ext <<_ACEOF
10568 /* confdefs.h. */
10569 _ACEOF
10570 cat confdefs.h >>conftest.$ac_ext
10571 cat >>conftest.$ac_ext <<_ACEOF
7150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
105727151 /* end confdefs.h. */
105737152
105747153 /* Override any GCC internal prototype to avoid an error.
105867165 return 0;
105877166 }
105887167 _ACEOF
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
7168 if ac_fn_c_try_link "$LINENO"; then :
106077169 ac_cv_lib_socket_res_search=yes
106087170 else
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
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
106177175 LIBS=$ac_check_lib_save_LIBS
106187176 fi
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
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
106287185 else
106297186 ac_check_lib_save_LIBS=$LIBS
106307187 LIBS="-lresolv $LIBS"
10631 cat >conftest.$ac_ext <<_ACEOF
10632 /* confdefs.h. */
10633 _ACEOF
10634 cat confdefs.h >>conftest.$ac_ext
10635 cat >>conftest.$ac_ext <<_ACEOF
7188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
106367189 /* end confdefs.h. */
106377190
106387191 /* Override any GCC internal prototype to avoid an error.
106507203 return 0;
106517204 }
106527205 _ACEOF
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
7206 if ac_fn_c_try_link "$LINENO"; then :
106717207 ac_cv_lib_resolv_dn_skipname=yes
106727208 else
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
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
106817213 LIBS=$ac_check_lib_save_LIBS
106827214 fi
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
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 :
106867218 cat >>confdefs.h <<_ACEOF
106877219 #define HAVE_LIBRESOLV 1
106887220 _ACEOF
106917223
106927224 fi
106937225
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
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
106997230 else
107007231 ac_check_lib_save_LIBS=$LIBS
107017232 LIBS="-lresolv $LIBS"
10702 cat >conftest.$ac_ext <<_ACEOF
10703 /* confdefs.h. */
10704 _ACEOF
10705 cat confdefs.h >>conftest.$ac_ext
10706 cat >>conftest.$ac_ext <<_ACEOF
7233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107077234 /* end confdefs.h. */
107087235
107097236 /* Override any GCC internal prototype to avoid an error.
107217248 return 0;
107227249 }
107237250 _ACEOF
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
7251 if ac_fn_c_try_link "$LINENO"; then :
107427252 ac_cv_lib_resolv___dn_skipname=yes
107437253 else
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
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
107527258 LIBS=$ac_check_lib_save_LIBS
107537259 fi
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
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 :
107577263 cat >>confdefs.h <<_ACEOF
107587264 #define HAVE_LIBRESOLV 1
107597265 _ACEOF
107647270
107657271 LIBS="$LIBS -lsocket"
107667272
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
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
107777281 else
107787282 ac_check_lib_save_LIBS=$LIBS
107797283 LIBS="-lresolv $LIBS"
10780 cat >conftest.$ac_ext <<_ACEOF
10781 /* confdefs.h. */
10782 _ACEOF
10783 cat confdefs.h >>conftest.$ac_ext
10784 cat >>conftest.$ac_ext <<_ACEOF
7284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
107857285 /* end confdefs.h. */
107867286
107877287 /* Override any GCC internal prototype to avoid an error.
107997299 return 0;
108007300 }
108017301 _ACEOF
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
7302 if ac_fn_c_try_link "$LINENO"; then :
108207303 ac_cv_lib_resolv_res_search=yes
108217304 else
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
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
108307309 LIBS=$ac_check_lib_save_LIBS
108317310 fi
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
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 :
108357314
108367315 LIBS="$LIBS -lresolv"
108377316
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
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
108507326 else
108517327 ac_check_lib_save_LIBS=$LIBS
108527328 LIBS="-lresolv $LIBS"
10853 cat >conftest.$ac_ext <<_ACEOF
10854 /* confdefs.h. */
10855 _ACEOF
10856 cat confdefs.h >>conftest.$ac_ext
10857 cat >>conftest.$ac_ext <<_ACEOF
7329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
108587330 /* end confdefs.h. */
108597331
108607332 /* Override any GCC internal prototype to avoid an error.
108727344 return 0;
108737345 }
108747346 _ACEOF
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
7347 if ac_fn_c_try_link "$LINENO"; then :
108937348 ac_cv_lib_resolv_dn_skipname=yes
108947349 else
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
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
109037354 LIBS=$ac_check_lib_save_LIBS
109047355 fi
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
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 :
109087359 cat >>confdefs.h <<_ACEOF
109097360 #define HAVE_LIBRESOLV 1
109107361 _ACEOF
109137364
109147365 fi
109157366
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
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
109217371 else
109227372 ac_check_lib_save_LIBS=$LIBS
109237373 LIBS="-lresolv $LIBS"
10924 cat >conftest.$ac_ext <<_ACEOF
10925 /* confdefs.h. */
10926 _ACEOF
10927 cat confdefs.h >>conftest.$ac_ext
10928 cat >>conftest.$ac_ext <<_ACEOF
7374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
109297375 /* end confdefs.h. */
109307376
109317377 /* Override any GCC internal prototype to avoid an error.
109437389 return 0;
109447390 }
109457391 _ACEOF
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
7392 if ac_fn_c_try_link "$LINENO"; then :
109647393 ac_cv_lib_resolv___dn_skipname=yes
109657394 else
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
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
109747399 LIBS=$ac_check_lib_save_LIBS
109757400 fi
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
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 :
109797404 cat >>confdefs.h <<_ACEOF
109807405 #define HAVE_LIBRESOLV 1
109817406 _ACEOF
109927417
109937418
109947419 # lzo compression requirements
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 :
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
110507423 else
110517424
110527425 cat >>confdefs.h <<_ACEOF
110557428
110567429 fi
110577430
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 :
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
111137434 else
111147435
111157436 cat >>confdefs.h <<_ACEOF
111177438 _ACEOF
111187439
111197440 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; }
111747441
111757442 # The cast to long int works around a bug in the HP C Compiler
111767443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
111777444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
111787445 # This bug is HP SR number 8606223364.
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; }; }
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; }
115087459 else
115097460 ac_cv_sizeof_short=0
115107461 fi
115117462 fi
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; }
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; }
115187467
115197468
115207469
115227471 #define SIZEOF_SHORT $ac_cv_sizeof_short
115237472 _ACEOF
115247473
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; }
115797474
115807475 # The cast to long int works around a bug in the HP C Compiler
115817476 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
115827477 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
115837478 # This bug is HP SR number 8606223364.
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; }; }
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; }
119137492 else
119147493 ac_cv_sizeof_int=0
119157494 fi
119167495 fi
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; }
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; }
119237500
119247501
119257502
119277504 #define SIZEOF_INT $ac_cv_sizeof_int
119287505 _ACEOF
119297506
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; }
119847507
119857508 # The cast to long int works around a bug in the HP C Compiler
119867509 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
119877510 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
119887511 # This bug is HP SR number 8606223364.
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; }; }
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; }
123187525 else
123197526 ac_cv_sizeof_long=0
123207527 fi
123217528 fi
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; }
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; }
123287533
123297534
123307535
123327537 #define SIZEOF_LONG $ac_cv_sizeof_long
123337538 _ACEOF
123347539
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; }
123897540
123907541 # The cast to long int works around a bug in the HP C Compiler
123917542 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
123927543 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
123937544 # This bug is HP SR number 8606223364.
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; }; }
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; }
127237558 else
127247559 ac_cv_sizeof_long_long=0
127257560 fi
127267561 fi
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; }
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; }
127337566
127347567
127357568
127377570 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
127387571 _ACEOF
127397572
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; }
127947573
127957574 # The cast to long int works around a bug in the HP C Compiler
127967575 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
127977576 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
127987577 # This bug is HP SR number 8606223364.
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; }; }
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; }
131287591 else
131297592 ac_cv_sizeof___int64=0
131307593 fi
131317594 fi
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; }
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; }
131387599
131397600
131407601
131427603 #define SIZEOF___INT64 $ac_cv_sizeof___int64
131437604 _ACEOF
131447605
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; }
131997606
132007607 # The cast to long int works around a bug in the HP C Compiler
132017608 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
132027609 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
132037610 # This bug is HP SR number 8606223364.
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; }; }
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; }
135337624 else
135347625 ac_cv_sizeof_void_p=0
135357626 fi
135367627 fi
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; }
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; }
135437632
135447633
135457634
135477636 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
135487637 _ACEOF
135497638
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; }
136047639
136057640 # The cast to long int works around a bug in the HP C Compiler
136067641 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
136077642 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
136087643 # This bug is HP SR number 8606223364.
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; }; }
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; }
139387657 else
139397658 ac_cv_sizeof_size_t=0
139407659 fi
139417660 fi
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; }
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; }
139487665
139497666
139507667
139527669 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
139537670 _ACEOF
139547671
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; }
140097672
140107673 # The cast to long int works around a bug in the HP C Compiler
140117674 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
140127675 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
140137676 # This bug is HP SR number 8606223364.
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; }; }
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; }
143437690 else
143447691 ac_cv_sizeof_ptrdiff_t=0
143457692 fi
143467693 fi
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; }
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; }
143537698
143547699
143557700
143587703 _ACEOF
143597704
143607705
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
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
143717712 /* end confdefs.h. */
143727713
143737714 int
144277768 return 0;
144287769 }
144297770 _ACEOF
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
7771 if ac_fn_c_try_compile "$LINENO"; then :
144477772 ac_cv_c_const=yes
144487773 else
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
7774 ac_cv_c_const=no
7775 fi
144557776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
144567777 fi
14457 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14458 echo "${ECHO_T}$ac_cv_c_const" >&6; }
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7779 $as_echo "$ac_cv_c_const" >&6; }
144597780 if test $ac_cv_c_const = no; then
144607781
14461 cat >>confdefs.h <<\_ACEOF
14462 #define const
14463 _ACEOF
14464
14465 fi
14466
14467
14468
14469
7782 $as_echo "#define const /**/" >>confdefs.h
7783
7784 fi
144707785
144717786 for ac_func in memcmp memcpy memmove memset
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
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 :
7791 cat >>confdefs.h <<_ACEOF
7792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7793 _ACEOF
7794
7795 fi
7796 done
7797
7798
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
144847806 /* 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
7807
7808 #include <sys/types.h>
7809 #include <sys/ipc.h>
7810 #include <sys/sem.h>;
145157811
145167812 int
145177813 main ()
145187814 {
14519 return $ac_func ();
7815
7816 union semun semdat;
7817
145207818 ;
145217819 return 0;
145227820 }
145237821 _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
14557 cat >>confdefs.h <<_ACEOF
14558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14559 _ACEOF
14560
14561 fi
14562 done
14563
14564
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
14576 /* end confdefs.h. */
14577
14578 #include <sys/types.h>
14579 #include <sys/ipc.h>
14580 #include <sys/sem.h>;
14581
14582 int
14583 main ()
14584 {
14585
14586 union semun semdat;
14587
14588 ;
14589 return 0;
14590 }
14591 _ACEOF
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
7822 if ac_fn_c_try_compile "$LINENO"; then :
146097823 ac_cv_struct_semun=yes
146107824 else
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
7825 ac_cv_struct_semun=no
7826
7827 fi
146187828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
146197829
146207830
146217831 fi
146227832
146237833
14624 { echo "$as_me:$LINENO: result: $ac_cv_struct_semun" >&5
14625 echo "${ECHO_T}$ac_cv_struct_semun" >&6; }
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_semun" >&5
7835 $as_echo "$ac_cv_struct_semun" >&6; }
146267836 if test "$ac_cv_struct_semun" = "yes"; then
146277837
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
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
146487852 /* end confdefs.h. */
146497853
146507854 #include <stdio.h>
146627866 }
146637867
146647868 _ACEOF
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
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
147087886
147097887
147107888 #AC_CONFIG_FILES([Makefile])
147377915 case $ac_val in #(
147387916 *${as_nl}*)
147397917 case $ac_var in #(
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;} ;;
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;} ;;
147427920 esac
147437921 case $ac_var in #(
147447922 _ | IFS | as_nl) ;; #(
14745 *) $as_unset $ac_var ;;
7923 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7924 *) { eval $ac_var=; unset $ac_var;} ;;
147467925 esac ;;
147477926 esac
147487927 done
147507929 (set) 2>&1 |
147517930 case $as_nl`(ac_space=' '; set) 2>&1` in #(
147527931 *${as_nl}ac_space=\ *)
14753 # `set' does not quote correctly, so add quotes (double-quote
14754 # substitution turns \\\\ into \\, and sed turns \\ into \).
7932 # `set' does not quote correctly, so add quotes: double-quote
7933 # substitution turns \\\\ into \\, and sed turns \\ into \.
147557934 sed -n \
147567935 "s/'/'\\\\''/g;
147577936 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
147737952 :end' >>confcache
147747953 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
147757954 if test -w "$cache_file"; then
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
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
147807970 else
14781 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14782 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
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;}
147837973 fi
147847974 fi
147857975 rm -f confcache
147927982
147937983 ac_libobjs=
147947984 ac_ltlibobjs=
7985 U=
147957986 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
147967987 # 1. Remove the extension, and $U if already installed.
147977988 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14798 ac_i=`echo "$ac_i" | sed "$ac_script"`
7989 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
147997990 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
148007991 # will be set to the directory where LIBOBJS objects are built.
14801 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14802 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7992 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7993 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
148037994 done
148047995 LIBOBJS=$ac_libobjs
148057996
148067997 LTLIBOBJS=$ac_ltlibobjs
148077998
148087999
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
148098008 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
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; }; }
8009 as_fn_error $? "conditional \"AMDEP\" was never defined.
8010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148158011 fi
148168012 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
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; }; }
8013 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
8014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148228015 fi
148238016 if test -z "${FT2NFDUMP_TRUE}" && test -z "${FT2NFDUMP_FALSE}"; then
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; }; }
8017 as_fn_error $? "conditional \"FT2NFDUMP\" was never defined.
8018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148298019 fi
148308020 if test -z "${FT2NFDUMP_TRUE}" && test -z "${FT2NFDUMP_FALSE}"; then
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; }; }
8021 as_fn_error $? "conditional \"FT2NFDUMP\" was never defined.
8022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148368023 fi
148378024 if test -z "${NFPROFILE_TRUE}" && test -z "${NFPROFILE_FALSE}"; then
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; }; }
8025 as_fn_error $? "conditional \"NFPROFILE\" was never defined.
8026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148438027 fi
148448028 if test -z "${NFPROFILE_TRUE}" && test -z "${NFPROFILE_FALSE}"; then
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; }; }
8029 as_fn_error $? "conditional \"NFPROFILE\" was never defined.
8030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148508031 fi
148518032 if test -z "${NFTRACK_TRUE}" && test -z "${NFTRACK_FALSE}"; then
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; }; }
8033 as_fn_error $? "conditional \"NFTRACK\" was never defined.
8034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148578035 fi
148588036 if test -z "${NFTRACK_TRUE}" && test -z "${NFTRACK_FALSE}"; then
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; }; }
8037 as_fn_error $? "conditional \"NFTRACK\" was never defined.
8038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148648039 fi
148658040 if test -z "${SFLOW_TRUE}" && test -z "${SFLOW_FALSE}"; then
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; }; }
8041 as_fn_error $? "conditional \"SFLOW\" was never defined.
8042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
148718043 fi
148728044 if test -z "${READPCAP_TRUE}" && test -z "${READPCAP_FALSE}"; then
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}
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
148818052 ac_clean_files_save=$ac_clean_files
148828053 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14883 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14884 echo "$as_me: creating $CONFIG_STATUS" >&6;}
14885 cat >$CONFIG_STATUS <<_ACEOF
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
148868058 #! $SHELL
148878059 # Generated by $as_me.
148888060 # Run this file to recreate the current configuration.
148928064 debug=false
148938065 ac_cs_recheck=false
148948066 ac_cs_silent=false
8067
148958068 SHELL=\${CONFIG_SHELL-$SHELL}
14896 _ACEOF
14897
14898 cat >>$CONFIG_STATUS <<\_ACEOF
14899 ## --------------------- ##
14900 ## M4sh Initialization. ##
14901 ## --------------------- ##
8069 export SHELL
8070 _ASEOF
8071 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
8072 ## -------------------- ##
8073 ## M4sh Initialization. ##
8074 ## -------------------- ##
149028075
149038076 # Be more Bourne compatible
149048077 DUALCASE=1; export DUALCASE # for MKS sh
14905 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8078 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
149068079 emulate sh
149078080 NULLCMD=:
14908 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8081 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
149098082 # is contrary to our usage. Disable this feature.
149108083 alias -g '${1+"$@"}'='"$@"'
149118084 setopt NO_GLOB_SUBST
149128085 else
14913 case `(set -o) 2>/dev/null` in
14914 *posix*) set -o posix ;;
8086 case `(set -o) 2>/dev/null` in #(
8087 *posix*) :
8088 set -o posix ;; #(
8089 *) :
8090 ;;
149158091 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
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
149298132
149308133 # The user is always right.
149318134 if test "${PATH_SEPARATOR+set}" != set; then
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
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 }
149488140 fi
149498141
149508142
149538145 # there to prevent editors from complaining about space-tab.
149548146 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
149558147 # splitting by setting IFS to empty value.)
14956 as_nl='
14957 '
149588148 IFS=" "" $as_nl"
149598149
149608150 # Find who we are. Look in the path if we contain no directory separator.
14961 case $0 in
8151 as_myself=
8152 case $0 in #((
149628153 *[\\/]* ) as_myself=$0 ;;
149638154 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
149648155 for as_dir in $PATH
149658156 do
149668157 IFS=$as_save_IFS
149678158 test -z "$as_dir" && as_dir=.
14968 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14969 done
8159 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8160 done
149708161 IFS=$as_save_IFS
149718162
149728163 ;;
149778168 as_myself=$0
149788169 fi
149798170 if test ! -f "$as_myself"; then
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
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 || :
149878182 done
149888183 PS1='$ '
149898184 PS2='> '
149908185 PS4='+ '
149918186
149928187 # NLS nuisances.
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
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
150028208 fi
15003 done
15004
15005 # Required to use basename.
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
150068276 if expr a : '\(a\)' >/dev/null 2>&1 &&
150078277 test "X`expr 00001 : '.*\(...\)'`" = X001; then
150088278 as_expr=expr
150168286 as_basename=false
150178287 fi
150188288
15019
15020 # Name of the executable.
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
150218295 as_me=`$as_basename -- "$0" ||
150228296 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
150238297 X"$0" : 'X\(//\)$' \| \
150248298 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15025 echo X/"$0" |
8299 $as_echo X/"$0" |
150268300 sed '/^.*\/\([^/][^/]*\)\/*$/{
150278301 s//\1/
150288302 q
150378311 }
150388312 s/.*/./; q'`
150398313
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
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
150938320
150948321 ECHO_C= ECHO_N= ECHO_T=
15095 case `echo -n x` in
8322 case `echo -n x` in #(((((
150968323 -n*)
15097 case `echo 'x\c'` in
8324 case `echo 'xy\c'` in
150988325 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15099 *) ECHO_C='\c';;
8326 xy) ECHO_C='\c';;
8327 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
8328 ECHO_T=' ';;
151008329 esac;;
151018330 *)
151028331 ECHO_N='-n';;
151038332 esac
151048333
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
151128334 rm -f conf$$ conf$$.exe conf$$.file
151138335 if test -d conf$$.dir; then
151148336 rm -f conf$$.dir/conf$$.file
151158337 else
151168338 rm -f conf$$.dir
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 ||
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
151278353 as_ln_s='cp -p'
15128 elif ln conf$$.file conf$$ 2>/dev/null; then
15129 as_ln_s=ln
8354 fi
151308355 else
151318356 as_ln_s='cp -p'
151328357 fi
151338358 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
151348359 rmdir conf$$.dir 2>/dev/null
151358360
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
15323 {
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"
8361
8362 # as_fn_mkdir_p
8363 # -------------
8364 # Create "$as_dir" as a directory, including parents if necessary.
8365 as_fn_mkdir_p ()
8366 {
8367
156988368 case $as_dir in #(
156998369 -*) as_dir=./$as_dir;;
157008370 esac
15701 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8371 test -d "$as_dir" || eval $as_mkdir_p || {
157028372 as_dirs=
157038373 while :; do
157048374 case $as_dir in #(
15705 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8375 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
157068376 *) as_qdir=$as_dir;;
157078377 esac
157088378 as_dirs="'$as_qdir' $as_dirs"
157118381 X"$as_dir" : 'X\(//\)[^/]' \| \
157128382 X"$as_dir" : 'X\(//\)$' \| \
157138383 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15714 echo X"$as_dir" |
8384 $as_echo X"$as_dir" |
157158385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
157168386 s//\1/
157178387 q
157328402 test -d "$as_dir" && break
157338403 done
157348404 test -z "$as_dirs" || eval "mkdir $as_dirs"
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; }; }; }
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.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $, 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.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $
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
157389061 ac_builddir=.
157399062
157409063 case "$ac_dir" in
157419064 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
157429065 *)
15743 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9066 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
157449067 # A ".." for each directory in $ac_dir_suffix.
15745 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9068 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
157469069 case $ac_top_builddir_sub in
157479070 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
157489071 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
157879110 esac
157889111 _ACEOF
157899112
15790 cat >>$CONFIG_STATUS <<\_ACEOF
9113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
157919114 # If the template does not know about datarootdir, expand it.
157929115 # FIXME: This hack should be removed a few years after 2.60.
157939116 ac_datarootdir_hack=; ac_datarootdir_seen=
15794
15795 case `sed -n '/datarootdir/ {
9117 ac_sed_dataroot='
9118 /datarootdir/ {
157969119 p
157979120 q
157989121 }
158009123 /@docdir@/p
158019124 /@infodir@/p
158029125 /@localedir@/p
15803 /@mandir@/p
15804 ' $ac_file_inputs` in
9126 /@mandir@/p'
9127 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
158059128 *datarootdir*) ac_datarootdir_seen=yes;;
158069129 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
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
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
158119134 ac_datarootdir_hack='
158129135 s&@datadir@&$datadir&g
158139136 s&@docdir@&$docdir&g
158149137 s&@infodir@&$infodir&g
158159138 s&@localedir@&$localedir&g
158169139 s&@mandir@&$mandir&g
15817 s&\\\${datarootdir}&$datarootdir&g' ;;
9140 s&\\\${datarootdir}&$datarootdir&g' ;;
158189141 esac
158199142 _ACEOF
158209143
158219144 # Neutralize VPATH when `$srcdir' = `.'.
158229145 # Shell code in configure.ac might set extrasub.
158239146 # FIXME: do we really want to maintain this feature?
15824 cat >>$CONFIG_STATUS <<_ACEOF
15825 sed "$ac_vpsub
9147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9148 ac_sed_extra="$ac_vpsub
158269149 $extrasub
158279150 _ACEOF
15828 cat >>$CONFIG_STATUS <<\_ACEOF
9151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
158299152 :t
158309153 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15831 s&@configure_input@&$configure_input&;t t
9154 s|@configure_input@|$ac_sed_conf_input|;t t
158329155 s&@top_builddir@&$ac_top_builddir_sub&;t t
9156 s&@top_build_prefix@&$ac_top_build_prefix&;t t
158339157 s&@srcdir@&$ac_srcdir&;t t
158349158 s&@abs_srcdir@&$ac_abs_srcdir&;t t
158359159 s&@top_srcdir@&$ac_top_srcdir&;t t
158409164 s&@INSTALL@&$ac_INSTALL&;t t
158419165 s&@MKDIR_P@&$ac_MKDIR_P&;t t
158429166 $ac_datarootdir_hack
15843 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
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
158449170
158459171 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
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"
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"
158549181 case $ac_file in
15855 -) cat "$tmp/out"; rm -f "$tmp/out";;
15856 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
15857 esac
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
158589186 ;;
158599187 :H)
158609188 #
158619189 # CONFIG_HEADER
158629190 #
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
159419191 if test x"$ac_file" != x-; then
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;}
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;}
159479200 else
15948 rm -f $ac_file
15949 mv "$tmp/config.h" $ac_file
9201 rm -f "$ac_file"
9202 mv "$ac_tmp/config.h" "$ac_file" \
9203 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
159509204 fi
159519205 else
15952 echo "/* $configure_input */"
15953 cat "$ac_result"
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
159549209 fi
15955 rm -f "$tmp/out12"
15956 # Compute $ac_file's index in $config_headers.
9210 # Compute "$ac_file"'s index in $config_headers.
9211 _am_arg="$ac_file"
159579212 _am_stamp_count=1
159589213 for _am_header in $config_headers :; do
159599214 case $_am_header in
15960 $ac_file | $ac_file:* )
9215 $_am_arg | $_am_arg:* )
159619216 break ;;
159629217 * )
159639218 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
159649219 esac
159659220 done
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 |
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" |
159729227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
159739228 s//\1/
159749229 q
159889243 s/.*/./; q'`/stamp-h$_am_stamp_count
159899244 ;;
159909245
15991 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
15992 echo "$as_me: executing $ac_file commands" >&6;}
9246 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9247 $as_echo "$as_me: executing $ac_file commands" >&6;}
159939248 ;;
159949249 esac
159959250
159969251
159979252 case $ac_file$ac_mode in
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" ||
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" ||
160109275 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
160119276 X"$mf" : 'X\(//\)[^/]' \| \
160129277 X"$mf" : 'X\(//\)$' \| \
160139278 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16014 echo X"$mf" |
9279 $as_echo X"$mf" |
160159280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
160169281 s//\1/
160179282 q
160299294 q
160309295 }
160319296 s/.*/./; q'`
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" ||
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" ||
160549319 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
160559320 X"$file" : 'X\(//\)[^/]' \| \
160569321 X"$file" : 'X\(//\)$' \| \
160579322 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16058 echo X"$file" |
9323 $as_echo X"$file" |
160599324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
160609325 s//\1/
160619326 q
160739338 q
160749339 }
160759340 s/.*/./; q'`
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
9341 as_dir=$dirpart/$fdir; as_fn_mkdir_p
9342 # echo "creating $dirpart/$file"
9343 echo '# dummy' > "$dirpart/$file"
161129344 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"
161199345 done
16120 done
9346 }
161219347 ;;
161229348
161239349 esac
161249350 done # for ac_tag
161259351
161269352
16127 { (exit 0); exit 0; }
16128 _ACEOF
16129 chmod +x $CONFIG_STATUS
9353 as_fn_exit 0
9354 _ACEOF
161309355 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
161319359
161329360
161339361 # configure is writing to config.log, and then calls config.status.
161489376 exec 5>>config.log
161499377 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
161509378 # would make configure fail if this is the last instruction.
16151 $ac_cs_success || { (exit 1); exit 1; }
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;}
161529384 fi
161539385
161549386
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.5 $Date: 2011-12-30 15:36:48 +0100 (Fri, 30 Dec 2011) $, phaag@users.sourceforge.net)
4 AC_REVISION($Revision: 88 $)dnl
5 AC_INIT(nfdump, 1.6.6 $Date: 2012-03-11 11:57:45 +0100 (Sun, 11 Mar 2012) $, phaag@users.sourceforge.net)
66 #AC_CONFIG_SRCDIR([grammar.y])
77 AC_CONFIG_HEADER([config.h])
88 AM_INIT_AUTOMAKE()
5555 CFLAGS="$CFLAGS -DCOMPAT15"
5656 fi
5757
58 +AC_ARG_ENABLE(fixtimebug,
58 AC_ARG_ENABLE(fixtimebug,
5959 [ --enable-fixtimebug enable code for swap time bug of some v5 exporters; default is NO])
6060
6161 if test "${enable_fixtimebug}" = "yes" ; then
00 #! /bin/sh
11 # depcomp - compile a program generating dependencies as side-effects
22
3 scriptversion=2006-10-15.18
4
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
6 # Foundation, Inc.
3 scriptversion=2009-04-28.21; # UTC
4
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
6 # Software 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, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 # 02110-1301, USA.
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
2220
2321 # As a special exception to the GNU General Public License, if you
2422 # distribute this file as part of a program that contains a
8482 # This is just like dashmstdout with a different argument.
8583 dashmflag=-xM
8684 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
8794 fi
8895
8996 case "$depmode" in
191198 ' < "$tmpdepfile" \
192199 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
193200 tr '
194 ' ' ' >> $depfile
195 echo >> $depfile
201 ' ' ' >> "$depfile"
202 echo >> "$depfile"
196203
197204 # The second pass generates a dummy entry for each header file.
198205 tr ' ' '
199206 ' < "$tmpdepfile" \
200207 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
201 >> $depfile
208 >> "$depfile"
202209 else
203210 # The sourcefile does not contain any dependencies, so just
204211 # store a dummy comment line, to avoid errors with the Makefile
214221 # current directory. Also, the AIX compiler puts `$object:' at the
215222 # start of each line; $object doesn't have directory information.
216223 # Version 6 uses the directory in both cases.
217 stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
218 tmpdepfile="$stripped.u"
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$//'`
219227 if test "$libtool" = yes; then
228 tmpdepfile1=$dir$base.u
229 tmpdepfile2=$base.u
230 tmpdepfile3=$dir.libs/$base.u
220231 "$@" -Wc,-M
221232 else
233 tmpdepfile1=$dir$base.u
234 tmpdepfile2=$dir$base.u
235 tmpdepfile3=$dir$base.u
222236 "$@" -M
223237 fi
224238 stat=$?
225239
226 if test -f "$tmpdepfile"; then :
227 else
228 stripped=`echo "$stripped" | sed 's,^.*/,,'`
229 tmpdepfile="$stripped.u"
230 fi
231
232240 if test $stat -eq 0; then :
233241 else
234 rm -f "$tmpdepfile"
242 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
235243 exit $stat
236244 fi
237245
246 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
247 do
248 test -f "$tmpdepfile" && break
249 done
238250 if test -f "$tmpdepfile"; then
239 outname="$stripped.o"
240251 # Each line is of the form `foo.o: dependent.h'.
241252 # Do two passes, one to just change these to
242253 # `$object: dependent.h' and one to simply `dependent.h:'.
243 sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
244 sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
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"
245257 else
246258 # The sourcefile does not contain any dependencies, so just
247259 # store a dummy comment line, to avoid errors with the Makefile
322334 if test -f "$tmpdepfile"; then
323335 sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
324336 # Add `dependent.h:' lines.
325 sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile"
337 sed -ne '2,${
338 s/^ *//
339 s/ \\*$//
340 s/$/:/
341 p
342 }' "$tmpdepfile" >> "$depfile"
326343 else
327344 echo "#dummy" > "$depfile"
328345 fi
398415
399416 # Remove the call to Libtool.
400417 if test "$libtool" = yes; then
401 while test $1 != '--mode=compile'; do
418 while test "X$1" != 'X--mode=compile'; do
402419 shift
403420 done
404421 shift
449466 "$@" || exit $?
450467 # Remove any Libtool call
451468 if test "$libtool" = yes; then
452 while test $1 != '--mode=compile'; do
469 while test "X$1" != 'X--mode=compile'; do
453470 shift
454471 done
455472 shift
456473 fi
457474 # X makedepend
458475 shift
459 cleared=no
460 for arg in "$@"; do
476 cleared=no eat=no
477 for arg
478 do
461479 case $cleared in
462480 no)
463481 set ""; shift
464482 cleared=yes ;;
465483 esac
484 if test $eat = yes; then
485 eat=no
486 continue
487 fi
466488 case "$arg" in
467489 -D*|-I*)
468490 set fnord "$@" "$arg"; shift ;;
469491 # Strip any option that makedepend may not understand. Remove
470492 # the object too, otherwise makedepend will parse it as a source file.
493 -arch)
494 eat=yes ;;
471495 -*|$object)
472496 ;;
473497 *)
474498 set fnord "$@" "$arg"; shift ;;
475499 esac
476500 done
477 obj_suffix="`echo $object | sed 's/^.*\././'`"
501 obj_suffix=`echo "$object" | sed 's/^.*\././'`
478502 touch "$tmpdepfile"
479503 ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
480504 rm -f "$depfile"
494518
495519 # Remove the call to Libtool.
496520 if test "$libtool" = yes; then
497 while test $1 != '--mode=compile'; do
521 while test "X$1" != 'X--mode=compile'; do
498522 shift
499523 done
500524 shift
532556
533557 msvisualcpp)
534558 # Important note: in order to support this mode, a compiler *must*
535 # always write the preprocessed file to stdout, regardless of -o,
536 # because we must use -o when running libtool.
559 # always write the preprocessed file to stdout.
537560 "$@" || 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
538570 IFS=" "
539571 for arg
540572 do
541573 case "$arg" in
574 -o)
575 shift
576 ;;
577 $object)
578 shift
579 ;;
542580 "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
543581 set fnord "$@"
544582 shift
551589 ;;
552590 esac
553591 done
554 "$@" -E |
555 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
592 "$@" -E 2>/dev/null |
593 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
556594 rm -f "$depfile"
557595 echo "$object : \\" > "$depfile"
558 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
596 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
559597 echo " " >> "$depfile"
560 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
598 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
561599 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
562607 ;;
563608
564609 none)
579624 # eval: (add-hook 'write-file-hooks 'time-stamp)
580625 # time-stamp-start: "scriptversion="
581626 # time-stamp-format: "%:y-%02m-%02d.%02H"
582 # time-stamp-end: "$"
627 # time-stamp-time-zone: "UTC"
628 # time-stamp-end: "; # UTC"
583629 # End:
+0
-322
extra/PortTracker.pm.orig less more
0 #!/usr/bin/perl
1 #
2 # Copyright (c) 2004, SWITCH - Teleinformatikdienste fuer Lehre und Forschung
3 # All rights reserved.
4 #
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are met:
7 #
8 # * Redistributions of source code must retain the above copyright notice,
9 # this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above copyright notice,
11 # this list of conditions and the following disclaimer in the documentation
12 # and/or other materials provided with the distribution.
13 # * Neither the name of SWITCH nor the names of its contributors may be
14 # used to endorse or promote products derived from this software without
15 # specific prior written permission.
16 #
17 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
21 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 # POSSIBILITY OF SUCH DAMAGE.
28 #
29 # $Author: haag $
30 #
31 # $Id: PortTracker.pm 67 2010-09-09 05:56:05Z haag $
32 #
33 # $LastChangedRevision: 67 $
34
35 # Demo plugin for NfSen
36 #
37 # This plugin demonstrates the use of plugins
38
39 package PortTracker;
40
41 use strict;
42 use NfSen;
43 use NfConf;
44
45 #
46 # The plugin may send any messages to syslog
47 # Do not initialize syslog, as this is done by
48 # the main process nfsen-run
49 use Sys::Syslog;
50
51 our $VERSION = 130;
52
53 our %cmd_lookup = (
54 'get-portgraph' => \&GetPortGraph,
55 'get-topN' => \&GetTopN,
56 );
57
58 my ( $nftrack, $PROFILEDATADIR );
59
60 my $PORTSDBDIR = "/data/ports-db";
61
62 my $EODATA = ".\n";
63
64 # colours used in graphs
65 # if more than 12 graphs are drawn ( does this really make sense ? )
66 # the same colours are used again
67 my @colour = (
68 '#ff0000', '#ff8000', '#ffff00', '#80ff00', '#00ff00',
69 '#00ff80', '#00ffff', '#0080ff', '#0000ff', '#8000ff',
70 '#ff00ff', '#ff0080'
71 );
72
73
74 sub GetTopN {
75 my $socket = shift;
76 my $opts = shift;
77
78 my $interval;
79 if ( !exists $$opts{'interval'} ) {
80 $interval = 1;
81 } else {
82 $interval = $$opts{'interval'};
83 }
84 print $socket ".Get topN ports\n";
85
86 my $statfile = $interval == 24 ? 'portstat24.txt' : 'portstat.txt';
87 print $socket ".topN ports $PORTSDBDIR/$statfile\n";
88 if ( !open STAT, "$PORTSDBDIR/$statfile" ) {
89 print $socket $EODATA;
90 print $socket "ERR Open statfile '$PORTSDBDIR/$statfile': $!\n";
91 return;
92 }
93
94 print $socket ".topN read ports\n";
95 while ( <STAT> ) {
96 chomp;
97 print $socket "_topN=$_\n";
98 }
99 print $socket $EODATA;
100 print $socket "OK Command completed\n",
101
102 } # End of GetPortGraph
103
104 sub GetPortGraph {
105 my $socket = shift;
106 my $opts = shift;
107
108 # get all arguments:
109 # Example:
110 # proto typw logscale light tstart tend topN track_list
111 # tcp flows 0 0 1116495000 1116581400 '22 445 135 1433' '80 143'
112 if ( !exists $$opts{'arg'} ) {
113 print $socket $EODATA;
114 print $socket "ERR Missing Arguments.\n";
115 }
116 my $ARGS = $$opts{'arg'};
117 my $proto = shift @$ARGS; # 'tcp' or 'udp'
118 my $type = shift @$ARGS; # 'flows', 'packets' or 'bytes'
119 my $logscale = shift @$ARGS; # 0 or 1
120 my $stacked = shift @$ARGS; # 0 or 1
121 my $light = shift @$ARGS; # 0 or 1
122 my $tstart = shift @$ARGS; # start time - UNIX format
123 my $tend = shift @$ARGS; # end time - UNIX format
124 my $topN = shift @$ARGS; # TopN port list: string: ' ' separated port list
125 my $track_list = shift @$ARGS; # Static track port list: string: ' ' separated port list
126 my $skip_list = shift @$ARGS; # Static skip port list: string: ' ' separated port list
127
128 if ( !defined $proto || !defined $type || !defined $logscale || !defined $stacked ||
129 !defined $light || !defined $tstart || !defined $tend || !defined $topN ||
130 !defined $track_list || !defined $skip_list ) {
131 print $socket $EODATA;
132 print $socket "ERR Argument Error.\n";
133 return;
134 }
135 my @skipPorts = split '-', $skip_list;
136
137 my @topN = split '-', $topN;
138 my @track_list = split '-', $track_list;
139
140 # remove the common ports in both lists from the dynamic topN list
141 my %_tmp;
142 @_tmp{@track_list} = @track_list;
143 delete @_tmp{@topN};
144 @track_list = sort keys %_tmp;
145
146 # %_tmp = ();
147 # @_tmp{@topN} = @topN;
148 # delete @_tmp{@skipPorts};
149 # @topN = keys %_tmp;
150
151 %_tmp = ();
152 my @_tmp;
153 @_tmp{@skipPorts} = @skipPorts;
154 foreach my $port ( @topN ) {
155 push @_tmp, $port unless exists $_tmp{$port};
156 }
157 @topN = @_tmp;
158
159 my $datestr = scalar localtime($tstart) . " - " . scalar localtime($tend);
160 my $title = uc($proto) . " " . ucfirst($type);
161
162 my @DEFS = ();
163
164 # Compile rrd args
165 my @rrdargs = ();
166 push @rrdargs, "-"; # output graphics to stdout
167
168 foreach my $port ( @topN, @track_list ) {
169 # assemble filename
170 my $fileident = $port >> 10;
171 my $rrdfile = "$PORTSDBDIR/${proto}-${type}-$fileident.rrd";
172 # which ident in this rrd file
173 my $ident = $port & 1023; # 0x0000001111111111 mask
174 push @rrdargs, "DEF:Port${port}=$rrdfile:p${ident}:AVERAGE";
175 }
176
177 push @rrdargs, "--start", "$tstart";
178 push @rrdargs, "--end", "$tend";
179 push @rrdargs, "--title", "$datestr - $title" unless $light;
180 push @rrdargs, "--vertical-label", "$title" unless $light;
181
182 # lin or log graph?
183 push @rrdargs, "--logarithmic" if $logscale;
184
185 if ( $light ) {
186 push @rrdargs, "-w";
187 push @rrdargs, "288";
188 push @rrdargs, "-h";
189 push @rrdargs, "150";
190 push @rrdargs, "--no-legend"; # no legend in small pictures
191 } else {
192 push @rrdargs, "-w";
193 push @rrdargs, "576";
194 push @rrdargs, "-h";
195 push @rrdargs, "300";
196 }
197
198
199 my $i=0;
200 my $area_set = 0;
201 my $n = scalar @topN;
202 push @rrdargs, "COMMENT:Top $n Ports\\n";
203 if ( $stacked && scalar @topN ) {
204 my $port = shift @topN;
205 push @rrdargs, "AREA:Port${port}$colour[$i]:Port ${port}";
206 $i++;
207 $area_set = 1;
208 foreach my $port ( @topN ) {
209 push @rrdargs, "STACK:Port${port}$colour[$i]:Port ${port}";
210 $i++;
211 }
212
213 } else {
214 foreach my $port ( @topN ) {
215 push @rrdargs, "LINE1:Port${port}$colour[$i]:Port ${port}";
216 $i++;
217 }
218 }
219
220 if ( scalar @track_list) {
221 push @rrdargs, "COMMENT:\\n";
222 push @rrdargs, "COMMENT:\\n";
223 push @rrdargs, "COMMENT:Tracked Ports\\n";
224 }
225 if ( $stacked && scalar @track_list) {
226 if ( !$area_set ) {
227 my $port = shift @track_list;
228 push @rrdargs, "AREA:Port${port}$colour[$i]:Port ${port}";
229 $i++;
230 }
231 foreach my $port ( @track_list ) {
232 push @rrdargs, "STACK:Port${port}$colour[$i]:Port ${port}";
233 $i++;
234 }
235
236 } else {
237 foreach my $port ( @track_list ) {
238 push @rrdargs, "LINE2:Port${port}$colour[$i]:Port ${port}";
239 $i++;
240 }
241 }
242 if ( scalar @skipPorts) {
243 push @rrdargs, "COMMENT:\\n";
244 push @rrdargs, "COMMENT:\\n";
245 my $portlist = join ',', @skipPorts;
246 push @rrdargs, "COMMENT:Skipped Ports $portlist\\n";
247 }
248 my ($averages,$xsize,$ysize) = RRDs::graph( @rrdargs );
249
250 if (my $ERROR = RRDs::error) {
251 print "ERROR: $ERROR\n";
252 }
253
254 } # End of GenPortGraph
255
256
257 sub nftrack_execute {
258 my $command = shift;
259
260 syslog('debug', $command);
261
262 my $ret = system($command);
263 if ( $ret == - 1 ) {
264 syslog('err', "Failed to execute nftrack: $!\n");
265 } elsif ($ret & 127) {
266 syslog('err', "nftrack died with signal %d, %s coredump\n", ($ret & 127), ($ret & 128) ? 'with' : 'without');
267 } else {
268 syslog('debug', "nftrack exited with value %d\n", $ret >> 8);
269 }
270
271 } # End of nftrack_execute
272
273 #
274 # Periodic function
275 # input: hash reference including the items:
276 # 'profile' profile name
277 # 'profilegroup' profile group
278 # 'timeslot' time of slot to process: Format yyyymmddHHMM e.g. 200503031200
279 sub run {
280 my $argref = shift;
281
282 my $profile = $$argref{'profile'};
283 my $profilegroup = $$argref{'profilegroup'};
284 my $timeslot = $$argref{'timeslot'};
285
286 syslog('debug', "PortTracker run: Profile: $profile, Time: $timeslot");
287
288 my %profileinfo = NfProfile::ReadProfile($profile);
289 my $netflow_sources = "$PROFILEDATADIR/$profile/$profileinfo{'sourcelist'}";
290
291 #
292 # process all sources of this profile at once
293 my $command = "$nftrack -L $NfConf::syslog_facility -M $netflow_sources -r nfcapd.$timeslot -d $PORTSDBDIR -A -t $timeslot -s -p -w $PORTSDBDIR/portstat.txt";
294 nftrack_execute($command);
295
296 $command = "$nftrack -d $PORTSDBDIR -S -p -w $PORTSDBDIR/portstat24.txt";
297 nftrack_execute($command);
298
299 #
300 # Process the output and notify the duty team
301
302 syslog('debug', "PortTracker run: Done.");
303
304 } # End of run
305
306 sub Init {
307 syslog("info", "PortTracker: Init");
308
309 # Init some vars
310 $nftrack = "$NfConf::PREFIX/nftrack";
311 $PROFILEDATADIR = "$NfConf::PROFILEDATADIR";
312
313 return 1;
314 }
315
316 sub Cleanup {
317 syslog("info", "PortTracker Cleanup");
318 # not used here
319 }
320
321 1;
extra/nftrack.tgz less more
Binary diff not shown
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2006-10-14.15
3 scriptversion=2009-04-28.21; # UTC
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 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=
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
7081 posix_mkdir=
7182
7283 # Desired mode of installed file.
7384 mode=0755
7485
86 chgrpcmd=
7587 chmodcmd=$chmodprog
7688 chowncmd=
77 chgrpcmd=
89 mvcmd=$mvprog
90 rmcmd="$rmprog -f"
7891 stripcmd=
79 rmcmd="$rmprog -f"
80 mvcmd="$mvprog"
92
8193 src=
8294 dst=
8395 dir_arg=
84 dstarg=
96 dst_arg=
97
98 copy_on_change=false
8599 no_target_directory=
86100
87 usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
101 usage="\
102 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
88103 or: $0 [OPTION]... SRCFILES... DIRECTORY
89104 or: $0 [OPTION]... -t DIRECTORY SRCFILES...
90105 or: $0 [OPTION]... -d DIRECTORIES...
94109 In the 4th, create DIRECTORIES.
95110
96111 Options:
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.
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.
107124
108125 Environment variables override the default commands:
109 CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
126 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
127 RMPROG STRIPPROG
110128 "
111129
112130 while test $# -ne 0; do
113131 case $1 in
114 -c) shift
115 continue;;
116
117 -d) dir_arg=true
118 shift
119 continue;;
132 -c) ;;
133
134 -C) copy_on_change=true;;
135
136 -d) dir_arg=true;;
120137
121138 -g) chgrpcmd="$chgrpprog $2"
122 shift
123 shift
124 continue;;
139 shift;;
125140
126141 --help) echo "$usage"; exit $?;;
127142
128143 -m) mode=$2
129 shift
130 shift
131144 case $mode in
132145 *' '* | *' '* | *'
133146 '* | *'*'* | *'?'* | *'['*)
134147 echo "$0: invalid mode: $mode" >&2
135148 exit 1;;
136149 esac
137 continue;;
150 shift;;
138151
139152 -o) chowncmd="$chownprog $2"
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;;
153 shift;;
154
155 -s) stripcmd=$stripprog;;
156
157 -t) dst_arg=$2
158 shift;;
159
160 -T) no_target_directory=true;;
156161
157162 --version) echo "$0 $scriptversion"; exit $?;;
158163
164169
165170 *) break;;
166171 esac
172 shift
167173 done
168174
169 if test $# -ne 0 && test -z "$dir_arg$dstarg"; then
175 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
170176 # When -d is used, all remaining arguments are directories to create.
171177 # When -t is used, the destination is already specified.
172178 # Otherwise, the last argument is the destination. Remove it from $@.
173179 for arg
174180 do
175 if test -n "$dstarg"; then
181 if test -n "$dst_arg"; then
176182 # $@ is not empty: it contains at least $arg.
177 set fnord "$@" "$dstarg"
183 set fnord "$@" "$dst_arg"
178184 shift # fnord
179185 fi
180186 shift # arg
181 dstarg=$arg
187 dst_arg=$arg
182188 done
183189 fi
184190
223229 do
224230 # Protect names starting with `-'.
225231 case $src in
226 -*) src=./$src ;;
232 -*) src=./$src;;
227233 esac
228234
229235 if test -n "$dir_arg"; then
241247 exit 1
242248 fi
243249
244 if test -z "$dstarg"; then
250 if test -z "$dst_arg"; then
245251 echo "$0: no destination specified." >&2
246252 exit 1
247253 fi
248254
249 dst=$dstarg
255 dst=$dst_arg
250256 # Protect names starting with `-'.
251257 case $dst in
252 -*) dst=./$dst ;;
258 -*) dst=./$dst;;
253259 esac
254260
255261 # If destination is a directory, append the input filename; won't work
256262 # if double slashes aren't ignored.
257263 if test -d "$dst"; then
258264 if test -n "$no_target_directory"; then
259 echo "$0: $dstarg: Is a directory" >&2
265 echo "$0: $dst_arg: Is a directory" >&2
260266 exit 1
261267 fi
262268 dstdir=$dst
377383 # directory the slow way, step by step, checking for races as we go.
378384
379385 case $dstdir in
380 /*) prefix=/ ;;
381 -*) prefix=./ ;;
382 *) prefix= ;;
386 /*) prefix='/';;
387 -*) prefix='./';;
388 *) prefix='';;
383389 esac
384390
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
391 eval "$initialize_posix_glob"
393392
394393 oIFS=$IFS
395394 IFS=/
396 $posix_glob && set -f
395 $posix_glob set -f
397396 set fnord $dstdir
398397 shift
399 $posix_glob && set +f
398 $posix_glob set +f
400399 IFS=$oIFS
401400
402401 prefixes=
458457 # ignore errors from any of these, just make sure not to ignore
459458 # errors from the above "$doit $cpprog $src $dsttmp" command.
460459 #
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
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
496508
497509 trap '' 0
498510 fi
502514 # eval: (add-hook 'write-file-hooks 'time-stamp)
503515 # time-stamp-start: "scriptversion="
504516 # time-stamp-format: "%:y-%02m-%02d.%02H"
505 # time-stamp-end: "$"
517 # time-stamp-time-zone: "UTC"
518 # time-stamp-end: "; # UTC"
506519 # End:
0 # Makefile.in generated by automake 1.10 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
5 # Inc.
56 # This Makefile.in is free software; the Free Software Foundation
67 # gives unlimited permission to copy and/or distribute it,
78 # with or without modifications, as long as this notice is preserved.
1415 @SET_MAKE@
1516 VPATH = @srcdir@
1617 pkgdatadir = $(datadir)/@PACKAGE@
18 pkgincludedir = $(includedir)/@PACKAGE@
1719 pkglibdir = $(libdir)/@PACKAGE@
18 pkgincludedir = $(includedir)/@PACKAGE@
20 pkglibexecdir = $(libexecdir)/@PACKAGE@
1921 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
2022 install_sh_DATA = $(install_sh) -c -m 644
2123 install_sh_PROGRAM = $(install_sh) -c
3840 mkinstalldirs = $(install_sh) -d
3941 CONFIG_HEADER = $(top_builddir)/config.h
4042 CONFIG_CLEAN_FILES =
43 CONFIG_CLEAN_VPATH_FILES =
4144 SOURCES =
4245 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'
4367 man1dir = $(mandir)/man1
4468 am__installdirs = "$(DESTDIR)$(man1dir)"
4569 NROFF = nroff
89113 PACKAGE_NAME = @PACKAGE_NAME@
90114 PACKAGE_STRING = @PACKAGE_STRING@
91115 PACKAGE_TARNAME = @PACKAGE_TARNAME@
116 PACKAGE_URL = @PACKAGE_URL@
92117 PACKAGE_VERSION = @PACKAGE_VERSION@
93118 PATH_SEPARATOR = @PATH_SEPARATOR@
94119 RRD_LIBS = @RRD_LIBS@
137162 srcdir = @srcdir@
138163 sysconfdir = @sysconfdir@
139164 target_alias = @target_alias@
165 top_build_prefix = @top_build_prefix@
140166 top_builddir = @top_builddir@
141167 top_srcdir = @top_srcdir@
142168 dist_man_MANS = ft2nfdump.1 nfcapd.1 nfdump.1 nfexpire.1 nfprofile.1 nfreplay.1 nfanon.1 \
149175 @for dep in $?; do \
150176 case '$(am__configure_deps)' in \
151177 *$$dep*) \
152 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
153 && exit 0; \
178 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
179 && { if test -f $@; then exit 0; else break; fi; }; \
154180 exit 1;; \
155181 esac; \
156182 done; \
157 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \
158 cd $(top_srcdir) && \
159 $(AUTOMAKE) --gnu man/Makefile
183 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \
184 $(am__cd) $(top_srcdir) && \
185 $(AUTOMAKE) --gnu man/Makefile
160186 .PRECIOUS: Makefile
161187 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
162188 @case '$?' in \
174200 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
175201 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
176202 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
177 install-man1: $(man1_MANS) $(man_MANS)
203 $(am__aclocal_m4_deps):
204 install-man1: $(dist_man_MANS)
178205 @$(NORMAL_INSTALL)
179206 test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
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; \
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; \
186223 done; \
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
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
201231 uninstall-man1:
202232 @$(NORMAL_UNINSTALL)
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
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; }
222242 tags: TAGS
223243 TAGS:
224244
227247
228248
229249 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
230263 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
231264 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
232265 list='$(DISTFILES)'; \
242275 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
243276 if test -d $$d/$$file; then \
244277 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 {} \;; \
280 fi; \
245281 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
246 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
282 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
283 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
247284 fi; \
248 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
285 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
249286 else \
250 test -f $(distdir)/$$file \
251 || cp -p $$d/$$file $(distdir)/$$file \
287 test -f "$(distdir)/$$file" \
288 || cp -p $$d/$$file "$(distdir)/$$file" \
252289 || exit 1; \
253290 fi; \
254291 done
279316
280317 distclean-generic:
281318 -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)
282320
283321 maintainer-clean-generic:
284322 @echo "This command is intended for maintainers to use"
297335
298336 html: html-am
299337
338 html-am:
339
300340 info: info-am
301341
302342 info-am:
305345
306346 install-dvi: install-dvi-am
307347
348 install-dvi-am:
349
308350 install-exec-am:
309351
310352 install-html: install-html-am
311353
354 install-html-am:
355
312356 install-info: install-info-am
313357
358 install-info-am:
359
314360 install-man: install-man1
315361
316362 install-pdf: install-pdf-am
317363
364 install-pdf-am:
365
318366 install-ps: install-ps-am
367
368 install-ps-am:
319369
320370 installcheck-am:
321371
352402 mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
353403 uninstall-am uninstall-man uninstall-man1
354404
405
355406 # Tell versions [3.59,3.63) of GNU make to not export all variables.
356407 # Otherwise a system limit (for SysV at least) may be exceeded.
357408 .NOEXPORT:
1111 5 min \- according the timestamp YYYYMMddhhmm of the interval e.g.
1212 nfcapd.200907110845 contains the data from July 11th 2009 08:45 onward.
1313 .P
14 Netflow version v1, v5, v7 and v9 are transparently supported.
14 Netflow version v1, v5, v7 and v9 and IPFIX are transparently supported.
15 IPFIX support is experimental for this release.
1516 .P
1617 Extensions: nfcapd supports a large number of v9 tags. In order to optimise
1718 disk space and performance, v9 tags are grouped into a number of extensions
422423 .PD
423424 32 and 64 bit are supported for all counters. 32it AS numbers are supported.
424425 .P
426 IPFIX support is experimental. Due to lack of implementation of sampling
427 in many IPFIX exporters, sampling for IPFIX is not yet supported.
428 .P
425429 The format of the data files is netflow version independent.
426430 .P
427431 Socket buffer: Setting the socket buffer size is system dependent.
00 #! /bin/sh
11 # Common stub for a few missing GNU programs while installing.
22
3 scriptversion=2006-05-10.23
4
5 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
6 # Free Software Foundation, Inc.
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.
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, write to the Free Software
21 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 # 02110-1301, USA.
20 # along with this program. If not, see <http://www.gnu.org/licenses/>.
2321
2422 # As a special exception to the GNU General Public License, if you
2523 # distribute this file as part of a program that contains a
8886 tar try tar, gnutar, gtar, then tar without non-portable flags
8987 yacc create \`y.tab.[ch]', if possible, from existing .[ch]
9088
89 Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
90 \`g' are ignored when checking the name.
91
9192 Send bug reports to <bug-automake@gnu.org>."
9293 exit $?
9394 ;;
105106
106107 esac
107108
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
108115 # Now exit if we have it, but it failed. Also exit now if we
109116 # don't have it and --version was passed (most likely to detect
110 # the program).
117 # the program). This is about non-GNU programs, so use $1 not
118 # $program.
111119 case $1 in
112 lex|yacc)
120 lex*|yacc*)
113121 # Not GNU programs, they don't have --version.
114122 ;;
115123
116 tar)
124 tar*)
117125 if test -n "$run"; then
118126 echo 1>&2 "ERROR: \`tar' requires --run"
119127 exit 1
137145
138146 # If it does not exist, or fails to run (possibly an outdated version),
139147 # try to emulate it.
140 case $1 in
148 case $program in
141149 aclocal*)
142150 echo 1>&2 "\
143151 WARNING: \`$1' is $msg. You should only need it if
147155 touch aclocal.m4
148156 ;;
149157
150 autoconf)
158 autoconf*)
151159 echo 1>&2 "\
152160 WARNING: \`$1' is $msg. You should only need it if
153161 you modified \`${configure_ac}'. You might want to install the
156164 touch configure
157165 ;;
158166
159 autoheader)
167 autoheader*)
160168 echo 1>&2 "\
161169 WARNING: \`$1' is $msg. You should only need it if
162170 you modified \`acconfig.h' or \`${configure_ac}'. You might want
186194 while read f; do touch "$f"; done
187195 ;;
188196
189 autom4te)
197 autom4te*)
190198 echo 1>&2 "\
191199 WARNING: \`$1' is needed, but is $msg.
192200 You might have modified some files without having the
209217 fi
210218 ;;
211219
212 bison|yacc)
220 bison*|yacc*)
213221 echo 1>&2 "\
214222 WARNING: \`$1' $msg. You should only need it if
215223 you modified a \`.y' file. You may need the \`Bison' package
239247 fi
240248 ;;
241249
242 lex|flex)
250 lex*|flex*)
243251 echo 1>&2 "\
244252 WARNING: \`$1' is $msg. You should only need it if
245253 you modified a \`.l' file. You may need the \`Flex' package
262270 fi
263271 ;;
264272
265 help2man)
273 help2man*)
266274 echo 1>&2 "\
267275 WARNING: \`$1' is $msg. You should only need it if
268276 you modified a dependency of a manual page. You may need the
276284 else
277285 test -z "$file" || exec >$file
278286 echo ".ab help2man is required to generate this page"
279 exit 1
280 fi
281 ;;
282
283 makeinfo)
287 exit $?
288 fi
289 ;;
290
291 makeinfo*)
284292 echo 1>&2 "\
285293 WARNING: \`$1' is $msg. You should only need it if
286294 you modified a \`.texi' or \`.texinfo' file, or any other file
309317 touch $file
310318 ;;
311319
312 tar)
320 tar*)
313321 shift
314322
315323 # We have already tried tar in the generic part.
362370 # eval: (add-hook 'write-file-hooks 'time-stamp)
363371 # time-stamp-start: "scriptversion="
364372 # time-stamp-format: "%:y-%02m-%02d.%02H"
365 # time-stamp-end: "$"
373 # time-stamp-time-zone: "UTC"
374 # time-stamp-end: "; # UTC"
366375 # End:
00 #! /bin/sh
11 # ylwrap - wrapper for lex/yacc invocations.
22
3 scriptversion=2005-05-14.22
4
5 # Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005
6 # Free Software Foundation, Inc.
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.
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, write to the Free Software
22 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 # 02110-1301, USA.
21 # along with this program. If not, see <http://www.gnu.org/licenses/>.
2422
2523 # As a special exception to the GNU General Public License, if you
2624 # distribute this file as part of a program that contains a
10098 # FIXME: add hostname here for parallel makes that run commands on
10199 # other machines. But that might take us over the 14-char limit.
102100 dirname=ylwrap$$
103 trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
101 trap "cd '`pwd`'; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
104102 mkdir $dirname || exit 1
105103
106104 cd $dirname
107105
108106 case $# in
109 0) $prog "$input" ;;
110 *) $prog "$@" "$input" ;;
107 0) "$prog" "$input" ;;
108 *) "$prog" "$@" "$input" ;;
111109 esac
112110 ret=$?
113111
218216 # eval: (add-hook 'write-file-hooks 'time-stamp)
219217 # time-stamp-start: "scriptversion="
220218 # time-stamp-format: "%:y-%02m-%02d.%02H"
221 # time-stamp-end: "$"
219 # time-stamp-time-zone: "UTC"
220 # time-stamp-end: "; # UTC"
222221 # End: