/[LeafOK_CVS]/lbbs/configure
ViewVC logotype

Annotation of /lbbs/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations)
Fri Oct 22 15:20:32 2004 UTC (21 years, 4 months ago) by sysadm
Branch: MAIN
Changes since 1.6: +3 -1 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.4 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2840     echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2841     if test "${ac_cv_search_strerror+set}" = set; then
2842 sysadm 1.1 echo $ECHO_N "(cached) $ECHO_C" >&6
2843     else
2844 sysadm 1.4 ac_func_search_save_LIBS=$LIBS
2845     ac_cv_search_strerror=no
2846     cat >conftest.$ac_ext <<_ACEOF
2847     /* confdefs.h. */
2848     _ACEOF
2849     cat confdefs.h >>conftest.$ac_ext
2850     cat >>conftest.$ac_ext <<_ACEOF
2851     /* end confdefs.h. */
2852    
2853     /* Override any gcc2 internal prototype to avoid an error. */
2854     #ifdef __cplusplus
2855     extern "C"
2856     #endif
2857     /* We use char because int might match the return type of a gcc2
2858     builtin and then its argument prototype would still apply. */
2859     char strerror ();
2860     int
2861     main ()
2862     {
2863     strerror ();
2864     ;
2865     return 0;
2866     }
2867     _ACEOF
2868     rm -f conftest.$ac_objext conftest$ac_exeext
2869     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2870     (eval $ac_link) 2>conftest.er1
2871     ac_status=$?
2872     grep -v '^ *+' conftest.er1 >conftest.err
2873     rm -f conftest.er1
2874     cat conftest.err >&5
2875     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876     (exit $ac_status); } &&
2877     { ac_try='test -z "$ac_c_werror_flag"
2878     || test ! -s conftest.err'
2879     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2880     (eval $ac_try) 2>&5
2881     ac_status=$?
2882     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883     (exit $ac_status); }; } &&
2884     { ac_try='test -s conftest$ac_exeext'
2885     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2886     (eval $ac_try) 2>&5
2887     ac_status=$?
2888     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889     (exit $ac_status); }; }; then
2890     ac_cv_search_strerror="none required"
2891     else
2892     echo "$as_me: failed program was:" >&5
2893     sed 's/^/| /' conftest.$ac_ext >&5
2894 sysadm 1.1
2895 sysadm 1.4 fi
2896     rm -f conftest.err conftest.$ac_objext \
2897     conftest$ac_exeext conftest.$ac_ext
2898     if test "$ac_cv_search_strerror" = no; then
2899     for ac_lib in cposix; do
2900     LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2901     cat >conftest.$ac_ext <<_ACEOF
2902     /* confdefs.h. */
2903     _ACEOF
2904     cat confdefs.h >>conftest.$ac_ext
2905     cat >>conftest.$ac_ext <<_ACEOF
2906     /* end confdefs.h. */
2907 sysadm 1.1
2908 sysadm 1.4 /* Override any gcc2 internal prototype to avoid an error. */
2909     #ifdef __cplusplus
2910     extern "C"
2911     #endif
2912     /* We use char because int might match the return type of a gcc2
2913     builtin and then its argument prototype would still apply. */
2914     char strerror ();
2915     int
2916     main ()
2917     {
2918     strerror ();
2919     ;
2920     return 0;
2921     }
2922     _ACEOF
2923     rm -f conftest.$ac_objext conftest$ac_exeext
2924     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2925     (eval $ac_link) 2>conftest.er1
2926     ac_status=$?
2927     grep -v '^ *+' conftest.er1 >conftest.err
2928     rm -f conftest.er1
2929     cat conftest.err >&5
2930     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931     (exit $ac_status); } &&
2932     { ac_try='test -z "$ac_c_werror_flag"
2933     || test ! -s conftest.err'
2934     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2935     (eval $ac_try) 2>&5
2936     ac_status=$?
2937     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938     (exit $ac_status); }; } &&
2939     { ac_try='test -s conftest$ac_exeext'
2940     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2941     (eval $ac_try) 2>&5
2942     ac_status=$?
2943     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944     (exit $ac_status); }; }; then
2945     ac_cv_search_strerror="-l$ac_lib"
2946     break
2947     else
2948     echo "$as_me: failed program was:" >&5
2949     sed 's/^/| /' conftest.$ac_ext >&5
2950    
2951     fi
2952     rm -f conftest.err conftest.$ac_objext \
2953     conftest$ac_exeext conftest.$ac_ext
2954     done
2955     fi
2956     LIBS=$ac_func_search_save_LIBS
2957     fi
2958     echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2959     echo "${ECHO_T}$ac_cv_search_strerror" >&6
2960     if test "$ac_cv_search_strerror" != no; then
2961     test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
2962    
2963     fi
2964    
2965    
2966     # Checks for libraries.
2967    
2968     # Checks for header files.
2969     ac_ext=c
2970     ac_cpp='$CPP $CPPFLAGS'
2971     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2972     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2973     ac_compiler_gnu=$ac_cv_c_compiler_gnu
2974     echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2975     echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2976     # On Suns, sometimes $CPP names a directory.
2977     if test -n "$CPP" && test -d "$CPP"; then
2978     CPP=
2979     fi
2980     if test -z "$CPP"; then
2981     if test "${ac_cv_prog_CPP+set}" = set; then
2982     echo $ECHO_N "(cached) $ECHO_C" >&6
2983     else
2984     # Double quotes because CPP needs to be expanded
2985     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2986     do
2987     ac_preproc_ok=false
2988     for ac_c_preproc_warn_flag in '' yes
2989     do
2990     # Use a header file that comes with gcc, so configuring glibc
2991     # with a fresh cross-compiler works.
2992     # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2993     # <limits.h> exists even on freestanding compilers.
2994     # On the NeXT, cc -E runs the code through the compiler's parser,
2995     # not just through cpp. "Syntax error" is here to catch this case.
2996     cat >conftest.$ac_ext <<_ACEOF
2997     /* confdefs.h. */
2998     _ACEOF
2999     cat confdefs.h >>conftest.$ac_ext
3000     cat >>conftest.$ac_ext <<_ACEOF
3001     /* end confdefs.h. */
3002     #ifdef __STDC__
3003     # include <limits.h>
3004     #else
3005     # include <assert.h>
3006     #endif
3007     Syntax error
3008     _ACEOF
3009     if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3010     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3011     ac_status=$?
3012     grep -v '^ *+' conftest.er1 >conftest.err
3013     rm -f conftest.er1
3014     cat conftest.err >&5
3015     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016     (exit $ac_status); } >/dev/null; then
3017     if test -s conftest.err; then
3018     ac_cpp_err=$ac_c_preproc_warn_flag
3019     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3020     else
3021     ac_cpp_err=
3022     fi
3023     else
3024     ac_cpp_err=yes
3025     fi
3026     if test -z "$ac_cpp_err"; then
3027     :
3028     else
3029     echo "$as_me: failed program was:" >&5
3030     sed 's/^/| /' conftest.$ac_ext >&5
3031    
3032     # Broken: fails on valid input.
3033     continue
3034     fi
3035     rm -f conftest.err conftest.$ac_ext
3036    
3037     # OK, works on sane cases. Now check whether non-existent headers
3038     # can be detected and how.
3039     cat >conftest.$ac_ext <<_ACEOF
3040     /* confdefs.h. */
3041     _ACEOF
3042     cat confdefs.h >>conftest.$ac_ext
3043     cat >>conftest.$ac_ext <<_ACEOF
3044     /* end confdefs.h. */
3045     #include <ac_nonexistent.h>
3046     _ACEOF
3047     if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3048     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3049     ac_status=$?
3050     grep -v '^ *+' conftest.er1 >conftest.err
3051     rm -f conftest.er1
3052     cat conftest.err >&5
3053     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054     (exit $ac_status); } >/dev/null; then
3055     if test -s conftest.err; then
3056     ac_cpp_err=$ac_c_preproc_warn_flag
3057     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3058     else
3059     ac_cpp_err=
3060     fi
3061     else
3062     ac_cpp_err=yes
3063     fi
3064     if test -z "$ac_cpp_err"; then
3065     # Broken: success on invalid input.
3066     continue
3067     else
3068     echo "$as_me: failed program was:" >&5
3069     sed 's/^/| /' conftest.$ac_ext >&5
3070    
3071     # Passes both tests.
3072     ac_preproc_ok=:
3073     break
3074     fi
3075     rm -f conftest.err conftest.$ac_ext
3076    
3077     done
3078     # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3079     rm -f conftest.err conftest.$ac_ext
3080     if $ac_preproc_ok; then
3081     break
3082     fi
3083    
3084     done
3085     ac_cv_prog_CPP=$CPP
3086    
3087     fi
3088     CPP=$ac_cv_prog_CPP
3089     else
3090     ac_cv_prog_CPP=$CPP
3091     fi
3092     echo "$as_me:$LINENO: result: $CPP" >&5
3093     echo "${ECHO_T}$CPP" >&6
3094     ac_preproc_ok=false
3095     for ac_c_preproc_warn_flag in '' yes
3096     do
3097     # Use a header file that comes with gcc, so configuring glibc
3098     # with a fresh cross-compiler works.
3099     # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3100     # <limits.h> exists even on freestanding compilers.
3101     # On the NeXT, cc -E runs the code through the compiler's parser,
3102     # not just through cpp. "Syntax error" is here to catch this case.
3103     cat >conftest.$ac_ext <<_ACEOF
3104     /* confdefs.h. */
3105     _ACEOF
3106     cat confdefs.h >>conftest.$ac_ext
3107     cat >>conftest.$ac_ext <<_ACEOF
3108     /* end confdefs.h. */
3109     #ifdef __STDC__
3110     # include <limits.h>
3111     #else
3112     # include <assert.h>
3113     #endif
3114     Syntax error
3115     _ACEOF
3116     if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3117     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3118     ac_status=$?
3119     grep -v '^ *+' conftest.er1 >conftest.err
3120     rm -f conftest.er1
3121     cat conftest.err >&5
3122     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123     (exit $ac_status); } >/dev/null; then
3124     if test -s conftest.err; then
3125     ac_cpp_err=$ac_c_preproc_warn_flag
3126     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3127     else
3128     ac_cpp_err=
3129     fi
3130     else
3131     ac_cpp_err=yes
3132     fi
3133     if test -z "$ac_cpp_err"; then
3134     :
3135     else
3136     echo "$as_me: failed program was:" >&5
3137     sed 's/^/| /' conftest.$ac_ext >&5
3138    
3139     # Broken: fails on valid input.
3140     continue
3141     fi
3142     rm -f conftest.err conftest.$ac_ext
3143    
3144     # OK, works on sane cases. Now check whether non-existent headers
3145     # can be detected and how.
3146     cat >conftest.$ac_ext <<_ACEOF
3147     /* confdefs.h. */
3148     _ACEOF
3149     cat confdefs.h >>conftest.$ac_ext
3150     cat >>conftest.$ac_ext <<_ACEOF
3151     /* end confdefs.h. */
3152     #include <ac_nonexistent.h>
3153     _ACEOF
3154     if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3155     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3156     ac_status=$?
3157     grep -v '^ *+' conftest.er1 >conftest.err
3158     rm -f conftest.er1
3159     cat conftest.err >&5
3160     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3161     (exit $ac_status); } >/dev/null; then
3162     if test -s conftest.err; then
3163     ac_cpp_err=$ac_c_preproc_warn_flag
3164     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3165     else
3166     ac_cpp_err=
3167     fi
3168     else
3169     ac_cpp_err=yes
3170     fi
3171     if test -z "$ac_cpp_err"; then
3172     # Broken: success on invalid input.
3173     continue
3174     else
3175     echo "$as_me: failed program was:" >&5
3176     sed 's/^/| /' conftest.$ac_ext >&5
3177    
3178     # Passes both tests.
3179     ac_preproc_ok=:
3180     break
3181     fi
3182     rm -f conftest.err conftest.$ac_ext
3183    
3184     done
3185     # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3186     rm -f conftest.err conftest.$ac_ext
3187     if $ac_preproc_ok; then
3188     :
3189     else
3190     { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3191     See \`config.log' for more details." >&5
3192     echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3193     See \`config.log' for more details." >&2;}
3194     { (exit 1); exit 1; }; }
3195     fi
3196    
3197     ac_ext=c
3198     ac_cpp='$CPP $CPPFLAGS'
3199     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3200     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3201     ac_compiler_gnu=$ac_cv_c_compiler_gnu
3202    
3203    
3204     echo "$as_me:$LINENO: checking for egrep" >&5
3205     echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3206     if test "${ac_cv_prog_egrep+set}" = set; then
3207     echo $ECHO_N "(cached) $ECHO_C" >&6
3208     else
3209     if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3210     then ac_cv_prog_egrep='grep -E'
3211     else ac_cv_prog_egrep='egrep'
3212     fi
3213     fi
3214     echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3215     echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3216     EGREP=$ac_cv_prog_egrep
3217    
3218    
3219     echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3220     echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3221     if test "${ac_cv_header_stdc+set}" = set; then
3222     echo $ECHO_N "(cached) $ECHO_C" >&6
3223     else
3224     cat >conftest.$ac_ext <<_ACEOF
3225     /* confdefs.h. */
3226     _ACEOF
3227     cat confdefs.h >>conftest.$ac_ext
3228     cat >>conftest.$ac_ext <<_ACEOF
3229     /* end confdefs.h. */
3230     #include <stdlib.h>
3231     #include <stdarg.h>
3232     #include <string.h>
3233     #include <float.h>
3234    
3235     int
3236     main ()
3237     {
3238    
3239     ;
3240     return 0;
3241     }
3242     _ACEOF
3243     rm -f conftest.$ac_objext
3244     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3245     (eval $ac_compile) 2>conftest.er1
3246     ac_status=$?
3247     grep -v '^ *+' conftest.er1 >conftest.err
3248     rm -f conftest.er1
3249     cat conftest.err >&5
3250     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251     (exit $ac_status); } &&
3252     { ac_try='test -z "$ac_c_werror_flag"
3253     || test ! -s conftest.err'
3254     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3255     (eval $ac_try) 2>&5
3256     ac_status=$?
3257     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258     (exit $ac_status); }; } &&
3259     { ac_try='test -s conftest.$ac_objext'
3260     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3261     (eval $ac_try) 2>&5
3262     ac_status=$?
3263     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264     (exit $ac_status); }; }; then
3265     ac_cv_header_stdc=yes
3266     else
3267     echo "$as_me: failed program was:" >&5
3268     sed 's/^/| /' conftest.$ac_ext >&5
3269    
3270     ac_cv_header_stdc=no
3271     fi
3272     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3273    
3274     if test $ac_cv_header_stdc = yes; then
3275     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3276     cat >conftest.$ac_ext <<_ACEOF
3277     /* confdefs.h. */
3278     _ACEOF
3279     cat confdefs.h >>conftest.$ac_ext
3280     cat >>conftest.$ac_ext <<_ACEOF
3281     /* end confdefs.h. */
3282     #include <string.h>
3283    
3284     _ACEOF
3285     if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3286     $EGREP "memchr" >/dev/null 2>&1; then
3287     :
3288     else
3289     ac_cv_header_stdc=no
3290     fi
3291     rm -f conftest*
3292    
3293     fi
3294    
3295     if test $ac_cv_header_stdc = yes; then
3296     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3297     cat >conftest.$ac_ext <<_ACEOF
3298     /* confdefs.h. */
3299     _ACEOF
3300     cat confdefs.h >>conftest.$ac_ext
3301     cat >>conftest.$ac_ext <<_ACEOF
3302     /* end confdefs.h. */
3303     #include <stdlib.h>
3304    
3305     _ACEOF
3306     if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3307     $EGREP "free" >/dev/null 2>&1; then
3308     :
3309     else
3310     ac_cv_header_stdc=no
3311     fi
3312     rm -f conftest*
3313    
3314     fi
3315    
3316     if test $ac_cv_header_stdc = yes; then
3317     # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3318     if test "$cross_compiling" = yes; then
3319     :
3320     else
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 <ctype.h>
3328     #if ((' ' & 0x0FF) == 0x020)
3329     # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3330     # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3331     #else
3332     # define ISLOWER(c) \
3333     (('a' <= (c) && (c) <= 'i') \
3334     || ('j' <= (c) && (c) <= 'r') \
3335     || ('s' <= (c) && (c) <= 'z'))
3336     # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3337     #endif
3338    
3339     #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3340     int
3341     main ()
3342     {
3343     int i;
3344     for (i = 0; i < 256; i++)
3345     if (XOR (islower (i), ISLOWER (i))
3346     || toupper (i) != TOUPPER (i))
3347     exit(2);
3348     exit (0);
3349     }
3350     _ACEOF
3351     rm -f conftest$ac_exeext
3352     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3353     (eval $ac_link) 2>&5
3354     ac_status=$?
3355     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3357     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3358     (eval $ac_try) 2>&5
3359     ac_status=$?
3360     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361     (exit $ac_status); }; }; then
3362     :
3363     else
3364     echo "$as_me: program exited with status $ac_status" >&5
3365     echo "$as_me: failed program was:" >&5
3366     sed 's/^/| /' conftest.$ac_ext >&5
3367    
3368     ( exit $ac_status )
3369     ac_cv_header_stdc=no
3370     fi
3371     rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3372     fi
3373     fi
3374     fi
3375     echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3376     echo "${ECHO_T}$ac_cv_header_stdc" >&6
3377     if test $ac_cv_header_stdc = yes; then
3378    
3379     cat >>confdefs.h <<\_ACEOF
3380     #define STDC_HEADERS 1
3381     _ACEOF
3382    
3383     fi
3384    
3385     # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3386    
3387    
3388    
3389    
3390    
3391    
3392    
3393    
3394    
3395     for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3396     inttypes.h stdint.h unistd.h
3397     do
3398     as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3399     echo "$as_me:$LINENO: checking for $ac_header" >&5
3400     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3401     if eval "test \"\${$as_ac_Header+set}\" = set"; then
3402     echo $ECHO_N "(cached) $ECHO_C" >&6
3403     else
3404     cat >conftest.$ac_ext <<_ACEOF
3405     /* confdefs.h. */
3406     _ACEOF
3407     cat confdefs.h >>conftest.$ac_ext
3408     cat >>conftest.$ac_ext <<_ACEOF
3409     /* end confdefs.h. */
3410     $ac_includes_default
3411    
3412     #include <$ac_header>
3413     _ACEOF
3414     rm -f conftest.$ac_objext
3415     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3416     (eval $ac_compile) 2>conftest.er1
3417     ac_status=$?
3418     grep -v '^ *+' conftest.er1 >conftest.err
3419     rm -f conftest.er1
3420     cat conftest.err >&5
3421     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422     (exit $ac_status); } &&
3423     { ac_try='test -z "$ac_c_werror_flag"
3424     || test ! -s conftest.err'
3425     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426     (eval $ac_try) 2>&5
3427     ac_status=$?
3428     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429     (exit $ac_status); }; } &&
3430     { ac_try='test -s conftest.$ac_objext'
3431     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432     (eval $ac_try) 2>&5
3433     ac_status=$?
3434     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435     (exit $ac_status); }; }; then
3436     eval "$as_ac_Header=yes"
3437     else
3438     echo "$as_me: failed program was:" >&5
3439     sed 's/^/| /' conftest.$ac_ext >&5
3440    
3441     eval "$as_ac_Header=no"
3442     fi
3443     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3444     fi
3445     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3446     echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3447     if test `eval echo '${'$as_ac_Header'}'` = yes; then
3448     cat >>confdefs.h <<_ACEOF
3449     #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3450     _ACEOF
3451    
3452     fi
3453    
3454     done
3455    
3456    
3457    
3458    
3459    
3460    
3461    
3462    
3463 sysadm 1.5
3464 sysadm 1.7
3465    
3466     for ac_header in string.h signal.h netdb.h netinet/in.h sys/param.h sys/socket.h unistd.h regex.h mysql.h
3467 sysadm 1.4 do
3468     as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3469     if eval "test \"\${$as_ac_Header+set}\" = set"; then
3470     echo "$as_me:$LINENO: checking for $ac_header" >&5
3471     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3472     if eval "test \"\${$as_ac_Header+set}\" = set"; then
3473     echo $ECHO_N "(cached) $ECHO_C" >&6
3474     fi
3475     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3476     echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3477     else
3478     # Is the header compilable?
3479     echo "$as_me:$LINENO: checking $ac_header usability" >&5
3480     echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3481     cat >conftest.$ac_ext <<_ACEOF
3482     /* confdefs.h. */
3483     _ACEOF
3484     cat confdefs.h >>conftest.$ac_ext
3485     cat >>conftest.$ac_ext <<_ACEOF
3486     /* end confdefs.h. */
3487     $ac_includes_default
3488     #include <$ac_header>
3489     _ACEOF
3490     rm -f conftest.$ac_objext
3491     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3492     (eval $ac_compile) 2>conftest.er1
3493     ac_status=$?
3494     grep -v '^ *+' conftest.er1 >conftest.err
3495     rm -f conftest.er1
3496     cat conftest.err >&5
3497     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498     (exit $ac_status); } &&
3499     { ac_try='test -z "$ac_c_werror_flag"
3500     || test ! -s conftest.err'
3501     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3502     (eval $ac_try) 2>&5
3503     ac_status=$?
3504     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505     (exit $ac_status); }; } &&
3506     { ac_try='test -s conftest.$ac_objext'
3507     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3508     (eval $ac_try) 2>&5
3509     ac_status=$?
3510     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511     (exit $ac_status); }; }; then
3512     ac_header_compiler=yes
3513     else
3514     echo "$as_me: failed program was:" >&5
3515     sed 's/^/| /' conftest.$ac_ext >&5
3516    
3517     ac_header_compiler=no
3518     fi
3519     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3520     echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3521     echo "${ECHO_T}$ac_header_compiler" >&6
3522    
3523     # Is the header present?
3524     echo "$as_me:$LINENO: checking $ac_header presence" >&5
3525     echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3526     cat >conftest.$ac_ext <<_ACEOF
3527     /* confdefs.h. */
3528     _ACEOF
3529     cat confdefs.h >>conftest.$ac_ext
3530     cat >>conftest.$ac_ext <<_ACEOF
3531     /* end confdefs.h. */
3532     #include <$ac_header>
3533     _ACEOF
3534     if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3535     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3536     ac_status=$?
3537     grep -v '^ *+' conftest.er1 >conftest.err
3538     rm -f conftest.er1
3539     cat conftest.err >&5
3540     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541     (exit $ac_status); } >/dev/null; then
3542     if test -s conftest.err; then
3543     ac_cpp_err=$ac_c_preproc_warn_flag
3544     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3545     else
3546     ac_cpp_err=
3547     fi
3548     else
3549     ac_cpp_err=yes
3550     fi
3551     if test -z "$ac_cpp_err"; then
3552     ac_header_preproc=yes
3553     else
3554     echo "$as_me: failed program was:" >&5
3555     sed 's/^/| /' conftest.$ac_ext >&5
3556    
3557     ac_header_preproc=no
3558     fi
3559     rm -f conftest.err conftest.$ac_ext
3560     echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3561     echo "${ECHO_T}$ac_header_preproc" >&6
3562    
3563     # So? What about this header?
3564     case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3565     yes:no: )
3566     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3567     echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3568     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3569     echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3570     ac_header_preproc=yes
3571     ;;
3572     no:yes:* )
3573     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3574     echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3575     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3576     echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3577     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3578     echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3579     { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3580     echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3581     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3582     echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3583     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3584     echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3585     (
3586     cat <<\_ASBOX
3587     ## ------------------------------- ##
3588     ## Report this to the bbsd lists. ##
3589     ## ------------------------------- ##
3590     _ASBOX
3591     ) |
3592     sed "s/^/$as_me: WARNING: /" >&2
3593     ;;
3594     esac
3595     echo "$as_me:$LINENO: checking for $ac_header" >&5
3596     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3597     if eval "test \"\${$as_ac_Header+set}\" = set"; then
3598     echo $ECHO_N "(cached) $ECHO_C" >&6
3599     else
3600     eval "$as_ac_Header=\$ac_header_preproc"
3601     fi
3602     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3603     echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3604    
3605     fi
3606     if test `eval echo '${'$as_ac_Header'}'` = yes; then
3607     cat >>confdefs.h <<_ACEOF
3608     #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3609     _ACEOF
3610    
3611     fi
3612    
3613     done
3614    
3615    
3616     # Checks for typedefs, structures, and compiler characteristics.
3617     echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3618     echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3619     if test "${ac_cv_c_const+set}" = set; then
3620     echo $ECHO_N "(cached) $ECHO_C" >&6
3621     else
3622     cat >conftest.$ac_ext <<_ACEOF
3623     /* confdefs.h. */
3624     _ACEOF
3625     cat confdefs.h >>conftest.$ac_ext
3626     cat >>conftest.$ac_ext <<_ACEOF
3627     /* end confdefs.h. */
3628    
3629     int
3630     main ()
3631     {
3632     /* FIXME: Include the comments suggested by Paul. */
3633     #ifndef __cplusplus
3634     /* Ultrix mips cc rejects this. */
3635     typedef int charset[2];
3636     const charset x;
3637     /* SunOS 4.1.1 cc rejects this. */
3638     char const *const *ccp;
3639     char **p;
3640     /* NEC SVR4.0.2 mips cc rejects this. */
3641     struct point {int x, y;};
3642     static struct point const zero = {0,0};
3643     /* AIX XL C 1.02.0.0 rejects this.
3644     It does not let you subtract one const X* pointer from another in
3645     an arm of an if-expression whose if-part is not a constant
3646     expression */
3647     const char *g = "string";
3648     ccp = &g + (g ? g-g : 0);
3649     /* HPUX 7.0 cc rejects these. */
3650     ++ccp;
3651     p = (char**) ccp;
3652     ccp = (char const *const *) p;
3653     { /* SCO 3.2v4 cc rejects this. */
3654     char *t;
3655     char const *s = 0 ? (char *) 0 : (char const *) 0;
3656    
3657     *t++ = 0;
3658     }
3659     { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3660     int x[] = {25, 17};
3661     const int *foo = &x[0];
3662     ++foo;
3663     }
3664     { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3665     typedef const int *iptr;
3666     iptr p = 0;
3667     ++p;
3668     }
3669     { /* AIX XL C 1.02.0.0 rejects this saying
3670     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3671     struct s { int j; const int *ap[3]; };
3672     struct s *b; b->j = 5;
3673     }
3674     { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3675     const int foo = 10;
3676     }
3677     #endif
3678    
3679     ;
3680     return 0;
3681     }
3682     _ACEOF
3683     rm -f conftest.$ac_objext
3684     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3685     (eval $ac_compile) 2>conftest.er1
3686     ac_status=$?
3687     grep -v '^ *+' conftest.er1 >conftest.err
3688     rm -f conftest.er1
3689     cat conftest.err >&5
3690     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691     (exit $ac_status); } &&
3692     { ac_try='test -z "$ac_c_werror_flag"
3693     || test ! -s conftest.err'
3694     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3695     (eval $ac_try) 2>&5
3696     ac_status=$?
3697     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698     (exit $ac_status); }; } &&
3699     { ac_try='test -s conftest.$ac_objext'
3700     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3701     (eval $ac_try) 2>&5
3702     ac_status=$?
3703     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704     (exit $ac_status); }; }; then
3705     ac_cv_c_const=yes
3706     else
3707     echo "$as_me: failed program was:" >&5
3708     sed 's/^/| /' conftest.$ac_ext >&5
3709    
3710     ac_cv_c_const=no
3711     fi
3712     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3713     fi
3714     echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3715     echo "${ECHO_T}$ac_cv_c_const" >&6
3716     if test $ac_cv_c_const = no; then
3717    
3718     cat >>confdefs.h <<\_ACEOF
3719     #define const
3720     _ACEOF
3721    
3722     fi
3723    
3724    
3725     # Checks for library functions.
3726     echo "$as_me:$LINENO: checking for pid_t" >&5
3727     echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
3728     if test "${ac_cv_type_pid_t+set}" = set; then
3729     echo $ECHO_N "(cached) $ECHO_C" >&6
3730     else
3731     cat >conftest.$ac_ext <<_ACEOF
3732     /* confdefs.h. */
3733     _ACEOF
3734     cat confdefs.h >>conftest.$ac_ext
3735     cat >>conftest.$ac_ext <<_ACEOF
3736     /* end confdefs.h. */
3737     $ac_includes_default
3738     int
3739     main ()
3740     {
3741     if ((pid_t *) 0)
3742     return 0;
3743     if (sizeof (pid_t))
3744     return 0;
3745     ;
3746     return 0;
3747     }
3748     _ACEOF
3749     rm -f conftest.$ac_objext
3750     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3751     (eval $ac_compile) 2>conftest.er1
3752     ac_status=$?
3753     grep -v '^ *+' conftest.er1 >conftest.err
3754     rm -f conftest.er1
3755     cat conftest.err >&5
3756     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757     (exit $ac_status); } &&
3758     { ac_try='test -z "$ac_c_werror_flag"
3759     || test ! -s conftest.err'
3760     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3761     (eval $ac_try) 2>&5
3762     ac_status=$?
3763     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764     (exit $ac_status); }; } &&
3765     { ac_try='test -s conftest.$ac_objext'
3766     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3767     (eval $ac_try) 2>&5
3768     ac_status=$?
3769     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770     (exit $ac_status); }; }; then
3771     ac_cv_type_pid_t=yes
3772     else
3773     echo "$as_me: failed program was:" >&5
3774     sed 's/^/| /' conftest.$ac_ext >&5
3775    
3776     ac_cv_type_pid_t=no
3777     fi
3778     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3779     fi
3780     echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
3781     echo "${ECHO_T}$ac_cv_type_pid_t" >&6
3782     if test $ac_cv_type_pid_t = yes; then
3783     :
3784     else
3785    
3786     cat >>confdefs.h <<_ACEOF
3787     #define pid_t int
3788     _ACEOF
3789    
3790     fi
3791    
3792    
3793    
3794     for ac_header in unistd.h vfork.h
3795     do
3796     as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3797     if eval "test \"\${$as_ac_Header+set}\" = set"; then
3798     echo "$as_me:$LINENO: checking for $ac_header" >&5
3799     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3800     if eval "test \"\${$as_ac_Header+set}\" = set"; then
3801     echo $ECHO_N "(cached) $ECHO_C" >&6
3802     fi
3803     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3804     echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3805     else
3806     # Is the header compilable?
3807     echo "$as_me:$LINENO: checking $ac_header usability" >&5
3808     echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3809     cat >conftest.$ac_ext <<_ACEOF
3810     /* confdefs.h. */
3811     _ACEOF
3812     cat confdefs.h >>conftest.$ac_ext
3813     cat >>conftest.$ac_ext <<_ACEOF
3814     /* end confdefs.h. */
3815     $ac_includes_default
3816     #include <$ac_header>
3817     _ACEOF
3818     rm -f conftest.$ac_objext
3819     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3820     (eval $ac_compile) 2>conftest.er1
3821     ac_status=$?
3822     grep -v '^ *+' conftest.er1 >conftest.err
3823     rm -f conftest.er1
3824     cat conftest.err >&5
3825     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3826     (exit $ac_status); } &&
3827     { ac_try='test -z "$ac_c_werror_flag"
3828     || test ! -s conftest.err'
3829     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3830     (eval $ac_try) 2>&5
3831     ac_status=$?
3832     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833     (exit $ac_status); }; } &&
3834     { ac_try='test -s conftest.$ac_objext'
3835     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3836     (eval $ac_try) 2>&5
3837     ac_status=$?
3838     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839     (exit $ac_status); }; }; then
3840     ac_header_compiler=yes
3841     else
3842     echo "$as_me: failed program was:" >&5
3843     sed 's/^/| /' conftest.$ac_ext >&5
3844    
3845     ac_header_compiler=no
3846     fi
3847     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3848     echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3849     echo "${ECHO_T}$ac_header_compiler" >&6
3850    
3851     # Is the header present?
3852     echo "$as_me:$LINENO: checking $ac_header presence" >&5
3853     echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3854     cat >conftest.$ac_ext <<_ACEOF
3855     /* confdefs.h. */
3856     _ACEOF
3857     cat confdefs.h >>conftest.$ac_ext
3858     cat >>conftest.$ac_ext <<_ACEOF
3859     /* end confdefs.h. */
3860     #include <$ac_header>
3861     _ACEOF
3862     if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3863     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3864     ac_status=$?
3865     grep -v '^ *+' conftest.er1 >conftest.err
3866     rm -f conftest.er1
3867     cat conftest.err >&5
3868     echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869     (exit $ac_status); } >/dev/null; then
3870     if test -s conftest.err; then
3871     ac_cpp_err=$ac_c_preproc_warn_flag
3872     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3873     else
3874     ac_cpp_err=
3875     fi
3876     else
3877     ac_cpp_err=yes
3878     fi
3879     if test -z "$ac_cpp_err"; then
3880     ac_header_preproc=yes
3881     else
3882     echo "$as_me: failed program was:" >&5
3883     sed 's/^/| /' conftest.$ac_ext >&5
3884    
3885     ac_header_preproc=no
3886     fi
3887     rm -f conftest.err conftest.$ac_ext
3888     echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3889     echo "${ECHO_T}$ac_header_preproc" >&6
3890    
3891     # So? What about this header?
3892     case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3893     yes:no: )
3894     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3895     echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3896     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3897     echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3898     ac_header_preproc=yes
3899     ;;
3900     no:yes:* )
3901     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3902     echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3903     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3904     echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3905     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3906     echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3907     { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3908     echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3909     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3910     echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3911     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3912     echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3913     (
3914     cat <<\_ASBOX
3915     ## ------------------------------- ##
3916     ## Report this to the bbsd lists. ##
3917     ## ------------------------------- ##
3918     _ASBOX
3919     ) |
3920     sed "s/^/$as_me: WARNING: /" >&2
3921     ;;
3922     esac
3923     echo "$as_me:$LINENO: checking for $ac_header" >&5
3924     echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3925     if eval "test \"\${$as_ac_Header+set}\" = set"; then
3926     echo $ECHO_N "(cached) $ECHO_C" >&6
3927     else
3928     eval "$as_ac_Header=\$ac_header_preproc"
3929     fi
3930     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3931     echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3932    
3933     fi
3934     if test `eval echo '${'$as_ac_Header'}'` = yes; then
3935     cat >>confdefs.h <<_ACEOF
3936     #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3937     _ACEOF
3938    
3939     fi
3940    
3941     done
3942    
3943    
3944    
3945     for ac_func in fork vfork
3946     do
3947     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3948     echo "$as_me:$LINENO: checking for $ac_func" >&5
3949     echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3950     if eval "test \"\${$as_ac_var+set}\" = set"; then
3951     echo $ECHO_N "(cached) $ECHO_C" >&6
3952     else
3953     cat >conftest.$ac_ext <<_ACEOF
3954     /* confdefs.h. */
3955     _ACEOF
3956     cat confdefs.h >>conftest.$ac_ext
3957     cat >>conftest.$ac_ext <<_ACEOF
3958     /* end confdefs.h. */
3959     /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3960     For example, HP-UX 11i <limits.h> declares gettimeofday. */
3961     #define $ac_func innocuous_$ac_func
3962    
3963     /* System header to define __stub macros and hopefully few prototypes,
3964     which can conflict with char $ac_func (); below.
3965     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3966     <limits.h> exists even on freestanding compilers. */
3967    
3968     #ifdef __STDC__
3969     # include <limits.h>
3970     #else
3971     # include <assert.h>
3972     #endif
3973    
3974     #undef $ac_func
3975    
3976     /* Override any gcc2 internal prototype to avoid an error. */
3977     #ifdef __cplusplus
3978     extern "C"
3979     {
3980     #endif
3981     /* We use char because int might match the return type of a gcc2
3982     builtin and then its argument prototype would still apply. */
3983     char $ac_func ();
3984     /* The GNU C library defines this for functions which it implements
3985     to always fail with ENOSYS. Some functions are actually named
3986     something starting with __ and the normal name is an alias. */
3987     #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3988     choke me
3989     #else
3990     char (*f) () = $ac_func;
3991     #endif
3992     #ifdef __cplusplus
3993     }
3994     #endif
3995    
3996     int
3997     main ()
3998     {
3999     return f != $ac_func;
4000     ;
4001     return 0;
4002     }
4003     _ACEOF
4004     rm -f conftest.$ac_objext conftest$ac_exeext
4005     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4006     (eval $ac_link) 2>conftest.er1
4007     ac_status=$?
4008     grep -v '^ *+' conftest.er1 >conftest.err
4009     rm -f conftest.er1
4010     cat conftest.err >&5
4011     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012     (exit $ac_status); } &&
4013     { ac_try='test -z "$ac_c_werror_flag"
4014     || test ! -s conftest.err'
4015     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4016     (eval $ac_try) 2>&5
4017     ac_status=$?
4018     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019     (exit $ac_status); }; } &&
4020     { ac_try='test -s conftest$ac_exeext'
4021     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4022     (eval $ac_try) 2>&5
4023     ac_status=$?
4024     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025     (exit $ac_status); }; }; then
4026     eval "$as_ac_var=yes"
4027     else
4028     echo "$as_me: failed program was:" >&5
4029     sed 's/^/| /' conftest.$ac_ext >&5
4030    
4031     eval "$as_ac_var=no"
4032     fi
4033     rm -f conftest.err conftest.$ac_objext \
4034     conftest$ac_exeext conftest.$ac_ext
4035     fi
4036     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4037     echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4038     if test `eval echo '${'$as_ac_var'}'` = yes; then
4039     cat >>confdefs.h <<_ACEOF
4040     #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4041     _ACEOF
4042    
4043     fi
4044     done
4045    
4046     if test "x$ac_cv_func_fork" = xyes; then
4047     echo "$as_me:$LINENO: checking for working fork" >&5
4048     echo $ECHO_N "checking for working fork... $ECHO_C" >&6
4049     if test "${ac_cv_func_fork_works+set}" = set; then
4050     echo $ECHO_N "(cached) $ECHO_C" >&6
4051     else
4052     if test "$cross_compiling" = yes; then
4053     ac_cv_func_fork_works=cross
4054     else
4055     cat >conftest.$ac_ext <<_ACEOF
4056     /* By Ruediger Kuhlmann. */
4057     #include <sys/types.h>
4058     #if HAVE_UNISTD_H
4059     # include <unistd.h>
4060     #endif
4061     /* Some systems only have a dummy stub for fork() */
4062     int main ()
4063     {
4064     if (fork() < 0)
4065     exit (1);
4066     exit (0);
4067     }
4068     _ACEOF
4069     rm -f conftest$ac_exeext
4070     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4071     (eval $ac_link) 2>&5
4072     ac_status=$?
4073     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4075     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4076     (eval $ac_try) 2>&5
4077     ac_status=$?
4078     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079     (exit $ac_status); }; }; then
4080     ac_cv_func_fork_works=yes
4081     else
4082     echo "$as_me: program exited with status $ac_status" >&5
4083     echo "$as_me: failed program was:" >&5
4084     sed 's/^/| /' conftest.$ac_ext >&5
4085    
4086     ( exit $ac_status )
4087     ac_cv_func_fork_works=no
4088     fi
4089     rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4090     fi
4091     fi
4092     echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
4093     echo "${ECHO_T}$ac_cv_func_fork_works" >&6
4094    
4095     else
4096     ac_cv_func_fork_works=$ac_cv_func_fork
4097     fi
4098     if test "x$ac_cv_func_fork_works" = xcross; then
4099     case $host in
4100     *-*-amigaos* | *-*-msdosdjgpp*)
4101     # Override, as these systems have only a dummy fork() stub
4102     ac_cv_func_fork_works=no
4103     ;;
4104     *)
4105     ac_cv_func_fork_works=yes
4106 sysadm 1.1 ;;
4107 sysadm 1.4 esac
4108     { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
4109     echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
4110     fi
4111     ac_cv_func_vfork_works=$ac_cv_func_vfork
4112     if test "x$ac_cv_func_vfork" = xyes; then
4113     echo "$as_me:$LINENO: checking for working vfork" >&5
4114     echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
4115     if test "${ac_cv_func_vfork_works+set}" = set; then
4116     echo $ECHO_N "(cached) $ECHO_C" >&6
4117     else
4118     if test "$cross_compiling" = yes; then
4119     ac_cv_func_vfork_works=cross
4120     else
4121     cat >conftest.$ac_ext <<_ACEOF
4122     /* confdefs.h. */
4123     _ACEOF
4124     cat confdefs.h >>conftest.$ac_ext
4125     cat >>conftest.$ac_ext <<_ACEOF
4126     /* end confdefs.h. */
4127     /* Thanks to Paul Eggert for this test. */
4128     #include <stdio.h>
4129     #include <stdlib.h>
4130     #include <sys/types.h>
4131     #include <sys/stat.h>
4132     #include <sys/wait.h>
4133     #if HAVE_UNISTD_H
4134     # include <unistd.h>
4135     #endif
4136     #if HAVE_VFORK_H
4137     # include <vfork.h>
4138     #endif
4139     /* On some sparc systems, changes by the child to local and incoming
4140     argument registers are propagated back to the parent. The compiler
4141     is told about this with #include <vfork.h>, but some compilers
4142     (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
4143     static variable whose address is put into a register that is
4144     clobbered by the vfork. */
4145     static void
4146     #ifdef __cplusplus
4147     sparc_address_test (int arg)
4148     # else
4149     sparc_address_test (arg) int arg;
4150     #endif
4151     {
4152     static pid_t child;
4153     if (!child) {
4154     child = vfork ();
4155     if (child < 0) {
4156     perror ("vfork");
4157     _exit(2);
4158     }
4159     if (!child) {
4160     arg = getpid();
4161     write(-1, "", 0);
4162     _exit (arg);
4163     }
4164     }
4165     }
4166    
4167     int
4168     main ()
4169     {
4170     pid_t parent = getpid ();
4171     pid_t child;
4172    
4173     sparc_address_test (0);
4174    
4175     child = vfork ();
4176    
4177     if (child == 0) {
4178     /* Here is another test for sparc vfork register problems. This
4179     test uses lots of local variables, at least as many local
4180     variables as main has allocated so far including compiler
4181     temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
4182     4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
4183     reuse the register of parent for one of the local variables,
4184     since it will think that parent can't possibly be used any more
4185     in this routine. Assigning to the local variable will thus
4186     munge parent in the parent process. */
4187     pid_t
4188     p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
4189     p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
4190     /* Convince the compiler that p..p7 are live; otherwise, it might
4191     use the same hardware register for all 8 local variables. */
4192     if (p != p1 || p != p2 || p != p3 || p != p4
4193     || p != p5 || p != p6 || p != p7)
4194     _exit(1);
4195    
4196     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
4197     from child file descriptors. If the child closes a descriptor
4198     before it execs or exits, this munges the parent's descriptor
4199     as well. Test for this by closing stdout in the child. */
4200     _exit(close(fileno(stdout)) != 0);
4201     } else {
4202     int status;
4203     struct stat st;
4204    
4205     while (wait(&status) != child)
4206     ;
4207     exit(
4208     /* Was there some problem with vforking? */
4209     child < 0
4210    
4211     /* Did the child fail? (This shouldn't happen.) */
4212     || status
4213    
4214     /* Did the vfork/compiler bug occur? */
4215     || parent != getpid()
4216    
4217     /* Did the file descriptor bug occur? */
4218     || fstat(fileno(stdout), &st) != 0
4219     );
4220     }
4221     }
4222     _ACEOF
4223     rm -f conftest$ac_exeext
4224     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4225     (eval $ac_link) 2>&5
4226     ac_status=$?
4227     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4229     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4230     (eval $ac_try) 2>&5
4231     ac_status=$?
4232     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233     (exit $ac_status); }; }; then
4234     ac_cv_func_vfork_works=yes
4235     else
4236     echo "$as_me: program exited with status $ac_status" >&5
4237     echo "$as_me: failed program was:" >&5
4238     sed 's/^/| /' conftest.$ac_ext >&5
4239    
4240     ( exit $ac_status )
4241     ac_cv_func_vfork_works=no
4242     fi
4243     rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4244     fi
4245     fi
4246     echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
4247     echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
4248    
4249     fi;
4250     if test "x$ac_cv_func_fork_works" = xcross; then
4251     ac_cv_func_vfork_works=$ac_cv_func_vfork
4252     { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
4253     echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
4254     fi
4255    
4256     if test "x$ac_cv_func_vfork_works" = xyes; then
4257    
4258     cat >>confdefs.h <<\_ACEOF
4259     #define HAVE_WORKING_VFORK 1
4260     _ACEOF
4261    
4262     else
4263    
4264     cat >>confdefs.h <<\_ACEOF
4265     #define vfork fork
4266     _ACEOF
4267    
4268     fi
4269     if test "x$ac_cv_func_fork_works" = xyes; then
4270    
4271     cat >>confdefs.h <<\_ACEOF
4272     #define HAVE_WORKING_FORK 1
4273     _ACEOF
4274    
4275     fi
4276    
4277     echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4278     echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4279     if test "${ac_cv_header_stdc+set}" = set; then
4280     echo $ECHO_N "(cached) $ECHO_C" >&6
4281     else
4282     cat >conftest.$ac_ext <<_ACEOF
4283     /* confdefs.h. */
4284     _ACEOF
4285     cat confdefs.h >>conftest.$ac_ext
4286     cat >>conftest.$ac_ext <<_ACEOF
4287     /* end confdefs.h. */
4288     #include <stdlib.h>
4289     #include <stdarg.h>
4290     #include <string.h>
4291     #include <float.h>
4292    
4293     int
4294     main ()
4295     {
4296    
4297     ;
4298     return 0;
4299     }
4300     _ACEOF
4301     rm -f conftest.$ac_objext
4302     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4303     (eval $ac_compile) 2>conftest.er1
4304     ac_status=$?
4305     grep -v '^ *+' conftest.er1 >conftest.err
4306     rm -f conftest.er1
4307     cat conftest.err >&5
4308     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309     (exit $ac_status); } &&
4310     { ac_try='test -z "$ac_c_werror_flag"
4311     || test ! -s conftest.err'
4312     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4313     (eval $ac_try) 2>&5
4314     ac_status=$?
4315     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316     (exit $ac_status); }; } &&
4317     { ac_try='test -s conftest.$ac_objext'
4318     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4319     (eval $ac_try) 2>&5
4320     ac_status=$?
4321     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322     (exit $ac_status); }; }; then
4323     ac_cv_header_stdc=yes
4324     else
4325     echo "$as_me: failed program was:" >&5
4326     sed 's/^/| /' conftest.$ac_ext >&5
4327    
4328     ac_cv_header_stdc=no
4329     fi
4330     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4331    
4332     if test $ac_cv_header_stdc = yes; then
4333     # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4334     cat >conftest.$ac_ext <<_ACEOF
4335     /* confdefs.h. */
4336     _ACEOF
4337     cat confdefs.h >>conftest.$ac_ext
4338     cat >>conftest.$ac_ext <<_ACEOF
4339     /* end confdefs.h. */
4340     #include <string.h>
4341    
4342     _ACEOF
4343     if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4344     $EGREP "memchr" >/dev/null 2>&1; then
4345     :
4346     else
4347     ac_cv_header_stdc=no
4348     fi
4349     rm -f conftest*
4350    
4351     fi
4352    
4353     if test $ac_cv_header_stdc = yes; then
4354     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4355     cat >conftest.$ac_ext <<_ACEOF
4356     /* confdefs.h. */
4357     _ACEOF
4358     cat confdefs.h >>conftest.$ac_ext
4359     cat >>conftest.$ac_ext <<_ACEOF
4360     /* end confdefs.h. */
4361     #include <stdlib.h>
4362    
4363     _ACEOF
4364     if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4365     $EGREP "free" >/dev/null 2>&1; then
4366     :
4367     else
4368     ac_cv_header_stdc=no
4369     fi
4370     rm -f conftest*
4371    
4372     fi
4373    
4374     if test $ac_cv_header_stdc = yes; then
4375     # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4376     if test "$cross_compiling" = yes; then
4377     :
4378     else
4379     cat >conftest.$ac_ext <<_ACEOF
4380     /* confdefs.h. */
4381     _ACEOF
4382     cat confdefs.h >>conftest.$ac_ext
4383     cat >>conftest.$ac_ext <<_ACEOF
4384     /* end confdefs.h. */
4385     #include <ctype.h>
4386     #if ((' ' & 0x0FF) == 0x020)
4387     # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4388     # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4389     #else
4390     # define ISLOWER(c) \
4391     (('a' <= (c) && (c) <= 'i') \
4392     || ('j' <= (c) && (c) <= 'r') \
4393     || ('s' <= (c) && (c) <= 'z'))
4394     # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4395     #endif
4396 sysadm 1.1
4397 sysadm 1.4 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4398     int
4399     main ()
4400     {
4401     int i;
4402     for (i = 0; i < 256; i++)
4403     if (XOR (islower (i), ISLOWER (i))
4404     || toupper (i) != TOUPPER (i))
4405     exit(2);
4406     exit (0);
4407     }
4408     _ACEOF
4409     rm -f conftest$ac_exeext
4410     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4411     (eval $ac_link) 2>&5
4412     ac_status=$?
4413     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4415     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416     (eval $ac_try) 2>&5
4417     ac_status=$?
4418     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419     (exit $ac_status); }; }; then
4420     :
4421 sysadm 1.1 else
4422 sysadm 1.4 echo "$as_me: program exited with status $ac_status" >&5
4423     echo "$as_me: failed program was:" >&5
4424     sed 's/^/| /' conftest.$ac_ext >&5
4425    
4426     ( exit $ac_status )
4427     ac_cv_header_stdc=no
4428     fi
4429     rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4430     fi
4431     fi
4432     fi
4433     echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4434     echo "${ECHO_T}$ac_cv_header_stdc" >&6
4435     if test $ac_cv_header_stdc = yes; then
4436    
4437     cat >>confdefs.h <<\_ACEOF
4438     #define STDC_HEADERS 1
4439     _ACEOF
4440    
4441 sysadm 1.1 fi
4442    
4443 sysadm 1.4 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4444     echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4445     if test "${ac_cv_type_signal+set}" = set; then
4446     echo $ECHO_N "(cached) $ECHO_C" >&6
4447     else
4448     cat >conftest.$ac_ext <<_ACEOF
4449     /* confdefs.h. */
4450     _ACEOF
4451     cat confdefs.h >>conftest.$ac_ext
4452     cat >>conftest.$ac_ext <<_ACEOF
4453     /* end confdefs.h. */
4454     #include <sys/types.h>
4455     #include <signal.h>
4456     #ifdef signal
4457     # undef signal
4458     #endif
4459     #ifdef __cplusplus
4460     extern "C" void (*signal (int, void (*)(int)))(int);
4461     #else
4462     void (*signal ()) ();
4463     #endif
4464    
4465     int
4466     main ()
4467     {
4468     int i;
4469     ;
4470     return 0;
4471     }
4472     _ACEOF
4473     rm -f conftest.$ac_objext
4474     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4475     (eval $ac_compile) 2>conftest.er1
4476     ac_status=$?
4477     grep -v '^ *+' conftest.er1 >conftest.err
4478     rm -f conftest.er1
4479     cat conftest.err >&5
4480     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481     (exit $ac_status); } &&
4482     { ac_try='test -z "$ac_c_werror_flag"
4483     || test ! -s conftest.err'
4484     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4485     (eval $ac_try) 2>&5
4486     ac_status=$?
4487     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488     (exit $ac_status); }; } &&
4489     { ac_try='test -s conftest.$ac_objext'
4490     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4491     (eval $ac_try) 2>&5
4492     ac_status=$?
4493     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494     (exit $ac_status); }; }; then
4495     ac_cv_type_signal=void
4496     else
4497     echo "$as_me: failed program was:" >&5
4498     sed 's/^/| /' conftest.$ac_ext >&5
4499    
4500     ac_cv_type_signal=int
4501     fi
4502     rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4503 sysadm 1.1 fi
4504 sysadm 1.4 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4505     echo "${ECHO_T}$ac_cv_type_signal" >&6
4506    
4507     cat >>confdefs.h <<_ACEOF
4508     #define RETSIGTYPE $ac_cv_type_signal
4509     _ACEOF
4510    
4511    
4512    
4513     for ac_func in strftime
4514     do
4515     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4516     echo "$as_me:$LINENO: checking for $ac_func" >&5
4517     echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4518     if eval "test \"\${$as_ac_var+set}\" = set"; then
4519     echo $ECHO_N "(cached) $ECHO_C" >&6
4520     else
4521     cat >conftest.$ac_ext <<_ACEOF
4522     /* confdefs.h. */
4523     _ACEOF
4524     cat confdefs.h >>conftest.$ac_ext
4525     cat >>conftest.$ac_ext <<_ACEOF
4526     /* end confdefs.h. */
4527     /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4528     For example, HP-UX 11i <limits.h> declares gettimeofday. */
4529     #define $ac_func innocuous_$ac_func
4530    
4531     /* System header to define __stub macros and hopefully few prototypes,
4532     which can conflict with char $ac_func (); below.
4533     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4534     <limits.h> exists even on freestanding compilers. */
4535    
4536     #ifdef __STDC__
4537     # include <limits.h>
4538     #else
4539     # include <assert.h>
4540     #endif
4541    
4542     #undef $ac_func
4543    
4544     /* Override any gcc2 internal prototype to avoid an error. */
4545     #ifdef __cplusplus
4546     extern "C"
4547     {
4548     #endif
4549     /* We use char because int might match the return type of a gcc2
4550     builtin and then its argument prototype would still apply. */
4551     char $ac_func ();
4552     /* The GNU C library defines this for functions which it implements
4553     to always fail with ENOSYS. Some functions are actually named
4554     something starting with __ and the normal name is an alias. */
4555     #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4556     choke me
4557     #else
4558     char (*f) () = $ac_func;
4559     #endif
4560     #ifdef __cplusplus
4561     }
4562     #endif
4563    
4564     int
4565     main ()
4566     {
4567     return f != $ac_func;
4568     ;
4569     return 0;
4570     }
4571     _ACEOF
4572     rm -f conftest.$ac_objext conftest$ac_exeext
4573     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4574     (eval $ac_link) 2>conftest.er1
4575     ac_status=$?
4576     grep -v '^ *+' conftest.er1 >conftest.err
4577     rm -f conftest.er1
4578     cat conftest.err >&5
4579     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580     (exit $ac_status); } &&
4581     { ac_try='test -z "$ac_c_werror_flag"
4582     || test ! -s conftest.err'
4583     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4584     (eval $ac_try) 2>&5
4585     ac_status=$?
4586     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587     (exit $ac_status); }; } &&
4588     { ac_try='test -s conftest$ac_exeext'
4589     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4590     (eval $ac_try) 2>&5
4591     ac_status=$?
4592     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593     (exit $ac_status); }; }; then
4594     eval "$as_ac_var=yes"
4595     else
4596     echo "$as_me: failed program was:" >&5
4597     sed 's/^/| /' conftest.$ac_ext >&5
4598 sysadm 1.1
4599 sysadm 1.4 eval "$as_ac_var=no"
4600     fi
4601     rm -f conftest.err conftest.$ac_objext \
4602     conftest$ac_exeext conftest.$ac_ext
4603     fi
4604     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4605     echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4606     if test `eval echo '${'$as_ac_var'}'` = yes; then
4607     cat >>confdefs.h <<_ACEOF
4608     #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4609     _ACEOF
4610 sysadm 1.1
4611 sysadm 1.4 else
4612     # strftime is in -lintl on SCO UNIX.
4613     echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
4614     echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
4615     if test "${ac_cv_lib_intl_strftime+set}" = set; then
4616     echo $ECHO_N "(cached) $ECHO_C" >&6
4617     else
4618     ac_check_lib_save_LIBS=$LIBS
4619     LIBS="-lintl $LIBS"
4620     cat >conftest.$ac_ext <<_ACEOF
4621     /* confdefs.h. */
4622     _ACEOF
4623     cat confdefs.h >>conftest.$ac_ext
4624     cat >>conftest.$ac_ext <<_ACEOF
4625     /* end confdefs.h. */
4626 sysadm 1.1
4627 sysadm 1.4 /* Override any gcc2 internal prototype to avoid an error. */
4628     #ifdef __cplusplus
4629     extern "C"
4630     #endif
4631     /* We use char because int might match the return type of a gcc2
4632     builtin and then its argument prototype would still apply. */
4633     char strftime ();
4634     int
4635     main ()
4636     {
4637     strftime ();
4638     ;
4639     return 0;
4640     }
4641     _ACEOF
4642     rm -f conftest.$ac_objext conftest$ac_exeext
4643     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4644     (eval $ac_link) 2>conftest.er1
4645     ac_status=$?
4646     grep -v '^ *+' conftest.er1 >conftest.err
4647     rm -f conftest.er1
4648     cat conftest.err >&5
4649     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650     (exit $ac_status); } &&
4651     { ac_try='test -z "$ac_c_werror_flag"
4652     || test ! -s conftest.err'
4653     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4654     (eval $ac_try) 2>&5
4655     ac_status=$?
4656     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657     (exit $ac_status); }; } &&
4658     { ac_try='test -s conftest$ac_exeext'
4659     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4660     (eval $ac_try) 2>&5
4661     ac_status=$?
4662     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663     (exit $ac_status); }; }; then
4664     ac_cv_lib_intl_strftime=yes
4665 sysadm 1.2 else
4666 sysadm 1.4 echo "$as_me: failed program was:" >&5
4667     sed 's/^/| /' conftest.$ac_ext >&5
4668    
4669     ac_cv_lib_intl_strftime=no
4670     fi
4671     rm -f conftest.err conftest.$ac_objext \
4672     conftest$ac_exeext conftest.$ac_ext
4673     LIBS=$ac_check_lib_save_LIBS
4674     fi
4675     echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
4676     echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
4677     if test $ac_cv_lib_intl_strftime = yes; then
4678     cat >>confdefs.h <<\_ACEOF
4679     #define HAVE_STRFTIME 1
4680     _ACEOF
4681    
4682     LIBS="-lintl $LIBS"
4683     fi
4684    
4685 sysadm 1.2 fi
4686 sysadm 1.4 done
4687 sysadm 1.2
4688    
4689    
4690 sysadm 1.1
4691 sysadm 1.4 for ac_func in inet_ntoa mkdir socket
4692     do
4693     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4694     echo "$as_me:$LINENO: checking for $ac_func" >&5
4695     echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4696     if eval "test \"\${$as_ac_var+set}\" = set"; then
4697     echo $ECHO_N "(cached) $ECHO_C" >&6
4698     else
4699     cat >conftest.$ac_ext <<_ACEOF
4700     /* confdefs.h. */
4701     _ACEOF
4702     cat confdefs.h >>conftest.$ac_ext
4703     cat >>conftest.$ac_ext <<_ACEOF
4704     /* end confdefs.h. */
4705     /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4706     For example, HP-UX 11i <limits.h> declares gettimeofday. */
4707     #define $ac_func innocuous_$ac_func
4708    
4709     /* System header to define __stub macros and hopefully few prototypes,
4710     which can conflict with char $ac_func (); below.
4711     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4712     <limits.h> exists even on freestanding compilers. */
4713    
4714     #ifdef __STDC__
4715     # include <limits.h>
4716     #else
4717     # include <assert.h>
4718     #endif
4719    
4720     #undef $ac_func
4721    
4722     /* Override any gcc2 internal prototype to avoid an error. */
4723     #ifdef __cplusplus
4724     extern "C"
4725     {
4726     #endif
4727     /* We use char because int might match the return type of a gcc2
4728     builtin and then its argument prototype would still apply. */
4729     char $ac_func ();
4730     /* The GNU C library defines this for functions which it implements
4731     to always fail with ENOSYS. Some functions are actually named
4732     something starting with __ and the normal name is an alias. */
4733     #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4734     choke me
4735     #else
4736     char (*f) () = $ac_func;
4737     #endif
4738     #ifdef __cplusplus
4739     }
4740     #endif
4741    
4742     int
4743     main ()
4744     {
4745     return f != $ac_func;
4746     ;
4747     return 0;
4748     }
4749     _ACEOF
4750     rm -f conftest.$ac_objext conftest$ac_exeext
4751     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4752     (eval $ac_link) 2>conftest.er1
4753     ac_status=$?
4754     grep -v '^ *+' conftest.er1 >conftest.err
4755     rm -f conftest.er1
4756     cat conftest.err >&5
4757     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758     (exit $ac_status); } &&
4759     { ac_try='test -z "$ac_c_werror_flag"
4760     || test ! -s conftest.err'
4761     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4762     (eval $ac_try) 2>&5
4763     ac_status=$?
4764     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765     (exit $ac_status); }; } &&
4766     { ac_try='test -s conftest$ac_exeext'
4767     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4768     (eval $ac_try) 2>&5
4769     ac_status=$?
4770     echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771     (exit $ac_status); }; }; then
4772     eval "$as_ac_var=yes"
4773     else
4774     echo "$as_me: failed program was:" >&5
4775     sed 's/^/| /' conftest.$ac_ext >&5
4776    
4777     eval "$as_ac_var=no"
4778     fi
4779     rm -f conftest.err conftest.$ac_objext \
4780     conftest$ac_exeext conftest.$ac_ext
4781     fi
4782     echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4783     echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4784     if test `eval echo '${'$as_ac_var'}'` = yes; then
4785     cat >>confdefs.h <<_ACEOF
4786     #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4787     _ACEOF
4788 sysadm 1.1
4789 sysadm 1.4 fi
4790     done
4791 sysadm 1.1
4792    
4793     ac_config_files="$ac_config_files Makefile src/Makefile"
4794    
4795     cat >confcache <<\_ACEOF
4796     # This file is a shell script that caches the results of configure
4797     # tests run on this system so they can be shared between configure
4798     # scripts and configure runs, see configure's option --config-cache.
4799     # It is not useful on other systems. If it contains results you don't
4800     # want to keep, you may remove or edit it.
4801     #
4802     # config.status only pays attention to the cache file if you give it
4803     # the --recheck option to rerun configure.
4804     #
4805     # `ac_cv_env_foo' variables (set or unset) will be overridden when
4806     # loading this file, other *unset* `ac_cv_foo' will be assigned the
4807     # following values.
4808    
4809     _ACEOF
4810    
4811     # The following way of writing the cache mishandles newlines in values,
4812     # but we know of no workaround that is simple, portable, and efficient.
4813     # So, don't put newlines in cache variables' values.
4814     # Ultrix sh set writes to stderr and can't be redirected directly,
4815     # and sets the high bit in the cache file unless we assign to the vars.
4816     {
4817     (set) 2>&1 |
4818     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4819     *ac_space=\ *)
4820     # `set' does not quote correctly, so add quotes (double-quote
4821     # substitution turns \\\\ into \\, and sed turns \\ into \).
4822     sed -n \
4823 sysadm 1.2 "s/'/'\\\\''/g;
4824     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4825 sysadm 1.1 ;;
4826     *)
4827     # `set' quotes correctly as required by POSIX, so do not add quotes.
4828     sed -n \
4829 sysadm 1.2 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4830 sysadm 1.1 ;;
4831     esac;
4832     } |
4833     sed '
4834     t clear
4835     : clear
4836     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4837     t end
4838     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4839     : end' >>confcache
4840     if diff $cache_file confcache >/dev/null 2>&1; then :; else
4841     if test -w $cache_file; then
4842     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4843     cat confcache >$cache_file
4844     else
4845     echo "not updating unwritable cache $cache_file"
4846     fi
4847     fi
4848     rm -f confcache
4849    
4850     test "x$prefix" = xNONE && prefix=$ac_default_prefix
4851     # Let make expand exec_prefix.
4852     test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4853    
4854     # VPATH may cause trouble with some makes, so we remove $(srcdir),
4855     # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4856     # trailing colons and then remove the whole line if VPATH becomes empty
4857     # (actually we leave an empty line to preserve line numbers).
4858     if test "x$srcdir" = x.; then
4859 sysadm 1.2 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4860 sysadm 1.1 s/:*\$(srcdir):*/:/;
4861     s/:*\${srcdir}:*/:/;
4862     s/:*@srcdir@:*/:/;
4863 sysadm 1.2 s/^\([^=]*=[ ]*\):*/\1/;
4864 sysadm 1.1 s/:*$//;
4865 sysadm 1.2 s/^[^=]*=[ ]*$//;
4866 sysadm 1.1 }'
4867     fi
4868    
4869     # Transform confdefs.h into DEFS.
4870     # Protect against shell expansion while executing Makefile rules.
4871     # Protect against Makefile macro expansion.
4872     #
4873     # If the first sed substitution is executed (which looks for macros that
4874     # take arguments), then we branch to the quote section. Otherwise,
4875     # look for a macro that doesn't take arguments.
4876     cat >confdef2opt.sed <<\_ACEOF
4877     t clear
4878     : clear
4879 sysadm 1.2 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4880 sysadm 1.1 t quote
4881 sysadm 1.2 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4882 sysadm 1.1 t quote
4883     d
4884     : quote
4885 sysadm 1.2 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4886 sysadm 1.1 s,\[,\\&,g
4887     s,\],\\&,g
4888     s,\$,$$,g
4889     p
4890     _ACEOF
4891     # We use echo to avoid assuming a particular line-breaking character.
4892     # The extra dot is to prevent the shell from consuming trailing
4893     # line-breaks from the sub-command output. A line-break within
4894     # single-quotes doesn't work because, if this script is created in a
4895     # platform that uses two characters for line-breaks (e.g., DOS), tr
4896     # would break.
4897     ac_LF_and_DOT=`echo; echo .`
4898     DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
4899     rm -f confdef2opt.sed
4900    
4901    
4902     ac_libobjs=
4903     ac_ltlibobjs=
4904     for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4905     # 1. Remove the extension, and $U if already installed.
4906     ac_i=`echo "$ac_i" |
4907 sysadm 1.2 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4908 sysadm 1.1 # 2. Add them.
4909     ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4910     ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4911     done
4912     LIBOBJS=$ac_libobjs
4913    
4914     LTLIBOBJS=$ac_ltlibobjs
4915    
4916    
4917     if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4918     { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4919     Usually this means the macro was only invoked conditionally." >&5
4920     echo "$as_me: error: conditional \"AMDEP\" was never defined.
4921     Usually this means the macro was only invoked conditionally." >&2;}
4922     { (exit 1); exit 1; }; }
4923     fi
4924 sysadm 1.2 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4925     { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4926     Usually this means the macro was only invoked conditionally." >&5
4927     echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4928     Usually this means the macro was only invoked conditionally." >&2;}
4929     { (exit 1); exit 1; }; }
4930     fi
4931 sysadm 1.1
4932     : ${CONFIG_STATUS=./config.status}
4933     ac_clean_files_save=$ac_clean_files
4934     ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4935     { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4936     echo "$as_me: creating $CONFIG_STATUS" >&6;}
4937     cat >$CONFIG_STATUS <<_ACEOF
4938     #! $SHELL
4939     # Generated by $as_me.
4940     # Run this file to recreate the current configuration.
4941     # Compiler output produced by configure, useful for debugging
4942     # configure, is in config.log if it exists.
4943    
4944     debug=false
4945     ac_cs_recheck=false
4946     ac_cs_silent=false
4947     SHELL=\${CONFIG_SHELL-$SHELL}
4948     _ACEOF
4949    
4950     cat >>$CONFIG_STATUS <<\_ACEOF
4951     ## --------------------- ##
4952     ## M4sh Initialization. ##
4953     ## --------------------- ##
4954    
4955     # Be Bourne compatible
4956     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4957     emulate sh
4958     NULLCMD=:
4959     # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4960     # is contrary to our usage. Disable this feature.
4961     alias -g '${1+"$@"}'='"$@"'
4962     elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4963     set -o posix
4964     fi
4965 sysadm 1.2 DUALCASE=1; export DUALCASE # for MKS sh
4966 sysadm 1.1
4967     # Support unset when possible.
4968 sysadm 1.2 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4969 sysadm 1.1 as_unset=unset
4970     else
4971     as_unset=false
4972     fi
4973    
4974    
4975     # Work around bugs in pre-3.0 UWIN ksh.
4976     $as_unset ENV MAIL MAILPATH
4977     PS1='$ '
4978     PS2='> '
4979     PS4='+ '
4980    
4981     # NLS nuisances.
4982     for as_var in \
4983     LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4984     LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4985     LC_TELEPHONE LC_TIME
4986     do
4987 sysadm 1.2 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4988 sysadm 1.1 eval $as_var=C; export $as_var
4989     else
4990     $as_unset $as_var
4991     fi
4992     done
4993    
4994     # Required to use basename.
4995     if expr a : '\(a\)' >/dev/null 2>&1; then
4996     as_expr=expr
4997     else
4998     as_expr=false
4999     fi
5000    
5001     if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5002     as_basename=basename
5003     else
5004     as_basename=false
5005     fi
5006    
5007    
5008     # Name of the executable.
5009     as_me=`$as_basename "$0" ||
5010     $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5011     X"$0" : 'X\(//\)$' \| \
5012     X"$0" : 'X\(/\)$' \| \
5013     . : '\(.\)' 2>/dev/null ||
5014     echo X/"$0" |
5015     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5016     /^X\/\(\/\/\)$/{ s//\1/; q; }
5017     /^X\/\(\/\).*/{ s//\1/; q; }
5018     s/.*/./; q'`
5019    
5020    
5021     # PATH needs CR, and LINENO needs CR and PATH.
5022     # Avoid depending upon Character Ranges.
5023     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5024     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5025     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5026     as_cr_digits='0123456789'
5027     as_cr_alnum=$as_cr_Letters$as_cr_digits
5028    
5029     # The user is always right.
5030     if test "${PATH_SEPARATOR+set}" != set; then
5031     echo "#! /bin/sh" >conf$$.sh
5032     echo "exit 0" >>conf$$.sh
5033     chmod +x conf$$.sh
5034     if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5035     PATH_SEPARATOR=';'
5036     else
5037     PATH_SEPARATOR=:
5038     fi
5039     rm -f conf$$.sh
5040     fi
5041    
5042    
5043     as_lineno_1=$LINENO
5044     as_lineno_2=$LINENO
5045     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5046     test "x$as_lineno_1" != "x$as_lineno_2" &&
5047     test "x$as_lineno_3" = "x$as_lineno_2" || {
5048     # Find who we are. Look in the path if we contain no path at all
5049     # relative or not.
5050     case $0 in
5051     *[\\/]* ) as_myself=$0 ;;
5052     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5053     for as_dir in $PATH
5054     do
5055     IFS=$as_save_IFS
5056     test -z "$as_dir" && as_dir=.
5057     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5058     done
5059    
5060     ;;
5061     esac
5062     # We did not find ourselves, most probably we were run as `sh COMMAND'
5063     # in which case we are not to be found in the path.
5064     if test "x$as_myself" = x; then
5065     as_myself=$0
5066     fi
5067     if test ! -f "$as_myself"; then
5068     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5069     echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5070     { (exit 1); exit 1; }; }
5071     fi
5072     case $CONFIG_SHELL in
5073     '')
5074     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075     for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5076     do
5077     IFS=$as_save_IFS
5078     test -z "$as_dir" && as_dir=.
5079     for as_base in sh bash ksh sh5; do
5080     case $as_dir in
5081     /*)
5082     if ("$as_dir/$as_base" -c '
5083     as_lineno_1=$LINENO
5084     as_lineno_2=$LINENO
5085     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5086     test "x$as_lineno_1" != "x$as_lineno_2" &&
5087     test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5088     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5089     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5090     CONFIG_SHELL=$as_dir/$as_base
5091     export CONFIG_SHELL
5092     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5093     fi;;
5094     esac
5095     done
5096     done
5097     ;;
5098     esac
5099    
5100     # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5101     # uniformly replaced by the line number. The first 'sed' inserts a
5102     # line-number line before each line; the second 'sed' does the real
5103     # work. The second script uses 'N' to pair each line-number line
5104     # with the numbered line, and appends trailing '-' during
5105     # substitution so that $LINENO is not a special case at line end.
5106     # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5107     # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5108     sed '=' <$as_myself |
5109     sed '
5110     N
5111     s,$,-,
5112     : loop
5113     s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5114     t loop
5115     s,-$,,
5116     s,^['$as_cr_digits']*\n,,
5117     ' >$as_me.lineno &&
5118     chmod +x $as_me.lineno ||
5119     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5120     echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5121     { (exit 1); exit 1; }; }
5122    
5123     # Don't try to exec as it changes $[0], causing all sort of problems
5124     # (the dirname of $[0] is not the place where we might find the
5125     # original and so on. Autoconf is especially sensible to this).
5126     . ./$as_me.lineno
5127     # Exit status is that of the last command.
5128     exit
5129     }
5130    
5131    
5132     case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5133     *c*,-n*) ECHO_N= ECHO_C='
5134     ' ECHO_T=' ' ;;
5135     *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5136     *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5137     esac
5138    
5139     if expr a : '\(a\)' >/dev/null 2>&1; then
5140     as_expr=expr
5141     else
5142     as_expr=false
5143     fi
5144    
5145     rm -f conf$$ conf$$.exe conf$$.file
5146     echo >conf$$.file
5147     if ln -s conf$$.file conf$$ 2>/dev/null; then
5148     # We could just check for DJGPP; but this test a) works b) is more generic
5149     # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5150     if test -f conf$$.exe; then
5151     # Don't use ln at all; we don't have any links
5152     as_ln_s='cp -p'
5153     else
5154     as_ln_s='ln -s'
5155     fi
5156     elif ln conf$$.file conf$$ 2>/dev/null; then
5157     as_ln_s=ln
5158     else
5159     as_ln_s='cp -p'
5160     fi
5161     rm -f conf$$ conf$$.exe conf$$.file
5162    
5163     if mkdir -p . 2>/dev/null; then
5164     as_mkdir_p=:
5165     else
5166 sysadm 1.2 test -d ./-p && rmdir ./-p
5167 sysadm 1.1 as_mkdir_p=false
5168     fi
5169    
5170     as_executable_p="test -f"
5171    
5172     # Sed expression to map a string onto a valid CPP name.
5173 sysadm 1.2 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5174 sysadm 1.1
5175     # Sed expression to map a string onto a valid variable name.
5176 sysadm 1.2 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5177 sysadm 1.1
5178    
5179     # IFS
5180     # We need space, tab and new line, in precisely that order.
5181     as_nl='
5182     '
5183     IFS=" $as_nl"
5184    
5185     # CDPATH.
5186     $as_unset CDPATH
5187    
5188     exec 6>&1
5189    
5190     # Open the log real soon, to keep \$[0] and so on meaningful, and to
5191     # report actual input values of CONFIG_FILES etc. instead of their
5192     # values after options handling. Logging --version etc. is OK.
5193     exec 5>>config.log
5194     {
5195     echo
5196     sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5197     ## Running $as_me. ##
5198     _ASBOX
5199     } >&5
5200     cat >&5 <<_CSEOF
5201    
5202     This file was extended by bbsd $as_me 1.0, which was
5203 sysadm 1.2 generated by GNU Autoconf 2.59. Invocation command line was
5204 sysadm 1.1
5205     CONFIG_FILES = $CONFIG_FILES
5206     CONFIG_HEADERS = $CONFIG_HEADERS
5207     CONFIG_LINKS = $CONFIG_LINKS
5208     CONFIG_COMMANDS = $CONFIG_COMMANDS
5209     $ $0 $@
5210    
5211     _CSEOF
5212     echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5213     echo >&5
5214     _ACEOF
5215    
5216     # Files that config.status was made for.
5217     if test -n "$ac_config_files"; then
5218     echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5219     fi
5220    
5221     if test -n "$ac_config_headers"; then
5222     echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5223     fi
5224    
5225     if test -n "$ac_config_links"; then
5226     echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5227     fi
5228    
5229     if test -n "$ac_config_commands"; then
5230     echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5231     fi
5232    
5233     cat >>$CONFIG_STATUS <<\_ACEOF
5234    
5235     ac_cs_usage="\
5236     \`$as_me' instantiates files from templates according to the
5237     current configuration.
5238    
5239     Usage: $0 [OPTIONS] [FILE]...
5240    
5241     -h, --help print this help, then exit
5242     -V, --version print version number, then exit
5243     -q, --quiet do not print progress messages
5244     -d, --debug don't remove temporary files
5245     --recheck update $as_me by reconfiguring in the same conditions
5246     --file=FILE[:TEMPLATE]
5247 sysadm 1.2 instantiate the configuration file FILE
5248 sysadm 1.1
5249     Configuration files:
5250     $config_files
5251    
5252     Configuration commands:
5253     $config_commands
5254    
5255     Report bugs to <bug-autoconf@gnu.org>."
5256     _ACEOF
5257    
5258     cat >>$CONFIG_STATUS <<_ACEOF
5259     ac_cs_version="\\
5260     bbsd config.status 1.0
5261 sysadm 1.2 configured by $0, generated by GNU Autoconf 2.59,
5262 sysadm 1.1 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5263    
5264 sysadm 1.2 Copyright (C) 2003 Free Software Foundation, Inc.
5265 sysadm 1.1 This config.status script is free software; the Free Software Foundation
5266     gives unlimited permission to copy, distribute and modify it."
5267     srcdir=$srcdir
5268     INSTALL="$INSTALL"
5269     _ACEOF
5270    
5271     cat >>$CONFIG_STATUS <<\_ACEOF
5272     # If no file are specified by the user, then we need to provide default
5273     # value. By we need to know if files were specified by the user.
5274     ac_need_defaults=:
5275     while test $# != 0
5276     do
5277     case $1 in
5278     --*=*)
5279     ac_option=`expr "x$1" : 'x\([^=]*\)='`
5280     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5281     ac_shift=:
5282     ;;
5283     -*)
5284     ac_option=$1
5285     ac_optarg=$2
5286     ac_shift=shift
5287     ;;
5288     *) # This is not an option, so the user has probably given explicit
5289     # arguments.
5290     ac_option=$1
5291     ac_need_defaults=false;;
5292     esac
5293    
5294     case $ac_option in
5295     # Handling of the options.
5296     _ACEOF
5297     cat >>$CONFIG_STATUS <<\_ACEOF
5298     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5299     ac_cs_recheck=: ;;
5300     --version | --vers* | -V )
5301     echo "$ac_cs_version"; exit 0 ;;
5302     --he | --h)
5303     # Conflict between --help and --header
5304     { { echo "$as_me:$LINENO: error: ambiguous option: $1
5305     Try \`$0 --help' for more information." >&5
5306     echo "$as_me: error: ambiguous option: $1
5307     Try \`$0 --help' for more information." >&2;}
5308     { (exit 1); exit 1; }; };;
5309     --help | --hel | -h )
5310     echo "$ac_cs_usage"; exit 0 ;;
5311     --debug | --d* | -d )
5312     debug=: ;;
5313     --file | --fil | --fi | --f )
5314     $ac_shift
5315     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5316     ac_need_defaults=false;;
5317     --header | --heade | --head | --hea )
5318     $ac_shift
5319     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5320     ac_need_defaults=false;;
5321     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5322     | -silent | --silent | --silen | --sile | --sil | --si | --s)
5323     ac_cs_silent=: ;;
5324    
5325     # This is an error.
5326     -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5327     Try \`$0 --help' for more information." >&5
5328     echo "$as_me: error: unrecognized option: $1
5329     Try \`$0 --help' for more information." >&2;}
5330     { (exit 1); exit 1; }; } ;;
5331    
5332     *) ac_config_targets="$ac_config_targets $1" ;;
5333    
5334     esac
5335     shift
5336     done
5337    
5338     ac_configure_extra_args=
5339    
5340     if $ac_cs_silent; then
5341     exec 6>/dev/null
5342     ac_configure_extra_args="$ac_configure_extra_args --silent"
5343     fi
5344    
5345     _ACEOF
5346     cat >>$CONFIG_STATUS <<_ACEOF
5347     if \$ac_cs_recheck; then
5348     echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5349     exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5350     fi
5351    
5352     _ACEOF
5353    
5354     cat >>$CONFIG_STATUS <<_ACEOF
5355     #
5356     # INIT-COMMANDS section.
5357     #
5358    
5359     AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5360    
5361     _ACEOF
5362    
5363    
5364    
5365     cat >>$CONFIG_STATUS <<\_ACEOF
5366     for ac_config_target in $ac_config_targets
5367     do
5368     case "$ac_config_target" in
5369     # Handling of arguments.
5370     "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5371     "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5372     "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5373     *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5374     echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5375     { (exit 1); exit 1; }; };;
5376     esac
5377     done
5378    
5379     # If the user did not use the arguments to specify the items to instantiate,
5380     # then the envvar interface is used. Set only those that are not.
5381     # We use the long form for the default assignment because of an extremely
5382     # bizarre bug on SunOS 4.1.3.
5383     if $ac_need_defaults; then
5384     test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5385     test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5386     fi
5387    
5388     # Have a temporary directory for convenience. Make it in the build tree
5389     # simply because there is no reason to put it here, and in addition,
5390     # creating and moving files from /tmp can sometimes cause problems.
5391     # Create a temporary directory, and hook for its removal unless debugging.
5392     $debug ||
5393     {
5394     trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5395     trap '{ (exit 1); exit 1; }' 1 2 13 15
5396     }
5397    
5398     # Create a (secure) tmp directory for tmp files.
5399    
5400     {
5401     tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5402     test -n "$tmp" && test -d "$tmp"
5403     } ||
5404     {
5405     tmp=./confstat$$-$RANDOM
5406     (umask 077 && mkdir $tmp)
5407     } ||
5408     {
5409     echo "$me: cannot create a temporary directory in ." >&2
5410     { (exit 1); exit 1; }
5411     }
5412    
5413     _ACEOF
5414    
5415     cat >>$CONFIG_STATUS <<_ACEOF
5416    
5417     #
5418     # CONFIG_FILES section.
5419     #
5420    
5421     # No need to generate the scripts if there are no CONFIG_FILES.
5422     # This happens for instance when ./config.status config.h
5423     if test -n "\$CONFIG_FILES"; then
5424     # Protect against being on the right side of a sed subst in config.status.
5425     sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5426     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5427     s,@SHELL@,$SHELL,;t t
5428     s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5429     s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5430     s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5431     s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5432     s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5433     s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5434     s,@exec_prefix@,$exec_prefix,;t t
5435     s,@prefix@,$prefix,;t t
5436     s,@program_transform_name@,$program_transform_name,;t t
5437     s,@bindir@,$bindir,;t t
5438     s,@sbindir@,$sbindir,;t t
5439     s,@libexecdir@,$libexecdir,;t t
5440     s,@datadir@,$datadir,;t t
5441     s,@sysconfdir@,$sysconfdir,;t t
5442     s,@sharedstatedir@,$sharedstatedir,;t t
5443     s,@localstatedir@,$localstatedir,;t t
5444     s,@libdir@,$libdir,;t t
5445     s,@includedir@,$includedir,;t t
5446     s,@oldincludedir@,$oldincludedir,;t t
5447     s,@infodir@,$infodir,;t t
5448     s,@mandir@,$mandir,;t t
5449     s,@build_alias@,$build_alias,;t t
5450     s,@host_alias@,$host_alias,;t t
5451     s,@target_alias@,$target_alias,;t t
5452     s,@DEFS@,$DEFS,;t t
5453     s,@ECHO_C@,$ECHO_C,;t t
5454     s,@ECHO_N@,$ECHO_N,;t t
5455     s,@ECHO_T@,$ECHO_T,;t t
5456     s,@LIBS@,$LIBS,;t t
5457     s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5458     s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5459     s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5460 sysadm 1.2 s,@CYGPATH_W@,$CYGPATH_W,;t t
5461 sysadm 1.1 s,@PACKAGE@,$PACKAGE,;t t
5462     s,@VERSION@,$VERSION,;t t
5463     s,@ACLOCAL@,$ACLOCAL,;t t
5464     s,@AUTOCONF@,$AUTOCONF,;t t
5465     s,@AUTOMAKE@,$AUTOMAKE,;t t
5466     s,@AUTOHEADER@,$AUTOHEADER,;t t
5467     s,@MAKEINFO@,$MAKEINFO,;t t
5468     s,@AMTAR@,$AMTAR,;t t
5469     s,@install_sh@,$install_sh,;t t
5470     s,@STRIP@,$STRIP,;t t
5471     s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5472     s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5473 sysadm 1.2 s,@mkdir_p@,$mkdir_p,;t t
5474 sysadm 1.1 s,@AWK@,$AWK,;t t
5475     s,@SET_MAKE@,$SET_MAKE,;t t
5476 sysadm 1.2 s,@am__leading_dot@,$am__leading_dot,;t t
5477 sysadm 1.1 s,@CC@,$CC,;t t
5478     s,@CFLAGS@,$CFLAGS,;t t
5479     s,@LDFLAGS@,$LDFLAGS,;t t
5480     s,@CPPFLAGS@,$CPPFLAGS,;t t
5481     s,@ac_ct_CC@,$ac_ct_CC,;t t
5482     s,@EXEEXT@,$EXEEXT,;t t
5483     s,@OBJEXT@,$OBJEXT,;t t
5484     s,@DEPDIR@,$DEPDIR,;t t
5485     s,@am__include@,$am__include,;t t
5486     s,@am__quote@,$am__quote,;t t
5487     s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5488     s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5489     s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5490     s,@CCDEPMODE@,$CCDEPMODE,;t t
5491 sysadm 1.2 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5492     s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5493 sysadm 1.4 s,@CPP@,$CPP,;t t
5494     s,@EGREP@,$EGREP,;t t
5495 sysadm 1.1 s,@LIBOBJS@,$LIBOBJS,;t t
5496     s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5497     CEOF
5498    
5499     _ACEOF
5500    
5501     cat >>$CONFIG_STATUS <<\_ACEOF
5502     # Split the substitutions into bite-sized pieces for seds with
5503     # small command number limits, like on Digital OSF/1 and HP-UX.
5504     ac_max_sed_lines=48
5505     ac_sed_frag=1 # Number of current file.
5506     ac_beg=1 # First line for current file.
5507     ac_end=$ac_max_sed_lines # Line after last line for current file.
5508     ac_more_lines=:
5509     ac_sed_cmds=
5510     while $ac_more_lines; do
5511     if test $ac_beg -gt 1; then
5512     sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5513     else
5514     sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5515     fi
5516     if test ! -s $tmp/subs.frag; then
5517     ac_more_lines=false
5518     else
5519     # The purpose of the label and of the branching condition is to
5520     # speed up the sed processing (if there are no `@' at all, there
5521     # is no need to browse any of the substitutions).
5522     # These are the two extra sed commands mentioned above.
5523     (echo ':t
5524     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5525     if test -z "$ac_sed_cmds"; then
5526 sysadm 1.2 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5527 sysadm 1.1 else
5528 sysadm 1.2 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5529 sysadm 1.1 fi
5530     ac_sed_frag=`expr $ac_sed_frag + 1`
5531     ac_beg=$ac_end
5532     ac_end=`expr $ac_end + $ac_max_sed_lines`
5533     fi
5534     done
5535     if test -z "$ac_sed_cmds"; then
5536     ac_sed_cmds=cat
5537     fi
5538     fi # test -n "$CONFIG_FILES"
5539    
5540     _ACEOF
5541     cat >>$CONFIG_STATUS <<\_ACEOF
5542     for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5543     # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5544     case $ac_file in
5545     - | *:- | *:-:* ) # input from stdin
5546 sysadm 1.2 cat >$tmp/stdin
5547     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5548     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5549 sysadm 1.1 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5550 sysadm 1.2 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5551 sysadm 1.1 * ) ac_file_in=$ac_file.in ;;
5552     esac
5553    
5554     # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5555     ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5556     $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5557 sysadm 1.2 X"$ac_file" : 'X\(//\)[^/]' \| \
5558     X"$ac_file" : 'X\(//\)$' \| \
5559     X"$ac_file" : 'X\(/\)' \| \
5560     . : '\(.\)' 2>/dev/null ||
5561 sysadm 1.1 echo X"$ac_file" |
5562     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5563     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5564     /^X\(\/\/\)$/{ s//\1/; q; }
5565     /^X\(\/\).*/{ s//\1/; q; }
5566     s/.*/./; q'`
5567     { if $as_mkdir_p; then
5568     mkdir -p "$ac_dir"
5569     else
5570     as_dir="$ac_dir"
5571     as_dirs=
5572     while test ! -d "$as_dir"; do
5573     as_dirs="$as_dir $as_dirs"
5574     as_dir=`(dirname "$as_dir") 2>/dev/null ||
5575     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5576 sysadm 1.2 X"$as_dir" : 'X\(//\)[^/]' \| \
5577     X"$as_dir" : 'X\(//\)$' \| \
5578     X"$as_dir" : 'X\(/\)' \| \
5579     . : '\(.\)' 2>/dev/null ||
5580 sysadm 1.1 echo X"$as_dir" |
5581     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5582     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5583     /^X\(\/\/\)$/{ s//\1/; q; }
5584     /^X\(\/\).*/{ s//\1/; q; }
5585     s/.*/./; q'`
5586     done
5587     test ! -n "$as_dirs" || mkdir $as_dirs
5588     fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5589     echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5590     { (exit 1); exit 1; }; }; }
5591    
5592     ac_builddir=.
5593    
5594     if test "$ac_dir" != .; then
5595     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5596     # A "../" for each directory in $ac_dir_suffix.
5597     ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5598     else
5599     ac_dir_suffix= ac_top_builddir=
5600     fi
5601    
5602     case $srcdir in
5603     .) # No --srcdir option. We are building in place.
5604     ac_srcdir=.
5605     if test -z "$ac_top_builddir"; then
5606     ac_top_srcdir=.
5607     else
5608     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5609     fi ;;
5610     [\\/]* | ?:[\\/]* ) # Absolute path.
5611     ac_srcdir=$srcdir$ac_dir_suffix;
5612     ac_top_srcdir=$srcdir ;;
5613     *) # Relative path.
5614     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5615     ac_top_srcdir=$ac_top_builddir$srcdir ;;
5616     esac
5617 sysadm 1.2
5618     # Do not use `cd foo && pwd` to compute absolute paths, because
5619     # the directories may not exist.
5620     case `pwd` in
5621     .) ac_abs_builddir="$ac_dir";;
5622     *)
5623     case "$ac_dir" in
5624     .) ac_abs_builddir=`pwd`;;
5625     [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5626     *) ac_abs_builddir=`pwd`/"$ac_dir";;
5627     esac;;
5628     esac
5629     case $ac_abs_builddir in
5630     .) ac_abs_top_builddir=${ac_top_builddir}.;;
5631     *)
5632     case ${ac_top_builddir}. in
5633     .) ac_abs_top_builddir=$ac_abs_builddir;;
5634     [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5635     *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5636     esac;;
5637     esac
5638     case $ac_abs_builddir in
5639     .) ac_abs_srcdir=$ac_srcdir;;
5640     *)
5641     case $ac_srcdir in
5642     .) ac_abs_srcdir=$ac_abs_builddir;;
5643     [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5644     *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5645     esac;;
5646     esac
5647     case $ac_abs_builddir in
5648     .) ac_abs_top_srcdir=$ac_top_srcdir;;
5649     *)
5650     case $ac_top_srcdir in
5651     .) ac_abs_top_srcdir=$ac_abs_builddir;;
5652     [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5653     *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5654     esac;;
5655     esac
5656 sysadm 1.1
5657    
5658     case $INSTALL in
5659     [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5660     *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5661     esac
5662    
5663     if test x"$ac_file" != x-; then
5664     { echo "$as_me:$LINENO: creating $ac_file" >&5
5665     echo "$as_me: creating $ac_file" >&6;}
5666     rm -f "$ac_file"
5667     fi
5668     # Let's still pretend it is `configure' which instantiates (i.e., don't
5669     # use $as_me), people would be surprised to read:
5670     # /* config.h. Generated by config.status. */
5671     if test x"$ac_file" = x-; then
5672     configure_input=
5673     else
5674     configure_input="$ac_file. "
5675     fi
5676     configure_input=$configure_input"Generated from `echo $ac_file_in |
5677 sysadm 1.2 sed 's,.*/,,'` by configure."
5678 sysadm 1.1
5679     # First look for the input files in the build tree, otherwise in the
5680     # src tree.
5681     ac_file_inputs=`IFS=:
5682     for f in $ac_file_in; do
5683     case $f in
5684     -) echo $tmp/stdin ;;
5685     [\\/$]*)
5686 sysadm 1.2 # Absolute (can't be DOS-style, as IFS=:)
5687     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5688 sysadm 1.1 echo "$as_me: error: cannot find input file: $f" >&2;}
5689     { (exit 1); exit 1; }; }
5690 sysadm 1.2 echo "$f";;
5691 sysadm 1.1 *) # Relative
5692 sysadm 1.2 if test -f "$f"; then
5693     # Build tree
5694     echo "$f"
5695     elif test -f "$srcdir/$f"; then
5696     # Source tree
5697     echo "$srcdir/$f"
5698     else
5699     # /dev/null tree
5700     { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5701 sysadm 1.1 echo "$as_me: error: cannot find input file: $f" >&2;}
5702     { (exit 1); exit 1; }; }
5703 sysadm 1.2 fi;;
5704 sysadm 1.1 esac
5705     done` || { (exit 1); exit 1; }
5706     _ACEOF
5707     cat >>$CONFIG_STATUS <<_ACEOF
5708     sed "$ac_vpsub
5709     $extrasub
5710     _ACEOF
5711     cat >>$CONFIG_STATUS <<\_ACEOF
5712     :t
5713     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5714     s,@configure_input@,$configure_input,;t t
5715     s,@srcdir@,$ac_srcdir,;t t
5716     s,@abs_srcdir@,$ac_abs_srcdir,;t t
5717     s,@top_srcdir@,$ac_top_srcdir,;t t
5718     s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5719     s,@builddir@,$ac_builddir,;t t
5720     s,@abs_builddir@,$ac_abs_builddir,;t t
5721     s,@top_builddir@,$ac_top_builddir,;t t
5722     s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5723     s,@INSTALL@,$ac_INSTALL,;t t
5724     " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5725     rm -f $tmp/stdin
5726     if test x"$ac_file" != x-; then
5727     mv $tmp/out $ac_file
5728     else
5729     cat $tmp/out
5730     rm -f $tmp/out
5731     fi
5732    
5733     done
5734     _ACEOF
5735     cat >>$CONFIG_STATUS <<\_ACEOF
5736    
5737     #
5738     # CONFIG_COMMANDS section.
5739     #
5740     for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5741     ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5742     ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5743     ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5744     $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5745 sysadm 1.2 X"$ac_dest" : 'X\(//\)[^/]' \| \
5746     X"$ac_dest" : 'X\(//\)$' \| \
5747     X"$ac_dest" : 'X\(/\)' \| \
5748     . : '\(.\)' 2>/dev/null ||
5749 sysadm 1.1 echo X"$ac_dest" |
5750     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5751     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5752     /^X\(\/\/\)$/{ s//\1/; q; }
5753     /^X\(\/\).*/{ s//\1/; q; }
5754     s/.*/./; q'`
5755 sysadm 1.2 { if $as_mkdir_p; then
5756     mkdir -p "$ac_dir"
5757     else
5758     as_dir="$ac_dir"
5759     as_dirs=
5760     while test ! -d "$as_dir"; do
5761     as_dirs="$as_dir $as_dirs"
5762     as_dir=`(dirname "$as_dir") 2>/dev/null ||
5763     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5764     X"$as_dir" : 'X\(//\)[^/]' \| \
5765     X"$as_dir" : 'X\(//\)$' \| \
5766     X"$as_dir" : 'X\(/\)' \| \
5767     . : '\(.\)' 2>/dev/null ||
5768     echo X"$as_dir" |
5769     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5770     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5771     /^X\(\/\/\)$/{ s//\1/; q; }
5772     /^X\(\/\).*/{ s//\1/; q; }
5773     s/.*/./; q'`
5774     done
5775     test ! -n "$as_dirs" || mkdir $as_dirs
5776     fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5777     echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5778     { (exit 1); exit 1; }; }; }
5779    
5780 sysadm 1.1 ac_builddir=.
5781    
5782     if test "$ac_dir" != .; then
5783     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5784     # A "../" for each directory in $ac_dir_suffix.
5785     ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5786     else
5787     ac_dir_suffix= ac_top_builddir=
5788     fi
5789    
5790     case $srcdir in
5791     .) # No --srcdir option. We are building in place.
5792     ac_srcdir=.
5793     if test -z "$ac_top_builddir"; then
5794     ac_top_srcdir=.
5795     else
5796     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5797     fi ;;
5798     [\\/]* | ?:[\\/]* ) # Absolute path.
5799     ac_srcdir=$srcdir$ac_dir_suffix;
5800     ac_top_srcdir=$srcdir ;;
5801     *) # Relative path.
5802     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5803     ac_top_srcdir=$ac_top_builddir$srcdir ;;
5804     esac
5805 sysadm 1.2
5806     # Do not use `cd foo && pwd` to compute absolute paths, because
5807     # the directories may not exist.
5808     case `pwd` in
5809     .) ac_abs_builddir="$ac_dir";;
5810     *)
5811     case "$ac_dir" in
5812     .) ac_abs_builddir=`pwd`;;
5813     [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5814     *) ac_abs_builddir=`pwd`/"$ac_dir";;
5815     esac;;
5816     esac
5817     case $ac_abs_builddir in
5818     .) ac_abs_top_builddir=${ac_top_builddir}.;;
5819     *)
5820     case ${ac_top_builddir}. in
5821     .) ac_abs_top_builddir=$ac_abs_builddir;;
5822     [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5823     *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5824     esac;;
5825     esac
5826     case $ac_abs_builddir in
5827     .) ac_abs_srcdir=$ac_srcdir;;
5828     *)
5829     case $ac_srcdir in
5830     .) ac_abs_srcdir=$ac_abs_builddir;;
5831     [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5832     *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5833     esac;;
5834     esac
5835     case $ac_abs_builddir in
5836     .) ac_abs_top_srcdir=$ac_top_srcdir;;
5837     *)
5838     case $ac_top_srcdir in
5839     .) ac_abs_top_srcdir=$ac_abs_builddir;;
5840     [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5841     *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5842     esac;;
5843     esac
5844 sysadm 1.1
5845    
5846     { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5847     echo "$as_me: executing $ac_dest commands" >&6;}
5848     case $ac_dest in
5849     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5850     # Strip MF so we end up with the name of the file.
5851     mf=`echo "$mf" | sed -e 's/:.*$//'`
5852     # Check whether this is an Automake generated Makefile or not.
5853     # We used to match only the files named `Makefile.in', but
5854     # some people rename them; so instead we look at the file content.
5855     # Grep'ing the first line is not enough: some people post-process
5856     # each Makefile.in and add a new line on top of each file to say so.
5857     # So let's grep whole file.
5858     if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5859     dirpart=`(dirname "$mf") 2>/dev/null ||
5860     $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5861 sysadm 1.2 X"$mf" : 'X\(//\)[^/]' \| \
5862     X"$mf" : 'X\(//\)$' \| \
5863     X"$mf" : 'X\(/\)' \| \
5864     . : '\(.\)' 2>/dev/null ||
5865 sysadm 1.1 echo X"$mf" |
5866     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5867     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5868     /^X\(\/\/\)$/{ s//\1/; q; }
5869     /^X\(\/\).*/{ s//\1/; q; }
5870     s/.*/./; q'`
5871     else
5872     continue
5873     fi
5874     grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5875     # Extract the definition of DEP_FILES from the Makefile without
5876     # running `make'.
5877 sysadm 1.2 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5878 sysadm 1.1 test -z "$DEPDIR" && continue
5879     # When using ansi2knr, U may be empty or an underscore; expand it
5880 sysadm 1.2 U=`sed -n 's/^U = //p' < "$mf"`
5881 sysadm 1.1 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5882     # We invoke sed twice because it is the simplest approach to
5883     # changing $(DEPDIR) to its actual value in the expansion.
5884 sysadm 1.2 for file in `sed -n '
5885 sysadm 1.1 /^DEP_FILES = .*\\\\$/ {
5886     s/^DEP_FILES = //
5887     :loop
5888     s/\\\\$//
5889     p
5890     n
5891     /\\\\$/ b loop
5892     p
5893     }
5894     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5895     sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5896     # Make sure the directory exists.
5897     test -f "$dirpart/$file" && continue
5898     fdir=`(dirname "$file") 2>/dev/null ||
5899     $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5900 sysadm 1.2 X"$file" : 'X\(//\)[^/]' \| \
5901     X"$file" : 'X\(//\)$' \| \
5902     X"$file" : 'X\(/\)' \| \
5903     . : '\(.\)' 2>/dev/null ||
5904 sysadm 1.1 echo X"$file" |
5905     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5906     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5907     /^X\(\/\/\)$/{ s//\1/; q; }
5908     /^X\(\/\).*/{ s//\1/; q; }
5909     s/.*/./; q'`
5910     { if $as_mkdir_p; then
5911     mkdir -p $dirpart/$fdir
5912     else
5913     as_dir=$dirpart/$fdir
5914     as_dirs=
5915     while test ! -d "$as_dir"; do
5916     as_dirs="$as_dir $as_dirs"
5917     as_dir=`(dirname "$as_dir") 2>/dev/null ||
5918     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5919 sysadm 1.2 X"$as_dir" : 'X\(//\)[^/]' \| \
5920     X"$as_dir" : 'X\(//\)$' \| \
5921     X"$as_dir" : 'X\(/\)' \| \
5922     . : '\(.\)' 2>/dev/null ||
5923 sysadm 1.1 echo X"$as_dir" |
5924     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5925     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5926     /^X\(\/\/\)$/{ s//\1/; q; }
5927     /^X\(\/\).*/{ s//\1/; q; }
5928     s/.*/./; q'`
5929     done
5930     test ! -n "$as_dirs" || mkdir $as_dirs
5931     fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5932     echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5933     { (exit 1); exit 1; }; }; }
5934    
5935     # echo "creating $dirpart/$file"
5936     echo '# dummy' > "$dirpart/$file"
5937     done
5938     done
5939     ;;
5940     esac
5941     done
5942     _ACEOF
5943    
5944     cat >>$CONFIG_STATUS <<\_ACEOF
5945    
5946     { (exit 0); exit 0; }
5947     _ACEOF
5948     chmod +x $CONFIG_STATUS
5949     ac_clean_files=$ac_clean_files_save
5950    
5951    
5952     # configure is writing to config.log, and then calls config.status.
5953     # config.status does its own redirection, appending to config.log.
5954     # Unfortunately, on DOS this fails, as config.log is still kept open
5955     # by configure, so config.status won't be able to write to it; its
5956     # output is simply discarded. So we exec the FD to /dev/null,
5957     # effectively closing config.log, so it can be properly (re)opened and
5958     # appended to by config.status. When coming back to configure, we
5959     # need to make the FD available again.
5960     if test "$no_create" != yes; then
5961     ac_cs_success=:
5962     ac_config_status_args=
5963     test "$silent" = yes &&
5964     ac_config_status_args="$ac_config_status_args --quiet"
5965     exec 5>/dev/null
5966     $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5967     exec 5>>config.log
5968     # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5969     # would make configure fail if this is the last instruction.
5970     $ac_cs_success || { (exit 1); exit 1; }
5971     fi
5972    

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