/[LeafOK_CVS]/lbbs/configure
ViewVC logotype

Annotation of /lbbs/configure

Parent Directory Parent Directory | Revision Log Revision Log


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

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