root/configure

Revision 7, 192.7 KB (checked in by nick, 3 years ago)
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.57 for apachetop 0.12.6.
4#
5# Report bugs to <apachetop@webta.org>.
6#
7# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8# Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be Bourne compatible
16if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17  emulate sh
18  NULLCMD=:
19  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20  # is contrary to our usage.  Disable this feature.
21  alias -g '${1+"$@"}'='"$@"'
22elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23  set -o posix
24fi
25
26# Support unset when possible.
27if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
28  as_unset=unset
29else
30  as_unset=false
31fi
32
33
34# Work around bugs in pre-3.0 UWIN ksh.
35$as_unset ENV MAIL MAILPATH
36PS1='$ '
37PS2='> '
38PS4='+ '
39
40# NLS nuisances.
41for as_var in \
42  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44  LC_TELEPHONE LC_TIME
45do
46  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47    eval $as_var=C; export $as_var
48  else
49    $as_unset $as_var
50  fi
51done
52
53# Required to use basename.
54if expr a : '\(a\)' >/dev/null 2>&1; then
55  as_expr=expr
56else
57  as_expr=false
58fi
59
60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61  as_basename=basename
62else
63  as_basename=false
64fi
65
66
67# Name of the executable.
68as_me=`$as_basename "$0" ||
69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70         X"$0" : 'X\(//\)$' \| \
71         X"$0" : 'X\(/\)$' \| \
72         .     : '\(.\)' 2>/dev/null ||
73echo X/"$0" |
74    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75          /^X\/\(\/\/\)$/{ s//\1/; q; }
76          /^X\/\(\/\).*/{ s//\1/; q; }
77          s/.*/./; q'`
78
79
80# PATH needs CR, and LINENO needs CR and PATH.
81# Avoid depending upon Character Ranges.
82as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85as_cr_digits='0123456789'
86as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88# The user is always right.
89if test "${PATH_SEPARATOR+set}" != set; then
90  echo "#! /bin/sh" >conf$$.sh
91  echo  "exit 0"   >>conf$$.sh
92  chmod +x conf$$.sh
93  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94    PATH_SEPARATOR=';'
95  else
96    PATH_SEPARATOR=:
97  fi
98  rm -f conf$$.sh
99fi
100
101
102  as_lineno_1=$LINENO
103  as_lineno_2=$LINENO
104  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105  test "x$as_lineno_1" != "x$as_lineno_2" &&
106  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107  # Find who we are.  Look in the path if we contain no path at all
108  # relative or not.
109  case $0 in
110    *[\\/]* ) as_myself=$0 ;;
111    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112for as_dir in $PATH
113do
114  IFS=$as_save_IFS
115  test -z "$as_dir" && as_dir=.
116  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117done
118
119       ;;
120  esac
121  # We did not find ourselves, most probably we were run as `sh COMMAND'
122  # in which case we are not to be found in the path.
123  if test "x$as_myself" = x; then
124    as_myself=$0
125  fi
126  if test ! -f "$as_myself"; then
127    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128   { (exit 1); exit 1; }; }
129  fi
130  case $CONFIG_SHELL in
131  '')
132    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134do
135  IFS=$as_save_IFS
136  test -z "$as_dir" && as_dir=.
137  for as_base in sh bash ksh sh5; do
138         case $as_dir in
139         /*)
140           if ("$as_dir/$as_base" -c '
141  as_lineno_1=$LINENO
142  as_lineno_2=$LINENO
143  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144  test "x$as_lineno_1" != "x$as_lineno_2" &&
145  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148             CONFIG_SHELL=$as_dir/$as_base
149             export CONFIG_SHELL
150             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151           fi;;
152         esac
153       done
154done
155;;
156  esac
157
158  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159  # uniformly replaced by the line number.  The first 'sed' inserts a
160  # line-number line before each line; the second 'sed' does the real
161  # work.  The second script uses 'N' to pair each line-number line
162  # with the numbered line, and appends trailing '-' during
163  # substitution so that $LINENO is not a special case at line end.
164  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166  sed '=' <$as_myself |
167    sed '
168      N
169      s,$,-,
170      : loop
171      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172      t loop
173      s,-$,,
174      s,^['$as_cr_digits']*\n,,
175    ' >$as_me.lineno &&
176  chmod +x $as_me.lineno ||
177    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178   { (exit 1); exit 1; }; }
179
180  # Don't try to exec as it changes $[0], causing all sort of problems
181  # (the dirname of $[0] is not the place where we might find the
182  # original and so on.  Autoconf is especially sensible to this).
183  . ./$as_me.lineno
184  # Exit status is that of the last command.
185  exit
186}
187
188
189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190  *c*,-n*) ECHO_N= ECHO_C='
191' ECHO_T='      ' ;;
192  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194esac
195
196if expr a : '\(a\)' >/dev/null 2>&1; then
197  as_expr=expr
198else
199  as_expr=false
200fi
201
202rm -f conf$$ conf$$.exe conf$$.file
203echo >conf$$.file
204if ln -s conf$$.file conf$$ 2>/dev/null; then
205  # We could just check for DJGPP; but this test a) works b) is more generic
206  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207  if test -f conf$$.exe; then
208    # Don't use ln at all; we don't have any links
209    as_ln_s='cp -p'
210  else
211    as_ln_s='ln -s'
212  fi
213elif ln conf$$.file conf$$ 2>/dev/null; then
214  as_ln_s=ln
215else
216  as_ln_s='cp -p'
217fi
218rm -f conf$$ conf$$.exe conf$$.file
219
220if mkdir -p . 2>/dev/null; then
221  as_mkdir_p=:
222else
223  as_mkdir_p=false
224fi
225
226as_executable_p="test -f"
227
228# Sed expression to map a string onto a valid CPP name.
229as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
230
231# Sed expression to map a string onto a valid variable name.
232as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233
234
235# IFS
236# We need space, tab and new line, in precisely that order.
237as_nl='
238'
239IFS="   $as_nl"
240
241# CDPATH.
242$as_unset CDPATH
243
244
245# Name of the host.
246# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247# so uname gets run too.
248ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249
250exec 6>&1
251
252#
253# Initializations.
254#
255ac_default_prefix=/usr/local
256ac_config_libobj_dir=.
257cross_compiling=no
258subdirs=
259MFLAGS=
260MAKEFLAGS=
261SHELL=${CONFIG_SHELL-/bin/sh}
262
263# Maximum number of lines to put in a shell here document.
264# This variable seems obsolete.  It should probably be removed, and
265# only ac_max_sed_lines should be used.
266: ${ac_max_here_lines=38}
267
268# Identity of this package.
269PACKAGE_NAME='apachetop'
270PACKAGE_TARNAME='apachetop'
271PACKAGE_VERSION='0.12.6'
272PACKAGE_STRING='apachetop 0.12.6'
273PACKAGE_BUGREPORT='apachetop@webta.org'
274
275ac_unique_file="src/apachetop.cc"
276# Factoring default headers for most tests.
277ac_includes_default="\
278#include <stdio.h>
279#if HAVE_SYS_TYPES_H
280# include <sys/types.h>
281#endif
282#if HAVE_SYS_STAT_H
283# include <sys/stat.h>
284#endif
285#if STDC_HEADERS
286# include <stdlib.h>
287# include <stddef.h>
288#else
289# if HAVE_STDLIB_H
290#  include <stdlib.h>
291# endif
292#endif
293#if HAVE_STRING_H
294# if !STDC_HEADERS && HAVE_MEMORY_H
295#  include <memory.h>
296# endif
297# include <string.h>
298#endif
299#if HAVE_STRINGS_H
300# include <strings.h>
301#endif
302#if HAVE_INTTYPES_H
303# include <inttypes.h>
304#else
305# if HAVE_STDINT_H
306#  include <stdint.h>
307# endif
308#endif
309#if HAVE_UNISTD_H
310# include <unistd.h>
311#endif"
312
313ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION EXEEXT OBJEXT ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh INSTALL_STRIP_PROGRAM AWK SET_MAKE AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH DEPDIR CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX am__include am__quote CXXDEPMODE CXXCPP EGREP LIBOBJS HAVE_READLINE LTLIBOBJS'
314ac_subst_files=''
315
316# Initialize some variables set by options.
317ac_init_help=
318ac_init_version=false
319# The variables have the same names as the options, with
320# dashes changed to underlines.
321cache_file=/dev/null
322exec_prefix=NONE
323no_create=
324no_recursion=
325prefix=NONE
326program_prefix=NONE
327program_suffix=NONE
328program_transform_name=s,x,x,
329silent=
330site=
331srcdir=
332verbose=
333x_includes=NONE
334x_libraries=NONE
335
336# Installation directory options.
337# These are left unexpanded so users can "make install exec_prefix=/foo"
338# and all the variables that are supposed to be based on exec_prefix
339# by default will actually change.
340# Use braces instead of parens because sh, perl, etc. also accept them.
341bindir='${exec_prefix}/bin'
342sbindir='${exec_prefix}/sbin'
343libexecdir='${exec_prefix}/libexec'
344datadir='${prefix}/share'
345sysconfdir='${prefix}/etc'
346sharedstatedir='${prefix}/com'
347localstatedir='${prefix}/var'
348libdir='${exec_prefix}/lib'
349includedir='${prefix}/include'
350oldincludedir='/usr/include'
351infodir='${prefix}/info'
352mandir='${prefix}/man'
353
354ac_prev=
355for ac_option
356do
357  # If the previous option needs an argument, assign it.
358  if test -n "$ac_prev"; then
359    eval "$ac_prev=\$ac_option"
360    ac_prev=
361    continue
362  fi
363
364  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365
366  # Accept the important Cygnus configure options, so we can diagnose typos.
367
368  case $ac_option in
369
370  -bindir | --bindir | --bindi | --bind | --bin | --bi)
371    ac_prev=bindir ;;
372  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373    bindir=$ac_optarg ;;
374
375  -build | --build | --buil | --bui | --bu)
376    ac_prev=build_alias ;;
377  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
378    build_alias=$ac_optarg ;;
379
380  -cache-file | --cache-file | --cache-fil | --cache-fi \
381  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382    ac_prev=cache_file ;;
383  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385    cache_file=$ac_optarg ;;
386
387  --config-cache | -C)
388    cache_file=config.cache ;;
389
390  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391    ac_prev=datadir ;;
392  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393  | --da=*)
394    datadir=$ac_optarg ;;
395
396  -disable-* | --disable-*)
397    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398    # Reject names that are not valid shell variable names.
399    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401   { (exit 1); exit 1; }; }
402    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403    eval "enable_$ac_feature=no" ;;
404
405  -enable-* | --enable-*)
406    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407    # Reject names that are not valid shell variable names.
408    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410   { (exit 1); exit 1; }; }
411    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412    case $ac_option in
413      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414      *) ac_optarg=yes ;;
415    esac
416    eval "enable_$ac_feature='$ac_optarg'" ;;
417
418  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420  | --exec | --exe | --ex)
421    ac_prev=exec_prefix ;;
422  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424  | --exec=* | --exe=* | --ex=*)
425    exec_prefix=$ac_optarg ;;
426
427  -gas | --gas | --ga | --g)
428    # Obsolete; use --with-gas.
429    with_gas=yes ;;
430
431  -help | --help | --hel | --he | -h)
432    ac_init_help=long ;;
433  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434    ac_init_help=recursive ;;
435  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436    ac_init_help=short ;;
437
438  -host | --host | --hos | --ho)
439    ac_prev=host_alias ;;
440  -host=* | --host=* | --hos=* | --ho=*)
441    host_alias=$ac_optarg ;;
442
443  -includedir | --includedir | --includedi | --included | --include \
444  | --includ | --inclu | --incl | --inc)
445    ac_prev=includedir ;;
446  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447  | --includ=* | --inclu=* | --incl=* | --inc=*)
448    includedir=$ac_optarg ;;
449
450  -infodir | --infodir | --infodi | --infod | --info | --inf)
451    ac_prev=infodir ;;
452  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453    infodir=$ac_optarg ;;
454
455  -libdir | --libdir | --libdi | --libd)
456    ac_prev=libdir ;;
457  -libdir=* | --libdir=* | --libdi=* | --libd=*)
458    libdir=$ac_optarg ;;
459
460  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461  | --libexe | --libex | --libe)
462    ac_prev=libexecdir ;;
463  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464  | --libexe=* | --libex=* | --libe=*)
465    libexecdir=$ac_optarg ;;
466
467  -localstatedir | --localstatedir | --localstatedi | --localstated \
468  | --localstate | --localstat | --localsta | --localst \
469  | --locals | --local | --loca | --loc | --lo)
470    ac_prev=localstatedir ;;
471  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474    localstatedir=$ac_optarg ;;
475
476  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477    ac_prev=mandir ;;
478  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
479    mandir=$ac_optarg ;;
480
481  -nfp | --nfp | --nf)
482    # Obsolete; use --without-fp.
483    with_fp=no ;;
484
485  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
486  | --no-cr | --no-c | -n)
487    no_create=yes ;;
488
489  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491    no_recursion=yes ;;
492
493  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495  | --oldin | --oldi | --old | --ol | --o)
496    ac_prev=oldincludedir ;;
497  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500    oldincludedir=$ac_optarg ;;
501
502  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503    ac_prev=prefix ;;
504  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505    prefix=$ac_optarg ;;
506
507  -program-prefix | --program-prefix | --program-prefi | --program-pref \
508  | --program-pre | --program-pr | --program-p)
509    ac_prev=program_prefix ;;
510  -program-prefix=* | --program-prefix=* | --program-prefi=* \
511  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512    program_prefix=$ac_optarg ;;
513
514  -program-suffix | --program-suffix | --program-suffi | --program-suff \
515  | --program-suf | --program-su | --program-s)
516    ac_prev=program_suffix ;;
517  -program-suffix=* | --program-suffix=* | --program-suffi=* \
518  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519    program_suffix=$ac_optarg ;;
520
521  -program-transform-name | --program-transform-name \
522  | --program-transform-nam | --program-transform-na \
523  | --program-transform-n | --program-transform- \
524  | --program-transform | --program-transfor \
525  | --program-transfo | --program-transf \
526  | --program-trans | --program-tran \
527  | --progr-tra | --program-tr | --program-t)
528    ac_prev=program_transform_name ;;
529  -program-transform-name=* | --program-transform-name=* \
530  | --program-transform-nam=* | --program-transform-na=* \
531  | --program-transform-n=* | --program-transform-=* \
532  | --program-transform=* | --program-transfor=* \
533  | --program-transfo=* | --program-transf=* \
534  | --program-trans=* | --program-tran=* \
535  | --progr-tra=* | --program-tr=* | --program-t=*)
536    program_transform_name=$ac_optarg ;;
537
538  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539  | -silent | --silent | --silen | --sile | --sil)
540    silent=yes ;;
541
542  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543    ac_prev=sbindir ;;
544  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545  | --sbi=* | --sb=*)
546    sbindir=$ac_optarg ;;
547
548  -sharedstatedir | --sharedstatedir | --sharedstatedi \
549  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550  | --sharedst | --shareds | --shared | --share | --shar \
551  | --sha | --sh)
552    ac_prev=sharedstatedir ;;
553  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556  | --sha=* | --sh=*)
557    sharedstatedir=$ac_optarg ;;
558
559  -site | --site | --sit)
560    ac_prev=site ;;
561  -site=* | --site=* | --sit=*)
562    site=$ac_optarg ;;
563
564  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565    ac_prev=srcdir ;;
566  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567    srcdir=$ac_optarg ;;
568
569  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570  | --syscon | --sysco | --sysc | --sys | --sy)
571    ac_prev=sysconfdir ;;
572  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574    sysconfdir=$ac_optarg ;;
575
576  -target | --target | --targe | --targ | --tar | --ta | --t)
577    ac_prev=target_alias ;;
578  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579    target_alias=$ac_optarg ;;
580
581  -v | -verbose | --verbose | --verbos | --verbo | --verb)
582    verbose=yes ;;
583
584  -version | --version | --versio | --versi | --vers | -V)
585    ac_init_version=: ;;
586
587  -with-* | --with-*)
588    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589    # Reject names that are not valid shell variable names.
590    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591      { echo "$as_me: error: invalid package name: $ac_package" >&2
592   { (exit 1); exit 1; }; }
593    ac_package=`echo $ac_package| sed 's/-/_/g'`
594    case $ac_option in
595      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596      *) ac_optarg=yes ;;
597    esac
598    eval "with_$ac_package='$ac_optarg'" ;;
599
600  -without-* | --without-*)
601    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602    # Reject names that are not valid shell variable names.
603    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604      { echo "$as_me: error: invalid package name: $ac_package" >&2
605   { (exit 1); exit 1; }; }
606    ac_package=`echo $ac_package | sed 's/-/_/g'`
607    eval "with_$ac_package=no" ;;
608
609  --x)
610    # Obsolete; use --with-x.
611    with_x=yes ;;
612
613  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614  | --x-incl | --x-inc | --x-in | --x-i)
615    ac_prev=x_includes ;;
616  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618    x_includes=$ac_optarg ;;
619
620  -x-libraries | --x-libraries | --x-librarie | --x-librari \
621  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622    ac_prev=x_libraries ;;
623  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625    x_libraries=$ac_optarg ;;
626
627  -*) { echo "$as_me: error: unrecognized option: $ac_option
628Try \`$0 --help' for more information." >&2
629   { (exit 1); exit 1; }; }
630    ;;
631
632  *=*)
633    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634    # Reject names that are not valid shell variable names.
635    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637   { (exit 1); exit 1; }; }
638    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639    eval "$ac_envvar='$ac_optarg'"
640    export $ac_envvar ;;
641
642  *)
643    # FIXME: should be removed in autoconf 3.0.
644    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
648    ;;
649
650  esac
651done
652
653if test -n "$ac_prev"; then
654  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655  { echo "$as_me: error: missing argument to $ac_option" >&2
656   { (exit 1); exit 1; }; }
657fi
658
659# Be sure to have absolute paths.
660for ac_var in exec_prefix prefix
661do
662  eval ac_val=$`echo $ac_var`
663  case $ac_val in
664    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666   { (exit 1); exit 1; }; };;
667  esac
668done
669
670# Be sure to have absolute paths.
671for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672              localstatedir libdir includedir oldincludedir infodir mandir
673do
674  eval ac_val=$`echo $ac_var`
675  case $ac_val in
676    [\\/$]* | ?:[\\/]* ) ;;
677    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678   { (exit 1); exit 1; }; };;
679  esac
680done
681
682# There might be people who depend on the old broken behavior: `$host'
683# used to hold the argument of --host etc.
684# FIXME: To remove some day.
685build=$build_alias
686host=$host_alias
687target=$target_alias
688
689# FIXME: To remove some day.
690if test "x$host_alias" != x; then
691  if test "x$build_alias" = x; then
692    cross_compiling=maybe
693    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694    If a cross compiler is detected then cross compile mode will be used." >&2
695  elif test "x$build_alias" != "x$host_alias"; then
696    cross_compiling=yes
697  fi
698fi
699
700ac_tool_prefix=
701test -n "$host_alias" && ac_tool_prefix=$host_alias-
702
703test "$silent" = yes && exec 6>/dev/null
704
705
706# Find the source files, if location was not specified.
707if test -z "$srcdir"; then
708  ac_srcdir_defaulted=yes
709  # Try the directory containing this script, then its parent.
710  ac_confdir=`(dirname "$0") 2>/dev/null ||
711$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712         X"$0" : 'X\(//\)[^/]' \| \
713         X"$0" : 'X\(//\)$' \| \
714         X"$0" : 'X\(/\)' \| \
715         .     : '\(.\)' 2>/dev/null ||
716echo X"$0" |
717    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719          /^X\(\/\/\)$/{ s//\1/; q; }
720          /^X\(\/\).*/{ s//\1/; q; }
721          s/.*/./; q'`
722  srcdir=$ac_confdir
723  if test ! -r $srcdir/$ac_unique_file; then
724    srcdir=..
725  fi
726else
727  ac_srcdir_defaulted=no
728fi
729if test ! -r $srcdir/$ac_unique_file; then
730  if test "$ac_srcdir_defaulted" = yes; then
731    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732   { (exit 1); exit 1; }; }
733  else
734    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735   { (exit 1); exit 1; }; }
736  fi
737fi
738(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740   { (exit 1); exit 1; }; }
741srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742ac_env_build_alias_set=${build_alias+set}
743ac_env_build_alias_value=$build_alias
744ac_cv_env_build_alias_set=${build_alias+set}
745ac_cv_env_build_alias_value=$build_alias
746ac_env_host_alias_set=${host_alias+set}
747ac_env_host_alias_value=$host_alias
748ac_cv_env_host_alias_set=${host_alias+set}
749ac_cv_env_host_alias_value=$host_alias
750ac_env_target_alias_set=${target_alias+set}
751ac_env_target_alias_value=$target_alias
752ac_cv_env_target_alias_set=${target_alias+set}
753ac_cv_env_target_alias_value=$target_alias
754ac_env_CXX_set=${CXX+set}
755ac_env_CXX_value=$CXX
756ac_cv_env_CXX_set=${CXX+set}
757ac_cv_env_CXX_value=$CXX
758ac_env_CXXFLAGS_set=${CXXFLAGS+set}
759ac_env_CXXFLAGS_value=$CXXFLAGS
760ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
761ac_cv_env_CXXFLAGS_value=$CXXFLAGS
762ac_env_LDFLAGS_set=${LDFLAGS+set}
763ac_env_LDFLAGS_value=$LDFLAGS
764ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765ac_cv_env_LDFLAGS_value=$LDFLAGS
766ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767ac_env_CPPFLAGS_value=$CPPFLAGS
768ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770ac_env_CXXCPP_set=${CXXCPP+set}
771ac_env_CXXCPP_value=$CXXCPP
772ac_cv_env_CXXCPP_set=${CXXCPP+set}
773ac_cv_env_CXXCPP_value=$CXXCPP
774
775#
776# Report the --help message.
777#
778if test "$ac_init_help" = "long"; then
779  # Omit some internal or obsolete options to make the list less imposing.
780  # This message is too long to be a string in the A/UX 3.1 sh.
781  cat <<_ACEOF
782\`configure' configures apachetop 0.12.6 to adapt to many kinds of systems.
783
784Usage: $0 [OPTION]... [VAR=VALUE]...
785
786To assign environment variables (e.g., CC, CFLAGS...), specify them as
787VAR=VALUE.  See below for descriptions of some of the useful variables.
788
789Defaults for the options are specified in brackets.
790
791Configuration:
792  -h, --help              display this help and exit
793      --help=short        display options specific to this package
794      --help=recursive    display the short help of all the included packages
795  -V, --version           display version information and exit
796  -q, --quiet, --silent   do not print \`checking...' messages
797      --cache-file=FILE   cache test results in FILE [disabled]
798  -C, --config-cache      alias for \`--cache-file=config.cache'
799  -n, --no-create         do not create output files
800      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
801
802_ACEOF
803
804  cat <<_ACEOF
805Installation directories:
806  --prefix=PREFIX         install architecture-independent files in PREFIX
807                          [$ac_default_prefix]
808  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
809                          [PREFIX]
810
811By default, \`make install' will install all the files in
812\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
813an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814for instance \`--prefix=\$HOME'.
815
816For better control, use the options below.
817
818Fine tuning of the installation directories:
819  --bindir=DIR           user executables [EPREFIX/bin]
820  --sbindir=DIR          system admin executables [EPREFIX/sbin]
821  --libexecdir=DIR       program executables [EPREFIX/libexec]
822  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
823  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
824  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
825  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
826  --libdir=DIR           object code libraries [EPREFIX/lib]
827  --includedir=DIR       C header files [PREFIX/include]
828  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
829  --infodir=DIR          info documentation [PREFIX/info]
830  --mandir=DIR           man documentation [PREFIX/man]
831_ACEOF
832
833  cat <<\_ACEOF
834
835Program names:
836  --program-prefix=PREFIX            prepend PREFIX to installed program names
837  --program-suffix=SUFFIX            append SUFFIX to installed program names
838  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
839_ACEOF
840fi
841
842if test -n "$ac_init_help"; then
843  case $ac_init_help in
844     short | recursive ) echo "Configuration of apachetop 0.12.6:";;
845   esac
846  cat <<\_ACEOF
847
848Optional Features:
849  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
850  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
851  --disable-dependency-tracking Speeds up one-time builds
852  --enable-dependency-tracking  Do not reject slow dependency extractors
853  --disable-largefile     omit support for large files
854
855Optional Packages:
856  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
857  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
858
859  --with-libraries=<path> additional place to look for libraries
860
861  --with-includes=<path> additional place to look for header files
862  --with-pcre=<path>      prefix of pcre installation (eg /usr/local)
863  --with-fam=<path>      prefix of fam installation (eg /usr/local)
864  --with-adns=<path>     prefix of adns installation (eg /usr/local)
865
866  --with-logfile=<log>    location of default logfile
867
868Some influential environment variables:
869  CXX         C++ compiler command
870  CXXFLAGS    C++ compiler flags
871  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
872              nonstandard directory <lib dir>
873  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
874              headers in a nonstandard directory <include dir>
875  CXXCPP      C++ preprocessor
876
877Use these variables to override the choices made by `configure' or to help
878it to find libraries and programs with nonstandard names/locations.
879
880Report bugs to <apachetop@webta.org>.
881_ACEOF
882fi
883
884if test "$ac_init_help" = "recursive"; then
885  # If there are subdirs, report their specific --help.
886  ac_popdir=`pwd`
887  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
888    test -d $ac_dir || continue
889    ac_builddir=.
890
891if test "$ac_dir" != .; then
892  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
893  # A "../" for each directory in $ac_dir_suffix.
894  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
895else
896  ac_dir_suffix= ac_top_builddir=
897fi
898
899case $srcdir in
900  .)  # No --srcdir option.  We are building in place.
901    ac_srcdir=.
902    if test -z "$ac_top_builddir"; then
903       ac_top_srcdir=.
904    else
905       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
906    fi ;;
907  [\\/]* | ?:[\\/]* )  # Absolute path.
908    ac_srcdir=$srcdir$ac_dir_suffix;
909    ac_top_srcdir=$srcdir ;;
910  *) # Relative path.
911    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
912    ac_top_srcdir=$ac_top_builddir$srcdir ;;
913esac
914# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
915# absolute.
916ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
917ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
918ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
919ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
920
921    cd $ac_dir
922    # Check for guested configure; otherwise get Cygnus style configure.
923    if test -f $ac_srcdir/configure.gnu; then
924      echo
925      $SHELL $ac_srcdir/configure.gnu  --help=recursive
926    elif test -f $ac_srcdir/configure; then
927      echo
928      $SHELL $ac_srcdir/configure  --help=recursive
929    elif test -f $ac_srcdir/configure.ac ||
930           test -f $ac_srcdir/configure.in; then
931      echo
932      $ac_configure --help
933    else
934      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
935    fi
936    cd $ac_popdir
937  done
938fi
939
940test -n "$ac_init_help" && exit 0
941if $ac_init_version; then
942  cat <<\_ACEOF
943apachetop configure 0.12.6
944generated by GNU Autoconf 2.57
945
946Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
947Free Software Foundation, Inc.
948This configure script is free software; the Free Software Foundation
949gives unlimited permission to copy, distribute and modify it.
950_ACEOF
951  exit 0
952fi
953exec 5>config.log
954cat >&5 <<_ACEOF
955This file contains any messages produced by compilers while
956running configure, to aid debugging if configure makes a mistake.
957
958It was created by apachetop $as_me 0.12.6, which was
959generated by GNU Autoconf 2.57.  Invocation command line was
960
961  $ $0 $@
962
963_ACEOF
964{
965cat <<_ASUNAME
966## --------- ##
967## Platform. ##
968## --------- ##
969
970hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
971uname -m = `(uname -m) 2>/dev/null || echo unknown`
972uname -r = `(uname -r) 2>/dev/null || echo unknown`
973uname -s = `(uname -s) 2>/dev/null || echo unknown`
974uname -v = `(uname -v) 2>/dev/null || echo unknown`
975
976/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
977/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
978
979/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
980/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
981/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
982hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
983/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
984/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
985/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
986
987_ASUNAME
988
989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
990for as_dir in $PATH
991do
992  IFS=$as_save_IFS
993  test -z "$as_dir" && as_dir=.
994  echo "PATH: $as_dir"
995done
996
997} >&5
998
999cat >&5 <<_ACEOF
1000
1001
1002## ----------- ##
1003## Core tests. ##
1004## ----------- ##
1005
1006_ACEOF
1007
1008
1009# Keep a trace of the command line.
1010# Strip out --no-create and --no-recursion so they do not pile up.
1011# Strip out --silent because we don't want to record it for future runs.
1012# Also quote any args containing shell meta-characters.
1013# Make two passes to allow for proper duplicate-argument suppression.
1014ac_configure_args=
1015ac_configure_args0=
1016ac_configure_args1=
1017ac_sep=
1018ac_must_keep_next=false
1019for ac_pass in 1 2
1020do
1021  for ac_arg
1022  do
1023    case $ac_arg in
1024    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1025    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1026    | -silent | --silent | --silen | --sile | --sil)
1027      continue ;;
1028    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1029      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1030    esac
1031    case $ac_pass in
1032    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1033    2)
1034      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1035      if test $ac_must_keep_next = true; then
1036        ac_must_keep_next=false # Got value, back to normal.
1037      else
1038        case $ac_arg in
1039          *=* | --config-cache | -C | -disable-* | --disable-* \
1040          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1041          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1042          | -with-* | --with-* | -without-* | --without-* | --x)
1043            case "$ac_configure_args0 " in
1044              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1045            esac
1046            ;;
1047          -* ) ac_must_keep_next=true ;;
1048        esac
1049      fi
1050      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1051      # Get rid of the leading space.
1052      ac_sep=" "
1053      ;;
1054    esac
1055  done
1056done
1057$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1058$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1059
1060# When interrupted or exit'd, cleanup temporary files, and complete
1061# config.log.  We remove comments because anyway the quotes in there
1062# would cause problems or look ugly.
1063# WARNING: Be sure not to use single quotes in there, as some shells,
1064# such as our DU 5.0 friend, will then `close' the trap.
1065trap 'exit_status=$?
1066  # Save into config.log some information that might help in debugging.
1067  {
1068    echo
1069
1070    cat <<\_ASBOX
1071## ---------------- ##
1072## Cache variables. ##
1073## ---------------- ##
1074_ASBOX
1075    echo
1076    # The following way of writing the cache mishandles newlines in values,
1077{
1078  (set) 2>&1 |
1079    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1080    *ac_space=\ *)
1081      sed -n \
1082        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1083          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1084      ;;
1085    *)
1086      sed -n \
1087        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1088      ;;
1089    esac;
1090}
1091    echo
1092
1093    cat <<\_ASBOX
1094## ----------------- ##
1095## Output variables. ##
1096## ----------------- ##
1097_ASBOX
1098    echo
1099    for ac_var in $ac_subst_vars
1100    do
1101      eval ac_val=$`echo $ac_var`
1102      echo "$ac_var='"'"'$ac_val'"'"'"
1103    done | sort
1104    echo
1105
1106    if test -n "$ac_subst_files"; then
1107      cat <<\_ASBOX
1108## ------------- ##
1109## Output files. ##
1110## ------------- ##
1111_ASBOX
1112      echo
1113      for ac_var in $ac_subst_files
1114      do
1115        eval ac_val=$`echo $ac_var`
1116        echo "$ac_var='"'"'$ac_val'"'"'"
1117      done | sort
1118      echo
1119    fi
1120
1121    if test -s confdefs.h; then
1122      cat <<\_ASBOX
1123## ----------- ##
1124## confdefs.h. ##
1125## ----------- ##
1126_ASBOX
1127      echo
1128      sed "/^$/d" confdefs.h | sort
1129      echo
1130    fi
1131    test "$ac_signal" != 0 &&
1132      echo "$as_me: caught signal $ac_signal"
1133    echo "$as_me: exit $exit_status"
1134  } >&5
1135  rm -f core core.* *.core &&
1136  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1137    exit $exit_status
1138     ' 0
1139for ac_signal in 1 2 13 15; do
1140  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1141done
1142ac_signal=0
1143
1144# confdefs.h avoids OS command line length limits that DEFS can exceed.
1145rm -rf conftest* confdefs.h
1146# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1147echo >confdefs.h
1148
1149# Predefined preprocessor variables.
1150
1151cat >>confdefs.h <<_ACEOF
1152#define PACKAGE_NAME "$PACKAGE_NAME"
1153_ACEOF
1154
1155
1156cat >>confdefs.h <<_ACEOF
1157#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1158_ACEOF
1159
1160
1161cat >>confdefs.h <<_ACEOF
1162#define PACKAGE_VERSION "$PACKAGE_VERSION"
1163_ACEOF
1164
1165
1166cat >>confdefs.h <<_ACEOF
1167#define PACKAGE_STRING "$PACKAGE_STRING"
1168_ACEOF
1169
1170
1171cat >>confdefs.h <<_ACEOF
1172#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1173_ACEOF
1174
1175
1176# Let the site file select an alternate cache file if it wants to.
1177# Prefer explicitly selected file to automatically selected ones.
1178if test -z "$CONFIG_SITE"; then
1179  if test "x$prefix" != xNONE; then
1180    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1181  else
1182    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1183  fi
1184fi
1185for ac_site_file in $CONFIG_SITE; do
1186  if test -r "$ac_site_file"; then
1187    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1188echo "$as_me: loading site script $ac_site_file" >&6;}
1189    sed 's/^/| /' "$ac_site_file" >&5
1190    . "$ac_site_file"
1191  fi
1192done
1193
1194if test -r "$cache_file"; then
1195  # Some versions of bash will fail to source /dev/null (special
1196  # files actually), so we avoid doing that.
1197  if test -f "$cache_file"; then
1198    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1199echo "$as_me: loading cache $cache_file" >&6;}
1200    case $cache_file in
1201      [\\/]* | ?:[\\/]* ) . $cache_file;;
1202      *)                      . ./$cache_file;;
1203    esac
1204  fi
1205else
1206  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1207echo "$as_me: creating cache $cache_file" >&6;}
1208  >$cache_file
1209fi
1210
1211# Check that the precious variables saved in the cache have kept the same
1212# value.
1213ac_cache_corrupted=false
1214for ac_var in `(set) 2>&1 |
1215               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1216  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1217  eval ac_new_set=\$ac_env_${ac_var}_set
1218  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1219  eval ac_new_val="\$ac_env_${ac_var}_value"
1220  case $ac_old_set,$ac_new_set in
1221    set,)
1222      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1223echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1224      ac_cache_corrupted=: ;;
1225    ,set)
1226      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1227echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1228      ac_cache_corrupted=: ;;
1229    ,);;
1230    *)
1231      if test "x$ac_old_val" != "x$ac_new_val"; then
1232        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1233echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1234        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1235echo "$as_me:   former value:  $ac_old_val" >&2;}
1236        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1237echo "$as_me:   current value: $ac_new_val" >&2;}
1238        ac_cache_corrupted=:
1239      fi;;
1240  esac
1241  # Pass precious variables to config.status.
1242  if test "$ac_new_set" = set; then
1243    case $ac_new_val in
1244    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1245      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1246    *) ac_arg=$ac_var=$ac_new_val ;;
1247    esac
1248    case " $ac_configure_args " in
1249      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1250      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1251    esac
1252  fi
1253done
1254if $ac_cache_corrupted; then
1255  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1256echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1257  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1258echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1259   { (exit 1); exit 1; }; }
1260fi
1261
1262ac_ext=c
1263ac_cpp='$CPP $CPPFLAGS'
1264ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1265ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1266ac_compiler_gnu=$ac_cv_c_compiler_gnu
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296ac_aux_dir=
1297for ac_dir in config $srcdir/config; do
1298  if test -f $ac_dir/install-sh; then
1299    ac_aux_dir=$ac_dir
1300    ac_install_sh="$ac_aux_dir/install-sh -c"
1301    break
1302  elif test -f $ac_dir/install.sh; then
1303    ac_aux_dir=$ac_dir
1304    ac_install_sh="$ac_aux_dir/install.sh -c"
1305    break
1306  elif test -f $ac_dir/shtool; then
1307    ac_aux_dir=$ac_dir
1308    ac_install_sh="$ac_aux_dir/shtool install -c"
1309    break
1310  fi
1311done
1312if test -z "$ac_aux_dir"; then
1313  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config $srcdir/config" >&5
1314echo "$as_me: error: cannot find install-sh or install.sh in config $srcdir/config" >&2;}
1315   { (exit 1); exit 1; }; }
1316fi
1317ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1318ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1319ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1320
1321#AC_CONFIG_MACRO_DIR(m4) # 2.58
1322
1323
1324
1325
1326                                                              ac_config_headers="$ac_config_headers config.h"
1327
1328# Find a good install program.  We prefer a C program (faster),
1329# so one script is as good as another.  But avoid the broken or
1330# incompatible versions:
1331# SysV /etc/install, /usr/sbin/install
1332# SunOS /usr/etc/install
1333# IRIX /sbin/install
1334# AIX /bin/install
1335# AmigaOS /C/install, which installs bootblocks on floppy discs
1336# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1337# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1338# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1339# ./install, which can be erroneously created by make from ./install.sh.
1340echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5