/[LeafOK_CVS]/lbbs/configure
ViewVC logotype

Annotation of /lbbs/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations)
Mon Oct 18 08:17:59 2004 UTC (21 years, 5 months ago) by sysadm
Branch: MAIN
Changes since 1.2: +1 -4 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.2 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 LIBOBJS LTLIBOBJS'
276 sysadm 1.1 ac_subst_files=''
277    
278     # Initialize some variables set by options.
279     ac_init_help=
280     ac_init_version=false
281     # The variables have the same names as the options, with
282     # dashes changed to underlines.
283     cache_file=/dev/null
284     exec_prefix=NONE
285     no_create=
286     no_recursion=
287     prefix=NONE
288     program_prefix=NONE
289     program_suffix=NONE
290     program_transform_name=s,x,x,
291     silent=
292     site=
293     srcdir=
294     verbose=
295     x_includes=NONE
296     x_libraries=NONE
297    
298     # Installation directory options.
299     # These are left unexpanded so users can "make install exec_prefix=/foo"
300     # and all the variables that are supposed to be based on exec_prefix
301     # by default will actually change.
302     # Use braces instead of parens because sh, perl, etc. also accept them.
303     bindir='${exec_prefix}/bin'
304     sbindir='${exec_prefix}/sbin'
305     libexecdir='${exec_prefix}/libexec'
306     datadir='${prefix}/share'
307     sysconfdir='${prefix}/etc'
308     sharedstatedir='${prefix}/com'
309     localstatedir='${prefix}/var'
310     libdir='${exec_prefix}/lib'
311     includedir='${prefix}/include'
312     oldincludedir='/usr/include'
313     infodir='${prefix}/info'
314     mandir='${prefix}/man'
315    
316     ac_prev=
317     for ac_option
318     do
319     # If the previous option needs an argument, assign it.
320     if test -n "$ac_prev"; then
321     eval "$ac_prev=\$ac_option"
322     ac_prev=
323     continue
324     fi
325    
326     ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
327    
328     # Accept the important Cygnus configure options, so we can diagnose typos.
329    
330     case $ac_option in
331    
332     -bindir | --bindir | --bindi | --bind | --bin | --bi)
333     ac_prev=bindir ;;
334     -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
335     bindir=$ac_optarg ;;
336    
337     -build | --build | --buil | --bui | --bu)
338     ac_prev=build_alias ;;
339     -build=* | --build=* | --buil=* | --bui=* | --bu=*)
340     build_alias=$ac_optarg ;;
341    
342     -cache-file | --cache-file | --cache-fil | --cache-fi \
343     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
344     ac_prev=cache_file ;;
345     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
346     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
347     cache_file=$ac_optarg ;;
348    
349     --config-cache | -C)
350     cache_file=config.cache ;;
351    
352     -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
353     ac_prev=datadir ;;
354     -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
355     | --da=*)
356     datadir=$ac_optarg ;;
357    
358     -disable-* | --disable-*)
359     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
360     # Reject names that are not valid shell variable names.
361     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
362     { echo "$as_me: error: invalid feature name: $ac_feature" >&2
363     { (exit 1); exit 1; }; }
364     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
365     eval "enable_$ac_feature=no" ;;
366    
367     -enable-* | --enable-*)
368     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
369     # Reject names that are not valid shell variable names.
370     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
371     { echo "$as_me: error: invalid feature name: $ac_feature" >&2
372     { (exit 1); exit 1; }; }
373     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
374     case $ac_option in
375     *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
376     *) ac_optarg=yes ;;
377     esac
378     eval "enable_$ac_feature='$ac_optarg'" ;;
379    
380     -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
381     | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
382     | --exec | --exe | --ex)
383     ac_prev=exec_prefix ;;
384     -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
385     | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
386     | --exec=* | --exe=* | --ex=*)
387     exec_prefix=$ac_optarg ;;
388    
389     -gas | --gas | --ga | --g)
390     # Obsolete; use --with-gas.
391     with_gas=yes ;;
392    
393     -help | --help | --hel | --he | -h)
394     ac_init_help=long ;;
395     -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
396     ac_init_help=recursive ;;
397     -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
398     ac_init_help=short ;;
399    
400     -host | --host | --hos | --ho)
401     ac_prev=host_alias ;;
402     -host=* | --host=* | --hos=* | --ho=*)
403     host_alias=$ac_optarg ;;
404    
405     -includedir | --includedir | --includedi | --included | --include \
406     | --includ | --inclu | --incl | --inc)
407     ac_prev=includedir ;;
408     -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
409     | --includ=* | --inclu=* | --incl=* | --inc=*)
410     includedir=$ac_optarg ;;
411    
412     -infodir | --infodir | --infodi | --infod | --info | --inf)
413     ac_prev=infodir ;;
414     -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
415     infodir=$ac_optarg ;;
416    
417     -libdir | --libdir | --libdi | --libd)
418     ac_prev=libdir ;;
419     -libdir=* | --libdir=* | --libdi=* | --libd=*)
420     libdir=$ac_optarg ;;
421    
422     -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
423     | --libexe | --libex | --libe)
424     ac_prev=libexecdir ;;
425     -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
426     | --libexe=* | --libex=* | --libe=*)
427     libexecdir=$ac_optarg ;;
428    
429     -localstatedir | --localstatedir | --localstatedi | --localstated \
430     | --localstate | --localstat | --localsta | --localst \
431     | --locals | --local | --loca | --loc | --lo)
432     ac_prev=localstatedir ;;
433     -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
434     | --localstate=* | --localstat=* | --localsta=* | --localst=* \
435     | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
436     localstatedir=$ac_optarg ;;
437    
438     -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
439     ac_prev=mandir ;;
440     -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
441     mandir=$ac_optarg ;;
442    
443     -nfp | --nfp | --nf)
444     # Obsolete; use --without-fp.
445     with_fp=no ;;
446    
447     -no-create | --no-create | --no-creat | --no-crea | --no-cre \
448     | --no-cr | --no-c | -n)
449     no_create=yes ;;
450    
451     -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452     | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
453     no_recursion=yes ;;
454    
455     -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
456     | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
457     | --oldin | --oldi | --old | --ol | --o)
458     ac_prev=oldincludedir ;;
459     -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
460     | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
461     | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
462     oldincludedir=$ac_optarg ;;
463    
464     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
465     ac_prev=prefix ;;
466     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
467     prefix=$ac_optarg ;;
468    
469     -program-prefix | --program-prefix | --program-prefi | --program-pref \
470     | --program-pre | --program-pr | --program-p)
471     ac_prev=program_prefix ;;
472     -program-prefix=* | --program-prefix=* | --program-prefi=* \
473     | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
474     program_prefix=$ac_optarg ;;
475    
476     -program-suffix | --program-suffix | --program-suffi | --program-suff \
477     | --program-suf | --program-su | --program-s)
478     ac_prev=program_suffix ;;
479     -program-suffix=* | --program-suffix=* | --program-suffi=* \
480     | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
481     program_suffix=$ac_optarg ;;
482    
483     -program-transform-name | --program-transform-name \
484     | --program-transform-nam | --program-transform-na \
485     | --program-transform-n | --program-transform- \
486     | --program-transform | --program-transfor \
487     | --program-transfo | --program-transf \
488     | --program-trans | --program-tran \
489     | --progr-tra | --program-tr | --program-t)
490     ac_prev=program_transform_name ;;
491     -program-transform-name=* | --program-transform-name=* \
492     | --program-transform-nam=* | --program-transform-na=* \
493     | --program-transform-n=* | --program-transform-=* \
494     | --program-transform=* | --program-transfor=* \
495     | --program-transfo=* | --program-transf=* \
496     | --program-trans=* | --program-tran=* \
497     | --progr-tra=* | --program-tr=* | --program-t=*)
498     program_transform_name=$ac_optarg ;;
499    
500     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
501     | -silent | --silent | --silen | --sile | --sil)
502     silent=yes ;;
503    
504     -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
505     ac_prev=sbindir ;;
506     -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
507     | --sbi=* | --sb=*)
508     sbindir=$ac_optarg ;;
509    
510     -sharedstatedir | --sharedstatedir | --sharedstatedi \
511     | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
512     | --sharedst | --shareds | --shared | --share | --shar \
513     | --sha | --sh)
514     ac_prev=sharedstatedir ;;
515     -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
516     | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
517     | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
518     | --sha=* | --sh=*)
519     sharedstatedir=$ac_optarg ;;
520    
521     -site | --site | --sit)
522     ac_prev=site ;;
523     -site=* | --site=* | --sit=*)
524     site=$ac_optarg ;;
525    
526     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
527     ac_prev=srcdir ;;
528     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
529     srcdir=$ac_optarg ;;
530    
531     -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
532     | --syscon | --sysco | --sysc | --sys | --sy)
533     ac_prev=sysconfdir ;;
534     -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
535     | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
536     sysconfdir=$ac_optarg ;;
537    
538     -target | --target | --targe | --targ | --tar | --ta | --t)
539     ac_prev=target_alias ;;
540     -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
541     target_alias=$ac_optarg ;;
542    
543     -v | -verbose | --verbose | --verbos | --verbo | --verb)
544     verbose=yes ;;
545    
546     -version | --version | --versio | --versi | --vers | -V)
547     ac_init_version=: ;;
548    
549     -with-* | --with-*)
550     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
551     # Reject names that are not valid shell variable names.
552     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553     { echo "$as_me: error: invalid package name: $ac_package" >&2
554     { (exit 1); exit 1; }; }
555     ac_package=`echo $ac_package| sed 's/-/_/g'`
556     case $ac_option in
557     *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
558     *) ac_optarg=yes ;;
559     esac
560     eval "with_$ac_package='$ac_optarg'" ;;
561    
562     -without-* | --without-*)
563     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
564     # Reject names that are not valid shell variable names.
565     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566     { echo "$as_me: error: invalid package name: $ac_package" >&2
567     { (exit 1); exit 1; }; }
568     ac_package=`echo $ac_package | sed 's/-/_/g'`
569     eval "with_$ac_package=no" ;;
570    
571     --x)
572     # Obsolete; use --with-x.
573     with_x=yes ;;
574    
575     -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
576     | --x-incl | --x-inc | --x-in | --x-i)
577     ac_prev=x_includes ;;
578     -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
579     | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
580     x_includes=$ac_optarg ;;
581    
582     -x-libraries | --x-libraries | --x-librarie | --x-librari \
583     | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
584     ac_prev=x_libraries ;;
585     -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
586     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
587     x_libraries=$ac_optarg ;;
588    
589     -*) { echo "$as_me: error: unrecognized option: $ac_option
590     Try \`$0 --help' for more information." >&2
591     { (exit 1); exit 1; }; }
592     ;;
593    
594     *=*)
595     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
596     # Reject names that are not valid shell variable names.
597     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
598     { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
599     { (exit 1); exit 1; }; }
600     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
601     eval "$ac_envvar='$ac_optarg'"
602     export $ac_envvar ;;
603    
604     *)
605     # FIXME: should be removed in autoconf 3.0.
606     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
607     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
608     echo "$as_me: WARNING: invalid host type: $ac_option" >&2
609     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
610     ;;
611    
612     esac
613     done
614    
615     if test -n "$ac_prev"; then
616     ac_option=--`echo $ac_prev | sed 's/_/-/g'`
617     { echo "$as_me: error: missing argument to $ac_option" >&2
618     { (exit 1); exit 1; }; }
619     fi
620    
621     # Be sure to have absolute paths.
622     for ac_var in exec_prefix prefix
623     do
624     eval ac_val=$`echo $ac_var`
625     case $ac_val in
626     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
627     *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
628     { (exit 1); exit 1; }; };;
629     esac
630     done
631    
632     # Be sure to have absolute paths.
633     for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
634 sysadm 1.2 localstatedir libdir includedir oldincludedir infodir mandir
635 sysadm 1.1 do
636     eval ac_val=$`echo $ac_var`
637     case $ac_val in
638     [\\/$]* | ?:[\\/]* ) ;;
639     *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
640     { (exit 1); exit 1; }; };;
641     esac
642     done
643    
644     # There might be people who depend on the old broken behavior: `$host'
645     # used to hold the argument of --host etc.
646     # FIXME: To remove some day.
647     build=$build_alias
648     host=$host_alias
649     target=$target_alias
650    
651     # FIXME: To remove some day.
652     if test "x$host_alias" != x; then
653     if test "x$build_alias" = x; then
654     cross_compiling=maybe
655     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
656     If a cross compiler is detected then cross compile mode will be used." >&2
657     elif test "x$build_alias" != "x$host_alias"; then
658     cross_compiling=yes
659     fi
660     fi
661    
662     ac_tool_prefix=
663     test -n "$host_alias" && ac_tool_prefix=$host_alias-
664    
665     test "$silent" = yes && exec 6>/dev/null
666    
667    
668     # Find the source files, if location was not specified.
669     if test -z "$srcdir"; then
670     ac_srcdir_defaulted=yes
671     # Try the directory containing this script, then its parent.
672     ac_confdir=`(dirname "$0") 2>/dev/null ||
673     $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
674 sysadm 1.2 X"$0" : 'X\(//\)[^/]' \| \
675     X"$0" : 'X\(//\)$' \| \
676     X"$0" : 'X\(/\)' \| \
677     . : '\(.\)' 2>/dev/null ||
678 sysadm 1.1 echo X"$0" |
679     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
680     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
681     /^X\(\/\/\)$/{ s//\1/; q; }
682     /^X\(\/\).*/{ s//\1/; q; }
683     s/.*/./; q'`
684     srcdir=$ac_confdir
685     if test ! -r $srcdir/$ac_unique_file; then
686     srcdir=..
687     fi
688     else
689     ac_srcdir_defaulted=no
690     fi
691     if test ! -r $srcdir/$ac_unique_file; then
692     if test "$ac_srcdir_defaulted" = yes; then
693     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
694     { (exit 1); exit 1; }; }
695     else
696     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
697     { (exit 1); exit 1; }; }
698     fi
699     fi
700     (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
701     { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
702     { (exit 1); exit 1; }; }
703     srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
704     ac_env_build_alias_set=${build_alias+set}
705     ac_env_build_alias_value=$build_alias
706     ac_cv_env_build_alias_set=${build_alias+set}
707     ac_cv_env_build_alias_value=$build_alias
708     ac_env_host_alias_set=${host_alias+set}
709     ac_env_host_alias_value=$host_alias
710     ac_cv_env_host_alias_set=${host_alias+set}
711     ac_cv_env_host_alias_value=$host_alias
712     ac_env_target_alias_set=${target_alias+set}
713     ac_env_target_alias_value=$target_alias
714     ac_cv_env_target_alias_set=${target_alias+set}
715     ac_cv_env_target_alias_value=$target_alias
716     ac_env_CC_set=${CC+set}
717     ac_env_CC_value=$CC
718     ac_cv_env_CC_set=${CC+set}
719     ac_cv_env_CC_value=$CC
720     ac_env_CFLAGS_set=${CFLAGS+set}
721     ac_env_CFLAGS_value=$CFLAGS
722     ac_cv_env_CFLAGS_set=${CFLAGS+set}
723     ac_cv_env_CFLAGS_value=$CFLAGS
724     ac_env_LDFLAGS_set=${LDFLAGS+set}
725     ac_env_LDFLAGS_value=$LDFLAGS
726     ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
727     ac_cv_env_LDFLAGS_value=$LDFLAGS
728     ac_env_CPPFLAGS_set=${CPPFLAGS+set}
729     ac_env_CPPFLAGS_value=$CPPFLAGS
730     ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
731     ac_cv_env_CPPFLAGS_value=$CPPFLAGS
732    
733     #
734     # Report the --help message.
735     #
736     if test "$ac_init_help" = "long"; then
737     # Omit some internal or obsolete options to make the list less imposing.
738     # This message is too long to be a string in the A/UX 3.1 sh.
739     cat <<_ACEOF
740     \`configure' configures bbsd 1.0 to adapt to many kinds of systems.
741    
742     Usage: $0 [OPTION]... [VAR=VALUE]...
743    
744     To assign environment variables (e.g., CC, CFLAGS...), specify them as
745     VAR=VALUE. See below for descriptions of some of the useful variables.
746    
747     Defaults for the options are specified in brackets.
748    
749     Configuration:
750     -h, --help display this help and exit
751     --help=short display options specific to this package
752     --help=recursive display the short help of all the included packages
753     -V, --version display version information and exit
754     -q, --quiet, --silent do not print \`checking...' messages
755     --cache-file=FILE cache test results in FILE [disabled]
756     -C, --config-cache alias for \`--cache-file=config.cache'
757     -n, --no-create do not create output files
758     --srcdir=DIR find the sources in DIR [configure dir or \`..']
759    
760     _ACEOF
761    
762     cat <<_ACEOF
763     Installation directories:
764     --prefix=PREFIX install architecture-independent files in PREFIX
765 sysadm 1.2 [$ac_default_prefix]
766 sysadm 1.1 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
767 sysadm 1.2 [PREFIX]
768 sysadm 1.1
769     By default, \`make install' will install all the files in
770     \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
771     an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772     for instance \`--prefix=\$HOME'.
773    
774     For better control, use the options below.
775    
776     Fine tuning of the installation directories:
777     --bindir=DIR user executables [EPREFIX/bin]
778     --sbindir=DIR system admin executables [EPREFIX/sbin]
779     --libexecdir=DIR program executables [EPREFIX/libexec]
780     --datadir=DIR read-only architecture-independent data [PREFIX/share]
781     --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
782     --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
783     --localstatedir=DIR modifiable single-machine data [PREFIX/var]
784     --libdir=DIR object code libraries [EPREFIX/lib]
785     --includedir=DIR C header files [PREFIX/include]
786     --oldincludedir=DIR C header files for non-gcc [/usr/include]
787     --infodir=DIR info documentation [PREFIX/info]
788     --mandir=DIR man documentation [PREFIX/man]
789     _ACEOF
790    
791     cat <<\_ACEOF
792    
793     Program names:
794     --program-prefix=PREFIX prepend PREFIX to installed program names
795     --program-suffix=SUFFIX append SUFFIX to installed program names
796     --program-transform-name=PROGRAM run sed PROGRAM on installed program names
797     _ACEOF
798     fi
799    
800     if test -n "$ac_init_help"; then
801     case $ac_init_help in
802     short | recursive ) echo "Configuration of bbsd 1.0:";;
803     esac
804     cat <<\_ACEOF
805    
806     Optional Features:
807     --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
808     --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
809 sysadm 1.2 --disable-dependency-tracking speeds up one-time build
810     --enable-dependency-tracking do not reject slow dependency extractors
811 sysadm 1.1
812     Some influential environment variables:
813     CC C compiler command
814     CFLAGS C compiler flags
815     LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
816     nonstandard directory <lib dir>
817     CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
818     headers in a nonstandard directory <include dir>
819    
820     Use these variables to override the choices made by `configure' or to help
821     it to find libraries and programs with nonstandard names/locations.
822    
823     _ACEOF
824     fi
825    
826     if test "$ac_init_help" = "recursive"; then
827     # If there are subdirs, report their specific --help.
828     ac_popdir=`pwd`
829     for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
830     test -d $ac_dir || continue
831     ac_builddir=.
832    
833     if test "$ac_dir" != .; then
834     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
835     # A "../" for each directory in $ac_dir_suffix.
836     ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
837     else
838     ac_dir_suffix= ac_top_builddir=
839     fi
840    
841     case $srcdir in
842     .) # No --srcdir option. We are building in place.
843     ac_srcdir=.
844     if test -z "$ac_top_builddir"; then
845     ac_top_srcdir=.
846     else
847     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
848     fi ;;
849     [\\/]* | ?:[\\/]* ) # Absolute path.
850     ac_srcdir=$srcdir$ac_dir_suffix;
851     ac_top_srcdir=$srcdir ;;
852     *) # Relative path.
853     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
854     ac_top_srcdir=$ac_top_builddir$srcdir ;;
855     esac
856 sysadm 1.2
857     # Do not use `cd foo && pwd` to compute absolute paths, because
858     # the directories may not exist.
859     case `pwd` in
860     .) ac_abs_builddir="$ac_dir";;
861     *)
862     case "$ac_dir" in
863     .) ac_abs_builddir=`pwd`;;
864     [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
865     *) ac_abs_builddir=`pwd`/"$ac_dir";;
866     esac;;
867     esac
868     case $ac_abs_builddir in
869     .) ac_abs_top_builddir=${ac_top_builddir}.;;
870     *)
871     case ${ac_top_builddir}. in
872     .) ac_abs_top_builddir=$ac_abs_builddir;;
873     [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
874     *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
875     esac;;
876     esac
877     case $ac_abs_builddir in
878     .) ac_abs_srcdir=$ac_srcdir;;
879     *)
880     case $ac_srcdir in
881     .) ac_abs_srcdir=$ac_abs_builddir;;
882     [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
883     *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
884     esac;;
885     esac
886     case $ac_abs_builddir in
887     .) ac_abs_top_srcdir=$ac_top_srcdir;;
888     *)
889     case $ac_top_srcdir in
890     .) ac_abs_top_srcdir=$ac_abs_builddir;;
891     [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
892     *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
893     esac;;
894     esac
895 sysadm 1.1
896     cd $ac_dir
897     # Check for guested configure; otherwise get Cygnus style configure.
898     if test -f $ac_srcdir/configure.gnu; then
899     echo
900     $SHELL $ac_srcdir/configure.gnu --help=recursive
901     elif test -f $ac_srcdir/configure; then
902     echo
903     $SHELL $ac_srcdir/configure --help=recursive
904     elif test -f $ac_srcdir/configure.ac ||
905 sysadm 1.2 test -f $ac_srcdir/configure.in; then
906 sysadm 1.1 echo
907     $ac_configure --help
908     else
909     echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
910     fi
911     cd $ac_popdir
912     done
913     fi
914    
915     test -n "$ac_init_help" && exit 0
916     if $ac_init_version; then
917     cat <<\_ACEOF
918     bbsd configure 1.0
919 sysadm 1.2 generated by GNU Autoconf 2.59
920 sysadm 1.1
921 sysadm 1.2 Copyright (C) 2003 Free Software Foundation, Inc.
922 sysadm 1.1 This configure script is free software; the Free Software Foundation
923     gives unlimited permission to copy, distribute and modify it.
924     _ACEOF
925     exit 0
926     fi
927     exec 5>config.log
928     cat >&5 <<_ACEOF
929     This file contains any messages produced by compilers while
930     running configure, to aid debugging if configure makes a mistake.
931    
932     It was created by bbsd $as_me 1.0, which was
933 sysadm 1.2 generated by GNU Autoconf 2.59. Invocation command line was
934 sysadm 1.1
935     $ $0 $@
936    
937     _ACEOF
938     {
939     cat <<_ASUNAME
940     ## --------- ##
941     ## Platform. ##
942     ## --------- ##
943    
944     hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
945     uname -m = `(uname -m) 2>/dev/null || echo unknown`
946     uname -r = `(uname -r) 2>/dev/null || echo unknown`
947     uname -s = `(uname -s) 2>/dev/null || echo unknown`
948     uname -v = `(uname -v) 2>/dev/null || echo unknown`
949    
950     /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
951     /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
952    
953     /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
954     /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
955     /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
956     hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
957     /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
958     /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
959     /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
960    
961     _ASUNAME
962    
963     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
964     for as_dir in $PATH
965     do
966     IFS=$as_save_IFS
967     test -z "$as_dir" && as_dir=.
968     echo "PATH: $as_dir"
969     done
970    
971     } >&5
972    
973     cat >&5 <<_ACEOF
974    
975    
976     ## ----------- ##
977     ## Core tests. ##
978     ## ----------- ##
979    
980     _ACEOF
981    
982    
983     # Keep a trace of the command line.
984     # Strip out --no-create and --no-recursion so they do not pile up.
985     # Strip out --silent because we don't want to record it for future runs.
986     # Also quote any args containing shell meta-characters.
987     # Make two passes to allow for proper duplicate-argument suppression.
988     ac_configure_args=
989     ac_configure_args0=
990     ac_configure_args1=
991     ac_sep=
992     ac_must_keep_next=false
993     for ac_pass in 1 2
994     do
995     for ac_arg
996     do
997     case $ac_arg in
998     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
999     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1000     | -silent | --silent | --silen | --sile | --sil)
1001     continue ;;
1002     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1003     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1004     esac
1005     case $ac_pass in
1006     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1007     2)
1008     ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1009     if test $ac_must_keep_next = true; then
1010 sysadm 1.2 ac_must_keep_next=false # Got value, back to normal.
1011 sysadm 1.1 else
1012 sysadm 1.2 case $ac_arg in
1013     *=* | --config-cache | -C | -disable-* | --disable-* \
1014     | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1015     | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1016     | -with-* | --with-* | -without-* | --without-* | --x)
1017     case "$ac_configure_args0 " in
1018     "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1019     esac
1020     ;;
1021     -* ) ac_must_keep_next=true ;;
1022     esac
1023 sysadm 1.1 fi
1024     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1025     # Get rid of the leading space.
1026     ac_sep=" "
1027     ;;
1028     esac
1029     done
1030     done
1031     $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1032     $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1033    
1034     # When interrupted or exit'd, cleanup temporary files, and complete
1035     # config.log. We remove comments because anyway the quotes in there
1036     # would cause problems or look ugly.
1037     # WARNING: Be sure not to use single quotes in there, as some shells,
1038     # such as our DU 5.0 friend, will then `close' the trap.
1039     trap 'exit_status=$?
1040     # Save into config.log some information that might help in debugging.
1041     {
1042     echo
1043    
1044     cat <<\_ASBOX
1045     ## ---------------- ##
1046     ## Cache variables. ##
1047     ## ---------------- ##
1048     _ASBOX
1049     echo
1050     # The following way of writing the cache mishandles newlines in values,
1051     {
1052     (set) 2>&1 |
1053     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1054     *ac_space=\ *)
1055     sed -n \
1056 sysadm 1.2 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1057     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1058 sysadm 1.1 ;;
1059     *)
1060     sed -n \
1061 sysadm 1.2 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1062 sysadm 1.1 ;;
1063     esac;
1064     }
1065     echo
1066    
1067     cat <<\_ASBOX
1068     ## ----------------- ##
1069     ## Output variables. ##
1070     ## ----------------- ##
1071     _ASBOX
1072     echo
1073     for ac_var in $ac_subst_vars
1074     do
1075     eval ac_val=$`echo $ac_var`
1076     echo "$ac_var='"'"'$ac_val'"'"'"
1077     done | sort
1078     echo
1079    
1080     if test -n "$ac_subst_files"; then
1081     cat <<\_ASBOX
1082     ## ------------- ##
1083     ## Output files. ##
1084     ## ------------- ##
1085     _ASBOX
1086     echo
1087     for ac_var in $ac_subst_files
1088     do
1089     eval ac_val=$`echo $ac_var`
1090 sysadm 1.2 echo "$ac_var='"'"'$ac_val'"'"'"
1091 sysadm 1.1 done | sort
1092     echo
1093     fi
1094    
1095     if test -s confdefs.h; then
1096     cat <<\_ASBOX
1097     ## ----------- ##
1098     ## confdefs.h. ##
1099     ## ----------- ##
1100     _ASBOX
1101     echo
1102     sed "/^$/d" confdefs.h | sort
1103     echo
1104     fi
1105     test "$ac_signal" != 0 &&
1106     echo "$as_me: caught signal $ac_signal"
1107     echo "$as_me: exit $exit_status"
1108     } >&5
1109 sysadm 1.2 rm -f core *.core &&
1110 sysadm 1.1 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1111     exit $exit_status
1112     ' 0
1113     for ac_signal in 1 2 13 15; do
1114     trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1115     done
1116     ac_signal=0
1117    
1118     # confdefs.h avoids OS command line length limits that DEFS can exceed.
1119     rm -rf conftest* confdefs.h
1120     # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1121     echo >confdefs.h
1122    
1123     # Predefined preprocessor variables.
1124    
1125     cat >>confdefs.h <<_ACEOF
1126     #define PACKAGE_NAME "$PACKAGE_NAME"
1127     _ACEOF
1128    
1129    
1130     cat >>confdefs.h <<_ACEOF
1131     #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1132     _ACEOF
1133    
1134    
1135     cat >>confdefs.h <<_ACEOF
1136     #define PACKAGE_VERSION "$PACKAGE_VERSION"
1137     _ACEOF
1138    
1139    
1140     cat >>confdefs.h <<_ACEOF
1141     #define PACKAGE_STRING "$PACKAGE_STRING"
1142     _ACEOF
1143    
1144    
1145     cat >>confdefs.h <<_ACEOF
1146     #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1147     _ACEOF
1148    
1149    
1150     # Let the site file select an alternate cache file if it wants to.
1151     # Prefer explicitly selected file to automatically selected ones.
1152     if test -z "$CONFIG_SITE"; then
1153     if test "x$prefix" != xNONE; then
1154     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1155     else
1156     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1157     fi
1158     fi
1159     for ac_site_file in $CONFIG_SITE; do
1160     if test -r "$ac_site_file"; then
1161     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1162     echo "$as_me: loading site script $ac_site_file" >&6;}
1163     sed 's/^/| /' "$ac_site_file" >&5
1164     . "$ac_site_file"
1165     fi
1166     done
1167    
1168     if test -r "$cache_file"; then
1169     # Some versions of bash will fail to source /dev/null (special
1170     # files actually), so we avoid doing that.
1171     if test -f "$cache_file"; then
1172     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1173     echo "$as_me: loading cache $cache_file" >&6;}
1174     case $cache_file in
1175     [\\/]* | ?:[\\/]* ) . $cache_file;;
1176     *) . ./$cache_file;;
1177     esac
1178     fi
1179     else
1180     { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1181     echo "$as_me: creating cache $cache_file" >&6;}
1182     >$cache_file
1183     fi
1184    
1185     # Check that the precious variables saved in the cache have kept the same
1186     # value.
1187     ac_cache_corrupted=false
1188     for ac_var in `(set) 2>&1 |
1189 sysadm 1.2 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1190 sysadm 1.1 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1191     eval ac_new_set=\$ac_env_${ac_var}_set
1192     eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1193     eval ac_new_val="\$ac_env_${ac_var}_value"
1194     case $ac_old_set,$ac_new_set in
1195     set,)
1196     { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1197     echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1198     ac_cache_corrupted=: ;;
1199     ,set)
1200     { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1201     echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1202     ac_cache_corrupted=: ;;
1203     ,);;
1204     *)
1205     if test "x$ac_old_val" != "x$ac_new_val"; then
1206 sysadm 1.2 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1207 sysadm 1.1 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1208 sysadm 1.2 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1209 sysadm 1.1 echo "$as_me: former value: $ac_old_val" >&2;}
1210 sysadm 1.2 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1211 sysadm 1.1 echo "$as_me: current value: $ac_new_val" >&2;}
1212 sysadm 1.2 ac_cache_corrupted=:
1213 sysadm 1.1 fi;;
1214     esac
1215     # Pass precious variables to config.status.
1216     if test "$ac_new_set" = set; then
1217     case $ac_new_val in
1218     *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1219     ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1220     *) ac_arg=$ac_var=$ac_new_val ;;
1221     esac
1222     case " $ac_configure_args " in
1223     *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1224     *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1225     esac
1226     fi
1227     done
1228     if $ac_cache_corrupted; then
1229     { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1230     echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1231     { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1232     echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1233     { (exit 1); exit 1; }; }
1234     fi
1235    
1236     ac_ext=c
1237     ac_cpp='$CPP $CPPFLAGS'
1238     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1239     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1240     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1241    
1242    
1243    
1244    
1245    
1246    
1247    
1248    
1249    
1250    
1251    
1252    
1253    
1254    
1255    
1256    
1257    
1258    
1259    
1260    
1261    
1262    
1263    
1264    
1265    
1266    
1267    
1268 sysadm 1.2 am__api_version="1.8"
1269 sysadm 1.1 ac_aux_dir=
1270     for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1271     if test -f $ac_dir/install-sh; then
1272     ac_aux_dir=$ac_dir
1273     ac_install_sh="$ac_aux_dir/install-sh -c"
1274     break
1275     elif test -f $ac_dir/install.sh; then
1276     ac_aux_dir=$ac_dir
1277     ac_install_sh="$ac_aux_dir/install.sh -c"
1278     break
1279     elif test -f $ac_dir/shtool; then
1280     ac_aux_dir=$ac_dir
1281     ac_install_sh="$ac_aux_dir/shtool install -c"
1282     break
1283     fi
1284     done
1285     if test -z "$ac_aux_dir"; then
1286     { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1287     echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1288     { (exit 1); exit 1; }; }
1289     fi
1290     ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1291     ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1292     ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1293    
1294     # Find a good install program. We prefer a C program (faster),
1295     # so one script is as good as another. But avoid the broken or
1296     # incompatible versions:
1297     # SysV /etc/install, /usr/sbin/install
1298     # SunOS /usr/etc/install
1299     # IRIX /sbin/install
1300     # AIX /bin/install
1301     # AmigaOS /C/install, which installs bootblocks on floppy discs
1302     # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1303     # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1304     # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1305 sysadm 1.2 # OS/2's system install, which has a completely different semantic
1306 sysadm 1.1 # ./install, which can be erroneously created by make from ./install.sh.
1307     echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1308     echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1309     if test -z "$INSTALL"; then
1310     if test "${ac_cv_path_install+set}" = set; then
1311     echo $ECHO_N "(cached) $ECHO_C" >&6
1312     else
1313     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1314     for as_dir in $PATH
1315     do
1316     IFS=$as_save_IFS
1317     test -z "$as_dir" && as_dir=.
1318     # Account for people who put trailing slashes in PATH elements.
1319     case $as_dir/ in
1320     ./ | .// | /cC/* | \
1321     /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1322 sysadm 1.2 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1323 sysadm 1.1 /usr/ucb/* ) ;;
1324     *)
1325     # OSF1 and SCO ODT 3.0 have their own names for install.
1326     # Don't use installbsd from OSF since it installs stuff as root
1327     # by default.
1328     for ac_prog in ginstall scoinst install; do
1329     for ac_exec_ext in '' $ac_executable_extensions; do
1330 sysadm 1.2 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1331     if test $ac_prog = install &&
1332     grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1333     # AIX install. It has an incompatible calling convention.
1334     :
1335     elif test $ac_prog = install &&
1336     grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1337     # program-specific install script used by HP pwplus--don't use.
1338     :
1339     else
1340     ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1341     break 3
1342     fi
1343     fi
1344 sysadm 1.1 done
1345     done
1346     ;;
1347     esac
1348     done
1349    
1350    
1351     fi
1352     if test "${ac_cv_path_install+set}" = set; then
1353     INSTALL=$ac_cv_path_install
1354     else
1355     # As a last resort, use the slow shell script. We don't cache a
1356     # path for INSTALL within a source directory, because that will
1357     # break other packages using the cache if that directory is
1358     # removed, or if the path is relative.
1359     INSTALL=$ac_install_sh
1360     fi
1361     fi
1362     echo "$as_me:$LINENO: result: $INSTALL" >&5
1363     echo "${ECHO_T}$INSTALL" >&6
1364    
1365     # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1366     # It thinks the first close brace ends the variable substitution.
1367     test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1368    
1369     test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1370    
1371     test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1372    
1373     echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1374     echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1375     # Just in case
1376     sleep 1
1377     echo timestamp > conftest.file
1378     # Do `set' in a subshell so we don't clobber the current shell's
1379     # arguments. Must try -L first in case configure is actually a
1380     # symlink; some systems play weird games with the mod time of symlinks
1381     # (eg FreeBSD returns the mod time of the symlink's containing
1382     # directory).
1383     if (
1384     set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1385     if test "$*" = "X"; then
1386     # -L didn't work.
1387     set X `ls -t $srcdir/configure conftest.file`
1388     fi
1389     rm -f conftest.file
1390     if test "$*" != "X $srcdir/configure conftest.file" \
1391     && test "$*" != "X conftest.file $srcdir/configure"; then
1392    
1393     # If neither matched, then we have a broken ls. This can happen
1394     # if, for instance, CONFIG_SHELL is bash and it inherits a
1395     # broken ls alias from the environment. This has actually
1396     # happened. Such a system could not be considered "sane".
1397     { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1398     alias in your environment" >&5
1399     echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1400     alias in your environment" >&2;}
1401     { (exit 1); exit 1; }; }
1402     fi
1403    
1404     test "$2" = conftest.file
1405     )
1406     then
1407     # Ok.
1408     :
1409     else
1410     { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1411     Check your system clock" >&5
1412     echo "$as_me: error: newly created file is older than distributed files!
1413     Check your system clock" >&2;}
1414     { (exit 1); exit 1; }; }
1415     fi
1416     echo "$as_me:$LINENO: result: yes" >&5
1417     echo "${ECHO_T}yes" >&6
1418     test "$program_prefix" != NONE &&
1419     program_transform_name="s,^,$program_prefix,;$program_transform_name"
1420     # Use a double $ so make ignores it.
1421     test "$program_suffix" != NONE &&
1422     program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1423     # Double any \ or $. echo might interpret backslashes.
1424     # By default was `s,x,x', remove it if useless.
1425     cat <<\_ACEOF >conftest.sed
1426     s/[\\$]/&&/g;s/;s,x,x,$//
1427     _ACEOF
1428     program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1429     rm conftest.sed
1430    
1431     # expand $ac_aux_dir to an absolute path
1432     am_aux_dir=`cd $ac_aux_dir && pwd`
1433    
1434     test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1435     # Use eval to expand $SHELL
1436     if eval "$MISSING --run true"; then
1437     am_missing_run="$MISSING --run "
1438     else
1439     am_missing_run=
1440     { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1441     echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1442     fi
1443    
1444 sysadm 1.2 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1445     # Keeping the `.' argument allows $(mkdir_p) to be used without
1446     # argument. Indeed, we sometimes output rules like
1447     # $(mkdir_p) $(somedir)
1448     # where $(somedir) is conditionally defined.
1449     # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1450     # expensive solution, as it forces Make to start a sub-shell.)
1451     mkdir_p='mkdir -p -- .'
1452     else
1453     # On NextStep and OpenStep, the `mkdir' command does not
1454     # recognize any option. It will interpret all options as
1455     # directories to create, and then abort because `.' already
1456     # exists.
1457     for d in ./-p ./--version;
1458     do
1459     test -d $d && rmdir $d
1460     done
1461     # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1462     if test -f "$ac_aux_dir/mkinstalldirs"; then
1463     mkdir_p='$(mkinstalldirs)'
1464     else
1465     mkdir_p='$(install_sh) -d'
1466     fi
1467     fi
1468    
1469 sysadm 1.1 for ac_prog in gawk mawk nawk awk
1470     do
1471     # Extract the first word of "$ac_prog", so it can be a program name with args.
1472     set dummy $ac_prog; ac_word=$2
1473     echo "$as_me:$LINENO: checking for $ac_word" >&5
1474     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1475     if test "${ac_cv_prog_AWK+set}" = set; then
1476     echo $ECHO_N "(cached) $ECHO_C" >&6
1477     else
1478     if test -n "$AWK"; then
1479     ac_cv_prog_AWK="$AWK" # Let the user override the test.
1480     else
1481     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1482     for as_dir in $PATH
1483     do
1484     IFS=$as_save_IFS
1485     test -z "$as_dir" && as_dir=.
1486     for ac_exec_ext in '' $ac_executable_extensions; do
1487     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1488     ac_cv_prog_AWK="$ac_prog"
1489     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1490     break 2
1491     fi
1492     done
1493     done
1494    
1495     fi
1496     fi
1497     AWK=$ac_cv_prog_AWK
1498     if test -n "$AWK"; then
1499     echo "$as_me:$LINENO: result: $AWK" >&5
1500     echo "${ECHO_T}$AWK" >&6
1501     else
1502     echo "$as_me:$LINENO: result: no" >&5
1503     echo "${ECHO_T}no" >&6
1504     fi
1505    
1506     test -n "$AWK" && break
1507     done
1508    
1509     echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1510     echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1511 sysadm 1.2 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1512 sysadm 1.1 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1513     echo $ECHO_N "(cached) $ECHO_C" >&6
1514     else
1515     cat >conftest.make <<\_ACEOF
1516     all:
1517     @echo 'ac_maketemp="$(MAKE)"'
1518     _ACEOF
1519     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1520     eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1521     if test -n "$ac_maketemp"; then
1522     eval ac_cv_prog_make_${ac_make}_set=yes
1523     else
1524     eval ac_cv_prog_make_${ac_make}_set=no
1525     fi
1526     rm -f conftest.make
1527     fi
1528     if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1529     echo "$as_me:$LINENO: result: yes" >&5
1530     echo "${ECHO_T}yes" >&6
1531     SET_MAKE=
1532     else
1533     echo "$as_me:$LINENO: result: no" >&5
1534     echo "${ECHO_T}no" >&6
1535     SET_MAKE="MAKE=${MAKE-make}"
1536     fi
1537    
1538 sysadm 1.2 rm -rf .tst 2>/dev/null
1539     mkdir .tst 2>/dev/null
1540     if test -d .tst; then
1541     am__leading_dot=.
1542     else
1543     am__leading_dot=_
1544     fi
1545     rmdir .tst 2>/dev/null
1546    
1547     # test to see if srcdir already configured
1548 sysadm 1.1 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1549     test -f $srcdir/config.status; then
1550     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1551     echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1552     { (exit 1); exit 1; }; }
1553     fi
1554    
1555 sysadm 1.2 # test whether we have cygpath
1556     if test -z "$CYGPATH_W"; then
1557     if (cygpath --version) >/dev/null 2>/dev/null; then
1558     CYGPATH_W='cygpath -w'
1559     else
1560     CYGPATH_W=echo
1561     fi
1562     fi
1563    
1564    
1565 sysadm 1.1 # Define the identity of the package.
1566     PACKAGE=bbsd
1567     VERSION=1.0
1568    
1569    
1570     cat >>confdefs.h <<_ACEOF
1571     #define PACKAGE "$PACKAGE"
1572     _ACEOF
1573    
1574    
1575     cat >>confdefs.h <<_ACEOF
1576     #define VERSION "$VERSION"
1577     _ACEOF
1578    
1579     # Some tools Automake needs.
1580    
1581     ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1582    
1583    
1584     AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1585    
1586    
1587     AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1588    
1589    
1590     AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1591    
1592    
1593     MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1594    
1595    
1596     AMTAR=${AMTAR-"${am_missing_run}tar"}
1597    
1598     install_sh=${install_sh-"$am_aux_dir/install-sh"}
1599    
1600     # Installed binaries are usually stripped using `strip' when the user
1601     # run `make install-strip'. However `strip' might not be the right
1602     # tool to use in cross-compilation environments, therefore Automake
1603     # will honor the `STRIP' environment variable to overrule this program.
1604     if test "$cross_compiling" != no; then
1605     if test -n "$ac_tool_prefix"; then
1606     # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1607     set dummy ${ac_tool_prefix}strip; ac_word=$2
1608     echo "$as_me:$LINENO: checking for $ac_word" >&5
1609     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1610     if test "${ac_cv_prog_STRIP+set}" = set; then
1611     echo $ECHO_N "(cached) $ECHO_C" >&6
1612     else
1613     if test -n "$STRIP"; then
1614     ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1615     else
1616     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1617     for as_dir in $PATH
1618     do
1619     IFS=$as_save_IFS
1620     test -z "$as_dir" && as_dir=.
1621     for ac_exec_ext in '' $ac_executable_extensions; do
1622     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1623     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1624     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1625     break 2
1626     fi
1627     done
1628     done
1629    
1630     fi
1631     fi
1632     STRIP=$ac_cv_prog_STRIP
1633     if test -n "$STRIP"; then
1634     echo "$as_me:$LINENO: result: $STRIP" >&5
1635     echo "${ECHO_T}$STRIP" >&6
1636     else
1637     echo "$as_me:$LINENO: result: no" >&5
1638     echo "${ECHO_T}no" >&6
1639     fi
1640    
1641     fi
1642     if test -z "$ac_cv_prog_STRIP"; then
1643     ac_ct_STRIP=$STRIP
1644     # Extract the first word of "strip", so it can be a program name with args.
1645     set dummy strip; ac_word=$2
1646     echo "$as_me:$LINENO: checking for $ac_word" >&5
1647     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1648     if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1649     echo $ECHO_N "(cached) $ECHO_C" >&6
1650     else
1651     if test -n "$ac_ct_STRIP"; then
1652     ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1653     else
1654     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1655     for as_dir in $PATH
1656     do
1657     IFS=$as_save_IFS
1658     test -z "$as_dir" && as_dir=.
1659     for ac_exec_ext in '' $ac_executable_extensions; do
1660     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1661     ac_cv_prog_ac_ct_STRIP="strip"
1662     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663     break 2
1664     fi
1665     done
1666     done
1667    
1668     test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1669     fi
1670     fi
1671     ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1672     if test -n "$ac_ct_STRIP"; then
1673     echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1674     echo "${ECHO_T}$ac_ct_STRIP" >&6
1675     else
1676     echo "$as_me:$LINENO: result: no" >&5
1677     echo "${ECHO_T}no" >&6
1678     fi
1679    
1680     STRIP=$ac_ct_STRIP
1681     else
1682     STRIP="$ac_cv_prog_STRIP"
1683     fi
1684    
1685     fi
1686     INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1687    
1688     # We need awk for the "check" target. The system "awk" is bad on
1689     # some platforms.
1690    
1691    
1692    
1693    
1694     # AC_CONFIG_HEADERS([config.h])
1695 sysadm 1.2 # test to see if srcdir already configured
1696 sysadm 1.1 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1697     test -f $srcdir/config.status; then
1698     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1699     echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1700     { (exit 1); exit 1; }; }
1701     fi
1702    
1703 sysadm 1.2 # test whether we have cygpath
1704     if test -z "$CYGPATH_W"; then
1705     if (cygpath --version) >/dev/null 2>/dev/null; then
1706     CYGPATH_W='cygpath -w'
1707     else
1708     CYGPATH_W=echo
1709     fi
1710     fi
1711    
1712    
1713 sysadm 1.1 # Define the identity of the package.
1714 sysadm 1.2 PACKAGE='bbsd'
1715     VERSION='1.0'
1716 sysadm 1.1
1717    
1718     cat >>confdefs.h <<_ACEOF
1719     #define PACKAGE "$PACKAGE"
1720     _ACEOF
1721    
1722    
1723     cat >>confdefs.h <<_ACEOF
1724     #define VERSION "$VERSION"
1725     _ACEOF
1726    
1727     # Some tools Automake needs.
1728    
1729     ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1730    
1731    
1732     AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1733    
1734    
1735     AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1736    
1737    
1738     AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1739    
1740    
1741     MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1742    
1743    
1744     AMTAR=${AMTAR-"${am_missing_run}tar"}
1745    
1746     install_sh=${install_sh-"$am_aux_dir/install-sh"}
1747    
1748     # Installed binaries are usually stripped using `strip' when the user
1749     # run `make install-strip'. However `strip' might not be the right
1750     # tool to use in cross-compilation environments, therefore Automake
1751     # will honor the `STRIP' environment variable to overrule this program.
1752     if test "$cross_compiling" != no; then
1753     if test -n "$ac_tool_prefix"; then
1754     # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1755     set dummy ${ac_tool_prefix}strip; ac_word=$2
1756     echo "$as_me:$LINENO: checking for $ac_word" >&5
1757     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1758     if test "${ac_cv_prog_STRIP+set}" = set; then
1759     echo $ECHO_N "(cached) $ECHO_C" >&6
1760     else
1761     if test -n "$STRIP"; then
1762     ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1763     else
1764     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1765     for as_dir in $PATH
1766     do
1767     IFS=$as_save_IFS
1768     test -z "$as_dir" && as_dir=.
1769     for ac_exec_ext in '' $ac_executable_extensions; do
1770     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1771     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1772     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1773     break 2
1774     fi
1775     done
1776     done
1777    
1778     fi
1779     fi
1780     STRIP=$ac_cv_prog_STRIP
1781     if test -n "$STRIP"; then
1782     echo "$as_me:$LINENO: result: $STRIP" >&5
1783     echo "${ECHO_T}$STRIP" >&6
1784     else
1785     echo "$as_me:$LINENO: result: no" >&5
1786     echo "${ECHO_T}no" >&6
1787     fi
1788    
1789     fi
1790     if test -z "$ac_cv_prog_STRIP"; then
1791     ac_ct_STRIP=$STRIP
1792     # Extract the first word of "strip", so it can be a program name with args.
1793     set dummy strip; ac_word=$2
1794     echo "$as_me:$LINENO: checking for $ac_word" >&5
1795     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1796     if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1797     echo $ECHO_N "(cached) $ECHO_C" >&6
1798     else
1799     if test -n "$ac_ct_STRIP"; then
1800     ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1801     else
1802     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1803     for as_dir in $PATH
1804     do
1805     IFS=$as_save_IFS
1806     test -z "$as_dir" && as_dir=.
1807     for ac_exec_ext in '' $ac_executable_extensions; do
1808     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1809     ac_cv_prog_ac_ct_STRIP="strip"
1810     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1811     break 2
1812     fi
1813     done
1814     done
1815    
1816     test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1817     fi
1818     fi
1819     ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1820     if test -n "$ac_ct_STRIP"; then
1821     echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1822     echo "${ECHO_T}$ac_ct_STRIP" >&6
1823     else
1824     echo "$as_me:$LINENO: result: no" >&5
1825     echo "${ECHO_T}no" >&6
1826     fi
1827    
1828     STRIP=$ac_ct_STRIP
1829     else
1830     STRIP="$ac_cv_prog_STRIP"
1831     fi
1832    
1833     fi
1834     INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1835    
1836     # We need awk for the "check" target. The system "awk" is bad on
1837     # some platforms.
1838    
1839    
1840    
1841    
1842     # Checks for programs.
1843     ac_ext=c
1844     ac_cpp='$CPP $CPPFLAGS'
1845     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1846     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1847     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1848     if test -n "$ac_tool_prefix"; then
1849     # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1850     set dummy ${ac_tool_prefix}gcc; ac_word=$2
1851     echo "$as_me:$LINENO: checking for $ac_word" >&5
1852     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1853     if test "${ac_cv_prog_CC+set}" = set; then
1854     echo $ECHO_N "(cached) $ECHO_C" >&6
1855     else
1856     if test -n "$CC"; then
1857     ac_cv_prog_CC="$CC" # Let the user override the test.
1858     else
1859     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1860     for as_dir in $PATH
1861     do
1862     IFS=$as_save_IFS
1863     test -z "$as_dir" && as_dir=.
1864     for ac_exec_ext in '' $ac_executable_extensions; do
1865     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1866     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1867     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1868     break 2
1869     fi
1870     done
1871     done
1872    
1873     fi
1874     fi
1875     CC=$ac_cv_prog_CC
1876     if test -n "$CC"; then
1877     echo "$as_me:$LINENO: result: $CC" >&5
1878     echo "${ECHO_T}$CC" >&6
1879     else
1880     echo "$as_me:$LINENO: result: no" >&5
1881     echo "${ECHO_T}no" >&6
1882     fi
1883    
1884     fi
1885     if test -z "$ac_cv_prog_CC"; then
1886     ac_ct_CC=$CC
1887     # Extract the first word of "gcc", so it can be a program name with args.
1888     set dummy gcc; ac_word=$2
1889     echo "$as_me:$LINENO: checking for $ac_word" >&5
1890     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1892     echo $ECHO_N "(cached) $ECHO_C" >&6
1893     else
1894     if test -n "$ac_ct_CC"; then
1895     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1896     else
1897     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1898     for as_dir in $PATH
1899     do
1900     IFS=$as_save_IFS
1901     test -z "$as_dir" && as_dir=.
1902     for ac_exec_ext in '' $ac_executable_extensions; do
1903     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1904     ac_cv_prog_ac_ct_CC="gcc"
1905     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1906     break 2
1907     fi
1908     done
1909     done
1910    
1911     fi
1912     fi
1913     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1914     if test -n "$ac_ct_CC"; then
1915     echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1916     echo "${ECHO_T}$ac_ct_CC" >&6
1917     else
1918     echo "$as_me:$LINENO: result: no" >&5
1919     echo "${ECHO_T}no" >&6
1920     fi
1921    
1922     CC=$ac_ct_CC
1923     else
1924     CC="$ac_cv_prog_CC"
1925     fi
1926    
1927     if test -z "$CC"; then
1928     if test -n "$ac_tool_prefix"; then
1929     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1930     set dummy ${ac_tool_prefix}cc; ac_word=$2
1931     echo "$as_me:$LINENO: checking for $ac_word" >&5
1932     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1933     if test "${ac_cv_prog_CC+set}" = set; then
1934     echo $ECHO_N "(cached) $ECHO_C" >&6
1935     else
1936     if test -n "$CC"; then
1937     ac_cv_prog_CC="$CC" # Let the user override the test.
1938     else
1939     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1940     for as_dir in $PATH
1941     do
1942     IFS=$as_save_IFS
1943     test -z "$as_dir" && as_dir=.
1944     for ac_exec_ext in '' $ac_executable_extensions; do
1945     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1946     ac_cv_prog_CC="${ac_tool_prefix}cc"
1947     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1948     break 2
1949     fi
1950     done
1951     done
1952    
1953     fi
1954     fi
1955     CC=$ac_cv_prog_CC
1956     if test -n "$CC"; then
1957     echo "$as_me:$LINENO: result: $CC" >&5
1958     echo "${ECHO_T}$CC" >&6
1959     else
1960     echo "$as_me:$LINENO: result: no" >&5
1961     echo "${ECHO_T}no" >&6
1962     fi
1963    
1964     fi
1965     if test -z "$ac_cv_prog_CC"; then
1966     ac_ct_CC=$CC
1967     # Extract the first word of "cc", so it can be a program name with args.
1968     set dummy cc; ac_word=$2
1969     echo "$as_me:$LINENO: checking for $ac_word" >&5
1970     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1971     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1972     echo $ECHO_N "(cached) $ECHO_C" >&6
1973     else
1974     if test -n "$ac_ct_CC"; then
1975     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1976     else
1977     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1978     for as_dir in $PATH
1979     do
1980     IFS=$as_save_IFS
1981     test -z "$as_dir" && as_dir=.
1982     for ac_exec_ext in '' $ac_executable_extensions; do
1983     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1984     ac_cv_prog_ac_ct_CC="cc"
1985     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1986     break 2
1987     fi
1988     done
1989     done
1990    
1991     fi
1992     fi
1993     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1994     if test -n "$ac_ct_CC"; then
1995     echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1996     echo "${ECHO_T}$ac_ct_CC" >&6
1997     else
1998     echo "$as_me:$LINENO: result: no" >&5
1999     echo "${ECHO_T}no" >&6
2000     fi
2001    
2002     CC=$ac_ct_CC
2003     else
2004     CC="$ac_cv_prog_CC"
2005     fi
2006    
2007     fi
2008     if test -z "$CC"; then
2009     # Extract the first word of "cc", so it can be a program name with args.
2010     set dummy cc; ac_word=$2
2011     echo "$as_me:$LINENO: checking for $ac_word" >&5
2012     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2013     if test "${ac_cv_prog_CC+set}" = set; then
2014     echo $ECHO_N "(cached) $ECHO_C" >&6
2015     else
2016     if test -n "$CC"; then
2017     ac_cv_prog_CC="$CC" # Let the user override the test.
2018     else
2019     ac_prog_rejected=no
2020     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2021     for as_dir in $PATH
2022     do
2023     IFS=$as_save_IFS
2024     test -z "$as_dir" && as_dir=.
2025     for ac_exec_ext in '' $ac_executable_extensions; do
2026     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2027     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2028     ac_prog_rejected=yes
2029     continue
2030     fi
2031     ac_cv_prog_CC="cc"
2032     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2033     break 2
2034     fi
2035     done
2036     done
2037    
2038     if test $ac_prog_rejected = yes; then
2039     # We found a bogon in the path, so make sure we never use it.
2040     set dummy $ac_cv_prog_CC
2041     shift
2042     if test $# != 0; then
2043     # We chose a different compiler from the bogus one.
2044     # However, it has the same basename, so the bogon will be chosen
2045     # first if we set CC to just the basename; use the full file name.
2046     shift
2047     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2048     fi
2049     fi
2050     fi
2051     fi
2052     CC=$ac_cv_prog_CC
2053     if test -n "$CC"; then
2054     echo "$as_me:$LINENO: result: $CC" >&5
2055     echo "${ECHO_T}$CC" >&6
2056     else
2057     echo "$as_me:$LINENO: result: no" >&5
2058     echo "${ECHO_T}no" >&6
2059     fi
2060    
2061     fi
2062     if test -z "$CC"; then
2063     if test -n "$ac_tool_prefix"; then
2064     for ac_prog in cl
2065     do
2066     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2067     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2068     echo "$as_me:$LINENO: checking for $ac_word" >&5
2069     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2070     if test "${ac_cv_prog_CC+set}" = set; then
2071     echo $ECHO_N "(cached) $ECHO_C" >&6
2072     else
2073     if test -n "$CC"; then
2074     ac_cv_prog_CC="$CC" # Let the user override the test.
2075     else
2076     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077     for as_dir in $PATH
2078     do
2079     IFS=$as_save_IFS
2080     test -z "$as_dir" && as_dir=.
2081     for ac_exec_ext in '' $ac_executable_extensions; do
2082     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2083     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2084     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2085     break 2
2086     fi
2087     done
2088     done
2089    
2090     fi
2091     fi
2092     CC=$ac_cv_prog_CC
2093     if test -n "$CC"; then
2094     echo "$as_me:$LINENO: result: $CC" >&5
2095     echo "${ECHO_T}$CC" >&6
2096     else
2097     echo "$as_me:$LINENO: result: no" >&5
2098     echo "${ECHO_T}no" >&6
2099     fi
2100    
2101     test -n "$CC" && break
2102     done
2103     fi
2104     if test -z "$CC"; then
2105     ac_ct_CC=$CC
2106     for ac_prog in cl
2107     do
2108     # Extract the first word of "$ac_prog", so it can be a program name with args.
2109     set dummy $ac_prog; ac_word=$2
2110     echo "$as_me:$LINENO: checking for $ac_word" >&5
2111     echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2112     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2113     echo $ECHO_N "(cached) $ECHO_C" >&6
2114     else
2115     if test -n "$ac_ct_CC"; then
2116     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2117     else
2118     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2119     for as_dir in $PATH
2120     do
2121     IFS=$as_save_IFS
2122     test -z "$as_dir" && as_dir=.
2123     for ac_exec_ext in '' $ac_executable_extensions; do
2124     if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2125     ac_cv_prog_ac_ct_CC="$ac_prog"
2126     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2127     break 2
2128     fi
2129     done
2130     done
2131    
2132     fi
2133     fi
2134     ac_ct_CC=$ac_cv_prog_ac_ct_CC
2135     if test -n "$ac_ct_CC"; then
2136     echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2137     echo "${ECHO_T}$ac_ct_CC" >&6
2138     else
2139     echo "$as_me:$LINENO: result: no" >&5
2140     echo "${ECHO_T}no" >&6
2141     fi
2142    
2143     test -n "$ac_ct_CC" && break
2144     done
2145    
2146     CC=$ac_ct_CC
2147     fi
2148    
2149     fi
2150    
2151    
2152     test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2153     See \`config.log' for more details." >&5
2154     echo "$as_me: error: no acceptable C compiler found in \$PATH
2155     See \`config.log' for more details." >&2;}
2156     { (exit 1); exit 1; }; }
2157    
2158     # Provide some information about the compiler.
2159     echo "$as_me:$LINENO:" \
2160     "checking for C compiler version" >&5
2161     ac_compiler=`set X $ac_compile; echo $2`
2162     { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2163     (eval $ac_compiler --version </dev/null >&5) 2>&5
2164     ac_status=$?
2165     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166     (exit $ac_status); }
2167     { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2168     (eval $ac_compiler -v </dev/null >&5) 2>&5
2169     ac_status=$?
2170     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2171     (exit $ac_status); }
2172     { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2173     (eval $ac_compiler -V </dev/null >&5) 2>&5
2174     ac_status=$?
2175     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176     (exit $ac_status); }
2177    
2178     cat >conftest.$ac_ext <<_ACEOF
2179     /* confdefs.h. */
2180     _ACEOF
2181     cat confdefs.h >>conftest.$ac_ext
2182     cat >>conftest.$ac_ext <<_ACEOF
2183     /* end confdefs.h. */
2184    
2185     int
2186     main ()
2187     {
2188    
2189     ;
2190     return 0;
2191     }
2192     _ACEOF
2193     ac_clean_files_save=$ac_clean_files
2194     ac_clean_files="$ac_clean_files a.out a.exe b.out"
2195     # Try to create an executable without -o first, disregard a.out.
2196     # It will help us diagnose broken compilers, and finding out an intuition
2197     # of exeext.
2198 sysadm 1.2 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2199     echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2200 sysadm 1.1 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2201     if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2202     (eval $ac_link_default) 2>&5
2203     ac_status=$?
2204     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205     (exit $ac_status); }; then
2206     # Find the output, starting from the most likely. This scheme is
2207     # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2208     # resort.
2209    
2210     # Be careful to initialize this variable, since it used to be cached.
2211     # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2212     ac_cv_exeext=
2213     # b.out is created by i960 compilers.
2214     for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2215     do
2216     test -f "$ac_file" || continue
2217     case $ac_file in
2218     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2219 sysadm 1.2 ;;
2220 sysadm 1.1 conftest.$ac_ext )
2221 sysadm 1.2 # This is the source file.
2222     ;;
2223 sysadm 1.1 [ab].out )
2224 sysadm 1.2 # We found the default executable, but exeext='' is most
2225     # certainly right.
2226     break;;
2227 sysadm 1.1 *.* )
2228 sysadm 1.2 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2229     # FIXME: I believe we export ac_cv_exeext for Libtool,
2230     # but it would be cool to find out if it's true. Does anybody
2231     # maintain Libtool? --akim.
2232     export ac_cv_exeext
2233     break;;
2234 sysadm 1.1 * )
2235 sysadm 1.2 break;;
2236 sysadm 1.1 esac
2237     done
2238     else
2239     echo "$as_me: failed program was:" >&5
2240     sed 's/^/| /' conftest.$ac_ext >&5
2241    
2242     { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2243     See \`config.log' for more details." >&5
2244     echo "$as_me: error: C compiler cannot create executables
2245     See \`config.log' for more details." >&2;}
2246     { (exit 77); exit 77; }; }
2247     fi
2248    
2249     ac_exeext=$ac_cv_exeext
2250     echo "$as_me:$LINENO: result: $ac_file" >&5
2251     echo "${ECHO_T}$ac_file" >&6
2252    
2253     # Check the compiler produces executables we can run. If not, either
2254     # the compiler is broken, or we cross compile.
2255     echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2256     echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2257     # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2258     # If not cross compiling, check that we can run a simple program.
2259     if test "$cross_compiling" != yes; then
2260     if { ac_try='./$ac_file'
2261     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262     (eval $ac_try) 2>&5
2263     ac_status=$?
2264     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265     (exit $ac_status); }; }; then
2266     cross_compiling=no
2267     else
2268     if test "$cross_compiling" = maybe; then
2269     cross_compiling=yes
2270     else
2271     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2272     If you meant to cross compile, use \`--host'.
2273     See \`config.log' for more details." >&5
2274     echo "$as_me: error: cannot run C compiled programs.
2275     If you meant to cross compile, use \`--host'.
2276     See \`config.log' for more details." >&2;}
2277     { (exit 1); exit 1; }; }
2278     fi
2279     fi
2280     fi
2281     echo "$as_me:$LINENO: result: yes" >&5
2282     echo "${ECHO_T}yes" >&6
2283    
2284     rm -f a.out a.exe conftest$ac_cv_exeext b.out
2285     ac_clean_files=$ac_clean_files_save
2286     # Check the compiler produces executables we can run. If not, either
2287     # the compiler is broken, or we cross compile.
2288     echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2289     echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2290     echo "$as_me:$LINENO: result: $cross_compiling" >&5
2291     echo "${ECHO_T}$cross_compiling" >&6
2292    
2293     echo "$as_me:$LINENO: checking for suffix of executables" >&5
2294     echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2295     if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2296     (eval $ac_link) 2>&5
2297     ac_status=$?
2298     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299     (exit $ac_status); }; then
2300     # If both `conftest.exe' and `conftest' are `present' (well, observable)
2301     # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2302     # work properly (i.e., refer to `conftest.exe'), while it won't with
2303     # `rm'.
2304     for ac_file in conftest.exe conftest conftest.*; do
2305     test -f "$ac_file" || continue
2306     case $ac_file in
2307     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2308     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2309 sysadm 1.2 export ac_cv_exeext
2310     break;;
2311 sysadm 1.1 * ) break;;
2312     esac
2313     done
2314     else
2315     { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2316     See \`config.log' for more details." >&5
2317     echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2318     See \`config.log' for more details." >&2;}
2319     { (exit 1); exit 1; }; }
2320     fi
2321    
2322     rm -f conftest$ac_cv_exeext
2323     echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2324     echo "${ECHO_T}$ac_cv_exeext" >&6
2325    
2326     rm -f conftest.$ac_ext
2327     EXEEXT=$ac_cv_exeext
2328     ac_exeext=$EXEEXT
2329     echo "$as_me:$LINENO: checking for suffix of object files" >&5
2330     echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2331     if test "${ac_cv_objext+set}" = set; then
2332     echo $ECHO_N "(cached) $ECHO_C" >&6
2333     else
2334     cat >conftest.$ac_ext <<_ACEOF
2335     /* confdefs.h. */
2336     _ACEOF
2337     cat confdefs.h >>conftest.$ac_ext
2338     cat >>conftest.$ac_ext <<_ACEOF
2339     /* end confdefs.h. */
2340    
2341     int
2342     main ()
2343     {
2344    
2345     ;
2346     return 0;
2347     }
2348     _ACEOF
2349     rm -f conftest.o conftest.obj
2350     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2351     (eval $ac_compile) 2>&5
2352     ac_status=$?
2353     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354     (exit $ac_status); }; then
2355     for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2356     case $ac_file in
2357     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2358     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2359     break;;
2360     esac
2361     done
2362     else
2363     echo "$as_me: failed program was:" >&5
2364     sed 's/^/| /' conftest.$ac_ext >&5
2365    
2366     { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2367     See \`config.log' for more details." >&5
2368     echo "$as_me: error: cannot compute suffix of object files: cannot compile
2369     See \`config.log' for more details." >&2;}
2370     { (exit 1); exit 1; }; }
2371     fi
2372    
2373     rm -f conftest.$ac_cv_objext conftest.$ac_ext
2374     fi
2375     echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2376     echo "${ECHO_T}$ac_cv_objext" >&6
2377     OBJEXT=$ac_cv_objext
2378     ac_objext=$OBJEXT
2379     echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2380     echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2381     if test "${ac_cv_c_compiler_gnu+set}" = set; then
2382     echo $ECHO_N "(cached) $ECHO_C" >&6
2383     else
2384     cat >conftest.$ac_ext <<_ACEOF
2385     /* confdefs.h. */
2386     _ACEOF
2387     cat confdefs.h >>conftest.$ac_ext
2388     cat >>conftest.$ac_ext <<_ACEOF
2389     /* end confdefs.h. */
2390    
2391     int
2392     main ()
2393     {
2394     #ifndef __GNUC__
2395     choke me
2396     #endif
2397    
2398     ;
2399     return 0;
2400     }
2401     _ACEOF
2402     rm -f conftest.$ac_objext
2403     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2404 sysadm 1.2 (eval $ac_compile) 2>conftest.er1
2405 sysadm 1.1 ac_status=$?
2406 sysadm 1.2 grep -v '^ *+' conftest.er1 >conftest.err
2407     rm -f conftest.er1
2408     cat conftest.err >&5
2409 sysadm 1.1 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410     (exit $ac_status); } &&
2411 sysadm 1.2 { ac_try='test -z "$ac_c_werror_flag"
2412     || test ! -s conftest.err'
2413     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2414     (eval $ac_try) 2>&5
2415     ac_status=$?
2416     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417     (exit $ac_status); }; } &&
2418     { ac_try='test -s conftest.$ac_objext'
2419 sysadm 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2420     (eval $ac_try) 2>&5
2421     ac_status=$?
2422     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423     (exit $ac_status); }; }; then
2424     ac_compiler_gnu=yes
2425     else
2426     echo "$as_me: failed program was:" >&5
2427     sed 's/^/| /' conftest.$ac_ext >&5
2428    
2429     ac_compiler_gnu=no
2430     fi
2431 sysadm 1.2 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2432 sysadm 1.1 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2433    
2434     fi
2435     echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2436     echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2437     GCC=`test $ac_compiler_gnu = yes && echo yes`
2438     ac_test_CFLAGS=${CFLAGS+set}
2439     ac_save_CFLAGS=$CFLAGS
2440     CFLAGS="-g"
2441     echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2442     echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2443     if test "${ac_cv_prog_cc_g+set}" = set; then
2444     echo $ECHO_N "(cached) $ECHO_C" >&6
2445     else
2446     cat >conftest.$ac_ext <<_ACEOF
2447     /* confdefs.h. */
2448     _ACEOF
2449     cat confdefs.h >>conftest.$ac_ext
2450     cat >>conftest.$ac_ext <<_ACEOF
2451     /* end confdefs.h. */
2452    
2453     int
2454     main ()
2455     {
2456    
2457     ;
2458     return 0;
2459     }
2460     _ACEOF
2461     rm -f conftest.$ac_objext
2462     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2463 sysadm 1.2 (eval $ac_compile) 2>conftest.er1
2464 sysadm 1.1 ac_status=$?
2465 sysadm 1.2 grep -v '^ *+' conftest.er1 >conftest.err
2466     rm -f conftest.er1
2467     cat conftest.err >&5
2468 sysadm 1.1 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469     (exit $ac_status); } &&
2470 sysadm 1.2 { ac_try='test -z "$ac_c_werror_flag"
2471     || test ! -s conftest.err'
2472     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2473     (eval $ac_try) 2>&5
2474     ac_status=$?
2475     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476     (exit $ac_status); }; } &&
2477     { ac_try='test -s conftest.$ac_objext'
2478 sysadm 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2479     (eval $ac_try) 2>&5
2480     ac_status=$?
2481     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482     (exit $ac_status); }; }; then
2483     ac_cv_prog_cc_g=yes
2484     else
2485     echo "$as_me: failed program was:" >&5
2486     sed 's/^/| /' conftest.$ac_ext >&5
2487    
2488     ac_cv_prog_cc_g=no
2489     fi
2490 sysadm 1.2 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2491 sysadm 1.1 fi
2492     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2493     echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2494     if test "$ac_test_CFLAGS" = set; then
2495     CFLAGS=$ac_save_CFLAGS
2496     elif test $ac_cv_prog_cc_g = yes; then
2497     if test "$GCC" = yes; then
2498     CFLAGS="-g -O2"
2499     else
2500     CFLAGS="-g"
2501     fi
2502     else
2503     if test "$GCC" = yes; then
2504     CFLAGS="-O2"
2505     else
2506     CFLAGS=
2507     fi
2508     fi
2509     echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2510     echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2511     if test "${ac_cv_prog_cc_stdc+set}" = set; then
2512     echo $ECHO_N "(cached) $ECHO_C" >&6
2513     else
2514     ac_cv_prog_cc_stdc=no
2515     ac_save_CC=$CC
2516     cat >conftest.$ac_ext <<_ACEOF
2517     /* confdefs.h. */
2518     _ACEOF
2519     cat confdefs.h >>conftest.$ac_ext
2520     cat >>conftest.$ac_ext <<_ACEOF
2521     /* end confdefs.h. */
2522     #include <stdarg.h>
2523     #include <stdio.h>
2524     #include <sys/types.h>
2525     #include <sys/stat.h>
2526     /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2527     struct buf { int x; };
2528     FILE * (*rcsopen) (struct buf *, struct stat *, int);
2529     static char *e (p, i)
2530     char **p;
2531     int i;
2532     {
2533     return p[i];
2534     }
2535     static char *f (char * (*g) (char **, int), char **p, ...)
2536     {
2537     char *s;
2538     va_list v;
2539     va_start (v,p);
2540     s = g (p, va_arg (v,int));
2541     va_end (v);
2542     return s;
2543     }
2544 sysadm 1.2
2545     /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2546     function prototypes and stuff, but not '\xHH' hex character constants.
2547     These don't provoke an error unfortunately, instead are silently treated
2548     as 'x'. The following induces an error, until -std1 is added to get
2549     proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2550     array size at least. It's necessary to write '\x00'==0 to get something
2551     that's true only with -std1. */
2552     int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2553    
2554 sysadm 1.1 int test (int i, double x);
2555     struct s1 {int (*f) (int a);};
2556     struct s2 {int (*f) (double a);};
2557     int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2558     int argc;
2559     char **argv;
2560     int
2561     main ()
2562     {
2563     return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2564     ;
2565     return 0;
2566     }
2567     _ACEOF
2568     # Don't try gcc -ansi; that turns off useful extensions and
2569     # breaks some systems' header files.
2570     # AIX -qlanglvl=ansi
2571     # Ultrix and OSF/1 -std1
2572     # HP-UX 10.20 and later -Ae
2573     # HP-UX older versions -Aa -D_HPUX_SOURCE
2574     # SVR4 -Xc -D__EXTENSIONS__
2575     for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2576     do
2577     CC="$ac_save_CC $ac_arg"
2578     rm -f conftest.$ac_objext
2579     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2580 sysadm 1.2 (eval $ac_compile) 2>conftest.er1
2581 sysadm 1.1 ac_status=$?
2582 sysadm 1.2 grep -v '^ *+' conftest.er1 >conftest.err
2583     rm -f conftest.er1
2584     cat conftest.err >&5
2585 sysadm 1.1 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586     (exit $ac_status); } &&
2587 sysadm 1.2 { ac_try='test -z "$ac_c_werror_flag"
2588     || test ! -s conftest.err'
2589     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2590     (eval $ac_try) 2>&5
2591     ac_status=$?
2592     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593     (exit $ac_status); }; } &&
2594     { ac_try='test -s conftest.$ac_objext'
2595 sysadm 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596     (eval $ac_try) 2>&5
2597     ac_status=$?
2598     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599     (exit $ac_status); }; }; then
2600     ac_cv_prog_cc_stdc=$ac_arg
2601     break
2602     else
2603     echo "$as_me: failed program was:" >&5
2604     sed 's/^/| /' conftest.$ac_ext >&5
2605    
2606     fi
2607 sysadm 1.2 rm -f conftest.err conftest.$ac_objext
2608 sysadm 1.1 done
2609     rm -f conftest.$ac_ext conftest.$ac_objext
2610     CC=$ac_save_CC
2611    
2612     fi
2613    
2614     case "x$ac_cv_prog_cc_stdc" in
2615     x|xno)
2616     echo "$as_me:$LINENO: result: none needed" >&5
2617     echo "${ECHO_T}none needed" >&6 ;;
2618     *)
2619     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2620     echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2621     CC="$CC $ac_cv_prog_cc_stdc" ;;
2622     esac
2623    
2624     # Some people use a C++ compiler to compile C. Since we use `exit',
2625     # in C++ we need to declare it. In case someone uses the same compiler
2626     # for both compiling C and C++ we need to have the C++ compiler decide
2627     # the declaration of exit, since it's the most demanding environment.
2628     cat >conftest.$ac_ext <<_ACEOF
2629     #ifndef __cplusplus
2630     choke me
2631     #endif
2632     _ACEOF
2633     rm -f conftest.$ac_objext
2634     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2635 sysadm 1.2 (eval $ac_compile) 2>conftest.er1
2636 sysadm 1.1 ac_status=$?
2637 sysadm 1.2 grep -v '^ *+' conftest.er1 >conftest.err
2638     rm -f conftest.er1
2639     cat conftest.err >&5
2640 sysadm 1.1 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641     (exit $ac_status); } &&
2642 sysadm 1.2 { ac_try='test -z "$ac_c_werror_flag"
2643     || test ! -s conftest.err'
2644     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2645     (eval $ac_try) 2>&5
2646     ac_status=$?
2647     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648     (exit $ac_status); }; } &&
2649     { ac_try='test -s conftest.$ac_objext'
2650 sysadm 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2651     (eval $ac_try) 2>&5
2652     ac_status=$?
2653     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654     (exit $ac_status); }; }; then
2655     for ac_declaration in \
2656 sysadm 1.2 '' \
2657 sysadm 1.1 'extern "C" void std::exit (int) throw (); using std::exit;' \
2658     'extern "C" void std::exit (int); using std::exit;' \
2659     'extern "C" void exit (int) throw ();' \
2660     'extern "C" void exit (int);' \
2661     'void exit (int);'
2662     do
2663     cat >conftest.$ac_ext <<_ACEOF
2664     /* confdefs.h. */
2665     _ACEOF
2666     cat confdefs.h >>conftest.$ac_ext
2667     cat >>conftest.$ac_ext <<_ACEOF
2668     /* end confdefs.h. */
2669 sysadm 1.2 $ac_declaration
2670 sysadm 1.1 #include <stdlib.h>
2671     int
2672     main ()
2673     {
2674     exit (42);
2675     ;
2676     return 0;
2677     }
2678     _ACEOF
2679     rm -f conftest.$ac_objext
2680     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2681 sysadm 1.2 (eval $ac_compile) 2>conftest.er1
2682 sysadm 1.1 ac_status=$?
2683 sysadm 1.2 grep -v '^ *+' conftest.er1 >conftest.err
2684     rm -f conftest.er1
2685     cat conftest.err >&5
2686 sysadm 1.1 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687     (exit $ac_status); } &&
2688 sysadm 1.2 { ac_try='test -z "$ac_c_werror_flag"
2689     || test ! -s conftest.err'
2690     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2691     (eval $ac_try) 2>&5
2692     ac_status=$?
2693     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694     (exit $ac_status); }; } &&
2695     { ac_try='test -s conftest.$ac_objext'
2696 sysadm 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2697     (eval $ac_try) 2>&5
2698     ac_status=$?
2699     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700     (exit $ac_status); }; }; then
2701     :
2702     else
2703     echo "$as_me: failed program was:" >&5
2704     sed 's/^/| /' conftest.$ac_ext >&5
2705    
2706     continue
2707     fi
2708 sysadm 1.2 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2709 sysadm 1.1 cat >conftest.$ac_ext <<_ACEOF
2710     /* confdefs.h. */
2711     _ACEOF
2712     cat confdefs.h >>conftest.$ac_ext
2713     cat >>conftest.$ac_ext <<_ACEOF
2714     /* end confdefs.h. */
2715     $ac_declaration
2716     int
2717     main ()
2718     {
2719     exit (42);
2720     ;
2721     return 0;
2722     }
2723     _ACEOF
2724     rm -f conftest.$ac_objext
2725     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2726 sysadm 1.2 (eval $ac_compile) 2>conftest.er1
2727 sysadm 1.1 ac_status=$?
2728 sysadm 1.2 grep -v '^ *+' conftest.er1 >conftest.err
2729     rm -f conftest.er1
2730     cat conftest.err >&5
2731 sysadm 1.1 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732     (exit $ac_status); } &&
2733 sysadm 1.2 { ac_try='test -z "$ac_c_werror_flag"
2734     || test ! -s conftest.err'
2735     { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736     (eval $ac_try) 2>&5
2737     ac_status=$?
2738     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739     (exit $ac_status); }; } &&
2740     { ac_try='test -s conftest.$ac_objext'
2741 sysadm 1.1 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2742     (eval $ac_try) 2>&5
2743     ac_status=$?
2744     echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745     (exit $ac_status); }; }; then
2746     break
2747     else
2748     echo "$as_me: failed program was:" >&5
2749     sed 's/^/| /' conftest.$ac_ext >&5
2750    
2751     fi
2752 sysadm 1.2 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2753 sysadm 1.1 done
2754     rm -f conftest*
2755     if test -n "$ac_declaration"; then
2756     echo '#ifdef __cplusplus' >>confdefs.h
2757     echo $ac_declaration >>confdefs.h
2758     echo '#endif' >>confdefs.h
2759     fi
2760    
2761     else
2762     echo "$as_me: failed program was:" >&5
2763     sed 's/^/| /' conftest.$ac_ext >&5
2764    
2765     fi
2766 sysadm 1.2 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2767 sysadm 1.1 ac_ext=c
2768     ac_cpp='$CPP $CPPFLAGS'
2769     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2770     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2771     ac_compiler_gnu=$ac_cv_c_compiler_gnu
2772 sysadm 1.2 DEPDIR="${am__leading_dot}deps"
2773 sysadm 1.1
2774     ac_config_commands="$ac_config_commands depfiles"
2775    
2776    
2777     am_make=${MAKE-make}
2778     cat > confinc << 'END'
2779 sysadm 1.2 am__doit:
2780 sysadm 1.1 @echo done
2781 sysadm 1.2 .PHONY: am__doit
2782 sysadm 1.1 END
2783     # If we don't find an include directive, just comment out the code.
2784     echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2785     echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2786     am__include="#"
2787     am__quote=
2788     _am_result=none
2789     # First try GNU make style include.
2790     echo "include confinc" > confmf
2791     # We grep out `Entering directory' and `Leaving directory'
2792     # messages which can occur if `w' ends up in MAKEFLAGS.
2793     # In particular we don't look at `^make:' because GNU make might
2794     # be invoked under some other name (usually "gmake"), in which
2795     # case it prints its new name instead of `make'.
2796 sysadm 1.2 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2797 sysadm 1.1 am__include=include
2798     am__quote=
2799     _am_result=GNU
2800     fi
2801     # Now try BSD make style include.
2802     if test "$am__include" = "#"; then
2803     echo '.include "confinc"' > confmf
2804     if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2805     am__include=.include
2806     am__quote="\""
2807     _am_result=BSD
2808     fi
2809     fi
2810    
2811    
2812     echo "$as_me:$LINENO: result: $_am_result" >&5
2813     echo "${ECHO_T}$_am_result" >&6
2814     rm -f confinc confmf
2815    
2816     # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2817     if test "${enable_dependency_tracking+set}" = set; then
2818     enableval="$enable_dependency_tracking"
2819    
2820     fi;
2821     if test "x$enable_dependency_tracking" != xno; then
2822     am_depcomp="$ac_aux_dir/depcomp"
2823     AMDEPBACKSLASH='\'
2824     fi
2825    
2826    
2827     if test "x$enable_dependency_tracking" != xno; then
2828     AMDEP_TRUE=
2829     AMDEP_FALSE='#'
2830     else
2831     AMDEP_TRUE='#'
2832     AMDEP_FALSE=
2833     fi
2834    
2835    
2836    
2837    
2838     depcc="$CC" am_compiler_list=
2839    
2840     echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2841     echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2842     if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2843     echo $ECHO_N "(cached) $ECHO_C" >&6
2844     else
2845     if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2846     # We make a subdir and do the tests there. Otherwise we can end up
2847     # making bogus files that we don't know about and never remove. For
2848     # instance it was reported that on HP-UX the gcc test will end up
2849     # making a dummy file named `D' -- because `-MD' means `put the output
2850     # in D'.
2851     mkdir conftest.dir
2852     # Copy depcomp to subdir because otherwise we won't find it if we're
2853     # using a relative directory.
2854     cp "$am_depcomp" conftest.dir
2855     cd conftest.dir
2856 sysadm 1.2 # We will build objects and dependencies in a subdirectory because
2857     # it helps to detect inapplicable dependency modes. For instance
2858     # both Tru64's cc and ICC support -MD to output dependencies as a
2859     # side effect of compilation, but ICC will put the dependencies in
2860     # the current directory while Tru64 will put them in the object
2861     # directory.
2862     mkdir sub
2863 sysadm 1.1
2864     am_cv_CC_dependencies_compiler_type=none
2865     if test "$am_compiler_list" = ""; then
2866     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2867     fi
2868     for depmode in $am_compiler_list; do
2869 sysadm 1.2 # Setup a source with many dependencies, because some compilers
2870     # like to wrap large dependency lists on column 80 (with \), and
2871     # we should not choose a depcomp mode which is confused by this.
2872     #
2873 sysadm 1.1 # We need to recreate these files for each test, as the compiler may
2874     # overwrite some of them when testing with obscure command lines.
2875     # This happens at least with the AIX C compiler.
2876 sysadm 1.2 : > sub/conftest.c
2877     for i in 1 2 3 4 5 6; do
2878     echo '#include "conftst'$i'.h"' >> sub/conftest.c
2879     # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2880     # Solaris 8's {/usr,}/bin/sh.
2881     touch sub/conftst$i.h
2882     done
2883     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2884 sysadm 1.1
2885     case $depmode in
2886     nosideeffect)
2887     # after this tag, mechanisms are not by side-effect, so they'll
2888     # only be used when explicitly requested
2889     if test "x$enable_dependency_tracking" = xyes; then
2890     continue
2891     else
2892     break
2893     fi
2894     ;;
2895     none) break ;;
2896     esac
2897     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2898     # mode. It turns out that the SunPro C++ compiler does not properly
2899     # handle `-M -o', and we need to detect this.
2900     if depmode=$depmode \
2901 sysadm 1.2 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2902     depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2903     $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2904     >/dev/null 2>conftest.err &&
2905     grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2906     grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2907 sysadm 1.1 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2908 sysadm 1.2 # icc doesn't choke on unknown options, it will just issue warnings
2909     # (even with -Werror). So we grep stderr for any message
2910     # that says an option was ignored.
2911     if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2912     am_cv_CC_dependencies_compiler_type=$depmode
2913     break
2914     fi
2915 sysadm 1.1 fi
2916     done
2917    
2918     cd ..
2919     rm -rf conftest.dir
2920     else
2921     am_cv_CC_dependencies_compiler_type=none
2922     fi
2923    
2924     fi
2925     echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2926     echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2927     CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2928    
2929    
2930 sysadm 1.2
2931     if
2932     test "x$enable_dependency_tracking" != xno \
2933     && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2934     am__fastdepCC_TRUE=
2935     am__fastdepCC_FALSE='#'
2936     else
2937     am__fastdepCC_TRUE='#'
2938     am__fastdepCC_FALSE=
2939     fi
2940    
2941    
2942 sysadm 1.1 depcc="$CC" am_compiler_list=
2943    
2944     echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2945     echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2946     if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2947     echo $ECHO_N "(cached) $ECHO_C" >&6
2948     else
2949     if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2950     # We make a subdir and do the tests there. Otherwise we can end up
2951     # making bogus files that we don't know about and never remove. For
2952     # instance it was reported that on HP-UX the gcc test will end up
2953     # making a dummy file named `D' -- because `-MD' means `put the output
2954     # in D'.
2955     mkdir conftest.dir
2956     # Copy depcomp to subdir because otherwise we won't find it if we're
2957     # using a relative directory.
2958     cp "$am_depcomp" conftest.dir
2959     cd conftest.dir
2960 sysadm 1.2 # We will build objects and dependencies in a subdirectory because
2961     # it helps to detect inapplicable dependency modes. For instance
2962     # both Tru64's cc and ICC support -MD to output dependencies as a
2963     # side effect of compilation, but ICC will put the dependencies in
2964     # the current directory while Tru64 will put them in the object
2965     # directory.
2966     mkdir sub
2967 sysadm 1.1
2968     am_cv_CC_dependencies_compiler_type=none
2969     if test "$am_compiler_list" = ""; then
2970     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2971     fi
2972     for depmode in $am_compiler_list; do
2973 sysadm 1.2 # Setup a source with many dependencies, because some compilers
2974     # like to wrap large dependency lists on column 80 (with \), and
2975     # we should not choose a depcomp mode which is confused by this.
2976     #
2977 sysadm 1.1 # We need to recreate these files for each test, as the compiler may
2978     # overwrite some of them when testing with obscure command lines.
2979     # This happens at least with the AIX C compiler.
2980 sysadm 1.2 : > sub/conftest.c
2981     for i in 1 2 3 4 5 6; do
2982     echo '#include "conftst'$i'.h"' >> sub/conftest.c
2983     # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2984     # Solaris 8's {/usr,}/bin/sh.
2985     touch sub/conftst$i.h
2986     done
2987     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2988 sysadm 1.1
2989     case $depmode in
2990     nosideeffect)
2991     # after this tag, mechanisms are not by side-effect, so they'll
2992     # only be used when explicitly requested
2993     if test "x$enable_dependency_tracking" = xyes; then
2994     continue
2995     else
2996     break
2997     fi
2998     ;;
2999     none) break ;;
3000     esac
3001     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3002     # mode. It turns out that the SunPro C++ compiler does not properly
3003     # handle `-M -o', and we need to detect this.
3004     if depmode=$depmode \
3005 sysadm 1.2 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3006     depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3007     $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3008     >/dev/null 2>conftest.err &&
3009     grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3010     grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3011 sysadm 1.1 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3012 sysadm 1.2 # icc doesn't choke on unknown options, it will just issue warnings
3013     # (even with -Werror). So we grep stderr for any message
3014     # that says an option was ignored.
3015     if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3016     am_cv_CC_dependencies_compiler_type=$depmode
3017     break
3018     fi
3019 sysadm 1.1 fi
3020     done
3021    
3022     cd ..
3023     rm -rf conftest.dir
3024     else
3025     am_cv_CC_dependencies_compiler_type=none
3026     fi
3027    
3028     fi
3029     echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3030     echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3031     CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3032    
3033    
3034    
3035 sysadm 1.2 if
3036     test "x$enable_dependency_tracking" != xno \
3037     && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3038     am__fastdepCC_TRUE=
3039     am__fastdepCC_FALSE='#'
3040     else
3041     am__fastdepCC_TRUE='#'
3042     am__fastdepCC_FALSE=
3043     fi
3044    
3045    
3046    
3047 sysadm 1.1 # Checks for libraries.
3048    
3049     # Checks for header files.
3050    
3051     # Checks for typedefs, structures, and compiler characteristics.
3052    
3053     # Checks for library functions.
3054    
3055     ac_config_files="$ac_config_files Makefile src/Makefile"
3056    
3057     cat >confcache <<\_ACEOF
3058     # This file is a shell script that caches the results of configure
3059     # tests run on this system so they can be shared between configure
3060     # scripts and configure runs, see configure's option --config-cache.
3061     # It is not useful on other systems. If it contains results you don't
3062     # want to keep, you may remove or edit it.
3063     #
3064     # config.status only pays attention to the cache file if you give it
3065     # the --recheck option to rerun configure.
3066     #
3067     # `ac_cv_env_foo' variables (set or unset) will be overridden when
3068     # loading this file, other *unset* `ac_cv_foo' will be assigned the
3069     # following values.
3070    
3071     _ACEOF
3072    
3073     # The following way of writing the cache mishandles newlines in values,
3074     # but we know of no workaround that is simple, portable, and efficient.
3075     # So, don't put newlines in cache variables' values.
3076     # Ultrix sh set writes to stderr and can't be redirected directly,
3077     # and sets the high bit in the cache file unless we assign to the vars.
3078     {
3079     (set) 2>&1 |
3080     case `(ac_space=' '; set | grep ac_space) 2>&1` in
3081     *ac_space=\ *)
3082     # `set' does not quote correctly, so add quotes (double-quote
3083     # substitution turns \\\\ into \\, and sed turns \\ into \).
3084     sed -n \
3085 sysadm 1.2 "s/'/'\\\\''/g;
3086     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3087 sysadm 1.1 ;;
3088     *)
3089     # `set' quotes correctly as required by POSIX, so do not add quotes.
3090     sed -n \
3091 sysadm 1.2 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3092 sysadm 1.1 ;;
3093     esac;
3094     } |
3095     sed '
3096     t clear
3097     : clear
3098     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3099     t end
3100     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3101     : end' >>confcache
3102     if diff $cache_file confcache >/dev/null 2>&1; then :; else
3103     if test -w $cache_file; then
3104     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3105     cat confcache >$cache_file
3106     else
3107     echo "not updating unwritable cache $cache_file"
3108     fi
3109     fi
3110     rm -f confcache
3111    
3112     test "x$prefix" = xNONE && prefix=$ac_default_prefix
3113     # Let make expand exec_prefix.
3114     test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3115    
3116     # VPATH may cause trouble with some makes, so we remove $(srcdir),
3117     # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3118     # trailing colons and then remove the whole line if VPATH becomes empty
3119     # (actually we leave an empty line to preserve line numbers).
3120     if test "x$srcdir" = x.; then
3121 sysadm 1.2 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3122 sysadm 1.1 s/:*\$(srcdir):*/:/;
3123     s/:*\${srcdir}:*/:/;
3124     s/:*@srcdir@:*/:/;
3125 sysadm 1.2 s/^\([^=]*=[ ]*\):*/\1/;
3126 sysadm 1.1 s/:*$//;
3127 sysadm 1.2 s/^[^=]*=[ ]*$//;
3128 sysadm 1.1 }'
3129     fi
3130    
3131     # Transform confdefs.h into DEFS.
3132     # Protect against shell expansion while executing Makefile rules.
3133     # Protect against Makefile macro expansion.
3134     #
3135     # If the first sed substitution is executed (which looks for macros that
3136     # take arguments), then we branch to the quote section. Otherwise,
3137     # look for a macro that doesn't take arguments.
3138     cat >confdef2opt.sed <<\_ACEOF
3139     t clear
3140     : clear
3141 sysadm 1.2 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3142 sysadm 1.1 t quote
3143 sysadm 1.2 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3144 sysadm 1.1 t quote
3145     d
3146     : quote
3147 sysadm 1.2 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3148 sysadm 1.1 s,\[,\\&,g
3149     s,\],\\&,g
3150     s,\$,$$,g
3151     p
3152     _ACEOF
3153     # We use echo to avoid assuming a particular line-breaking character.
3154     # The extra dot is to prevent the shell from consuming trailing
3155     # line-breaks from the sub-command output. A line-break within
3156     # single-quotes doesn't work because, if this script is created in a
3157     # platform that uses two characters for line-breaks (e.g., DOS), tr
3158     # would break.
3159     ac_LF_and_DOT=`echo; echo .`
3160     DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
3161     rm -f confdef2opt.sed
3162    
3163    
3164     ac_libobjs=
3165     ac_ltlibobjs=
3166     for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3167     # 1. Remove the extension, and $U if already installed.
3168     ac_i=`echo "$ac_i" |
3169 sysadm 1.2 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3170 sysadm 1.1 # 2. Add them.
3171     ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3172     ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3173     done
3174     LIBOBJS=$ac_libobjs
3175    
3176     LTLIBOBJS=$ac_ltlibobjs
3177    
3178    
3179     if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3180     { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3181     Usually this means the macro was only invoked conditionally." >&5
3182     echo "$as_me: error: conditional \"AMDEP\" was never defined.
3183     Usually this means the macro was only invoked conditionally." >&2;}
3184     { (exit 1); exit 1; }; }
3185     fi
3186 sysadm 1.2 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3187     { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3188     Usually this means the macro was only invoked conditionally." >&5
3189     echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3190     Usually this means the macro was only invoked conditionally." >&2;}
3191     { (exit 1); exit 1; }; }
3192     fi
3193     if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3194     { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3195     Usually this means the macro was only invoked conditionally." >&5
3196     echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3197     Usually this means the macro was only invoked conditionally." >&2;}
3198     { (exit 1); exit 1; }; }
3199     fi
3200 sysadm 1.1
3201     : ${CONFIG_STATUS=./config.status}
3202     ac_clean_files_save=$ac_clean_files
3203     ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3204     { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3205     echo "$as_me: creating $CONFIG_STATUS" >&6;}
3206     cat >$CONFIG_STATUS <<_ACEOF
3207     #! $SHELL
3208     # Generated by $as_me.
3209     # Run this file to recreate the current configuration.
3210     # Compiler output produced by configure, useful for debugging
3211     # configure, is in config.log if it exists.
3212    
3213     debug=false
3214     ac_cs_recheck=false
3215     ac_cs_silent=false
3216     SHELL=\${CONFIG_SHELL-$SHELL}
3217     _ACEOF
3218    
3219     cat >>$CONFIG_STATUS <<\_ACEOF
3220     ## --------------------- ##
3221     ## M4sh Initialization. ##
3222     ## --------------------- ##
3223    
3224     # Be Bourne compatible
3225     if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3226     emulate sh
3227     NULLCMD=:
3228     # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3229     # is contrary to our usage. Disable this feature.
3230     alias -g '${1+"$@"}'='"$@"'
3231     elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3232     set -o posix
3233     fi
3234 sysadm 1.2 DUALCASE=1; export DUALCASE # for MKS sh
3235 sysadm 1.1
3236     # Support unset when possible.
3237 sysadm 1.2 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3238 sysadm 1.1 as_unset=unset
3239     else
3240     as_unset=false
3241     fi
3242    
3243    
3244     # Work around bugs in pre-3.0 UWIN ksh.
3245     $as_unset ENV MAIL MAILPATH
3246     PS1='$ '
3247     PS2='> '
3248     PS4='+ '
3249    
3250     # NLS nuisances.
3251     for as_var in \
3252     LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3253     LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3254     LC_TELEPHONE LC_TIME
3255     do
3256 sysadm 1.2 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3257 sysadm 1.1 eval $as_var=C; export $as_var
3258     else
3259     $as_unset $as_var
3260     fi
3261     done
3262    
3263     # Required to use basename.
3264     if expr a : '\(a\)' >/dev/null 2>&1; then
3265     as_expr=expr
3266     else
3267     as_expr=false
3268     fi
3269    
3270     if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3271     as_basename=basename
3272     else
3273     as_basename=false
3274     fi
3275    
3276    
3277     # Name of the executable.
3278     as_me=`$as_basename "$0" ||
3279     $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3280     X"$0" : 'X\(//\)$' \| \
3281     X"$0" : 'X\(/\)$' \| \
3282     . : '\(.\)' 2>/dev/null ||
3283     echo X/"$0" |
3284     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3285     /^X\/\(\/\/\)$/{ s//\1/; q; }
3286     /^X\/\(\/\).*/{ s//\1/; q; }
3287     s/.*/./; q'`
3288    
3289    
3290     # PATH needs CR, and LINENO needs CR and PATH.
3291     # Avoid depending upon Character Ranges.
3292     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3293     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3294     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3295     as_cr_digits='0123456789'
3296     as_cr_alnum=$as_cr_Letters$as_cr_digits
3297    
3298     # The user is always right.
3299     if test "${PATH_SEPARATOR+set}" != set; then
3300     echo "#! /bin/sh" >conf$$.sh
3301     echo "exit 0" >>conf$$.sh
3302     chmod +x conf$$.sh
3303     if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3304     PATH_SEPARATOR=';'
3305     else
3306     PATH_SEPARATOR=:
3307     fi
3308     rm -f conf$$.sh
3309     fi
3310    
3311    
3312     as_lineno_1=$LINENO
3313     as_lineno_2=$LINENO
3314     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3315     test "x$as_lineno_1" != "x$as_lineno_2" &&
3316     test "x$as_lineno_3" = "x$as_lineno_2" || {
3317     # Find who we are. Look in the path if we contain no path at all
3318     # relative or not.
3319     case $0 in
3320     *[\\/]* ) as_myself=$0 ;;
3321     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3322     for as_dir in $PATH
3323     do
3324     IFS=$as_save_IFS
3325     test -z "$as_dir" && as_dir=.
3326     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3327     done
3328    
3329     ;;
3330     esac
3331     # We did not find ourselves, most probably we were run as `sh COMMAND'
3332     # in which case we are not to be found in the path.
3333     if test "x$as_myself" = x; then
3334     as_myself=$0
3335     fi
3336     if test ! -f "$as_myself"; then
3337     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3338     echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3339     { (exit 1); exit 1; }; }
3340     fi
3341     case $CONFIG_SHELL in
3342     '')
3343     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3344     for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3345     do
3346     IFS=$as_save_IFS
3347     test -z "$as_dir" && as_dir=.
3348     for as_base in sh bash ksh sh5; do
3349     case $as_dir in
3350     /*)
3351     if ("$as_dir/$as_base" -c '
3352     as_lineno_1=$LINENO
3353     as_lineno_2=$LINENO
3354     as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3355     test "x$as_lineno_1" != "x$as_lineno_2" &&
3356     test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3357     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3358     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3359     CONFIG_SHELL=$as_dir/$as_base
3360     export CONFIG_SHELL
3361     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3362     fi;;
3363     esac
3364     done
3365     done
3366     ;;
3367     esac
3368    
3369     # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3370     # uniformly replaced by the line number. The first 'sed' inserts a
3371     # line-number line before each line; the second 'sed' does the real
3372     # work. The second script uses 'N' to pair each line-number line
3373     # with the numbered line, and appends trailing '-' during
3374     # substitution so that $LINENO is not a special case at line end.
3375     # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3376     # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3377     sed '=' <$as_myself |
3378     sed '
3379     N
3380     s,$,-,
3381     : loop
3382     s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3383     t loop
3384     s,-$,,
3385     s,^['$as_cr_digits']*\n,,
3386     ' >$as_me.lineno &&
3387     chmod +x $as_me.lineno ||
3388     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3389     echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3390     { (exit 1); exit 1; }; }
3391    
3392     # Don't try to exec as it changes $[0], causing all sort of problems
3393     # (the dirname of $[0] is not the place where we might find the
3394     # original and so on. Autoconf is especially sensible to this).
3395     . ./$as_me.lineno
3396     # Exit status is that of the last command.
3397     exit
3398     }
3399    
3400    
3401     case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3402     *c*,-n*) ECHO_N= ECHO_C='
3403     ' ECHO_T=' ' ;;
3404     *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3405     *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3406     esac
3407    
3408     if expr a : '\(a\)' >/dev/null 2>&1; then
3409     as_expr=expr
3410     else
3411     as_expr=false
3412     fi
3413    
3414     rm -f conf$$ conf$$.exe conf$$.file
3415     echo >conf$$.file
3416     if ln -s conf$$.file conf$$ 2>/dev/null; then
3417     # We could just check for DJGPP; but this test a) works b) is more generic
3418     # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3419     if test -f conf$$.exe; then
3420     # Don't use ln at all; we don't have any links
3421     as_ln_s='cp -p'
3422     else
3423     as_ln_s='ln -s'
3424     fi
3425     elif ln conf$$.file conf$$ 2>/dev/null; then
3426     as_ln_s=ln
3427     else
3428     as_ln_s='cp -p'
3429     fi
3430     rm -f conf$$ conf$$.exe conf$$.file
3431    
3432     if mkdir -p . 2>/dev/null; then
3433     as_mkdir_p=:
3434     else
3435 sysadm 1.2 test -d ./-p && rmdir ./-p
3436 sysadm 1.1 as_mkdir_p=false
3437     fi
3438    
3439     as_executable_p="test -f"
3440    
3441     # Sed expression to map a string onto a valid CPP name.
3442 sysadm 1.2 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3443 sysadm 1.1
3444     # Sed expression to map a string onto a valid variable name.
3445 sysadm 1.2 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3446 sysadm 1.1
3447    
3448     # IFS
3449     # We need space, tab and new line, in precisely that order.
3450     as_nl='
3451     '
3452     IFS=" $as_nl"
3453    
3454     # CDPATH.
3455     $as_unset CDPATH
3456    
3457     exec 6>&1
3458    
3459     # Open the log real soon, to keep \$[0] and so on meaningful, and to
3460     # report actual input values of CONFIG_FILES etc. instead of their
3461     # values after options handling. Logging --version etc. is OK.
3462     exec 5>>config.log
3463     {
3464     echo
3465     sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3466     ## Running $as_me. ##
3467     _ASBOX
3468     } >&5
3469     cat >&5 <<_CSEOF
3470    
3471     This file was extended by bbsd $as_me 1.0, which was
3472 sysadm 1.2 generated by GNU Autoconf 2.59. Invocation command line was
3473 sysadm 1.1
3474     CONFIG_FILES = $CONFIG_FILES
3475     CONFIG_HEADERS = $CONFIG_HEADERS
3476     CONFIG_LINKS = $CONFIG_LINKS
3477     CONFIG_COMMANDS = $CONFIG_COMMANDS
3478     $ $0 $@
3479    
3480     _CSEOF
3481     echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3482     echo >&5
3483     _ACEOF
3484    
3485     # Files that config.status was made for.
3486     if test -n "$ac_config_files"; then
3487     echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3488     fi
3489    
3490     if test -n "$ac_config_headers"; then
3491     echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3492     fi
3493    
3494     if test -n "$ac_config_links"; then
3495     echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3496     fi
3497    
3498     if test -n "$ac_config_commands"; then
3499     echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3500     fi
3501    
3502     cat >>$CONFIG_STATUS <<\_ACEOF
3503    
3504     ac_cs_usage="\
3505     \`$as_me' instantiates files from templates according to the
3506     current configuration.
3507    
3508     Usage: $0 [OPTIONS] [FILE]...
3509    
3510     -h, --help print this help, then exit
3511     -V, --version print version number, then exit
3512     -q, --quiet do not print progress messages
3513     -d, --debug don't remove temporary files
3514     --recheck update $as_me by reconfiguring in the same conditions
3515     --file=FILE[:TEMPLATE]
3516 sysadm 1.2 instantiate the configuration file FILE
3517 sysadm 1.1
3518     Configuration files:
3519     $config_files
3520    
3521     Configuration commands:
3522     $config_commands
3523    
3524     Report bugs to <bug-autoconf@gnu.org>."
3525     _ACEOF
3526    
3527     cat >>$CONFIG_STATUS <<_ACEOF
3528     ac_cs_version="\\
3529     bbsd config.status 1.0
3530 sysadm 1.2 configured by $0, generated by GNU Autoconf 2.59,
3531 sysadm 1.1 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3532    
3533 sysadm 1.2 Copyright (C) 2003 Free Software Foundation, Inc.
3534 sysadm 1.1 This config.status script is free software; the Free Software Foundation
3535     gives unlimited permission to copy, distribute and modify it."
3536     srcdir=$srcdir
3537     INSTALL="$INSTALL"
3538     _ACEOF
3539    
3540     cat >>$CONFIG_STATUS <<\_ACEOF
3541     # If no file are specified by the user, then we need to provide default
3542     # value. By we need to know if files were specified by the user.
3543     ac_need_defaults=:
3544     while test $# != 0
3545     do
3546     case $1 in
3547     --*=*)
3548     ac_option=`expr "x$1" : 'x\([^=]*\)='`
3549     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3550     ac_shift=:
3551     ;;
3552     -*)
3553     ac_option=$1
3554     ac_optarg=$2
3555     ac_shift=shift
3556     ;;
3557     *) # This is not an option, so the user has probably given explicit
3558     # arguments.
3559     ac_option=$1
3560     ac_need_defaults=false;;
3561     esac
3562    
3563     case $ac_option in
3564     # Handling of the options.
3565     _ACEOF
3566     cat >>$CONFIG_STATUS <<\_ACEOF
3567     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3568     ac_cs_recheck=: ;;
3569     --version | --vers* | -V )
3570     echo "$ac_cs_version"; exit 0 ;;
3571     --he | --h)
3572     # Conflict between --help and --header
3573     { { echo "$as_me:$LINENO: error: ambiguous option: $1
3574     Try \`$0 --help' for more information." >&5
3575     echo "$as_me: error: ambiguous option: $1
3576     Try \`$0 --help' for more information." >&2;}
3577     { (exit 1); exit 1; }; };;
3578     --help | --hel | -h )
3579     echo "$ac_cs_usage"; exit 0 ;;
3580     --debug | --d* | -d )
3581     debug=: ;;
3582     --file | --fil | --fi | --f )
3583     $ac_shift
3584     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3585     ac_need_defaults=false;;
3586     --header | --heade | --head | --hea )
3587     $ac_shift
3588     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3589     ac_need_defaults=false;;
3590     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3591     | -silent | --silent | --silen | --sile | --sil | --si | --s)
3592     ac_cs_silent=: ;;
3593    
3594     # This is an error.
3595     -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3596     Try \`$0 --help' for more information." >&5
3597     echo "$as_me: error: unrecognized option: $1
3598     Try \`$0 --help' for more information." >&2;}
3599     { (exit 1); exit 1; }; } ;;
3600    
3601     *) ac_config_targets="$ac_config_targets $1" ;;
3602    
3603     esac
3604     shift
3605     done
3606    
3607     ac_configure_extra_args=
3608    
3609     if $ac_cs_silent; then
3610     exec 6>/dev/null
3611     ac_configure_extra_args="$ac_configure_extra_args --silent"
3612     fi
3613    
3614     _ACEOF
3615     cat >>$CONFIG_STATUS <<_ACEOF
3616     if \$ac_cs_recheck; then
3617     echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3618     exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3619     fi
3620    
3621     _ACEOF
3622    
3623     cat >>$CONFIG_STATUS <<_ACEOF
3624     #
3625     # INIT-COMMANDS section.
3626     #
3627    
3628     AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3629    
3630     _ACEOF
3631    
3632    
3633    
3634     cat >>$CONFIG_STATUS <<\_ACEOF
3635     for ac_config_target in $ac_config_targets
3636     do
3637     case "$ac_config_target" in
3638     # Handling of arguments.
3639     "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3640     "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3641     "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3642     *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3643     echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3644     { (exit 1); exit 1; }; };;
3645     esac
3646     done
3647    
3648     # If the user did not use the arguments to specify the items to instantiate,
3649     # then the envvar interface is used. Set only those that are not.
3650     # We use the long form for the default assignment because of an extremely
3651     # bizarre bug on SunOS 4.1.3.
3652     if $ac_need_defaults; then
3653     test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3654     test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3655     fi
3656    
3657     # Have a temporary directory for convenience. Make it in the build tree
3658     # simply because there is no reason to put it here, and in addition,
3659     # creating and moving files from /tmp can sometimes cause problems.
3660     # Create a temporary directory, and hook for its removal unless debugging.
3661     $debug ||
3662     {
3663     trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3664     trap '{ (exit 1); exit 1; }' 1 2 13 15
3665     }
3666    
3667     # Create a (secure) tmp directory for tmp files.
3668    
3669     {
3670     tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3671     test -n "$tmp" && test -d "$tmp"
3672     } ||
3673     {
3674     tmp=./confstat$$-$RANDOM
3675     (umask 077 && mkdir $tmp)
3676     } ||
3677     {
3678     echo "$me: cannot create a temporary directory in ." >&2
3679     { (exit 1); exit 1; }
3680     }
3681    
3682     _ACEOF
3683    
3684     cat >>$CONFIG_STATUS <<_ACEOF
3685    
3686     #
3687     # CONFIG_FILES section.
3688     #
3689    
3690     # No need to generate the scripts if there are no CONFIG_FILES.
3691     # This happens for instance when ./config.status config.h
3692     if test -n "\$CONFIG_FILES"; then
3693     # Protect against being on the right side of a sed subst in config.status.
3694     sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3695     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3696     s,@SHELL@,$SHELL,;t t
3697     s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3698     s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3699     s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3700     s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3701     s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3702     s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3703     s,@exec_prefix@,$exec_prefix,;t t
3704     s,@prefix@,$prefix,;t t
3705     s,@program_transform_name@,$program_transform_name,;t t
3706     s,@bindir@,$bindir,;t t
3707     s,@sbindir@,$sbindir,;t t
3708     s,@libexecdir@,$libexecdir,;t t
3709     s,@datadir@,$datadir,;t t
3710     s,@sysconfdir@,$sysconfdir,;t t
3711     s,@sharedstatedir@,$sharedstatedir,;t t
3712     s,@localstatedir@,$localstatedir,;t t
3713     s,@libdir@,$libdir,;t t
3714     s,@includedir@,$includedir,;t t
3715     s,@oldincludedir@,$oldincludedir,;t t
3716     s,@infodir@,$infodir,;t t
3717     s,@mandir@,$mandir,;t t
3718     s,@build_alias@,$build_alias,;t t
3719     s,@host_alias@,$host_alias,;t t
3720     s,@target_alias@,$target_alias,;t t
3721     s,@DEFS@,$DEFS,;t t
3722     s,@ECHO_C@,$ECHO_C,;t t
3723     s,@ECHO_N@,$ECHO_N,;t t
3724     s,@ECHO_T@,$ECHO_T,;t t
3725     s,@LIBS@,$LIBS,;t t
3726     s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3727     s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3728     s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3729 sysadm 1.2 s,@CYGPATH_W@,$CYGPATH_W,;t t
3730 sysadm 1.1 s,@PACKAGE@,$PACKAGE,;t t
3731     s,@VERSION@,$VERSION,;t t
3732     s,@ACLOCAL@,$ACLOCAL,;t t
3733     s,@AUTOCONF@,$AUTOCONF,;t t
3734     s,@AUTOMAKE@,$AUTOMAKE,;t t
3735     s,@AUTOHEADER@,$AUTOHEADER,;t t
3736     s,@MAKEINFO@,$MAKEINFO,;t t
3737     s,@AMTAR@,$AMTAR,;t t
3738     s,@install_sh@,$install_sh,;t t
3739     s,@STRIP@,$STRIP,;t t
3740     s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3741     s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3742 sysadm 1.2 s,@mkdir_p@,$mkdir_p,;t t
3743 sysadm 1.1 s,@AWK@,$AWK,;t t
3744     s,@SET_MAKE@,$SET_MAKE,;t t
3745 sysadm 1.2 s,@am__leading_dot@,$am__leading_dot,;t t
3746 sysadm 1.1 s,@CC@,$CC,;t t
3747     s,@CFLAGS@,$CFLAGS,;t t
3748     s,@LDFLAGS@,$LDFLAGS,;t t
3749     s,@CPPFLAGS@,$CPPFLAGS,;t t
3750     s,@ac_ct_CC@,$ac_ct_CC,;t t
3751     s,@EXEEXT@,$EXEEXT,;t t
3752     s,@OBJEXT@,$OBJEXT,;t t
3753     s,@DEPDIR@,$DEPDIR,;t t
3754     s,@am__include@,$am__include,;t t
3755     s,@am__quote@,$am__quote,;t t
3756     s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3757     s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3758     s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3759     s,@CCDEPMODE@,$CCDEPMODE,;t t
3760 sysadm 1.2 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
3761     s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
3762 sysadm 1.1 s,@LIBOBJS@,$LIBOBJS,;t t
3763     s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3764     CEOF
3765    
3766     _ACEOF
3767    
3768     cat >>$CONFIG_STATUS <<\_ACEOF
3769     # Split the substitutions into bite-sized pieces for seds with
3770     # small command number limits, like on Digital OSF/1 and HP-UX.
3771     ac_max_sed_lines=48
3772     ac_sed_frag=1 # Number of current file.
3773     ac_beg=1 # First line for current file.
3774     ac_end=$ac_max_sed_lines # Line after last line for current file.
3775     ac_more_lines=:
3776     ac_sed_cmds=
3777     while $ac_more_lines; do
3778     if test $ac_beg -gt 1; then
3779     sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3780     else
3781     sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3782     fi
3783     if test ! -s $tmp/subs.frag; then
3784     ac_more_lines=false
3785     else
3786     # The purpose of the label and of the branching condition is to
3787     # speed up the sed processing (if there are no `@' at all, there
3788     # is no need to browse any of the substitutions).
3789     # These are the two extra sed commands mentioned above.
3790     (echo ':t
3791     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3792     if test -z "$ac_sed_cmds"; then
3793 sysadm 1.2 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3794 sysadm 1.1 else
3795 sysadm 1.2 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3796 sysadm 1.1 fi
3797     ac_sed_frag=`expr $ac_sed_frag + 1`
3798     ac_beg=$ac_end
3799     ac_end=`expr $ac_end + $ac_max_sed_lines`
3800     fi
3801     done
3802     if test -z "$ac_sed_cmds"; then
3803     ac_sed_cmds=cat
3804     fi
3805     fi # test -n "$CONFIG_FILES"
3806    
3807     _ACEOF
3808     cat >>$CONFIG_STATUS <<\_ACEOF
3809     for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3810     # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3811     case $ac_file in
3812     - | *:- | *:-:* ) # input from stdin
3813 sysadm 1.2 cat >$tmp/stdin
3814     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3815     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3816 sysadm 1.1 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3817 sysadm 1.2 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3818 sysadm 1.1 * ) ac_file_in=$ac_file.in ;;
3819     esac
3820    
3821     # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3822     ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3823     $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3824 sysadm 1.2 X"$ac_file" : 'X\(//\)[^/]' \| \
3825     X"$ac_file" : 'X\(//\)$' \| \
3826     X"$ac_file" : 'X\(/\)' \| \
3827     . : '\(.\)' 2>/dev/null ||
3828 sysadm 1.1 echo X"$ac_file" |
3829     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3830     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3831     /^X\(\/\/\)$/{ s//\1/; q; }
3832     /^X\(\/\).*/{ s//\1/; q; }
3833     s/.*/./; q'`
3834     { if $as_mkdir_p; then
3835     mkdir -p "$ac_dir"
3836     else
3837     as_dir="$ac_dir"
3838     as_dirs=
3839     while test ! -d "$as_dir"; do
3840     as_dirs="$as_dir $as_dirs"
3841     as_dir=`(dirname "$as_dir") 2>/dev/null ||
3842     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3843 sysadm 1.2 X"$as_dir" : 'X\(//\)[^/]' \| \
3844     X"$as_dir" : 'X\(//\)$' \| \
3845     X"$as_dir" : 'X\(/\)' \| \
3846     . : '\(.\)' 2>/dev/null ||
3847 sysadm 1.1 echo X"$as_dir" |
3848     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3849     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3850     /^X\(\/\/\)$/{ s//\1/; q; }
3851     /^X\(\/\).*/{ s//\1/; q; }
3852     s/.*/./; q'`
3853     done
3854     test ! -n "$as_dirs" || mkdir $as_dirs
3855     fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3856     echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3857     { (exit 1); exit 1; }; }; }
3858    
3859     ac_builddir=.
3860    
3861     if test "$ac_dir" != .; then
3862     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3863     # A "../" for each directory in $ac_dir_suffix.
3864     ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3865     else
3866     ac_dir_suffix= ac_top_builddir=
3867     fi
3868    
3869     case $srcdir in
3870     .) # No --srcdir option. We are building in place.
3871     ac_srcdir=.
3872     if test -z "$ac_top_builddir"; then
3873     ac_top_srcdir=.
3874     else
3875     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3876     fi ;;
3877     [\\/]* | ?:[\\/]* ) # Absolute path.
3878     ac_srcdir=$srcdir$ac_dir_suffix;
3879     ac_top_srcdir=$srcdir ;;
3880     *) # Relative path.
3881     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3882     ac_top_srcdir=$ac_top_builddir$srcdir ;;
3883     esac
3884 sysadm 1.2
3885     # Do not use `cd foo && pwd` to compute absolute paths, because
3886     # the directories may not exist.
3887     case `pwd` in
3888     .) ac_abs_builddir="$ac_dir";;
3889     *)
3890     case "$ac_dir" in
3891     .) ac_abs_builddir=`pwd`;;
3892     [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3893     *) ac_abs_builddir=`pwd`/"$ac_dir";;
3894     esac;;
3895     esac
3896     case $ac_abs_builddir in
3897     .) ac_abs_top_builddir=${ac_top_builddir}.;;
3898     *)
3899     case ${ac_top_builddir}. in
3900     .) ac_abs_top_builddir=$ac_abs_builddir;;
3901     [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3902     *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3903     esac;;
3904     esac
3905     case $ac_abs_builddir in
3906     .) ac_abs_srcdir=$ac_srcdir;;
3907     *)
3908     case $ac_srcdir in
3909     .) ac_abs_srcdir=$ac_abs_builddir;;
3910     [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3911     *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3912     esac;;
3913     esac
3914     case $ac_abs_builddir in
3915     .) ac_abs_top_srcdir=$ac_top_srcdir;;
3916     *)
3917     case $ac_top_srcdir in
3918     .) ac_abs_top_srcdir=$ac_abs_builddir;;
3919     [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3920     *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3921     esac;;
3922     esac
3923 sysadm 1.1
3924    
3925     case $INSTALL in
3926     [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3927     *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3928     esac
3929    
3930     if test x"$ac_file" != x-; then
3931     { echo "$as_me:$LINENO: creating $ac_file" >&5
3932     echo "$as_me: creating $ac_file" >&6;}
3933     rm -f "$ac_file"
3934     fi
3935     # Let's still pretend it is `configure' which instantiates (i.e., don't
3936     # use $as_me), people would be surprised to read:
3937     # /* config.h. Generated by config.status. */
3938     if test x"$ac_file" = x-; then
3939     configure_input=
3940     else
3941     configure_input="$ac_file. "
3942     fi
3943     configure_input=$configure_input"Generated from `echo $ac_file_in |
3944 sysadm 1.2 sed 's,.*/,,'` by configure."
3945 sysadm 1.1
3946     # First look for the input files in the build tree, otherwise in the
3947     # src tree.
3948     ac_file_inputs=`IFS=:
3949     for f in $ac_file_in; do
3950     case $f in
3951     -) echo $tmp/stdin ;;
3952     [\\/$]*)
3953 sysadm 1.2 # Absolute (can't be DOS-style, as IFS=:)
3954     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3955 sysadm 1.1 echo "$as_me: error: cannot find input file: $f" >&2;}
3956     { (exit 1); exit 1; }; }
3957 sysadm 1.2 echo "$f";;
3958 sysadm 1.1 *) # Relative
3959 sysadm 1.2 if test -f "$f"; then
3960     # Build tree
3961     echo "$f"
3962     elif test -f "$srcdir/$f"; then
3963     # Source tree
3964     echo "$srcdir/$f"
3965     else
3966     # /dev/null tree
3967     { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3968 sysadm 1.1 echo "$as_me: error: cannot find input file: $f" >&2;}
3969     { (exit 1); exit 1; }; }
3970 sysadm 1.2 fi;;
3971 sysadm 1.1 esac
3972     done` || { (exit 1); exit 1; }
3973     _ACEOF
3974     cat >>$CONFIG_STATUS <<_ACEOF
3975     sed "$ac_vpsub
3976     $extrasub
3977     _ACEOF
3978     cat >>$CONFIG_STATUS <<\_ACEOF
3979     :t
3980     /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3981     s,@configure_input@,$configure_input,;t t
3982     s,@srcdir@,$ac_srcdir,;t t
3983     s,@abs_srcdir@,$ac_abs_srcdir,;t t
3984     s,@top_srcdir@,$ac_top_srcdir,;t t
3985     s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3986     s,@builddir@,$ac_builddir,;t t
3987     s,@abs_builddir@,$ac_abs_builddir,;t t
3988     s,@top_builddir@,$ac_top_builddir,;t t
3989     s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3990     s,@INSTALL@,$ac_INSTALL,;t t
3991     " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3992     rm -f $tmp/stdin
3993     if test x"$ac_file" != x-; then
3994     mv $tmp/out $ac_file
3995     else
3996     cat $tmp/out
3997     rm -f $tmp/out
3998     fi
3999    
4000     done
4001     _ACEOF
4002     cat >>$CONFIG_STATUS <<\_ACEOF
4003    
4004     #
4005     # CONFIG_COMMANDS section.
4006     #
4007     for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4008     ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4009     ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4010     ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4011     $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4012 sysadm 1.2 X"$ac_dest" : 'X\(//\)[^/]' \| \
4013     X"$ac_dest" : 'X\(//\)$' \| \
4014     X"$ac_dest" : 'X\(/\)' \| \
4015     . : '\(.\)' 2>/dev/null ||
4016 sysadm 1.1 echo X"$ac_dest" |
4017     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4018     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4019     /^X\(\/\/\)$/{ s//\1/; q; }
4020     /^X\(\/\).*/{ s//\1/; q; }
4021     s/.*/./; q'`
4022 sysadm 1.2 { if $as_mkdir_p; then
4023     mkdir -p "$ac_dir"
4024     else
4025     as_dir="$ac_dir"
4026     as_dirs=
4027     while test ! -d "$as_dir"; do
4028     as_dirs="$as_dir $as_dirs"
4029     as_dir=`(dirname "$as_dir") 2>/dev/null ||
4030     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4031     X"$as_dir" : 'X\(//\)[^/]' \| \
4032     X"$as_dir" : 'X\(//\)$' \| \
4033     X"$as_dir" : 'X\(/\)' \| \
4034     . : '\(.\)' 2>/dev/null ||
4035     echo X"$as_dir" |
4036     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4037     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4038     /^X\(\/\/\)$/{ s//\1/; q; }
4039     /^X\(\/\).*/{ s//\1/; q; }
4040     s/.*/./; q'`
4041     done
4042     test ! -n "$as_dirs" || mkdir $as_dirs
4043     fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4044     echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4045     { (exit 1); exit 1; }; }; }
4046    
4047 sysadm 1.1 ac_builddir=.
4048    
4049     if test "$ac_dir" != .; then
4050     ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4051     # A "../" for each directory in $ac_dir_suffix.
4052     ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4053     else
4054     ac_dir_suffix= ac_top_builddir=
4055     fi
4056    
4057     case $srcdir in
4058     .) # No --srcdir option. We are building in place.
4059     ac_srcdir=.
4060     if test -z "$ac_top_builddir"; then
4061     ac_top_srcdir=.
4062     else
4063     ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4064     fi ;;
4065     [\\/]* | ?:[\\/]* ) # Absolute path.
4066     ac_srcdir=$srcdir$ac_dir_suffix;
4067     ac_top_srcdir=$srcdir ;;
4068     *) # Relative path.
4069     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4070     ac_top_srcdir=$ac_top_builddir$srcdir ;;
4071     esac
4072 sysadm 1.2
4073     # Do not use `cd foo && pwd` to compute absolute paths, because
4074     # the directories may not exist.
4075     case `pwd` in
4076     .) ac_abs_builddir="$ac_dir";;
4077     *)
4078     case "$ac_dir" in
4079     .) ac_abs_builddir=`pwd`;;
4080     [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4081     *) ac_abs_builddir=`pwd`/"$ac_dir";;
4082     esac;;
4083     esac
4084     case $ac_abs_builddir in
4085     .) ac_abs_top_builddir=${ac_top_builddir}.;;
4086     *)
4087     case ${ac_top_builddir}. in
4088     .) ac_abs_top_builddir=$ac_abs_builddir;;
4089     [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4090     *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4091     esac;;
4092     esac
4093     case $ac_abs_builddir in
4094     .) ac_abs_srcdir=$ac_srcdir;;
4095     *)
4096     case $ac_srcdir in
4097     .) ac_abs_srcdir=$ac_abs_builddir;;
4098     [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4099     *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4100     esac;;
4101     esac
4102     case $ac_abs_builddir in
4103     .) ac_abs_top_srcdir=$ac_top_srcdir;;
4104     *)
4105     case $ac_top_srcdir in
4106     .) ac_abs_top_srcdir=$ac_abs_builddir;;
4107     [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4108     *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4109     esac;;
4110     esac
4111 sysadm 1.1
4112    
4113     { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4114     echo "$as_me: executing $ac_dest commands" >&6;}
4115     case $ac_dest in
4116     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4117     # Strip MF so we end up with the name of the file.
4118     mf=`echo "$mf" | sed -e 's/:.*$//'`
4119     # Check whether this is an Automake generated Makefile or not.
4120     # We used to match only the files named `Makefile.in', but
4121     # some people rename them; so instead we look at the file content.
4122     # Grep'ing the first line is not enough: some people post-process
4123     # each Makefile.in and add a new line on top of each file to say so.
4124     # So let's grep whole file.
4125     if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4126     dirpart=`(dirname "$mf") 2>/dev/null ||
4127     $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4128 sysadm 1.2 X"$mf" : 'X\(//\)[^/]' \| \
4129     X"$mf" : 'X\(//\)$' \| \
4130     X"$mf" : 'X\(/\)' \| \
4131     . : '\(.\)' 2>/dev/null ||
4132 sysadm 1.1 echo X"$mf" |
4133     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4134     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4135     /^X\(\/\/\)$/{ s//\1/; q; }
4136     /^X\(\/\).*/{ s//\1/; q; }
4137     s/.*/./; q'`
4138     else
4139     continue
4140     fi
4141     grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4142     # Extract the definition of DEP_FILES from the Makefile without
4143     # running `make'.
4144 sysadm 1.2 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4145 sysadm 1.1 test -z "$DEPDIR" && continue
4146     # When using ansi2knr, U may be empty or an underscore; expand it
4147 sysadm 1.2 U=`sed -n 's/^U = //p' < "$mf"`
4148 sysadm 1.1 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
4149     # We invoke sed twice because it is the simplest approach to
4150     # changing $(DEPDIR) to its actual value in the expansion.
4151 sysadm 1.2 for file in `sed -n '
4152 sysadm 1.1 /^DEP_FILES = .*\\\\$/ {
4153     s/^DEP_FILES = //
4154     :loop
4155     s/\\\\$//
4156     p
4157     n
4158     /\\\\$/ b loop
4159     p
4160     }
4161     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
4162     sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4163     # Make sure the directory exists.
4164     test -f "$dirpart/$file" && continue
4165     fdir=`(dirname "$file") 2>/dev/null ||
4166     $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4167 sysadm 1.2 X"$file" : 'X\(//\)[^/]' \| \
4168     X"$file" : 'X\(//\)$' \| \
4169     X"$file" : 'X\(/\)' \| \
4170     . : '\(.\)' 2>/dev/null ||
4171 sysadm 1.1 echo X"$file" |
4172     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4173     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4174     /^X\(\/\/\)$/{ s//\1/; q; }
4175     /^X\(\/\).*/{ s//\1/; q; }
4176     s/.*/./; q'`
4177     { if $as_mkdir_p; then
4178     mkdir -p $dirpart/$fdir
4179     else
4180     as_dir=$dirpart/$fdir
4181     as_dirs=
4182     while test ! -d "$as_dir"; do
4183     as_dirs="$as_dir $as_dirs"
4184     as_dir=`(dirname "$as_dir") 2>/dev/null ||
4185     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4186 sysadm 1.2 X"$as_dir" : 'X\(//\)[^/]' \| \
4187     X"$as_dir" : 'X\(//\)$' \| \
4188     X"$as_dir" : 'X\(/\)' \| \
4189     . : '\(.\)' 2>/dev/null ||
4190 sysadm 1.1 echo X"$as_dir" |
4191     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4192     /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4193     /^X\(\/\/\)$/{ s//\1/; q; }
4194     /^X\(\/\).*/{ s//\1/; q; }
4195     s/.*/./; q'`
4196     done
4197     test ! -n "$as_dirs" || mkdir $as_dirs
4198     fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4199     echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4200     { (exit 1); exit 1; }; }; }
4201    
4202     # echo "creating $dirpart/$file"
4203     echo '# dummy' > "$dirpart/$file"
4204     done
4205     done
4206     ;;
4207     esac
4208     done
4209     _ACEOF
4210    
4211     cat >>$CONFIG_STATUS <<\_ACEOF
4212    
4213     { (exit 0); exit 0; }
4214     _ACEOF
4215     chmod +x $CONFIG_STATUS
4216     ac_clean_files=$ac_clean_files_save
4217    
4218    
4219     # configure is writing to config.log, and then calls config.status.
4220     # config.status does its own redirection, appending to config.log.
4221     # Unfortunately, on DOS this fails, as config.log is still kept open
4222     # by configure, so config.status won't be able to write to it; its
4223     # output is simply discarded. So we exec the FD to /dev/null,
4224     # effectively closing config.log, so it can be properly (re)opened and
4225     # appended to by config.status. When coming back to configure, we
4226     # need to make the FD available again.
4227     if test "$no_create" != yes; then
4228     ac_cs_success=:
4229     ac_config_status_args=
4230     test "$silent" = yes &&
4231     ac_config_status_args="$ac_config_status_args --quiet"
4232     exec 5>/dev/null
4233     $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4234     exec 5>>config.log
4235     # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4236     # would make configure fail if this is the last instruction.
4237     $ac_cs_success || { (exit 1); exit 1; }
4238     fi
4239    

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