/[LeafOK_CVS]/lbbs/configure
ViewVC logotype

Annotation of /lbbs/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Mon Oct 11 10:24:54 2004 UTC (21 years, 5 months ago) by sysadm
Branch: MAIN
start new project

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

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