/[LeafOK_CVS]/lbbs/configure
ViewVC logotype

Annotation of /lbbs/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (hide annotations)
Tue Nov 30 07:10:31 2004 UTC (21 years, 3 months ago) by sysadm
Branch: MAIN
Changes since 1.7: +457 -100 lines
*** empty log message ***

1 sysadm 1.1 #! /bin/sh
2     # Guess values for system-dependent variables and create Makefiles.
3 sysadm 1.2 # Generated by GNU Autoconf 2.59 for bbsd 1.0.
4 sysadm 1.1 #
5 sysadm 1.2 # Copyright (C) 2003 Free Software Foundation, Inc.
6 sysadm 1.1 # This configure script is free software; the Free Software Foundation
7     # gives unlimited permission to copy, distribute and modify it.
8     ## --------------------- ##
9     ## M4sh Initialization. ##
10     ## --------------------- ##
11    
12     # Be Bourne compatible
13     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14     emulate sh
15     NULLCMD=:
16     # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17     # is contrary to our usage. Disable this feature.
18     alias -g '${1+"$@"}'='"$@"'
19     elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20     set -o posix
21     fi
22 sysadm 1.2 DUALCASE=1; export DUALCASE # for MKS sh
23 sysadm 1.1
24     # Support unset when possible.
25 sysadm 1.2 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 sysadm 1.1 as_unset=unset
27     else
28     as_unset=false
29     fi
30    
31    
32     # Work around bugs in pre-3.0 UWIN ksh.
33     $as_unset ENV MAIL MAILPATH
34     PS1='$ '
35     PS2='> '
36     PS4='+ '
37    
38     # NLS nuisances.
39     for as_var in \
40     LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41     LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42     LC_TELEPHONE LC_TIME
43     do
44 sysadm 1.2 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 sysadm 1.1 eval $as_var=C; export $as_var
46     else
47     $as_unset $as_var
48     fi
49     done
50    
51     # Required to use basename.
52     if expr a : '\(a\)' >/dev/null 2>&1; then
53     as_expr=expr
54     else
55     as_expr=false
56     fi
57    
58     if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59     as_basename=basename
60     else
61     as_basename=false
62     fi
63    
64    
65     # Name of the executable.
66     as_me=`$as_basename "$0" ||
67     $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68     X"$0" : 'X\(//\)$' \| \
69     X"$0" : 'X\(/\)$' \| \
70     . : '\(.\)' 2>/dev/null ||
71     echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73     /^X\/\(\/\/\)$/{ s//\1/; q; }
74     /^X\/\(\/\).*/{ s//\1/; q; }
75     s/.*/./; q'`
76    
77    
78     # PATH needs CR, and LINENO needs CR and PATH.
79     # Avoid depending upon Character Ranges.
80     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83     as_cr_digits='0123456789'
84     as_cr_alnum=$as_cr_Letters$as_cr_digits
85    
86     # The user is always right.
87     if test "${PATH_SEPARATOR+set}" != set; then
88     echo "#! /bin/sh" >conf$$.sh
89     echo "exit 0" >>conf$$.sh
90     chmod +x conf$$.sh
91     if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93     else
94     PATH_SEPARATOR=:
95     fi
96     rm -f conf$$.sh
97     fi
98    
99    
100     as_lineno_1=$LINENO
101     as_lineno_2=$LINENO
102     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103     test "x$as_lineno_1" != "x$as_lineno_2" &&
104     test "x$as_lineno_3" = "x$as_lineno_2" || {
105     # Find who we are. Look in the path if we contain no path at all
106     # relative or not.
107     case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110     for as_dir in $PATH
111     do
112     IFS=$as_save_IFS
113     test -z "$as_dir" && as_dir=.
114     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115     done
116    
117     ;;
118     esac
119     # We did not find ourselves, most probably we were run as `sh COMMAND'
120     # in which case we are not to be found in the path.
121     if test "x$as_myself" = x; then
122     as_myself=$0
123     fi
124     if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126     { (exit 1); exit 1; }; }
127     fi
128     case $CONFIG_SHELL in
129     '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131     for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132     do
133     IFS=$as_save_IFS
134     test -z "$as_dir" && as_dir=.
135     for as_base in sh bash ksh sh5; do
136     case $as_dir in
137     /*)
138     if ("$as_dir/$as_base" -c '
139     as_lineno_1=$LINENO
140     as_lineno_2=$LINENO
141     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142     test "x$as_lineno_1" != "x$as_lineno_2" &&
143     test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146     CONFIG_SHELL=$as_dir/$as_base
147     export CONFIG_SHELL
148     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149     fi;;
150     esac
151     done
152     done
153     ;;
154     esac
155    
156     # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157     # uniformly replaced by the line number. The first 'sed' inserts a
158     # line-number line before each line; the second 'sed' does the real
159     # work. The second script uses 'N' to pair each line-number line
160     # with the numbered line, and appends trailing '-' during
161     # substitution so that $LINENO is not a special case at line end.
162     # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163     # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164     sed '=' <$as_myself |
165     sed '
166     N
167     s,$,-,
168     : loop
169     s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170     t loop
171     s,-$,,
172     s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174     chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176     { (exit 1); exit 1; }; }
177    
178     # Don't try to exec as it changes $[0], causing all sort of problems
179     # (the dirname of $[0] is not the place where we might find the
180     # original and so on. Autoconf is especially sensible to this).
181     . ./$as_me.lineno
182     # Exit status is that of the last command.
183     exit
184     }
185    
186    
187     case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188     *c*,-n*) ECHO_N= ECHO_C='
189     ' ECHO_T=' ' ;;
190     *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191     *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192     esac
193    
194     if expr a : '\(a\)' >/dev/null 2>&1; then
195     as_expr=expr
196     else
197     as_expr=false
198     fi
199    
200     rm -f conf$$ conf$$.exe conf$$.file
201     echo >conf$$.file
202     if ln -s conf$$.file conf$$ 2>/dev/null; then
203     # We could just check for DJGPP; but this test a) works b) is more generic
204     # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205     if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208     else
209     as_ln_s='ln -s'
210     fi
211     elif ln conf$$.file conf$$ 2>/dev/null; then
212     as_ln_s=ln
213     else
214     as_ln_s='cp -p'
215     fi
216     rm -f conf$$ conf$$.exe conf$$.file
217    
218     if mkdir -p . 2>/dev/null; then
219     as_mkdir_p=:
220     else
221 sysadm 1.2 test -d ./-p && rmdir ./-p
222 sysadm 1.1 as_mkdir_p=false
223     fi
224    
225     as_executable_p="test -f"
226    
227     # Sed expression to map a string onto a valid CPP name.
228 sysadm 1.2 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229 sysadm 1.1
230     # Sed expression to map a string onto a valid variable name.
231 sysadm 1.2 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232 sysadm 1.1
233    
234     # IFS
235     # We need space, tab and new line, in precisely that order.
236     as_nl='
237     '
238     IFS=" $as_nl"
239    
240     # CDPATH.
241     $as_unset CDPATH
242    
243    
244     # Name of the host.
245     # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246     # so uname gets run too.
247     ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248    
249     exec 6>&1
250    
251     #
252     # Initializations.
253     #
254     ac_default_prefix=/usr/local
255     ac_config_libobj_dir=.
256     cross_compiling=no
257     subdirs=
258     MFLAGS=
259     MAKEFLAGS=
260     SHELL=${CONFIG_SHELL-/bin/sh}
261    
262     # Maximum number of lines to put in a shell here document.
263     # This variable seems obsolete. It should probably be removed, and
264     # only ac_max_sed_lines should be used.
265     : ${ac_max_here_lines=38}
266    
267     # Identity of this package.
268     PACKAGE_NAME='bbsd'
269     PACKAGE_TARNAME='bbsd'
270     PACKAGE_VERSION='1.0'
271     PACKAGE_STRING='bbsd 1.0'
272 sysadm 1.3 PACKAGE_BUGREPORT=''
273 sysadm 1.1
274     ac_unique_file="src/"
275 sysadm 1.4 # Factoring default headers for most tests.
276     ac_includes_default="\
277     #include <stdio.h>
278     #if HAVE_SYS_TYPES_H
279     # include <sys/types.h>
280     #endif
281     #if HAVE_SYS_STAT_H
282     # include <sys/stat.h>
283     #endif
284     #if STDC_HEADERS
285     # include <stdlib.h>
286     # include <stddef.h>
287     #else
288     # if HAVE_STDLIB_H
289     # include <stdlib.h>
290     # endif
291     #endif
292     #if HAVE_STRING_H
293     # if !STDC_HEADERS && HAVE_MEMORY_H
294     # include <memory.h>
295     # endif
296     # include <string.h>
297     #endif
298     #if HAVE_STRINGS_H
299     # include <strings.h>
300     #endif
301     #if HAVE_INTTYPES_H
302     # include <inttypes.h>
303     #else
304     # if HAVE_STDINT_H
305     # include <stdint.h>
306     # endif
307     #endif
308     #if HAVE_UNISTD_H
309     # include <unistd.h>
310     #endif"
311    
312     ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP LIBOBJS LTLIBOBJS'
313 sysadm 1.1 ac_subst_files=''
314    
315     # Initialize some variables set by options.
316     ac_init_help=
317     ac_init_version=false
318     # The variables have the same names as the options, with
319     # dashes changed to underlines.
320     cache_file=/dev/null
321     exec_prefix=NONE
322     no_create=
323     no_recursion=
324     prefix=NONE
325     program_prefix=NONE
326     program_suffix=NONE
327     program_transform_name=s,x,x,
328     silent=
329     site=
330     srcdir=
331     verbose=
332     x_includes=NONE
333     x_libraries=NONE
334    
335     # Installation directory options.
336     # These are left unexpanded so users can "make install exec_prefix=/foo"
337     # and all the variables that are supposed to be based on exec_prefix
338     # by default will actually change.
339     # Use braces instead of parens because sh, perl, etc. also accept them.
340     bindir='${exec_prefix}/bin'
341     sbindir='${exec_prefix}/sbin'
342     libexecdir='${exec_prefix}/libexec'
343     datadir='${prefix}/share'
344     sysconfdir='${prefix}/etc'
345     sharedstatedir='${prefix}/com'
346     localstatedir='${prefix}/var'
347     libdir='${exec_prefix}/lib'
348     includedir='${prefix}/include'
349     oldincludedir='/usr/include'
350     infodir='${prefix}/info'
351     mandir='${prefix}/man'
352    
353     ac_prev=
354     for ac_option
355     do
356     # If the previous option needs an argument, assign it.
357     if test -n "$ac_prev"; then
358     eval "$ac_prev=\$ac_option"
359     ac_prev=
360     continue
361     fi
362    
363     ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364    
365     # Accept the important Cygnus configure options, so we can diagnose typos.
366    
367     case $ac_option in
368    
369     -bindir | --bindir | --bindi | --bind | --bin | --bi)
370     ac_prev=bindir ;;
371     -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372     bindir=$ac_optarg ;;
373    
374     -build | --build | --buil | --bui | --bu)
375     ac_prev=build_alias ;;
376     -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377     build_alias=$ac_optarg ;;
378    
379     -cache-file | --cache-file | --cache-fil | --cache-fi \
380     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381     ac_prev=cache_file ;;
382     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384     cache_file=$ac_optarg ;;
385    
386     --config-cache | -C)
387     cache_file=config.cache ;;
388    
389     -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390     ac_prev=datadir ;;
391     -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392     | --da=*)
393     datadir=$ac_optarg ;;
394    
395     -disable-* | --disable-*)
396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397     # Reject names that are not valid shell variable names.
398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399     { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400     { (exit 1); exit 1; }; }
401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402     eval "enable_$ac_feature=no" ;;
403    
404     -enable-* | --enable-*)
405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406     # Reject names that are not valid shell variable names.
407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408     { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409     { (exit 1); exit 1; }; }
410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411     case $ac_option in
412     *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413     *) ac_optarg=yes ;;
414     esac
415     eval "enable_$ac_feature='$ac_optarg'" ;;
416    
417     -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418     | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419     | --exec | --exe | --ex)
420     ac_prev=exec_prefix ;;
421     -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422     | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423     | --exec=* | --exe=* | --ex=*)
424     exec_prefix=$ac_optarg ;;
425    
426     -gas | --gas | --ga | --g)
427     # Obsolete; use --with-gas.
428     with_gas=yes ;;
429    
430     -help | --help | --hel | --he | -h)
431     ac_init_help=long ;;
432     -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433     ac_init_help=recursive ;;
434     -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435     ac_init_help=short ;;
436    
437     -host | --host | --hos | --ho)
438     ac_prev=host_alias ;;
439     -host=* | --host=* | --hos=* | --ho=*)
440     host_alias=$ac_optarg ;;
441    
442     -includedir | --includedir | --includedi | --included | --include \
443     | --includ | --inclu | --incl | --inc)
444     ac_prev=includedir ;;
445     -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446     | --includ=* | --inclu=* | --incl=* | --inc=*)
447     includedir=$ac_optarg ;;
448    
449     -infodir | --infodir | --infodi | --infod | --info | --inf)
450     ac_prev=infodir ;;
451     -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452     infodir=$ac_optarg ;;
453    
454     -libdir | --libdir | --libdi | --libd)
455     ac_prev=libdir ;;
456     -libdir=* | --libdir=* | --libdi=* | --libd=*)
457     libdir=$ac_optarg ;;
458    
459     -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460     | --libexe | --libex | --libe)
461     ac_prev=libexecdir ;;
462     -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463     | --libexe=* | --libex=* | --libe=*)
464     libexecdir=$ac_optarg ;;
465    
466     -localstatedir | --localstatedir | --localstatedi | --localstated \
467     | --localstate | --localstat | --localsta | --localst \
468     | --locals | --local | --loca | --loc | --lo)
469     ac_prev=localstatedir ;;
470     -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471     | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472     | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473     localstatedir=$ac_optarg ;;
474    
475     -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476     ac_prev=mandir ;;
477     -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478     mandir=$ac_optarg ;;
479    
480     -nfp | --nfp | --nf)
481     # Obsolete; use --without-fp.
482     with_fp=no ;;
483    
484     -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485     | --no-cr | --no-c | -n)
486     no_create=yes ;;
487    
488     -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489     | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490     no_recursion=yes ;;
491    
492     -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493     | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494     | --oldin | --oldi | --old | --ol | --o)
495     ac_prev=oldincludedir ;;
496     -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497     | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498     | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499     oldincludedir=$ac_optarg ;;
500    
501     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502     ac_prev=prefix ;;
503     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504     prefix=$ac_optarg ;;
505    
506     -program-prefix | --program-prefix | --program-prefi | --program-pref \
507     | --program-pre | --program-pr | --program-p)
508     ac_prev=program_prefix ;;
509     -program-prefix=* | --program-prefix=* | --program-prefi=* \
510     | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511     program_prefix=$ac_optarg ;;
512    
513     -program-suffix | --program-suffix | --program-suffi | --program-suff \
514     | --program-suf | --program-su | --program-s)
515     ac_prev=program_suffix ;;
516     -program-suffix=* | --program-suffix=* | --program-suffi=* \
517     | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518     program_suffix=$ac_optarg ;;
519    
520     -program-transform-name | --program-transform-name \
521     | --program-transform-nam | --program-transform-na \
522     | --program-transform-n | --program-transform- \
523     | --program-transform | --program-transfor \
524     | --program-transfo | --program-transf \
525     | --program-trans | --program-tran \
526     | --progr-tra | --program-tr | --program-t)
527     ac_prev=program_transform_name ;;
528     -program-transform-name=* | --program-transform-name=* \
529     | --program-transform-nam=* | --program-transform-na=* \
530     | --program-transform-n=* | --program-transform-=* \
531     | --program-transform=* | --program-transfor=* \
532     | --program-transfo=* | --program-transf=* \
533     | --program-trans=* | --program-tran=* \
534     | --progr-tra=* | --program-tr=* | --program-t=*)
535     program_transform_name=$ac_optarg ;;
536    
537     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538     | -silent | --silent | --silen | --sile | --sil)
539     silent=yes ;;
540    
541     -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542     ac_prev=sbindir ;;
543     -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544     | --sbi=* | --sb=*)
545     sbindir=$ac_optarg ;;
546    
547     -sharedstatedir | --sharedstatedir | --sharedstatedi \
548     | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549     | --sharedst | --shareds | --shared | --share | --shar \
550     | --sha | --sh)
551     ac_prev=sharedstatedir ;;
552     -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553     | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554     | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555     | --sha=* | --sh=*)
556     sharedstatedir=$ac_optarg ;;
557    
558     -site | --site | --sit)
559     ac_prev=site ;;
560     -site=* | --site=* | --sit=*)
561     site=$ac_optarg ;;
562    
563     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564     ac_prev=srcdir ;;
565     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566     srcdir=$ac_optarg ;;
567    
568     -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569     | --syscon | --sysco | --sysc | --sys | --sy)
570     ac_prev=sysconfdir ;;
571     -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572     | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573     sysconfdir=$ac_optarg ;;
574    
575     -target | --target | --targe | --targ | --tar | --ta | --t)
576     ac_prev=target_alias ;;
577     -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578     target_alias=$ac_optarg ;;
579    
580     -v | -verbose | --verbose | --verbos | --verbo | --verb)
581     verbose=yes ;;
582    
583     -version | --version | --versio | --versi | --vers | -V)
584     ac_init_version=: ;;
585    
586     -with-* | --with-*)
587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588     # Reject names that are not valid shell variable names.
589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590     { echo "$as_me: error: invalid package name: $ac_package" >&2
591     { (exit 1); exit 1; }; }
592     ac_package=`echo $ac_package| sed 's/-/_/g'`
593     case $ac_option in
594     *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595     *) ac_optarg=yes ;;
596     esac
597     eval "with_$ac_package='$ac_optarg'" ;;
598    
599     -without-* | --without-*)
600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601     # Reject names that are not valid shell variable names.
602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603     { echo "$as_me: error: invalid package name: $ac_package" >&2
604     { (exit 1); exit 1; }; }
605     ac_package=`echo $ac_package | sed 's/-/_/g'`
606     eval "with_$ac_package=no" ;;
607    
608     --x)
609     # Obsolete; use --with-x.
610     with_x=yes ;;
611    
612     -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613     | --x-incl | --x-inc | --x-in | --x-i)
614     ac_prev=x_includes ;;
615     -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616     | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617     x_includes=$ac_optarg ;;
618    
619     -x-libraries | --x-libraries | --x-librarie | --x-librari \
620     | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621     ac_prev=x_libraries ;;
622     -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624     x_libraries=$ac_optarg ;;
625    
626     -*) { echo "$as_me: error: unrecognized option: $ac_option
627     Try \`$0 --help' for more information." >&2
628     { (exit 1); exit 1; }; }
629     ;;
630    
631     *=*)
632     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633     # Reject names that are not valid shell variable names.
634     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635     { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636     { (exit 1); exit 1; }; }
637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638     eval "$ac_envvar='$ac_optarg'"
639     export $ac_envvar ;;
640    
641     *)
642     # FIXME: should be removed in autoconf 3.0.
643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645     echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647     ;;
648    
649     esac
650     done
651    
652     if test -n "$ac_prev"; then
653     ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654     { echo "$as_me: error: missing argument to $ac_option" >&2
655     { (exit 1); exit 1; }; }
656     fi
657    
658     # Be sure to have absolute paths.
659     for ac_var in exec_prefix prefix
660     do
661     eval ac_val=$`echo $ac_var`
662     case $ac_val in
663     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664     *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665     { (exit 1); exit 1; }; };;
666     esac
667     done
668    
669     # Be sure to have absolute paths.
670     for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 sysadm 1.2 localstatedir libdir includedir oldincludedir infodir mandir
672 sysadm 1.1 do
673     eval ac_val=$`echo $ac_var`
674     case $ac_val in
675     [\\/$]* | ?:[\\/]* ) ;;
676     *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677     { (exit 1); exit 1; }; };;
678     esac
679     done
680    
681     # There might be people who depend on the old broken behavior: `$host'
682     # used to hold the argument of --host etc.
683     # FIXME: To remove some day.
684     build=$build_alias
685     host=$host_alias
686     target=$target_alias
687    
688     # FIXME: To remove some day.
689     if test "x$host_alias" != x; then
690     if test "x$build_alias" = x; then
691     cross_compiling=maybe
692     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693     If a cross compiler is detected then cross compile mode will be used." >&2
694     elif test "x$build_alias" != "x$host_alias"; then
695     cross_compiling=yes
696     fi
697     fi
698    
699     ac_tool_prefix=
700     test -n "$host_alias" && ac_tool_prefix=$host_alias-
701    
702     test "$silent" = yes && exec 6>/dev/null
703    
704    
705     # Find the source files, if location was not specified.
706     if test -z "$srcdir"; then
707     ac_srcdir_defaulted=yes
708     # Try the directory containing this script, then its parent.
709     ac_confdir=`(dirname "$0") 2>/dev/null ||
710     $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 sysadm 1.2 X"$0" : 'X\(//\)[^/]' \| \
712     X"$0" : 'X\(//\)$' \| \
713     X"$0" : 'X\(/\)' \| \
714     . : '\(.\)' 2>/dev/null ||
715 sysadm 1.1 echo X"$0" |
716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718     /^X\(\/\/\)$/{ s//\1/; q; }
719     /^X\(\/\).*/{ s//\1/; q; }
720     s/.*/./; q'`
721     srcdir=$ac_confdir
722     if test ! -r $srcdir/$ac_unique_file; then
723     srcdir=..
724     fi
725     else
726     ac_srcdir_defaulted=no
727     fi
728     if test ! -r $srcdir/$ac_unique_file; then
729     if test "$ac_srcdir_defaulted" = yes; then
730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731     { (exit 1); exit 1; }; }
732     else
733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734     { (exit 1); exit 1; }; }
735     fi
736     fi
737     (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738     { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739     { (exit 1); exit 1; }; }
740     srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741     ac_env_build_alias_set=${build_alias+set}
742     ac_env_build_alias_value=$build_alias
743     ac_cv_env_build_alias_set=${build_alias+set}
744     ac_cv_env_build_alias_value=$build_alias
745     ac_env_host_alias_set=${host_alias+set}
746     ac_env_host_alias_value=$host_alias
747     ac_cv_env_host_alias_set=${host_alias+set}
748     ac_cv_env_host_alias_value=$host_alias
749     ac_env_target_alias_set=${target_alias+set}
750     ac_env_target_alias_value=$target_alias
751     ac_cv_env_target_alias_set=${target_alias+set}
752     ac_cv_env_target_alias_value=$target_alias
753     ac_env_CC_set=${CC+set}
754     ac_env_CC_value=$CC
755     ac_cv_env_CC_set=${CC+set}
756     ac_cv_env_CC_value=$CC
757     ac_env_CFLAGS_set=${CFLAGS+set}
758     ac_env_CFLAGS_value=$CFLAGS
759     ac_cv_env_CFLAGS_set=${CFLAGS+set}
760     ac_cv_env_CFLAGS_value=$CFLAGS
761     ac_env_LDFLAGS_set=${LDFLAGS+set}
762     ac_env_LDFLAGS_value=$LDFLAGS
763     ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764     ac_cv_env_LDFLAGS_value=$LDFLAGS
765     ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766     ac_env_CPPFLAGS_value=$CPPFLAGS
767     ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768     ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 sysadm 1.4 ac_env_CPP_set=${CPP+set}
770     ac_env_CPP_value=$CPP
771     ac_cv_env_CPP_set=${CPP+set}
772     ac_cv_env_CPP_value=$CPP
773 sysadm 1.1
774     #
775     # Report the --help message.
776     #
777     if test "$ac_init_help" = "long"; then
778     # Omit some internal or obsolete options to make the list less imposing.
779     # This message is too long to be a string in the A/UX 3.1 sh.
780     cat <<_ACEOF
781     \`configure' configures bbsd 1.0 to adapt to many kinds of systems.
782    
783     Usage: $0 [OPTION]... [VAR=VALUE]...
784    
785     To assign environment variables (e.g., CC, CFLAGS...), specify them as
786     VAR=VALUE. See below for descriptions of some of the useful variables.
787    
788     Defaults for the options are specified in brackets.
789    
790     Configuration:
791     -h, --help display this help and exit
792     --help=short display options specific to this package
793     --help=recursive display the short help of all the included packages
794     -V, --version display version information and exit
795     -q, --quiet, --silent do not print \`checking...' messages
796     --cache-file=FILE cache test results in FILE [disabled]
797     -C, --config-cache alias for \`--cache-file=config.cache'
798     -n, --no-create do not create output files
799     --srcdir=DIR find the sources in DIR [configure dir or \`..']
800    
801     _ACEOF
802    
803     cat <<_ACEOF
804     Installation directories:
805     --prefix=PREFIX install architecture-independent files in PREFIX
806 sysadm 1.2 [$ac_default_prefix]
807 sysadm 1.1 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
808 sysadm 1.2 [PREFIX]
809 sysadm 1.1
810     By default, \`make install' will install all the files in
811     \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812     an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813     for instance \`--prefix=\$HOME'.
814    
815     For better control, use the options below.
816    
817     Fine tuning of the installation directories:
818     --bindir=DIR user executables [EPREFIX/bin]
819     --sbindir=DIR system admin executables [EPREFIX/sbin]
820     --libexecdir=DIR program executables [EPREFIX/libexec]
821     --datadir=DIR read-only architecture-independent data [PREFIX/share]
822     --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823     --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824     --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825     --libdir=DIR object code libraries [EPREFIX/lib]
826     --includedir=DIR C header files [PREFIX/include]
827     --oldincludedir=DIR C header files for non-gcc [/usr/include]
828     --infodir=DIR info documentation [PREFIX/info]
829     --mandir=DIR man documentation [PREFIX/man]
830     _ACEOF
831    
832     cat <<\_ACEOF
833    
834     Program names:
835     --program-prefix=PREFIX prepend PREFIX to installed program names
836     --program-suffix=SUFFIX append SUFFIX to installed program names
837     --program-transform-name=PROGRAM run sed PROGRAM on installed program names
838     _ACEOF
839     fi
840    
841     if test -n "$ac_init_help"; then
842     case $ac_init_help in
843     short | recursive ) echo "Configuration of bbsd 1.0:";;
844     esac
845     cat <<\_ACEOF
846    
847     Optional Features:
848     --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
849     --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
850 sysadm 1.2 --disable-dependency-tracking speeds up one-time build
851     --enable-dependency-tracking do not reject slow dependency extractors
852 sysadm 1.1
853     Some influential environment variables:
854     CC C compiler command
855     CFLAGS C compiler flags
856     LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
857     nonstandard directory <lib dir>
858     CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
859     headers in a nonstandard directory <include dir>
860 sysadm 1.4 CPP C preprocessor
861 sysadm 1.1
862     Use these variables to override the choices made by `configure' or to help
863     it to find libraries and programs with nonstandard names/locations.
864    
865     _ACEOF
866     fi
867    
868     if test "$ac_init_help" = "recursive"; then
869     # If there are subdirs, report their specific --help.
870     ac_popdir=`pwd`
871     for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
872     test -d $ac_dir || continue
873     ac_builddir=.
874    
875     if test "$ac_dir" != .; then
876     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
877     # A "../" for each directory in $ac_dir_suffix.
878     ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
879     else
880     ac_dir_suffix= ac_top_builddir=
881     fi
882    
883     case $srcdir in
884     .) # No --srcdir option. We are building in place.
885     ac_srcdir=.
886     if test -z "$ac_top_builddir"; then
887     ac_top_srcdir=.
888     else
889     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
890     fi ;;
891     [\\/]* | ?:[\\/]* ) # Absolute path.
892     ac_srcdir=$srcdir$ac_dir_suffix;
893     ac_top_srcdir=$srcdir ;;
894     *) # Relative path.
895     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
896     ac_top_srcdir=$ac_top_builddir$srcdir ;;
897     esac
898 sysadm 1.2
899     # Do not use `cd foo && pwd` to compute absolute paths, because
900     # the directories may not exist.
901     case `pwd` in
902     .) ac_abs_builddir="$ac_dir";;
903     *)
904     case "$ac_dir" in
905     .) ac_abs_builddir=`pwd`;;
906     [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
907     *) ac_abs_builddir=`pwd`/"$ac_dir";;
908     esac;;
909     esac
910     case $ac_abs_builddir in
911     .) ac_abs_top_builddir=${ac_top_builddir}.;;
912     *)
913     case ${ac_top_builddir}. in
914     .) ac_abs_top_builddir=$ac_abs_builddir;;
915     [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
916     *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
917     esac;;
918     esac
919     case $ac_abs_builddir in
920     .) ac_abs_srcdir=$ac_srcdir;;
921     *)
922     case $ac_srcdir in
923     .) ac_abs_srcdir=$ac_abs_builddir;;
924     [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
925     *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
926     esac;;
927     esac
928     case $ac_abs_builddir in
929     .) ac_abs_top_srcdir=$ac_top_srcdir;;
930     *)
931     case $ac_top_srcdir in
932     .) ac_abs_top_srcdir=$ac_abs_builddir;;
933     [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
934     *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
935     esac;;
936     esac
937 sysadm 1.1
938     cd $ac_dir
939     # Check for guested configure; otherwise get Cygnus style configure.
940     if test -f $ac_srcdir/configure.gnu; then
941     echo
942     $SHELL $ac_srcdir/configure.gnu --help=recursive
943     elif test -f $ac_srcdir/configure; then
944     echo
945     $SHELL $ac_srcdir/configure --help=recursive
946     elif test -f $ac_srcdir/configure.ac ||
947 sysadm 1.2 test -f $ac_srcdir/configure.in; then
948 sysadm 1.1 echo
949     $ac_configure --help
950     else
951     echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
952     fi
953     cd $ac_popdir
954     done
955     fi
956    
957     test -n "$ac_init_help" && exit 0
958     if $ac_init_version; then
959     cat <<\_ACEOF
960     bbsd configure 1.0
961 sysadm 1.2 generated by GNU Autoconf 2.59
962 sysadm 1.1
963 sysadm 1.2 Copyright (C) 2003 Free Software Foundation, Inc.
964 sysadm 1.1 This configure script is free software; the Free Software Foundation
965     gives unlimited permission to copy, distribute and modify it.
966     _ACEOF
967     exit 0
968     fi
969     exec 5>config.log
970     cat >&5 <<_ACEOF
971     This file contains any messages produced by compilers while
972     running configure, to aid debugging if configure makes a mistake.
973    
974     It was created by bbsd $as_me 1.0, which was
975 sysadm 1.2 generated by GNU Autoconf 2.59. Invocation command line was
976 sysadm 1.1
977     $ $0 $@
978    
979     _ACEOF
980     {
981     cat <<_ASUNAME
982     ## --------- ##
983     ## Platform. ##
984     ## --------- ##
985    
986     hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
987     uname -m = `(uname -m) 2>/dev/null || echo unknown`
988     uname -r = `(uname -r) 2>/dev/null || echo unknown`
989     uname -s = `(uname -s) 2>/dev/null || echo unknown`
990     uname -v = `(uname -v) 2>/dev/null || echo unknown`
991    
992     /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
993     /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
994    
995     /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
996     /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
997     /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
998     hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
999     /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1000     /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1001     /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1002    
1003     _ASUNAME
1004    
1005     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1006     for as_dir in $PATH
1007     do
1008     IFS=$as_save_IFS
1009     test -z "$as_dir" && as_dir=.
1010     echo "PATH: $as_dir"
1011     done
1012    
1013     } >&5
1014    
1015     cat >&5 <<_ACEOF
1016    
1017    
1018     ## ----------- ##
1019     ## Core tests. ##
1020     ## ----------- ##
1021    
1022     _ACEOF
1023    
1024    
1025     # Keep a trace of the command line.
1026     # Strip out --no-create and --no-recursion so they do not pile up.
1027     # Strip out --silent because we don't want to record it for future runs.
1028     # Also quote any args containing shell meta-characters.
1029     # Make two passes to allow for proper duplicate-argument suppression.
1030     ac_configure_args=
1031     ac_configure_args0=
1032     ac_configure_args1=
1033     ac_sep=
1034     ac_must_keep_next=false
1035     for ac_pass in 1 2
1036     do
1037     for ac_arg
1038     do
1039     case $ac_arg in
1040     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1041     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1042     | -silent | --silent | --silen | --sile | --sil)
1043     continue ;;
1044     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1045     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1046     esac
1047     case $ac_pass in
1048     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1049     2)
1050     ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1051     if test $ac_must_keep_next = true; then
1052 sysadm 1.2 ac_must_keep_next=false # Got value, back to normal.
1053 sysadm 1.1 else
1054 sysadm 1.2 case $ac_arg in
1055     *=* | --config-cache | -C | -disable-* | --disable-* \
1056     | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1057     | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1058     | -with-* | --with-* | -without-* | --without-* | --x)
1059     case "$ac_configure_args0 " in
1060     "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1061     esac
1062     ;;
1063     -* ) ac_must_keep_next=true ;;
1064     esac
1065 sysadm 1.1 fi
1066     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1067     # Get rid of the leading space.
1068     ac_sep=" "
1069     ;;
1070     esac
1071     done
1072     done
1073     $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1074     $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1075    
1076     # When interrupted or exit'd, cleanup temporary files, and complete
1077     # config.log. We remove comments because anyway the quotes in there
1078     # would cause problems or look ugly.
1079     # WARNING: Be sure not to use single quotes in there, as some shells,
1080     # such as our DU 5.0 friend, will then `close' the trap.
1081     trap 'exit_status=$?
1082     # Save into config.log some information that might help in debugging.
1083     {
1084     echo
1085    
1086     cat <<\_ASBOX
1087     ## ---------------- ##
1088     ## Cache variables. ##
1089     ## ---------------- ##
1090     _ASBOX
1091     echo
1092     # The following way of writing the cache mishandles newlines in values,
1093     {
1094     (set) 2>&1 |
1095     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1096     *ac_space=\ *)
1097     sed -n \
1098 sysadm 1.2 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1099     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1100 sysadm 1.1 ;;
1101     *)
1102     sed -n \
1103 sysadm 1.2 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1104 sysadm 1.1 ;;
1105     esac;
1106     }
1107     echo
1108    
1109     cat <<\_ASBOX
1110     ## ----------------- ##
1111     ## Output variables. ##
1112     ## ----------------- ##
1113     _ASBOX
1114     echo
1115     for ac_var in $ac_subst_vars
1116     do
1117     eval ac_val=$`echo $ac_var`
1118     echo "$ac_var='"'"'$ac_val'"'"'"
1119     done | sort
1120     echo
1121    
1122     if test -n "$ac_subst_files"; then
1123     cat <<\_ASBOX
1124     ## ------------- ##
1125     ## Output files. ##
1126     ## ------------- ##
1127     _ASBOX
1128     echo
1129     for ac_var in $ac_subst_files
1130     do
1131     eval ac_val=$`echo $ac_var`
1132 sysadm 1.2 echo "$ac_var='"'"'$ac_val'"'"'"
1133 sysadm 1.1 done | sort
1134     echo
1135     fi
1136    
1137     if test -s confdefs.h; then
1138     cat <<\_ASBOX
1139     ## ----------- ##
1140     ## confdefs.h. ##
1141     ## ----------- ##
1142     _ASBOX
1143     echo
1144     sed "/^$/d" confdefs.h | sort
1145     echo
1146     fi
1147     test "$ac_signal" != 0 &&
1148     echo "$as_me: caught signal $ac_signal"
1149     echo "$as_me: exit $exit_status"
1150     } >&5
1151 sysadm 1.2 rm -f core *.core &&
1152 sysadm 1.1 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1153     exit $exit_status
1154     ' 0
1155     for ac_signal in 1 2 13 15; do
1156     trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1157     done
1158     ac_signal=0
1159    
1160     # confdefs.h avoids OS command line length limits that DEFS can exceed.
1161     rm -rf conftest* confdefs.h
1162     # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1163     echo >confdefs.h
1164    
1165     # Predefined preprocessor variables.
1166    
1167     cat >>confdefs.h <<_ACEOF
1168     #define PACKAGE_NAME "$PACKAGE_NAME"
1169     _ACEOF
1170    
1171    
1172     cat >>confdefs.h <<_ACEOF
1173     #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1174     _ACEOF
1175    
1176    
1177     cat >>confdefs.h <<_ACEOF
1178     #define PACKAGE_VERSION "$PACKAGE_VERSION"
1179     _ACEOF
1180    
1181    
1182     cat >>confdefs.h <<_ACEOF
1183     #define PACKAGE_STRING "$PACKAGE_STRING"
1184     _ACEOF
1185    
1186    
1187     cat >>confdefs.h <<_ACEOF
1188     #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1189     _ACEOF
1190    
1191    
1192     # Let the site file select an alternate cache file if it wants to.
1193     # Prefer explicitly selected file to automatically selected ones.
1194     if test -z "$CONFIG_SITE"; then
1195     if test "x$prefix" != xNONE; then
1196     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1197     else
1198     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1199     fi
1200     fi
1201     for ac_site_file in $CONFIG_SITE; do
1202     if test -r "$ac_site_file"; then
1203     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1204     echo "$as_me: loading site script $ac_site_file" >&6;}
1205     sed 's/^/| /' "$ac_site_file" >&5
1206     . "$ac_site_file"
1207     fi
1208     done
1209    
1210     if test -r "$cache_file"; then
1211     # Some versions of bash will fail to source /dev/null (special
1212     # files actually), so we avoid doing that.
1213     if test -f "$cache_file"; then
1214     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1215     echo "$as_me: loading cache $cache_file" >&6;}
1216     case $cache_file in
1217     [\\/]* | ?:[\\/]* ) . $cache_file;;
1218     *) . ./$cache_file;;
1219     esac
1220     fi
1221     else
1222     { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1223     echo "$as_me: creating cache $cache_file" >&6;}
1224     >$cache_file
1225     fi
1226    
1227     # Check that the precious variables saved in the cache have kept the same
1228     # value.
1229     ac_cache_corrupted=false
1230     for ac_var in `(set) 2>&1 |
1231 sysadm 1.2 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1232 sysadm 1.1 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1233     eval ac_new_set=\$ac_env_${ac_var}_set
1234     eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1235     eval ac_new_val="\$ac_env_${ac_var}_value"
1236     case $ac_old_set,$ac_new_set in
1237     set,)
1238     { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1239     echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1240     ac_cache_corrupted=: ;;
1241     ,set)
1242     { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1243     echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1244     ac_cache_corrupted=: ;;
1245     ,);;
1246     *)
1247     if test "x$ac_old_val" != "x$ac_new_val"; then
1248 sysadm 1.2 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1249 sysadm 1.1 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1250 sysadm 1.2 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1251 sysadm 1.1 echo "$as_me: former value: $ac_old_val" >&2;}
1252 sysadm 1.2 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1253 sysadm 1.1 echo "$as_me: current value: $ac_new_val" >&2;}
1254 sysadm 1.2 ac_cache_corrupted=:
1255 sysadm 1.1 fi;;
1256     esac
1257     # Pass precious variables to config.status.
1258     if test "$ac_new_set" = set; then
1259     case $ac_new_val in
1260     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1261     ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1262     *) ac_arg=$ac_var=$ac_new_val ;;
1263     esac
1264     case " $ac_configure_args " in
1265     *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1266     *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1267     esac
1268     fi
1269     done
1270     if $ac_cache_corrupted; then
1271     { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1272     echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1273     { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1274     echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1275     { (exit 1); exit 1; }; }
1276     fi
1277    
1278     ac_ext=c
1279     ac_cpp='$CPP $CPPFLAGS'
1280     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1281     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1282     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1283    
1284    
1285    
1286    
1287    
1288    
1289    
1290    
1291    
1292    
1293    
1294    
1295    
1296    
1297    
1298    
1299    
1300    
1301    
1302    
1303    
1304    
1305    
1306    
1307    
1308    
1309    
1310 sysadm 1.2 am__api_version="1.8"
1311 sysadm 1.1 ac_aux_dir=
1312     for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1313     if test -f $ac_dir/install-sh; then
1314     ac_aux_dir=$ac_dir
1315     ac_install_sh="$ac_aux_dir/install-sh -c"
1316     break
1317     elif test -f $ac_dir/install.sh; then
1318     ac_aux_dir=$ac_dir
1319     ac_install_sh="$ac_aux_dir/install.sh -c"
1320     break
1321     elif test -f $ac_dir/shtool; then
1322     ac_aux_dir=$ac_dir
1323     ac_install_sh="$ac_aux_dir/shtool install -c"
1324     break
1325     fi
1326     done
1327     if test -z "$ac_aux_dir"; then
1328     { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1329     echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1330     { (exit 1); exit 1; }; }
1331     fi
1332     ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1333     ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1334     ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1335    
1336     # Find a good install program. We prefer a C program (faster),
1337     # so one script is as good as another. But avoid the broken or
1338     # incompatible versions:
1339     # SysV /etc/install, /usr/sbin/install
1340     # SunOS /usr/etc/install
1341     # IRIX /sbin/install
1342     # AIX /bin/install
1343     # AmigaOS /C/install, which installs bootblocks on floppy discs
1344     # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1345     # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1346     # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1347 sysadm 1.2 # OS/2's system install, which has a completely different semantic
1348 sysadm 1.1 # ./install, which can be erroneously created by make from ./install.sh.
1349     echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1350     echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1351     if test -z "$INSTALL"; then
1352     if test "${ac_cv_path_install+set}" = set; then
1353     echo $ECHO_N "(cached) $ECHO_C" >&6
1354     else
1355     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1356     for as_dir in $PATH
1357     do
1358     IFS=$as_save_IFS
1359     test -z "$as_dir" && as_dir=.
1360     # Account for people who put trailing slashes in PATH elements.
1361     case $as_dir/ in
1362     ./ | .// | /cC/* | \
1363     /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1364 sysadm 1.2 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1365 sysadm 1.1 /usr/ucb/* ) ;;
1366     *)
1367     # OSF1 and SCO ODT 3.0 have their own names for install.
1368     # Don't use installbsd from OSF since it installs stuff as root
1369     # by default.
1370     for ac_prog in ginstall scoinst install; do
1371     for ac_exec_ext in '' $ac_executable_extensions; do
1372 sysadm 1.2 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1373     if test $ac_prog = install &&
1374     grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1375     # AIX install. It has an incompatible calling convention.
1376     :
1377     elif test $ac_prog = install &&
1378     grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1379     # program-specific install script used by HP pwplus--don't use.
1380     :
1381     else
1382     ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1383     break 3
1384     fi
1385     fi
1386 sysadm 1.1 done
1387     done
1388     ;;
1389     esac
1390     done
1391    
1392    
1393     fi
1394     if test "${ac_cv_path_install+set}" = set; then
1395     INSTALL=$ac_cv_path_install
1396     else
1397     # As a last resort, use the slow shell script. We don't cache a
1398     # path for INSTALL within a source directory, because that will
1399     # break other packages using the cache if that directory is
1400     # removed, or if the path is relative.
1401     INSTALL=$ac_install_sh
1402     fi
1403     fi
1404     echo "$as_me:$LINENO: result: $INSTALL" >&5
1405     echo "${ECHO_T}$INSTALL" >&6
1406    
1407     # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1408     # It thinks the first close brace ends the variable substitution.
1409     test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1410    
1411     test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1412    
1413     test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1414    
1415     echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1416     echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1417     # Just in case
1418     sleep 1
1419     echo timestamp > conftest.file
1420     # Do `set' in a subshell so we don't clobber the current shell's
1421     # arguments. Must try -L first in case configure is actually a
1422     # symlink; some systems play weird games with the mod time of symlinks
1423     # (eg FreeBSD returns the mod time of the symlink's containing
1424     # directory).
1425     if (
1426     set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1427     if test "$*" = "X"; then
1428     # -L didn't work.
1429     set X `ls -t $srcdir/configure conftest.file`
1430     fi
1431     rm -f conftest.file
1432     if test "$*" != "X $srcdir/configure conftest.file" \
1433     && test "$*" != "X conftest.file $srcdir/configure"; then
1434    
1435     # If neither matched, then we have a broken ls. This can happen
1436     # if, for instance, CONFIG_SHELL is bash and it inherits a
1437     # broken ls alias from the environment. This has actually
1438     # happened. Such a system could not be considered "sane".
1439     { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1440     alias in your environment" >&5
1441     echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1442     alias in your environment" >&2;}
1443     { (exit 1); exit 1; }; }
1444     fi
1445    
1446     test "$2" = conftest.file
1447     )
1448     then
1449     # Ok.
1450     :
1451     else
1452     { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1453     Check your system clock" >&5
1454     echo "$as_me: error: newly created file is older than distributed files!
1455     Check your system clock" >&2;}
1456     { (exit 1); exit 1; }; }
1457     fi
1458     echo "$as_me:$LINENO: result: yes" >&5
1459     echo "${ECHO_T}yes" >&6
1460     test "$program_prefix" != NONE &&
1461     program_transform_name="s,^,$program_prefix,;$program_transform_name"
1462     # Use a double $ so make ignores it.
1463     test "$program_suffix" != NONE &&
1464     program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1465     # Double any \ or $. echo might interpret backslashes.
1466     # By default was `s,x,x', remove it if useless.
1467     cat <<\_ACEOF >conftest.sed
1468     s/[\\$]/&&/g;s/;s,x,x,$//
1469     _ACEOF
1470     program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1471     rm conftest.sed
1472    
1473     # expand $ac_aux_dir to an absolute path
1474     am_aux_dir=`cd $ac_aux_dir && pwd`
1475    
1476     test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1477     # Use eval to expand $SHELL
1478     if eval "$MISSING --run true"; then
1479     am_missing_run="$MISSING --run "
1480     else
1481     am_missing_run=
1482     { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1483     echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1484     fi
1485    
1486 sysadm 1.2 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1487     # Keeping the `.' argument allows $(mkdir_p) to be used without
1488     # argument. Indeed, we sometimes output rules like
1489     # $(mkdir_p) $(somedir)
1490     # where $(somedir) is conditionally defined.
1491     # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1492     # expensive solution, as it forces Make to start a sub-shell.)
1493     mkdir_p='mkdir -p -- .'
1494     else
1495     # On NextStep and OpenStep, the `mkdir' command does not
1496     # recognize any option. It will interpret all options as
1497     # directories to create, and then abort because `.' already
1498     # exists.
1499     for d in ./-p ./--version;
1500     do
1501     test -d $d && rmdir $d
1502     done
1503     # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1504     if test -f "$ac_aux_dir/mkinstalldirs"; then
1505     mkdir_p='$(mkinstalldirs)'
1506     else
1507     mkdir_p='$(install_sh) -d'
1508     fi
1509     fi
1510    
1511 sysadm 1.1 for ac_prog in gawk mawk nawk awk
1512     do
1513     # Extract the first word of "$ac_prog", so it can be a program name with args.
1514     set dummy $ac_prog; ac_word=$2
1515     echo "$as_me:$LINENO: checking for $ac_word" >&5
1516     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1517     if test "${ac_cv_prog_AWK+set}" = set; then
1518     echo $ECHO_N "(cached) $ECHO_C" >&6
1519     else
1520     if test -n "$AWK"; then
1521     ac_cv_prog_AWK="$AWK" # Let the user override the test.
1522     else
1523     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1524     for as_dir in $PATH
1525     do
1526     IFS=$as_save_IFS
1527     test -z "$as_dir" && as_dir=.
1528     for ac_exec_ext in '' $ac_executable_extensions; do
1529     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1530     ac_cv_prog_AWK="$ac_prog"
1531     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1532     break 2
1533     fi
1534     done
1535     done
1536    
1537     fi
1538     fi
1539     AWK=$ac_cv_prog_AWK
1540     if test -n "$AWK"; then
1541     echo "$as_me:$LINENO: result: $AWK" >&5
1542     echo "${ECHO_T}$AWK" >&6
1543     else
1544     echo "$as_me:$LINENO: result: no" >&5
1545     echo "${ECHO_T}no" >&6
1546     fi
1547    
1548     test -n "$AWK" && break
1549     done
1550    
1551     echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1552     echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1553 sysadm 1.2 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1554 sysadm 1.1 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1555     echo $ECHO_N "(cached) $ECHO_C" >&6
1556     else
1557     cat >conftest.make <<\_ACEOF
1558     all:
1559     @echo 'ac_maketemp="$(MAKE)"'
1560     _ACEOF
1561     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1562     eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1563     if test -n "$ac_maketemp"; then
1564     eval ac_cv_prog_make_${ac_make}_set=yes
1565     else
1566     eval ac_cv_prog_make_${ac_make}_set=no
1567     fi
1568     rm -f conftest.make
1569     fi
1570     if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1571     echo "$as_me:$LINENO: result: yes" >&5
1572     echo "${ECHO_T}yes" >&6
1573     SET_MAKE=
1574     else
1575     echo "$as_me:$LINENO: result: no" >&5
1576     echo "${ECHO_T}no" >&6
1577     SET_MAKE="MAKE=${MAKE-make}"
1578     fi
1579    
1580 sysadm 1.2 rm -rf .tst 2>/dev/null
1581     mkdir .tst 2>/dev/null
1582     if test -d .tst; then
1583     am__leading_dot=.
1584     else
1585     am__leading_dot=_
1586     fi
1587     rmdir .tst 2>/dev/null
1588    
1589     # test to see if srcdir already configured
1590 sysadm 1.1 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1591     test -f $srcdir/config.status; then
1592     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1593     echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1594     { (exit 1); exit 1; }; }
1595     fi
1596    
1597 sysadm 1.2 # test whether we have cygpath
1598     if test -z "$CYGPATH_W"; then
1599     if (cygpath --version) >/dev/null 2>/dev/null; then
1600     CYGPATH_W='cygpath -w'
1601     else
1602     CYGPATH_W=echo
1603     fi
1604     fi
1605    
1606    
1607 sysadm 1.1 # Define the identity of the package.
1608     PACKAGE=bbsd
1609     VERSION=1.0
1610    
1611    
1612     cat >>confdefs.h <<_ACEOF
1613     #define PACKAGE "$PACKAGE"
1614     _ACEOF
1615    
1616    
1617     cat >>confdefs.h <<_ACEOF
1618     #define VERSION "$VERSION"
1619     _ACEOF
1620    
1621     # Some tools Automake needs.
1622    
1623     ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1624    
1625    
1626     AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1627    
1628    
1629     AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1630    
1631    
1632     AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1633    
1634    
1635     MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1636    
1637    
1638     AMTAR=${AMTAR-"${am_missing_run}tar"}
1639    
1640     install_sh=${install_sh-"$am_aux_dir/install-sh"}
1641    
1642     # Installed binaries are usually stripped using `strip' when the user
1643     # run `make install-strip'. However `strip' might not be the right
1644     # tool to use in cross-compilation environments, therefore Automake
1645     # will honor the `STRIP' environment variable to overrule this program.
1646     if test "$cross_compiling" != no; then
1647     if test -n "$ac_tool_prefix"; then
1648     # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1649     set dummy ${ac_tool_prefix}strip; ac_word=$2
1650     echo "$as_me:$LINENO: checking for $ac_word" >&5
1651     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1652     if test "${ac_cv_prog_STRIP+set}" = set; then
1653     echo $ECHO_N "(cached) $ECHO_C" >&6
1654     else
1655     if test -n "$STRIP"; then
1656     ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1657     else
1658     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1659     for as_dir in $PATH
1660     do
1661     IFS=$as_save_IFS
1662     test -z "$as_dir" && as_dir=.
1663     for ac_exec_ext in '' $ac_executable_extensions; do
1664     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1665     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1666     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1667     break 2
1668     fi
1669     done
1670     done
1671    
1672     fi
1673     fi
1674     STRIP=$ac_cv_prog_STRIP
1675     if test -n "$STRIP"; then
1676     echo "$as_me:$LINENO: result: $STRIP" >&5
1677     echo "${ECHO_T}$STRIP" >&6
1678     else
1679     echo "$as_me:$LINENO: result: no" >&5
1680     echo "${ECHO_T}no" >&6
1681     fi
1682    
1683     fi
1684     if test -z "$ac_cv_prog_STRIP"; then
1685     ac_ct_STRIP=$STRIP
1686     # Extract the first word of "strip", so it can be a program name with args.
1687     set dummy strip; ac_word=$2
1688     echo "$as_me:$LINENO: checking for $ac_word" >&5
1689     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1690     if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1691     echo $ECHO_N "(cached) $ECHO_C" >&6
1692     else
1693     if test -n "$ac_ct_STRIP"; then
1694     ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1695     else
1696     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1697     for as_dir in $PATH
1698     do
1699     IFS=$as_save_IFS
1700     test -z "$as_dir" && as_dir=.
1701     for ac_exec_ext in '' $ac_executable_extensions; do
1702     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1703     ac_cv_prog_ac_ct_STRIP="strip"
1704     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1705     break 2
1706     fi
1707     done
1708     done
1709    
1710     test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1711     fi
1712     fi
1713     ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1714     if test -n "$ac_ct_STRIP"; then
1715     echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1716     echo "${ECHO_T}$ac_ct_STRIP" >&6
1717     else
1718     echo "$as_me:$LINENO: result: no" >&5
1719     echo "${ECHO_T}no" >&6
1720     fi
1721    
1722     STRIP=$ac_ct_STRIP
1723     else
1724     STRIP="$ac_cv_prog_STRIP"
1725     fi
1726    
1727     fi
1728     INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1729    
1730     # We need awk for the "check" target. The system "awk" is bad on
1731     # some platforms.
1732    
1733    
1734    
1735    
1736 sysadm 1.4 # AM_CONFIG_HEADERS(config.h)
1737 sysadm 1.1
1738     # Checks for programs.
1739     ac_ext=c
1740     ac_cpp='$CPP $CPPFLAGS'
1741     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1742     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1743     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1744     if test -n "$ac_tool_prefix"; then
1745     # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1746     set dummy ${ac_tool_prefix}gcc; ac_word=$2
1747     echo "$as_me:$LINENO: checking for $ac_word" >&5
1748     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1749     if test "${ac_cv_prog_CC+set}" = set; then
1750     echo $ECHO_N "(cached) $ECHO_C" >&6
1751     else
1752     if test -n "$CC"; then
1753     ac_cv_prog_CC="$CC" # Let the user override the test.
1754     else
1755     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1756     for as_dir in $PATH
1757     do
1758     IFS=$as_save_IFS
1759     test -z "$as_dir" && as_dir=.
1760     for ac_exec_ext in '' $ac_executable_extensions; do
1761     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1762     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1763     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1764     break 2
1765     fi
1766     done
1767     done
1768    
1769     fi
1770     fi
1771     CC=$ac_cv_prog_CC
1772     if test -n "$CC"; then
1773     echo "$as_me:$LINENO: result: $CC" >&5
1774     echo "${ECHO_T}$CC" >&6
1775     else
1776     echo "$as_me:$LINENO: result: no" >&5
1777     echo "${ECHO_T}no" >&6
1778     fi
1779    
1780     fi
1781     if test -z "$ac_cv_prog_CC"; then
1782     ac_ct_CC=$CC
1783     # Extract the first word of "gcc", so it can be a program name with args.
1784     set dummy gcc; ac_word=$2
1785     echo "$as_me:$LINENO: checking for $ac_word" >&5
1786     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1787     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1788     echo $ECHO_N "(cached) $ECHO_C" >&6
1789     else
1790     if test -n "$ac_ct_CC"; then
1791     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1792     else
1793     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1794     for as_dir in $PATH
1795     do
1796     IFS=$as_save_IFS
1797     test -z "$as_dir" && as_dir=.
1798     for ac_exec_ext in '' $ac_executable_extensions; do
1799     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1800     ac_cv_prog_ac_ct_CC="gcc"
1801     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1802     break 2
1803     fi
1804     done
1805     done
1806    
1807     fi
1808     fi
1809     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1810     if test -n "$ac_ct_CC"; then
1811     echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1812     echo "${ECHO_T}$ac_ct_CC" >&6
1813     else
1814     echo "$as_me:$LINENO: result: no" >&5
1815     echo "${ECHO_T}no" >&6
1816     fi
1817    
1818     CC=$ac_ct_CC
1819     else
1820     CC="$ac_cv_prog_CC"
1821     fi
1822    
1823     if test -z "$CC"; then
1824     if test -n "$ac_tool_prefix"; then
1825     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1826     set dummy ${ac_tool_prefix}cc; ac_word=$2
1827     echo "$as_me:$LINENO: checking for $ac_word" >&5
1828     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1829     if test "${ac_cv_prog_CC+set}" = set; then
1830     echo $ECHO_N "(cached) $ECHO_C" >&6
1831     else
1832     if test -n "$CC"; then
1833     ac_cv_prog_CC="$CC" # Let the user override the test.
1834     else
1835     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1836     for as_dir in $PATH
1837     do
1838     IFS=$as_save_IFS
1839     test -z "$as_dir" && as_dir=.
1840     for ac_exec_ext in '' $ac_executable_extensions; do
1841     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1842     ac_cv_prog_CC="${ac_tool_prefix}cc"
1843     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1844     break 2
1845     fi
1846     done
1847     done
1848    
1849     fi
1850     fi
1851     CC=$ac_cv_prog_CC
1852     if test -n "$CC"; then
1853     echo "$as_me:$LINENO: result: $CC" >&5
1854     echo "${ECHO_T}$CC" >&6
1855     else
1856     echo "$as_me:$LINENO: result: no" >&5
1857     echo "${ECHO_T}no" >&6
1858     fi
1859    
1860     fi
1861     if test -z "$ac_cv_prog_CC"; then
1862     ac_ct_CC=$CC
1863     # Extract the first word of "cc", so it can be a program name with args.
1864     set dummy cc; ac_word=$2
1865     echo "$as_me:$LINENO: checking for $ac_word" >&5
1866     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1867     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1868     echo $ECHO_N "(cached) $ECHO_C" >&6
1869     else
1870     if test -n "$ac_ct_CC"; then
1871     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1872     else
1873     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1874     for as_dir in $PATH
1875     do
1876     IFS=$as_save_IFS
1877     test -z "$as_dir" && as_dir=.
1878     for ac_exec_ext in '' $ac_executable_extensions; do
1879     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1880     ac_cv_prog_ac_ct_CC="cc"
1881     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1882     break 2
1883     fi
1884     done
1885     done
1886    
1887     fi
1888     fi
1889     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1890     if test -n "$ac_ct_CC"; then
1891     echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1892     echo "${ECHO_T}$ac_ct_CC" >&6
1893     else
1894     echo "$as_me:$LINENO: result: no" >&5
1895     echo "${ECHO_T}no" >&6
1896     fi
1897    
1898     CC=$ac_ct_CC
1899     else
1900     CC="$ac_cv_prog_CC"
1901     fi
1902    
1903     fi
1904     if test -z "$CC"; then
1905     # Extract the first word of "cc", so it can be a program name with args.
1906     set dummy cc; ac_word=$2
1907     echo "$as_me:$LINENO: checking for $ac_word" >&5
1908     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1909     if test "${ac_cv_prog_CC+set}" = set; then
1910     echo $ECHO_N "(cached) $ECHO_C" >&6
1911     else
1912     if test -n "$CC"; then
1913     ac_cv_prog_CC="$CC" # Let the user override the test.
1914     else
1915     ac_prog_rejected=no
1916     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917     for as_dir in $PATH
1918     do
1919     IFS=$as_save_IFS
1920     test -z "$as_dir" && as_dir=.
1921     for ac_exec_ext in '' $ac_executable_extensions; do
1922     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1923     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1924     ac_prog_rejected=yes
1925     continue
1926     fi
1927     ac_cv_prog_CC="cc"
1928     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1929     break 2
1930     fi
1931     done
1932     done
1933    
1934     if test $ac_prog_rejected = yes; then
1935     # We found a bogon in the path, so make sure we never use it.
1936     set dummy $ac_cv_prog_CC
1937     shift
1938     if test $# != 0; then
1939     # We chose a different compiler from the bogus one.
1940     # However, it has the same basename, so the bogon will be chosen
1941     # first if we set CC to just the basename; use the full file name.
1942     shift
1943     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1944     fi
1945     fi
1946     fi
1947     fi
1948     CC=$ac_cv_prog_CC
1949     if test -n "$CC"; then
1950     echo "$as_me:$LINENO: result: $CC" >&5
1951     echo "${ECHO_T}$CC" >&6
1952     else
1953     echo "$as_me:$LINENO: result: no" >&5
1954     echo "${ECHO_T}no" >&6
1955     fi
1956    
1957     fi
1958     if test -z "$CC"; then
1959     if test -n "$ac_tool_prefix"; then
1960     for ac_prog in cl
1961     do
1962     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1963     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1964     echo "$as_me:$LINENO: checking for $ac_word" >&5
1965     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1966     if test "${ac_cv_prog_CC+set}" = set; then
1967     echo $ECHO_N "(cached) $ECHO_C" >&6
1968     else
1969     if test -n "$CC"; then
1970     ac_cv_prog_CC="$CC" # Let the user override the test.
1971     else
1972     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1973     for as_dir in $PATH
1974     do
1975     IFS=$as_save_IFS
1976     test -z "$as_dir" && as_dir=.
1977     for ac_exec_ext in '' $ac_executable_extensions; do
1978     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1979     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1980     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1981     break 2
1982     fi
1983     done
1984     done
1985    
1986     fi
1987     fi
1988     CC=$ac_cv_prog_CC
1989     if test -n "$CC"; then
1990     echo "$as_me:$LINENO: result: $CC" >&5
1991     echo "${ECHO_T}$CC" >&6
1992     else
1993     echo "$as_me:$LINENO: result: no" >&5
1994     echo "${ECHO_T}no" >&6
1995     fi
1996    
1997     test -n "$CC" && break
1998     done
1999     fi
2000     if test -z "$CC"; then
2001     ac_ct_CC=$CC
2002     for ac_prog in cl
2003     do
2004     # Extract the first word of "$ac_prog", so it can be a program name with args.
2005     set dummy $ac_prog; ac_word=$2
2006     echo "$as_me:$LINENO: checking for $ac_word" >&5
2007     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2008     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2009     echo $ECHO_N "(cached) $ECHO_C" >&6
2010     else
2011     if test -n "$ac_ct_CC"; then
2012     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2013     else
2014     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2015     for as_dir in $PATH
2016     do
2017     IFS=$as_save_IFS
2018     test -z "$as_dir" && as_dir=.
2019     for ac_exec_ext in '' $ac_executable_extensions; do
2020     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2021     ac_cv_prog_ac_ct_CC="$ac_prog"
2022     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2023     break 2
2024     fi
2025     done
2026     done
2027    
2028     fi
2029     fi
2030     ac_ct_CC=$ac_cv_prog_ac_ct_CC
2031     if test -n "$ac_ct_CC"; then
2032     echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2033     echo "${ECHO_T}$ac_ct_CC" >&6
2034     else
2035     echo "$as_me:$LINENO: result: no" >&5
2036     echo "${ECHO_T}no" >&6
2037     fi
2038    
2039     test -n "$ac_ct_CC" && break
2040     done
2041    
2042     CC=$ac_ct_CC
2043     fi
2044    
2045     fi
2046    
2047    
2048     test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2049     See \`config.log' for more details." >&5
2050     echo "$as_me: error: no acceptable C compiler found in \$PATH
2051     See \`config.log' for more details." >&2;}
2052     { (exit 1); exit 1; }; }
2053    
2054     # Provide some information about the compiler.
2055     echo "$as_me:$LINENO:" \
2056     "checking for C compiler version" >&5
2057     ac_compiler=`set X $ac_compile; echo $2`
2058     { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2059     (eval $ac_compiler --version </dev/null >&5) 2>&5
2060     ac_status=$?
2061     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062     (exit $ac_status); }
2063     { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2064     (eval $ac_compiler -v </dev/null >&5) 2>&5
2065     ac_status=$?
2066     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067     (exit $ac_status); }
2068     { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2069     (eval $ac_compiler -V </dev/null >&5) 2>&5
2070     ac_status=$?
2071     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2072     (exit $ac_status); }
2073    
2074     cat >conftest.$ac_ext <<_ACEOF
2075     /* confdefs.h. */
2076     _ACEOF
2077     cat confdefs.h >>conftest.$ac_ext
2078     cat >>conftest.$ac_ext <<_ACEOF
2079     /* end confdefs.h. */
2080    
2081     int
2082     main ()
2083     {
2084    
2085     ;
2086     return 0;
2087     }
2088     _ACEOF
2089     ac_clean_files_save=$ac_clean_files
2090     ac_clean_files="$ac_clean_files a.out a.exe b.out"
2091     # Try to create an executable without -o first, disregard a.out.
2092     # It will help us diagnose broken compilers, and finding out an intuition
2093     # of exeext.
2094 sysadm 1.2 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2095     echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2096 sysadm 1.1 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2097     if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2098     (eval $ac_link_default) 2>&5
2099     ac_status=$?
2100     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101     (exit $ac_status); }; then
2102     # Find the output, starting from the most likely. This scheme is
2103     # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2104     # resort.
2105    
2106     # Be careful to initialize this variable, since it used to be cached.
2107     # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2108     ac_cv_exeext=
2109     # b.out is created by i960 compilers.
2110     for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2111     do
2112     test -f "$ac_file" || continue
2113     case $ac_file in
2114     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2115 sysadm 1.2 ;;
2116 sysadm 1.1 conftest.$ac_ext )
2117 sysadm 1.2 # This is the source file.
2118     ;;
2119 sysadm 1.1 [ab].out )
2120 sysadm 1.2 # We found the default executable, but exeext='' is most
2121     # certainly right.
2122     break;;
2123 sysadm 1.1 *.* )
2124 sysadm 1.2 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2125     # FIXME: I believe we export ac_cv_exeext for Libtool,
2126     # but it would be cool to find out if it's true. Does anybody
2127     # maintain Libtool? --akim.
2128     export ac_cv_exeext
2129     break;;
2130 sysadm 1.1 * )
2131 sysadm 1.2 break;;
2132 sysadm 1.1 esac
2133     done
2134     else
2135     echo "$as_me: failed program was:" >&5
2136     sed 's/^/| /' conftest.$ac_ext >&5
2137    
2138     { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2139     See \`config.log' for more details." >&5
2140     echo "$as_me: error: C compiler cannot create executables
2141     See \`config.log' for more details." >&2;}
2142     { (exit 77); exit 77; }; }
2143     fi
2144    
2145     ac_exeext=$ac_cv_exeext
2146     echo "$as_me:$LINENO: result: $ac_file" >&5
2147     echo "${ECHO_T}$ac_file" >&6
2148    
2149     # Check the compiler produces executables we can run. If not, either
2150     # the compiler is broken, or we cross compile.
2151     echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2152     echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2153     # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2154     # If not cross compiling, check that we can run a simple program.
2155     if test "$cross_compiling" != yes; then
2156     if { ac_try='./$ac_file'
2157     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2158     (eval $ac_try) 2>&5
2159     ac_status=$?
2160     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161     (exit $ac_status); }; }; then
2162     cross_compiling=no
2163     else
2164     if test "$cross_compiling" = maybe; then
2165     cross_compiling=yes
2166     else
2167     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2168     If you meant to cross compile, use \`--host'.
2169     See \`config.log' for more details." >&5
2170     echo "$as_me: error: cannot run C compiled programs.
2171     If you meant to cross compile, use \`--host'.
2172     See \`config.log' for more details." >&2;}
2173     { (exit 1); exit 1; }; }
2174     fi
2175     fi
2176     fi
2177     echo "$as_me:$LINENO: result: yes" >&5
2178     echo "${ECHO_T}yes" >&6
2179    
2180     rm -f a.out a.exe conftest$ac_cv_exeext b.out
2181     ac_clean_files=$ac_clean_files_save
2182     # Check the compiler produces executables we can run. If not, either
2183     # the compiler is broken, or we cross compile.
2184     echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2185     echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2186     echo "$as_me:$LINENO: result: $cross_compiling" >&5
2187     echo "${ECHO_T}$cross_compiling" >&6
2188    
2189     echo "$as_me:$LINENO: checking for suffix of executables" >&5
2190     echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2191     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2192     (eval $ac_link) 2>&5
2193     ac_status=$?
2194     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195     (exit $ac_status); }; then
2196     # If both `conftest.exe' and `conftest' are `present' (well, observable)
2197     # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2198     # work properly (i.e., refer to `conftest.exe'), while it won't with
2199     # `rm'.
2200     for ac_file in conftest.exe conftest conftest.*; do
2201     test -f "$ac_file" || continue
2202     case $ac_file in
2203     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2204     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2205 sysadm 1.2 export ac_cv_exeext
2206     break;;
2207 sysadm 1.1 * ) break;;
2208     esac
2209     done
2210     else
2211     { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2212     See \`config.log' for more details." >&5
2213     echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2214     See \`config.log' for more details." >&2;}
2215     { (exit 1); exit 1; }; }
2216     fi
2217    
2218     rm -f conftest$ac_cv_exeext
2219     echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2220     echo "${ECHO_T}$ac_cv_exeext" >&6
2221    
2222     rm -f conftest.$ac_ext
2223     EXEEXT=$ac_cv_exeext
2224     ac_exeext=$EXEEXT
2225     echo "$as_me:$LINENO: checking for suffix of object files" >&5
2226     echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2227     if test "${ac_cv_objext+set}" = set; then
2228     echo $ECHO_N "(cached) $ECHO_C" >&6
2229     else
2230     cat >conftest.$ac_ext <<_ACEOF
2231     /* confdefs.h. */
2232     _ACEOF
2233     cat confdefs.h >>conftest.$ac_ext
2234     cat >>conftest.$ac_ext <<_ACEOF
2235     /* end confdefs.h. */
2236    
2237     int
2238     main ()
2239     {
2240    
2241     ;
2242     return 0;
2243     }
2244     _ACEOF
2245     rm -f conftest.o conftest.obj
2246     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2247     (eval $ac_compile) 2>&5
2248     ac_status=$?
2249     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250     (exit $ac_status); }; then
2251     for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2252     case $ac_file in
2253     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2254     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2255     break;;
2256     esac
2257     done
2258     else
2259     echo "$as_me: failed program was:" >&5
2260     sed 's/^/| /' conftest.$ac_ext >&5
2261    
2262     { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2263     See \`config.log' for more details." >&5
2264     echo "$as_me: error: cannot compute suffix of object files: cannot compile
2265     See \`config.log' for more details." >&2;}
2266     { (exit 1); exit 1; }; }
2267     fi
2268    
2269     rm -f conftest.$ac_cv_objext conftest.$ac_ext
2270     fi
2271     echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2272     echo "${ECHO_T}$ac_cv_objext" >&6
2273     OBJEXT=$ac_cv_objext
2274     ac_objext=$OBJEXT
2275     echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2276     echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2277     if test "${ac_cv_c_compiler_gnu+set}" = set; then
2278     echo $ECHO_N "(cached) $ECHO_C" >&6
2279     else
2280     cat >conftest.$ac_ext <<_ACEOF
2281     /* confdefs.h. */
2282     _ACEOF
2283     cat confdefs.h >>conftest.$ac_ext
2284     cat >>conftest.$ac_ext <<_ACEOF
2285     /* end confdefs.h. */
2286    
2287     int
2288     main ()
2289     {
2290     #ifndef __GNUC__
2291     choke me
2292     #endif
2293    
2294     ;
2295     return 0;
2296     }
2297     _ACEOF
2298     rm -f conftest.$ac_objext
2299     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2300 sysadm 1.2 (eval $ac_compile) 2>conftest.er1
2301 sysadm 1.1 ac_status=$?
2302 sysadm 1.2 grep -v '^ *+' conftest.er1 >conftest.err
2303     rm -f conftest.er1
2304     cat conftest.err >&5
2305 sysadm 1.1 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306     (exit $ac_status); } &&
2307 sysadm 1.2 { ac_try='test -z "$ac_c_werror_flag"
2308     || test ! -s conftest.err'
2309     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310     (eval $ac_try) 2>&5
2311     ac_status=$?
2312     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313     (exit $ac_status); }; } &&
2314     { ac_try='test -s conftest.$ac_objext'
2315 sysadm 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2316     (eval $ac_try) 2>&5
2317     ac_status=$?
2318     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319     (exit $ac_status); }; }; then
2320     ac_compiler_gnu=yes
2321     else
2322     echo "$as_me: failed program was:" >&5
2323     sed 's/^/| /' conftest.$ac_ext >&5
2324    
2325     ac_compiler_gnu=no
2326     fi
2327 sysadm 1.2 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2328 sysadm 1.1 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2329    
2330     fi
2331     echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2332     echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2333     GCC=`test $ac_compiler_gnu = yes && echo yes`
2334     ac_test_CFLAGS=${CFLAGS+set}
2335     ac_save_CFLAGS=$CFLAGS
2336     CFLAGS="-g"
2337     echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2338     echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2339     if test "${ac_cv_prog_cc_g+set}" = set; then
2340     echo $ECHO_N "(cached) $ECHO_C" >&6
2341     else
2342     cat >conftest.$ac_ext <<_ACEOF
2343     /* confdefs.h. */
2344     _ACEOF
2345     cat confdefs.h >>conftest.$ac_ext
2346     cat >>conftest.$ac_ext <<_ACEOF
2347     /* end confdefs.h. */
2348    
2349     int
2350     main ()
2351     {
2352    
2353     ;
2354     return 0;
2355     }
2356     _ACEOF
2357     rm -f conftest.$ac_objext
2358     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2359 sysadm 1.2 (eval $ac_compile) 2>conftest.er1
2360 sysadm 1.1 ac_status=$?
2361 sysadm 1.2 grep -v '^ *+' conftest.er1 >conftest.err
2362     rm -f conftest.er1
2363     cat conftest.err >&5
2364 sysadm 1.1 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365     (exit $ac_status); } &&
2366 sysadm 1.2 { ac_try='test -z "$ac_c_werror_flag"
2367     || test ! -s conftest.err'
2368     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2369     (eval $ac_try) 2>&5
2370     ac_status=$?
2371     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372     (exit $ac_status); }; } &&
2373     { ac_try='test -s conftest.$ac_objext'
2374 sysadm 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2375     (eval $ac_try) 2>&5
2376     ac_status=$?
2377     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378     (exit $ac_status); }; }; then
2379     ac_cv_prog_cc_g=yes
2380     else
2381     echo "$as_me: failed program was:" >&5
2382     sed 's/^/| /' conftest.$ac_ext >&5
2383    
2384     ac_cv_prog_cc_g=no
2385     fi
2386 sysadm 1.2 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2387 sysadm 1.1 fi
2388     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2389     echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2390     if test "$ac_test_CFLAGS" = set; then
2391     CFLAGS=$ac_save_CFLAGS
2392     elif test $ac_cv_prog_cc_g = yes; then
2393     if test "$GCC" = yes; then
2394     CFLAGS="-g -O2"
2395     else
2396     CFLAGS="-g"
2397     fi
2398     else
2399     if test "$GCC" = yes; then
2400     CFLAGS="-O2"
2401     else
2402     CFLAGS=
2403     fi
2404     fi
2405     echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2406     echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2407     if test "${ac_cv_prog_cc_stdc+set}" = set; then
2408     echo $ECHO_N "(cached) $ECHO_C" >&6
2409     else
2410     ac_cv_prog_cc_stdc=no
2411     ac_save_CC=$CC
2412     cat >conftest.$ac_ext <<_ACEOF
2413     /* confdefs.h. */
2414     _ACEOF
2415     cat confdefs.h >>conftest.$ac_ext
2416     cat >>conftest.$ac_ext <<_ACEOF
2417     /* end confdefs.h. */
2418     #include <stdarg.h>
2419     #include <stdio.h>
2420     #include <sys/types.h>
2421     #include <sys/stat.h>
2422     /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2423     struct buf { int x; };
2424     FILE * (*rcsopen) (struct buf *, struct stat *, int);
2425     static char *e (p, i)
2426     char **p;
2427     int i;
2428     {
2429     return p[i];
2430     }
2431     static char *f (char * (*g) (char **, int), char **p, ...)
2432     {
2433     char *s;
2434     va_list v;
2435     va_start (v,p);
2436     s = g (p, va_arg (v,int));
2437     va_end (v);
2438     return s;
2439     }
2440 sysadm 1.2
2441     /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2442     function prototypes and stuff, but not '\xHH' hex character constants.
2443     These don't provoke an error unfortunately, instead are silently treated
2444     as 'x'. The following induces an error, until -std1 is added to get
2445     proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2446     array size at least. It's necessary to write '\x00'==0 to get something
2447     that's true only with -std1. */
2448     int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2449    
2450 sysadm 1.1 int test (int i, double x);
2451     struct s1 {int (*f) (int a);};
2452     struct s2 {int (*f) (double a);};
2453     int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2454     int argc;
2455     char **argv;
2456     int
2457     main ()
2458     {
2459     return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2460     ;
2461     return 0;
2462     }
2463     _ACEOF
2464     # Don't try gcc -ansi; that turns off useful extensions and
2465     # breaks some systems' header files.
2466     # AIX -qlanglvl=ansi
2467     # Ultrix and OSF/1 -std1
2468     # HP-UX 10.20 and later -Ae
2469     # HP-UX older versions -Aa -D_HPUX_SOURCE
2470     # SVR4 -Xc -D__EXTENSIONS__
2471     for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2472     do
2473     CC="$ac_save_CC $ac_arg"
2474     rm -f conftest.$ac_objext
2475     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2476 sysadm 1.2 (eval $ac_compile) 2>conftest.er1
2477 sysadm 1.1 ac_status=$?
2478 sysadm 1.2 grep -v '^ *+' conftest.er1 >conftest.err
2479     rm -f conftest.er1
2480     cat conftest.err >&5
2481 sysadm 1.1 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482     (exit $ac_status); } &&
2483 sysadm 1.2 { ac_try='test -z "$ac_c_werror_flag"
2484     || test ! -s conftest.err'
2485     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2486     (eval $ac_try) 2>&5
2487     ac_status=$?
2488     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489     (exit $ac_status); }; } &&
2490     { ac_try='test -s conftest.$ac_objext'
2491 sysadm 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2492     (eval $ac_try) 2>&5
2493     ac_status=$?
2494     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495     (exit $ac_status); }; }; then
2496     ac_cv_prog_cc_stdc=$ac_arg
2497     break
2498     else
2499     echo "$as_me: failed program was:" >&5
2500     sed 's/^/| /' conftest.$ac_ext >&5
2501    
2502     fi
2503 sysadm 1.2 rm -f conftest.err conftest.$ac_objext
2504 sysadm 1.1 done
2505     rm -f conftest.$ac_ext conftest.$ac_objext
2506     CC=$ac_save_CC
2507    
2508     fi
2509    
2510     case "x$ac_cv_prog_cc_stdc" in
2511     x|xno)
2512     echo "$as_me:$LINENO: result: none needed" >&5
2513     echo "${ECHO_T}none needed" >&6 ;;
2514     *)
2515     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2516     echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2517     CC="$CC $ac_cv_prog_cc_stdc" ;;
2518     esac
2519    
2520     # Some people use a C++ compiler to compile C. Since we use `exit',
2521     # in C++ we need to declare it. In case someone uses the same compiler
2522     # for both compiling C and C++ we need to have the C++ compiler decide
2523     # the declaration of exit, since it's the most demanding environment.
2524     cat >conftest.$ac_ext <<_ACEOF
2525     #ifndef __cplusplus
2526     choke me
2527     #endif
2528     _ACEOF
2529     rm -f conftest.$ac_objext
2530     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2531 sysadm 1.2 (eval $ac_compile) 2>conftest.er1
2532 sysadm 1.1 ac_status=$?
2533 sysadm 1.2 grep -v '^ *+' conftest.er1 >conftest.err
2534     rm -f conftest.er1
2535     cat conftest.err >&5
2536 sysadm 1.1 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537     (exit $ac_status); } &&
2538 sysadm 1.2 { ac_try='test -z "$ac_c_werror_flag"
2539     || test ! -s conftest.err'
2540     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2541     (eval $ac_try) 2>&5
2542     ac_status=$?
2543     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544     (exit $ac_status); }; } &&
2545     { ac_try='test -s conftest.$ac_objext'
2546 sysadm 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2547     (eval $ac_try) 2>&5
2548     ac_status=$?
2549     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2550     (exit $ac_status); }; }; then
2551     for ac_declaration in \
2552 sysadm 1.2 '' \
2553 sysadm 1.1 'extern "C" void std::exit (int) throw (); using std::exit;' \
2554     'extern "C" void std::exit (int); using std::exit;' \
2555     'extern "C" void exit (int) throw ();' \
2556     'extern "C" void exit (int);' \
2557     'void exit (int);'
2558     do
2559     cat >conftest.$ac_ext <<_ACEOF
2560     /* confdefs.h. */
2561     _ACEOF
2562     cat confdefs.h >>conftest.$ac_ext
2563     cat >>conftest.$ac_ext <<_ACEOF
2564     /* end confdefs.h. */
2565 sysadm 1.2 $ac_declaration
2566 sysadm 1.1 #include <stdlib.h>
2567     int
2568     main ()
2569     {
2570     exit (42);
2571     ;
2572     return 0;
2573     }
2574     _ACEOF
2575     rm -f conftest.$ac_objext
2576     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2577 sysadm 1.2 (eval $ac_compile) 2>conftest.er1
2578 sysadm 1.1 ac_status=$?
2579 sysadm 1.2 grep -v '^ *+' conftest.er1 >conftest.err
2580     rm -f conftest.er1
2581     cat conftest.err >&5
2582 sysadm 1.1 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583     (exit $ac_status); } &&
2584 sysadm 1.2 { ac_try='test -z "$ac_c_werror_flag"
2585     || test ! -s conftest.err'
2586     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2587     (eval $ac_try) 2>&5
2588     ac_status=$?
2589     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590     (exit $ac_status); }; } &&
2591     { ac_try='test -s conftest.$ac_objext'
2592 sysadm 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2593     (eval $ac_try) 2>&5
2594     ac_status=$?
2595     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596     (exit $ac_status); }; }; then
2597     :
2598     else
2599     echo "$as_me: failed program was:" >&5
2600     sed 's/^/| /' conftest.$ac_ext >&5
2601    
2602     continue
2603     fi
2604 sysadm 1.2 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2605 sysadm 1.1 cat >conftest.$ac_ext <<_ACEOF
2606     /* confdefs.h. */
2607     _ACEOF
2608     cat confdefs.h >>conftest.$ac_ext
2609     cat >>conftest.$ac_ext <<_ACEOF
2610     /* end confdefs.h. */
2611     $ac_declaration
2612     int
2613     main ()
2614     {
2615     exit (42);
2616     ;
2617     return 0;
2618     }
2619     _ACEOF
2620     rm -f conftest.$ac_objext
2621     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2622 sysadm 1.2 (eval $ac_compile) 2>conftest.er1
2623 sysadm 1.1 ac_status=$?
2624 sysadm 1.2 grep -v '^ *+' conftest.er1 >conftest.err
2625     rm -f conftest.er1
2626     cat conftest.err >&5
2627 sysadm 1.1 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628     (exit $ac_status); } &&
2629 sysadm 1.2 { ac_try='test -z "$ac_c_werror_flag"
2630     || test ! -s conftest.err'
2631     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2632     (eval $ac_try) 2>&5
2633     ac_status=$?
2634     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635     (exit $ac_status); }; } &&
2636     { ac_try='test -s conftest.$ac_objext'
2637 sysadm 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2638     (eval $ac_try) 2>&5
2639     ac_status=$?
2640     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641     (exit $ac_status); }; }; then
2642     break
2643     else
2644     echo "$as_me: failed program was:" >&5
2645     sed 's/^/| /' conftest.$ac_ext >&5
2646    
2647     fi
2648 sysadm 1.2 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2649 sysadm 1.1 done
2650     rm -f conftest*
2651     if test -n "$ac_declaration"; then
2652     echo '#ifdef __cplusplus' >>confdefs.h
2653     echo $ac_declaration >>confdefs.h
2654     echo '#endif' >>confdefs.h
2655     fi
2656    
2657     else
2658     echo "$as_me: failed program was:" >&5
2659     sed 's/^/| /' conftest.$ac_ext >&5
2660    
2661     fi
2662 sysadm 1.2 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2663 sysadm 1.1 ac_ext=c
2664     ac_cpp='$CPP $CPPFLAGS'
2665     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2666     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2667     ac_compiler_gnu=$ac_cv_c_compiler_gnu
2668 sysadm 1.2 DEPDIR="${am__leading_dot}deps"
2669 sysadm 1.1
2670     ac_config_commands="$ac_config_commands depfiles"
2671    
2672    
2673     am_make=${MAKE-make}
2674     cat > confinc << 'END'
2675 sysadm 1.2 am__doit:
2676 sysadm 1.1 @echo done
2677 sysadm 1.2 .PHONY: am__doit
2678 sysadm 1.1 END
2679     # If we don't find an include directive, just comment out the code.
2680     echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2681     echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2682     am__include="#"
2683     am__quote=
2684     _am_result=none
2685     # First try GNU make style include.
2686     echo "include confinc" > confmf
2687     # We grep out `Entering directory' and `Leaving directory'
2688     # messages which can occur if `w' ends up in MAKEFLAGS.
2689     # In particular we don't look at `^make:' because GNU make might
2690     # be invoked under some other name (usually "gmake"), in which
2691     # case it prints its new name instead of `make'.
2692 sysadm 1.2 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2693 sysadm 1.1 am__include=include
2694     am__quote=
2695     _am_result=GNU
2696     fi
2697     # Now try BSD make style include.
2698     if test "$am__include" = "#"; then
2699     echo '.include "confinc"' > confmf
2700     if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2701     am__include=.include
2702     am__quote="\""
2703     _am_result=BSD
2704     fi
2705     fi
2706    
2707    
2708     echo "$as_me:$LINENO: result: $_am_result" >&5
2709     echo "${ECHO_T}$_am_result" >&6
2710     rm -f confinc confmf
2711    
2712     # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2713     if test "${enable_dependency_tracking+set}" = set; then
2714     enableval="$enable_dependency_tracking"
2715    
2716     fi;
2717     if test "x$enable_dependency_tracking" != xno; then
2718     am_depcomp="$ac_aux_dir/depcomp"
2719     AMDEPBACKSLASH='\'
2720     fi
2721    
2722    
2723     if test "x$enable_dependency_tracking" != xno; then
2724     AMDEP_TRUE=
2725     AMDEP_FALSE='#'
2726     else
2727     AMDEP_TRUE='#'
2728     AMDEP_FALSE=
2729     fi
2730    
2731    
2732    
2733    
2734     depcc="$CC" am_compiler_list=
2735    
2736     echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2737     echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2738     if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2739     echo $ECHO_N "(cached) $ECHO_C" >&6
2740     else
2741     if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2742     # We make a subdir and do the tests there. Otherwise we can end up
2743     # making bogus files that we don't know about and never remove. For
2744     # instance it was reported that on HP-UX the gcc test will end up
2745     # making a dummy file named `D' -- because `-MD' means `put the output
2746     # in D'.
2747     mkdir conftest.dir
2748     # Copy depcomp to subdir because otherwise we won't find it if we're
2749     # using a relative directory.
2750     cp "$am_depcomp" conftest.dir
2751     cd conftest.dir
2752 sysadm 1.2 # We will build objects and dependencies in a subdirectory because
2753     # it helps to detect inapplicable dependency modes. For instance
2754     # both Tru64's cc and ICC support -MD to output dependencies as a
2755     # side effect of compilation, but ICC will put the dependencies in
2756     # the current directory while Tru64 will put them in the object
2757     # directory.
2758     mkdir sub
2759 sysadm 1.1
2760     am_cv_CC_dependencies_compiler_type=none
2761     if test "$am_compiler_list" = ""; then
2762     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2763     fi
2764     for depmode in $am_compiler_list; do
2765 sysadm 1.2 # Setup a source with many dependencies, because some compilers
2766     # like to wrap large dependency lists on column 80 (with \), and
2767     # we should not choose a depcomp mode which is confused by this.
2768     #
2769 sysadm 1.1 # We need to recreate these files for each test, as the compiler may
2770     # overwrite some of them when testing with obscure command lines.
2771     # This happens at least with the AIX C compiler.
2772 sysadm 1.2 : > sub/conftest.c
2773     for i in 1 2 3 4 5 6; do
2774     echo '#include "conftst'$i'.h"' >> sub/conftest.c
2775     # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2776     # Solaris 8's {/usr,}/bin/sh.
2777     touch sub/conftst$i.h
2778     done
2779     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2780 sysadm 1.1
2781     case $depmode in
2782     nosideeffect)
2783     # after this tag, mechanisms are not by side-effect, so they'll
2784     # only be used when explicitly requested
2785     if test "x$enable_dependency_tracking" = xyes; then
2786     continue
2787     else
2788     break
2789     fi
2790     ;;
2791     none) break ;;
2792     esac
2793     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2794     # mode. It turns out that the SunPro C++ compiler does not properly
2795     # handle `-M -o', and we need to detect this.
2796     if depmode=$depmode \
2797 sysadm 1.2 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2798     depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2799     $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2800     >/dev/null 2>conftest.err &&
2801     grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2802     grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2803 sysadm 1.1 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2804 sysadm 1.2 # icc doesn't choke on unknown options, it will just issue warnings
2805     # (even with -Werror). So we grep stderr for any message
2806     # that says an option was ignored.
2807     if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2808     am_cv_CC_dependencies_compiler_type=$depmode
2809     break
2810     fi
2811 sysadm 1.1 fi
2812     done
2813    
2814     cd ..
2815     rm -rf conftest.dir
2816     else
2817     am_cv_CC_dependencies_compiler_type=none
2818     fi
2819    
2820     fi
2821     echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2822     echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2823     CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2824    
2825    
2826 sysadm 1.2
2827     if
2828     test "x$enable_dependency_tracking" != xno \
2829     && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2830     am__fastdepCC_TRUE=
2831     am__fastdepCC_FALSE='#'
2832     else
2833     am__fastdepCC_TRUE='#'
2834     am__fastdepCC_FALSE=
2835     fi
2836    
2837    
2838 sysadm 1.1
2839 sysadm 1.8 # Checks for libraries.
2840     # FIXME: Replace `main' with a function in `-lmysqlclient':
2841    
2842    
2843     echo "$as_me:$LINENO: checking for mysql_connect in -lmysqlclient" >&5
2844     echo $ECHO_N "checking for mysql_connect in -lmysqlclient... $ECHO_C" >&6
2845     if test "${ac_cv_lib_mysqlclient_mysql_connect+set}" = set; then
2846 sysadm 1.1 echo $ECHO_N "(cached) $ECHO_C" >&6
2847     else
2848 sysadm 1.8 ac_check_lib_save_LIBS=$LIBS
2849     LIBS="-lmysqlclient $LIBS"
2850 sysadm 1.4 cat >conftest.$ac_ext <<_ACEOF
2851     /* confdefs.h. */
2852     _ACEOF
2853     cat confdefs.h >>conftest.$ac_ext
2854     cat >>conftest.$ac_ext <<_ACEOF
2855     /* end confdefs.h. */
2856    
2857     /* Override any gcc2 internal prototype to avoid an error. */
2858     #ifdef __cplusplus
2859     extern "C"
2860     #endif
2861     /* We use char because int might match the return type of a gcc2
2862     builtin and then its argument prototype would still apply. */
2863 sysadm 1.8 char mysql_connect ();
2864 sysadm 1.4 int
2865     main ()
2866     {
2867 sysadm 1.8 mysql_connect ();
2868 sysadm 1.4 ;
2869     return 0;
2870     }
2871     _ACEOF
2872     rm -f conftest.$ac_objext conftest$ac_exeext
2873     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2874     (eval $ac_link) 2>conftest.er1
2875     ac_status=$?
2876     grep -v '^ *+' conftest.er1 >conftest.err
2877     rm -f conftest.er1
2878     cat conftest.err >&5
2879     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880     (exit $ac_status); } &&
2881     { ac_try='test -z "$ac_c_werror_flag"
2882     || test ! -s conftest.err'
2883     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2884     (eval $ac_try) 2>&5
2885     ac_status=$?
2886     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887     (exit $ac_status); }; } &&
2888     { ac_try='test -s conftest$ac_exeext'
2889     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2890     (eval $ac_try) 2>&5
2891     ac_status=$?
2892     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893     (exit $ac_status); }; }; then
2894 sysadm 1.8 ac_cv_lib_mysqlclient_mysql_connect=yes
2895 sysadm 1.4 else
2896     echo "$as_me: failed program was:" >&5
2897     sed 's/^/| /' conftest.$ac_ext >&5
2898 sysadm 1.1
2899 sysadm 1.8 ac_cv_lib_mysqlclient_mysql_connect=no
2900 sysadm 1.4 fi
2901     rm -f conftest.err conftest.$ac_objext \
2902     conftest$ac_exeext conftest.$ac_ext
2903 sysadm 1.8 LIBS=$ac_check_lib_save_LIBS
2904     fi
2905     echo "$as_me:$LINENO: result: $ac_cv_lib_mysqlclient_mysql_connect" >&5
2906     echo "${ECHO_T}$ac_cv_lib_mysqlclient_mysql_connect" >&6
2907     if test $ac_cv_lib_mysqlclient_mysql_connect = yes; then
2908     cat >>confdefs.h <<_ACEOF
2909     #define HAVE_LIBMYSQLCLIENT 1
2910     _ACEOF
2911    
2912     LIBS="-lmysqlclient $LIBS"
2913    
2914     fi
2915    
2916     # FIXME: Replace `main' with a function in `-lz':
2917    
2918     echo "$as_me:$LINENO: checking for unzip in -lz" >&5
2919     echo $ECHO_N "checking for unzip in -lz... $ECHO_C" >&6
2920     if test "${ac_cv_lib_z_unzip+set}" = set; then
2921     echo $ECHO_N "(cached) $ECHO_C" >&6
2922     else
2923     ac_check_lib_save_LIBS=$LIBS
2924     LIBS="-lz $LIBS"
2925     cat >conftest.$ac_ext <<_ACEOF
2926 sysadm 1.4 /* confdefs.h. */
2927     _ACEOF
2928     cat confdefs.h >>conftest.$ac_ext
2929     cat >>conftest.$ac_ext <<_ACEOF
2930     /* end confdefs.h. */
2931 sysadm 1.1
2932 sysadm 1.4 /* Override any gcc2 internal prototype to avoid an error. */
2933     #ifdef __cplusplus
2934     extern "C"
2935     #endif
2936     /* We use char because int might match the return type of a gcc2
2937     builtin and then its argument prototype would still apply. */
2938 sysadm 1.8 char unzip ();
2939 sysadm 1.4 int
2940     main ()
2941     {
2942 sysadm 1.8 unzip ();
2943 sysadm 1.4 ;
2944     return 0;
2945     }
2946     _ACEOF
2947     rm -f conftest.$ac_objext conftest$ac_exeext
2948     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2949     (eval $ac_link) 2>conftest.er1
2950     ac_status=$?
2951     grep -v '^ *+' conftest.er1 >conftest.err
2952     rm -f conftest.er1
2953     cat conftest.err >&5
2954     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955     (exit $ac_status); } &&
2956     { ac_try='test -z "$ac_c_werror_flag"
2957     || test ! -s conftest.err'
2958     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959     (eval $ac_try) 2>&5
2960     ac_status=$?
2961     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962     (exit $ac_status); }; } &&
2963     { ac_try='test -s conftest$ac_exeext'
2964     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2965     (eval $ac_try) 2>&5
2966     ac_status=$?
2967     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968     (exit $ac_status); }; }; then
2969 sysadm 1.8 ac_cv_lib_z_unzip=yes
2970 sysadm 1.4 else
2971     echo "$as_me: failed program was:" >&5
2972     sed 's/^/| /' conftest.$ac_ext >&5
2973    
2974 sysadm 1.8 ac_cv_lib_z_unzip=no
2975 sysadm 1.4 fi
2976     rm -f conftest.err conftest.$ac_objext \
2977     conftest$ac_exeext conftest.$ac_ext
2978 sysadm 1.8 LIBS=$ac_check_lib_save_LIBS
2979 sysadm 1.4 fi
2980 sysadm 1.8 echo "$as_me:$LINENO: result: $ac_cv_lib_z_unzip" >&5
2981     echo "${ECHO_T}$ac_cv_lib_z_unzip" >&6
2982     if test $ac_cv_lib_z_unzip = yes; then
2983     cat >>confdefs.h <<_ACEOF
2984     #define HAVE_LIBZ 1
2985     _ACEOF
2986    
2987     LIBS="-lz $LIBS"
2988 sysadm 1.4
2989     fi
2990    
2991    
2992     # Checks for header files.
2993     ac_ext=c
2994     ac_cpp='$CPP $CPPFLAGS'
2995     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2996     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2997     ac_compiler_gnu=$ac_cv_c_compiler_gnu
2998     echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2999     echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3000     # On Suns, sometimes $CPP names a directory.
3001     if test -n "$CPP" && test -d "$CPP"; then
3002     CPP=
3003     fi
3004     if test -z "$CPP"; then
3005     if test "${ac_cv_prog_CPP+set}" = set; then
3006     echo $ECHO_N "(cached) $ECHO_C" >&6
3007     else
3008     # Double quotes because CPP needs to be expanded
3009     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3010     do
3011     ac_preproc_ok=false
3012     for ac_c_preproc_warn_flag in '' yes
3013     do
3014     # Use a header file that comes with gcc, so configuring glibc
3015     # with a fresh cross-compiler works.
3016     # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3017     # <limits.h> exists even on freestanding compilers.
3018     # On the NeXT, cc -E runs the code through the compiler's parser,
3019     # not just through cpp. "Syntax error" is here to catch this case.
3020     cat >conftest.$ac_ext <<_ACEOF
3021     /* confdefs.h. */
3022     _ACEOF
3023     cat confdefs.h >>conftest.$ac_ext
3024     cat >>conftest.$ac_ext <<_ACEOF
3025     /* end confdefs.h. */
3026     #ifdef __STDC__
3027     # include <limits.h>
3028     #else
3029     # include <assert.h>
3030     #endif
3031     Syntax error
3032     _ACEOF
3033     if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3034     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3035     ac_status=$?
3036     grep -v '^ *+' conftest.er1 >conftest.err
3037     rm -f conftest.er1
3038     cat conftest.err >&5
3039     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040     (exit $ac_status); } >/dev/null; then
3041     if test -s conftest.err; then
3042     ac_cpp_err=$ac_c_preproc_warn_flag
3043     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3044     else
3045     ac_cpp_err=
3046     fi
3047     else
3048     ac_cpp_err=yes
3049     fi
3050     if test -z "$ac_cpp_err"; then
3051     :
3052     else
3053     echo "$as_me: failed program was:" >&5
3054     sed 's/^/| /' conftest.$ac_ext >&5
3055    
3056     # Broken: fails on valid input.
3057     continue
3058     fi
3059     rm -f conftest.err conftest.$ac_ext
3060    
3061     # OK, works on sane cases. Now check whether non-existent headers
3062     # can be detected and how.
3063     cat >conftest.$ac_ext <<_ACEOF
3064     /* confdefs.h. */
3065     _ACEOF
3066     cat confdefs.h >>conftest.$ac_ext
3067     cat >>conftest.$ac_ext <<_ACEOF
3068     /* end confdefs.h. */
3069     #include <ac_nonexistent.h>
3070     _ACEOF
3071     if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3072     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3073     ac_status=$?
3074     grep -v '^ *+' conftest.er1 >conftest.err
3075     rm -f conftest.er1
3076     cat conftest.err >&5
3077     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078     (exit $ac_status); } >/dev/null; then
3079     if test -s conftest.err; then
3080     ac_cpp_err=$ac_c_preproc_warn_flag
3081     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3082     else
3083     ac_cpp_err=
3084     fi
3085     else
3086     ac_cpp_err=yes
3087     fi
3088     if test -z "$ac_cpp_err"; then
3089     # Broken: success on invalid input.
3090     continue
3091     else
3092     echo "$as_me: failed program was:" >&5
3093     sed 's/^/| /' conftest.$ac_ext >&5
3094    
3095     # Passes both tests.
3096     ac_preproc_ok=:
3097     break
3098     fi
3099     rm -f conftest.err conftest.$ac_ext
3100    
3101     done
3102     # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3103     rm -f conftest.err conftest.$ac_ext
3104     if $ac_preproc_ok; then
3105     break
3106     fi
3107    
3108     done
3109     ac_cv_prog_CPP=$CPP
3110    
3111     fi
3112     CPP=$ac_cv_prog_CPP
3113     else
3114     ac_cv_prog_CPP=$CPP
3115     fi
3116     echo "$as_me:$LINENO: result: $CPP" >&5
3117     echo "${ECHO_T}$CPP" >&6
3118     ac_preproc_ok=false
3119     for ac_c_preproc_warn_flag in '' yes
3120     do
3121     # Use a header file that comes with gcc, so configuring glibc
3122     # with a fresh cross-compiler works.
3123     # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3124     # <limits.h> exists even on freestanding compilers.
3125     # On the NeXT, cc -E runs the code through the compiler's parser,
3126     # not just through cpp. "Syntax error" is here to catch this case.
3127     cat >conftest.$ac_ext <<_ACEOF
3128     /* confdefs.h. */
3129     _ACEOF
3130     cat confdefs.h >>conftest.$ac_ext
3131     cat >>conftest.$ac_ext <<_ACEOF
3132     /* end confdefs.h. */
3133     #ifdef __STDC__
3134     # include <limits.h>
3135     #else
3136     # include <assert.h>
3137     #endif
3138     Syntax error
3139     _ACEOF
3140     if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3141     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3142     ac_status=$?
3143     grep -v '^ *+' conftest.er1 >conftest.err
3144     rm -f conftest.er1
3145     cat conftest.err >&5
3146     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147     (exit $ac_status); } >/dev/null; then
3148     if test -s conftest.err; then
3149     ac_cpp_err=$ac_c_preproc_warn_flag
3150     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3151     else
3152     ac_cpp_err=
3153     fi
3154     else
3155     ac_cpp_err=yes
3156     fi
3157     if test -z "$ac_cpp_err"; then
3158     :
3159     else
3160     echo "$as_me: failed program was:" >&5
3161     sed 's/^/| /' conftest.$ac_ext >&5
3162    
3163     # Broken: fails on valid input.
3164     continue
3165     fi
3166     rm -f conftest.err conftest.$ac_ext
3167    
3168     # OK, works on sane cases. Now check whether non-existent headers
3169     # can be detected and how.
3170     cat >conftest.$ac_ext <<_ACEOF
3171     /* confdefs.h. */
3172     _ACEOF
3173     cat confdefs.h >>conftest.$ac_ext
3174     cat >>conftest.$ac_ext <<_ACEOF
3175     /* end confdefs.h. */
3176     #include <ac_nonexistent.h>
3177     _ACEOF
3178     if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3179     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3180     ac_status=$?
3181     grep -v '^ *+' conftest.er1 >conftest.err
3182     rm -f conftest.er1
3183     cat conftest.err >&5
3184     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185     (exit $ac_status); } >/dev/null; then
3186     if test -s conftest.err; then
3187     ac_cpp_err=$ac_c_preproc_warn_flag
3188     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3189     else
3190     ac_cpp_err=
3191     fi
3192     else
3193     ac_cpp_err=yes
3194     fi
3195     if test -z "$ac_cpp_err"; then
3196     # Broken: success on invalid input.
3197     continue
3198     else
3199     echo "$as_me: failed program was:" >&5
3200     sed 's/^/| /' conftest.$ac_ext >&5
3201    
3202     # Passes both tests.
3203     ac_preproc_ok=:
3204     break
3205     fi
3206     rm -f conftest.err conftest.$ac_ext
3207    
3208     done
3209     # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3210     rm -f conftest.err conftest.$ac_ext
3211     if $ac_preproc_ok; then
3212     :
3213     else
3214     { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3215     See \`config.log' for more details." >&5
3216     echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3217     See \`config.log' for more details." >&2;}
3218     { (exit 1); exit 1; }; }
3219     fi
3220    
3221     ac_ext=c
3222     ac_cpp='$CPP $CPPFLAGS'
3223     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3224     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3225     ac_compiler_gnu=$ac_cv_c_compiler_gnu
3226    
3227    
3228     echo "$as_me:$LINENO: checking for egrep" >&5
3229     echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3230     if test "${ac_cv_prog_egrep+set}" = set; then
3231     echo $ECHO_N "(cached) $ECHO_C" >&6
3232     else
3233     if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3234     then ac_cv_prog_egrep='grep -E'
3235     else ac_cv_prog_egrep='egrep'
3236     fi
3237     fi
3238     echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3239     echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3240     EGREP=$ac_cv_prog_egrep
3241    
3242    
3243     echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3244     echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3245     if test "${ac_cv_header_stdc+set}" = set; then
3246     echo $ECHO_N "(cached) $ECHO_C" >&6
3247     else
3248     cat >conftest.$ac_ext <<_ACEOF
3249     /* confdefs.h. */
3250     _ACEOF
3251     cat confdefs.h >>conftest.$ac_ext
3252     cat >>conftest.$ac_ext <<_ACEOF
3253     /* end confdefs.h. */
3254     #include <stdlib.h>
3255     #include <stdarg.h>
3256     #include <string.h>
3257     #include <float.h>
3258    
3259     int
3260     main ()
3261     {
3262    
3263     ;
3264     return 0;
3265     }
3266     _ACEOF
3267     rm -f conftest.$ac_objext
3268     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3269     (eval $ac_compile) 2>conftest.er1
3270     ac_status=$?
3271     grep -v '^ *+' conftest.er1 >conftest.err
3272     rm -f conftest.er1
3273     cat conftest.err >&5
3274     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275     (exit $ac_status); } &&
3276     { ac_try='test -z "$ac_c_werror_flag"
3277     || test ! -s conftest.err'
3278     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3279     (eval $ac_try) 2>&5
3280     ac_status=$?
3281     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282     (exit $ac_status); }; } &&
3283     { ac_try='test -s conftest.$ac_objext'
3284     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285     (eval $ac_try) 2>&5
3286     ac_status=$?
3287     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288     (exit $ac_status); }; }; then
3289     ac_cv_header_stdc=yes
3290     else
3291     echo "$as_me: failed program was:" >&5
3292     sed 's/^/| /' conftest.$ac_ext >&5
3293    
3294     ac_cv_header_stdc=no
3295     fi
3296     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3297    
3298     if test $ac_cv_header_stdc = yes; then
3299     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3300     cat >conftest.$ac_ext <<_ACEOF
3301     /* confdefs.h. */
3302     _ACEOF
3303     cat confdefs.h >>conftest.$ac_ext
3304     cat >>conftest.$ac_ext <<_ACEOF
3305     /* end confdefs.h. */
3306     #include <string.h>
3307    
3308     _ACEOF
3309     if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3310     $EGREP "memchr" >/dev/null 2>&1; then
3311     :
3312     else
3313     ac_cv_header_stdc=no
3314     fi
3315     rm -f conftest*
3316    
3317     fi
3318    
3319     if test $ac_cv_header_stdc = yes; then
3320     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3321     cat >conftest.$ac_ext <<_ACEOF
3322     /* confdefs.h. */
3323     _ACEOF
3324     cat confdefs.h >>conftest.$ac_ext
3325     cat >>conftest.$ac_ext <<_ACEOF
3326     /* end confdefs.h. */
3327     #include <stdlib.h>
3328    
3329     _ACEOF
3330     if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3331     $EGREP "free" >/dev/null 2>&1; then
3332     :
3333     else
3334     ac_cv_header_stdc=no
3335     fi
3336     rm -f conftest*
3337    
3338     fi
3339    
3340     if test $ac_cv_header_stdc = yes; then
3341     # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3342     if test "$cross_compiling" = yes; then
3343     :
3344     else
3345     cat >conftest.$ac_ext <<_ACEOF
3346     /* confdefs.h. */
3347     _ACEOF
3348     cat confdefs.h >>conftest.$ac_ext
3349     cat >>conftest.$ac_ext <<_ACEOF
3350     /* end confdefs.h. */
3351     #include <ctype.h>
3352     #if ((' ' & 0x0FF) == 0x020)
3353     # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3354     # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3355     #else
3356     # define ISLOWER(c) \
3357     (('a' <= (c) && (c) <= 'i') \
3358     || ('j' <= (c) && (c) <= 'r') \
3359     || ('s' <= (c) && (c) <= 'z'))
3360     # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3361     #endif
3362    
3363     #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3364     int
3365     main ()
3366     {
3367     int i;
3368     for (i = 0; i < 256; i++)
3369     if (XOR (islower (i), ISLOWER (i))
3370     || toupper (i) != TOUPPER (i))
3371     exit(2);
3372     exit (0);
3373     }
3374     _ACEOF
3375     rm -f conftest$ac_exeext
3376     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3377     (eval $ac_link) 2>&5
3378     ac_status=$?
3379     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3381     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3382     (eval $ac_try) 2>&5
3383     ac_status=$?
3384     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385     (exit $ac_status); }; }; then
3386     :
3387     else
3388     echo "$as_me: program exited with status $ac_status" >&5
3389     echo "$as_me: failed program was:" >&5
3390     sed 's/^/| /' conftest.$ac_ext >&5
3391    
3392     ( exit $ac_status )
3393     ac_cv_header_stdc=no
3394     fi
3395     rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3396     fi
3397     fi
3398     fi
3399     echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3400     echo "${ECHO_T}$ac_cv_header_stdc" >&6
3401     if test $ac_cv_header_stdc = yes; then
3402    
3403     cat >>confdefs.h <<\_ACEOF
3404     #define STDC_HEADERS 1
3405     _ACEOF
3406    
3407     fi
3408    
3409     # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3410    
3411    
3412    
3413    
3414    
3415    
3416    
3417    
3418    
3419     for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3420     inttypes.h stdint.h unistd.h
3421     do
3422     as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3423     echo "$as_me:$LINENO: checking for $ac_header" >&5
3424     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3425     if eval "test \"\${$as_ac_Header+set}\" = set"; then
3426     echo $ECHO_N "(cached) $ECHO_C" >&6
3427     else
3428     cat >conftest.$ac_ext <<_ACEOF
3429     /* confdefs.h. */
3430     _ACEOF
3431     cat confdefs.h >>conftest.$ac_ext
3432     cat >>conftest.$ac_ext <<_ACEOF
3433     /* end confdefs.h. */
3434     $ac_includes_default
3435    
3436     #include <$ac_header>
3437     _ACEOF
3438     rm -f conftest.$ac_objext
3439     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3440     (eval $ac_compile) 2>conftest.er1
3441     ac_status=$?
3442     grep -v '^ *+' conftest.er1 >conftest.err
3443     rm -f conftest.er1
3444     cat conftest.err >&5
3445     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446     (exit $ac_status); } &&
3447     { ac_try='test -z "$ac_c_werror_flag"
3448     || test ! -s conftest.err'
3449     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3450     (eval $ac_try) 2>&5
3451     ac_status=$?
3452     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453     (exit $ac_status); }; } &&
3454     { ac_try='test -s conftest.$ac_objext'
3455     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3456     (eval $ac_try) 2>&5
3457     ac_status=$?
3458     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459     (exit $ac_status); }; }; then
3460     eval "$as_ac_Header=yes"
3461     else
3462     echo "$as_me: failed program was:" >&5
3463     sed 's/^/| /' conftest.$ac_ext >&5
3464    
3465     eval "$as_ac_Header=no"
3466     fi
3467     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3468     fi
3469     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3470     echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3471     if test `eval echo '${'$as_ac_Header'}'` = yes; then
3472     cat >>confdefs.h <<_ACEOF
3473     #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3474     _ACEOF
3475    
3476     fi
3477    
3478     done
3479    
3480    
3481    
3482    
3483    
3484    
3485    
3486    
3487 sysadm 1.8 for ac_header in netinet/in.h stdlib.h string.h sys/param.h sys/socket.h unistd.h
3488 sysadm 1.4 do
3489     as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3490     if eval "test \"\${$as_ac_Header+set}\" = set"; then
3491     echo "$as_me:$LINENO: checking for $ac_header" >&5
3492     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3493     if eval "test \"\${$as_ac_Header+set}\" = set"; then
3494     echo $ECHO_N "(cached) $ECHO_C" >&6
3495     fi
3496     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3497     echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3498     else
3499     # Is the header compilable?
3500     echo "$as_me:$LINENO: checking $ac_header usability" >&5
3501     echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3502     cat >conftest.$ac_ext <<_ACEOF
3503     /* confdefs.h. */
3504     _ACEOF
3505     cat confdefs.h >>conftest.$ac_ext
3506     cat >>conftest.$ac_ext <<_ACEOF
3507     /* end confdefs.h. */
3508     $ac_includes_default
3509     #include <$ac_header>
3510     _ACEOF
3511     rm -f conftest.$ac_objext
3512     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3513     (eval $ac_compile) 2>conftest.er1
3514     ac_status=$?
3515     grep -v '^ *+' conftest.er1 >conftest.err
3516     rm -f conftest.er1
3517     cat conftest.err >&5
3518     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519     (exit $ac_status); } &&
3520     { ac_try='test -z "$ac_c_werror_flag"
3521     || test ! -s conftest.err'
3522     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3523     (eval $ac_try) 2>&5
3524     ac_status=$?
3525     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526     (exit $ac_status); }; } &&
3527     { ac_try='test -s conftest.$ac_objext'
3528     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3529     (eval $ac_try) 2>&5
3530     ac_status=$?
3531     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532     (exit $ac_status); }; }; then
3533     ac_header_compiler=yes
3534     else
3535     echo "$as_me: failed program was:" >&5
3536     sed 's/^/| /' conftest.$ac_ext >&5
3537    
3538     ac_header_compiler=no
3539     fi
3540     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3541     echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3542     echo "${ECHO_T}$ac_header_compiler" >&6
3543    
3544     # Is the header present?
3545     echo "$as_me:$LINENO: checking $ac_header presence" >&5
3546     echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3547     cat >conftest.$ac_ext <<_ACEOF
3548     /* confdefs.h. */
3549     _ACEOF
3550     cat confdefs.h >>conftest.$ac_ext
3551     cat >>conftest.$ac_ext <<_ACEOF
3552     /* end confdefs.h. */
3553     #include <$ac_header>
3554     _ACEOF
3555     if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3556     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3557     ac_status=$?
3558     grep -v '^ *+' conftest.er1 >conftest.err
3559     rm -f conftest.er1
3560     cat conftest.err >&5
3561     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562     (exit $ac_status); } >/dev/null; then
3563     if test -s conftest.err; then
3564     ac_cpp_err=$ac_c_preproc_warn_flag
3565     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3566     else
3567     ac_cpp_err=
3568     fi
3569     else
3570     ac_cpp_err=yes
3571     fi
3572     if test -z "$ac_cpp_err"; then
3573     ac_header_preproc=yes
3574     else
3575     echo "$as_me: failed program was:" >&5
3576     sed 's/^/| /' conftest.$ac_ext >&5
3577    
3578     ac_header_preproc=no
3579     fi
3580     rm -f conftest.err conftest.$ac_ext
3581     echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3582     echo "${ECHO_T}$ac_header_preproc" >&6
3583    
3584     # So? What about this header?
3585     case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3586     yes:no: )
3587     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3588     echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3589     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3590     echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3591     ac_header_preproc=yes
3592     ;;
3593     no:yes:* )
3594     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3595     echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3596     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3597     echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3598     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3599     echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3600     { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3601     echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3602     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3603     echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3604     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3605     echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3606     (
3607     cat <<\_ASBOX
3608     ## ------------------------------- ##
3609     ## Report this to the bbsd lists. ##
3610     ## ------------------------------- ##
3611     _ASBOX
3612     ) |
3613     sed "s/^/$as_me: WARNING: /" >&2
3614     ;;
3615     esac
3616     echo "$as_me:$LINENO: checking for $ac_header" >&5
3617     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3618     if eval "test \"\${$as_ac_Header+set}\" = set"; then
3619     echo $ECHO_N "(cached) $ECHO_C" >&6
3620     else
3621     eval "$as_ac_Header=\$ac_header_preproc"
3622     fi
3623     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3624     echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3625    
3626     fi
3627     if test `eval echo '${'$as_ac_Header'}'` = yes; then
3628     cat >>confdefs.h <<_ACEOF
3629     #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3630     _ACEOF
3631    
3632     fi
3633    
3634     done
3635    
3636    
3637     # Checks for typedefs, structures, and compiler characteristics.
3638     echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3639     echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3640     if test "${ac_cv_c_const+set}" = set; then
3641     echo $ECHO_N "(cached) $ECHO_C" >&6
3642     else
3643     cat >conftest.$ac_ext <<_ACEOF
3644     /* confdefs.h. */
3645     _ACEOF
3646     cat confdefs.h >>conftest.$ac_ext
3647     cat >>conftest.$ac_ext <<_ACEOF
3648     /* end confdefs.h. */
3649    
3650     int
3651     main ()
3652     {
3653     /* FIXME: Include the comments suggested by Paul. */
3654     #ifndef __cplusplus
3655     /* Ultrix mips cc rejects this. */
3656     typedef int charset[2];
3657     const charset x;
3658     /* SunOS 4.1.1 cc rejects this. */
3659     char const *const *ccp;
3660     char **p;
3661     /* NEC SVR4.0.2 mips cc rejects this. */
3662     struct point {int x, y;};
3663     static struct point const zero = {0,0};
3664     /* AIX XL C 1.02.0.0 rejects this.
3665     It does not let you subtract one const X* pointer from another in
3666     an arm of an if-expression whose if-part is not a constant
3667     expression */
3668     const char *g = "string";
3669     ccp = &g + (g ? g-g : 0);
3670     /* HPUX 7.0 cc rejects these. */
3671     ++ccp;
3672     p = (char**) ccp;
3673     ccp = (char const *const *) p;
3674     { /* SCO 3.2v4 cc rejects this. */
3675     char *t;
3676     char const *s = 0 ? (char *) 0 : (char const *) 0;
3677    
3678     *t++ = 0;
3679     }
3680     { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3681     int x[] = {25, 17};
3682     const int *foo = &x[0];
3683     ++foo;
3684     }
3685     { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3686     typedef const int *iptr;
3687     iptr p = 0;
3688     ++p;
3689     }
3690     { /* AIX XL C 1.02.0.0 rejects this saying
3691     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3692     struct s { int j; const int *ap[3]; };
3693     struct s *b; b->j = 5;
3694     }
3695     { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3696     const int foo = 10;
3697     }
3698     #endif
3699    
3700     ;
3701     return 0;
3702     }
3703     _ACEOF
3704     rm -f conftest.$ac_objext
3705     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3706     (eval $ac_compile) 2>conftest.er1
3707     ac_status=$?
3708     grep -v '^ *+' conftest.er1 >conftest.err
3709     rm -f conftest.er1
3710     cat conftest.err >&5
3711     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712     (exit $ac_status); } &&
3713     { ac_try='test -z "$ac_c_werror_flag"
3714     || test ! -s conftest.err'
3715     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3716     (eval $ac_try) 2>&5
3717     ac_status=$?
3718     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719     (exit $ac_status); }; } &&
3720     { ac_try='test -s conftest.$ac_objext'
3721     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3722     (eval $ac_try) 2>&5
3723     ac_status=$?
3724     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725     (exit $ac_status); }; }; then
3726     ac_cv_c_const=yes
3727     else
3728     echo "$as_me: failed program was:" >&5
3729     sed 's/^/| /' conftest.$ac_ext >&5
3730    
3731     ac_cv_c_const=no
3732     fi
3733     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3734     fi
3735     echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3736     echo "${ECHO_T}$ac_cv_c_const" >&6
3737     if test $ac_cv_c_const = no; then
3738    
3739     cat >>confdefs.h <<\_ACEOF
3740     #define const
3741     _ACEOF
3742    
3743     fi
3744    
3745 sysadm 1.8 echo "$as_me:$LINENO: checking for size_t" >&5
3746     echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3747     if test "${ac_cv_type_size_t+set}" = set; then
3748     echo $ECHO_N "(cached) $ECHO_C" >&6
3749     else
3750     cat >conftest.$ac_ext <<_ACEOF
3751     /* confdefs.h. */
3752     _ACEOF
3753     cat confdefs.h >>conftest.$ac_ext
3754     cat >>conftest.$ac_ext <<_ACEOF
3755     /* end confdefs.h. */
3756     $ac_includes_default
3757     int
3758     main ()
3759     {
3760     if ((size_t *) 0)
3761     return 0;
3762     if (sizeof (size_t))
3763     return 0;
3764     ;
3765     return 0;
3766     }
3767     _ACEOF
3768     rm -f conftest.$ac_objext
3769     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3770     (eval $ac_compile) 2>conftest.er1
3771     ac_status=$?
3772     grep -v '^ *+' conftest.er1 >conftest.err
3773     rm -f conftest.er1
3774     cat conftest.err >&5
3775     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776     (exit $ac_status); } &&
3777     { ac_try='test -z "$ac_c_werror_flag"
3778     || test ! -s conftest.err'
3779     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3780     (eval $ac_try) 2>&5
3781     ac_status=$?
3782     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783     (exit $ac_status); }; } &&
3784     { ac_try='test -s conftest.$ac_objext'
3785     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3786     (eval $ac_try) 2>&5
3787     ac_status=$?
3788     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789     (exit $ac_status); }; }; then
3790     ac_cv_type_size_t=yes
3791     else
3792     echo "$as_me: failed program was:" >&5
3793     sed 's/^/| /' conftest.$ac_ext >&5
3794    
3795     ac_cv_type_size_t=no
3796     fi
3797     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3798     fi
3799     echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3800     echo "${ECHO_T}$ac_cv_type_size_t" >&6
3801     if test $ac_cv_type_size_t = yes; then
3802     :
3803     else
3804    
3805     cat >>confdefs.h <<_ACEOF
3806     #define size_t unsigned
3807     _ACEOF
3808    
3809     fi
3810    
3811 sysadm 1.4
3812     # Checks for library functions.
3813     echo "$as_me:$LINENO: checking for pid_t" >&5
3814     echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
3815     if test "${ac_cv_type_pid_t+set}" = set; then
3816     echo $ECHO_N "(cached) $ECHO_C" >&6
3817     else
3818     cat >conftest.$ac_ext <<_ACEOF
3819     /* confdefs.h. */
3820     _ACEOF
3821     cat confdefs.h >>conftest.$ac_ext
3822     cat >>conftest.$ac_ext <<_ACEOF
3823     /* end confdefs.h. */
3824     $ac_includes_default
3825     int
3826     main ()
3827     {
3828     if ((pid_t *) 0)
3829     return 0;
3830     if (sizeof (pid_t))
3831     return 0;
3832     ;
3833     return 0;
3834     }
3835     _ACEOF
3836     rm -f conftest.$ac_objext
3837     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3838     (eval $ac_compile) 2>conftest.er1
3839     ac_status=$?
3840     grep -v '^ *+' conftest.er1 >conftest.err
3841     rm -f conftest.er1
3842     cat conftest.err >&5
3843     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844     (exit $ac_status); } &&
3845     { ac_try='test -z "$ac_c_werror_flag"
3846     || test ! -s conftest.err'
3847     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3848     (eval $ac_try) 2>&5
3849     ac_status=$?
3850     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3851     (exit $ac_status); }; } &&
3852     { ac_try='test -s conftest.$ac_objext'
3853     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3854     (eval $ac_try) 2>&5
3855     ac_status=$?
3856     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857     (exit $ac_status); }; }; then
3858     ac_cv_type_pid_t=yes
3859     else
3860     echo "$as_me: failed program was:" >&5
3861     sed 's/^/| /' conftest.$ac_ext >&5
3862    
3863     ac_cv_type_pid_t=no
3864     fi
3865     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3866     fi
3867     echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
3868     echo "${ECHO_T}$ac_cv_type_pid_t" >&6
3869     if test $ac_cv_type_pid_t = yes; then
3870     :
3871     else
3872    
3873     cat >>confdefs.h <<_ACEOF
3874     #define pid_t int
3875     _ACEOF
3876    
3877     fi
3878    
3879    
3880    
3881     for ac_header in unistd.h vfork.h
3882     do
3883     as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3884     if eval "test \"\${$as_ac_Header+set}\" = set"; then
3885     echo "$as_me:$LINENO: checking for $ac_header" >&5
3886     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3887     if eval "test \"\${$as_ac_Header+set}\" = set"; then
3888     echo $ECHO_N "(cached) $ECHO_C" >&6
3889     fi
3890     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3891     echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3892     else
3893     # Is the header compilable?
3894     echo "$as_me:$LINENO: checking $ac_header usability" >&5
3895     echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3896     cat >conftest.$ac_ext <<_ACEOF
3897     /* confdefs.h. */
3898     _ACEOF
3899     cat confdefs.h >>conftest.$ac_ext
3900     cat >>conftest.$ac_ext <<_ACEOF
3901     /* end confdefs.h. */
3902     $ac_includes_default
3903     #include <$ac_header>
3904     _ACEOF
3905     rm -f conftest.$ac_objext
3906     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3907     (eval $ac_compile) 2>conftest.er1
3908     ac_status=$?
3909     grep -v '^ *+' conftest.er1 >conftest.err
3910     rm -f conftest.er1
3911     cat conftest.err >&5
3912     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913     (exit $ac_status); } &&
3914     { ac_try='test -z "$ac_c_werror_flag"
3915     || test ! -s conftest.err'
3916     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3917     (eval $ac_try) 2>&5
3918     ac_status=$?
3919     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920     (exit $ac_status); }; } &&
3921     { ac_try='test -s conftest.$ac_objext'
3922     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3923     (eval $ac_try) 2>&5
3924     ac_status=$?
3925     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926     (exit $ac_status); }; }; then
3927     ac_header_compiler=yes
3928     else
3929     echo "$as_me: failed program was:" >&5
3930     sed 's/^/| /' conftest.$ac_ext >&5
3931    
3932     ac_header_compiler=no
3933     fi
3934     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3935     echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3936     echo "${ECHO_T}$ac_header_compiler" >&6
3937    
3938     # Is the header present?
3939     echo "$as_me:$LINENO: checking $ac_header presence" >&5
3940     echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3941     cat >conftest.$ac_ext <<_ACEOF
3942     /* confdefs.h. */
3943     _ACEOF
3944     cat confdefs.h >>conftest.$ac_ext
3945     cat >>conftest.$ac_ext <<_ACEOF
3946     /* end confdefs.h. */
3947     #include <$ac_header>
3948     _ACEOF
3949     if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3950     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3951     ac_status=$?
3952     grep -v '^ *+' conftest.er1 >conftest.err
3953     rm -f conftest.er1
3954     cat conftest.err >&5
3955     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956     (exit $ac_status); } >/dev/null; then
3957     if test -s conftest.err; then
3958     ac_cpp_err=$ac_c_preproc_warn_flag
3959     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3960     else
3961     ac_cpp_err=
3962     fi
3963     else
3964     ac_cpp_err=yes
3965     fi
3966     if test -z "$ac_cpp_err"; then
3967     ac_header_preproc=yes
3968     else
3969     echo "$as_me: failed program was:" >&5
3970     sed 's/^/| /' conftest.$ac_ext >&5
3971    
3972     ac_header_preproc=no
3973     fi
3974     rm -f conftest.err conftest.$ac_ext
3975     echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3976     echo "${ECHO_T}$ac_header_preproc" >&6
3977    
3978     # So? What about this header?
3979     case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3980     yes:no: )
3981     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3982     echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3983     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3984     echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3985     ac_header_preproc=yes
3986     ;;
3987     no:yes:* )
3988     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3989     echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3990     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3991     echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3992     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3993     echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3994     { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3995     echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3996     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3997     echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3998     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3999     echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4000     (
4001     cat <<\_ASBOX
4002     ## ------------------------------- ##
4003     ## Report this to the bbsd lists. ##
4004     ## ------------------------------- ##
4005     _ASBOX
4006     ) |
4007     sed "s/^/$as_me: WARNING: /" >&2
4008     ;;
4009     esac
4010     echo "$as_me:$LINENO: checking for $ac_header" >&5
4011     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4012     if eval "test \"\${$as_ac_Header+set}\" = set"; then
4013     echo $ECHO_N "(cached) $ECHO_C" >&6
4014     else
4015     eval "$as_ac_Header=\$ac_header_preproc"
4016     fi
4017     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4018     echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4019    
4020     fi
4021     if test `eval echo '${'$as_ac_Header'}'` = yes; then
4022     cat >>confdefs.h <<_ACEOF
4023     #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4024     _ACEOF
4025    
4026     fi
4027    
4028     done
4029    
4030    
4031    
4032     for ac_func in fork vfork
4033     do
4034     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4035     echo "$as_me:$LINENO: checking for $ac_func" >&5
4036     echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4037     if eval "test \"\${$as_ac_var+set}\" = set"; then
4038     echo $ECHO_N "(cached) $ECHO_C" >&6
4039     else
4040     cat >conftest.$ac_ext <<_ACEOF
4041     /* confdefs.h. */
4042     _ACEOF
4043     cat confdefs.h >>conftest.$ac_ext
4044     cat >>conftest.$ac_ext <<_ACEOF
4045     /* end confdefs.h. */
4046     /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4047     For example, HP-UX 11i <limits.h> declares gettimeofday. */
4048     #define $ac_func innocuous_$ac_func
4049    
4050     /* System header to define __stub macros and hopefully few prototypes,
4051     which can conflict with char $ac_func (); below.
4052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4053     <limits.h> exists even on freestanding compilers. */
4054    
4055     #ifdef __STDC__
4056     # include <limits.h>
4057     #else
4058     # include <assert.h>
4059     #endif
4060    
4061     #undef $ac_func
4062    
4063     /* Override any gcc2 internal prototype to avoid an error. */
4064     #ifdef __cplusplus
4065     extern "C"
4066     {
4067     #endif
4068     /* We use char because int might match the return type of a gcc2
4069     builtin and then its argument prototype would still apply. */
4070     char $ac_func ();
4071     /* The GNU C library defines this for functions which it implements
4072     to always fail with ENOSYS. Some functions are actually named
4073     something starting with __ and the normal name is an alias. */
4074     #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4075     choke me
4076     #else
4077     char (*f) () = $ac_func;
4078     #endif
4079     #ifdef __cplusplus
4080     }
4081     #endif
4082    
4083     int
4084     main ()
4085     {
4086     return f != $ac_func;
4087     ;
4088     return 0;
4089     }
4090     _ACEOF
4091     rm -f conftest.$ac_objext conftest$ac_exeext
4092     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4093     (eval $ac_link) 2>conftest.er1
4094     ac_status=$?
4095     grep -v '^ *+' conftest.er1 >conftest.err
4096     rm -f conftest.er1
4097     cat conftest.err >&5
4098     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099     (exit $ac_status); } &&
4100     { ac_try='test -z "$ac_c_werror_flag"
4101     || test ! -s conftest.err'
4102     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4103     (eval $ac_try) 2>&5
4104     ac_status=$?
4105     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106     (exit $ac_status); }; } &&
4107     { ac_try='test -s conftest$ac_exeext'
4108     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4109     (eval $ac_try) 2>&5
4110     ac_status=$?
4111     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112     (exit $ac_status); }; }; then
4113     eval "$as_ac_var=yes"
4114     else
4115     echo "$as_me: failed program was:" >&5
4116     sed 's/^/| /' conftest.$ac_ext >&5
4117    
4118     eval "$as_ac_var=no"
4119     fi
4120     rm -f conftest.err conftest.$ac_objext \
4121     conftest$ac_exeext conftest.$ac_ext
4122     fi
4123     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4124     echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4125     if test `eval echo '${'$as_ac_var'}'` = yes; then
4126     cat >>confdefs.h <<_ACEOF
4127     #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4128     _ACEOF
4129    
4130     fi
4131     done
4132    
4133     if test "x$ac_cv_func_fork" = xyes; then
4134     echo "$as_me:$LINENO: checking for working fork" >&5
4135     echo $ECHO_N "checking for working fork... $ECHO_C" >&6
4136     if test "${ac_cv_func_fork_works+set}" = set; then
4137     echo $ECHO_N "(cached) $ECHO_C" >&6
4138     else
4139     if test "$cross_compiling" = yes; then
4140     ac_cv_func_fork_works=cross
4141     else
4142     cat >conftest.$ac_ext <<_ACEOF
4143     /* By Ruediger Kuhlmann. */
4144     #include <sys/types.h>
4145     #if HAVE_UNISTD_H
4146     # include <unistd.h>
4147     #endif
4148     /* Some systems only have a dummy stub for fork() */
4149     int main ()
4150     {
4151     if (fork() < 0)
4152     exit (1);
4153     exit (0);
4154     }
4155     _ACEOF
4156     rm -f conftest$ac_exeext
4157     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4158     (eval $ac_link) 2>&5
4159     ac_status=$?
4160     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4162     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4163     (eval $ac_try) 2>&5
4164     ac_status=$?
4165     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166     (exit $ac_status); }; }; then
4167     ac_cv_func_fork_works=yes
4168     else
4169     echo "$as_me: program exited with status $ac_status" >&5
4170     echo "$as_me: failed program was:" >&5
4171     sed 's/^/| /' conftest.$ac_ext >&5
4172    
4173     ( exit $ac_status )
4174     ac_cv_func_fork_works=no
4175     fi
4176     rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4177     fi
4178     fi
4179     echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
4180     echo "${ECHO_T}$ac_cv_func_fork_works" >&6
4181    
4182     else
4183     ac_cv_func_fork_works=$ac_cv_func_fork
4184     fi
4185     if test "x$ac_cv_func_fork_works" = xcross; then
4186     case $host in
4187     *-*-amigaos* | *-*-msdosdjgpp*)
4188     # Override, as these systems have only a dummy fork() stub
4189     ac_cv_func_fork_works=no
4190     ;;
4191     *)
4192     ac_cv_func_fork_works=yes
4193 sysadm 1.1 ;;
4194 sysadm 1.4 esac
4195     { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
4196     echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
4197     fi
4198     ac_cv_func_vfork_works=$ac_cv_func_vfork
4199     if test "x$ac_cv_func_vfork" = xyes; then
4200     echo "$as_me:$LINENO: checking for working vfork" >&5
4201     echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
4202     if test "${ac_cv_func_vfork_works+set}" = set; then
4203     echo $ECHO_N "(cached) $ECHO_C" >&6
4204     else
4205     if test "$cross_compiling" = yes; then
4206     ac_cv_func_vfork_works=cross
4207     else
4208     cat >conftest.$ac_ext <<_ACEOF
4209     /* confdefs.h. */
4210     _ACEOF
4211     cat confdefs.h >>conftest.$ac_ext
4212     cat >>conftest.$ac_ext <<_ACEOF
4213     /* end confdefs.h. */
4214     /* Thanks to Paul Eggert for this test. */
4215     #include <stdio.h>
4216     #include <stdlib.h>
4217     #include <sys/types.h>
4218     #include <sys/stat.h>
4219     #include <sys/wait.h>
4220     #if HAVE_UNISTD_H
4221     # include <unistd.h>
4222     #endif
4223     #if HAVE_VFORK_H
4224     # include <vfork.h>
4225     #endif
4226     /* On some sparc systems, changes by the child to local and incoming
4227     argument registers are propagated back to the parent. The compiler
4228     is told about this with #include <vfork.h>, but some compilers
4229     (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
4230     static variable whose address is put into a register that is
4231     clobbered by the vfork. */
4232     static void
4233     #ifdef __cplusplus
4234     sparc_address_test (int arg)
4235     # else
4236     sparc_address_test (arg) int arg;
4237     #endif
4238     {
4239     static pid_t child;
4240     if (!child) {
4241     child = vfork ();
4242     if (child < 0) {
4243     perror ("vfork");
4244     _exit(2);
4245     }
4246     if (!child) {
4247     arg = getpid();
4248     write(-1, "", 0);
4249     _exit (arg);
4250     }
4251     }
4252     }
4253    
4254     int
4255     main ()
4256     {
4257     pid_t parent = getpid ();
4258     pid_t child;
4259    
4260     sparc_address_test (0);
4261    
4262     child = vfork ();
4263    
4264     if (child == 0) {
4265     /* Here is another test for sparc vfork register problems. This
4266     test uses lots of local variables, at least as many local
4267     variables as main has allocated so far including compiler
4268     temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
4269     4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
4270     reuse the register of parent for one of the local variables,
4271     since it will think that parent can't possibly be used any more
4272     in this routine. Assigning to the local variable will thus
4273     munge parent in the parent process. */
4274     pid_t
4275     p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
4276     p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
4277     /* Convince the compiler that p..p7 are live; otherwise, it might
4278     use the same hardware register for all 8 local variables. */
4279     if (p != p1 || p != p2 || p != p3 || p != p4
4280     || p != p5 || p != p6 || p != p7)
4281     _exit(1);
4282    
4283     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
4284     from child file descriptors. If the child closes a descriptor
4285     before it execs or exits, this munges the parent's descriptor
4286     as well. Test for this by closing stdout in the child. */
4287     _exit(close(fileno(stdout)) != 0);
4288     } else {
4289     int status;
4290     struct stat st;
4291    
4292     while (wait(&status) != child)
4293     ;
4294     exit(
4295     /* Was there some problem with vforking? */
4296     child < 0
4297    
4298     /* Did the child fail? (This shouldn't happen.) */
4299     || status
4300    
4301     /* Did the vfork/compiler bug occur? */
4302     || parent != getpid()
4303    
4304     /* Did the file descriptor bug occur? */
4305     || fstat(fileno(stdout), &st) != 0
4306     );
4307     }
4308     }
4309     _ACEOF
4310     rm -f conftest$ac_exeext
4311     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4312     (eval $ac_link) 2>&5
4313     ac_status=$?
4314     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4316     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4317     (eval $ac_try) 2>&5
4318     ac_status=$?
4319     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320     (exit $ac_status); }; }; then
4321     ac_cv_func_vfork_works=yes
4322     else
4323     echo "$as_me: program exited with status $ac_status" >&5
4324     echo "$as_me: failed program was:" >&5
4325     sed 's/^/| /' conftest.$ac_ext >&5
4326    
4327     ( exit $ac_status )
4328     ac_cv_func_vfork_works=no
4329     fi
4330     rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4331     fi
4332     fi
4333     echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
4334     echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
4335    
4336     fi;
4337     if test "x$ac_cv_func_fork_works" = xcross; then
4338     ac_cv_func_vfork_works=$ac_cv_func_vfork
4339     { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
4340     echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
4341     fi
4342    
4343     if test "x$ac_cv_func_vfork_works" = xyes; then
4344    
4345     cat >>confdefs.h <<\_ACEOF
4346     #define HAVE_WORKING_VFORK 1
4347     _ACEOF
4348    
4349     else
4350    
4351     cat >>confdefs.h <<\_ACEOF
4352     #define vfork fork
4353     _ACEOF
4354    
4355     fi
4356     if test "x$ac_cv_func_fork_works" = xyes; then
4357    
4358     cat >>confdefs.h <<\_ACEOF
4359     #define HAVE_WORKING_FORK 1
4360     _ACEOF
4361    
4362     fi
4363    
4364 sysadm 1.8
4365     for ac_header in stdlib.h
4366     do
4367     as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4368     if eval "test \"\${$as_ac_Header+set}\" = set"; then
4369     echo "$as_me:$LINENO: checking for $ac_header" >&5
4370     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4371     if eval "test \"\${$as_ac_Header+set}\" = set"; then
4372 sysadm 1.4 echo $ECHO_N "(cached) $ECHO_C" >&6
4373 sysadm 1.8 fi
4374     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4375     echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4376 sysadm 1.4 else
4377 sysadm 1.8 # Is the header compilable?
4378     echo "$as_me:$LINENO: checking $ac_header usability" >&5
4379     echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4380     cat >conftest.$ac_ext <<_ACEOF
4381 sysadm 1.4 /* confdefs.h. */
4382     _ACEOF
4383     cat confdefs.h >>conftest.$ac_ext
4384     cat >>conftest.$ac_ext <<_ACEOF
4385     /* end confdefs.h. */
4386 sysadm 1.8 $ac_includes_default
4387     #include <$ac_header>
4388 sysadm 1.4 _ACEOF
4389     rm -f conftest.$ac_objext
4390     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4391     (eval $ac_compile) 2>conftest.er1
4392     ac_status=$?
4393     grep -v '^ *+' conftest.er1 >conftest.err
4394     rm -f conftest.er1
4395     cat conftest.err >&5
4396     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397     (exit $ac_status); } &&
4398     { ac_try='test -z "$ac_c_werror_flag"
4399     || test ! -s conftest.err'
4400     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4401     (eval $ac_try) 2>&5
4402     ac_status=$?
4403     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404     (exit $ac_status); }; } &&
4405     { ac_try='test -s conftest.$ac_objext'
4406     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4407     (eval $ac_try) 2>&5
4408     ac_status=$?
4409     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410     (exit $ac_status); }; }; then
4411 sysadm 1.8 ac_header_compiler=yes
4412 sysadm 1.4 else
4413     echo "$as_me: failed program was:" >&5
4414     sed 's/^/| /' conftest.$ac_ext >&5
4415    
4416 sysadm 1.8 ac_header_compiler=no
4417 sysadm 1.4 fi
4418     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4419 sysadm 1.8 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4420     echo "${ECHO_T}$ac_header_compiler" >&6
4421 sysadm 1.4
4422 sysadm 1.8 # Is the header present?
4423     echo "$as_me:$LINENO: checking $ac_header presence" >&5
4424     echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4425     cat >conftest.$ac_ext <<_ACEOF
4426 sysadm 1.4 /* confdefs.h. */
4427     _ACEOF
4428     cat confdefs.h >>conftest.$ac_ext
4429     cat >>conftest.$ac_ext <<_ACEOF
4430     /* end confdefs.h. */
4431 sysadm 1.8 #include <$ac_header>
4432 sysadm 1.4 _ACEOF
4433 sysadm 1.8 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4434     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4435     ac_status=$?
4436     grep -v '^ *+' conftest.er1 >conftest.err
4437     rm -f conftest.er1
4438     cat conftest.err >&5
4439     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4440     (exit $ac_status); } >/dev/null; then
4441     if test -s conftest.err; then
4442     ac_cpp_err=$ac_c_preproc_warn_flag
4443     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4444     else
4445     ac_cpp_err=
4446     fi
4447 sysadm 1.4 else
4448 sysadm 1.8 ac_cpp_err=yes
4449 sysadm 1.4 fi
4450 sysadm 1.8 if test -z "$ac_cpp_err"; then
4451     ac_header_preproc=yes
4452     else
4453     echo "$as_me: failed program was:" >&5
4454     sed 's/^/| /' conftest.$ac_ext >&5
4455 sysadm 1.4
4456 sysadm 1.8 ac_header_preproc=no
4457 sysadm 1.4 fi
4458 sysadm 1.8 rm -f conftest.err conftest.$ac_ext
4459     echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4460     echo "${ECHO_T}$ac_header_preproc" >&6
4461 sysadm 1.4
4462 sysadm 1.8 # So? What about this header?
4463     case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4464     yes:no: )
4465     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4466     echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4467     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4468     echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4469     ac_header_preproc=yes
4470     ;;
4471     no:yes:* )
4472     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4473     echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4474     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4475     echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4476     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4477     echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4478     { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4479     echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4480     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4481     echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4482     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4483     echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4484     (
4485     cat <<\_ASBOX
4486     ## ------------------------------- ##
4487     ## Report this to the bbsd lists. ##
4488     ## ------------------------------- ##
4489     _ASBOX
4490     ) |
4491     sed "s/^/$as_me: WARNING: /" >&2
4492     ;;
4493     esac
4494     echo "$as_me:$LINENO: checking for $ac_header" >&5
4495     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4496     if eval "test \"\${$as_ac_Header+set}\" = set"; then
4497     echo $ECHO_N "(cached) $ECHO_C" >&6
4498     else
4499     eval "$as_ac_Header=\$ac_header_preproc"
4500     fi
4501     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4502     echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4503    
4504     fi
4505     if test `eval echo '${'$as_ac_Header'}'` = yes; then
4506     cat >>confdefs.h <<_ACEOF
4507     #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4508 sysadm 1.4 _ACEOF
4509    
4510     fi
4511    
4512 sysadm 1.8 done
4513 sysadm 1.4
4514 sysadm 1.8 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
4515     echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
4516     if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
4517     echo $ECHO_N "(cached) $ECHO_C" >&6
4518     else
4519 sysadm 1.4 if test "$cross_compiling" = yes; then
4520 sysadm 1.8 ac_cv_func_malloc_0_nonnull=no
4521 sysadm 1.4 else
4522     cat >conftest.$ac_ext <<_ACEOF
4523     /* confdefs.h. */
4524     _ACEOF
4525     cat confdefs.h >>conftest.$ac_ext
4526     cat >>conftest.$ac_ext <<_ACEOF
4527     /* end confdefs.h. */
4528 sysadm 1.8 #if STDC_HEADERS || HAVE_STDLIB_H
4529     # include <stdlib.h>
4530 sysadm 1.4 #else
4531 sysadm 1.8 char *malloc ();
4532 sysadm 1.4 #endif
4533 sysadm 1.1
4534 sysadm 1.4 int
4535     main ()
4536     {
4537 sysadm 1.8 exit (malloc (0) ? 0 : 1);
4538     ;
4539     return 0;
4540 sysadm 1.4 }
4541     _ACEOF
4542     rm -f conftest$ac_exeext
4543     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4544     (eval $ac_link) 2>&5
4545     ac_status=$?
4546     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4548     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4549     (eval $ac_try) 2>&5
4550     ac_status=$?
4551     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552     (exit $ac_status); }; }; then
4553 sysadm 1.8 ac_cv_func_malloc_0_nonnull=yes
4554 sysadm 1.1 else
4555 sysadm 1.4 echo "$as_me: program exited with status $ac_status" >&5
4556     echo "$as_me: failed program was:" >&5
4557     sed 's/^/| /' conftest.$ac_ext >&5
4558    
4559     ( exit $ac_status )
4560 sysadm 1.8 ac_cv_func_malloc_0_nonnull=no
4561 sysadm 1.4 fi
4562     rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4563     fi
4564     fi
4565 sysadm 1.8 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
4566     echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
4567     if test $ac_cv_func_malloc_0_nonnull = yes; then
4568    
4569     cat >>confdefs.h <<\_ACEOF
4570     #define HAVE_MALLOC 1
4571     _ACEOF
4572    
4573     else
4574     cat >>confdefs.h <<\_ACEOF
4575     #define HAVE_MALLOC 0
4576     _ACEOF
4577    
4578     case $LIBOBJS in
4579     "malloc.$ac_objext" | \
4580     *" malloc.$ac_objext" | \
4581     "malloc.$ac_objext "* | \
4582     *" malloc.$ac_objext "* ) ;;
4583     *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
4584     esac
4585    
4586 sysadm 1.4
4587     cat >>confdefs.h <<\_ACEOF
4588 sysadm 1.8 #define malloc rpl_malloc
4589 sysadm 1.4 _ACEOF
4590    
4591 sysadm 1.1 fi
4592    
4593 sysadm 1.8
4594    
4595 sysadm 1.4 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4596     echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4597     if test "${ac_cv_type_signal+set}" = set; then
4598     echo $ECHO_N "(cached) $ECHO_C" >&6
4599     else
4600     cat >conftest.$ac_ext <<_ACEOF
4601     /* confdefs.h. */
4602     _ACEOF
4603     cat confdefs.h >>conftest.$ac_ext
4604     cat >>conftest.$ac_ext <<_ACEOF
4605     /* end confdefs.h. */
4606     #include <sys/types.h>
4607     #include <signal.h>
4608     #ifdef signal
4609     # undef signal
4610     #endif
4611     #ifdef __cplusplus
4612     extern "C" void (*signal (int, void (*)(int)))(int);
4613     #else
4614     void (*signal ()) ();
4615     #endif
4616    
4617     int
4618     main ()
4619     {
4620     int i;
4621     ;
4622     return 0;
4623     }
4624     _ACEOF
4625     rm -f conftest.$ac_objext
4626     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4627     (eval $ac_compile) 2>conftest.er1
4628     ac_status=$?
4629     grep -v '^ *+' conftest.er1 >conftest.err
4630     rm -f conftest.er1
4631     cat conftest.err >&5
4632     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633     (exit $ac_status); } &&
4634     { ac_try='test -z "$ac_c_werror_flag"
4635     || test ! -s conftest.err'
4636     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4637     (eval $ac_try) 2>&5
4638     ac_status=$?
4639     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640     (exit $ac_status); }; } &&
4641     { ac_try='test -s conftest.$ac_objext'
4642     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4643     (eval $ac_try) 2>&5
4644     ac_status=$?
4645     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646     (exit $ac_status); }; }; then
4647     ac_cv_type_signal=void
4648     else
4649     echo "$as_me: failed program was:" >&5
4650     sed 's/^/| /' conftest.$ac_ext >&5
4651    
4652     ac_cv_type_signal=int
4653     fi
4654     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4655 sysadm 1.1 fi
4656 sysadm 1.4 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4657     echo "${ECHO_T}$ac_cv_type_signal" >&6
4658    
4659     cat >>confdefs.h <<_ACEOF
4660     #define RETSIGTYPE $ac_cv_type_signal
4661     _ACEOF
4662    
4663    
4664    
4665     for ac_func in strftime
4666     do
4667     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4668     echo "$as_me:$LINENO: checking for $ac_func" >&5
4669     echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4670     if eval "test \"\${$as_ac_var+set}\" = set"; then
4671     echo $ECHO_N "(cached) $ECHO_C" >&6
4672     else
4673     cat >conftest.$ac_ext <<_ACEOF
4674     /* confdefs.h. */
4675     _ACEOF
4676     cat confdefs.h >>conftest.$ac_ext
4677     cat >>conftest.$ac_ext <<_ACEOF
4678     /* end confdefs.h. */
4679     /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4680     For example, HP-UX 11i <limits.h> declares gettimeofday. */
4681     #define $ac_func innocuous_$ac_func
4682    
4683     /* System header to define __stub macros and hopefully few prototypes,
4684     which can conflict with char $ac_func (); below.
4685     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4686     <limits.h> exists even on freestanding compilers. */
4687    
4688     #ifdef __STDC__
4689     # include <limits.h>
4690     #else
4691     # include <assert.h>
4692     #endif
4693    
4694     #undef $ac_func
4695    
4696     /* Override any gcc2 internal prototype to avoid an error. */
4697     #ifdef __cplusplus
4698     extern "C"
4699     {
4700     #endif
4701     /* We use char because int might match the return type of a gcc2
4702     builtin and then its argument prototype would still apply. */
4703     char $ac_func ();
4704     /* The GNU C library defines this for functions which it implements
4705     to always fail with ENOSYS. Some functions are actually named
4706     something starting with __ and the normal name is an alias. */
4707     #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4708     choke me
4709     #else
4710     char (*f) () = $ac_func;
4711     #endif
4712     #ifdef __cplusplus
4713     }
4714     #endif
4715    
4716     int
4717     main ()
4718     {
4719     return f != $ac_func;
4720     ;
4721     return 0;
4722     }
4723     _ACEOF
4724     rm -f conftest.$ac_objext conftest$ac_exeext
4725     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4726     (eval $ac_link) 2>conftest.er1
4727     ac_status=$?
4728     grep -v '^ *+' conftest.er1 >conftest.err
4729     rm -f conftest.er1
4730     cat conftest.err >&5
4731     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732     (exit $ac_status); } &&
4733     { ac_try='test -z "$ac_c_werror_flag"
4734     || test ! -s conftest.err'
4735     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736     (eval $ac_try) 2>&5
4737     ac_status=$?
4738     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739     (exit $ac_status); }; } &&
4740     { ac_try='test -s conftest$ac_exeext'
4741     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4742     (eval $ac_try) 2>&5
4743     ac_status=$?
4744     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745     (exit $ac_status); }; }; then
4746     eval "$as_ac_var=yes"
4747     else
4748     echo "$as_me: failed program was:" >&5
4749     sed 's/^/| /' conftest.$ac_ext >&5
4750 sysadm 1.1
4751 sysadm 1.4 eval "$as_ac_var=no"
4752     fi
4753     rm -f conftest.err conftest.$ac_objext \
4754     conftest$ac_exeext conftest.$ac_ext
4755     fi
4756     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4757     echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4758     if test `eval echo '${'$as_ac_var'}'` = yes; then
4759     cat >>confdefs.h <<_ACEOF
4760     #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4761     _ACEOF
4762 sysadm 1.1
4763 sysadm 1.4 else
4764     # strftime is in -lintl on SCO UNIX.
4765     echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
4766     echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
4767     if test "${ac_cv_lib_intl_strftime+set}" = set; then
4768     echo $ECHO_N "(cached) $ECHO_C" >&6
4769     else
4770     ac_check_lib_save_LIBS=$LIBS
4771     LIBS="-lintl $LIBS"
4772     cat >conftest.$ac_ext <<_ACEOF
4773     /* confdefs.h. */
4774     _ACEOF
4775     cat confdefs.h >>conftest.$ac_ext
4776     cat >>conftest.$ac_ext <<_ACEOF
4777     /* end confdefs.h. */
4778 sysadm 1.1
4779 sysadm 1.4 /* Override any gcc2 internal prototype to avoid an error. */
4780     #ifdef __cplusplus
4781     extern "C"
4782     #endif
4783     /* We use char because int might match the return type of a gcc2
4784     builtin and then its argument prototype would still apply. */
4785     char strftime ();
4786     int
4787     main ()
4788     {
4789     strftime ();
4790     ;
4791     return 0;
4792     }
4793     _ACEOF
4794     rm -f conftest.$ac_objext conftest$ac_exeext
4795     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4796     (eval $ac_link) 2>conftest.er1
4797     ac_status=$?
4798     grep -v '^ *+' conftest.er1 >conftest.err
4799     rm -f conftest.er1
4800     cat conftest.err >&5
4801     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802     (exit $ac_status); } &&
4803     { ac_try='test -z "$ac_c_werror_flag"
4804     || test ! -s conftest.err'
4805     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806     (eval $ac_try) 2>&5
4807     ac_status=$?
4808     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809     (exit $ac_status); }; } &&
4810     { ac_try='test -s conftest$ac_exeext'
4811     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4812     (eval $ac_try) 2>&5
4813     ac_status=$?
4814     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815     (exit $ac_status); }; }; then
4816     ac_cv_lib_intl_strftime=yes
4817 sysadm 1.2 else
4818 sysadm 1.4 echo "$as_me: failed program was:" >&5
4819     sed 's/^/| /' conftest.$ac_ext >&5
4820    
4821     ac_cv_lib_intl_strftime=no
4822     fi
4823     rm -f conftest.err conftest.$ac_objext \
4824     conftest$ac_exeext conftest.$ac_ext
4825     LIBS=$ac_check_lib_save_LIBS
4826     fi
4827     echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
4828     echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
4829     if test $ac_cv_lib_intl_strftime = yes; then
4830     cat >>confdefs.h <<\_ACEOF
4831     #define HAVE_STRFTIME 1
4832     _ACEOF
4833    
4834     LIBS="-lintl $LIBS"
4835     fi
4836    
4837 sysadm 1.2 fi
4838 sysadm 1.4 done
4839 sysadm 1.2
4840    
4841 sysadm 1.8 for ac_func in vprintf
4842     do
4843     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4844     echo "$as_me:$LINENO: checking for $ac_func" >&5
4845     echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4846     if eval "test \"\${$as_ac_var+set}\" = set"; then
4847     echo $ECHO_N "(cached) $ECHO_C" >&6
4848     else
4849     cat >conftest.$ac_ext <<_ACEOF
4850     /* confdefs.h. */
4851     _ACEOF
4852     cat confdefs.h >>conftest.$ac_ext
4853     cat >>conftest.$ac_ext <<_ACEOF
4854     /* end confdefs.h. */
4855     /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4856     For example, HP-UX 11i <limits.h> declares gettimeofday. */
4857     #define $ac_func innocuous_$ac_func
4858    
4859     /* System header to define __stub macros and hopefully few prototypes,
4860     which can conflict with char $ac_func (); below.
4861     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4862     <limits.h> exists even on freestanding compilers. */
4863    
4864     #ifdef __STDC__
4865     # include <limits.h>
4866     #else
4867     # include <assert.h>
4868     #endif
4869    
4870     #undef $ac_func
4871    
4872     /* Override any gcc2 internal prototype to avoid an error. */
4873     #ifdef __cplusplus
4874     extern "C"
4875     {
4876     #endif
4877     /* We use char because int might match the return type of a gcc2
4878     builtin and then its argument prototype would still apply. */
4879     char $ac_func ();
4880     /* The GNU C library defines this for functions which it implements
4881     to always fail with ENOSYS. Some functions are actually named
4882     something starting with __ and the normal name is an alias. */
4883     #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4884     choke me
4885     #else
4886     char (*f) () = $ac_func;
4887     #endif
4888     #ifdef __cplusplus
4889     }
4890     #endif
4891    
4892     int
4893     main ()
4894     {
4895     return f != $ac_func;
4896     ;
4897     return 0;
4898     }
4899     _ACEOF
4900     rm -f conftest.$ac_objext conftest$ac_exeext
4901     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4902     (eval $ac_link) 2>conftest.er1
4903     ac_status=$?
4904     grep -v '^ *+' conftest.er1 >conftest.err
4905     rm -f conftest.er1
4906     cat conftest.err >&5
4907     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908     (exit $ac_status); } &&
4909     { ac_try='test -z "$ac_c_werror_flag"
4910     || test ! -s conftest.err'
4911     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4912     (eval $ac_try) 2>&5
4913     ac_status=$?
4914     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915     (exit $ac_status); }; } &&
4916     { ac_try='test -s conftest$ac_exeext'
4917     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4918     (eval $ac_try) 2>&5
4919     ac_status=$?
4920     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921     (exit $ac_status); }; }; then
4922     eval "$as_ac_var=yes"
4923     else
4924     echo "$as_me: failed program was:" >&5
4925     sed 's/^/| /' conftest.$ac_ext >&5
4926    
4927     eval "$as_ac_var=no"
4928     fi
4929     rm -f conftest.err conftest.$ac_objext \
4930     conftest$ac_exeext conftest.$ac_ext
4931     fi
4932     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4933     echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4934     if test `eval echo '${'$as_ac_var'}'` = yes; then
4935     cat >>confdefs.h <<_ACEOF
4936     #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4937     _ACEOF
4938    
4939     echo "$as_me:$LINENO: checking for _doprnt" >&5
4940     echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
4941     if test "${ac_cv_func__doprnt+set}" = set; then
4942     echo $ECHO_N "(cached) $ECHO_C" >&6
4943     else
4944     cat >conftest.$ac_ext <<_ACEOF
4945     /* confdefs.h. */
4946     _ACEOF
4947     cat confdefs.h >>conftest.$ac_ext
4948     cat >>conftest.$ac_ext <<_ACEOF
4949     /* end confdefs.h. */
4950     /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
4951     For example, HP-UX 11i <limits.h> declares gettimeofday. */
4952     #define _doprnt innocuous__doprnt
4953    
4954     /* System header to define __stub macros and hopefully few prototypes,
4955     which can conflict with char _doprnt (); below.
4956     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4957     <limits.h> exists even on freestanding compilers. */
4958    
4959     #ifdef __STDC__
4960     # include <limits.h>
4961     #else
4962     # include <assert.h>
4963     #endif
4964    
4965     #undef _doprnt
4966    
4967     /* Override any gcc2 internal prototype to avoid an error. */
4968     #ifdef __cplusplus
4969     extern "C"
4970     {
4971     #endif
4972     /* We use char because int might match the return type of a gcc2
4973     builtin and then its argument prototype would still apply. */
4974     char _doprnt ();
4975     /* The GNU C library defines this for functions which it implements
4976     to always fail with ENOSYS. Some functions are actually named
4977     something starting with __ and the normal name is an alias. */
4978     #if defined (__stub__doprnt) || defined (__stub____doprnt)
4979     choke me
4980     #else
4981     char (*f) () = _doprnt;
4982     #endif
4983     #ifdef __cplusplus
4984     }
4985     #endif
4986    
4987     int
4988     main ()
4989     {
4990     return f != _doprnt;
4991     ;
4992     return 0;
4993     }
4994     _ACEOF
4995     rm -f conftest.$ac_objext conftest$ac_exeext
4996     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4997     (eval $ac_link) 2>conftest.er1
4998     ac_status=$?
4999     grep -v '^ *+' conftest.er1 >conftest.err
5000     rm -f conftest.er1
5001     cat conftest.err >&5
5002     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003     (exit $ac_status); } &&
5004     { ac_try='test -z "$ac_c_werror_flag"
5005     || test ! -s conftest.err'
5006     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5007     (eval $ac_try) 2>&5
5008     ac_status=$?
5009     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010     (exit $ac_status); }; } &&
5011     { ac_try='test -s conftest$ac_exeext'
5012     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5013     (eval $ac_try) 2>&5
5014     ac_status=$?
5015     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5016     (exit $ac_status); }; }; then
5017     ac_cv_func__doprnt=yes
5018     else
5019     echo "$as_me: failed program was:" >&5
5020     sed 's/^/| /' conftest.$ac_ext >&5
5021    
5022     ac_cv_func__doprnt=no
5023     fi
5024     rm -f conftest.err conftest.$ac_objext \
5025     conftest$ac_exeext conftest.$ac_ext
5026     fi
5027     echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
5028     echo "${ECHO_T}$ac_cv_func__doprnt" >&6
5029     if test $ac_cv_func__doprnt = yes; then
5030    
5031     cat >>confdefs.h <<\_ACEOF
5032     #define HAVE_DOPRNT 1
5033     _ACEOF
5034    
5035     fi
5036    
5037     fi
5038     done
5039    
5040    
5041    
5042    
5043    
5044    
5045    
5046 sysadm 1.2
5047 sysadm 1.1
5048 sysadm 1.8 for ac_func in dup2 inet_ntoa memset mkdir regcomp socket strstr
5049 sysadm 1.4 do
5050     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5051     echo "$as_me:$LINENO: checking for $ac_func" >&5
5052     echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5053     if eval "test \"\${$as_ac_var+set}\" = set"; then
5054     echo $ECHO_N "(cached) $ECHO_C" >&6
5055     else
5056     cat >conftest.$ac_ext <<_ACEOF
5057     /* confdefs.h. */
5058     _ACEOF
5059     cat confdefs.h >>conftest.$ac_ext
5060     cat >>conftest.$ac_ext <<_ACEOF
5061     /* end confdefs.h. */
5062     /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5063     For example, HP-UX 11i <limits.h> declares gettimeofday. */
5064     #define $ac_func innocuous_$ac_func
5065    
5066     /* System header to define __stub macros and hopefully few prototypes,
5067     which can conflict with char $ac_func (); below.
5068     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5069     <limits.h> exists even on freestanding compilers. */
5070    
5071     #ifdef __STDC__
5072     # include <limits.h>
5073     #else
5074     # include <assert.h>
5075     #endif
5076    
5077     #undef $ac_func
5078    
5079     /* Override any gcc2 internal prototype to avoid an error. */
5080     #ifdef __cplusplus
5081     extern "C"
5082     {
5083     #endif
5084     /* We use char because int might match the return type of a gcc2
5085     builtin and then its argument prototype would still apply. */
5086     char $ac_func ();
5087     /* The GNU C library defines this for functions which it implements
5088     to always fail with ENOSYS. Some functions are actually named
5089     something starting with __ and the normal name is an alias. */
5090     #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5091     choke me
5092     #else
5093     char (*f) () = $ac_func;
5094     #endif
5095     #ifdef __cplusplus
5096     }
5097     #endif
5098    
5099     int
5100     main ()
5101     {
5102     return f != $ac_func;
5103     ;
5104     return 0;
5105     }
5106     _ACEOF
5107     rm -f conftest.$ac_objext conftest$ac_exeext
5108     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5109     (eval $ac_link) 2>conftest.er1
5110     ac_status=$?
5111     grep -v '^ *+' conftest.er1 >conftest.err
5112     rm -f conftest.er1
5113     cat conftest.err >&5
5114     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115     (exit $ac_status); } &&
5116     { ac_try='test -z "$ac_c_werror_flag"
5117     || test ! -s conftest.err'
5118     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5119     (eval $ac_try) 2>&5
5120     ac_status=$?
5121     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122     (exit $ac_status); }; } &&
5123     { ac_try='test -s conftest$ac_exeext'
5124     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5125     (eval $ac_try) 2>&5
5126     ac_status=$?
5127     echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128     (exit $ac_status); }; }; then
5129     eval "$as_ac_var=yes"
5130     else
5131     echo "$as_me: failed program was:" >&5
5132     sed 's/^/| /' conftest.$ac_ext >&5
5133    
5134     eval "$as_ac_var=no"
5135     fi
5136     rm -f conftest.err conftest.$ac_objext \
5137     conftest$ac_exeext conftest.$ac_ext
5138     fi
5139     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5140     echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5141     if test `eval echo '${'$as_ac_var'}'` = yes; then
5142     cat >>confdefs.h <<_ACEOF
5143     #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5144     _ACEOF
5145 sysadm 1.1
5146 sysadm 1.4 fi
5147     done
5148 sysadm 1.1
5149    
5150     ac_config_files="$ac_config_files Makefile src/Makefile"
5151    
5152     cat >confcache <<\_ACEOF
5153     # This file is a shell script that caches the results of configure
5154     # tests run on this system so they can be shared between configure
5155     # scripts and configure runs, see configure's option --config-cache.
5156     # It is not useful on other systems. If it contains results you don't
5157     # want to keep, you may remove or edit it.
5158     #
5159     # config.status only pays attention to the cache file if you give it
5160     # the --recheck option to rerun configure.
5161     #
5162     # `ac_cv_env_foo' variables (set or unset) will be overridden when
5163     # loading this file, other *unset* `ac_cv_foo' will be assigned the
5164     # following values.
5165    
5166     _ACEOF
5167    
5168     # The following way of writing the cache mishandles newlines in values,
5169     # but we know of no workaround that is simple, portable, and efficient.
5170     # So, don't put newlines in cache variables' values.
5171     # Ultrix sh set writes to stderr and can't be redirected directly,
5172     # and sets the high bit in the cache file unless we assign to the vars.
5173     {
5174     (set) 2>&1 |
5175     case `(ac_space=' '; set | grep ac_space) 2>&1` in
5176     *ac_space=\ *)
5177     # `set' does not quote correctly, so add quotes (double-quote
5178     # substitution turns \\\\ into \\, and sed turns \\ into \).
5179     sed -n \
5180 sysadm 1.2 "s/'/'\\\\''/g;
5181     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5182 sysadm 1.1 ;;
5183     *)
5184     # `set' quotes correctly as required by POSIX, so do not add quotes.
5185     sed -n \
5186 sysadm 1.2 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5187 sysadm 1.1 ;;
5188     esac;
5189     } |
5190     sed '
5191     t clear
5192     : clear
5193     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5194     t end
5195     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5196     : end' >>confcache
5197     if diff $cache_file confcache >/dev/null 2>&1; then :; else
5198     if test -w $cache_file; then
5199     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5200     cat confcache >$cache_file
5201     else
5202     echo "not updating unwritable cache $cache_file"
5203     fi
5204     fi
5205     rm -f confcache
5206    
5207     test "x$prefix" = xNONE && prefix=$ac_default_prefix
5208     # Let make expand exec_prefix.
5209     test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5210    
5211     # VPATH may cause trouble with some makes, so we remove $(srcdir),
5212     # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5213     # trailing colons and then remove the whole line if VPATH becomes empty
5214     # (actually we leave an empty line to preserve line numbers).
5215     if test "x$srcdir" = x.; then
5216 sysadm 1.2 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5217 sysadm 1.1 s/:*\$(srcdir):*/:/;
5218     s/:*\${srcdir}:*/:/;
5219     s/:*@srcdir@:*/:/;
5220 sysadm 1.2 s/^\([^=]*=[ ]*\):*/\1/;
5221 sysadm 1.1 s/:*$//;
5222 sysadm 1.2 s/^[^=]*=[ ]*$//;
5223 sysadm 1.1 }'
5224     fi
5225    
5226     # Transform confdefs.h into DEFS.
5227     # Protect against shell expansion while executing Makefile rules.
5228     # Protect against Makefile macro expansion.
5229     #
5230     # If the first sed substitution is executed (which looks for macros that
5231     # take arguments), then we branch to the quote section. Otherwise,
5232     # look for a macro that doesn't take arguments.
5233     cat >confdef2opt.sed <<\_ACEOF
5234     t clear
5235     : clear
5236 sysadm 1.2 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
5237 sysadm 1.1 t quote
5238 sysadm 1.2 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
5239 sysadm 1.1 t quote
5240     d
5241     : quote
5242 sysadm 1.2 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
5243 sysadm 1.1 s,\[,\\&,g
5244     s,\],\\&,g
5245     s,\$,$$,g
5246     p
5247     _ACEOF
5248     # We use echo to avoid assuming a particular line-breaking character.
5249     # The extra dot is to prevent the shell from consuming trailing
5250     # line-breaks from the sub-command output. A line-break within
5251     # single-quotes doesn't work because, if this script is created in a
5252     # platform that uses two characters for line-breaks (e.g., DOS), tr
5253     # would break.
5254     ac_LF_and_DOT=`echo; echo .`
5255     DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
5256     rm -f confdef2opt.sed
5257    
5258    
5259     ac_libobjs=
5260     ac_ltlibobjs=
5261     for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5262     # 1. Remove the extension, and $U if already installed.
5263     ac_i=`echo "$ac_i" |
5264 sysadm 1.2 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5265 sysadm 1.1 # 2. Add them.
5266     ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5267     ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5268     done
5269     LIBOBJS=$ac_libobjs
5270    
5271     LTLIBOBJS=$ac_ltlibobjs
5272    
5273    
5274     if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5275     { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5276     Usually this means the macro was only invoked conditionally." >&5
5277     echo "$as_me: error: conditional \"AMDEP\" was never defined.
5278     Usually this means the macro was only invoked conditionally." >&2;}
5279     { (exit 1); exit 1; }; }
5280     fi
5281 sysadm 1.2 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5282     { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5283     Usually this means the macro was only invoked conditionally." >&5
5284     echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5285     Usually this means the macro was only invoked conditionally." >&2;}
5286     { (exit 1); exit 1; }; }
5287     fi
5288 sysadm 1.1
5289     : ${CONFIG_STATUS=./config.status}
5290     ac_clean_files_save=$ac_clean_files
5291     ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5292     { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5293     echo "$as_me: creating $CONFIG_STATUS" >&6;}
5294     cat >$CONFIG_STATUS <<_ACEOF
5295     #! $SHELL
5296     # Generated by $as_me.
5297     # Run this file to recreate the current configuration.
5298     # Compiler output produced by configure, useful for debugging
5299     # configure, is in config.log if it exists.
5300    
5301     debug=false
5302     ac_cs_recheck=false
5303     ac_cs_silent=false
5304     SHELL=\${CONFIG_SHELL-$SHELL}
5305     _ACEOF
5306    
5307     cat >>$CONFIG_STATUS <<\_ACEOF
5308     ## --------------------- ##
5309     ## M4sh Initialization. ##
5310     ## --------------------- ##
5311    
5312     # Be Bourne compatible
5313     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5314     emulate sh
5315     NULLCMD=:
5316     # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5317     # is contrary to our usage. Disable this feature.
5318     alias -g '${1+"$@"}'='"$@"'
5319     elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5320     set -o posix
5321     fi
5322 sysadm 1.2 DUALCASE=1; export DUALCASE # for MKS sh
5323 sysadm 1.1
5324     # Support unset when possible.
5325 sysadm 1.2 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5326 sysadm 1.1 as_unset=unset
5327     else
5328     as_unset=false
5329     fi
5330    
5331    
5332     # Work around bugs in pre-3.0 UWIN ksh.
5333     $as_unset ENV MAIL MAILPATH
5334     PS1='$ '
5335     PS2='> '
5336     PS4='+ '
5337    
5338     # NLS nuisances.
5339     for as_var in \
5340     LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5341     LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5342     LC_TELEPHONE LC_TIME
5343     do
5344 sysadm 1.2 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5345 sysadm 1.1 eval $as_var=C; export $as_var
5346     else
5347     $as_unset $as_var
5348     fi
5349     done
5350    
5351     # Required to use basename.
5352     if expr a : '\(a\)' >/dev/null 2>&1; then
5353     as_expr=expr
5354     else
5355     as_expr=false
5356     fi
5357    
5358     if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5359     as_basename=basename
5360     else
5361     as_basename=false
5362     fi
5363    
5364    
5365     # Name of the executable.
5366     as_me=`$as_basename "$0" ||
5367     $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5368     X"$0" : 'X\(//\)$' \| \
5369     X"$0" : 'X\(/\)$' \| \
5370     . : '\(.\)' 2>/dev/null ||
5371     echo X/"$0" |
5372     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5373     /^X\/\(\/\/\)$/{ s//\1/; q; }
5374     /^X\/\(\/\).*/{ s//\1/; q; }
5375     s/.*/./; q'`
5376    
5377    
5378     # PATH needs CR, and LINENO needs CR and PATH.
5379     # Avoid depending upon Character Ranges.
5380     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5381     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5382     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5383     as_cr_digits='0123456789'
5384     as_cr_alnum=$as_cr_Letters$as_cr_digits
5385    
5386     # The user is always right.
5387     if test "${PATH_SEPARATOR+set}" != set; then
5388     echo "#! /bin/sh" >conf$$.sh
5389     echo "exit 0" >>conf$$.sh
5390     chmod +x conf$$.sh
5391     if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5392     PATH_SEPARATOR=';'
5393     else
5394     PATH_SEPARATOR=:
5395     fi
5396     rm -f conf$$.sh
5397     fi
5398    
5399    
5400     as_lineno_1=$LINENO
5401     as_lineno_2=$LINENO
5402     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5403     test "x$as_lineno_1" != "x$as_lineno_2" &&
5404     test "x$as_lineno_3" = "x$as_lineno_2" || {
5405     # Find who we are. Look in the path if we contain no path at all
5406     # relative or not.
5407     case $0 in
5408     *[\\/]* ) as_myself=$0 ;;
5409     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5410     for as_dir in $PATH
5411     do
5412     IFS=$as_save_IFS
5413     test -z "$as_dir" && as_dir=.
5414     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5415     done
5416    
5417     ;;
5418     esac
5419     # We did not find ourselves, most probably we were run as `sh COMMAND'
5420     # in which case we are not to be found in the path.
5421     if test "x$as_myself" = x; then
5422     as_myself=$0
5423     fi
5424     if test ! -f "$as_myself"; then
5425     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5426     echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5427     { (exit 1); exit 1; }; }
5428     fi
5429     case $CONFIG_SHELL in
5430     '')
5431     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432     for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5433     do
5434     IFS=$as_save_IFS
5435     test -z "$as_dir" && as_dir=.
5436     for as_base in sh bash ksh sh5; do
5437     case $as_dir in
5438     /*)
5439     if ("$as_dir/$as_base" -c '
5440     as_lineno_1=$LINENO
5441     as_lineno_2=$LINENO
5442     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5443     test "x$as_lineno_1" != "x$as_lineno_2" &&
5444     test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5445     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5446     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5447     CONFIG_SHELL=$as_dir/$as_base
5448     export CONFIG_SHELL
5449     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5450     fi;;
5451     esac
5452     done
5453     done
5454     ;;
5455     esac
5456    
5457     # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5458     # uniformly replaced by the line number. The first 'sed' inserts a
5459     # line-number line before each line; the second 'sed' does the real
5460     # work. The second script uses 'N' to pair each line-number line
5461     # with the numbered line, and appends trailing '-' during
5462     # substitution so that $LINENO is not a special case at line end.
5463     # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5464     # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5465     sed '=' <$as_myself |
5466     sed '
5467     N
5468     s,$,-,
5469     : loop
5470     s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5471     t loop
5472     s,-$,,
5473     s,^['$as_cr_digits']*\n,,
5474     ' >$as_me.lineno &&
5475     chmod +x $as_me.lineno ||
5476     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5477     echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5478     { (exit 1); exit 1; }; }
5479    
5480     # Don't try to exec as it changes $[0], causing all sort of problems
5481     # (the dirname of $[0] is not the place where we might find the
5482     # original and so on. Autoconf is especially sensible to this).
5483     . ./$as_me.lineno
5484     # Exit status is that of the last command.
5485     exit
5486     }
5487    
5488    
5489     case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5490     *c*,-n*) ECHO_N= ECHO_C='
5491     ' ECHO_T=' ' ;;
5492     *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5493     *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5494     esac
5495    
5496     if expr a : '\(a\)' >/dev/null 2>&1; then
5497     as_expr=expr
5498     else
5499     as_expr=false
5500     fi
5501    
5502     rm -f conf$$ conf$$.exe conf$$.file
5503     echo >conf$$.file
5504     if ln -s conf$$.file conf$$ 2>/dev/null; then
5505     # We could just check for DJGPP; but this test a) works b) is more generic
5506     # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5507     if test -f conf$$.exe; then
5508     # Don't use ln at all; we don't have any links
5509     as_ln_s='cp -p'
5510     else
5511     as_ln_s='ln -s'
5512     fi
5513     elif ln conf$$.file conf$$ 2>/dev/null; then
5514     as_ln_s=ln
5515     else
5516     as_ln_s='cp -p'
5517     fi
5518     rm -f conf$$ conf$$.exe conf$$.file
5519    
5520     if mkdir -p . 2>/dev/null; then
5521     as_mkdir_p=:
5522     else
5523 sysadm 1.2 test -d ./-p && rmdir ./-p
5524 sysadm 1.1 as_mkdir_p=false
5525     fi
5526    
5527     as_executable_p="test -f"
5528    
5529     # Sed expression to map a string onto a valid CPP name.
5530 sysadm 1.2 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5531 sysadm 1.1
5532     # Sed expression to map a string onto a valid variable name.
5533 sysadm 1.2 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5534 sysadm 1.1
5535    
5536     # IFS
5537     # We need space, tab and new line, in precisely that order.
5538     as_nl='
5539     '
5540     IFS=" $as_nl"
5541    
5542     # CDPATH.
5543     $as_unset CDPATH
5544    
5545     exec 6>&1
5546    
5547     # Open the log real soon, to keep \$[0] and so on meaningful, and to
5548     # report actual input values of CONFIG_FILES etc. instead of their
5549     # values after options handling. Logging --version etc. is OK.
5550     exec 5>>config.log
5551     {
5552     echo
5553     sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5554     ## Running $as_me. ##
5555     _ASBOX
5556     } >&5
5557     cat >&5 <<_CSEOF
5558    
5559     This file was extended by bbsd $as_me 1.0, which was
5560 sysadm 1.2 generated by GNU Autoconf 2.59. Invocation command line was
5561 sysadm 1.1
5562     CONFIG_FILES = $CONFIG_FILES
5563     CONFIG_HEADERS = $CONFIG_HEADERS
5564     CONFIG_LINKS = $CONFIG_LINKS
5565     CONFIG_COMMANDS = $CONFIG_COMMANDS
5566     $ $0 $@
5567    
5568     _CSEOF
5569     echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5570     echo >&5
5571     _ACEOF
5572    
5573     # Files that config.status was made for.
5574     if test -n "$ac_config_files"; then
5575     echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5576     fi
5577    
5578     if test -n "$ac_config_headers"; then
5579     echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5580     fi
5581    
5582     if test -n "$ac_config_links"; then
5583     echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5584     fi
5585    
5586     if test -n "$ac_config_commands"; then
5587     echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5588     fi
5589    
5590     cat >>$CONFIG_STATUS <<\_ACEOF
5591    
5592     ac_cs_usage="\
5593     \`$as_me' instantiates files from templates according to the
5594     current configuration.
5595    
5596     Usage: $0 [OPTIONS] [FILE]...
5597    
5598     -h, --help print this help, then exit
5599     -V, --version print version number, then exit
5600     -q, --quiet do not print progress messages
5601     -d, --debug don't remove temporary files
5602     --recheck update $as_me by reconfiguring in the same conditions
5603     --file=FILE[:TEMPLATE]
5604 sysadm 1.2 instantiate the configuration file FILE
5605 sysadm 1.1
5606     Configuration files:
5607     $config_files
5608    
5609     Configuration commands:
5610     $config_commands
5611    
5612     Report bugs to <bug-autoconf@gnu.org>."
5613     _ACEOF
5614    
5615     cat >>$CONFIG_STATUS <<_ACEOF
5616     ac_cs_version="\\
5617     bbsd config.status 1.0
5618 sysadm 1.2 configured by $0, generated by GNU Autoconf 2.59,
5619 sysadm 1.1 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5620    
5621 sysadm 1.2 Copyright (C) 2003 Free Software Foundation, Inc.
5622 sysadm 1.1 This config.status script is free software; the Free Software Foundation
5623     gives unlimited permission to copy, distribute and modify it."
5624     srcdir=$srcdir
5625     INSTALL="$INSTALL"
5626     _ACEOF
5627    
5628     cat >>$CONFIG_STATUS <<\_ACEOF
5629     # If no file are specified by the user, then we need to provide default
5630     # value. By we need to know if files were specified by the user.
5631     ac_need_defaults=:
5632     while test $# != 0
5633     do
5634     case $1 in
5635     --*=*)
5636     ac_option=`expr "x$1" : 'x\([^=]*\)='`
5637     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5638     ac_shift=:
5639     ;;
5640     -*)
5641     ac_option=$1
5642     ac_optarg=$2
5643     ac_shift=shift
5644     ;;
5645     *) # This is not an option, so the user has probably given explicit
5646     # arguments.
5647     ac_option=$1
5648     ac_need_defaults=false;;
5649     esac
5650    
5651     case $ac_option in
5652     # Handling of the options.
5653     _ACEOF
5654     cat >>$CONFIG_STATUS <<\_ACEOF
5655     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5656     ac_cs_recheck=: ;;
5657     --version | --vers* | -V )
5658     echo "$ac_cs_version"; exit 0 ;;
5659     --he | --h)
5660     # Conflict between --help and --header
5661     { { echo "$as_me:$LINENO: error: ambiguous option: $1
5662     Try \`$0 --help' for more information." >&5
5663     echo "$as_me: error: ambiguous option: $1
5664     Try \`$0 --help' for more information." >&2;}
5665     { (exit 1); exit 1; }; };;
5666     --help | --hel | -h )
5667     echo "$ac_cs_usage"; exit 0 ;;
5668     --debug | --d* | -d )
5669     debug=: ;;
5670     --file | --fil | --fi | --f )
5671     $ac_shift
5672     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5673     ac_need_defaults=false;;
5674     --header | --heade | --head | --hea )
5675     $ac_shift
5676     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5677     ac_need_defaults=false;;
5678     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5679     | -silent | --silent | --silen | --sile | --sil | --si | --s)
5680     ac_cs_silent=: ;;
5681    
5682     # This is an error.
5683     -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5684     Try \`$0 --help' for more information." >&5
5685     echo "$as_me: error: unrecognized option: $1
5686     Try \`$0 --help' for more information." >&2;}
5687     { (exit 1); exit 1; }; } ;;
5688    
5689     *) ac_config_targets="$ac_config_targets $1" ;;
5690    
5691     esac
5692     shift
5693     done
5694    
5695     ac_configure_extra_args=
5696    
5697     if $ac_cs_silent; then
5698     exec 6>/dev/null
5699     ac_configure_extra_args="$ac_configure_extra_args --silent"
5700     fi
5701    
5702     _ACEOF
5703     cat >>$CONFIG_STATUS <<_ACEOF
5704     if \$ac_cs_recheck; then
5705     echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5706     exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5707     fi
5708    
5709     _ACEOF
5710    
5711     cat >>$CONFIG_STATUS <<_ACEOF
5712     #
5713     # INIT-COMMANDS section.
5714     #
5715    
5716     AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5717    
5718     _ACEOF
5719    
5720    
5721    
5722     cat >>$CONFIG_STATUS <<\_ACEOF
5723     for ac_config_target in $ac_config_targets
5724     do
5725     case "$ac_config_target" in
5726     # Handling of arguments.
5727     "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5728     "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5729     "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5730     *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5731     echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5732     { (exit 1); exit 1; }; };;
5733     esac
5734     done
5735    
5736     # If the user did not use the arguments to specify the items to instantiate,
5737     # then the envvar interface is used. Set only those that are not.
5738     # We use the long form for the default assignment because of an extremely
5739     # bizarre bug on SunOS 4.1.3.
5740     if $ac_need_defaults; then
5741     test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5742     test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5743     fi
5744    
5745     # Have a temporary directory for convenience. Make it in the build tree
5746     # simply because there is no reason to put it here, and in addition,
5747     # creating and moving files from /tmp can sometimes cause problems.
5748     # Create a temporary directory, and hook for its removal unless debugging.
5749     $debug ||
5750     {
5751     trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5752     trap '{ (exit 1); exit 1; }' 1 2 13 15
5753     }
5754    
5755     # Create a (secure) tmp directory for tmp files.
5756    
5757     {
5758     tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5759     test -n "$tmp" && test -d "$tmp"
5760     } ||
5761     {
5762     tmp=./confstat$$-$RANDOM
5763     (umask 077 && mkdir $tmp)
5764     } ||
5765     {
5766     echo "$me: cannot create a temporary directory in ." >&2
5767     { (exit 1); exit 1; }
5768     }
5769    
5770     _ACEOF
5771    
5772     cat >>$CONFIG_STATUS <<_ACEOF
5773    
5774     #
5775     # CONFIG_FILES section.
5776     #
5777    
5778     # No need to generate the scripts if there are no CONFIG_FILES.
5779     # This happens for instance when ./config.status config.h
5780     if test -n "\$CONFIG_FILES"; then
5781     # Protect against being on the right side of a sed subst in config.status.
5782     sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5783     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5784     s,@SHELL@,$SHELL,;t t
5785     s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5786     s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5787     s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5788     s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5789     s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5790     s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5791     s,@exec_prefix@,$exec_prefix,;t t
5792     s,@prefix@,$prefix,;t t
5793     s,@program_transform_name@,$program_transform_name,;t t
5794     s,@bindir@,$bindir,;t t
5795     s,@sbindir@,$sbindir,;t t
5796     s,@libexecdir@,$libexecdir,;t t
5797     s,@datadir@,$datadir,;t t
5798     s,@sysconfdir@,$sysconfdir,;t t
5799     s,@sharedstatedir@,$sharedstatedir,;t t
5800     s,@localstatedir@,$localstatedir,;t t
5801     s,@libdir@,$libdir,;t t
5802     s,@includedir@,$includedir,;t t
5803     s,@oldincludedir@,$oldincludedir,;t t
5804     s,@infodir@,$infodir,;t t
5805     s,@mandir@,$mandir,;t t
5806     s,@build_alias@,$build_alias,;t t
5807     s,@host_alias@,$host_alias,;t t
5808     s,@target_alias@,$target_alias,;t t
5809     s,@DEFS@,$DEFS,;t t
5810     s,@ECHO_C@,$ECHO_C,;t t
5811     s,@ECHO_N@,$ECHO_N,;t t
5812     s,@ECHO_T@,$ECHO_T,;t t
5813     s,@LIBS@,$LIBS,;t t
5814     s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5815     s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5816     s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5817 sysadm 1.2 s,@CYGPATH_W@,$CYGPATH_W,;t t
5818 sysadm 1.1 s,@PACKAGE@,$PACKAGE,;t t
5819     s,@VERSION@,$VERSION,;t t
5820     s,@ACLOCAL@,$ACLOCAL,;t t
5821     s,@AUTOCONF@,$AUTOCONF,;t t
5822     s,@AUTOMAKE@,$AUTOMAKE,;t t
5823     s,@AUTOHEADER@,$AUTOHEADER,;t t
5824     s,@MAKEINFO@,$MAKEINFO,;t t
5825     s,@AMTAR@,$AMTAR,;t t
5826     s,@install_sh@,$install_sh,;t t
5827     s,@STRIP@,$STRIP,;t t
5828     s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5829     s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5830 sysadm 1.2 s,@mkdir_p@,$mkdir_p,;t t
5831 sysadm 1.1 s,@AWK@,$AWK,;t t
5832     s,@SET_MAKE@,$SET_MAKE,;t t
5833 sysadm 1.2 s,@am__leading_dot@,$am__leading_dot,;t t
5834 sysadm 1.1 s,@CC@,$CC,;t t
5835     s,@CFLAGS@,$CFLAGS,;t t
5836     s,@LDFLAGS@,$LDFLAGS,;t t
5837     s,@CPPFLAGS@,$CPPFLAGS,;t t
5838     s,@ac_ct_CC@,$ac_ct_CC,;t t
5839     s,@EXEEXT@,$EXEEXT,;t t
5840     s,@OBJEXT@,$OBJEXT,;t t
5841     s,@DEPDIR@,$DEPDIR,;t t
5842     s,@am__include@,$am__include,;t t
5843     s,@am__quote@,$am__quote,;t t
5844     s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5845     s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5846     s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5847     s,@CCDEPMODE@,$CCDEPMODE,;t t
5848 sysadm 1.2 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5849     s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5850 sysadm 1.4 s,@CPP@,$CPP,;t t
5851     s,@EGREP@,$EGREP,;t t
5852 sysadm 1.1 s,@LIBOBJS@,$LIBOBJS,;t t
5853     s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5854     CEOF
5855    
5856     _ACEOF
5857    
5858     cat >>$CONFIG_STATUS <<\_ACEOF
5859     # Split the substitutions into bite-sized pieces for seds with
5860     # small command number limits, like on Digital OSF/1 and HP-UX.
5861     ac_max_sed_lines=48
5862     ac_sed_frag=1 # Number of current file.
5863     ac_beg=1 # First line for current file.
5864     ac_end=$ac_max_sed_lines # Line after last line for current file.
5865     ac_more_lines=:
5866     ac_sed_cmds=
5867     while $ac_more_lines; do
5868     if test $ac_beg -gt 1; then
5869     sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5870     else
5871     sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5872     fi
5873     if test ! -s $tmp/subs.frag; then
5874     ac_more_lines=false
5875     else
5876     # The purpose of the label and of the branching condition is to
5877     # speed up the sed processing (if there are no `@' at all, there
5878     # is no need to browse any of the substitutions).
5879     # These are the two extra sed commands mentioned above.
5880     (echo ':t
5881     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5882     if test -z "$ac_sed_cmds"; then
5883 sysadm 1.2 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5884 sysadm 1.1 else
5885 sysadm 1.2 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5886 sysadm 1.1 fi
5887     ac_sed_frag=`expr $ac_sed_frag + 1`
5888     ac_beg=$ac_end
5889     ac_end=`expr $ac_end + $ac_max_sed_lines`
5890     fi
5891     done
5892     if test -z "$ac_sed_cmds"; then
5893     ac_sed_cmds=cat
5894     fi
5895     fi # test -n "$CONFIG_FILES"
5896    
5897     _ACEOF
5898     cat >>$CONFIG_STATUS <<\_ACEOF
5899     for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5900     # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5901     case $ac_file in
5902     - | *:- | *:-:* ) # input from stdin
5903 sysadm 1.2 cat >$tmp/stdin
5904     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5905     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5906 sysadm 1.1 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5907 sysadm 1.2 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5908 sysadm 1.1 * ) ac_file_in=$ac_file.in ;;
5909     esac
5910    
5911     # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5912     ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5913     $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5914 sysadm 1.2 X"$ac_file" : 'X\(//\)[^/]' \| \
5915     X"$ac_file" : 'X\(//\)$' \| \
5916     X"$ac_file" : 'X\(/\)' \| \
5917     . : '\(.\)' 2>/dev/null ||
5918 sysadm 1.1 echo X"$ac_file" |
5919     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5920     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5921     /^X\(\/\/\)$/{ s//\1/; q; }
5922     /^X\(\/\).*/{ s//\1/; q; }
5923     s/.*/./; q'`
5924     { if $as_mkdir_p; then
5925     mkdir -p "$ac_dir"
5926     else
5927     as_dir="$ac_dir"
5928     as_dirs=
5929     while test ! -d "$as_dir"; do
5930     as_dirs="$as_dir $as_dirs"
5931     as_dir=`(dirname "$as_dir") 2>/dev/null ||
5932     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5933 sysadm 1.2 X"$as_dir" : 'X\(//\)[^/]' \| \
5934     X"$as_dir" : 'X\(//\)$' \| \
5935     X"$as_dir" : 'X\(/\)' \| \
5936     . : '\(.\)' 2>/dev/null ||
5937 sysadm 1.1 echo X"$as_dir" |
5938     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5939     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5940     /^X\(\/\/\)$/{ s//\1/; q; }
5941     /^X\(\/\).*/{ s//\1/; q; }
5942     s/.*/./; q'`
5943     done
5944     test ! -n "$as_dirs" || mkdir $as_dirs
5945     fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5946     echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5947     { (exit 1); exit 1; }; }; }
5948    
5949     ac_builddir=.
5950    
5951     if test "$ac_dir" != .; then
5952     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5953     # A "../" for each directory in $ac_dir_suffix.
5954     ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5955     else
5956     ac_dir_suffix= ac_top_builddir=
5957     fi
5958    
5959     case $srcdir in
5960     .) # No --srcdir option. We are building in place.
5961     ac_srcdir=.
5962     if test -z "$ac_top_builddir"; then
5963     ac_top_srcdir=.
5964     else
5965     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5966     fi ;;
5967     [\\/]* | ?:[\\/]* ) # Absolute path.
5968     ac_srcdir=$srcdir$ac_dir_suffix;
5969     ac_top_srcdir=$srcdir ;;
5970     *) # Relative path.
5971     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5972     ac_top_srcdir=$ac_top_builddir$srcdir ;;
5973     esac
5974 sysadm 1.2
5975     # Do not use `cd foo && pwd` to compute absolute paths, because
5976     # the directories may not exist.
5977     case `pwd` in
5978     .) ac_abs_builddir="$ac_dir";;
5979     *)
5980     case "$ac_dir" in
5981     .) ac_abs_builddir=`pwd`;;
5982     [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5983     *) ac_abs_builddir=`pwd`/"$ac_dir";;
5984     esac;;
5985     esac
5986     case $ac_abs_builddir in
5987     .) ac_abs_top_builddir=${ac_top_builddir}.;;
5988     *)
5989     case ${ac_top_builddir}. in
5990     .) ac_abs_top_builddir=$ac_abs_builddir;;
5991     [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5992     *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5993     esac;;
5994     esac
5995     case $ac_abs_builddir in
5996     .) ac_abs_srcdir=$ac_srcdir;;
5997     *)
5998     case $ac_srcdir in
5999     .) ac_abs_srcdir=$ac_abs_builddir;;
6000     [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6001     *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6002     esac;;
6003     esac
6004     case $ac_abs_builddir in
6005     .) ac_abs_top_srcdir=$ac_top_srcdir;;
6006     *)
6007     case $ac_top_srcdir in
6008     .) ac_abs_top_srcdir=$ac_abs_builddir;;
6009     [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6010     *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6011     esac;;
6012     esac
6013 sysadm 1.1
6014    
6015     case $INSTALL in
6016     [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6017     *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6018     esac
6019    
6020     if test x"$ac_file" != x-; then
6021     { echo "$as_me:$LINENO: creating $ac_file" >&5
6022     echo "$as_me: creating $ac_file" >&6;}
6023     rm -f "$ac_file"
6024     fi
6025     # Let's still pretend it is `configure' which instantiates (i.e., don't
6026     # use $as_me), people would be surprised to read:
6027     # /* config.h. Generated by config.status. */
6028     if test x"$ac_file" = x-; then
6029     configure_input=
6030     else
6031     configure_input="$ac_file. "
6032     fi
6033     configure_input=$configure_input"Generated from `echo $ac_file_in |
6034 sysadm 1.2 sed 's,.*/,,'` by configure."
6035 sysadm 1.1
6036     # First look for the input files in the build tree, otherwise in the
6037     # src tree.
6038     ac_file_inputs=`IFS=:
6039     for f in $ac_file_in; do
6040     case $f in
6041     -) echo $tmp/stdin ;;
6042     [\\/$]*)
6043 sysadm 1.2 # Absolute (can't be DOS-style, as IFS=:)
6044     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6045 sysadm 1.1 echo "$as_me: error: cannot find input file: $f" >&2;}
6046     { (exit 1); exit 1; }; }
6047 sysadm 1.2 echo "$f";;
6048 sysadm 1.1 *) # Relative
6049 sysadm 1.2 if test -f "$f"; then
6050     # Build tree
6051     echo "$f"
6052     elif test -f "$srcdir/$f"; then
6053     # Source tree
6054     echo "$srcdir/$f"
6055     else
6056     # /dev/null tree
6057     { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6058 sysadm 1.1 echo "$as_me: error: cannot find input file: $f" >&2;}
6059     { (exit 1); exit 1; }; }
6060 sysadm 1.2 fi;;
6061 sysadm 1.1 esac
6062     done` || { (exit 1); exit 1; }
6063     _ACEOF
6064     cat >>$CONFIG_STATUS <<_ACEOF
6065     sed "$ac_vpsub
6066     $extrasub
6067     _ACEOF
6068     cat >>$CONFIG_STATUS <<\_ACEOF
6069     :t
6070     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6071     s,@configure_input@,$configure_input,;t t
6072     s,@srcdir@,$ac_srcdir,;t t
6073     s,@abs_srcdir@,$ac_abs_srcdir,;t t
6074     s,@top_srcdir@,$ac_top_srcdir,;t t
6075     s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6076     s,@builddir@,$ac_builddir,;t t
6077     s,@abs_builddir@,$ac_abs_builddir,;t t
6078     s,@top_builddir@,$ac_top_builddir,;t t
6079     s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6080     s,@INSTALL@,$ac_INSTALL,;t t
6081     " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6082     rm -f $tmp/stdin
6083     if test x"$ac_file" != x-; then
6084     mv $tmp/out $ac_file
6085     else
6086     cat $tmp/out
6087     rm -f $tmp/out
6088     fi
6089    
6090     done
6091     _ACEOF
6092     cat >>$CONFIG_STATUS <<\_ACEOF
6093    
6094     #
6095     # CONFIG_COMMANDS section.
6096     #
6097     for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6098     ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6099     ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6100     ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6101     $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6102 sysadm 1.2 X"$ac_dest" : 'X\(//\)[^/]' \| \
6103     X"$ac_dest" : 'X\(//\)$' \| \
6104     X"$ac_dest" : 'X\(/\)' \| \
6105     . : '\(.\)' 2>/dev/null ||
6106 sysadm 1.1 echo X"$ac_dest" |
6107     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6108     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6109     /^X\(\/\/\)$/{ s//\1/; q; }
6110     /^X\(\/\).*/{ s//\1/; q; }
6111     s/.*/./; q'`
6112 sysadm 1.2 { if $as_mkdir_p; then
6113     mkdir -p "$ac_dir"
6114     else
6115     as_dir="$ac_dir"
6116     as_dirs=
6117     while test ! -d "$as_dir"; do
6118     as_dirs="$as_dir $as_dirs"
6119     as_dir=`(dirname "$as_dir") 2>/dev/null ||
6120     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6121     X"$as_dir" : 'X\(//\)[^/]' \| \
6122     X"$as_dir" : 'X\(//\)$' \| \
6123     X"$as_dir" : 'X\(/\)' \| \
6124     . : '\(.\)' 2>/dev/null ||
6125     echo X"$as_dir" |
6126     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6127     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6128     /^X\(\/\/\)$/{ s//\1/; q; }
6129     /^X\(\/\).*/{ s//\1/; q; }
6130     s/.*/./; q'`
6131     done
6132     test ! -n "$as_dirs" || mkdir $as_dirs
6133     fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6134     echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6135     { (exit 1); exit 1; }; }; }
6136    
6137 sysadm 1.1 ac_builddir=.
6138    
6139     if test "$ac_dir" != .; then
6140     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6141     # A "../" for each directory in $ac_dir_suffix.
6142     ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6143     else
6144     ac_dir_suffix= ac_top_builddir=
6145     fi
6146    
6147     case $srcdir in
6148     .) # No --srcdir option. We are building in place.
6149     ac_srcdir=.
6150     if test -z "$ac_top_builddir"; then
6151     ac_top_srcdir=.
6152     else
6153     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6154     fi ;;
6155     [\\/]* | ?:[\\/]* ) # Absolute path.
6156     ac_srcdir=$srcdir$ac_dir_suffix;
6157     ac_top_srcdir=$srcdir ;;
6158     *) # Relative path.
6159     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6160     ac_top_srcdir=$ac_top_builddir$srcdir ;;
6161     esac
6162 sysadm 1.2
6163     # Do not use `cd foo && pwd` to compute absolute paths, because
6164     # the directories may not exist.
6165     case `pwd` in
6166     .) ac_abs_builddir="$ac_dir";;
6167     *)
6168     case "$ac_dir" in
6169     .) ac_abs_builddir=`pwd`;;
6170     [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6171     *) ac_abs_builddir=`pwd`/"$ac_dir";;
6172     esac;;
6173     esac
6174     case $ac_abs_builddir in
6175     .) ac_abs_top_builddir=${ac_top_builddir}.;;
6176     *)
6177     case ${ac_top_builddir}. in
6178     .) ac_abs_top_builddir=$ac_abs_builddir;;
6179     [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6180     *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6181     esac;;
6182     esac
6183     case $ac_abs_builddir in
6184     .) ac_abs_srcdir=$ac_srcdir;;
6185     *)
6186     case $ac_srcdir in
6187     .) ac_abs_srcdir=$ac_abs_builddir;;
6188     [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6189     *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6190     esac;;
6191     esac
6192     case $ac_abs_builddir in
6193     .) ac_abs_top_srcdir=$ac_top_srcdir;;
6194     *)
6195     case $ac_top_srcdir in
6196     .) ac_abs_top_srcdir=$ac_abs_builddir;;
6197     [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6198     *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6199     esac;;
6200     esac
6201 sysadm 1.1
6202    
6203     { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6204     echo "$as_me: executing $ac_dest commands" >&6;}
6205     case $ac_dest in
6206     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6207     # Strip MF so we end up with the name of the file.
6208     mf=`echo "$mf" | sed -e 's/:.*$//'`
6209     # Check whether this is an Automake generated Makefile or not.
6210     # We used to match only the files named `Makefile.in', but
6211     # some people rename them; so instead we look at the file content.
6212     # Grep'ing the first line is not enough: some people post-process
6213     # each Makefile.in and add a new line on top of each file to say so.
6214     # So let's grep whole file.
6215     if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6216     dirpart=`(dirname "$mf") 2>/dev/null ||
6217     $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6218 sysadm 1.2 X"$mf" : 'X\(//\)[^/]' \| \
6219     X"$mf" : 'X\(//\)$' \| \
6220     X"$mf" : 'X\(/\)' \| \
6221     . : '\(.\)' 2>/dev/null ||
6222 sysadm 1.1 echo X"$mf" |
6223     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6224     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6225     /^X\(\/\/\)$/{ s//\1/; q; }
6226     /^X\(\/\).*/{ s//\1/; q; }
6227     s/.*/./; q'`
6228     else
6229     continue
6230     fi
6231     grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6232     # Extract the definition of DEP_FILES from the Makefile without
6233     # running `make'.
6234 sysadm 1.2 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6235 sysadm 1.1 test -z "$DEPDIR" && continue
6236     # When using ansi2knr, U may be empty or an underscore; expand it
6237 sysadm 1.2 U=`sed -n 's/^U = //p' < "$mf"`
6238 sysadm 1.1 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6239     # We invoke sed twice because it is the simplest approach to
6240     # changing $(DEPDIR) to its actual value in the expansion.
6241 sysadm 1.2 for file in `sed -n '
6242 sysadm 1.1 /^DEP_FILES = .*\\\\$/ {
6243     s/^DEP_FILES = //
6244     :loop
6245     s/\\\\$//
6246     p
6247     n
6248     /\\\\$/ b loop
6249     p
6250     }
6251     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6252     sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6253     # Make sure the directory exists.
6254     test -f "$dirpart/$file" && continue
6255     fdir=`(dirname "$file") 2>/dev/null ||
6256     $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6257 sysadm 1.2 X"$file" : 'X\(//\)[^/]' \| \
6258     X"$file" : 'X\(//\)$' \| \
6259     X"$file" : 'X\(/\)' \| \
6260     . : '\(.\)' 2>/dev/null ||
6261 sysadm 1.1 echo X"$file" |
6262     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6263     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6264     /^X\(\/\/\)$/{ s//\1/; q; }
6265     /^X\(\/\).*/{ s//\1/; q; }
6266     s/.*/./; q'`
6267     { if $as_mkdir_p; then
6268     mkdir -p $dirpart/$fdir
6269     else
6270     as_dir=$dirpart/$fdir
6271     as_dirs=
6272     while test ! -d "$as_dir"; do
6273     as_dirs="$as_dir $as_dirs"
6274     as_dir=`(dirname "$as_dir") 2>/dev/null ||
6275     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6276 sysadm 1.2 X"$as_dir" : 'X\(//\)[^/]' \| \
6277     X"$as_dir" : 'X\(//\)$' \| \
6278     X"$as_dir" : 'X\(/\)' \| \
6279     . : '\(.\)' 2>/dev/null ||
6280 sysadm 1.1 echo X"$as_dir" |
6281     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6282     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6283     /^X\(\/\/\)$/{ s//\1/; q; }
6284     /^X\(\/\).*/{ s//\1/; q; }
6285     s/.*/./; q'`
6286     done
6287     test ! -n "$as_dirs" || mkdir $as_dirs
6288     fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6289     echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6290     { (exit 1); exit 1; }; }; }
6291    
6292     # echo "creating $dirpart/$file"
6293     echo '# dummy' > "$dirpart/$file"
6294     done
6295     done
6296     ;;
6297     esac
6298     done
6299     _ACEOF
6300    
6301     cat >>$CONFIG_STATUS <<\_ACEOF
6302    
6303     { (exit 0); exit 0; }
6304     _ACEOF
6305     chmod +x $CONFIG_STATUS
6306     ac_clean_files=$ac_clean_files_save
6307    
6308    
6309     # configure is writing to config.log, and then calls config.status.
6310     # config.status does its own redirection, appending to config.log.
6311     # Unfortunately, on DOS this fails, as config.log is still kept open
6312     # by configure, so config.status won't be able to write to it; its
6313     # output is simply discarded. So we exec the FD to /dev/null,
6314     # effectively closing config.log, so it can be properly (re)opened and
6315     # appended to by config.status. When coming back to configure, we
6316     # need to make the FD available again.
6317     if test "$no_create" != yes; then
6318     ac_cs_success=:
6319     ac_config_status_args=
6320     test "$silent" = yes &&
6321     ac_config_status_args="$ac_config_status_args --quiet"
6322     exec 5>/dev/null
6323     $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6324     exec 5>>config.log
6325     # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6326     # would make configure fail if this is the last instruction.
6327     $ac_cs_success || { (exit 1); exit 1; }
6328     fi
6329    

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1