2 # From configure.in Revision: 1.9 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59.
6 # Copyright (C) 2003 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 DUALCASE=1; export DUALCASE # for MKS sh
25 # Support unset when possible.
26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 eval $as_var=C; export $as_var
52 # Required to use basename.
53 if expr a : '\(a\)' >/dev/null 2>&1; then
59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
66 # Name of the executable.
67 as_me=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
79 # PATH needs CR, and LINENO needs CR and PATH.
80 # Avoid depending upon Character Ranges.
81 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
84 as_cr_digits='0123456789'
85 as_cr_alnum=$as_cr_Letters$as_cr_digits
87 # The user is always right.
88 if test "${PATH_SEPARATOR+set}" != set; then
89 echo "#! /bin/sh" >conf$$.sh
90 echo "exit 0" >>conf$$.sh
92 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104 test "x$as_lineno_1" != "x$as_lineno_2" &&
105 test "x$as_lineno_3" = "x$as_lineno_2" || {
106 # Find who we are. Look in the path if we contain no path at all
109 *[\\/]* ) as_myself=$0 ;;
110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
114 test -z "$as_dir" && as_dir=.
115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x; then
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
129 case $CONFIG_SHELL in
131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 test -z "$as_dir" && as_dir=.
136 for as_base in sh bash ksh sh5; do
139 if ("$as_dir/$as_base" -c '
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147 CONFIG_SHELL=$as_dir/$as_base
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 s,^['$as_cr_digits']*\n,,
175 chmod +x $as_me.lineno ||
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177 { (exit 1); exit 1; }; }
179 # Don't try to exec as it changes $[0], causing all sort of problems
180 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
183 # Exit status is that of the last command.
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189 *c*,-n*) ECHO_N= ECHO_C='
191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 if expr a : '\(a\)' >/dev/null 2>&1; then
201 rm -f conf$$ conf$$.exe conf$$.file
203 if ln -s conf$$.file conf$$ 2>/dev/null; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe; then
207 # Don't use ln at all; we don't have any links
212 elif ln conf$$.file conf$$ 2>/dev/null; then
217 rm -f conf$$ conf$$.exe conf$$.file
219 if mkdir -p . 2>/dev/null; then
222 test -d ./-p && rmdir ./-p
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
236 # We need space, tab and new line, in precisely that order.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
261 SHELL=${CONFIG_SHELL-/bin/sh}
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
268 # Identity of this package.
275 ac_unique_file="rlm_counter.c"
276 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP counter_ldflags counter_cflags targetname LIBOBJS LTLIBOBJS'
279 # Initialize some variables set by options.
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name=s,x,x,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev=cache_file ;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file=$ac_optarg ;;
351 cache_file=config.cache ;;
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357 datadir=$ac_optarg ;;
359 -disable-* | --disable-*)
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* | --enable-*)
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383 | --exec | --exe | --ex)
384 ac_prev=exec_prefix ;;
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387 | --exec=* | --exe=* | --ex=*)
388 exec_prefix=$ac_optarg ;;
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
394 -help | --help | --hel | --he | -h)
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397 ac_init_help=recursive ;;
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399 ac_init_help=short ;;
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
406 -includedir | --includedir | --includedi | --included | --include \
407 | --includ | --inclu | --incl | --inc)
408 ac_prev=includedir ;;
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410 | --includ=* | --inclu=* | --incl=* | --inc=*)
411 includedir=$ac_optarg ;;
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
418 -libdir | --libdir | --libdi | --libd)
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424 | --libexe | --libex | --libe)
425 ac_prev=libexecdir ;;
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427 | --libexe=* | --libex=* | --libe=*)
428 libexecdir=$ac_optarg ;;
430 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
433 ac_prev=localstatedir ;;
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437 localstatedir=$ac_optarg ;;
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
445 # Obsolete; use --without-fp.
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458 | --oldin | --oldi | --old | --ol | --o)
459 ac_prev=oldincludedir ;;
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463 oldincludedir=$ac_optarg ;;
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \
471 | --program-pre | --program-pr | --program-p)
472 ac_prev=program_prefix ;;
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475 program_prefix=$ac_optarg ;;
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \
478 | --program-suf | --program-su | --program-s)
479 ac_prev=program_suffix ;;
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482 program_suffix=$ac_optarg ;;
484 -program-transform-name | --program-transform-name \
485 | --program-transform-nam | --program-transform-na \
486 | --program-transform-n | --program-transform- \
487 | --program-transform | --program-transfor \
488 | --program-transfo | --program-transf \
489 | --program-trans | --program-tran \
490 | --progr-tra | --program-tr | --program-t)
491 ac_prev=program_transform_name ;;
492 -program-transform-name=* | --program-transform-name=* \
493 | --program-transform-nam=* | --program-transform-na=* \
494 | --program-transform-n=* | --program-transform-=* \
495 | --program-transform=* | --program-transfor=* \
496 | --program-transfo=* | --program-transf=* \
497 | --program-trans=* | --program-tran=* \
498 | --progr-tra=* | --program-tr=* | --program-t=*)
499 program_transform_name=$ac_optarg ;;
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509 sbindir=$ac_optarg ;;
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513 | --sharedst | --shareds | --shared | --share | --shar \
515 ac_prev=sharedstatedir ;;
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520 sharedstatedir=$ac_optarg ;;
522 -site | --site | --sit)
524 -site=* | --site=* | --sit=*)
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533 | --syscon | --sysco | --sysc | --sys | --sy)
534 ac_prev=sysconfdir ;;
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537 sysconfdir=$ac_optarg ;;
539 -target | --target | --targe | --targ | --tar | --ta | --t)
540 ac_prev=target_alias ;;
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542 target_alias=$ac_optarg ;;
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
547 -version | --version | --versio | --versi | --vers | -V)
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* | --without-*)
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577 | --x-incl | --x-inc | --x-in | --x-i)
578 ac_prev=x_includes ;;
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581 x_includes=$ac_optarg ;;
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585 ac_prev=x_libraries ;;
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588 x_libraries=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
625 eval ac_val=$`echo $ac_var`
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val=$`echo $ac_var`
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654 if test "x$build_alias" = x; then
655 cross_compiling=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666 test "$silent" = yes && exec 6>/dev/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CC_set=${CC+set}
719 ac_cv_env_CC_set=${CC+set}
720 ac_cv_env_CC_value=$CC
721 ac_env_CFLAGS_set=${CFLAGS+set}
722 ac_env_CFLAGS_value=$CFLAGS
723 ac_cv_env_CFLAGS_set=${CFLAGS+set}
724 ac_cv_env_CFLAGS_value=$CFLAGS
725 ac_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_env_LDFLAGS_value=$LDFLAGS
727 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728 ac_cv_env_LDFLAGS_value=$LDFLAGS
729 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_env_CPPFLAGS_value=$CPPFLAGS
731 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
733 ac_env_CPP_set=${CPP+set}
734 ac_env_CPP_value=$CPP
735 ac_cv_env_CPP_set=${CPP+set}
736 ac_cv_env_CPP_value=$CPP
739 # Report the --help message.
741 if test "$ac_init_help" = "long"; then
742 # Omit some internal or obsolete options to make the list less imposing.
743 # This message is too long to be a string in the A/UX 3.1 sh.
745 \`configure' configures this package to adapt to many kinds of systems.
747 Usage: $0 [OPTION]... [VAR=VALUE]...
749 To assign environment variables (e.g., CC, CFLAGS...), specify them as
750 VAR=VALUE. See below for descriptions of some of the useful variables.
752 Defaults for the options are specified in brackets.
755 -h, --help display this help and exit
756 --help=short display options specific to this package
757 --help=recursive display the short help of all the included packages
758 -V, --version display version information and exit
759 -q, --quiet, --silent do not print \`checking...' messages
760 --cache-file=FILE cache test results in FILE [disabled]
761 -C, --config-cache alias for \`--cache-file=config.cache'
762 -n, --no-create do not create output files
763 --srcdir=DIR find the sources in DIR [configure dir or \`..']
768 Installation directories:
769 --prefix=PREFIX install architecture-independent files in PREFIX
771 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
774 By default, \`make install' will install all the files in
775 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
776 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
777 for instance \`--prefix=\$HOME'.
779 For better control, use the options below.
781 Fine tuning of the installation directories:
782 --bindir=DIR user executables [EPREFIX/bin]
783 --sbindir=DIR system admin executables [EPREFIX/sbin]
784 --libexecdir=DIR program executables [EPREFIX/libexec]
785 --datadir=DIR read-only architecture-independent data [PREFIX/share]
786 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
787 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
788 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
789 --libdir=DIR object code libraries [EPREFIX/lib]
790 --includedir=DIR C header files [PREFIX/include]
791 --oldincludedir=DIR C header files for non-gcc [/usr/include]
792 --infodir=DIR info documentation [PREFIX/info]
793 --mandir=DIR man documentation [PREFIX/man]
800 if test -n "$ac_init_help"; then
804 Some influential environment variables:
805 CC C compiler command
806 CFLAGS C compiler flags
807 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
808 nonstandard directory <lib dir>
809 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
810 headers in a nonstandard directory <include dir>
813 Use these variables to override the choices made by `configure' or to help
814 it to find libraries and programs with nonstandard names/locations.
819 if test "$ac_init_help" = "recursive"; then
820 # If there are subdirs, report their specific --help.
822 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
823 test -d $ac_dir || continue
826 if test "$ac_dir" != .; then
827 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
828 # A "../" for each directory in $ac_dir_suffix.
829 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
831 ac_dir_suffix= ac_top_builddir=
835 .) # No --srcdir option. We are building in place.
837 if test -z "$ac_top_builddir"; then
840 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
842 [\\/]* | ?:[\\/]* ) # Absolute path.
843 ac_srcdir=$srcdir$ac_dir_suffix;
844 ac_top_srcdir=$srcdir ;;
846 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
847 ac_top_srcdir=$ac_top_builddir$srcdir ;;
850 # Do not use `cd foo && pwd` to compute absolute paths, because
851 # the directories may not exist.
853 .) ac_abs_builddir="$ac_dir";;
856 .) ac_abs_builddir=`pwd`;;
857 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
858 *) ac_abs_builddir=`pwd`/"$ac_dir";;
861 case $ac_abs_builddir in
862 .) ac_abs_top_builddir=${ac_top_builddir}.;;
864 case ${ac_top_builddir}. in
865 .) ac_abs_top_builddir=$ac_abs_builddir;;
866 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
867 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
870 case $ac_abs_builddir in
871 .) ac_abs_srcdir=$ac_srcdir;;
874 .) ac_abs_srcdir=$ac_abs_builddir;;
875 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
876 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
879 case $ac_abs_builddir in
880 .) ac_abs_top_srcdir=$ac_top_srcdir;;
882 case $ac_top_srcdir in
883 .) ac_abs_top_srcdir=$ac_abs_builddir;;
884 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
885 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
890 # Check for guested configure; otherwise get Cygnus style configure.
891 if test -f $ac_srcdir/configure.gnu; then
893 $SHELL $ac_srcdir/configure.gnu --help=recursive
894 elif test -f $ac_srcdir/configure; then
896 $SHELL $ac_srcdir/configure --help=recursive
897 elif test -f $ac_srcdir/configure.ac ||
898 test -f $ac_srcdir/configure.in; then
902 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
908 test -n "$ac_init_help" && exit 0
909 if $ac_init_version; then
912 Copyright (C) 2003 Free Software Foundation, Inc.
913 This configure script is free software; the Free Software Foundation
914 gives unlimited permission to copy, distribute and modify it.
920 This file contains any messages produced by compilers while
921 running configure, to aid debugging if configure makes a mistake.
923 It was created by $as_me, which was
924 generated by GNU Autoconf 2.59. Invocation command line was
935 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
936 uname -m = `(uname -m) 2>/dev/null || echo unknown`
937 uname -r = `(uname -r) 2>/dev/null || echo unknown`
938 uname -s = `(uname -s) 2>/dev/null || echo unknown`
939 uname -v = `(uname -v) 2>/dev/null || echo unknown`
941 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
942 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
944 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
945 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
946 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
947 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
948 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
949 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
950 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
958 test -z "$as_dir" && as_dir=.
974 # Keep a trace of the command line.
975 # Strip out --no-create and --no-recursion so they do not pile up.
976 # Strip out --silent because we don't want to record it for future runs.
977 # Also quote any args containing shell meta-characters.
978 # Make two passes to allow for proper duplicate-argument suppression.
983 ac_must_keep_next=false
989 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
991 | -silent | --silent | --silen | --sile | --sil)
993 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
994 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
997 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
999 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1000 if test $ac_must_keep_next = true; then
1001 ac_must_keep_next=false # Got value, back to normal.
1004 *=* | --config-cache | -C | -disable-* | --disable-* \
1005 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1006 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1007 | -with-* | --with-* | -without-* | --without-* | --x)
1008 case "$ac_configure_args0 " in
1009 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1012 -* ) ac_must_keep_next=true ;;
1015 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1016 # Get rid of the leading space.
1022 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1023 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1025 # When interrupted or exit'd, cleanup temporary files, and complete
1026 # config.log. We remove comments because anyway the quotes in there
1027 # would cause problems or look ugly.
1028 # WARNING: Be sure not to use single quotes in there, as some shells,
1029 # such as our DU 5.0 friend, will then `close' the trap.
1030 trap 'exit_status=$?
1031 # Save into config.log some information that might help in debugging.
1036 ## ---------------- ##
1037 ## Cache variables. ##
1038 ## ---------------- ##
1041 # The following way of writing the cache mishandles newlines in values,
1044 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1047 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1052 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1059 ## ----------------- ##
1060 ## Output variables. ##
1061 ## ----------------- ##
1064 for ac_var in $ac_subst_vars
1066 eval ac_val=$`echo $ac_var`
1067 echo "$ac_var='"'"'$ac_val'"'"'"
1071 if test -n "$ac_subst_files"; then
1078 for ac_var in $ac_subst_files
1080 eval ac_val=$`echo $ac_var`
1081 echo "$ac_var='"'"'$ac_val'"'"'"
1086 if test -s confdefs.h; then
1093 sed "/^$/d" confdefs.h | sort
1096 test "$ac_signal" != 0 &&
1097 echo "$as_me: caught signal $ac_signal"
1098 echo "$as_me: exit $exit_status"
1100 rm -f core *.core &&
1101 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1104 for ac_signal in 1 2 13 15; do
1105 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1109 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1110 rm -rf conftest* confdefs.h
1111 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1114 # Predefined preprocessor variables.
1116 cat >>confdefs.h <<_ACEOF
1117 #define PACKAGE_NAME "$PACKAGE_NAME"
1121 cat >>confdefs.h <<_ACEOF
1122 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1126 cat >>confdefs.h <<_ACEOF
1127 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1131 cat >>confdefs.h <<_ACEOF
1132 #define PACKAGE_STRING "$PACKAGE_STRING"
1136 cat >>confdefs.h <<_ACEOF
1137 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1141 # Let the site file select an alternate cache file if it wants to.
1142 # Prefer explicitly selected file to automatically selected ones.
1143 if test -z "$CONFIG_SITE"; then
1144 if test "x$prefix" != xNONE; then
1145 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1147 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1150 for ac_site_file in $CONFIG_SITE; do
1151 if test -r "$ac_site_file"; then
1152 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1153 echo "$as_me: loading site script $ac_site_file" >&6;}
1154 sed 's/^/| /' "$ac_site_file" >&5
1159 if test -r "$cache_file"; then
1160 # Some versions of bash will fail to source /dev/null (special
1161 # files actually), so we avoid doing that.
1162 if test -f "$cache_file"; then
1163 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1164 echo "$as_me: loading cache $cache_file" >&6;}
1166 [\\/]* | ?:[\\/]* ) . $cache_file;;
1167 *) . ./$cache_file;;
1171 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1172 echo "$as_me: creating cache $cache_file" >&6;}
1176 # Check that the precious variables saved in the cache have kept the same
1178 ac_cache_corrupted=false
1179 for ac_var in `(set) 2>&1 |
1180 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1181 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1182 eval ac_new_set=\$ac_env_${ac_var}_set
1183 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1184 eval ac_new_val="\$ac_env_${ac_var}_value"
1185 case $ac_old_set,$ac_new_set in
1187 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1188 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1189 ac_cache_corrupted=: ;;
1191 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1192 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1193 ac_cache_corrupted=: ;;
1196 if test "x$ac_old_val" != "x$ac_new_val"; then
1197 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1198 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1199 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1200 echo "$as_me: former value: $ac_old_val" >&2;}
1201 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1202 echo "$as_me: current value: $ac_new_val" >&2;}
1203 ac_cache_corrupted=:
1206 # Pass precious variables to config.status.
1207 if test "$ac_new_set" = set; then
1209 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1210 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1211 *) ac_arg=$ac_var=$ac_new_val ;;
1213 case " $ac_configure_args " in
1214 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1215 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1219 if $ac_cache_corrupted; then
1220 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1221 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1222 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1223 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1224 { (exit 1); exit 1; }; }
1228 ac_cpp='$CPP $CPPFLAGS'
1229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1254 if test x$with_rlm_counter != xno; then
1257 ac_cpp='$CPP $CPPFLAGS'
1258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1261 if test -n "$ac_tool_prefix"; then
1262 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1263 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1264 echo "$as_me:$LINENO: checking for $ac_word" >&5
1265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1266 if test "${ac_cv_prog_CC+set}" = set; then
1267 echo $ECHO_N "(cached) $ECHO_C" >&6
1269 if test -n "$CC"; then
1270 ac_cv_prog_CC="$CC" # Let the user override the test.
1272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1276 test -z "$as_dir" && as_dir=.
1277 for ac_exec_ext in '' $ac_executable_extensions; do
1278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1279 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1289 if test -n "$CC"; then
1290 echo "$as_me:$LINENO: result: $CC" >&5
1291 echo "${ECHO_T}$CC" >&6
1293 echo "$as_me:$LINENO: result: no" >&5
1294 echo "${ECHO_T}no" >&6
1298 if test -z "$ac_cv_prog_CC"; then
1300 # Extract the first word of "gcc", so it can be a program name with args.
1301 set dummy gcc; ac_word=$2
1302 echo "$as_me:$LINENO: checking for $ac_word" >&5
1303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1304 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1305 echo $ECHO_N "(cached) $ECHO_C" >&6
1307 if test -n "$ac_ct_CC"; then
1308 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1314 test -z "$as_dir" && as_dir=.
1315 for ac_exec_ext in '' $ac_executable_extensions; do
1316 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1317 ac_cv_prog_ac_ct_CC="gcc"
1318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1326 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1327 if test -n "$ac_ct_CC"; then
1328 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1329 echo "${ECHO_T}$ac_ct_CC" >&6
1331 echo "$as_me:$LINENO: result: no" >&5
1332 echo "${ECHO_T}no" >&6
1340 if test -z "$CC"; then
1341 if test -n "$ac_tool_prefix"; then
1342 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1343 set dummy ${ac_tool_prefix}cc; ac_word=$2
1344 echo "$as_me:$LINENO: checking for $ac_word" >&5
1345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1346 if test "${ac_cv_prog_CC+set}" = set; then
1347 echo $ECHO_N "(cached) $ECHO_C" >&6
1349 if test -n "$CC"; then
1350 ac_cv_prog_CC="$CC" # Let the user override the test.
1352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1356 test -z "$as_dir" && as_dir=.
1357 for ac_exec_ext in '' $ac_executable_extensions; do
1358 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1359 ac_cv_prog_CC="${ac_tool_prefix}cc"
1360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1369 if test -n "$CC"; then
1370 echo "$as_me:$LINENO: result: $CC" >&5
1371 echo "${ECHO_T}$CC" >&6
1373 echo "$as_me:$LINENO: result: no" >&5
1374 echo "${ECHO_T}no" >&6
1378 if test -z "$ac_cv_prog_CC"; then
1380 # Extract the first word of "cc", so it can be a program name with args.
1381 set dummy cc; ac_word=$2
1382 echo "$as_me:$LINENO: checking for $ac_word" >&5
1383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1384 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1385 echo $ECHO_N "(cached) $ECHO_C" >&6
1387 if test -n "$ac_ct_CC"; then
1388 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1394 test -z "$as_dir" && as_dir=.
1395 for ac_exec_ext in '' $ac_executable_extensions; do
1396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1397 ac_cv_prog_ac_ct_CC="cc"
1398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1406 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1407 if test -n "$ac_ct_CC"; then
1408 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1409 echo "${ECHO_T}$ac_ct_CC" >&6
1411 echo "$as_me:$LINENO: result: no" >&5
1412 echo "${ECHO_T}no" >&6
1421 if test -z "$CC"; then
1422 # Extract the first word of "cc", so it can be a program name with args.
1423 set dummy cc; ac_word=$2
1424 echo "$as_me:$LINENO: checking for $ac_word" >&5
1425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1426 if test "${ac_cv_prog_CC+set}" = set; then
1427 echo $ECHO_N "(cached) $ECHO_C" >&6
1429 if test -n "$CC"; then
1430 ac_cv_prog_CC="$CC" # Let the user override the test.
1433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1437 test -z "$as_dir" && as_dir=.
1438 for ac_exec_ext in '' $ac_executable_extensions; do
1439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1440 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1441 ac_prog_rejected=yes
1445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1451 if test $ac_prog_rejected = yes; then
1452 # We found a bogon in the path, so make sure we never use it.
1453 set dummy $ac_cv_prog_CC
1455 if test $# != 0; then
1456 # We chose a different compiler from the bogus one.
1457 # However, it has the same basename, so the bogon will be chosen
1458 # first if we set CC to just the basename; use the full file name.
1460 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1466 if test -n "$CC"; then
1467 echo "$as_me:$LINENO: result: $CC" >&5
1468 echo "${ECHO_T}$CC" >&6
1470 echo "$as_me:$LINENO: result: no" >&5
1471 echo "${ECHO_T}no" >&6
1475 if test -z "$CC"; then
1476 if test -n "$ac_tool_prefix"; then
1479 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1480 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1481 echo "$as_me:$LINENO: checking for $ac_word" >&5
1482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1483 if test "${ac_cv_prog_CC+set}" = set; then
1484 echo $ECHO_N "(cached) $ECHO_C" >&6
1486 if test -n "$CC"; then
1487 ac_cv_prog_CC="$CC" # Let the user override the test.
1489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1493 test -z "$as_dir" && as_dir=.
1494 for ac_exec_ext in '' $ac_executable_extensions; do
1495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1496 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1506 if test -n "$CC"; then
1507 echo "$as_me:$LINENO: result: $CC" >&5
1508 echo "${ECHO_T}$CC" >&6
1510 echo "$as_me:$LINENO: result: no" >&5
1511 echo "${ECHO_T}no" >&6
1514 test -n "$CC" && break
1517 if test -z "$CC"; then
1521 # Extract the first word of "$ac_prog", so it can be a program name with args.
1522 set dummy $ac_prog; ac_word=$2
1523 echo "$as_me:$LINENO: checking for $ac_word" >&5
1524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1525 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 if test -n "$ac_ct_CC"; then
1529 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1535 test -z "$as_dir" && as_dir=.
1536 for ac_exec_ext in '' $ac_executable_extensions; do
1537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1538 ac_cv_prog_ac_ct_CC="$ac_prog"
1539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1547 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1548 if test -n "$ac_ct_CC"; then
1549 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1550 echo "${ECHO_T}$ac_ct_CC" >&6
1552 echo "$as_me:$LINENO: result: no" >&5
1553 echo "${ECHO_T}no" >&6
1556 test -n "$ac_ct_CC" && break
1565 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1566 See \`config.log' for more details." >&5
1567 echo "$as_me: error: no acceptable C compiler found in \$PATH
1568 See \`config.log' for more details." >&2;}
1569 { (exit 1); exit 1; }; }
1571 # Provide some information about the compiler.
1572 echo "$as_me:$LINENO:" \
1573 "checking for C compiler version" >&5
1574 ac_compiler=`set X $ac_compile; echo $2`
1575 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1576 (eval $ac_compiler --version </dev/null >&5) 2>&5
1578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1579 (exit $ac_status); }
1580 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1581 (eval $ac_compiler -v </dev/null >&5) 2>&5
1583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1584 (exit $ac_status); }
1585 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1586 (eval $ac_compiler -V </dev/null >&5) 2>&5
1588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1589 (exit $ac_status); }
1591 cat >conftest.$ac_ext <<_ACEOF
1594 cat confdefs.h >>conftest.$ac_ext
1595 cat >>conftest.$ac_ext <<_ACEOF
1596 /* end confdefs.h. */
1606 ac_clean_files_save=$ac_clean_files
1607 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1608 # Try to create an executable without -o first, disregard a.out.
1609 # It will help us diagnose broken compilers, and finding out an intuition
1611 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1612 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1613 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1614 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1615 (eval $ac_link_default) 2>&5
1617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1618 (exit $ac_status); }; then
1619 # Find the output, starting from the most likely. This scheme is
1620 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1623 # Be careful to initialize this variable, since it used to be cached.
1624 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1626 # b.out is created by i960 compilers.
1627 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1629 test -f "$ac_file" || continue
1631 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1634 # This is the source file.
1637 # We found the default executable, but exeext='' is most
1641 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1642 # FIXME: I believe we export ac_cv_exeext for Libtool,
1643 # but it would be cool to find out if it's true. Does anybody
1644 # maintain Libtool? --akim.
1652 echo "$as_me: failed program was:" >&5
1653 sed 's/^/| /' conftest.$ac_ext >&5
1655 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1656 See \`config.log' for more details." >&5
1657 echo "$as_me: error: C compiler cannot create executables
1658 See \`config.log' for more details." >&2;}
1659 { (exit 77); exit 77; }; }
1662 ac_exeext=$ac_cv_exeext
1663 echo "$as_me:$LINENO: result: $ac_file" >&5
1664 echo "${ECHO_T}$ac_file" >&6
1666 # Check the compiler produces executables we can run. If not, either
1667 # the compiler is broken, or we cross compile.
1668 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1669 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1670 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1671 # If not cross compiling, check that we can run a simple program.
1672 if test "$cross_compiling" != yes; then
1673 if { ac_try='./$ac_file'
1674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1678 (exit $ac_status); }; }; then
1681 if test "$cross_compiling" = maybe; then
1684 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1685 If you meant to cross compile, use \`--host'.
1686 See \`config.log' for more details." >&5
1687 echo "$as_me: error: cannot run C compiled programs.
1688 If you meant to cross compile, use \`--host'.
1689 See \`config.log' for more details." >&2;}
1690 { (exit 1); exit 1; }; }
1694 echo "$as_me:$LINENO: result: yes" >&5
1695 echo "${ECHO_T}yes" >&6
1697 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1698 ac_clean_files=$ac_clean_files_save
1699 # Check the compiler produces executables we can run. If not, either
1700 # the compiler is broken, or we cross compile.
1701 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1702 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1703 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1704 echo "${ECHO_T}$cross_compiling" >&6
1706 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1707 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1709 (eval $ac_link) 2>&5
1711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1712 (exit $ac_status); }; then
1713 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1714 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1715 # work properly (i.e., refer to `conftest.exe'), while it won't with
1717 for ac_file in conftest.exe conftest conftest.*; do
1718 test -f "$ac_file" || continue
1720 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1721 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1728 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1729 See \`config.log' for more details." >&5
1730 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1731 See \`config.log' for more details." >&2;}
1732 { (exit 1); exit 1; }; }
1735 rm -f conftest$ac_cv_exeext
1736 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1737 echo "${ECHO_T}$ac_cv_exeext" >&6
1739 rm -f conftest.$ac_ext
1740 EXEEXT=$ac_cv_exeext
1742 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1743 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1744 if test "${ac_cv_objext+set}" = set; then
1745 echo $ECHO_N "(cached) $ECHO_C" >&6
1747 cat >conftest.$ac_ext <<_ACEOF
1750 cat confdefs.h >>conftest.$ac_ext
1751 cat >>conftest.$ac_ext <<_ACEOF
1752 /* end confdefs.h. */
1762 rm -f conftest.o conftest.obj
1763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1764 (eval $ac_compile) 2>&5
1766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1767 (exit $ac_status); }; then
1768 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1770 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1771 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1776 echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1779 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1780 See \`config.log' for more details." >&5
1781 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1782 See \`config.log' for more details." >&2;}
1783 { (exit 1); exit 1; }; }
1786 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1788 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1789 echo "${ECHO_T}$ac_cv_objext" >&6
1790 OBJEXT=$ac_cv_objext
1792 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1793 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1794 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1795 echo $ECHO_N "(cached) $ECHO_C" >&6
1797 cat >conftest.$ac_ext <<_ACEOF
1800 cat confdefs.h >>conftest.$ac_ext
1801 cat >>conftest.$ac_ext <<_ACEOF
1802 /* end confdefs.h. */
1815 rm -f conftest.$ac_objext
1816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1817 (eval $ac_compile) 2>conftest.er1
1819 grep -v '^ *+' conftest.er1 >conftest.err
1821 cat conftest.err >&5
1822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1823 (exit $ac_status); } &&
1824 { ac_try='test -z "$ac_c_werror_flag"
1825 || test ! -s conftest.err'
1826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1830 (exit $ac_status); }; } &&
1831 { ac_try='test -s conftest.$ac_objext'
1832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1836 (exit $ac_status); }; }; then
1839 echo "$as_me: failed program was:" >&5
1840 sed 's/^/| /' conftest.$ac_ext >&5
1844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1845 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1848 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1849 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1850 GCC=`test $ac_compiler_gnu = yes && echo yes`
1851 ac_test_CFLAGS=${CFLAGS+set}
1852 ac_save_CFLAGS=$CFLAGS
1854 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1855 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1856 if test "${ac_cv_prog_cc_g+set}" = set; then
1857 echo $ECHO_N "(cached) $ECHO_C" >&6
1859 cat >conftest.$ac_ext <<_ACEOF
1862 cat confdefs.h >>conftest.$ac_ext
1863 cat >>conftest.$ac_ext <<_ACEOF
1864 /* end confdefs.h. */
1874 rm -f conftest.$ac_objext
1875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1876 (eval $ac_compile) 2>conftest.er1
1878 grep -v '^ *+' conftest.er1 >conftest.err
1880 cat conftest.err >&5
1881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1882 (exit $ac_status); } &&
1883 { ac_try='test -z "$ac_c_werror_flag"
1884 || test ! -s conftest.err'
1885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1889 (exit $ac_status); }; } &&
1890 { ac_try='test -s conftest.$ac_objext'
1891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1895 (exit $ac_status); }; }; then
1898 echo "$as_me: failed program was:" >&5
1899 sed 's/^/| /' conftest.$ac_ext >&5
1903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1905 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1906 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1907 if test "$ac_test_CFLAGS" = set; then
1908 CFLAGS=$ac_save_CFLAGS
1909 elif test $ac_cv_prog_cc_g = yes; then
1910 if test "$GCC" = yes; then
1916 if test "$GCC" = yes; then
1922 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1923 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1924 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1925 echo $ECHO_N "(cached) $ECHO_C" >&6
1927 ac_cv_prog_cc_stdc=no
1929 cat >conftest.$ac_ext <<_ACEOF
1932 cat confdefs.h >>conftest.$ac_ext
1933 cat >>conftest.$ac_ext <<_ACEOF
1934 /* end confdefs.h. */
1937 #include <sys/types.h>
1938 #include <sys/stat.h>
1939 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1940 struct buf { int x; };
1941 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1942 static char *e (p, i)
1948 static char *f (char * (*g) (char **, int), char **p, ...)
1953 s = g (p, va_arg (v,int));
1958 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1959 function prototypes and stuff, but not '\xHH' hex character constants.
1960 These don't provoke an error unfortunately, instead are silently treated
1961 as 'x'. The following induces an error, until -std1 is added to get
1962 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
1963 array size at least. It's necessary to write '\x00'==0 to get something
1964 that's true only with -std1. */
1965 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1967 int test (int i, double x);
1968 struct s1 {int (*f) (int a);};
1969 struct s2 {int (*f) (double a);};
1970 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1976 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1981 # Don't try gcc -ansi; that turns off useful extensions and
1982 # breaks some systems' header files.
1983 # AIX -qlanglvl=ansi
1984 # Ultrix and OSF/1 -std1
1985 # HP-UX 10.20 and later -Ae
1986 # HP-UX older versions -Aa -D_HPUX_SOURCE
1987 # SVR4 -Xc -D__EXTENSIONS__
1988 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1990 CC="$ac_save_CC $ac_arg"
1991 rm -f conftest.$ac_objext
1992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1993 (eval $ac_compile) 2>conftest.er1
1995 grep -v '^ *+' conftest.er1 >conftest.err
1997 cat conftest.err >&5
1998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999 (exit $ac_status); } &&
2000 { ac_try='test -z "$ac_c_werror_flag"
2001 || test ! -s conftest.err'
2002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); }; } &&
2007 { ac_try='test -s conftest.$ac_objext'
2008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2012 (exit $ac_status); }; }; then
2013 ac_cv_prog_cc_stdc=$ac_arg
2016 echo "$as_me: failed program was:" >&5
2017 sed 's/^/| /' conftest.$ac_ext >&5
2020 rm -f conftest.err conftest.$ac_objext
2022 rm -f conftest.$ac_ext conftest.$ac_objext
2027 case "x$ac_cv_prog_cc_stdc" in
2029 echo "$as_me:$LINENO: result: none needed" >&5
2030 echo "${ECHO_T}none needed" >&6 ;;
2032 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2033 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2034 CC="$CC $ac_cv_prog_cc_stdc" ;;
2037 # Some people use a C++ compiler to compile C. Since we use `exit',
2038 # in C++ we need to declare it. In case someone uses the same compiler
2039 # for both compiling C and C++ we need to have the C++ compiler decide
2040 # the declaration of exit, since it's the most demanding environment.
2041 cat >conftest.$ac_ext <<_ACEOF
2046 rm -f conftest.$ac_objext
2047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2048 (eval $ac_compile) 2>conftest.er1
2050 grep -v '^ *+' conftest.er1 >conftest.err
2052 cat conftest.err >&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); } &&
2055 { ac_try='test -z "$ac_c_werror_flag"
2056 || test ! -s conftest.err'
2057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); }; } &&
2062 { ac_try='test -s conftest.$ac_objext'
2063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2067 (exit $ac_status); }; }; then
2068 for ac_declaration in \
2070 'extern "C" void std::exit (int) throw (); using std::exit;' \
2071 'extern "C" void std::exit (int); using std::exit;' \
2072 'extern "C" void exit (int) throw ();' \
2073 'extern "C" void exit (int);' \
2076 cat >conftest.$ac_ext <<_ACEOF
2079 cat confdefs.h >>conftest.$ac_ext
2080 cat >>conftest.$ac_ext <<_ACEOF
2081 /* end confdefs.h. */
2092 rm -f conftest.$ac_objext
2093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2094 (eval $ac_compile) 2>conftest.er1
2096 grep -v '^ *+' conftest.er1 >conftest.err
2098 cat conftest.err >&5
2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100 (exit $ac_status); } &&
2101 { ac_try='test -z "$ac_c_werror_flag"
2102 || test ! -s conftest.err'
2103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); }; } &&
2108 { ac_try='test -s conftest.$ac_objext'
2109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); }; }; then
2116 echo "$as_me: failed program was:" >&5
2117 sed 's/^/| /' conftest.$ac_ext >&5
2121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2122 cat >conftest.$ac_ext <<_ACEOF
2125 cat confdefs.h >>conftest.$ac_ext
2126 cat >>conftest.$ac_ext <<_ACEOF
2127 /* end confdefs.h. */
2137 rm -f conftest.$ac_objext
2138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2139 (eval $ac_compile) 2>conftest.er1
2141 grep -v '^ *+' conftest.er1 >conftest.err
2143 cat conftest.err >&5
2144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145 (exit $ac_status); } &&
2146 { ac_try='test -z "$ac_c_werror_flag"
2147 || test ! -s conftest.err'
2148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); }; } &&
2153 { ac_try='test -s conftest.$ac_objext'
2154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); }; }; then
2161 echo "$as_me: failed program was:" >&5
2162 sed 's/^/| /' conftest.$ac_ext >&5
2165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2168 if test -n "$ac_declaration"; then
2169 echo '#ifdef __cplusplus' >>confdefs.h
2170 echo $ac_declaration >>confdefs.h
2171 echo '#endif' >>confdefs.h
2175 echo "$as_me: failed program was:" >&5
2176 sed 's/^/| /' conftest.$ac_ext >&5
2179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2181 ac_cpp='$CPP $CPPFLAGS'
2182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2187 ac_cpp='$CPP $CPPFLAGS'
2188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2191 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2192 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2193 # On Suns, sometimes $CPP names a directory.
2194 if test -n "$CPP" && test -d "$CPP"; then
2197 if test -z "$CPP"; then
2198 if test "${ac_cv_prog_CPP+set}" = set; then
2199 echo $ECHO_N "(cached) $ECHO_C" >&6
2201 # Double quotes because CPP needs to be expanded
2202 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2205 for ac_c_preproc_warn_flag in '' yes
2207 # Use a header file that comes with gcc, so configuring glibc
2208 # with a fresh cross-compiler works.
2209 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2210 # <limits.h> exists even on freestanding compilers.
2211 # On the NeXT, cc -E runs the code through the compiler's parser,
2212 # not just through cpp. "Syntax error" is here to catch this case.
2213 cat >conftest.$ac_ext <<_ACEOF
2216 cat confdefs.h >>conftest.$ac_ext
2217 cat >>conftest.$ac_ext <<_ACEOF
2218 /* end confdefs.h. */
2220 # include <limits.h>
2222 # include <assert.h>
2226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2229 grep -v '^ *+' conftest.er1 >conftest.err
2231 cat conftest.err >&5
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); } >/dev/null; then
2234 if test -s conftest.err; then
2235 ac_cpp_err=$ac_c_preproc_warn_flag
2236 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2243 if test -z "$ac_cpp_err"; then
2246 echo "$as_me: failed program was:" >&5
2247 sed 's/^/| /' conftest.$ac_ext >&5
2249 # Broken: fails on valid input.
2252 rm -f conftest.err conftest.$ac_ext
2254 # OK, works on sane cases. Now check whether non-existent headers
2255 # can be detected and how.
2256 cat >conftest.$ac_ext <<_ACEOF
2259 cat confdefs.h >>conftest.$ac_ext
2260 cat >>conftest.$ac_ext <<_ACEOF
2261 /* end confdefs.h. */
2262 #include <ac_nonexistent.h>
2264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2265 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2267 grep -v '^ *+' conftest.er1 >conftest.err
2269 cat conftest.err >&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); } >/dev/null; then
2272 if test -s conftest.err; then
2273 ac_cpp_err=$ac_c_preproc_warn_flag
2274 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2281 if test -z "$ac_cpp_err"; then
2282 # Broken: success on invalid input.
2285 echo "$as_me: failed program was:" >&5
2286 sed 's/^/| /' conftest.$ac_ext >&5
2288 # Passes both tests.
2292 rm -f conftest.err conftest.$ac_ext
2295 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2296 rm -f conftest.err conftest.$ac_ext
2297 if $ac_preproc_ok; then
2309 echo "$as_me:$LINENO: result: $CPP" >&5
2310 echo "${ECHO_T}$CPP" >&6
2312 for ac_c_preproc_warn_flag in '' yes
2314 # Use a header file that comes with gcc, so configuring glibc
2315 # with a fresh cross-compiler works.
2316 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2317 # <limits.h> exists even on freestanding compilers.
2318 # On the NeXT, cc -E runs the code through the compiler's parser,
2319 # not just through cpp. "Syntax error" is here to catch this case.
2320 cat >conftest.$ac_ext <<_ACEOF
2323 cat confdefs.h >>conftest.$ac_ext
2324 cat >>conftest.$ac_ext <<_ACEOF
2325 /* end confdefs.h. */
2327 # include <limits.h>
2329 # include <assert.h>
2333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2334 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2336 grep -v '^ *+' conftest.er1 >conftest.err
2338 cat conftest.err >&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); } >/dev/null; then
2341 if test -s conftest.err; then
2342 ac_cpp_err=$ac_c_preproc_warn_flag
2343 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2350 if test -z "$ac_cpp_err"; then
2353 echo "$as_me: failed program was:" >&5
2354 sed 's/^/| /' conftest.$ac_ext >&5
2356 # Broken: fails on valid input.
2359 rm -f conftest.err conftest.$ac_ext
2361 # OK, works on sane cases. Now check whether non-existent headers
2362 # can be detected and how.
2363 cat >conftest.$ac_ext <<_ACEOF
2366 cat confdefs.h >>conftest.$ac_ext
2367 cat >>conftest.$ac_ext <<_ACEOF
2368 /* end confdefs.h. */
2369 #include <ac_nonexistent.h>
2371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2374 grep -v '^ *+' conftest.er1 >conftest.err
2376 cat conftest.err >&5
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); } >/dev/null; then
2379 if test -s conftest.err; then
2380 ac_cpp_err=$ac_c_preproc_warn_flag
2381 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2388 if test -z "$ac_cpp_err"; then
2389 # Broken: success on invalid input.
2392 echo "$as_me: failed program was:" >&5
2393 sed 's/^/| /' conftest.$ac_ext >&5
2395 # Passes both tests.
2399 rm -f conftest.err conftest.$ac_ext
2402 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2403 rm -f conftest.err conftest.$ac_ext
2404 if $ac_preproc_ok; then
2407 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2408 See \`config.log' for more details." >&5
2409 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2410 See \`config.log' for more details." >&2;}
2411 { (exit 1); exit 1; }; }
2415 ac_cpp='$CPP $CPPFLAGS'
2416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2424 ac_safe=`echo "gdbm.h" | sed 'y%./+-%__pm%'`
2425 echo "$as_me:$LINENO: checking for gdbm.h" >&5
2426 echo $ECHO_N "checking for gdbm.h... $ECHO_C" >&6
2428 old_CFLAGS="$CFLAGS"
2432 if test "x$smart_try_dir" != "x"; then
2433 for try in $smart_try_dir; do
2434 CFLAGS="$old_CFLAGS -I$try"
2435 cat >conftest.$ac_ext <<_ACEOF
2438 cat confdefs.h >>conftest.$ac_ext
2439 cat >>conftest.$ac_ext <<_ACEOF
2440 /* end confdefs.h. */
2451 rm -f conftest.$ac_objext
2452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2453 (eval $ac_compile) 2>conftest.er1
2455 grep -v '^ *+' conftest.er1 >conftest.err
2457 cat conftest.err >&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); } &&
2460 { ac_try='test -z "$ac_c_werror_flag"
2461 || test ! -s conftest.err'
2462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }; } &&
2467 { ac_try='test -s conftest.$ac_objext'
2468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; }; then
2473 smart_include="-I$try"
2475 echo "$as_me: failed program was:" >&5
2476 sed 's/^/| /' conftest.$ac_ext >&5
2480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2481 if test "x$smart_include" != "x"; then
2485 CFLAGS="$old_CFLAGS"
2488 if test "x$smart_include" = "x"; then
2489 cat >conftest.$ac_ext <<_ACEOF
2492 cat confdefs.h >>conftest.$ac_ext
2493 cat >>conftest.$ac_ext <<_ACEOF
2494 /* end confdefs.h. */
2505 rm -f conftest.$ac_objext
2506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2507 (eval $ac_compile) 2>conftest.er1
2509 grep -v '^ *+' conftest.er1 >conftest.err
2511 cat conftest.err >&5
2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 (exit $ac_status); } &&
2514 { ac_try='test -z "$ac_c_werror_flag"
2515 || test ! -s conftest.err'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; } &&
2521 { ac_try='test -s conftest.$ac_objext'
2522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); }; }; then
2529 echo "$as_me: failed program was:" >&5
2530 sed 's/^/| /' conftest.$ac_ext >&5
2534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2537 if test "x$smart_include" = "x"; then
2540 if test "x$LOCATE" != "x"; then
2544 for x in `${LOCATE} $file 2>/dev/null`; do
2545 base=`echo $x | sed "s%/${file}%%"`
2546 if test "x$x" = "x$base"; then
2550 dir=`${DIRNAME} $x 2>/dev/null`
2551 exclude=`echo ${dir} | ${GREP} /home`
2552 if test "x$exclude" != "x"; then
2556 already=`echo \$smart_include_dir ${DIRS} | ${GREP} ${dir}`
2557 if test "x$already" = "x"; then
2563 eval "smart_include_dir=\"\$smart_include_dir $DIRS\""
2566 for try in $smart_include_dir /usr/local/include /opt/include; do
2567 CFLAGS="$old_CFLAGS -I$try"
2568 cat >conftest.$ac_ext <<_ACEOF
2571 cat confdefs.h >>conftest.$ac_ext
2572 cat >>conftest.$ac_ext <<_ACEOF
2573 /* end confdefs.h. */
2584 rm -f conftest.$ac_objext
2585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2586 (eval $ac_compile) 2>conftest.er1
2588 grep -v '^ *+' conftest.er1 >conftest.err
2590 cat conftest.err >&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); } &&
2593 { ac_try='test -z "$ac_c_werror_flag"
2594 || test ! -s conftest.err'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; } &&
2600 { ac_try='test -s conftest.$ac_objext'
2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; }; then
2606 smart_include="-I$try"
2608 echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.$ac_ext >&5
2613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2614 if test "x$smart_include" != "x"; then
2618 CFLAGS="$old_CFLAGS"
2621 if test "x$smart_include" != "x"; then
2622 echo "$as_me:$LINENO: result: yes" >&5
2623 echo "${ECHO_T}yes" >&6
2624 eval "ac_cv_header_$ac_safe=yes"
2625 CFLAGS="$old_CFLAGS $smart_include"
2626 SMART_CFLAGS="$SMART_CFLAGS $smart_include"
2628 echo "$as_me:$LINENO: result: no" >&5
2629 echo "${ECHO_T}no" >&6
2634 sm_lib_safe=`echo "gdbm" | sed 'y%./+-%__p_%'`
2635 sm_func_safe=`echo "gdbm_open" | sed 'y%./+-%__p_%'`
2636 echo "$as_me:$LINENO: checking for gdbm_open in -lgdbm" >&5
2637 echo $ECHO_N "checking for gdbm_open in -lgdbm... $ECHO_C" >&6
2643 if test "x$smart_try_dir" != "x"; then
2644 for try in $smart_try_dir; do
2645 LIBS="-L$try -lgdbm $old_LIBS"
2646 cat >conftest.$ac_ext <<_ACEOF
2649 cat confdefs.h >>conftest.$ac_ext
2650 cat >>conftest.$ac_ext <<_ACEOF
2651 /* end confdefs.h. */
2652 extern char gdbm_open();
2661 rm -f conftest.$ac_objext conftest$ac_exeext
2662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2663 (eval $ac_link) 2>conftest.er1
2665 grep -v '^ *+' conftest.er1 >conftest.err
2667 cat conftest.err >&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); } &&
2670 { ac_try='test -z "$ac_c_werror_flag"
2671 || test ! -s conftest.err'
2672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); }; } &&
2677 { ac_try='test -s conftest$ac_exeext'
2678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682 (exit $ac_status); }; }; then
2683 smart_lib="-L$try -lgdbm"
2685 echo "$as_me: failed program was:" >&5
2686 sed 's/^/| /' conftest.$ac_ext >&5
2689 rm -f conftest.err conftest.$ac_objext \
2690 conftest$ac_exeext conftest.$ac_ext
2691 if test "x$smart_lib" != "x"; then
2698 if test "x$smart_lib" = "x"; then
2699 LIBS="-lgdbm $old_LIBS"
2700 cat >conftest.$ac_ext <<_ACEOF
2703 cat confdefs.h >>conftest.$ac_ext
2704 cat >>conftest.$ac_ext <<_ACEOF
2705 /* end confdefs.h. */
2706 extern char gdbm_open();
2715 rm -f conftest.$ac_objext conftest$ac_exeext
2716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2717 (eval $ac_link) 2>conftest.er1
2719 grep -v '^ *+' conftest.er1 >conftest.err
2721 cat conftest.err >&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); } &&
2724 { ac_try='test -z "$ac_c_werror_flag"
2725 || test ! -s conftest.err'
2726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); }; } &&
2731 { ac_try='test -s conftest$ac_exeext'
2732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }; }; then
2739 echo "$as_me: failed program was:" >&5
2740 sed 's/^/| /' conftest.$ac_ext >&5
2743 rm -f conftest.err conftest.$ac_objext \
2744 conftest$ac_exeext conftest.$ac_ext
2748 if test "x$smart_lib" = "x"; then
2751 if test "x$LOCATE" != "x"; then
2753 file=libgdbm${libltdl_cv_shlibext}
2755 for x in `${LOCATE} $file 2>/dev/null`; do
2756 base=`echo $x | sed "s%/${file}%%"`
2757 if test "x$x" = "x$base"; then
2761 dir=`${DIRNAME} $x 2>/dev/null`
2762 exclude=`echo ${dir} | ${GREP} /home`
2763 if test "x$exclude" != "x"; then
2767 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
2768 if test "x$already" = "x"; then
2774 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
2778 if test "x$LOCATE" != "x"; then
2782 for x in `${LOCATE} $file 2>/dev/null`; do
2783 base=`echo $x | sed "s%/${file}%%"`
2784 if test "x$x" = "x$base"; then
2788 dir=`${DIRNAME} $x 2>/dev/null`
2789 exclude=`echo ${dir} | ${GREP} /home`
2790 if test "x$exclude" != "x"; then
2794 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
2795 if test "x$already" = "x"; then
2801 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
2804 for try in $smart_lib_dir /usr/local/lib /opt/lib; do
2805 LIBS="-L$try -lgdbm $old_LIBS"
2806 cat >conftest.$ac_ext <<_ACEOF
2809 cat confdefs.h >>conftest.$ac_ext
2810 cat >>conftest.$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2812 extern char gdbm_open();
2821 rm -f conftest.$ac_objext conftest$ac_exeext
2822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2823 (eval $ac_link) 2>conftest.er1
2825 grep -v '^ *+' conftest.er1 >conftest.err
2827 cat conftest.err >&5
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); } &&
2830 { ac_try='test -z "$ac_c_werror_flag"
2831 || test ! -s conftest.err'
2832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }; } &&
2837 { ac_try='test -s conftest$ac_exeext'
2838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; }; then
2843 smart_lib="-L$try -lgdbm"
2845 echo "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.$ac_ext >&5
2849 rm -f conftest.err conftest.$ac_objext \
2850 conftest$ac_exeext conftest.$ac_ext
2851 if test "x$smart_lib" != "x"; then
2858 if test "x$smart_lib" != "x"; then
2859 echo "$as_me:$LINENO: result: yes" >&5
2860 echo "${ECHO_T}yes" >&6
2861 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
2862 LIBS="$smart_lib $old_LIBS"
2863 SMART_LIBS="$smart_lib $SMART_LIBS"
2865 echo "$as_me:$LINENO: result: no" >&5
2866 echo "${ECHO_T}no" >&6
2869 if test "x$ac_cv_lib_gdbm_gdbm_open" != "xyes"; then
2870 fail="$fail libgdbm"
2873 if test "x$fail" = "x"; then
2874 echo "$as_me:$LINENO: checking to see GDBM_SYNC status" >&5
2875 echo $ECHO_N "checking to see GDBM_SYNC status... $ECHO_C" >&6
2877 echo "$as_me:$LINENO: checking for egrep" >&5
2878 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2879 if test "${ac_cv_prog_egrep+set}" = set; then
2880 echo $ECHO_N "(cached) $ECHO_C" >&6
2882 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2883 then ac_cv_prog_egrep='grep -E'
2884 else ac_cv_prog_egrep='egrep'
2887 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2888 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2889 EGREP=$ac_cv_prog_egrep
2892 cat >conftest.$ac_ext <<_ACEOF
2895 cat confdefs.h >>conftest.$ac_ext
2896 cat >>conftest.$ac_ext <<_ACEOF
2897 /* end confdefs.h. */
2903 not found. this version must use sync by default.
2907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2908 $EGREP "found-gdbm-sync" >/dev/null 2>&1; then
2910 cat >>confdefs.h <<\_ACEOF
2911 #define NEED_GDBM_SYNC yes
2914 echo "$as_me:$LINENO: result: needs it." >&5
2915 echo "${ECHO_T}needs it." >&6
2919 echo "$as_me:$LINENO: result: SYNCs by default." >&5
2920 echo "${ECHO_T}SYNCs by default." >&6
2929 LIBS="$LIBS $SMART_LIBS"
2930 echo "$as_me:$LINENO: checking for gdbm_fdesc" >&5
2931 echo $ECHO_N "checking for gdbm_fdesc... $ECHO_C" >&6
2932 if test "${ac_cv_func_gdbm_fdesc+set}" = set; then
2933 echo $ECHO_N "(cached) $ECHO_C" >&6
2935 cat >conftest.$ac_ext <<_ACEOF
2938 cat confdefs.h >>conftest.$ac_ext
2939 cat >>conftest.$ac_ext <<_ACEOF
2940 /* end confdefs.h. */
2941 /* Define gdbm_fdesc to an innocuous variant, in case <limits.h> declares gdbm_fdesc.
2942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2943 #define gdbm_fdesc innocuous_gdbm_fdesc
2945 /* System header to define __stub macros and hopefully few prototypes,
2946 which can conflict with char gdbm_fdesc (); below.
2947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2948 <limits.h> exists even on freestanding compilers. */
2951 # include <limits.h>
2953 # include <assert.h>
2958 /* Override any gcc2 internal prototype to avoid an error. */
2963 /* We use char because int might match the return type of a gcc2
2964 builtin and then its argument prototype would still apply. */
2966 /* The GNU C library defines this for functions which it implements
2967 to always fail with ENOSYS. Some functions are actually named
2968 something starting with __ and the normal name is an alias. */
2969 #if defined (__stub_gdbm_fdesc) || defined (__stub___gdbm_fdesc)
2972 char (*f) () = gdbm_fdesc;
2981 return f != gdbm_fdesc;
2986 rm -f conftest.$ac_objext conftest$ac_exeext
2987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2988 (eval $ac_link) 2>conftest.er1
2990 grep -v '^ *+' conftest.er1 >conftest.err
2992 cat conftest.err >&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } &&
2995 { ac_try='test -z "$ac_c_werror_flag"
2996 || test ! -s conftest.err'
2997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001 (exit $ac_status); }; } &&
3002 { ac_try='test -s conftest$ac_exeext'
3003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); }; }; then
3008 ac_cv_func_gdbm_fdesc=yes
3010 echo "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.$ac_ext >&5
3013 ac_cv_func_gdbm_fdesc=no
3015 rm -f conftest.err conftest.$ac_objext \
3016 conftest$ac_exeext conftest.$ac_ext
3018 echo "$as_me:$LINENO: result: $ac_cv_func_gdbm_fdesc" >&5
3019 echo "${ECHO_T}$ac_cv_func_gdbm_fdesc" >&6
3021 if test "x$ac_cv_func_gdbm_fdesc" = "xyes";
3023 cat >>confdefs.h <<\_ACEOF
3024 #define HAVE_GDBM_FDESC 1
3030 targetname=rlm_counter
3033 echo \*\*\* module rlm_counter is disabled.
3036 if test x"$fail" != x""; then
3037 if test x"${enable_strict_dependencies}" = x"yes"; then
3038 { { echo "$as_me:$LINENO: error: set --without-rlm_counter to disable it explicitly." >&5
3039 echo "$as_me: error: set --without-rlm_counter to disable it explicitly." >&2;}
3040 { (exit 1); exit 1; }; }
3042 { echo "$as_me:$LINENO: WARNING: silently not building rlm_counter." >&5
3043 echo "$as_me: WARNING: silently not building rlm_counter." >&2;}
3044 { echo "$as_me:$LINENO: WARNING: FAILURE: rlm_counter requires: $fail." >&5
3045 echo "$as_me: WARNING: FAILURE: rlm_counter requires: $fail." >&2;};
3050 counter_ldflags=$SMART_LIBS
3051 counter_cflags=$SMART_CFLAGS
3055 ac_config_headers="$ac_config_headers config.h"
3057 ac_config_files="$ac_config_files Makefile"
3058 cat >confcache <<\_ACEOF
3059 # This file is a shell script that caches the results of configure
3060 # tests run on this system so they can be shared between configure
3061 # scripts and configure runs, see configure's option --config-cache.
3062 # It is not useful on other systems. If it contains results you don't
3063 # want to keep, you may remove or edit it.
3065 # config.status only pays attention to the cache file if you give it
3066 # the --recheck option to rerun configure.
3068 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3069 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3074 # The following way of writing the cache mishandles newlines in values,
3075 # but we know of no workaround that is simple, portable, and efficient.
3076 # So, don't put newlines in cache variables' values.
3077 # Ultrix sh set writes to stderr and can't be redirected directly,
3078 # and sets the high bit in the cache file unless we assign to the vars.
3081 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3083 # `set' does not quote correctly, so add quotes (double-quote
3084 # substitution turns \\\\ into \\, and sed turns \\ into \).
3087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3090 # `set' quotes correctly as required by POSIX, so do not add quotes.
3092 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3099 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3101 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3103 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3104 if test -w $cache_file; then
3105 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3106 cat confcache >$cache_file
3108 echo "not updating unwritable cache $cache_file"
3113 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3114 # Let make expand exec_prefix.
3115 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3117 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3118 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3119 # trailing colons and then remove the whole line if VPATH becomes empty
3120 # (actually we leave an empty line to preserve line numbers).
3121 if test "x$srcdir" = x.; then
3122 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3123 s/:*\$(srcdir):*/:/;
3124 s/:*\${srcdir}:*/:/;
3126 s/^\([^=]*=[ ]*\):*/\1/;
3132 DEFS=-DHAVE_CONFIG_H
3136 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3137 # 1. Remove the extension, and $U if already installed.
3138 ac_i=`echo "$ac_i" |
3139 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3141 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3142 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3146 LTLIBOBJS=$ac_ltlibobjs
3150 : ${CONFIG_STATUS=./config.status}
3151 ac_clean_files_save=$ac_clean_files
3152 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3153 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3154 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3155 cat >$CONFIG_STATUS <<_ACEOF
3157 # Generated by $as_me.
3158 # Run this file to recreate the current configuration.
3159 # Compiler output produced by configure, useful for debugging
3160 # configure, is in config.log if it exists.
3165 SHELL=\${CONFIG_SHELL-$SHELL}
3168 cat >>$CONFIG_STATUS <<\_ACEOF
3169 ## --------------------- ##
3170 ## M4sh Initialization. ##
3171 ## --------------------- ##
3173 # Be Bourne compatible
3174 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3177 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3178 # is contrary to our usage. Disable this feature.
3179 alias -g '${1+"$@"}'='"$@"'
3180 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3183 DUALCASE=1; export DUALCASE # for MKS sh
3185 # Support unset when possible.
3186 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3193 # Work around bugs in pre-3.0 UWIN ksh.
3194 $as_unset ENV MAIL MAILPATH
3201 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3202 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3203 LC_TELEPHONE LC_TIME
3205 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3206 eval $as_var=C; export $as_var
3212 # Required to use basename.
3213 if expr a : '\(a\)' >/dev/null 2>&1; then
3219 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3220 as_basename=basename
3226 # Name of the executable.
3227 as_me=`$as_basename "$0" ||
3228 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3229 X"$0" : 'X\(//\)$' \| \
3230 X"$0" : 'X\(/\)$' \| \
3231 . : '\(.\)' 2>/dev/null ||
3233 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3234 /^X\/\(\/\/\)$/{ s//\1/; q; }
3235 /^X\/\(\/\).*/{ s//\1/; q; }
3239 # PATH needs CR, and LINENO needs CR and PATH.
3240 # Avoid depending upon Character Ranges.
3241 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3242 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3243 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3244 as_cr_digits='0123456789'
3245 as_cr_alnum=$as_cr_Letters$as_cr_digits
3247 # The user is always right.
3248 if test "${PATH_SEPARATOR+set}" != set; then
3249 echo "#! /bin/sh" >conf$$.sh
3250 echo "exit 0" >>conf$$.sh
3252 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3263 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3264 test "x$as_lineno_1" != "x$as_lineno_2" &&
3265 test "x$as_lineno_3" = "x$as_lineno_2" || {
3266 # Find who we are. Look in the path if we contain no path at all
3269 *[\\/]* ) as_myself=$0 ;;
3270 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3274 test -z "$as_dir" && as_dir=.
3275 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3280 # We did not find ourselves, most probably we were run as `sh COMMAND'
3281 # in which case we are not to be found in the path.
3282 if test "x$as_myself" = x; then
3285 if test ! -f "$as_myself"; then
3286 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3287 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3288 { (exit 1); exit 1; }; }
3290 case $CONFIG_SHELL in
3292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3293 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3296 test -z "$as_dir" && as_dir=.
3297 for as_base in sh bash ksh sh5; do
3300 if ("$as_dir/$as_base" -c '
3303 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3304 test "x$as_lineno_1" != "x$as_lineno_2" &&
3305 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3306 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3307 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3308 CONFIG_SHELL=$as_dir/$as_base
3310 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3318 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3319 # uniformly replaced by the line number. The first 'sed' inserts a
3320 # line-number line before each line; the second 'sed' does the real
3321 # work. The second script uses 'N' to pair each line-number line
3322 # with the numbered line, and appends trailing '-' during
3323 # substitution so that $LINENO is not a special case at line end.
3324 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3325 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3326 sed '=' <$as_myself |
3331 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3334 s,^['$as_cr_digits']*\n,,
3336 chmod +x $as_me.lineno ||
3337 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3338 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3339 { (exit 1); exit 1; }; }
3341 # Don't try to exec as it changes $[0], causing all sort of problems
3342 # (the dirname of $[0] is not the place where we might find the
3343 # original and so on. Autoconf is especially sensible to this).
3345 # Exit status is that of the last command.
3350 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3351 *c*,-n*) ECHO_N= ECHO_C='
3353 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3354 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3357 if expr a : '\(a\)' >/dev/null 2>&1; then
3363 rm -f conf$$ conf$$.exe conf$$.file
3365 if ln -s conf$$.file conf$$ 2>/dev/null; then
3366 # We could just check for DJGPP; but this test a) works b) is more generic
3367 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3368 if test -f conf$$.exe; then
3369 # Don't use ln at all; we don't have any links
3374 elif ln conf$$.file conf$$ 2>/dev/null; then
3379 rm -f conf$$ conf$$.exe conf$$.file
3381 if mkdir -p . 2>/dev/null; then
3384 test -d ./-p && rmdir ./-p
3388 as_executable_p="test -f"
3390 # Sed expression to map a string onto a valid CPP name.
3391 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3393 # Sed expression to map a string onto a valid variable name.
3394 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3398 # We need space, tab and new line, in precisely that order.
3408 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3409 # report actual input values of CONFIG_FILES etc. instead of their
3410 # values after options handling. Logging --version etc. is OK.
3414 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3415 ## Running $as_me. ##
3420 This file was extended by $as_me, which was
3421 generated by GNU Autoconf 2.59. Invocation command line was
3423 CONFIG_FILES = $CONFIG_FILES
3424 CONFIG_HEADERS = $CONFIG_HEADERS
3425 CONFIG_LINKS = $CONFIG_LINKS
3426 CONFIG_COMMANDS = $CONFIG_COMMANDS
3430 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3434 # Files that config.status was made for.
3435 if test -n "$ac_config_files"; then
3436 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3439 if test -n "$ac_config_headers"; then
3440 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3443 if test -n "$ac_config_links"; then
3444 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3447 if test -n "$ac_config_commands"; then
3448 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3451 cat >>$CONFIG_STATUS <<\_ACEOF
3454 \`$as_me' instantiates files from templates according to the
3455 current configuration.
3457 Usage: $0 [OPTIONS] [FILE]...
3459 -h, --help print this help, then exit
3460 -V, --version print version number, then exit
3461 -q, --quiet do not print progress messages
3462 -d, --debug don't remove temporary files
3463 --recheck update $as_me by reconfiguring in the same conditions
3464 --file=FILE[:TEMPLATE]
3465 instantiate the configuration file FILE
3466 --header=FILE[:TEMPLATE]
3467 instantiate the configuration header FILE
3469 Configuration files:
3472 Configuration headers:
3475 Report bugs to <bug-autoconf@gnu.org>."
3478 cat >>$CONFIG_STATUS <<_ACEOF
3481 configured by $0, generated by GNU Autoconf 2.59,
3482 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3484 Copyright (C) 2003 Free Software Foundation, Inc.
3485 This config.status script is free software; the Free Software Foundation
3486 gives unlimited permission to copy, distribute and modify it."
3490 cat >>$CONFIG_STATUS <<\_ACEOF
3491 # If no file are specified by the user, then we need to provide default
3492 # value. By we need to know if files were specified by the user.
3498 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3499 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3507 *) # This is not an option, so the user has probably given explicit
3510 ac_need_defaults=false;;
3514 # Handling of the options.
3516 cat >>$CONFIG_STATUS <<\_ACEOF
3517 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3519 --version | --vers* | -V )
3520 echo "$ac_cs_version"; exit 0 ;;
3522 # Conflict between --help and --header
3523 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3524 Try \`$0 --help' for more information." >&5
3525 echo "$as_me: error: ambiguous option: $1
3526 Try \`$0 --help' for more information." >&2;}
3527 { (exit 1); exit 1; }; };;
3528 --help | --hel | -h )
3529 echo "$ac_cs_usage"; exit 0 ;;
3530 --debug | --d* | -d )
3532 --file | --fil | --fi | --f )
3534 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3535 ac_need_defaults=false;;
3536 --header | --heade | --head | --hea )
3538 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3539 ac_need_defaults=false;;
3540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3541 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3545 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3546 Try \`$0 --help' for more information." >&5
3547 echo "$as_me: error: unrecognized option: $1
3548 Try \`$0 --help' for more information." >&2;}
3549 { (exit 1); exit 1; }; } ;;
3551 *) ac_config_targets="$ac_config_targets $1" ;;
3557 ac_configure_extra_args=
3559 if $ac_cs_silent; then
3561 ac_configure_extra_args="$ac_configure_extra_args --silent"
3565 cat >>$CONFIG_STATUS <<_ACEOF
3566 if \$ac_cs_recheck; then
3567 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3568 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3577 cat >>$CONFIG_STATUS <<\_ACEOF
3578 for ac_config_target in $ac_config_targets
3580 case "$ac_config_target" in
3581 # Handling of arguments.
3582 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3583 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3584 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3585 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3586 { (exit 1); exit 1; }; };;
3590 # If the user did not use the arguments to specify the items to instantiate,
3591 # then the envvar interface is used. Set only those that are not.
3592 # We use the long form for the default assignment because of an extremely
3593 # bizarre bug on SunOS 4.1.3.
3594 if $ac_need_defaults; then
3595 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3596 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3599 # Have a temporary directory for convenience. Make it in the build tree
3600 # simply because there is no reason to put it here, and in addition,
3601 # creating and moving files from /tmp can sometimes cause problems.
3602 # Create a temporary directory, and hook for its removal unless debugging.
3605 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3606 trap '{ (exit 1); exit 1; }' 1 2 13 15
3609 # Create a (secure) tmp directory for tmp files.
3612 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3613 test -n "$tmp" && test -d "$tmp"
3616 tmp=./confstat$$-$RANDOM
3617 (umask 077 && mkdir $tmp)
3620 echo "$me: cannot create a temporary directory in ." >&2
3621 { (exit 1); exit 1; }
3626 cat >>$CONFIG_STATUS <<_ACEOF
3629 # CONFIG_FILES section.
3632 # No need to generate the scripts if there are no CONFIG_FILES.
3633 # This happens for instance when ./config.status config.h
3634 if test -n "\$CONFIG_FILES"; then
3635 # Protect against being on the right side of a sed subst in config.status.
3636 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3637 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3638 s,@SHELL@,$SHELL,;t t
3639 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3640 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3641 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3642 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3643 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3644 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3645 s,@exec_prefix@,$exec_prefix,;t t
3646 s,@prefix@,$prefix,;t t
3647 s,@program_transform_name@,$program_transform_name,;t t
3648 s,@bindir@,$bindir,;t t
3649 s,@sbindir@,$sbindir,;t t
3650 s,@libexecdir@,$libexecdir,;t t
3651 s,@datadir@,$datadir,;t t
3652 s,@sysconfdir@,$sysconfdir,;t t
3653 s,@sharedstatedir@,$sharedstatedir,;t t
3654 s,@localstatedir@,$localstatedir,;t t
3655 s,@libdir@,$libdir,;t t
3656 s,@includedir@,$includedir,;t t
3657 s,@oldincludedir@,$oldincludedir,;t t
3658 s,@infodir@,$infodir,;t t
3659 s,@mandir@,$mandir,;t t
3660 s,@build_alias@,$build_alias,;t t
3661 s,@host_alias@,$host_alias,;t t
3662 s,@target_alias@,$target_alias,;t t
3664 s,@ECHO_C@,$ECHO_C,;t t
3665 s,@ECHO_N@,$ECHO_N,;t t
3666 s,@ECHO_T@,$ECHO_T,;t t
3669 s,@CFLAGS@,$CFLAGS,;t t
3670 s,@LDFLAGS@,$LDFLAGS,;t t
3671 s,@CPPFLAGS@,$CPPFLAGS,;t t
3672 s,@ac_ct_CC@,$ac_ct_CC,;t t
3673 s,@EXEEXT@,$EXEEXT,;t t
3674 s,@OBJEXT@,$OBJEXT,;t t
3676 s,@EGREP@,$EGREP,;t t
3677 s,@counter_ldflags@,$counter_ldflags,;t t
3678 s,@counter_cflags@,$counter_cflags,;t t
3679 s,@targetname@,$targetname,;t t
3680 s,@LIBOBJS@,$LIBOBJS,;t t
3681 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3686 cat >>$CONFIG_STATUS <<\_ACEOF
3687 # Split the substitutions into bite-sized pieces for seds with
3688 # small command number limits, like on Digital OSF/1 and HP-UX.
3690 ac_sed_frag=1 # Number of current file.
3691 ac_beg=1 # First line for current file.
3692 ac_end=$ac_max_sed_lines # Line after last line for current file.
3695 while $ac_more_lines; do
3696 if test $ac_beg -gt 1; then
3697 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3699 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3701 if test ! -s $tmp/subs.frag; then
3704 # The purpose of the label and of the branching condition is to
3705 # speed up the sed processing (if there are no `@' at all, there
3706 # is no need to browse any of the substitutions).
3707 # These are the two extra sed commands mentioned above.
3709 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3710 if test -z "$ac_sed_cmds"; then
3711 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3713 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3715 ac_sed_frag=`expr $ac_sed_frag + 1`
3717 ac_end=`expr $ac_end + $ac_max_sed_lines`
3720 if test -z "$ac_sed_cmds"; then
3723 fi # test -n "$CONFIG_FILES"
3726 cat >>$CONFIG_STATUS <<\_ACEOF
3727 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3728 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3730 - | *:- | *:-:* ) # input from stdin
3732 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3733 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3734 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3735 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3736 * ) ac_file_in=$ac_file.in ;;
3739 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3740 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3741 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3742 X"$ac_file" : 'X\(//\)[^/]' \| \
3743 X"$ac_file" : 'X\(//\)$' \| \
3744 X"$ac_file" : 'X\(/\)' \| \
3745 . : '\(.\)' 2>/dev/null ||
3747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3748 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3749 /^X\(\/\/\)$/{ s//\1/; q; }
3750 /^X\(\/\).*/{ s//\1/; q; }
3752 { if $as_mkdir_p; then
3757 while test ! -d "$as_dir"; do
3758 as_dirs="$as_dir $as_dirs"
3759 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3760 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3761 X"$as_dir" : 'X\(//\)[^/]' \| \
3762 X"$as_dir" : 'X\(//\)$' \| \
3763 X"$as_dir" : 'X\(/\)' \| \
3764 . : '\(.\)' 2>/dev/null ||
3766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3767 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3768 /^X\(\/\/\)$/{ s//\1/; q; }
3769 /^X\(\/\).*/{ s//\1/; q; }
3772 test ! -n "$as_dirs" || mkdir $as_dirs
3773 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3774 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3775 { (exit 1); exit 1; }; }; }
3779 if test "$ac_dir" != .; then
3780 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3781 # A "../" for each directory in $ac_dir_suffix.
3782 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3784 ac_dir_suffix= ac_top_builddir=
3788 .) # No --srcdir option. We are building in place.
3790 if test -z "$ac_top_builddir"; then
3793 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3795 [\\/]* | ?:[\\/]* ) # Absolute path.
3796 ac_srcdir=$srcdir$ac_dir_suffix;
3797 ac_top_srcdir=$srcdir ;;
3799 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3800 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3803 # Do not use `cd foo && pwd` to compute absolute paths, because
3804 # the directories may not exist.
3806 .) ac_abs_builddir="$ac_dir";;
3809 .) ac_abs_builddir=`pwd`;;
3810 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3811 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3814 case $ac_abs_builddir in
3815 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3817 case ${ac_top_builddir}. in
3818 .) ac_abs_top_builddir=$ac_abs_builddir;;
3819 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3820 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3823 case $ac_abs_builddir in
3824 .) ac_abs_srcdir=$ac_srcdir;;
3827 .) ac_abs_srcdir=$ac_abs_builddir;;
3828 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3829 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3832 case $ac_abs_builddir in
3833 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3835 case $ac_top_srcdir in
3836 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3837 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3838 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3844 if test x"$ac_file" != x-; then
3845 { echo "$as_me:$LINENO: creating $ac_file" >&5
3846 echo "$as_me: creating $ac_file" >&6;}
3849 # Let's still pretend it is `configure' which instantiates (i.e., don't
3850 # use $as_me), people would be surprised to read:
3851 # /* config.h. Generated by config.status. */
3852 if test x"$ac_file" = x-; then
3855 configure_input="$ac_file. "
3857 configure_input=$configure_input"Generated from `echo $ac_file_in |
3858 sed 's,.*/,,'` by configure."
3860 # First look for the input files in the build tree, otherwise in the
3862 ac_file_inputs=`IFS=:
3863 for f in $ac_file_in; do
3865 -) echo $tmp/stdin ;;
3867 # Absolute (can't be DOS-style, as IFS=:)
3868 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3869 echo "$as_me: error: cannot find input file: $f" >&2;}
3870 { (exit 1); exit 1; }; }
3873 if test -f "$f"; then
3876 elif test -f "$srcdir/$f"; then
3881 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3882 echo "$as_me: error: cannot find input file: $f" >&2;}
3883 { (exit 1); exit 1; }; }
3886 done` || { (exit 1); exit 1; }
3888 cat >>$CONFIG_STATUS <<_ACEOF
3892 cat >>$CONFIG_STATUS <<\_ACEOF
3894 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3895 s,@configure_input@,$configure_input,;t t
3896 s,@srcdir@,$ac_srcdir,;t t
3897 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3898 s,@top_srcdir@,$ac_top_srcdir,;t t
3899 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3900 s,@builddir@,$ac_builddir,;t t
3901 s,@abs_builddir@,$ac_abs_builddir,;t t
3902 s,@top_builddir@,$ac_top_builddir,;t t
3903 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3904 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3906 if test x"$ac_file" != x-; then
3907 mv $tmp/out $ac_file
3915 cat >>$CONFIG_STATUS <<\_ACEOF
3918 # CONFIG_HEADER section.
3921 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3922 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3924 # ac_d sets the value in "#define NAME VALUE" lines.
3925 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3926 ac_dB='[ ].*$,\1#\2'
3929 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3930 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3931 ac_uB='$,\1#\2define\3'
3935 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3936 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3938 - | *:- | *:-:* ) # input from stdin
3940 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3941 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3942 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3943 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3944 * ) ac_file_in=$ac_file.in ;;
3947 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3948 echo "$as_me: creating $ac_file" >&6;}
3950 # First look for the input files in the build tree, otherwise in the
3952 ac_file_inputs=`IFS=:
3953 for f in $ac_file_in; do
3955 -) echo $tmp/stdin ;;
3957 # Absolute (can't be DOS-style, as IFS=:)
3958 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3959 echo "$as_me: error: cannot find input file: $f" >&2;}
3960 { (exit 1); exit 1; }; }
3961 # Do quote $f, to prevent DOS paths from being IFS'd.
3964 if test -f "$f"; then
3967 elif test -f "$srcdir/$f"; then
3972 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3973 echo "$as_me: error: cannot find input file: $f" >&2;}
3974 { (exit 1); exit 1; }; }
3977 done` || { (exit 1); exit 1; }
3978 # Remove the trailing spaces.
3979 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3983 # Transform confdefs.h into two sed scripts, `conftest.defines' and
3984 # `conftest.undefs', that substitutes the proper values into
3985 # config.h.in to produce config.h. The first handles `#define'
3986 # templates, and the second `#undef' templates.
3987 # And first: Protect against being on the right side of a sed subst in
3988 # config.status. Protect against being in an unquoted here document
3990 rm -f conftest.defines conftest.undefs
3991 # Using a here document instead of a string reduces the quoting nightmare.
3992 # Putting comments in sed scripts is not portable.
3994 # `end' is used to avoid that the second main sed command (meant for
3995 # 0-ary CPP macros) applies to n-ary macro definitions.
3996 # See the Autoconf documentation for `clear'.
3997 cat >confdef2sed.sed <<\_ACEOF
4002 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4004 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4007 # If some macros were called several times there might be several times
4008 # the same #defines, which is useless. Nevertheless, we may not want to
4009 # sort them, since we want the *last* AC-DEFINE to be honored.
4010 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4011 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4012 rm -f confdef2sed.sed
4014 # This sed command replaces #undef with comments. This is necessary, for
4015 # example, in the case of _POSIX_SOURCE, which is predefined and required
4016 # on some systems where configure will not decide to define it.
4017 cat >>conftest.undefs <<\_ACEOF
4018 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4021 # Break up conftest.defines because some shells have a limit on the size
4022 # of here documents, and old seds have small limits too (100 cmds).
4023 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4024 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4025 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4026 echo ' :' >>$CONFIG_STATUS
4028 while grep . conftest.defines >/dev/null
4030 # Write a limited-size here document to $tmp/defines.sed.
4031 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4032 # Speed up: don't consider the non `#define' lines.
4033 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4034 # Work around the forget-to-reset-the-flag bug.
4035 echo 't clr' >>$CONFIG_STATUS
4036 echo ': clr' >>$CONFIG_STATUS
4037 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4039 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4043 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4044 rm -f conftest.defines
4045 mv conftest.tail conftest.defines
4047 rm -f conftest.defines
4048 echo ' fi # grep' >>$CONFIG_STATUS
4049 echo >>$CONFIG_STATUS
4051 # Break up conftest.undefs because some shells have a limit on the size
4052 # of here documents, and old seds have small limits too (100 cmds).
4053 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4055 while grep . conftest.undefs >/dev/null
4057 # Write a limited-size here document to $tmp/undefs.sed.
4058 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4059 # Speed up: don't consider the non `#undef'
4060 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4061 # Work around the forget-to-reset-the-flag bug.
4062 echo 't clr' >>$CONFIG_STATUS
4063 echo ': clr' >>$CONFIG_STATUS
4064 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4066 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4070 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4071 rm -f conftest.undefs
4072 mv conftest.tail conftest.undefs
4074 rm -f conftest.undefs
4076 cat >>$CONFIG_STATUS <<\_ACEOF
4077 # Let's still pretend it is `configure' which instantiates (i.e., don't
4078 # use $as_me), people would be surprised to read:
4079 # /* config.h. Generated by config.status. */
4080 if test x"$ac_file" = x-; then
4081 echo "/* Generated by configure. */" >$tmp/config.h
4083 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4085 cat $tmp/in >>$tmp/config.h
4087 if test x"$ac_file" != x-; then
4088 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4089 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4090 echo "$as_me: $ac_file is unchanged" >&6;}
4092 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4093 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4094 X"$ac_file" : 'X\(//\)[^/]' \| \
4095 X"$ac_file" : 'X\(//\)$' \| \
4096 X"$ac_file" : 'X\(/\)' \| \
4097 . : '\(.\)' 2>/dev/null ||
4099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4100 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4101 /^X\(\/\/\)$/{ s//\1/; q; }
4102 /^X\(\/\).*/{ s//\1/; q; }
4104 { if $as_mkdir_p; then
4109 while test ! -d "$as_dir"; do
4110 as_dirs="$as_dir $as_dirs"
4111 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4112 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4113 X"$as_dir" : 'X\(//\)[^/]' \| \
4114 X"$as_dir" : 'X\(//\)$' \| \
4115 X"$as_dir" : 'X\(/\)' \| \
4116 . : '\(.\)' 2>/dev/null ||
4118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4119 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4120 /^X\(\/\/\)$/{ s//\1/; q; }
4121 /^X\(\/\).*/{ s//\1/; q; }
4124 test ! -n "$as_dirs" || mkdir $as_dirs
4125 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4126 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4127 { (exit 1); exit 1; }; }; }
4130 mv $tmp/config.h $ac_file
4139 cat >>$CONFIG_STATUS <<\_ACEOF
4141 { (exit 0); exit 0; }
4143 chmod +x $CONFIG_STATUS
4144 ac_clean_files=$ac_clean_files_save
4147 # configure is writing to config.log, and then calls config.status.
4148 # config.status does its own redirection, appending to config.log.
4149 # Unfortunately, on DOS this fails, as config.log is still kept open
4150 # by configure, so config.status won't be able to write to it; its
4151 # output is simply discarded. So we exec the FD to /dev/null,
4152 # effectively closing config.log, so it can be properly (re)opened and
4153 # appended to by config.status. When coming back to configure, we
4154 # need to make the FD available again.
4155 if test "$no_create" != yes; then
4157 ac_config_status_args=
4158 test "$silent" = yes &&
4159 ac_config_status_args="$ac_config_status_args --quiet"
4161 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4163 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4164 # would make configure fail if this is the last instruction.
4165 $ac_cs_success || { (exit 1); exit 1; }