/[LeafOK_CVS]/lbbs/configure
ViewVC logotype

Contents of /lbbs/configure

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Sun Oct 17 06:19:01 2004 UTC (21 years, 5 months ago) by sysadm
Branch: MAIN
Changes since 1.1: +547 -224 lines
*** empty log message ***

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

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