2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for util-vserver 0.30.
5 # Report bugs to <enrico.scholz@informatik.tu-chemnitz.de>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
223 test -d ./-p && rmdir ./-p
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME='util-vserver'
271 PACKAGE_TARNAME='util-vserver'
272 PACKAGE_VERSION='0.30'
273 PACKAGE_STRING='util-vserver 0.30'
274 PACKAGE_BUGREPORT='enrico.scholz@informatik.tu-chemnitz.de'
276 ac_unique_file="src/capchroot.c"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S RANLIB ac_ct_RANLIB kernelincludedir vserverdir CVS2CL_TAG CVS2CL HAVE_CVS2CL_TRUE HAVE_CVS2CL_FALSE RCS2LOG HAVE_RCS2LOG_TRUE HAVE_RCS2LOG_FALSE ENSC_ENABLE_LINUXCONF_TRUE ENSC_ENABLE_LINUXCONF_FALSE ENSC_ENABLE_INTERNAL_HEADERS_TRUE ENSC_ENABLE_INTERNAL_HEADERS_FALSE CPP EGREP CXXCPP LIBOBJS LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name=s,x,x,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
389 cache_file=config.cache ;;
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 datadir=$ac_optarg ;;
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
432 -help | --help | --hel | --he | -h)
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
456 -libdir | --libdir | --libdi | --libd)
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483 # Obsolete; use --without-fp.
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 sbindir=$ac_optarg ;;
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 sharedstatedir=$ac_optarg ;;
560 -site | --site | --sit)
562 -site=* | --site=* | --sit=*)
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 -version | --version | --versio | --versi | --vers | -V)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
663 eval ac_val=$`echo $ac_var`
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val=$`echo $ac_var`
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704 test "$silent" = yes && exec 6>/dev/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CXX_set=${CXX+set}
756 ac_env_CXX_value=$CXX
757 ac_cv_env_CXX_set=${CXX+set}
758 ac_cv_env_CXX_value=$CXX
759 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
760 ac_env_CXXFLAGS_value=$CXXFLAGS
761 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
762 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CC_set=${CC+set}
773 ac_cv_env_CC_set=${CC+set}
774 ac_cv_env_CC_value=$CC
775 ac_env_CFLAGS_set=${CFLAGS+set}
776 ac_env_CFLAGS_value=$CFLAGS
777 ac_cv_env_CFLAGS_set=${CFLAGS+set}
778 ac_cv_env_CFLAGS_value=$CFLAGS
779 ac_env_CPP_set=${CPP+set}
780 ac_env_CPP_value=$CPP
781 ac_cv_env_CPP_set=${CPP+set}
782 ac_cv_env_CPP_value=$CPP
783 ac_env_CXXCPP_set=${CXXCPP+set}
784 ac_env_CXXCPP_value=$CXXCPP
785 ac_cv_env_CXXCPP_set=${CXXCPP+set}
786 ac_cv_env_CXXCPP_value=$CXXCPP
789 # Report the --help message.
791 if test "$ac_init_help" = "long"; then
792 # Omit some internal or obsolete options to make the list less imposing.
793 # This message is too long to be a string in the A/UX 3.1 sh.
795 \`configure' configures util-vserver 0.30 to adapt to many kinds of systems.
797 Usage: $0 [OPTION]... [VAR=VALUE]...
799 To assign environment variables (e.g., CC, CFLAGS...), specify them as
800 VAR=VALUE. See below for descriptions of some of the useful variables.
802 Defaults for the options are specified in brackets.
805 -h, --help display this help and exit
806 --help=short display options specific to this package
807 --help=recursive display the short help of all the included packages
808 -V, --version display version information and exit
809 -q, --quiet, --silent do not print \`checking...' messages
810 --cache-file=FILE cache test results in FILE [disabled]
811 -C, --config-cache alias for \`--cache-file=config.cache'
812 -n, --no-create do not create output files
813 --srcdir=DIR find the sources in DIR [configure dir or \`..']
818 Installation directories:
819 --prefix=PREFIX install architecture-independent files in PREFIX
821 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 By default, \`make install' will install all the files in
825 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
826 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
827 for instance \`--prefix=\$HOME'.
829 For better control, use the options below.
831 Fine tuning of the installation directories:
832 --bindir=DIR user executables [EPREFIX/bin]
833 --sbindir=DIR system admin executables [EPREFIX/sbin]
834 --libexecdir=DIR program executables [EPREFIX/libexec]
835 --datadir=DIR read-only architecture-independent data [PREFIX/share]
836 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
837 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
838 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
839 --libdir=DIR object code libraries [EPREFIX/lib]
840 --includedir=DIR C header files [PREFIX/include]
841 --oldincludedir=DIR C header files for non-gcc [/usr/include]
842 --infodir=DIR info documentation [PREFIX/info]
843 --mandir=DIR man documentation [PREFIX/man]
849 --program-prefix=PREFIX prepend PREFIX to installed program names
850 --program-suffix=SUFFIX append SUFFIX to installed program names
851 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
855 if test -n "$ac_init_help"; then
856 case $ac_init_help in
857 short | recursive ) echo "Configuration of util-vserver 0.30:";;
862 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
863 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
864 --enable-maintainer-mode enable make rules and dependencies not useful
865 (and sometimes confusing) to the casual installer
866 --disable-dependency-tracking speeds up one-time build
867 --enable-dependency-tracking do not reject slow dependency extractors
868 --enable-linuxconf enable 'newvserver' linuxconf module (default: no)
869 --disable-internal-headers
870 use vserver specific headers from the kernel instead
871 of the shipped versions (default: no)
872 --enable-apis=APIS enable support for the given apis; possible values
873 are: legacy,compat,v11,ALL (default: ALL)
876 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
877 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
878 --with-kerneldir=DIR assume kernelsources in DIR (default:
879 /lib/modules/<current>/build)
880 --with-vrootdir=DIR place vservers under DIR (default: /vservers)
881 --with-syscall=METHOD call syscall(2) with the specified METHOD; valid
882 values are 'fast', 'traditional' and 'auto'
885 Some influential environment variables:
886 CXX C++ compiler command
887 CXXFLAGS C++ compiler flags
888 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
889 nonstandard directory <lib dir>
890 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
891 headers in a nonstandard directory <include dir>
892 CC C compiler command
893 CFLAGS C compiler flags
895 CXXCPP C++ preprocessor
897 Use these variables to override the choices made by `configure' or to help
898 it to find libraries and programs with nonstandard names/locations.
900 Report bugs to <enrico.scholz@informatik.tu-chemnitz.de>.
904 if test "$ac_init_help" = "recursive"; then
905 # If there are subdirs, report their specific --help.
907 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
908 test -d $ac_dir || continue
911 if test "$ac_dir" != .; then
912 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
913 # A "../" for each directory in $ac_dir_suffix.
914 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
916 ac_dir_suffix= ac_top_builddir=
920 .) # No --srcdir option. We are building in place.
922 if test -z "$ac_top_builddir"; then
925 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
927 [\\/]* | ?:[\\/]* ) # Absolute path.
928 ac_srcdir=$srcdir$ac_dir_suffix;
929 ac_top_srcdir=$srcdir ;;
931 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
932 ac_top_srcdir=$ac_top_builddir$srcdir ;;
935 # Do not use `cd foo && pwd` to compute absolute paths, because
936 # the directories may not exist.
938 .) ac_abs_builddir="$ac_dir";;
941 .) ac_abs_builddir=`pwd`;;
942 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
943 *) ac_abs_builddir=`pwd`/"$ac_dir";;
946 case $ac_abs_builddir in
947 .) ac_abs_top_builddir=${ac_top_builddir}.;;
949 case ${ac_top_builddir}. in
950 .) ac_abs_top_builddir=$ac_abs_builddir;;
951 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
952 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
955 case $ac_abs_builddir in
956 .) ac_abs_srcdir=$ac_srcdir;;
959 .) ac_abs_srcdir=$ac_abs_builddir;;
960 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
961 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
964 case $ac_abs_builddir in
965 .) ac_abs_top_srcdir=$ac_top_srcdir;;
967 case $ac_top_srcdir in
968 .) ac_abs_top_srcdir=$ac_abs_builddir;;
969 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
970 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
975 # Check for guested configure; otherwise get Cygnus style configure.
976 if test -f $ac_srcdir/configure.gnu; then
978 $SHELL $ac_srcdir/configure.gnu --help=recursive
979 elif test -f $ac_srcdir/configure; then
981 $SHELL $ac_srcdir/configure --help=recursive
982 elif test -f $ac_srcdir/configure.ac ||
983 test -f $ac_srcdir/configure.in; then
987 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
993 test -n "$ac_init_help" && exit 0
994 if $ac_init_version; then
996 util-vserver configure 0.30
997 generated by GNU Autoconf 2.59
999 Copyright (C) 2003 Free Software Foundation, Inc.
1000 This configure script is free software; the Free Software Foundation
1001 gives unlimited permission to copy, distribute and modify it.
1007 This file contains any messages produced by compilers while
1008 running configure, to aid debugging if configure makes a mistake.
1010 It was created by util-vserver $as_me 0.30, which was
1011 generated by GNU Autoconf 2.59. Invocation command line was
1022 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1023 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1024 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1025 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1026 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1028 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1029 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1031 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1032 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1033 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1034 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1035 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1036 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1037 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1045 test -z "$as_dir" && as_dir=.
1046 echo "PATH: $as_dir"
1061 # Keep a trace of the command line.
1062 # Strip out --no-create and --no-recursion so they do not pile up.
1063 # Strip out --silent because we don't want to record it for future runs.
1064 # Also quote any args containing shell meta-characters.
1065 # Make two passes to allow for proper duplicate-argument suppression.
1070 ac_must_keep_next=false
1076 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1078 | -silent | --silent | --silen | --sile | --sil)
1080 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1081 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1084 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1086 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1087 if test $ac_must_keep_next = true; then
1088 ac_must_keep_next=false # Got value, back to normal.
1091 *=* | --config-cache | -C | -disable-* | --disable-* \
1092 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1093 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1094 | -with-* | --with-* | -without-* | --without-* | --x)
1095 case "$ac_configure_args0 " in
1096 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1099 -* ) ac_must_keep_next=true ;;
1102 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1103 # Get rid of the leading space.
1109 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1110 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1112 # When interrupted or exit'd, cleanup temporary files, and complete
1113 # config.log. We remove comments because anyway the quotes in there
1114 # would cause problems or look ugly.
1115 # WARNING: Be sure not to use single quotes in there, as some shells,
1116 # such as our DU 5.0 friend, will then `close' the trap.
1117 trap 'exit_status=$?
1118 # Save into config.log some information that might help in debugging.
1123 ## ---------------- ##
1124 ## Cache variables. ##
1125 ## ---------------- ##
1128 # The following way of writing the cache mishandles newlines in values,
1131 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1134 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1139 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1146 ## ----------------- ##
1147 ## Output variables. ##
1148 ## ----------------- ##
1151 for ac_var in $ac_subst_vars
1153 eval ac_val=$`echo $ac_var`
1154 echo "$ac_var='"'"'$ac_val'"'"'"
1158 if test -n "$ac_subst_files"; then
1165 for ac_var in $ac_subst_files
1167 eval ac_val=$`echo $ac_var`
1168 echo "$ac_var='"'"'$ac_val'"'"'"
1173 if test -s confdefs.h; then
1180 sed "/^$/d" confdefs.h | sort
1183 test "$ac_signal" != 0 &&
1184 echo "$as_me: caught signal $ac_signal"
1185 echo "$as_me: exit $exit_status"
1187 rm -f core *.core &&
1188 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1191 for ac_signal in 1 2 13 15; do
1192 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1196 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1197 rm -rf conftest* confdefs.h
1198 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1201 # Predefined preprocessor variables.
1203 cat >>confdefs.h <<_ACEOF
1204 #define PACKAGE_NAME "$PACKAGE_NAME"
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1213 cat >>confdefs.h <<_ACEOF
1214 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1218 cat >>confdefs.h <<_ACEOF
1219 #define PACKAGE_STRING "$PACKAGE_STRING"
1223 cat >>confdefs.h <<_ACEOF
1224 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1228 # Let the site file select an alternate cache file if it wants to.
1229 # Prefer explicitly selected file to automatically selected ones.
1230 if test -z "$CONFIG_SITE"; then
1231 if test "x$prefix" != xNONE; then
1232 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1234 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1237 for ac_site_file in $CONFIG_SITE; do
1238 if test -r "$ac_site_file"; then
1239 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1240 echo "$as_me: loading site script $ac_site_file" >&6;}
1241 sed 's/^/| /' "$ac_site_file" >&5
1246 if test -r "$cache_file"; then
1247 # Some versions of bash will fail to source /dev/null (special
1248 # files actually), so we avoid doing that.
1249 if test -f "$cache_file"; then
1250 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1251 echo "$as_me: loading cache $cache_file" >&6;}
1253 [\\/]* | ?:[\\/]* ) . $cache_file;;
1254 *) . ./$cache_file;;
1258 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1259 echo "$as_me: creating cache $cache_file" >&6;}
1263 # Check that the precious variables saved in the cache have kept the same
1265 ac_cache_corrupted=false
1266 for ac_var in `(set) 2>&1 |
1267 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1268 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1269 eval ac_new_set=\$ac_env_${ac_var}_set
1270 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1271 eval ac_new_val="\$ac_env_${ac_var}_value"
1272 case $ac_old_set,$ac_new_set in
1274 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1275 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1276 ac_cache_corrupted=: ;;
1278 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1279 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1280 ac_cache_corrupted=: ;;
1283 if test "x$ac_old_val" != "x$ac_new_val"; then
1284 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1285 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1286 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1287 echo "$as_me: former value: $ac_old_val" >&2;}
1288 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1289 echo "$as_me: current value: $ac_new_val" >&2;}
1290 ac_cache_corrupted=:
1293 # Pass precious variables to config.status.
1294 if test "$ac_new_set" = set; then
1296 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1297 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1298 *) ac_arg=$ac_var=$ac_new_val ;;
1300 case " $ac_configure_args " in
1301 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1302 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1306 if $ac_cache_corrupted; then
1307 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1308 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1309 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1310 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1311 { (exit 1); exit 1; }; }
1315 ac_cpp='$CPP $CPPFLAGS'
1316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1347 ac_config_headers="$ac_config_headers config.h"
1350 am__api_version="1.8"
1352 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1353 if test -f $ac_dir/install-sh; then
1355 ac_install_sh="$ac_aux_dir/install-sh -c"
1357 elif test -f $ac_dir/install.sh; then
1359 ac_install_sh="$ac_aux_dir/install.sh -c"
1361 elif test -f $ac_dir/shtool; then
1363 ac_install_sh="$ac_aux_dir/shtool install -c"
1367 if test -z "$ac_aux_dir"; then
1368 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1369 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1370 { (exit 1); exit 1; }; }
1372 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1373 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1374 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1376 # Find a good install program. We prefer a C program (faster),
1377 # so one script is as good as another. But avoid the broken or
1378 # incompatible versions:
1379 # SysV /etc/install, /usr/sbin/install
1380 # SunOS /usr/etc/install
1381 # IRIX /sbin/install
1383 # AmigaOS /C/install, which installs bootblocks on floppy discs
1384 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1385 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1386 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1387 # OS/2's system install, which has a completely different semantic
1388 # ./install, which can be erroneously created by make from ./install.sh.
1389 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1390 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1391 if test -z "$INSTALL"; then
1392 if test "${ac_cv_path_install+set}" = set; then
1393 echo $ECHO_N "(cached) $ECHO_C" >&6
1395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1399 test -z "$as_dir" && as_dir=.
1400 # Account for people who put trailing slashes in PATH elements.
1402 ./ | .// | /cC/* | \
1403 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1404 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1407 # OSF1 and SCO ODT 3.0 have their own names for install.
1408 # Don't use installbsd from OSF since it installs stuff as root
1410 for ac_prog in ginstall scoinst install; do
1411 for ac_exec_ext in '' $ac_executable_extensions; do
1412 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1413 if test $ac_prog = install &&
1414 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1415 # AIX install. It has an incompatible calling convention.
1417 elif test $ac_prog = install &&
1418 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1419 # program-specific install script used by HP pwplus--don't use.
1422 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1434 if test "${ac_cv_path_install+set}" = set; then
1435 INSTALL=$ac_cv_path_install
1437 # As a last resort, use the slow shell script. We don't cache a
1438 # path for INSTALL within a source directory, because that will
1439 # break other packages using the cache if that directory is
1440 # removed, or if the path is relative.
1441 INSTALL=$ac_install_sh
1444 echo "$as_me:$LINENO: result: $INSTALL" >&5
1445 echo "${ECHO_T}$INSTALL" >&6
1447 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1448 # It thinks the first close brace ends the variable substitution.
1449 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1451 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1453 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1455 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1456 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1459 echo timestamp > conftest.file
1460 # Do `set' in a subshell so we don't clobber the current shell's
1461 # arguments. Must try -L first in case configure is actually a
1462 # symlink; some systems play weird games with the mod time of symlinks
1463 # (eg FreeBSD returns the mod time of the symlink's containing
1466 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1467 if test "$*" = "X"; then
1469 set X `ls -t $srcdir/configure conftest.file`
1472 if test "$*" != "X $srcdir/configure conftest.file" \
1473 && test "$*" != "X conftest.file $srcdir/configure"; then
1475 # If neither matched, then we have a broken ls. This can happen
1476 # if, for instance, CONFIG_SHELL is bash and it inherits a
1477 # broken ls alias from the environment. This has actually
1478 # happened. Such a system could not be considered "sane".
1479 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1480 alias in your environment" >&5
1481 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1482 alias in your environment" >&2;}
1483 { (exit 1); exit 1; }; }
1486 test "$2" = conftest.file
1492 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1493 Check your system clock" >&5
1494 echo "$as_me: error: newly created file is older than distributed files!
1495 Check your system clock" >&2;}
1496 { (exit 1); exit 1; }; }
1498 echo "$as_me:$LINENO: result: yes" >&5
1499 echo "${ECHO_T}yes" >&6
1500 test "$program_prefix" != NONE &&
1501 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1502 # Use a double $ so make ignores it.
1503 test "$program_suffix" != NONE &&
1504 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1505 # Double any \ or $. echo might interpret backslashes.
1506 # By default was `s,x,x', remove it if useless.
1507 cat <<\_ACEOF >conftest.sed
1508 s/[\\$]/&&/g;s/;s,x,x,$//
1510 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1513 # expand $ac_aux_dir to an absolute path
1514 am_aux_dir=`cd $ac_aux_dir && pwd`
1516 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1517 # Use eval to expand $SHELL
1518 if eval "$MISSING --run true"; then
1519 am_missing_run="$MISSING --run "
1522 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1523 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1526 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1527 # Keeping the `.' argument allows $(mkdir_p) to be used without
1528 # argument. Indeed, we sometimes output rules like
1529 # $(mkdir_p) $(somedir)
1530 # where $(somedir) is conditionally defined.
1531 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1532 # expensive solution, as it forces Make to start a sub-shell.)
1533 mkdir_p='mkdir -p -- .'
1535 # On NextStep and OpenStep, the `mkdir' command does not
1536 # recognize any option. It will interpret all options as
1537 # directories to create, and then abort because `.' already
1539 for d in ./-p ./--version;
1541 test -d $d && rmdir $d
1543 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1544 if test -f "$ac_aux_dir/mkinstalldirs"; then
1545 mkdir_p='$(mkinstalldirs)'
1547 mkdir_p='$(install_sh) -d'
1551 for ac_prog in gawk mawk nawk awk
1553 # Extract the first word of "$ac_prog", so it can be a program name with args.
1554 set dummy $ac_prog; ac_word=$2
1555 echo "$as_me:$LINENO: checking for $ac_word" >&5
1556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1557 if test "${ac_cv_prog_AWK+set}" = set; then
1558 echo $ECHO_N "(cached) $ECHO_C" >&6
1560 if test -n "$AWK"; then
1561 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1567 test -z "$as_dir" && as_dir=.
1568 for ac_exec_ext in '' $ac_executable_extensions; do
1569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1570 ac_cv_prog_AWK="$ac_prog"
1571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1580 if test -n "$AWK"; then
1581 echo "$as_me:$LINENO: result: $AWK" >&5
1582 echo "${ECHO_T}$AWK" >&6
1584 echo "$as_me:$LINENO: result: no" >&5
1585 echo "${ECHO_T}no" >&6
1588 test -n "$AWK" && break
1591 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1592 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1593 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1594 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1595 echo $ECHO_N "(cached) $ECHO_C" >&6
1597 cat >conftest.make <<\_ACEOF
1599 @echo 'ac_maketemp="$(MAKE)"'
1601 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1602 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1603 if test -n "$ac_maketemp"; then
1604 eval ac_cv_prog_make_${ac_make}_set=yes
1606 eval ac_cv_prog_make_${ac_make}_set=no
1610 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1611 echo "$as_me:$LINENO: result: yes" >&5
1612 echo "${ECHO_T}yes" >&6
1615 echo "$as_me:$LINENO: result: no" >&5
1616 echo "${ECHO_T}no" >&6
1617 SET_MAKE="MAKE=${MAKE-make}"
1620 rm -rf .tst 2>/dev/null
1621 mkdir .tst 2>/dev/null
1622 if test -d .tst; then
1627 rmdir .tst 2>/dev/null
1629 # test to see if srcdir already configured
1630 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1631 test -f $srcdir/config.status; then
1632 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1633 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1634 { (exit 1); exit 1; }; }
1637 # test whether we have cygpath
1638 if test -z "$CYGPATH_W"; then
1639 if (cygpath --version) >/dev/null 2>/dev/null; then
1640 CYGPATH_W='cygpath -w'
1647 # Define the identity of the package.
1648 PACKAGE='util-vserver'
1652 cat >>confdefs.h <<_ACEOF
1653 #define PACKAGE "$PACKAGE"
1657 cat >>confdefs.h <<_ACEOF
1658 #define VERSION "$VERSION"
1661 # Some tools Automake needs.
1663 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1666 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1669 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1672 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1675 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1678 AMTAR=${AMTAR-"${am_missing_run}tar"}
1680 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1682 # Installed binaries are usually stripped using `strip' when the user
1683 # run `make install-strip'. However `strip' might not be the right
1684 # tool to use in cross-compilation environments, therefore Automake
1685 # will honor the `STRIP' environment variable to overrule this program.
1686 if test "$cross_compiling" != no; then
1687 if test -n "$ac_tool_prefix"; then
1688 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1689 set dummy ${ac_tool_prefix}strip; ac_word=$2
1690 echo "$as_me:$LINENO: checking for $ac_word" >&5
1691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1692 if test "${ac_cv_prog_STRIP+set}" = set; then
1693 echo $ECHO_N "(cached) $ECHO_C" >&6
1695 if test -n "$STRIP"; then
1696 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1702 test -z "$as_dir" && as_dir=.
1703 for ac_exec_ext in '' $ac_executable_extensions; do
1704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1705 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1714 STRIP=$ac_cv_prog_STRIP
1715 if test -n "$STRIP"; then
1716 echo "$as_me:$LINENO: result: $STRIP" >&5
1717 echo "${ECHO_T}$STRIP" >&6
1719 echo "$as_me:$LINENO: result: no" >&5
1720 echo "${ECHO_T}no" >&6
1724 if test -z "$ac_cv_prog_STRIP"; then
1726 # Extract the first word of "strip", so it can be a program name with args.
1727 set dummy strip; ac_word=$2
1728 echo "$as_me:$LINENO: checking for $ac_word" >&5
1729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1730 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1731 echo $ECHO_N "(cached) $ECHO_C" >&6
1733 if test -n "$ac_ct_STRIP"; then
1734 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1740 test -z "$as_dir" && as_dir=.
1741 for ac_exec_ext in '' $ac_executable_extensions; do
1742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1743 ac_cv_prog_ac_ct_STRIP="strip"
1744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1750 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1753 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1754 if test -n "$ac_ct_STRIP"; then
1755 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1756 echo "${ECHO_T}$ac_ct_STRIP" >&6
1758 echo "$as_me:$LINENO: result: no" >&5
1759 echo "${ECHO_T}no" >&6
1764 STRIP="$ac_cv_prog_STRIP"
1768 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1770 # We need awk for the "check" target. The system "awk" is bad on
1775 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1776 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1777 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1778 if test "${enable_maintainer_mode+set}" = set; then
1779 enableval="$enable_maintainer_mode"
1780 USE_MAINTAINER_MODE=$enableval
1782 USE_MAINTAINER_MODE=no
1784 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1785 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1788 if test $USE_MAINTAINER_MODE = yes; then
1789 MAINTAINER_MODE_TRUE=
1790 MAINTAINER_MODE_FALSE='#'
1792 MAINTAINER_MODE_TRUE='#'
1793 MAINTAINER_MODE_FALSE=
1796 MAINT=$MAINTAINER_MODE_TRUE
1801 # Checks for programs.
1803 ac_cpp='$CXXCPP $CPPFLAGS'
1804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1807 if test -n "$ac_tool_prefix"; then
1808 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1810 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1811 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1812 echo "$as_me:$LINENO: checking for $ac_word" >&5
1813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1814 if test "${ac_cv_prog_CXX+set}" = set; then
1815 echo $ECHO_N "(cached) $ECHO_C" >&6
1817 if test -n "$CXX"; then
1818 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1824 test -z "$as_dir" && as_dir=.
1825 for ac_exec_ext in '' $ac_executable_extensions; do
1826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1827 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1837 if test -n "$CXX"; then
1838 echo "$as_me:$LINENO: result: $CXX" >&5
1839 echo "${ECHO_T}$CXX" >&6
1841 echo "$as_me:$LINENO: result: no" >&5
1842 echo "${ECHO_T}no" >&6
1845 test -n "$CXX" && break
1848 if test -z "$CXX"; then
1850 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1852 # Extract the first word of "$ac_prog", so it can be a program name with args.
1853 set dummy $ac_prog; ac_word=$2
1854 echo "$as_me:$LINENO: checking for $ac_word" >&5
1855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1856 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1857 echo $ECHO_N "(cached) $ECHO_C" >&6
1859 if test -n "$ac_ct_CXX"; then
1860 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1866 test -z "$as_dir" && as_dir=.
1867 for ac_exec_ext in '' $ac_executable_extensions; do
1868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1869 ac_cv_prog_ac_ct_CXX="$ac_prog"
1870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1878 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1879 if test -n "$ac_ct_CXX"; then
1880 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1881 echo "${ECHO_T}$ac_ct_CXX" >&6
1883 echo "$as_me:$LINENO: result: no" >&5
1884 echo "${ECHO_T}no" >&6
1887 test -n "$ac_ct_CXX" && break
1889 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1895 # Provide some information about the compiler.
1896 echo "$as_me:$LINENO:" \
1897 "checking for C++ compiler version" >&5
1898 ac_compiler=`set X $ac_compile; echo $2`
1899 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1900 (eval $ac_compiler --version </dev/null >&5) 2>&5
1902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1903 (exit $ac_status); }
1904 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1905 (eval $ac_compiler -v </dev/null >&5) 2>&5
1907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1908 (exit $ac_status); }
1909 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1910 (eval $ac_compiler -V </dev/null >&5) 2>&5
1912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1913 (exit $ac_status); }
1915 cat >conftest.$ac_ext <<_ACEOF
1918 cat confdefs.h >>conftest.$ac_ext
1919 cat >>conftest.$ac_ext <<_ACEOF
1920 /* end confdefs.h. */
1930 ac_clean_files_save=$ac_clean_files
1931 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1932 # Try to create an executable without -o first, disregard a.out.
1933 # It will help us diagnose broken compilers, and finding out an intuition
1935 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1936 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1937 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1938 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1939 (eval $ac_link_default) 2>&5
1941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1942 (exit $ac_status); }; then
1943 # Find the output, starting from the most likely. This scheme is
1944 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1947 # Be careful to initialize this variable, since it used to be cached.
1948 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1950 # b.out is created by i960 compilers.
1951 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1953 test -f "$ac_file" || continue
1955 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1958 # This is the source file.
1961 # We found the default executable, but exeext='' is most
1965 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1966 # FIXME: I believe we export ac_cv_exeext for Libtool,
1967 # but it would be cool to find out if it's true. Does anybody
1968 # maintain Libtool? --akim.
1976 echo "$as_me: failed program was:" >&5
1977 sed 's/^/| /' conftest.$ac_ext >&5
1979 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1980 See \`config.log' for more details." >&5
1981 echo "$as_me: error: C++ compiler cannot create executables
1982 See \`config.log' for more details." >&2;}
1983 { (exit 77); exit 77; }; }
1986 ac_exeext=$ac_cv_exeext
1987 echo "$as_me:$LINENO: result: $ac_file" >&5
1988 echo "${ECHO_T}$ac_file" >&6
1990 # Check the compiler produces executables we can run. If not, either
1991 # the compiler is broken, or we cross compile.
1992 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1993 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1994 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1995 # If not cross compiling, check that we can run a simple program.
1996 if test "$cross_compiling" != yes; then
1997 if { ac_try='./$ac_file'
1998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); }; }; then
2005 if test "$cross_compiling" = maybe; then
2008 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2009 If you meant to cross compile, use \`--host'.
2010 See \`config.log' for more details." >&5
2011 echo "$as_me: error: cannot run C++ compiled programs.
2012 If you meant to cross compile, use \`--host'.
2013 See \`config.log' for more details." >&2;}
2014 { (exit 1); exit 1; }; }
2018 echo "$as_me:$LINENO: result: yes" >&5
2019 echo "${ECHO_T}yes" >&6
2021 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2022 ac_clean_files=$ac_clean_files_save
2023 # Check the compiler produces executables we can run. If not, either
2024 # the compiler is broken, or we cross compile.
2025 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2026 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2027 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2028 echo "${ECHO_T}$cross_compiling" >&6
2030 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2031 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2033 (eval $ac_link) 2>&5
2035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2036 (exit $ac_status); }; then
2037 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2038 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2039 # work properly (i.e., refer to `conftest.exe'), while it won't with
2041 for ac_file in conftest.exe conftest conftest.*; do
2042 test -f "$ac_file" || continue
2044 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2045 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2052 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2053 See \`config.log' for more details." >&5
2054 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2055 See \`config.log' for more details." >&2;}
2056 { (exit 1); exit 1; }; }
2059 rm -f conftest$ac_cv_exeext
2060 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2061 echo "${ECHO_T}$ac_cv_exeext" >&6
2063 rm -f conftest.$ac_ext
2064 EXEEXT=$ac_cv_exeext
2066 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2067 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2068 if test "${ac_cv_objext+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 cat >conftest.$ac_ext <<_ACEOF
2074 cat confdefs.h >>conftest.$ac_ext
2075 cat >>conftest.$ac_ext <<_ACEOF
2076 /* end confdefs.h. */
2086 rm -f conftest.o conftest.obj
2087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2088 (eval $ac_compile) 2>&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); }; then
2092 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2094 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2095 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2100 echo "$as_me: failed program was:" >&5
2101 sed 's/^/| /' conftest.$ac_ext >&5
2103 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2104 See \`config.log' for more details." >&5
2105 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2106 See \`config.log' for more details." >&2;}
2107 { (exit 1); exit 1; }; }
2110 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2112 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2113 echo "${ECHO_T}$ac_cv_objext" >&6
2114 OBJEXT=$ac_cv_objext
2116 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2117 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2118 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 cat >conftest.$ac_ext <<_ACEOF
2124 cat confdefs.h >>conftest.$ac_ext
2125 cat >>conftest.$ac_ext <<_ACEOF
2126 /* end confdefs.h. */
2139 rm -f conftest.$ac_objext
2140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2141 (eval $ac_compile) 2>conftest.er1
2143 grep -v '^ *+' conftest.er1 >conftest.err
2145 cat conftest.err >&5
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); } &&
2148 { ac_try='test -z "$ac_cxx_werror_flag"
2149 || test ! -s conftest.err'
2150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; } &&
2155 { ac_try='test -s conftest.$ac_objext'
2156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); }; }; then
2163 echo "$as_me: failed program was:" >&5
2164 sed 's/^/| /' conftest.$ac_ext >&5
2168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2169 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2172 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2173 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2174 GXX=`test $ac_compiler_gnu = yes && echo yes`
2175 ac_test_CXXFLAGS=${CXXFLAGS+set}
2176 ac_save_CXXFLAGS=$CXXFLAGS
2178 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2179 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2180 if test "${ac_cv_prog_cxx_g+set}" = set; then
2181 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 cat >conftest.$ac_ext <<_ACEOF
2186 cat confdefs.h >>conftest.$ac_ext
2187 cat >>conftest.$ac_ext <<_ACEOF
2188 /* end confdefs.h. */
2198 rm -f conftest.$ac_objext
2199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2200 (eval $ac_compile) 2>conftest.er1
2202 grep -v '^ *+' conftest.er1 >conftest.err
2204 cat conftest.err >&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); } &&
2207 { ac_try='test -z "$ac_cxx_werror_flag"
2208 || test ! -s conftest.err'
2209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); }; } &&
2214 { ac_try='test -s conftest.$ac_objext'
2215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); }; }; then
2220 ac_cv_prog_cxx_g=yes
2222 echo "$as_me: failed program was:" >&5
2223 sed 's/^/| /' conftest.$ac_ext >&5
2227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2229 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2230 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2231 if test "$ac_test_CXXFLAGS" = set; then
2232 CXXFLAGS=$ac_save_CXXFLAGS
2233 elif test $ac_cv_prog_cxx_g = yes; then
2234 if test "$GXX" = yes; then
2240 if test "$GXX" = yes; then
2246 for ac_declaration in \
2248 'extern "C" void std::exit (int) throw (); using std::exit;' \
2249 'extern "C" void std::exit (int); using std::exit;' \
2250 'extern "C" void exit (int) throw ();' \
2251 'extern "C" void exit (int);' \
2254 cat >conftest.$ac_ext <<_ACEOF
2257 cat confdefs.h >>conftest.$ac_ext
2258 cat >>conftest.$ac_ext <<_ACEOF
2259 /* end confdefs.h. */
2270 rm -f conftest.$ac_objext
2271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2272 (eval $ac_compile) 2>conftest.er1
2274 grep -v '^ *+' conftest.er1 >conftest.err
2276 cat conftest.err >&5
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); } &&
2279 { ac_try='test -z "$ac_cxx_werror_flag"
2280 || test ! -s conftest.err'
2281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); }; } &&
2286 { ac_try='test -s conftest.$ac_objext'
2287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2291 (exit $ac_status); }; }; then
2294 echo "$as_me: failed program was:" >&5
2295 sed 's/^/| /' conftest.$ac_ext >&5
2299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2300 cat >conftest.$ac_ext <<_ACEOF
2303 cat confdefs.h >>conftest.$ac_ext
2304 cat >>conftest.$ac_ext <<_ACEOF
2305 /* end confdefs.h. */
2315 rm -f conftest.$ac_objext
2316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2317 (eval $ac_compile) 2>conftest.er1
2319 grep -v '^ *+' conftest.er1 >conftest.err
2321 cat conftest.err >&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); } &&
2324 { ac_try='test -z "$ac_cxx_werror_flag"
2325 || test ! -s conftest.err'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; } &&
2331 { ac_try='test -s conftest.$ac_objext'
2332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 (exit $ac_status); }; }; then
2339 echo "$as_me: failed program was:" >&5
2340 sed 's/^/| /' conftest.$ac_ext >&5
2343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2346 if test -n "$ac_declaration"; then
2347 echo '#ifdef __cplusplus' >>confdefs.h
2348 echo $ac_declaration >>confdefs.h
2349 echo '#endif' >>confdefs.h
2353 ac_cpp='$CPP $CPPFLAGS'
2354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2357 DEPDIR="${am__leading_dot}deps"
2359 ac_config_commands="$ac_config_commands depfiles"
2362 am_make=${MAKE-make}
2363 cat > confinc << 'END'
2368 # If we don't find an include directive, just comment out the code.
2369 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2370 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2374 # First try GNU make style include.
2375 echo "include confinc" > confmf
2376 # We grep out `Entering directory' and `Leaving directory'
2377 # messages which can occur if `w' ends up in MAKEFLAGS.
2378 # In particular we don't look at `^make:' because GNU make might
2379 # be invoked under some other name (usually "gmake"), in which
2380 # case it prints its new name instead of `make'.
2381 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2386 # Now try BSD make style include.
2387 if test "$am__include" = "#"; then
2388 echo '.include "confinc"' > confmf
2389 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2390 am__include=.include
2397 echo "$as_me:$LINENO: result: $_am_result" >&5
2398 echo "${ECHO_T}$_am_result" >&6
2399 rm -f confinc confmf
2401 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2402 if test "${enable_dependency_tracking+set}" = set; then
2403 enableval="$enable_dependency_tracking"
2406 if test "x$enable_dependency_tracking" != xno; then
2407 am_depcomp="$ac_aux_dir/depcomp"
2412 if test "x$enable_dependency_tracking" != xno; then
2423 depcc="$CXX" am_compiler_list=
2425 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2426 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2427 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2431 # We make a subdir and do the tests there. Otherwise we can end up
2432 # making bogus files that we don't know about and never remove. For
2433 # instance it was reported that on HP-UX the gcc test will end up
2434 # making a dummy file named `D' -- because `-MD' means `put the output
2437 # Copy depcomp to subdir because otherwise we won't find it if we're
2438 # using a relative directory.
2439 cp "$am_depcomp" conftest.dir
2441 # We will build objects and dependencies in a subdirectory because
2442 # it helps to detect inapplicable dependency modes. For instance
2443 # both Tru64's cc and ICC support -MD to output dependencies as a
2444 # side effect of compilation, but ICC will put the dependencies in
2445 # the current directory while Tru64 will put them in the object
2449 am_cv_CXX_dependencies_compiler_type=none
2450 if test "$am_compiler_list" = ""; then
2451 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2453 for depmode in $am_compiler_list; do
2454 # Setup a source with many dependencies, because some compilers
2455 # like to wrap large dependency lists on column 80 (with \), and
2456 # we should not choose a depcomp mode which is confused by this.
2458 # We need to recreate these files for each test, as the compiler may
2459 # overwrite some of them when testing with obscure command lines.
2460 # This happens at least with the AIX C compiler.
2462 for i in 1 2 3 4 5 6; do
2463 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2464 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2465 # Solaris 8's {/usr,}/bin/sh.
2466 touch sub/conftst$i.h
2468 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2472 # after this tag, mechanisms are not by side-effect, so they'll
2473 # only be used when explicitly requested
2474 if test "x$enable_dependency_tracking" = xyes; then
2482 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2483 # mode. It turns out that the SunPro C++ compiler does not properly
2484 # handle `-M -o', and we need to detect this.
2485 if depmode=$depmode \
2486 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2487 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2488 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2489 >/dev/null 2>conftest.err &&
2490 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2491 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2492 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2493 # icc doesn't choke on unknown options, it will just issue warnings
2494 # or remarks (even with -Werror). So we grep stderr for any message
2495 # that says an option was ignored or not supported.
2496 # When given -MP, icc 7.0 and 7.1 complain thusly:
2497 # icc: Command line warning: ignoring option '-M'; no argument required
2498 # The diagnosis changed in icc 8.0:
2499 # icc: Command line remark: option '-MP' not supported
2500 if (grep 'ignoring option' conftest.err ||
2501 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2502 am_cv_CXX_dependencies_compiler_type=$depmode
2511 am_cv_CXX_dependencies_compiler_type=none
2515 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2516 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2517 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2522 test "x$enable_dependency_tracking" != xno \
2523 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2524 am__fastdepCXX_TRUE=
2525 am__fastdepCXX_FALSE='#'
2527 am__fastdepCXX_TRUE='#'
2528 am__fastdepCXX_FALSE=
2533 ac_cpp='$CPP $CPPFLAGS'
2534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2537 if test -n "$ac_tool_prefix"; then
2538 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2539 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2540 echo "$as_me:$LINENO: checking for $ac_word" >&5
2541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2542 if test "${ac_cv_prog_CC+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 if test -n "$CC"; then
2546 ac_cv_prog_CC="$CC" # Let the user override the test.
2548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2552 test -z "$as_dir" && as_dir=.
2553 for ac_exec_ext in '' $ac_executable_extensions; do
2554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2555 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2565 if test -n "$CC"; then
2566 echo "$as_me:$LINENO: result: $CC" >&5
2567 echo "${ECHO_T}$CC" >&6
2569 echo "$as_me:$LINENO: result: no" >&5
2570 echo "${ECHO_T}no" >&6
2574 if test -z "$ac_cv_prog_CC"; then
2576 # Extract the first word of "gcc", so it can be a program name with args.
2577 set dummy gcc; ac_word=$2
2578 echo "$as_me:$LINENO: checking for $ac_word" >&5
2579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2580 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2581 echo $ECHO_N "(cached) $ECHO_C" >&6
2583 if test -n "$ac_ct_CC"; then
2584 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2590 test -z "$as_dir" && as_dir=.
2591 for ac_exec_ext in '' $ac_executable_extensions; do
2592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2593 ac_cv_prog_ac_ct_CC="gcc"
2594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2602 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2603 if test -n "$ac_ct_CC"; then
2604 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2605 echo "${ECHO_T}$ac_ct_CC" >&6
2607 echo "$as_me:$LINENO: result: no" >&5
2608 echo "${ECHO_T}no" >&6
2616 if test -z "$CC"; then
2617 if test -n "$ac_tool_prefix"; then
2618 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2619 set dummy ${ac_tool_prefix}cc; ac_word=$2
2620 echo "$as_me:$LINENO: checking for $ac_word" >&5
2621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2622 if test "${ac_cv_prog_CC+set}" = set; then
2623 echo $ECHO_N "(cached) $ECHO_C" >&6
2625 if test -n "$CC"; then
2626 ac_cv_prog_CC="$CC" # Let the user override the test.
2628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632 test -z "$as_dir" && as_dir=.
2633 for ac_exec_ext in '' $ac_executable_extensions; do
2634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2635 ac_cv_prog_CC="${ac_tool_prefix}cc"
2636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2645 if test -n "$CC"; then
2646 echo "$as_me:$LINENO: result: $CC" >&5
2647 echo "${ECHO_T}$CC" >&6
2649 echo "$as_me:$LINENO: result: no" >&5
2650 echo "${ECHO_T}no" >&6
2654 if test -z "$ac_cv_prog_CC"; then
2656 # Extract the first word of "cc", so it can be a program name with args.
2657 set dummy cc; ac_word=$2
2658 echo "$as_me:$LINENO: checking for $ac_word" >&5
2659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2660 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2661 echo $ECHO_N "(cached) $ECHO_C" >&6
2663 if test -n "$ac_ct_CC"; then
2664 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2670 test -z "$as_dir" && as_dir=.
2671 for ac_exec_ext in '' $ac_executable_extensions; do
2672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2673 ac_cv_prog_ac_ct_CC="cc"
2674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2682 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2683 if test -n "$ac_ct_CC"; then
2684 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2685 echo "${ECHO_T}$ac_ct_CC" >&6
2687 echo "$as_me:$LINENO: result: no" >&5
2688 echo "${ECHO_T}no" >&6
2697 if test -z "$CC"; then
2698 # Extract the first word of "cc", so it can be a program name with args.
2699 set dummy cc; ac_word=$2
2700 echo "$as_me:$LINENO: checking for $ac_word" >&5
2701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2702 if test "${ac_cv_prog_CC+set}" = set; then
2703 echo $ECHO_N "(cached) $ECHO_C" >&6
2705 if test -n "$CC"; then
2706 ac_cv_prog_CC="$CC" # Let the user override the test.
2709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713 test -z "$as_dir" && as_dir=.
2714 for ac_exec_ext in '' $ac_executable_extensions; do
2715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2716 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2717 ac_prog_rejected=yes
2721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2727 if test $ac_prog_rejected = yes; then
2728 # We found a bogon in the path, so make sure we never use it.
2729 set dummy $ac_cv_prog_CC
2731 if test $# != 0; then
2732 # We chose a different compiler from the bogus one.
2733 # However, it has the same basename, so the bogon will be chosen
2734 # first if we set CC to just the basename; use the full file name.
2736 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2742 if test -n "$CC"; then
2743 echo "$as_me:$LINENO: result: $CC" >&5
2744 echo "${ECHO_T}$CC" >&6
2746 echo "$as_me:$LINENO: result: no" >&5
2747 echo "${ECHO_T}no" >&6
2751 if test -z "$CC"; then
2752 if test -n "$ac_tool_prefix"; then
2755 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2756 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2757 echo "$as_me:$LINENO: checking for $ac_word" >&5
2758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2759 if test "${ac_cv_prog_CC+set}" = set; then
2760 echo $ECHO_N "(cached) $ECHO_C" >&6
2762 if test -n "$CC"; then
2763 ac_cv_prog_CC="$CC" # Let the user override the test.
2765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2769 test -z "$as_dir" && as_dir=.
2770 for ac_exec_ext in '' $ac_executable_extensions; do
2771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2772 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2782 if test -n "$CC"; then
2783 echo "$as_me:$LINENO: result: $CC" >&5
2784 echo "${ECHO_T}$CC" >&6
2786 echo "$as_me:$LINENO: result: no" >&5
2787 echo "${ECHO_T}no" >&6
2790 test -n "$CC" && break
2793 if test -z "$CC"; then
2797 # Extract the first word of "$ac_prog", so it can be a program name with args.
2798 set dummy $ac_prog; ac_word=$2
2799 echo "$as_me:$LINENO: checking for $ac_word" >&5
2800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2801 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2802 echo $ECHO_N "(cached) $ECHO_C" >&6
2804 if test -n "$ac_ct_CC"; then
2805 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2811 test -z "$as_dir" && as_dir=.
2812 for ac_exec_ext in '' $ac_executable_extensions; do
2813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2814 ac_cv_prog_ac_ct_CC="$ac_prog"
2815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2823 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2824 if test -n "$ac_ct_CC"; then
2825 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2826 echo "${ECHO_T}$ac_ct_CC" >&6
2828 echo "$as_me:$LINENO: result: no" >&5
2829 echo "${ECHO_T}no" >&6
2832 test -n "$ac_ct_CC" && break
2841 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2842 See \`config.log' for more details." >&5
2843 echo "$as_me: error: no acceptable C compiler found in \$PATH
2844 See \`config.log' for more details." >&2;}
2845 { (exit 1); exit 1; }; }
2847 # Provide some information about the compiler.
2848 echo "$as_me:$LINENO:" \
2849 "checking for C compiler version" >&5
2850 ac_compiler=`set X $ac_compile; echo $2`
2851 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2852 (eval $ac_compiler --version </dev/null >&5) 2>&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); }
2856 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2857 (eval $ac_compiler -v </dev/null >&5) 2>&5
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); }
2861 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2862 (eval $ac_compiler -V </dev/null >&5) 2>&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); }
2867 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2868 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2869 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2870 echo $ECHO_N "(cached) $ECHO_C" >&6
2872 cat >conftest.$ac_ext <<_ACEOF
2875 cat confdefs.h >>conftest.$ac_ext
2876 cat >>conftest.$ac_ext <<_ACEOF
2877 /* end confdefs.h. */
2890 rm -f conftest.$ac_objext
2891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2892 (eval $ac_compile) 2>conftest.er1
2894 grep -v '^ *+' conftest.er1 >conftest.err
2896 cat conftest.err >&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); } &&
2899 { ac_try='test -z "$ac_c_werror_flag"
2900 || test ! -s conftest.err'
2901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); }; } &&
2906 { ac_try='test -s conftest.$ac_objext'
2907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); }; }; then
2914 echo "$as_me: failed program was:" >&5
2915 sed 's/^/| /' conftest.$ac_ext >&5
2919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2920 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2923 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2924 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2925 GCC=`test $ac_compiler_gnu = yes && echo yes`
2926 ac_test_CFLAGS=${CFLAGS+set}
2927 ac_save_CFLAGS=$CFLAGS
2929 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2930 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2931 if test "${ac_cv_prog_cc_g+set}" = set; then
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
2934 cat >conftest.$ac_ext <<_ACEOF
2937 cat confdefs.h >>conftest.$ac_ext
2938 cat >>conftest.$ac_ext <<_ACEOF
2939 /* end confdefs.h. */
2949 rm -f conftest.$ac_objext
2950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2951 (eval $ac_compile) 2>conftest.er1
2953 grep -v '^ *+' conftest.er1 >conftest.err
2955 cat conftest.err >&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); } &&
2958 { ac_try='test -z "$ac_c_werror_flag"
2959 || test ! -s conftest.err'
2960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); }; } &&
2965 { ac_try='test -s conftest.$ac_objext'
2966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); }; }; then
2973 echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.$ac_ext >&5
2978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2980 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2981 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2982 if test "$ac_test_CFLAGS" = set; then
2983 CFLAGS=$ac_save_CFLAGS
2984 elif test $ac_cv_prog_cc_g = yes; then
2985 if test "$GCC" = yes; then
2991 if test "$GCC" = yes; then
2997 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2998 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2999 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3000 echo $ECHO_N "(cached) $ECHO_C" >&6
3002 ac_cv_prog_cc_stdc=no
3004 cat >conftest.$ac_ext <<_ACEOF
3007 cat confdefs.h >>conftest.$ac_ext
3008 cat >>conftest.$ac_ext <<_ACEOF
3009 /* end confdefs.h. */
3012 #include <sys/types.h>
3013 #include <sys/stat.h>
3014 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3015 struct buf { int x; };
3016 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3017 static char *e (p, i)
3023 static char *f (char * (*g) (char **, int), char **p, ...)
3028 s = g (p, va_arg (v,int));
3033 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3034 function prototypes and stuff, but not '\xHH' hex character constants.
3035 These don't provoke an error unfortunately, instead are silently treated
3036 as 'x'. The following induces an error, until -std1 is added to get
3037 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3038 array size at least. It's necessary to write '\x00'==0 to get something
3039 that's true only with -std1. */
3040 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3042 int test (int i, double x);
3043 struct s1 {int (*f) (int a);};
3044 struct s2 {int (*f) (double a);};
3045 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3051 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3056 # Don't try gcc -ansi; that turns off useful extensions and
3057 # breaks some systems' header files.
3058 # AIX -qlanglvl=ansi
3059 # Ultrix and OSF/1 -std1
3060 # HP-UX 10.20 and later -Ae
3061 # HP-UX older versions -Aa -D_HPUX_SOURCE
3062 # SVR4 -Xc -D__EXTENSIONS__
3063 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3065 CC="$ac_save_CC $ac_arg"
3066 rm -f conftest.$ac_objext
3067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3068 (eval $ac_compile) 2>conftest.er1
3070 grep -v '^ *+' conftest.er1 >conftest.err
3072 cat conftest.err >&5
3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); } &&
3075 { ac_try='test -z "$ac_c_werror_flag"
3076 || test ! -s conftest.err'
3077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3081 (exit $ac_status); }; } &&
3082 { ac_try='test -s conftest.$ac_objext'
3083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }; }; then
3088 ac_cv_prog_cc_stdc=$ac_arg
3091 echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.$ac_ext >&5
3095 rm -f conftest.err conftest.$ac_objext
3097 rm -f conftest.$ac_ext conftest.$ac_objext
3102 case "x$ac_cv_prog_cc_stdc" in
3104 echo "$as_me:$LINENO: result: none needed" >&5
3105 echo "${ECHO_T}none needed" >&6 ;;
3107 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3108 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3109 CC="$CC $ac_cv_prog_cc_stdc" ;;
3112 # Some people use a C++ compiler to compile C. Since we use `exit',
3113 # in C++ we need to declare it. In case someone uses the same compiler
3114 # for both compiling C and C++ we need to have the C++ compiler decide
3115 # the declaration of exit, since it's the most demanding environment.
3116 cat >conftest.$ac_ext <<_ACEOF
3121 rm -f conftest.$ac_objext
3122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3123 (eval $ac_compile) 2>conftest.er1
3125 grep -v '^ *+' conftest.er1 >conftest.err
3127 cat conftest.err >&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); } &&
3130 { ac_try='test -z "$ac_c_werror_flag"
3131 || test ! -s conftest.err'
3132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136 (exit $ac_status); }; } &&
3137 { ac_try='test -s conftest.$ac_objext'
3138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); }; }; then
3143 for ac_declaration in \
3145 'extern "C" void std::exit (int) throw (); using std::exit;' \
3146 'extern "C" void std::exit (int); using std::exit;' \
3147 'extern "C" void exit (int) throw ();' \
3148 'extern "C" void exit (int);' \
3151 cat >conftest.$ac_ext <<_ACEOF
3154 cat confdefs.h >>conftest.$ac_ext
3155 cat >>conftest.$ac_ext <<_ACEOF
3156 /* end confdefs.h. */
3167 rm -f conftest.$ac_objext
3168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3169 (eval $ac_compile) 2>conftest.er1
3171 grep -v '^ *+' conftest.er1 >conftest.err
3173 cat conftest.err >&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); } &&
3176 { ac_try='test -z "$ac_c_werror_flag"
3177 || test ! -s conftest.err'
3178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); }; } &&
3183 { ac_try='test -s conftest.$ac_objext'
3184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); }; }; then
3191 echo "$as_me: failed program was:" >&5
3192 sed 's/^/| /' conftest.$ac_ext >&5
3196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3197 cat >conftest.$ac_ext <<_ACEOF
3200 cat confdefs.h >>conftest.$ac_ext
3201 cat >>conftest.$ac_ext <<_ACEOF
3202 /* end confdefs.h. */
3212 rm -f conftest.$ac_objext
3213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3214 (eval $ac_compile) 2>conftest.er1
3216 grep -v '^ *+' conftest.er1 >conftest.err
3218 cat conftest.err >&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); } &&
3221 { ac_try='test -z "$ac_c_werror_flag"
3222 || test ! -s conftest.err'
3223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); }; } &&
3228 { ac_try='test -s conftest.$ac_objext'
3229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 (exit $ac_status); }; }; then
3236 echo "$as_me: failed program was:" >&5
3237 sed 's/^/| /' conftest.$ac_ext >&5
3240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3243 if test -n "$ac_declaration"; then
3244 echo '#ifdef __cplusplus' >>confdefs.h
3245 echo $ac_declaration >>confdefs.h
3246 echo '#endif' >>confdefs.h
3250 echo "$as_me: failed program was:" >&5
3251 sed 's/^/| /' conftest.$ac_ext >&5
3254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3256 ac_cpp='$CPP $CPPFLAGS'
3257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3261 depcc="$CC" am_compiler_list=
3263 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3264 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3265 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3268 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3269 # We make a subdir and do the tests there. Otherwise we can end up
3270 # making bogus files that we don't know about and never remove. For
3271 # instance it was reported that on HP-UX the gcc test will end up
3272 # making a dummy file named `D' -- because `-MD' means `put the output
3275 # Copy depcomp to subdir because otherwise we won't find it if we're
3276 # using a relative directory.
3277 cp "$am_depcomp" conftest.dir
3279 # We will build objects and dependencies in a subdirectory because
3280 # it helps to detect inapplicable dependency modes. For instance
3281 # both Tru64's cc and ICC support -MD to output dependencies as a
3282 # side effect of compilation, but ICC will put the dependencies in
3283 # the current directory while Tru64 will put them in the object
3287 am_cv_CC_dependencies_compiler_type=none
3288 if test "$am_compiler_list" = ""; then
3289 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3291 for depmode in $am_compiler_list; do
3292 # Setup a source with many dependencies, because some compilers
3293 # like to wrap large dependency lists on column 80 (with \), and
3294 # we should not choose a depcomp mode which is confused by this.
3296 # We need to recreate these files for each test, as the compiler may
3297 # overwrite some of them when testing with obscure command lines.
3298 # This happens at least with the AIX C compiler.
3300 for i in 1 2 3 4 5 6; do
3301 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3302 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3303 # Solaris 8's {/usr,}/bin/sh.
3304 touch sub/conftst$i.h
3306 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3310 # after this tag, mechanisms are not by side-effect, so they'll
3311 # only be used when explicitly requested
3312 if test "x$enable_dependency_tracking" = xyes; then
3320 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3321 # mode. It turns out that the SunPro C++ compiler does not properly
3322 # handle `-M -o', and we need to detect this.
3323 if depmode=$depmode \
3324 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3325 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3326 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3327 >/dev/null 2>conftest.err &&
3328 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3329 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3330 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3331 # icc doesn't choke on unknown options, it will just issue warnings
3332 # or remarks (even with -Werror). So we grep stderr for any message
3333 # that says an option was ignored or not supported.
3334 # When given -MP, icc 7.0 and 7.1 complain thusly:
3335 # icc: Command line warning: ignoring option '-M'; no argument required
3336 # The diagnosis changed in icc 8.0:
3337 # icc: Command line remark: option '-MP' not supported
3338 if (grep 'ignoring option' conftest.err ||
3339 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3340 am_cv_CC_dependencies_compiler_type=$depmode
3349 am_cv_CC_dependencies_compiler_type=none
3353 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3354 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3355 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3360 test "x$enable_dependency_tracking" != xno \
3361 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3363 am__fastdepCC_FALSE='#'
3365 am__fastdepCC_TRUE='#'
3366 am__fastdepCC_FALSE=
3370 # Find a good install program. We prefer a C program (faster),
3371 # so one script is as good as another. But avoid the broken or
3372 # incompatible versions:
3373 # SysV /etc/install, /usr/sbin/install
3374 # SunOS /usr/etc/install
3375 # IRIX /sbin/install
3377 # AmigaOS /C/install, which installs bootblocks on floppy discs
3378 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3379 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3380 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3381 # OS/2's system install, which has a completely different semantic
3382 # ./install, which can be erroneously created by make from ./install.sh.
3383 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3384 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3385 if test -z "$INSTALL"; then
3386 if test "${ac_cv_path_install+set}" = set; then
3387 echo $ECHO_N "(cached) $ECHO_C" >&6
3389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3393 test -z "$as_dir" && as_dir=.
3394 # Account for people who put trailing slashes in PATH elements.
3396 ./ | .// | /cC/* | \
3397 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3398 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3401 # OSF1 and SCO ODT 3.0 have their own names for install.
3402 # Don't use installbsd from OSF since it installs stuff as root
3404 for ac_prog in ginstall scoinst install; do
3405 for ac_exec_ext in '' $ac_executable_extensions; do
3406 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3407 if test $ac_prog = install &&
3408 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3409 # AIX install. It has an incompatible calling convention.
3411 elif test $ac_prog = install &&
3412 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3413 # program-specific install script used by HP pwplus--don't use.
3416 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3428 if test "${ac_cv_path_install+set}" = set; then
3429 INSTALL=$ac_cv_path_install
3431 # As a last resort, use the slow shell script. We don't cache a
3432 # path for INSTALL within a source directory, because that will
3433 # break other packages using the cache if that directory is
3434 # removed, or if the path is relative.
3435 INSTALL=$ac_install_sh
3438 echo "$as_me:$LINENO: result: $INSTALL" >&5
3439 echo "${ECHO_T}$INSTALL" >&6
3441 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3442 # It thinks the first close brace ends the variable substitution.
3443 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3445 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3447 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3449 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3450 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3452 if test "$LN_S" = "ln -s"; then
3453 echo "$as_me:$LINENO: result: yes" >&5
3454 echo "${ECHO_T}yes" >&6
3456 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3457 echo "${ECHO_T}no, using $LN_S" >&6
3460 if test -n "$ac_tool_prefix"; then
3461 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3462 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3463 echo "$as_me:$LINENO: checking for $ac_word" >&5
3464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3465 if test "${ac_cv_prog_RANLIB+set}" = set; then
3466 echo $ECHO_N "(cached) $ECHO_C" >&6
3468 if test -n "$RANLIB"; then
3469 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475 test -z "$as_dir" && as_dir=.
3476 for ac_exec_ext in '' $ac_executable_extensions; do
3477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3478 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3487 RANLIB=$ac_cv_prog_RANLIB
3488 if test -n "$RANLIB"; then
3489 echo "$as_me:$LINENO: result: $RANLIB" >&5
3490 echo "${ECHO_T}$RANLIB" >&6
3492 echo "$as_me:$LINENO: result: no" >&5
3493 echo "${ECHO_T}no" >&6
3497 if test -z "$ac_cv_prog_RANLIB"; then
3498 ac_ct_RANLIB=$RANLIB
3499 # Extract the first word of "ranlib", so it can be a program name with args.
3500 set dummy ranlib; ac_word=$2
3501 echo "$as_me:$LINENO: checking for $ac_word" >&5
3502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3503 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3504 echo $ECHO_N "(cached) $ECHO_C" >&6
3506 if test -n "$ac_ct_RANLIB"; then
3507 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3513 test -z "$as_dir" && as_dir=.
3514 for ac_exec_ext in '' $ac_executable_extensions; do
3515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3516 ac_cv_prog_ac_ct_RANLIB="ranlib"
3517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3526 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3527 if test -n "$ac_ct_RANLIB"; then
3528 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3529 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3531 echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6
3535 RANLIB=$ac_ct_RANLIB
3537 RANLIB="$ac_cv_prog_RANLIB"
3540 if test "x$CC" != xcc; then
3541 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3542 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3544 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3545 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3547 set dummy $CC; ac_cc=`echo $2 |
3548 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3549 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3550 echo $ECHO_N "(cached) $ECHO_C" >&6
3552 cat >conftest.$ac_ext <<_ACEOF
3555 cat confdefs.h >>conftest.$ac_ext
3556 cat >>conftest.$ac_ext <<_ACEOF
3557 /* end confdefs.h. */
3567 # Make sure it works both with $CC and with simple cc.
3568 # We do the test twice because some compilers refuse to overwrite an
3569 # existing .o file with -o, though they will create one.
3570 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3571 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); } &&
3576 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); };
3582 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3583 if test "x$CC" != xcc; then
3584 # Test first that cc exists at all.
3585 if { ac_try='cc -c conftest.$ac_ext >&5'
3586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); }; }; then
3591 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3592 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); } &&
3597 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); };
3606 # cc exists but doesn't like -o.
3607 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3612 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3617 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3618 echo "$as_me:$LINENO: result: yes" >&5
3619 echo "${ECHO_T}yes" >&6
3621 echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6
3624 cat >>confdefs.h <<\_ACEOF
3625 #define NO_MINUS_C_MINUS_O 1
3630 # FIXME: we rely on the cache variable name because
3631 # there is no other way.
3633 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3634 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3635 # Losing compiler, so override with the script.
3636 # FIXME: It is wrong to rewrite CC.
3637 # But if we don't then we get into trouble of one sort or another.
3638 # A longer-term fix would be to have automake use am__CC in this case,
3639 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3640 CC="$am_aux_dir/compile $CC"
3647 warn_flags="-Werror -W"
3648 echo "$as_me:$LINENO: checking whether the C-compiler accepts ${warn_flags}" >&5
3649 echo $ECHO_N "checking whether the C-compiler accepts ${warn_flags}... $ECHO_C" >&6
3651 ac_cpp='$CPP $CPPFLAGS'
3652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3656 __ensc_check_warnflags_old_CFLAGS="${CFLAGS}"
3657 CFLAGS="$warn_flags"
3658 cat >conftest.$ac_ext <<_ACEOF
3661 cat confdefs.h >>conftest.$ac_ext
3662 cat >>conftest.$ac_ext <<_ACEOF
3663 /* end confdefs.h. */
3664 inline static void f(){}
3673 rm -f conftest.$ac_objext
3674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3675 (eval $ac_compile) 2>conftest.er1
3677 grep -v '^ *+' conftest.er1 >conftest.err
3679 cat conftest.err >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } &&
3682 { ac_try='test -z "$ac_c_werror_flag"
3683 || test ! -s conftest.err'
3684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); }; } &&
3689 { ac_try='test -s conftest.$ac_objext'
3690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694 (exit $ac_status); }; }; then
3695 ensc_sys_compilerwarnflags_C=${warn_flags}
3697 echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.$ac_ext >&5
3700 ensc_sys_compilerwarnflags_C=
3702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3704 ac_cpp='$CPP $CPPFLAGS'
3705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3709 CFLAGS="$__ensc_check_warnflags_old_CFLAGS"
3711 if test x"${ensc_sys_compilerwarnflags_C}" = x; then
3712 echo "$as_me:$LINENO: result: no" >&5
3713 echo "${ECHO_T}no" >&6
3715 echo "$as_me:$LINENO: result: yes" >&5
3716 echo "${ECHO_T}yes" >&6
3723 echo 'void f(){}' > conftest.c
3724 for i in -std=c99 -Wall -pedantic -W -Wno-unused-parameter
3726 echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
3727 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
3728 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
3730 CFLAGS="${CFLAGS} $i"
3731 echo "$as_me:$LINENO: result: yes" >&5
3732 echo "${ECHO_T}yes" >&6
3734 echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6
3738 rm -f conftest.c conftest.o
3743 warn_flags="-Werror -W"
3744 echo "$as_me:$LINENO: checking whether the C++-compiler accepts ${warn_flags}" >&5
3745 echo $ECHO_N "checking whether the C++-compiler accepts ${warn_flags}... $ECHO_C" >&6
3747 ac_cpp='$CXXCPP $CPPFLAGS'
3748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3752 __ensc_check_warnflags_old_CFLAGS="${CXXFLAGS}"
3753 CXXFLAGS="$warn_flags"
3754 cat >conftest.$ac_ext <<_ACEOF
3757 cat confdefs.h >>conftest.$ac_ext
3758 cat >>conftest.$ac_ext <<_ACEOF
3759 /* end confdefs.h. */
3760 inline static void f(){}
3769 rm -f conftest.$ac_objext
3770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3771 (eval $ac_compile) 2>conftest.er1
3773 grep -v '^ *+' conftest.er1 >conftest.err
3775 cat conftest.err >&5
3776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777 (exit $ac_status); } &&
3778 { ac_try='test -z "$ac_cxx_werror_flag"
3779 || test ! -s conftest.err'
3780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); }; } &&
3785 { ac_try='test -s conftest.$ac_objext'
3786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790 (exit $ac_status); }; }; then
3791 ensc_sys_compilerwarnflags_CXX=${warn_flags}
3793 echo "$as_me: failed program was:" >&5
3794 sed 's/^/| /' conftest.$ac_ext >&5
3796 ensc_sys_compilerwarnflags_CXX=
3798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3800 ac_cpp='$CPP $CPPFLAGS'
3801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3805 CXXFLAGS="$__ensc_check_warnflags_old_CFLAGS"
3807 if test x"${ensc_sys_compilerwarnflags_CXX}" = x; then
3808 echo "$as_me:$LINENO: result: no" >&5
3809 echo "${ECHO_T}no" >&6
3811 echo "$as_me:$LINENO: result: yes" >&5
3812 echo "${ECHO_T}yes" >&6
3819 echo 'void f(){}' > conftest.cc
3820 for i in -ansi -Wall -pedantic -W -fmessage-length=0
3822 echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
3823 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6
3824 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
3826 CXXFLAGS="${CXXFLAGS} $i"
3827 echo "$as_me:$LINENO: result: yes" >&5
3828 echo "${ECHO_T}yes" >&6
3830 echo "$as_me:$LINENO: result: no" >&5
3831 echo "${ECHO_T}no" >&6
3834 rm -f conftest.cc conftest.o
3839 echo "$as_me:$LINENO: checking for linux kernel dir" >&5
3840 echo $ECHO_N "checking for linux kernel dir... $ECHO_C" >&6
3841 if test "${ensc_cv_path_kerneldir+set}" = set; then
3842 echo $ECHO_N "(cached) $ECHO_C" >&6
3846 # Check whether --with-kerneldir or --without-kerneldir was given.
3847 if test "${with_kerneldir+set}" = set; then
3848 withval="$with_kerneldir"
3850 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for kerneldir" >&5
3851 echo "$as_me: error: '$withval' is not a valid value for kerneldir" >&2;}
3852 { (exit 1); exit 1; }; };;
3853 *) ensc_cv_path_kerneldir=$withval;;
3856 ensc_cv_path_kerneldir=
3857 for i in /lib/modules/$(uname -r)/build /usr/src/linux /usr; do
3858 test -e $i/include/linux/version.h && { ensc_cv_path_kerneldir=$i; break; }
3863 echo "$as_me:$LINENO: result: $ensc_cv_path_kerneldir" >&5
3864 echo "${ECHO_T}$ensc_cv_path_kerneldir" >&6
3866 test "$ensc_cv_path_kerneldir" -a -e "$ensc_cv_path_kerneldir"/include/linux/version.h || {
3867 { { echo "$as_me:$LINENO: error: Can not find kernelsources" >&5
3868 echo "$as_me: error: Can not find kernelsources" >&2;}
3869 { (exit 1); exit 1; }; }
3875 echo "$as_me:$LINENO: checking for linux kernel headers" >&5
3876 echo $ECHO_N "checking for linux kernel headers... $ECHO_C" >&6
3877 if test "${ensc_cv_path_kernelheaders+set}" = set; then
3878 echo $ECHO_N "(cached) $ECHO_C" >&6
3881 ensc_cv_path_kernelheaders=$ensc_cv_path_kerneldir/include
3884 echo "$as_me:$LINENO: result: $ensc_cv_path_kernelheaders" >&5
3885 echo "${ECHO_T}$ensc_cv_path_kernelheaders" >&6
3887 if test x"kernelincludedir" != x; then
3888 kernelincludedir=$ensc_cv_path_kernelheaders
3893 echo "$as_me:$LINENO: checking which vserver-rootdir is to use" >&5
3894 echo $ECHO_N "checking which vserver-rootdir is to use... $ECHO_C" >&6
3896 # Check whether --with-vrootdir or --without-vrootdir was given.
3897 if test "${with_vrootdir+set}" = set; then
3898 withval="$with_vrootdir"
3900 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for vrootdir" >&5
3901 echo "$as_me: error: '$withval' is not a valid value for vrootdir" >&2;}
3902 { (exit 1); exit 1; }; };;
3903 *) ensc_uv_path_vrootdir=$withval;;
3906 ensc_uv_path_vrootdir=/vservers
3908 echo "$as_me:$LINENO: result: $ensc_uv_path_vrootdir" >&5
3909 echo "${ECHO_T}$ensc_uv_path_vrootdir" >&6
3911 if test x"vserverdir" != x; then
3912 vserverdir=$ensc_uv_path_vrootdir
3917 if test x"SYSCALL_SWITCH" != x; then
3918 CVS2CL_TAG='-F SYSCALL_SWITCH'
3922 for ac_prog in cvs2cl
3924 # Extract the first word of "$ac_prog", so it can be a program name with args.
3925 set dummy $ac_prog; ac_word=$2
3926 echo "$as_me:$LINENO: checking for $ac_word" >&5
3927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3928 if test "${ac_cv_prog_CVS2CL+set}" = set; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3931 if test -n "$CVS2CL"; then
3932 ac_cv_prog_CVS2CL="$CVS2CL" # Let the user override the test.
3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938 test -z "$as_dir" && as_dir=.
3939 for ac_exec_ext in '' $ac_executable_extensions; do
3940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3941 ac_cv_prog_CVS2CL="$ac_prog"
3942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 CVS2CL=$ac_cv_prog_CVS2CL
3951 if test -n "$CVS2CL"; then
3952 echo "$as_me:$LINENO: result: $CVS2CL" >&5
3953 echo "${ECHO_T}$CVS2CL" >&6
3955 echo "$as_me:$LINENO: result: no" >&5
3956 echo "${ECHO_T}no" >&6
3959 test -n "$CVS2CL" && break
3964 if test x"$CVS2CL" != x; then
3966 HAVE_CVS2CL_FALSE='#'
3968 HAVE_CVS2CL_TRUE='#'
3973 for ac_prog in rcs2log
3975 # Extract the first word of "$ac_prog", so it can be a program name with args.
3976 set dummy $ac_prog; ac_word=$2
3977 echo "$as_me:$LINENO: checking for $ac_word" >&5
3978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3979 if test "${ac_cv_prog_RCS2LOG+set}" = set; then
3980 echo $ECHO_N "(cached) $ECHO_C" >&6
3982 if test -n "$RCS2LOG"; then
3983 ac_cv_prog_RCS2LOG="$RCS2LOG" # Let the user override the test.
3985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3989 test -z "$as_dir" && as_dir=.
3990 for ac_exec_ext in '' $ac_executable_extensions; do
3991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3992 ac_cv_prog_RCS2LOG="$ac_prog"
3993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4001 RCS2LOG=$ac_cv_prog_RCS2LOG
4002 if test -n "$RCS2LOG"; then
4003 echo "$as_me:$LINENO: result: $RCS2LOG" >&5
4004 echo "${ECHO_T}$RCS2LOG" >&6
4006 echo "$as_me:$LINENO: result: no" >&5
4007 echo "${ECHO_T}no" >&6
4010 test -n "$RCS2LOG" && break
4015 if test x"$RCS2LOG" != x; then
4017 HAVE_RCS2LOG_FALSE='#'
4019 HAVE_RCS2LOG_TRUE='#'
4025 echo "$as_me:$LINENO: checking whether to enable linuxconf modules" >&5
4026 echo $ECHO_N "checking whether to enable linuxconf modules... $ECHO_C" >&6
4027 # Check whether --enable-linuxconf or --disable-linuxconf was given.
4028 if test "${enable_linuxconf+set}" = set; then
4029 enableval="$enable_linuxconf"
4030 case "$enableval" in
4032 *) { { echo "$as_me:$LINENO: error: '$i' is not a supported value for '--enable-linuxconf'" >&5
4033 echo "$as_me: error: '$i' is not a supported value for '--enable-linuxconf'" >&2;}
4034 { (exit 1); exit 1; }; };;
4042 if test x"$enable_linuxconf" = xyes; then
4043 ENSC_ENABLE_LINUXCONF_TRUE=
4044 ENSC_ENABLE_LINUXCONF_FALSE='#'
4046 ENSC_ENABLE_LINUXCONF_TRUE='#'
4047 ENSC_ENABLE_LINUXCONF_FALSE=
4050 echo "$as_me:$LINENO: result: $enable_linuxconf" >&5
4051 echo "${ECHO_T}$enable_linuxconf" >&6
4054 echo "$as_me:$LINENO: checking whether to use internal kernel headers" >&5
4055 echo $ECHO_N "checking whether to use internal kernel headers... $ECHO_C" >&6
4056 # Check whether --enable-internal-headers or --disable-internal-headers was given.
4057 if test "${enable_internal_headers+set}" = set; then
4058 enableval="$enable_internal_headers"
4059 case "$enableval" in
4061 *) { { echo "$as_me:$LINENO: error: '$i' is not a supported value for '--disable-internal-headers'" >&5
4062 echo "$as_me: error: '$i' is not a supported value for '--disable-internal-headers'" >&2;}
4063 { (exit 1); exit 1; }; };;
4066 enable_internal_headers=yes
4071 if test x"$enable_internal_headers" = xyes; then
4072 ENSC_ENABLE_INTERNAL_HEADERS_TRUE=
4073 ENSC_ENABLE_INTERNAL_HEADERS_FALSE='#'
4075 ENSC_ENABLE_INTERNAL_HEADERS_TRUE='#'
4076 ENSC_ENABLE_INTERNAL_HEADERS_FALSE=
4079 echo "$as_me:$LINENO: result: $enable_internal_headers" >&5
4080 echo "${ECHO_T}$enable_internal_headers" >&6
4083 echo "$as_me:$LINENO: checking for supported APIs" >&5
4084 echo $ECHO_N "checking for supported APIs... $ECHO_C" >&6
4085 # Check whether --enable-apis or --disable-apis was given.
4086 if test "${enable_apis+set}" = set; then
4087 enableval="$enable_apis"
4093 test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11'
4096 for i in $enable_apis; do
4099 cat >>confdefs.h <<\_ACEOF
4100 #define VC_ENABLE_API_COMPAT 1
4104 cat >>confdefs.h <<\_ACEOF
4105 #define VC_ENABLE_API_LEGACY 1
4109 cat >>confdefs.h <<\_ACEOF
4110 #define VC_ENABLE_API_V11 1
4113 *) { { echo "$as_me:$LINENO: error: '$i' is not a supported API" >&5
4114 echo "$as_me: error: '$i' is not a supported API" >&2;}
4115 { (exit 1); exit 1; }; };;
4119 echo "$as_me:$LINENO: result: $enable_apis" >&5
4120 echo "${ECHO_T}$enable_apis" >&6
4123 ac_cpp='$CPP $CPPFLAGS'
4124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4127 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4128 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4129 # On Suns, sometimes $CPP names a directory.
4130 if test -n "$CPP" && test -d "$CPP"; then
4133 if test -z "$CPP"; then
4134 if test "${ac_cv_prog_CPP+set}" = set; then
4135 echo $ECHO_N "(cached) $ECHO_C" >&6
4137 # Double quotes because CPP needs to be expanded
4138 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4141 for ac_c_preproc_warn_flag in '' yes
4143 # Use a header file that comes with gcc, so configuring glibc
4144 # with a fresh cross-compiler works.
4145 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4146 # <limits.h> exists even on freestanding compilers.
4147 # On the NeXT, cc -E runs the code through the compiler's parser,
4148 # not just through cpp. "Syntax error" is here to catch this case.
4149 cat >conftest.$ac_ext <<_ACEOF
4152 cat confdefs.h >>conftest.$ac_ext
4153 cat >>conftest.$ac_ext <<_ACEOF
4154 /* end confdefs.h. */
4156 # include <limits.h>
4158 # include <assert.h>
4162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4163 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4165 grep -v '^ *+' conftest.er1 >conftest.err
4167 cat conftest.err >&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); } >/dev/null; then
4170 if test -s conftest.err; then
4171 ac_cpp_err=$ac_c_preproc_warn_flag
4172 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4179 if test -z "$ac_cpp_err"; then
4182 echo "$as_me: failed program was:" >&5
4183 sed 's/^/| /' conftest.$ac_ext >&5
4185 # Broken: fails on valid input.
4188 rm -f conftest.err conftest.$ac_ext
4190 # OK, works on sane cases. Now check whether non-existent headers
4191 # can be detected and how.
4192 cat >conftest.$ac_ext <<_ACEOF
4195 cat confdefs.h >>conftest.$ac_ext
4196 cat >>conftest.$ac_ext <<_ACEOF
4197 /* end confdefs.h. */
4198 #include <ac_nonexistent.h>
4200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4203 grep -v '^ *+' conftest.er1 >conftest.err
4205 cat conftest.err >&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); } >/dev/null; then
4208 if test -s conftest.err; then
4209 ac_cpp_err=$ac_c_preproc_warn_flag
4210 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4217 if test -z "$ac_cpp_err"; then
4218 # Broken: success on invalid input.
4221 echo "$as_me: failed program was:" >&5
4222 sed 's/^/| /' conftest.$ac_ext >&5
4224 # Passes both tests.
4228 rm -f conftest.err conftest.$ac_ext
4231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4232 rm -f conftest.err conftest.$ac_ext
4233 if $ac_preproc_ok; then
4245 echo "$as_me:$LINENO: result: $CPP" >&5
4246 echo "${ECHO_T}$CPP" >&6
4248 for ac_c_preproc_warn_flag in '' yes
4250 # Use a header file that comes with gcc, so configuring glibc
4251 # with a fresh cross-compiler works.
4252 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4253 # <limits.h> exists even on freestanding compilers.
4254 # On the NeXT, cc -E runs the code through the compiler's parser,
4255 # not just through cpp. "Syntax error" is here to catch this case.
4256 cat >conftest.$ac_ext <<_ACEOF
4259 cat confdefs.h >>conftest.$ac_ext
4260 cat >>conftest.$ac_ext <<_ACEOF
4261 /* end confdefs.h. */
4263 # include <limits.h>
4265 # include <assert.h>
4269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4272 grep -v '^ *+' conftest.er1 >conftest.err
4274 cat conftest.err >&5
4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); } >/dev/null; then
4277 if test -s conftest.err; then
4278 ac_cpp_err=$ac_c_preproc_warn_flag
4279 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4286 if test -z "$ac_cpp_err"; then
4289 echo "$as_me: failed program was:" >&5
4290 sed 's/^/| /' conftest.$ac_ext >&5
4292 # Broken: fails on valid input.
4295 rm -f conftest.err conftest.$ac_ext
4297 # OK, works on sane cases. Now check whether non-existent headers
4298 # can be detected and how.
4299 cat >conftest.$ac_ext <<_ACEOF
4302 cat confdefs.h >>conftest.$ac_ext
4303 cat >>conftest.$ac_ext <<_ACEOF
4304 /* end confdefs.h. */
4305 #include <ac_nonexistent.h>
4307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4308 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4310 grep -v '^ *+' conftest.er1 >conftest.err
4312 cat conftest.err >&5
4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); } >/dev/null; then
4315 if test -s conftest.err; then
4316 ac_cpp_err=$ac_c_preproc_warn_flag
4317 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4324 if test -z "$ac_cpp_err"; then
4325 # Broken: success on invalid input.
4328 echo "$as_me: failed program was:" >&5
4329 sed 's/^/| /' conftest.$ac_ext >&5
4331 # Passes both tests.
4335 rm -f conftest.err conftest.$ac_ext
4338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4339 rm -f conftest.err conftest.$ac_ext
4340 if $ac_preproc_ok; then
4343 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4344 See \`config.log' for more details." >&5
4345 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4346 See \`config.log' for more details." >&2;}
4347 { (exit 1); exit 1; }; }
4351 ac_cpp='$CPP $CPPFLAGS'
4352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4356 echo "$as_me:$LINENO: checking for egrep" >&5
4357 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4358 if test "${ac_cv_prog_egrep+set}" = set; then
4359 echo $ECHO_N "(cached) $ECHO_C" >&6
4361 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4362 then ac_cv_prog_egrep='grep -E'
4363 else ac_cv_prog_egrep='egrep'
4366 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4367 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4368 EGREP=$ac_cv_prog_egrep
4376 echo "$as_me:$LINENO: checking for number of syscall 'vserver'" >&5
4377 echo $ECHO_N "checking for number of syscall 'vserver'... $ECHO_C" >&6
4378 if test "${ensc_cv_value_syscall_vserver+set}" = set; then
4379 echo $ECHO_N "(cached) $ECHO_C" >&6
4383 ac_cpp='$CPP $CPPFLAGS'
4384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4388 cat >conftest.$ac_ext <<_ACEOF
4390 #include <asm/unistd.h>
4392 ensc_syscall_tmp_nr=__NR_vserver;
4393 ensc_syscall_tmp_src=ENSC_MARK
4397 ensc_syscall_tmp_nr=
4398 ensc_syscall_tmp_src=
4399 test "$ensc_syscall_tmp_nr" || \
4400 eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
4401 test "$ensc_syscall_tmp_nr" || \
4402 eval $($CPP $CPPFLAGS -D ENSC_MARK='kernel' -I $ensc_cv_path_kernelheaders conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
4403 test "$ensc_syscall_tmp_nr" || {
4404 ensc_syscall_tmp_nr=273
4405 ensc_syscall_tmp_src=default
4408 if test x"$ensc_syscall_tmp_nr" = x; then
4409 { { echo "$as_me:$LINENO: error: Can not determine value of __NR_vserver; please verify your glibc/kernelheaders, and/or set CPPFLAGS='-D__NR_vserver=<value>' environment when calling configure." >&5
4410 echo "$as_me: error: Can not determine value of __NR_vserver; please verify your glibc/kernelheaders, and/or set CPPFLAGS='-D__NR_vserver=<value>' environment when calling configure." >&2;}
4411 { (exit 1); exit 1; }; }
4414 ac_cpp='$CPP $CPPFLAGS'
4415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4420 ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src"
4423 echo "$as_me:$LINENO: result: $ensc_cv_value_syscall_vserver" >&5
4424 echo "${ECHO_T}$ensc_cv_value_syscall_vserver" >&6
4426 ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*}
4427 ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/}
4429 if test x"$ensc_syscall_tmp_src" != x'glibc'; then
4431 cat >>confdefs.h <<_ACEOF
4432 #define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr
4439 echo "$as_me:$LINENO: checking for syscall(2) invocation method" >&5
4440 echo $ECHO_N "checking for syscall(2) invocation method... $ECHO_C" >&6
4442 # Check whether --with-syscall or --without-syscall was given.
4443 if test "${with_syscall+set}" = set; then
4444 withval="$with_syscall"
4449 echo "$as_me:$LINENO: result: $with_syscall" >&5
4450 echo "${ECHO_T}$with_syscall" >&6
4452 case x"$with_syscall" in
4454 echo "$as_me:$LINENO: checking which syscall(2) invocation works" >&5
4455 echo $ECHO_N "checking which syscall(2) invocation works... $ECHO_C" >&6
4456 if test "${ensc_cv_test_syscall+set}" = set; then
4457 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 ac_cpp='$CPP $CPPFLAGS'
4462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4466 cat >conftest.$ac_ext <<_ACEOF
4468 #include <asm/unistd.h>
4469 #include <syscall.h>
4471 #define __NR_foo0 300
4472 #define __NR_foo1 301
4473 #define __NR_foo2 302
4474 #define __NR_foo3 303
4475 #define __NR_foo4 304
4476 #define __NR_foo5 305
4477 inline static _syscall0(int, foo0)
4478 inline static _syscall1(int, foo1, int, a)
4479 inline static _syscall2(int, foo2, int, a, int, b)
4480 inline static _syscall3(int, foo3, int, a, int, b, int, c)
4481 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
4482 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
4494 rm -f conftest.$ac_objext
4495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4496 (eval $ac_compile) 2>conftest.er1
4498 grep -v '^ *+' conftest.er1 >conftest.err
4500 cat conftest.err >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); } &&
4503 { ac_try='test -z "$ac_c_werror_flag"
4504 || test ! -s conftest.err'
4505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); }; } &&
4510 { ac_try='test -s conftest.$ac_objext'
4511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); }; }; then
4516 ensc_cv_test_syscall=fast
4518 echo "$as_me: failed program was:" >&5
4519 sed 's/^/| /' conftest.$ac_ext >&5
4521 ensc_cv_test_syscall=traditional
4523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4526 ac_cpp='$CPP $CPPFLAGS'
4527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4533 echo "$as_me:$LINENO: result: $ensc_cv_test_syscall" >&5
4534 echo "${ECHO_T}$ensc_cv_test_syscall" >&6
4535 with_syscall=$ensc_cv_test_syscall
4540 { { echo "$as_me:$LINENO: error: '$with_syscall' is not a valid value for '--with-syscall'" >&5
4541 echo "$as_me: error: '$with_syscall' is not a valid value for '--with-syscall'" >&2;}
4542 { (exit 1); exit 1; }; }
4546 if test x"$with_syscall" = xtraditional; then
4548 cat >>confdefs.h <<\_ACEOF
4549 #define ENSC_SYSCALL_TRADITIONAL 1
4558 ac_cpp='$CXXCPP $CPPFLAGS'
4559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4562 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4563 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4564 if test -z "$CXXCPP"; then
4565 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4566 echo $ECHO_N "(cached) $ECHO_C" >&6
4568 # Double quotes because CXXCPP needs to be expanded
4569 for CXXCPP in "$CXX -E" "/lib/cpp"
4572 for ac_cxx_preproc_warn_flag in '' yes
4574 # Use a header file that comes with gcc, so configuring glibc
4575 # with a fresh cross-compiler works.
4576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4577 # <limits.h> exists even on freestanding compilers.
4578 # On the NeXT, cc -E runs the code through the compiler's parser,
4579 # not just through cpp. "Syntax error" is here to catch this case.
4580 cat >conftest.$ac_ext <<_ACEOF
4583 cat confdefs.h >>conftest.$ac_ext
4584 cat >>conftest.$ac_ext <<_ACEOF
4585 /* end confdefs.h. */
4587 # include <limits.h>
4589 # include <assert.h>
4593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4594 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4596 grep -v '^ *+' conftest.er1 >conftest.err
4598 cat conftest.err >&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); } >/dev/null; then
4601 if test -s conftest.err; then
4602 ac_cpp_err=$ac_cxx_preproc_warn_flag
4603 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4610 if test -z "$ac_cpp_err"; then
4613 echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.$ac_ext >&5
4616 # Broken: fails on valid input.
4619 rm -f conftest.err conftest.$ac_ext
4621 # OK, works on sane cases. Now check whether non-existent headers
4622 # can be detected and how.
4623 cat >conftest.$ac_ext <<_ACEOF
4626 cat confdefs.h >>conftest.$ac_ext
4627 cat >>conftest.$ac_ext <<_ACEOF
4628 /* end confdefs.h. */
4629 #include <ac_nonexistent.h>
4631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4632 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4634 grep -v '^ *+' conftest.er1 >conftest.err
4636 cat conftest.err >&5
4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); } >/dev/null; then
4639 if test -s conftest.err; then
4640 ac_cpp_err=$ac_cxx_preproc_warn_flag
4641 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4648 if test -z "$ac_cpp_err"; then
4649 # Broken: success on invalid input.
4652 echo "$as_me: failed program was:" >&5
4653 sed 's/^/| /' conftest.$ac_ext >&5
4655 # Passes both tests.
4659 rm -f conftest.err conftest.$ac_ext
4662 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4663 rm -f conftest.err conftest.$ac_ext
4664 if $ac_preproc_ok; then
4669 ac_cv_prog_CXXCPP=$CXXCPP
4672 CXXCPP=$ac_cv_prog_CXXCPP
4674 ac_cv_prog_CXXCPP=$CXXCPP
4676 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4677 echo "${ECHO_T}$CXXCPP" >&6
4679 for ac_cxx_preproc_warn_flag in '' yes
4681 # Use a header file that comes with gcc, so configuring glibc
4682 # with a fresh cross-compiler works.
4683 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4684 # <limits.h> exists even on freestanding compilers.
4685 # On the NeXT, cc -E runs the code through the compiler's parser,
4686 # not just through cpp. "Syntax error" is here to catch this case.
4687 cat >conftest.$ac_ext <<_ACEOF
4690 cat confdefs.h >>conftest.$ac_ext
4691 cat >>conftest.$ac_ext <<_ACEOF
4692 /* end confdefs.h. */
4694 # include <limits.h>
4696 # include <assert.h>
4700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4701 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4703 grep -v '^ *+' conftest.er1 >conftest.err
4705 cat conftest.err >&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); } >/dev/null; then
4708 if test -s conftest.err; then
4709 ac_cpp_err=$ac_cxx_preproc_warn_flag
4710 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4717 if test -z "$ac_cpp_err"; then
4720 echo "$as_me: failed program was:" >&5
4721 sed 's/^/| /' conftest.$ac_ext >&5
4723 # Broken: fails on valid input.
4726 rm -f conftest.err conftest.$ac_ext
4728 # OK, works on sane cases. Now check whether non-existent headers
4729 # can be detected and how.
4730 cat >conftest.$ac_ext <<_ACEOF
4733 cat confdefs.h >>conftest.$ac_ext
4734 cat >>conftest.$ac_ext <<_ACEOF
4735 /* end confdefs.h. */
4736 #include <ac_nonexistent.h>
4738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4739 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4741 grep -v '^ *+' conftest.er1 >conftest.err
4743 cat conftest.err >&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); } >/dev/null; then
4746 if test -s conftest.err; then
4747 ac_cpp_err=$ac_cxx_preproc_warn_flag
4748 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4755 if test -z "$ac_cpp_err"; then
4756 # Broken: success on invalid input.
4759 echo "$as_me: failed program was:" >&5
4760 sed 's/^/| /' conftest.$ac_ext >&5
4762 # Passes both tests.
4766 rm -f conftest.err conftest.$ac_ext
4769 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4770 rm -f conftest.err conftest.$ac_ext
4771 if $ac_preproc_ok; then
4774 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4775 See \`config.log' for more details." >&5
4776 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4777 See \`config.log' for more details." >&2;}
4778 { (exit 1); exit 1; }; }
4782 ac_cpp='$CXXCPP $CPPFLAGS'
4783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4788 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4789 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4790 if test "${ac_cv_header_stdc+set}" = set; then
4791 echo $ECHO_N "(cached) $ECHO_C" >&6
4793 cat >conftest.$ac_ext <<_ACEOF
4796 cat confdefs.h >>conftest.$ac_ext
4797 cat >>conftest.$ac_ext <<_ACEOF
4798 /* end confdefs.h. */
4812 rm -f conftest.$ac_objext
4813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4814 (eval $ac_compile) 2>conftest.er1
4816 grep -v '^ *+' conftest.er1 >conftest.err
4818 cat conftest.err >&5
4819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820 (exit $ac_status); } &&
4821 { ac_try='test -z "$ac_cxx_werror_flag"
4822 || test ! -s conftest.err'
4823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); }; } &&
4828 { ac_try='test -s conftest.$ac_objext'
4829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); }; }; then
4834 ac_cv_header_stdc=yes
4836 echo "$as_me: failed program was:" >&5
4837 sed 's/^/| /' conftest.$ac_ext >&5
4839 ac_cv_header_stdc=no
4841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4843 if test $ac_cv_header_stdc = yes; then
4844 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4845 cat >conftest.$ac_ext <<_ACEOF
4848 cat confdefs.h >>conftest.$ac_ext
4849 cat >>conftest.$ac_ext <<_ACEOF
4850 /* end confdefs.h. */
4854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4855 $EGREP "memchr" >/dev/null 2>&1; then
4858 ac_cv_header_stdc=no
4864 if test $ac_cv_header_stdc = yes; then
4865 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4866 cat >conftest.$ac_ext <<_ACEOF
4869 cat confdefs.h >>conftest.$ac_ext
4870 cat >>conftest.$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4876 $EGREP "free" >/dev/null 2>&1; then
4879 ac_cv_header_stdc=no
4885 if test $ac_cv_header_stdc = yes; then
4886 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4887 if test "$cross_compiling" = yes; then
4890 cat >conftest.$ac_ext <<_ACEOF
4893 cat confdefs.h >>conftest.$ac_ext
4894 cat >>conftest.$ac_ext <<_ACEOF
4895 /* end confdefs.h. */
4897 #if ((' ' & 0x0FF) == 0x020)
4898 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4899 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4901 # define ISLOWER(c) \
4902 (('a' <= (c) && (c) <= 'i') \
4903 || ('j' <= (c) && (c) <= 'r') \
4904 || ('s' <= (c) && (c) <= 'z'))
4905 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4908 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4913 for (i = 0; i < 256; i++)
4914 if (XOR (islower (i), ISLOWER (i))
4915 || toupper (i) != TOUPPER (i))
4920 rm -f conftest$ac_exeext
4921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4922 (eval $ac_link) 2>&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); }; }; then
4933 echo "$as_me: program exited with status $ac_status" >&5
4934 echo "$as_me: failed program was:" >&5
4935 sed 's/^/| /' conftest.$ac_ext >&5
4938 ac_cv_header_stdc=no
4940 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4944 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4945 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4946 if test $ac_cv_header_stdc = yes; then
4948 cat >>confdefs.h <<\_ACEOF
4949 #define STDC_HEADERS 1
4954 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4964 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4965 inttypes.h stdint.h unistd.h
4967 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4968 echo "$as_me:$LINENO: checking for $ac_header" >&5
4969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4971 echo $ECHO_N "(cached) $ECHO_C" >&6
4973 cat >conftest.$ac_ext <<_ACEOF
4976 cat confdefs.h >>conftest.$ac_ext
4977 cat >>conftest.$ac_ext <<_ACEOF
4978 /* end confdefs.h. */
4979 $ac_includes_default
4981 #include <$ac_header>
4983 rm -f conftest.$ac_objext
4984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4985 (eval $ac_compile) 2>conftest.er1
4987 grep -v '^ *+' conftest.er1 >conftest.err
4989 cat conftest.err >&5
4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 (exit $ac_status); } &&
4992 { ac_try='test -z "$ac_cxx_werror_flag"
4993 || test ! -s conftest.err'
4994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); }; } &&
4999 { ac_try='test -s conftest.$ac_objext'
5000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); }; }; then
5005 eval "$as_ac_Header=yes"
5007 echo "$as_me: failed program was:" >&5
5008 sed 's/^/| /' conftest.$ac_ext >&5
5010 eval "$as_ac_Header=no"
5012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5016 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5017 cat >>confdefs.h <<_ACEOF
5018 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5028 ac_cpp='$CXXCPP $CPPFLAGS'
5029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5033 echo "$as_me:$LINENO: checking for ext2fs-headers" >&5
5034 echo $ECHO_N "checking for ext2fs-headers... $ECHO_C" >&6
5035 if test "${ensc_cv_test_ext2fs_header+set}" = set; then
5036 echo $ECHO_N "(cached) $ECHO_C" >&6
5039 cat >conftest.$ac_ext <<_ACEOF
5042 cat confdefs.h >>conftest.$ac_ext
5043 cat >>conftest.$ac_ext <<_ACEOF
5044 /* end confdefs.h. */
5045 #include <ext2fs/ext2_fs.h>
5046 int main() { return 0; }
5048 rm -f conftest.$ac_objext
5049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5050 (eval $ac_compile) 2>conftest.er1
5052 grep -v '^ *+' conftest.er1 >conftest.err
5054 cat conftest.err >&5
5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056 (exit $ac_status); } &&
5057 { ac_try='test -z "$ac_cxx_werror_flag"
5058 || test ! -s conftest.err'
5059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5063 (exit $ac_status); }; } &&
5064 { ac_try='test -s conftest.$ac_objext'
5065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5069 (exit $ac_status); }; }; then
5070 ensc_cv_test_ext2fs_header=e2fsprogs
5072 echo "$as_me: failed program was:" >&5
5073 sed 's/^/| /' conftest.$ac_ext >&5
5076 cat >conftest.$ac_ext <<_ACEOF
5079 cat confdefs.h >>conftest.$ac_ext
5080 cat >>conftest.$ac_ext <<_ACEOF
5081 /* end confdefs.h. */
5082 #include <linux/ext2_fs.h>
5083 int main() { return 0; }
5085 rm -f conftest.$ac_objext
5086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5087 (eval $ac_compile) 2>conftest.er1
5089 grep -v '^ *+' conftest.er1 >conftest.err
5091 cat conftest.err >&5
5092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5093 (exit $ac_status); } &&
5094 { ac_try='test -z "$ac_cxx_werror_flag"
5095 || test ! -s conftest.err'
5096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); }; } &&
5101 { ac_try='test -s conftest.$ac_objext'
5102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); }; }; then
5107 ensc_cv_test_ext2fs_header=kernel
5109 echo "$as_me: failed program was:" >&5
5110 sed 's/^/| /' conftest.$ac_ext >&5
5113 ensc_cv_test_ext2fs_header=none
5115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5119 echo "$as_me:$LINENO: result: $ensc_cv_test_ext2fs_header" >&5
5120 echo "${ECHO_T}$ensc_cv_test_ext2fs_header" >&6
5122 case x"$ensc_cv_test_ext2fs_header" in
5124 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
5125 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
5126 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
5127 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
5128 echo $ECHO_N "(cached) $ECHO_C" >&6
5130 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
5131 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
5133 # Is the header compilable?
5134 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h usability" >&5
5135 echo $ECHO_N "checking ext2fs/ext2_fs.h usability... $ECHO_C" >&6
5136 cat >conftest.$ac_ext <<_ACEOF
5139 cat confdefs.h >>conftest.$ac_ext
5140 cat >>conftest.$ac_ext <<_ACEOF
5141 /* end confdefs.h. */
5142 $ac_includes_default
5143 #include <ext2fs/ext2_fs.h>
5145 rm -f conftest.$ac_objext
5146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5147 (eval $ac_compile) 2>conftest.er1
5149 grep -v '^ *+' conftest.er1 >conftest.err
5151 cat conftest.err >&5
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); } &&
5154 { ac_try='test -z "$ac_cxx_werror_flag"
5155 || test ! -s conftest.err'
5156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); }; } &&
5161 { ac_try='test -s conftest.$ac_objext'
5162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); }; }; then
5167 ac_header_compiler=yes
5169 echo "$as_me: failed program was:" >&5
5170 sed 's/^/| /' conftest.$ac_ext >&5
5172 ac_header_compiler=no
5174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5175 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5176 echo "${ECHO_T}$ac_header_compiler" >&6
5178 # Is the header present?
5179 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h presence" >&5
5180 echo $ECHO_N "checking ext2fs/ext2_fs.h presence... $ECHO_C" >&6
5181 cat >conftest.$ac_ext <<_ACEOF
5184 cat confdefs.h >>conftest.$ac_ext
5185 cat >>conftest.$ac_ext <<_ACEOF
5186 /* end confdefs.h. */
5187 #include <ext2fs/ext2_fs.h>
5189 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5190 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5192 grep -v '^ *+' conftest.er1 >conftest.err
5194 cat conftest.err >&5
5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196 (exit $ac_status); } >/dev/null; then
5197 if test -s conftest.err; then
5198 ac_cpp_err=$ac_cxx_preproc_warn_flag
5199 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5206 if test -z "$ac_cpp_err"; then
5207 ac_header_preproc=yes
5209 echo "$as_me: failed program was:" >&5
5210 sed 's/^/| /' conftest.$ac_ext >&5
5212 ac_header_preproc=no
5214 rm -f conftest.err conftest.$ac_ext
5215 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5216 echo "${ECHO_T}$ac_header_preproc" >&6
5218 # So? What about this header?
5219 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5221 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
5222 echo "$as_me: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5223 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&5
5224 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&2;}
5225 ac_header_preproc=yes
5228 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&5
5229 echo "$as_me: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&2;}
5230 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&5
5231 echo "$as_me: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&2;}
5232 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&5
5233 echo "$as_me: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&2;}
5234 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
5235 echo "$as_me: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
5236 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&5
5237 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
5238 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&5
5239 echo "$as_me: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
5242 ## ------------------------------------------------------ ##
5243 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
5244 ## ------------------------------------------------------ ##
5247 sed "s/^/$as_me: WARNING: /" >&2
5250 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
5251 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
5252 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5255 ac_cv_header_ext2fs_ext2_fs_h=$ac_header_preproc
5257 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
5258 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
5261 if test $ac_cv_header_ext2fs_ext2_fs_h = yes; then
5263 cat >>confdefs.h <<\_ACEOF
5264 #define ENSC_HAVE_EXT2FS_EXT2_FS_H 1
5268 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
5269 See \`config.log' for more details." >&5
5270 echo "$as_me: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
5271 See \`config.log' for more details." >&2;}
5272 { (exit 1); exit 1; }; }
5278 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
5279 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
5280 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
5281 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
5282 echo $ECHO_N "(cached) $ECHO_C" >&6
5284 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
5285 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
5287 # Is the header compilable?
5288 echo "$as_me:$LINENO: checking linux/ext2_fs.h usability" >&5
5289 echo $ECHO_N "checking linux/ext2_fs.h usability... $ECHO_C" >&6
5290 cat >conftest.$ac_ext <<_ACEOF
5293 cat confdefs.h >>conftest.$ac_ext
5294 cat >>conftest.$ac_ext <<_ACEOF
5295 /* end confdefs.h. */
5296 $ac_includes_default
5297 #include <linux/ext2_fs.h>
5299 rm -f conftest.$ac_objext
5300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5301 (eval $ac_compile) 2>conftest.er1
5303 grep -v '^ *+' conftest.er1 >conftest.err
5305 cat conftest.err >&5
5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307 (exit $ac_status); } &&
5308 { ac_try='test -z "$ac_cxx_werror_flag"
5309 || test ! -s conftest.err'
5310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); }; } &&
5315 { ac_try='test -s conftest.$ac_objext'
5316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); }; }; then
5321 ac_header_compiler=yes
5323 echo "$as_me: failed program was:" >&5
5324 sed 's/^/| /' conftest.$ac_ext >&5
5326 ac_header_compiler=no
5328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5329 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5330 echo "${ECHO_T}$ac_header_compiler" >&6
5332 # Is the header present?
5333 echo "$as_me:$LINENO: checking linux/ext2_fs.h presence" >&5
5334 echo $ECHO_N "checking linux/ext2_fs.h presence... $ECHO_C" >&6
5335 cat >conftest.$ac_ext <<_ACEOF
5338 cat confdefs.h >>conftest.$ac_ext
5339 cat >>conftest.$ac_ext <<_ACEOF
5340 /* end confdefs.h. */
5341 #include <linux/ext2_fs.h>
5343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5344 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5346 grep -v '^ *+' conftest.er1 >conftest.err
5348 cat conftest.err >&5
5349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5350 (exit $ac_status); } >/dev/null; then
5351 if test -s conftest.err; then
5352 ac_cpp_err=$ac_cxx_preproc_warn_flag
5353 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5360 if test -z "$ac_cpp_err"; then
5361 ac_header_preproc=yes
5363 echo "$as_me: failed program was:" >&5
5364 sed 's/^/| /' conftest.$ac_ext >&5
5366 ac_header_preproc=no
5368 rm -f conftest.err conftest.$ac_ext
5369 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5370 echo "${ECHO_T}$ac_header_preproc" >&6
5372 # So? What about this header?
5373 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5375 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
5376 echo "$as_me: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5377 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&5
5378 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&2;}
5379 ac_header_preproc=yes
5382 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&5
5383 echo "$as_me: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&2;}
5384 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&5
5385 echo "$as_me: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&2;}
5386 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&5
5387 echo "$as_me: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&2;}
5388 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
5389 echo "$as_me: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
5390 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&5
5391 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
5392 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&5
5393 echo "$as_me: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
5396 ## ------------------------------------------------------ ##
5397 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
5398 ## ------------------------------------------------------ ##
5401 sed "s/^/$as_me: WARNING: /" >&2
5404 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
5405 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
5406 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
5407 echo $ECHO_N "(cached) $ECHO_C" >&6
5409 ac_cv_header_linux_ext2_fs_h=$ac_header_preproc
5411 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
5412 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
5415 if test $ac_cv_header_linux_ext2_fs_h = yes; then
5417 cat >>confdefs.h <<\_ACEOF
5418 #define ENSC_HAVE_LINUX_EXT2_FS_H 1
5422 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <linux/ext2_fs.h>
5423 See \`config.log' for more details." >&5
5424 echo "$as_me: error: unexpected error while checkin for <linux/ext2_fs.h>
5425 See \`config.log' for more details." >&2;}
5426 { (exit 1); exit 1; }; }
5432 { { echo "$as_me:$LINENO: error:
5433 ext2fs headers were not found, or they are not usable. This can have
5434 the following reasons:
5436 * you have neither the e2fsprogs nor the kernel headers installed
5438 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
5439 and you do not have e2fsprogs headers installed; please try to install
5440 - e2fsprogs-devel (for Red Hat), or
5441 - libext2fs2-devel (for Mandrake), or
5442 - e2fslibs-dev (for Debian)
5445 * kernel headers are broken and your e2fsprogs headers are too old;
5446 until version 1.27 (inclusive), they are using reserved C++ keywords
5448 * kernel headers are broken and your e2fsprogs headers are too new;
5449 recent (January 2004) BK snapshots of e2fsprogs are unusable for
5450 C++, for details and a solution see
5451 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
5454 In the latter two cases you have the following options:
5455 * fix the headers manually, or
5456 * install a stable version of e2fsprogs (e.g. 1.34), or
5457 * use good kernel headers (from linux 2.4.x)
5459 See \`config.log' for more details." >&5
5460 echo "$as_me: error:
5461 ext2fs headers were not found, or they are not usable. This can have
5462 the following reasons:
5464 * you have neither the e2fsprogs nor the kernel headers installed
5466 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
5467 and you do not have e2fsprogs headers installed; please try to install
5468 - e2fsprogs-devel (for Red Hat), or
5469 - libext2fs2-devel (for Mandrake), or
5470 - e2fslibs-dev (for Debian)
5473 * kernel headers are broken and your e2fsprogs headers are too old;
5474 until version 1.27 (inclusive), they are using reserved C++ keywords
5476 * kernel headers are broken and your e2fsprogs headers are too new;
5477 recent (January 2004) BK snapshots of e2fsprogs are unusable for
5478 C++, for details and a solution see
5479 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
5482 In the latter two cases you have the following options:
5483 * fix the headers manually, or
5484 * install a stable version of e2fsprogs (e.g. 1.34), or
5485 * use good kernel headers (from linux 2.4.x)
5487 See \`config.log' for more details." >&2;}
5488 { (exit 1); exit 1; }; }
5492 ac_cpp='$CPP $CPPFLAGS'
5493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5499 for ac_func in vserver
5501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5502 echo "$as_me:$LINENO: checking for $ac_func" >&5
5503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5504 if eval "test \"\${$as_ac_var+set}\" = set"; then
5505 echo $ECHO_N "(cached) $ECHO_C" >&6
5507 cat >conftest.$ac_ext <<_ACEOF
5510 cat confdefs.h >>conftest.$ac_ext
5511 cat >>conftest.$ac_ext <<_ACEOF
5512 /* end confdefs.h. */
5513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5515 #define $ac_func innocuous_$ac_func
5517 /* System header to define __stub macros and hopefully few prototypes,
5518 which can conflict with char $ac_func (); below.
5519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5520 <limits.h> exists even on freestanding compilers. */
5523 # include <limits.h>
5525 # include <assert.h>
5530 /* Override any gcc2 internal prototype to avoid an error. */
5535 /* We use char because int might match the return type of a gcc2
5536 builtin and then its argument prototype would still apply. */
5538 /* The GNU C library defines this for functions which it implements
5539 to always fail with ENOSYS. Some functions are actually named
5540 something starting with __ and the normal name is an alias. */
5541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5544 char (*f) () = $ac_func;
5553 return f != $ac_func;
5558 rm -f conftest.$ac_objext conftest$ac_exeext
5559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5560 (eval $ac_link) 2>conftest.er1
5562 grep -v '^ *+' conftest.er1 >conftest.err
5564 cat conftest.err >&5
5565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566 (exit $ac_status); } &&
5567 { ac_try='test -z "$ac_c_werror_flag"
5568 || test ! -s conftest.err'
5569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); }; } &&
5574 { ac_try='test -s conftest$ac_exeext'
5575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5579 (exit $ac_status); }; }; then
5580 eval "$as_ac_var=yes"
5582 echo "$as_me: failed program was:" >&5
5583 sed 's/^/| /' conftest.$ac_ext >&5
5585 eval "$as_ac_var=no"
5587 rm -f conftest.err conftest.$ac_objext \
5588 conftest$ac_exeext conftest.$ac_ext
5590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5592 if test `eval echo '${'$as_ac_var'}'` = yes; then
5593 cat >>confdefs.h <<_ACEOF
5594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5600 echo "$as_me:$LINENO: checking whether MS_MOVE is declared" >&5
5601 echo $ECHO_N "checking whether MS_MOVE is declared... $ECHO_C" >&6
5602 if test "${ac_cv_have_decl_MS_MOVE+set}" = set; then
5603 echo $ECHO_N "(cached) $ECHO_C" >&6
5605 cat >conftest.$ac_ext <<_ACEOF
5608 cat confdefs.h >>conftest.$ac_ext
5609 cat >>conftest.$ac_ext <<_ACEOF
5610 /* end confdefs.h. */
5611 #include <linux/fs.h>
5617 char *p = (char *) MS_MOVE;
5624 rm -f conftest.$ac_objext
5625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5626 (eval $ac_compile) 2>conftest.er1
5628 grep -v '^ *+' conftest.er1 >conftest.err
5630 cat conftest.err >&5
5631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632 (exit $ac_status); } &&
5633 { ac_try='test -z "$ac_c_werror_flag"
5634 || test ! -s conftest.err'
5635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); }; } &&
5640 { ac_try='test -s conftest.$ac_objext'
5641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); }; }; then
5646 ac_cv_have_decl_MS_MOVE=yes
5648 echo "$as_me: failed program was:" >&5
5649 sed 's/^/| /' conftest.$ac_ext >&5
5651 ac_cv_have_decl_MS_MOVE=no
5653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5655 echo "$as_me:$LINENO: result: $ac_cv_have_decl_MS_MOVE" >&5
5656 echo "${ECHO_T}$ac_cv_have_decl_MS_MOVE" >&6
5657 if test $ac_cv_have_decl_MS_MOVE = yes; then
5659 cat >>confdefs.h <<_ACEOF
5660 #define HAVE_DECL_MS_MOVE 1
5665 cat >>confdefs.h <<_ACEOF
5666 #define HAVE_DECL_MS_MOVE 0
5673 echo "$as_me:$LINENO: checking for xid_t" >&5
5674 echo $ECHO_N "checking for xid_t... $ECHO_C" >&6
5675 if test "${ac_cv_type_xid_t+set}" = set; then
5676 echo $ECHO_N "(cached) $ECHO_C" >&6
5678 cat >conftest.$ac_ext <<_ACEOF
5681 cat confdefs.h >>conftest.$ac_ext
5682 cat >>conftest.$ac_ext <<_ACEOF
5683 /* end confdefs.h. */
5684 #include <sys/types.h>
5697 rm -f conftest.$ac_objext
5698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5699 (eval $ac_compile) 2>conftest.er1
5701 grep -v '^ *+' conftest.er1 >conftest.err
5703 cat conftest.err >&5
5704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705 (exit $ac_status); } &&
5706 { ac_try='test -z "$ac_c_werror_flag"
5707 || test ! -s conftest.err'
5708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 (exit $ac_status); }; } &&
5713 { ac_try='test -s conftest.$ac_objext'
5714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718 (exit $ac_status); }; }; then
5719 ac_cv_type_xid_t=yes
5721 echo "$as_me: failed program was:" >&5
5722 sed 's/^/| /' conftest.$ac_ext >&5
5726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5728 echo "$as_me:$LINENO: result: $ac_cv_type_xid_t" >&5
5729 echo "${ECHO_T}$ac_cv_type_xid_t" >&6
5730 if test $ac_cv_type_xid_t = yes; then
5732 cat >>confdefs.h <<_ACEOF
5733 #define HAVE_XID_T 1
5740 ac_config_files="$ac_config_files util-vserver.spec Makefile"
5742 cat >confcache <<\_ACEOF
5743 # This file is a shell script that caches the results of configure
5744 # tests run on this system so they can be shared between configure
5745 # scripts and configure runs, see configure's option --config-cache.
5746 # It is not useful on other systems. If it contains results you don't
5747 # want to keep, you may remove or edit it.
5749 # config.status only pays attention to the cache file if you give it
5750 # the --recheck option to rerun configure.
5752 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5753 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5758 # The following way of writing the cache mishandles newlines in values,
5759 # but we know of no workaround that is simple, portable, and efficient.
5760 # So, don't put newlines in cache variables' values.
5761 # Ultrix sh set writes to stderr and can't be redirected directly,
5762 # and sets the high bit in the cache file unless we assign to the vars.
5765 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5767 # `set' does not quote correctly, so add quotes (double-quote
5768 # substitution turns \\\\ into \\, and sed turns \\ into \).
5771 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5774 # `set' quotes correctly as required by POSIX, so do not add quotes.
5776 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5783 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5785 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5787 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5788 if test -w $cache_file; then
5789 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5790 cat confcache >$cache_file
5792 echo "not updating unwritable cache $cache_file"
5797 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5798 # Let make expand exec_prefix.
5799 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5801 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5802 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5803 # trailing colons and then remove the whole line if VPATH becomes empty
5804 # (actually we leave an empty line to preserve line numbers).
5805 if test "x$srcdir" = x.; then
5806 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5807 s/:*\$(srcdir):*/:/;
5808 s/:*\${srcdir}:*/:/;
5810 s/^\([^=]*=[ ]*\):*/\1/;
5816 DEFS=-DHAVE_CONFIG_H
5820 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5821 # 1. Remove the extension, and $U if already installed.
5822 ac_i=`echo "$ac_i" |
5823 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5825 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5826 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5830 LTLIBOBJS=$ac_ltlibobjs
5833 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5834 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5835 Usually this means the macro was only invoked conditionally." >&5
5836 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5837 Usually this means the macro was only invoked conditionally." >&2;}
5838 { (exit 1); exit 1; }; }
5840 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5841 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5842 Usually this means the macro was only invoked conditionally." >&5
5843 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5844 Usually this means the macro was only invoked conditionally." >&2;}
5845 { (exit 1); exit 1; }; }
5847 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5848 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5849 Usually this means the macro was only invoked conditionally." >&5
5850 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5851 Usually this means the macro was only invoked conditionally." >&2;}
5852 { (exit 1); exit 1; }; }
5854 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5855 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5856 Usually this means the macro was only invoked conditionally." >&5
5857 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5858 Usually this means the macro was only invoked conditionally." >&2;}
5859 { (exit 1); exit 1; }; }
5861 if test -z "${HAVE_CVS2CL_TRUE}" && test -z "${HAVE_CVS2CL_FALSE}"; then
5862 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CVS2CL\" was never defined.
5863 Usually this means the macro was only invoked conditionally." >&5
5864 echo "$as_me: error: conditional \"HAVE_CVS2CL\" was never defined.
5865 Usually this means the macro was only invoked conditionally." >&2;}
5866 { (exit 1); exit 1; }; }
5868 if test -z "${HAVE_RCS2LOG_TRUE}" && test -z "${HAVE_RCS2LOG_FALSE}"; then
5869 { { echo "$as_me:$LINENO: error: conditional \"HAVE_RCS2LOG\" was never defined.
5870 Usually this means the macro was only invoked conditionally." >&5
5871 echo "$as_me: error: conditional \"HAVE_RCS2LOG\" was never defined.
5872 Usually this means the macro was only invoked conditionally." >&2;}
5873 { (exit 1); exit 1; }; }
5875 if test -z "${ENSC_ENABLE_LINUXCONF_TRUE}" && test -z "${ENSC_ENABLE_LINUXCONF_FALSE}"; then
5876 { { echo "$as_me:$LINENO: error: conditional \"ENSC_ENABLE_LINUXCONF\" was never defined.
5877 Usually this means the macro was only invoked conditionally." >&5
5878 echo "$as_me: error: conditional \"ENSC_ENABLE_LINUXCONF\" was never defined.
5879 Usually this means the macro was only invoked conditionally." >&2;}
5880 { (exit 1); exit 1; }; }
5882 if test -z "${ENSC_ENABLE_INTERNAL_HEADERS_TRUE}" && test -z "${ENSC_ENABLE_INTERNAL_HEADERS_FALSE}"; then
5883 { { echo "$as_me:$LINENO: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
5884 Usually this means the macro was only invoked conditionally." >&5
5885 echo "$as_me: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
5886 Usually this means the macro was only invoked conditionally." >&2;}
5887 { (exit 1); exit 1; }; }
5890 : ${CONFIG_STATUS=./config.status}
5891 ac_clean_files_save=$ac_clean_files
5892 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5893 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5894 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5895 cat >$CONFIG_STATUS <<_ACEOF
5897 # Generated by $as_me.
5898 # Run this file to recreate the current configuration.
5899 # Compiler output produced by configure, useful for debugging
5900 # configure, is in config.log if it exists.
5905 SHELL=\${CONFIG_SHELL-$SHELL}
5908 cat >>$CONFIG_STATUS <<\_ACEOF
5909 ## --------------------- ##
5910 ## M4sh Initialization. ##
5911 ## --------------------- ##
5913 # Be Bourne compatible
5914 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5917 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5918 # is contrary to our usage. Disable this feature.
5919 alias -g '${1+"$@"}'='"$@"'
5920 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5923 DUALCASE=1; export DUALCASE # for MKS sh
5925 # Support unset when possible.
5926 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5933 # Work around bugs in pre-3.0 UWIN ksh.
5934 $as_unset ENV MAIL MAILPATH
5941 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5942 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5943 LC_TELEPHONE LC_TIME
5945 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5946 eval $as_var=C; export $as_var
5952 # Required to use basename.
5953 if expr a : '\(a\)' >/dev/null 2>&1; then
5959 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5960 as_basename=basename
5966 # Name of the executable.
5967 as_me=`$as_basename "$0" ||
5968 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5969 X"$0" : 'X\(//\)$' \| \
5970 X"$0" : 'X\(/\)$' \| \
5971 . : '\(.\)' 2>/dev/null ||
5973 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5974 /^X\/\(\/\/\)$/{ s//\1/; q; }
5975 /^X\/\(\/\).*/{ s//\1/; q; }
5979 # PATH needs CR, and LINENO needs CR and PATH.
5980 # Avoid depending upon Character Ranges.
5981 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5982 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5983 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5984 as_cr_digits='0123456789'
5985 as_cr_alnum=$as_cr_Letters$as_cr_digits
5987 # The user is always right.
5988 if test "${PATH_SEPARATOR+set}" != set; then
5989 echo "#! /bin/sh" >conf$$.sh
5990 echo "exit 0" >>conf$$.sh
5992 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6003 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6004 test "x$as_lineno_1" != "x$as_lineno_2" &&
6005 test "x$as_lineno_3" = "x$as_lineno_2" || {
6006 # Find who we are. Look in the path if we contain no path at all
6009 *[\\/]* ) as_myself=$0 ;;
6010 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 test -z "$as_dir" && as_dir=.
6015 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6020 # We did not find ourselves, most probably we were run as `sh COMMAND'
6021 # in which case we are not to be found in the path.
6022 if test "x$as_myself" = x; then
6025 if test ! -f "$as_myself"; then
6026 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6027 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6028 { (exit 1); exit 1; }; }
6030 case $CONFIG_SHELL in
6032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6033 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6036 test -z "$as_dir" && as_dir=.
6037 for as_base in sh bash ksh sh5; do
6040 if ("$as_dir/$as_base" -c '
6043 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6044 test "x$as_lineno_1" != "x$as_lineno_2" &&
6045 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6046 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6047 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6048 CONFIG_SHELL=$as_dir/$as_base
6050 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6058 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6059 # uniformly replaced by the line number. The first 'sed' inserts a
6060 # line-number line before each line; the second 'sed' does the real
6061 # work. The second script uses 'N' to pair each line-number line
6062 # with the numbered line, and appends trailing '-' during
6063 # substitution so that $LINENO is not a special case at line end.
6064 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6065 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6066 sed '=' <$as_myself |
6071 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6074 s,^['$as_cr_digits']*\n,,
6076 chmod +x $as_me.lineno ||
6077 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6078 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6079 { (exit 1); exit 1; }; }
6081 # Don't try to exec as it changes $[0], causing all sort of problems
6082 # (the dirname of $[0] is not the place where we might find the
6083 # original and so on. Autoconf is especially sensible to this).
6085 # Exit status is that of the last command.
6090 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6091 *c*,-n*) ECHO_N= ECHO_C='
6093 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6094 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6097 if expr a : '\(a\)' >/dev/null 2>&1; then
6103 rm -f conf$$ conf$$.exe conf$$.file
6105 if ln -s conf$$.file conf$$ 2>/dev/null; then
6106 # We could just check for DJGPP; but this test a) works b) is more generic
6107 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6108 if test -f conf$$.exe; then
6109 # Don't use ln at all; we don't have any links
6114 elif ln conf$$.file conf$$ 2>/dev/null; then
6119 rm -f conf$$ conf$$.exe conf$$.file
6121 if mkdir -p . 2>/dev/null; then
6124 test -d ./-p && rmdir ./-p
6128 as_executable_p="test -f"
6130 # Sed expression to map a string onto a valid CPP name.
6131 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6133 # Sed expression to map a string onto a valid variable name.
6134 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6138 # We need space, tab and new line, in precisely that order.
6148 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6149 # report actual input values of CONFIG_FILES etc. instead of their
6150 # values after options handling. Logging --version etc. is OK.
6154 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6155 ## Running $as_me. ##
6160 This file was extended by util-vserver $as_me 0.30, which was
6161 generated by GNU Autoconf 2.59. Invocation command line was
6163 CONFIG_FILES = $CONFIG_FILES
6164 CONFIG_HEADERS = $CONFIG_HEADERS
6165 CONFIG_LINKS = $CONFIG_LINKS
6166 CONFIG_COMMANDS = $CONFIG_COMMANDS
6170 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6174 # Files that config.status was made for.
6175 if test -n "$ac_config_files"; then
6176 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6179 if test -n "$ac_config_headers"; then
6180 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6183 if test -n "$ac_config_links"; then
6184 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6187 if test -n "$ac_config_commands"; then
6188 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6191 cat >>$CONFIG_STATUS <<\_ACEOF
6194 \`$as_me' instantiates files from templates according to the
6195 current configuration.
6197 Usage: $0 [OPTIONS] [FILE]...
6199 -h, --help print this help, then exit
6200 -V, --version print version number, then exit
6201 -q, --quiet do not print progress messages
6202 -d, --debug don't remove temporary files
6203 --recheck update $as_me by reconfiguring in the same conditions
6204 --file=FILE[:TEMPLATE]
6205 instantiate the configuration file FILE
6206 --header=FILE[:TEMPLATE]
6207 instantiate the configuration header FILE
6209 Configuration files:
6212 Configuration headers:
6215 Configuration commands:
6218 Report bugs to <bug-autoconf@gnu.org>."
6221 cat >>$CONFIG_STATUS <<_ACEOF
6223 util-vserver config.status 0.30
6224 configured by $0, generated by GNU Autoconf 2.59,
6225 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6227 Copyright (C) 2003 Free Software Foundation, Inc.
6228 This config.status script is free software; the Free Software Foundation
6229 gives unlimited permission to copy, distribute and modify it."
6234 cat >>$CONFIG_STATUS <<\_ACEOF
6235 # If no file are specified by the user, then we need to provide default
6236 # value. By we need to know if files were specified by the user.
6242 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6243 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6251 *) # This is not an option, so the user has probably given explicit
6254 ac_need_defaults=false;;
6258 # Handling of the options.
6260 cat >>$CONFIG_STATUS <<\_ACEOF
6261 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6263 --version | --vers* | -V )
6264 echo "$ac_cs_version"; exit 0 ;;
6266 # Conflict between --help and --header
6267 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6268 Try \`$0 --help' for more information." >&5
6269 echo "$as_me: error: ambiguous option: $1
6270 Try \`$0 --help' for more information." >&2;}
6271 { (exit 1); exit 1; }; };;
6272 --help | --hel | -h )
6273 echo "$ac_cs_usage"; exit 0 ;;
6274 --debug | --d* | -d )
6276 --file | --fil | --fi | --f )
6278 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6279 ac_need_defaults=false;;
6280 --header | --heade | --head | --hea )
6282 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6283 ac_need_defaults=false;;
6284 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6285 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6289 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6290 Try \`$0 --help' for more information." >&5
6291 echo "$as_me: error: unrecognized option: $1
6292 Try \`$0 --help' for more information." >&2;}
6293 { (exit 1); exit 1; }; } ;;
6295 *) ac_config_targets="$ac_config_targets $1" ;;
6301 ac_configure_extra_args=
6303 if $ac_cs_silent; then
6305 ac_configure_extra_args="$ac_configure_extra_args --silent"
6309 cat >>$CONFIG_STATUS <<_ACEOF
6310 if \$ac_cs_recheck; then
6311 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6312 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6317 cat >>$CONFIG_STATUS <<_ACEOF
6319 # INIT-COMMANDS section.
6322 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6328 cat >>$CONFIG_STATUS <<\_ACEOF
6329 for ac_config_target in $ac_config_targets
6331 case "$ac_config_target" in
6332 # Handling of arguments.
6333 "util-vserver.spec" ) CONFIG_FILES="$CONFIG_FILES util-vserver.spec" ;;
6334 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6335 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6336 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6337 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6338 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6339 { (exit 1); exit 1; }; };;
6343 # If the user did not use the arguments to specify the items to instantiate,
6344 # then the envvar interface is used. Set only those that are not.
6345 # We use the long form for the default assignment because of an extremely
6346 # bizarre bug on SunOS 4.1.3.
6347 if $ac_need_defaults; then
6348 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6349 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6350 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6353 # Have a temporary directory for convenience. Make it in the build tree
6354 # simply because there is no reason to put it here, and in addition,
6355 # creating and moving files from /tmp can sometimes cause problems.
6356 # Create a temporary directory, and hook for its removal unless debugging.
6359 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6360 trap '{ (exit 1); exit 1; }' 1 2 13 15
6363 # Create a (secure) tmp directory for tmp files.
6366 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6367 test -n "$tmp" && test -d "$tmp"
6370 tmp=./confstat$$-$RANDOM
6371 (umask 077 && mkdir $tmp)
6374 echo "$me: cannot create a temporary directory in ." >&2
6375 { (exit 1); exit 1; }
6380 cat >>$CONFIG_STATUS <<_ACEOF
6383 # CONFIG_FILES section.
6386 # No need to generate the scripts if there are no CONFIG_FILES.
6387 # This happens for instance when ./config.status config.h
6388 if test -n "\$CONFIG_FILES"; then
6389 # Protect against being on the right side of a sed subst in config.status.
6390 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6391 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6392 s,@SHELL@,$SHELL,;t t
6393 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6394 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6395 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6396 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6397 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6398 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6399 s,@exec_prefix@,$exec_prefix,;t t
6400 s,@prefix@,$prefix,;t t
6401 s,@program_transform_name@,$program_transform_name,;t t
6402 s,@bindir@,$bindir,;t t
6403 s,@sbindir@,$sbindir,;t t
6404 s,@libexecdir@,$libexecdir,;t t
6405 s,@datadir@,$datadir,;t t
6406 s,@sysconfdir@,$sysconfdir,;t t
6407 s,@sharedstatedir@,$sharedstatedir,;t t
6408 s,@localstatedir@,$localstatedir,;t t
6409 s,@libdir@,$libdir,;t t
6410 s,@includedir@,$includedir,;t t
6411 s,@oldincludedir@,$oldincludedir,;t t
6412 s,@infodir@,$infodir,;t t
6413 s,@mandir@,$mandir,;t t
6414 s,@build_alias@,$build_alias,;t t
6415 s,@host_alias@,$host_alias,;t t
6416 s,@target_alias@,$target_alias,;t t
6418 s,@ECHO_C@,$ECHO_C,;t t
6419 s,@ECHO_N@,$ECHO_N,;t t
6420 s,@ECHO_T@,$ECHO_T,;t t
6422 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6423 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6424 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6425 s,@CYGPATH_W@,$CYGPATH_W,;t t
6426 s,@PACKAGE@,$PACKAGE,;t t
6427 s,@VERSION@,$VERSION,;t t
6428 s,@ACLOCAL@,$ACLOCAL,;t t
6429 s,@AUTOCONF@,$AUTOCONF,;t t
6430 s,@AUTOMAKE@,$AUTOMAKE,;t t
6431 s,@AUTOHEADER@,$AUTOHEADER,;t t
6432 s,@MAKEINFO@,$MAKEINFO,;t t
6433 s,@AMTAR@,$AMTAR,;t t
6434 s,@install_sh@,$install_sh,;t t
6435 s,@STRIP@,$STRIP,;t t
6436 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6437 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6438 s,@mkdir_p@,$mkdir_p,;t t
6440 s,@SET_MAKE@,$SET_MAKE,;t t
6441 s,@am__leading_dot@,$am__leading_dot,;t t
6442 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6443 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6444 s,@MAINT@,$MAINT,;t t
6446 s,@CXXFLAGS@,$CXXFLAGS,;t t
6447 s,@LDFLAGS@,$LDFLAGS,;t t
6448 s,@CPPFLAGS@,$CPPFLAGS,;t t
6449 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6450 s,@EXEEXT@,$EXEEXT,;t t
6451 s,@OBJEXT@,$OBJEXT,;t t
6452 s,@DEPDIR@,$DEPDIR,;t t
6453 s,@am__include@,$am__include,;t t
6454 s,@am__quote@,$am__quote,;t t
6455 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6456 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6457 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6458 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
6459 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
6460 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
6462 s,@CFLAGS@,$CFLAGS,;t t
6463 s,@ac_ct_CC@,$ac_ct_CC,;t t
6464 s,@CCDEPMODE@,$CCDEPMODE,;t t
6465 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6466 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6468 s,@RANLIB@,$RANLIB,;t t
6469 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6470 s,@kernelincludedir@,$kernelincludedir,;t t
6471 s,@vserverdir@,$vserverdir,;t t
6472 s,@CVS2CL_TAG@,$CVS2CL_TAG,;t t
6473 s,@CVS2CL@,$CVS2CL,;t t
6474 s,@HAVE_CVS2CL_TRUE@,$HAVE_CVS2CL_TRUE,;t t
6475 s,@HAVE_CVS2CL_FALSE@,$HAVE_CVS2CL_FALSE,;t t
6476 s,@RCS2LOG@,$RCS2LOG,;t t
6477 s,@HAVE_RCS2LOG_TRUE@,$HAVE_RCS2LOG_TRUE,;t t
6478 s,@HAVE_RCS2LOG_FALSE@,$HAVE_RCS2LOG_FALSE,;t t
6479 s,@ENSC_ENABLE_LINUXCONF_TRUE@,$ENSC_ENABLE_LINUXCONF_TRUE,;t t
6480 s,@ENSC_ENABLE_LINUXCONF_FALSE@,$ENSC_ENABLE_LINUXCONF_FALSE,;t t
6481 s,@ENSC_ENABLE_INTERNAL_HEADERS_TRUE@,$ENSC_ENABLE_INTERNAL_HEADERS_TRUE,;t t
6482 s,@ENSC_ENABLE_INTERNAL_HEADERS_FALSE@,$ENSC_ENABLE_INTERNAL_HEADERS_FALSE,;t t
6484 s,@EGREP@,$EGREP,;t t
6485 s,@CXXCPP@,$CXXCPP,;t t
6486 s,@LIBOBJS@,$LIBOBJS,;t t
6487 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6492 cat >>$CONFIG_STATUS <<\_ACEOF
6493 # Split the substitutions into bite-sized pieces for seds with
6494 # small command number limits, like on Digital OSF/1 and HP-UX.
6496 ac_sed_frag=1 # Number of current file.
6497 ac_beg=1 # First line for current file.
6498 ac_end=$ac_max_sed_lines # Line after last line for current file.
6501 while $ac_more_lines; do
6502 if test $ac_beg -gt 1; then
6503 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6505 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6507 if test ! -s $tmp/subs.frag; then
6510 # The purpose of the label and of the branching condition is to
6511 # speed up the sed processing (if there are no `@' at all, there
6512 # is no need to browse any of the substitutions).
6513 # These are the two extra sed commands mentioned above.
6515 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6516 if test -z "$ac_sed_cmds"; then
6517 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6519 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6521 ac_sed_frag=`expr $ac_sed_frag + 1`
6523 ac_end=`expr $ac_end + $ac_max_sed_lines`
6526 if test -z "$ac_sed_cmds"; then
6529 fi # test -n "$CONFIG_FILES"
6532 cat >>$CONFIG_STATUS <<\_ACEOF
6533 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6534 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6536 - | *:- | *:-:* ) # input from stdin
6538 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6539 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6540 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6541 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6542 * ) ac_file_in=$ac_file.in ;;
6545 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6546 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6547 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6548 X"$ac_file" : 'X\(//\)[^/]' \| \
6549 X"$ac_file" : 'X\(//\)$' \| \
6550 X"$ac_file" : 'X\(/\)' \| \
6551 . : '\(.\)' 2>/dev/null ||
6553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6554 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6555 /^X\(\/\/\)$/{ s//\1/; q; }
6556 /^X\(\/\).*/{ s//\1/; q; }
6558 { if $as_mkdir_p; then
6563 while test ! -d "$as_dir"; do
6564 as_dirs="$as_dir $as_dirs"
6565 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6566 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6567 X"$as_dir" : 'X\(//\)[^/]' \| \
6568 X"$as_dir" : 'X\(//\)$' \| \
6569 X"$as_dir" : 'X\(/\)' \| \
6570 . : '\(.\)' 2>/dev/null ||
6572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6573 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6574 /^X\(\/\/\)$/{ s//\1/; q; }
6575 /^X\(\/\).*/{ s//\1/; q; }
6578 test ! -n "$as_dirs" || mkdir $as_dirs
6579 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6580 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6581 { (exit 1); exit 1; }; }; }
6585 if test "$ac_dir" != .; then
6586 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6587 # A "../" for each directory in $ac_dir_suffix.
6588 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6590 ac_dir_suffix= ac_top_builddir=
6594 .) # No --srcdir option. We are building in place.
6596 if test -z "$ac_top_builddir"; then
6599 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6601 [\\/]* | ?:[\\/]* ) # Absolute path.
6602 ac_srcdir=$srcdir$ac_dir_suffix;
6603 ac_top_srcdir=$srcdir ;;
6605 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6606 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6609 # Do not use `cd foo && pwd` to compute absolute paths, because
6610 # the directories may not exist.
6612 .) ac_abs_builddir="$ac_dir";;
6615 .) ac_abs_builddir=`pwd`;;
6616 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6617 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6620 case $ac_abs_builddir in
6621 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6623 case ${ac_top_builddir}. in
6624 .) ac_abs_top_builddir=$ac_abs_builddir;;
6625 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6626 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6629 case $ac_abs_builddir in
6630 .) ac_abs_srcdir=$ac_srcdir;;
6633 .) ac_abs_srcdir=$ac_abs_builddir;;
6634 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6635 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6638 case $ac_abs_builddir in
6639 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6641 case $ac_top_srcdir in
6642 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6643 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6644 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6650 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6651 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6654 if test x"$ac_file" != x-; then
6655 { echo "$as_me:$LINENO: creating $ac_file" >&5
6656 echo "$as_me: creating $ac_file" >&6;}
6659 # Let's still pretend it is `configure' which instantiates (i.e., don't
6660 # use $as_me), people would be surprised to read:
6661 # /* config.h. Generated by config.status. */
6662 if test x"$ac_file" = x-; then
6665 configure_input="$ac_file. "
6667 configure_input=$configure_input"Generated from `echo $ac_file_in |
6668 sed 's,.*/,,'` by configure."
6670 # First look for the input files in the build tree, otherwise in the
6672 ac_file_inputs=`IFS=:
6673 for f in $ac_file_in; do
6675 -) echo $tmp/stdin ;;
6677 # Absolute (can't be DOS-style, as IFS=:)
6678 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6679 echo "$as_me: error: cannot find input file: $f" >&2;}
6680 { (exit 1); exit 1; }; }
6683 if test -f "$f"; then
6686 elif test -f "$srcdir/$f"; then
6691 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6692 echo "$as_me: error: cannot find input file: $f" >&2;}
6693 { (exit 1); exit 1; }; }
6696 done` || { (exit 1); exit 1; }
6698 cat >>$CONFIG_STATUS <<_ACEOF
6702 cat >>$CONFIG_STATUS <<\_ACEOF
6704 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6705 s,@configure_input@,$configure_input,;t t
6706 s,@srcdir@,$ac_srcdir,;t t
6707 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6708 s,@top_srcdir@,$ac_top_srcdir,;t t
6709 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6710 s,@builddir@,$ac_builddir,;t t
6711 s,@abs_builddir@,$ac_abs_builddir,;t t
6712 s,@top_builddir@,$ac_top_builddir,;t t
6713 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6714 s,@INSTALL@,$ac_INSTALL,;t t
6715 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6717 if test x"$ac_file" != x-; then
6718 mv $tmp/out $ac_file
6726 cat >>$CONFIG_STATUS <<\_ACEOF
6729 # CONFIG_HEADER section.
6732 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6733 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6735 # ac_d sets the value in "#define NAME VALUE" lines.
6736 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6737 ac_dB='[ ].*$,\1#\2'
6740 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6741 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6742 ac_uB='$,\1#\2define\3'
6746 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6747 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6749 - | *:- | *:-:* ) # input from stdin
6751 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6752 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6753 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6754 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6755 * ) ac_file_in=$ac_file.in ;;
6758 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6759 echo "$as_me: creating $ac_file" >&6;}
6761 # First look for the input files in the build tree, otherwise in the
6763 ac_file_inputs=`IFS=:
6764 for f in $ac_file_in; do
6766 -) echo $tmp/stdin ;;
6768 # Absolute (can't be DOS-style, as IFS=:)
6769 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6770 echo "$as_me: error: cannot find input file: $f" >&2;}
6771 { (exit 1); exit 1; }; }
6772 # Do quote $f, to prevent DOS paths from being IFS'd.
6775 if test -f "$f"; then
6778 elif test -f "$srcdir/$f"; then
6783 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6784 echo "$as_me: error: cannot find input file: $f" >&2;}
6785 { (exit 1); exit 1; }; }
6788 done` || { (exit 1); exit 1; }
6789 # Remove the trailing spaces.
6790 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6794 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6795 # `conftest.undefs', that substitutes the proper values into
6796 # config.h.in to produce config.h. The first handles `#define'
6797 # templates, and the second `#undef' templates.
6798 # And first: Protect against being on the right side of a sed subst in
6799 # config.status. Protect against being in an unquoted here document
6801 rm -f conftest.defines conftest.undefs
6802 # Using a here document instead of a string reduces the quoting nightmare.
6803 # Putting comments in sed scripts is not portable.
6805 # `end' is used to avoid that the second main sed command (meant for
6806 # 0-ary CPP macros) applies to n-ary macro definitions.
6807 # See the Autoconf documentation for `clear'.
6808 cat >confdef2sed.sed <<\_ACEOF
6813 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6815 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6818 # If some macros were called several times there might be several times
6819 # the same #defines, which is useless. Nevertheless, we may not want to
6820 # sort them, since we want the *last* AC-DEFINE to be honored.
6821 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6822 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6823 rm -f confdef2sed.sed
6825 # This sed command replaces #undef with comments. This is necessary, for
6826 # example, in the case of _POSIX_SOURCE, which is predefined and required
6827 # on some systems where configure will not decide to define it.
6828 cat >>conftest.undefs <<\_ACEOF
6829 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6832 # Break up conftest.defines because some shells have a limit on the size
6833 # of here documents, and old seds have small limits too (100 cmds).
6834 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6835 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6836 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6837 echo ' :' >>$CONFIG_STATUS
6839 while grep . conftest.defines >/dev/null
6841 # Write a limited-size here document to $tmp/defines.sed.
6842 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6843 # Speed up: don't consider the non `#define' lines.
6844 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6845 # Work around the forget-to-reset-the-flag bug.
6846 echo 't clr' >>$CONFIG_STATUS
6847 echo ': clr' >>$CONFIG_STATUS
6848 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6850 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6854 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6855 rm -f conftest.defines
6856 mv conftest.tail conftest.defines
6858 rm -f conftest.defines
6859 echo ' fi # grep' >>$CONFIG_STATUS
6860 echo >>$CONFIG_STATUS
6862 # Break up conftest.undefs because some shells have a limit on the size
6863 # of here documents, and old seds have small limits too (100 cmds).
6864 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6866 while grep . conftest.undefs >/dev/null
6868 # Write a limited-size here document to $tmp/undefs.sed.
6869 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6870 # Speed up: don't consider the non `#undef'
6871 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6872 # Work around the forget-to-reset-the-flag bug.
6873 echo 't clr' >>$CONFIG_STATUS
6874 echo ': clr' >>$CONFIG_STATUS
6875 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6877 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6881 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6882 rm -f conftest.undefs
6883 mv conftest.tail conftest.undefs
6885 rm -f conftest.undefs
6887 cat >>$CONFIG_STATUS <<\_ACEOF
6888 # Let's still pretend it is `configure' which instantiates (i.e., don't
6889 # use $as_me), people would be surprised to read:
6890 # /* config.h. Generated by config.status. */
6891 if test x"$ac_file" = x-; then
6892 echo "/* Generated by configure. */" >$tmp/config.h
6894 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6896 cat $tmp/in >>$tmp/config.h
6898 if test x"$ac_file" != x-; then
6899 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6900 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6901 echo "$as_me: $ac_file is unchanged" >&6;}
6903 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6904 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6905 X"$ac_file" : 'X\(//\)[^/]' \| \
6906 X"$ac_file" : 'X\(//\)$' \| \
6907 X"$ac_file" : 'X\(/\)' \| \
6908 . : '\(.\)' 2>/dev/null ||
6910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6911 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6912 /^X\(\/\/\)$/{ s//\1/; q; }
6913 /^X\(\/\).*/{ s//\1/; q; }
6915 { if $as_mkdir_p; then
6920 while test ! -d "$as_dir"; do
6921 as_dirs="$as_dir $as_dirs"
6922 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6923 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6924 X"$as_dir" : 'X\(//\)[^/]' \| \
6925 X"$as_dir" : 'X\(//\)$' \| \
6926 X"$as_dir" : 'X\(/\)' \| \
6927 . : '\(.\)' 2>/dev/null ||
6929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6930 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6931 /^X\(\/\/\)$/{ s//\1/; q; }
6932 /^X\(\/\).*/{ s//\1/; q; }
6935 test ! -n "$as_dirs" || mkdir $as_dirs
6936 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6937 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6938 { (exit 1); exit 1; }; }; }
6941 mv $tmp/config.h $ac_file
6947 # Compute $ac_file's index in $config_headers.
6949 for _am_header in $config_headers :; do
6951 $ac_file | $ac_file:* )
6954 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6957 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6958 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6959 X$ac_file : 'X\(//\)[^/]' \| \
6960 X$ac_file : 'X\(//\)$' \| \
6961 X$ac_file : 'X\(/\)' \| \
6962 . : '\(.\)' 2>/dev/null ||
6964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6965 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6966 /^X\(\/\/\)$/{ s//\1/; q; }
6967 /^X\(\/\).*/{ s//\1/; q; }
6968 s/.*/./; q'`/stamp-h$_am_stamp_count
6971 cat >>$CONFIG_STATUS <<\_ACEOF
6974 # CONFIG_COMMANDS section.
6976 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6977 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6978 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6979 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6980 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6981 X"$ac_dest" : 'X\(//\)[^/]' \| \
6982 X"$ac_dest" : 'X\(//\)$' \| \
6983 X"$ac_dest" : 'X\(/\)' \| \
6984 . : '\(.\)' 2>/dev/null ||
6986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6987 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6988 /^X\(\/\/\)$/{ s//\1/; q; }
6989 /^X\(\/\).*/{ s//\1/; q; }
6991 { if $as_mkdir_p; then
6996 while test ! -d "$as_dir"; do
6997 as_dirs="$as_dir $as_dirs"
6998 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6999 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7000 X"$as_dir" : 'X\(//\)[^/]' \| \
7001 X"$as_dir" : 'X\(//\)$' \| \
7002 X"$as_dir" : 'X\(/\)' \| \
7003 . : '\(.\)' 2>/dev/null ||
7005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7006 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7007 /^X\(\/\/\)$/{ s//\1/; q; }
7008 /^X\(\/\).*/{ s//\1/; q; }
7011 test ! -n "$as_dirs" || mkdir $as_dirs
7012 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7013 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7014 { (exit 1); exit 1; }; }; }
7018 if test "$ac_dir" != .; then
7019 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7020 # A "../" for each directory in $ac_dir_suffix.
7021 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7023 ac_dir_suffix= ac_top_builddir=
7027 .) # No --srcdir option. We are building in place.
7029 if test -z "$ac_top_builddir"; then
7032 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7034 [\\/]* | ?:[\\/]* ) # Absolute path.
7035 ac_srcdir=$srcdir$ac_dir_suffix;
7036 ac_top_srcdir=$srcdir ;;
7038 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7039 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7042 # Do not use `cd foo && pwd` to compute absolute paths, because
7043 # the directories may not exist.
7045 .) ac_abs_builddir="$ac_dir";;
7048 .) ac_abs_builddir=`pwd`;;
7049 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7050 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7053 case $ac_abs_builddir in
7054 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7056 case ${ac_top_builddir}. in
7057 .) ac_abs_top_builddir=$ac_abs_builddir;;
7058 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7059 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7062 case $ac_abs_builddir in
7063 .) ac_abs_srcdir=$ac_srcdir;;
7066 .) ac_abs_srcdir=$ac_abs_builddir;;
7067 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7068 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7071 case $ac_abs_builddir in
7072 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7074 case $ac_top_srcdir in
7075 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7076 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7077 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7082 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7083 echo "$as_me: executing $ac_dest commands" >&6;}
7085 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7086 # Strip MF so we end up with the name of the file.
7087 mf=`echo "$mf" | sed -e 's/:.*$//'`
7088 # Check whether this is an Automake generated Makefile or not.
7089 # We used to match only the files named `Makefile.in', but
7090 # some people rename them; so instead we look at the file content.
7091 # Grep'ing the first line is not enough: some people post-process
7092 # each Makefile.in and add a new line on top of each file to say so.
7093 # So let's grep whole file.
7094 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7095 dirpart=`(dirname "$mf") 2>/dev/null ||
7096 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7097 X"$mf" : 'X\(//\)[^/]' \| \
7098 X"$mf" : 'X\(//\)$' \| \
7099 X"$mf" : 'X\(/\)' \| \
7100 . : '\(.\)' 2>/dev/null ||
7102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7103 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7104 /^X\(\/\/\)$/{ s//\1/; q; }
7105 /^X\(\/\).*/{ s//\1/; q; }
7110 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7111 # Extract the definition of DEP_FILES from the Makefile without
7113 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7114 test -z "$DEPDIR" && continue
7115 # When using ansi2knr, U may be empty or an underscore; expand it
7116 U=`sed -n 's/^U = //p' < "$mf"`
7117 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7118 # We invoke sed twice because it is the simplest approach to
7119 # changing $(DEPDIR) to its actual value in the expansion.
7120 for file in `sed -n '
7121 /^DEP_FILES = .*\\\\$/ {
7130 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7131 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7132 # Make sure the directory exists.
7133 test -f "$dirpart/$file" && continue
7134 fdir=`(dirname "$file") 2>/dev/null ||
7135 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7136 X"$file" : 'X\(//\)[^/]' \| \
7137 X"$file" : 'X\(//\)$' \| \
7138 X"$file" : 'X\(/\)' \| \
7139 . : '\(.\)' 2>/dev/null ||
7141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7142 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7143 /^X\(\/\/\)$/{ s//\1/; q; }
7144 /^X\(\/\).*/{ s//\1/; q; }
7146 { if $as_mkdir_p; then
7147 mkdir -p $dirpart/$fdir
7149 as_dir=$dirpart/$fdir
7151 while test ! -d "$as_dir"; do
7152 as_dirs="$as_dir $as_dirs"
7153 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7154 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7155 X"$as_dir" : 'X\(//\)[^/]' \| \
7156 X"$as_dir" : 'X\(//\)$' \| \
7157 X"$as_dir" : 'X\(/\)' \| \
7158 . : '\(.\)' 2>/dev/null ||
7160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7161 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7162 /^X\(\/\/\)$/{ s//\1/; q; }
7163 /^X\(\/\).*/{ s//\1/; q; }
7166 test ! -n "$as_dirs" || mkdir $as_dirs
7167 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7168 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7169 { (exit 1); exit 1; }; }; }
7171 # echo "creating $dirpart/$file"
7172 echo '# dummy' > "$dirpart/$file"
7180 cat >>$CONFIG_STATUS <<\_ACEOF
7182 { (exit 0); exit 0; }
7184 chmod +x $CONFIG_STATUS
7185 ac_clean_files=$ac_clean_files_save
7188 # configure is writing to config.log, and then calls config.status.
7189 # config.status does its own redirection, appending to config.log.
7190 # Unfortunately, on DOS this fails, as config.log is still kept open
7191 # by configure, so config.status won't be able to write to it; its
7192 # output is simply discarded. So we exec the FD to /dev/null,
7193 # effectively closing config.log, so it can be properly (re)opened and
7194 # appended to by config.status. When coming back to configure, we
7195 # need to make the FD available again.
7196 if test "$no_create" != yes; then
7198 ac_config_status_args=
7199 test "$silent" = yes &&
7200 ac_config_status_args="$ac_config_status_args --quiet"
7202 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7204 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7205 # would make configure fail if this is the last instruction.
7206 $ac_cs_success || { (exit 1); exit 1; }