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 # (even with -Werror). So we grep stderr for any message
2495 # that says an option was ignored.
2496 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2497 am_cv_CXX_dependencies_compiler_type=$depmode
2506 am_cv_CXX_dependencies_compiler_type=none
2510 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2511 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2512 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
2517 test "x$enable_dependency_tracking" != xno \
2518 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
2519 am__fastdepCXX_TRUE=
2520 am__fastdepCXX_FALSE='#'
2522 am__fastdepCXX_TRUE='#'
2523 am__fastdepCXX_FALSE=
2528 ac_cpp='$CPP $CPPFLAGS'
2529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2532 if test -n "$ac_tool_prefix"; then
2533 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2534 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2535 echo "$as_me:$LINENO: checking for $ac_word" >&5
2536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2537 if test "${ac_cv_prog_CC+set}" = set; then
2538 echo $ECHO_N "(cached) $ECHO_C" >&6
2540 if test -n "$CC"; then
2541 ac_cv_prog_CC="$CC" # Let the user override the test.
2543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2547 test -z "$as_dir" && as_dir=.
2548 for ac_exec_ext in '' $ac_executable_extensions; do
2549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2550 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2560 if test -n "$CC"; then
2561 echo "$as_me:$LINENO: result: $CC" >&5
2562 echo "${ECHO_T}$CC" >&6
2564 echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6
2569 if test -z "$ac_cv_prog_CC"; then
2571 # Extract the first word of "gcc", so it can be a program name with args.
2572 set dummy gcc; ac_word=$2
2573 echo "$as_me:$LINENO: checking for $ac_word" >&5
2574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2575 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 if test -n "$ac_ct_CC"; then
2579 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir=.
2586 for ac_exec_ext in '' $ac_executable_extensions; do
2587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2588 ac_cv_prog_ac_ct_CC="gcc"
2589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2598 if test -n "$ac_ct_CC"; then
2599 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2600 echo "${ECHO_T}$ac_ct_CC" >&6
2602 echo "$as_me:$LINENO: result: no" >&5
2603 echo "${ECHO_T}no" >&6
2611 if test -z "$CC"; then
2612 if test -n "$ac_tool_prefix"; then
2613 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2614 set dummy ${ac_tool_prefix}cc; ac_word=$2
2615 echo "$as_me:$LINENO: checking for $ac_word" >&5
2616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2617 if test "${ac_cv_prog_CC+set}" = set; then
2618 echo $ECHO_N "(cached) $ECHO_C" >&6
2620 if test -n "$CC"; then
2621 ac_cv_prog_CC="$CC" # Let the user override the test.
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 test -z "$as_dir" && as_dir=.
2628 for ac_exec_ext in '' $ac_executable_extensions; do
2629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2630 ac_cv_prog_CC="${ac_tool_prefix}cc"
2631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2640 if test -n "$CC"; then
2641 echo "$as_me:$LINENO: result: $CC" >&5
2642 echo "${ECHO_T}$CC" >&6
2644 echo "$as_me:$LINENO: result: no" >&5
2645 echo "${ECHO_T}no" >&6
2649 if test -z "$ac_cv_prog_CC"; then
2651 # Extract the first word of "cc", so it can be a program name with args.
2652 set dummy cc; ac_word=$2
2653 echo "$as_me:$LINENO: checking for $ac_word" >&5
2654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2655 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2656 echo $ECHO_N "(cached) $ECHO_C" >&6
2658 if test -n "$ac_ct_CC"; then
2659 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir=.
2666 for ac_exec_ext in '' $ac_executable_extensions; do
2667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2668 ac_cv_prog_ac_ct_CC="cc"
2669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2677 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2678 if test -n "$ac_ct_CC"; then
2679 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2680 echo "${ECHO_T}$ac_ct_CC" >&6
2682 echo "$as_me:$LINENO: result: no" >&5
2683 echo "${ECHO_T}no" >&6
2692 if test -z "$CC"; then
2693 # Extract the first word of "cc", so it can be a program name with args.
2694 set dummy cc; ac_word=$2
2695 echo "$as_me:$LINENO: checking for $ac_word" >&5
2696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2697 if test "${ac_cv_prog_CC+set}" = set; then
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 if test -n "$CC"; then
2701 ac_cv_prog_CC="$CC" # Let the user override the test.
2704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708 test -z "$as_dir" && as_dir=.
2709 for ac_exec_ext in '' $ac_executable_extensions; do
2710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2711 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2712 ac_prog_rejected=yes
2716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 if test $ac_prog_rejected = yes; then
2723 # We found a bogon in the path, so make sure we never use it.
2724 set dummy $ac_cv_prog_CC
2726 if test $# != 0; then
2727 # We chose a different compiler from the bogus one.
2728 # However, it has the same basename, so the bogon will be chosen
2729 # first if we set CC to just the basename; use the full file name.
2731 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2737 if test -n "$CC"; then
2738 echo "$as_me:$LINENO: result: $CC" >&5
2739 echo "${ECHO_T}$CC" >&6
2741 echo "$as_me:$LINENO: result: no" >&5
2742 echo "${ECHO_T}no" >&6
2746 if test -z "$CC"; then
2747 if test -n "$ac_tool_prefix"; then
2750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2751 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2752 echo "$as_me:$LINENO: checking for $ac_word" >&5
2753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2754 if test "${ac_cv_prog_CC+set}" = set; then
2755 echo $ECHO_N "(cached) $ECHO_C" >&6
2757 if test -n "$CC"; then
2758 ac_cv_prog_CC="$CC" # Let the user override the test.
2760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2764 test -z "$as_dir" && as_dir=.
2765 for ac_exec_ext in '' $ac_executable_extensions; do
2766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2767 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2777 if test -n "$CC"; then
2778 echo "$as_me:$LINENO: result: $CC" >&5
2779 echo "${ECHO_T}$CC" >&6
2781 echo "$as_me:$LINENO: result: no" >&5
2782 echo "${ECHO_T}no" >&6
2785 test -n "$CC" && break
2788 if test -z "$CC"; then
2792 # Extract the first word of "$ac_prog", so it can be a program name with args.
2793 set dummy $ac_prog; ac_word=$2
2794 echo "$as_me:$LINENO: checking for $ac_word" >&5
2795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2796 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2797 echo $ECHO_N "(cached) $ECHO_C" >&6
2799 if test -n "$ac_ct_CC"; then
2800 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2806 test -z "$as_dir" && as_dir=.
2807 for ac_exec_ext in '' $ac_executable_extensions; do
2808 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2809 ac_cv_prog_ac_ct_CC="$ac_prog"
2810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2819 if test -n "$ac_ct_CC"; then
2820 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2821 echo "${ECHO_T}$ac_ct_CC" >&6
2823 echo "$as_me:$LINENO: result: no" >&5
2824 echo "${ECHO_T}no" >&6
2827 test -n "$ac_ct_CC" && break
2836 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2837 See \`config.log' for more details." >&5
2838 echo "$as_me: error: no acceptable C compiler found in \$PATH
2839 See \`config.log' for more details." >&2;}
2840 { (exit 1); exit 1; }; }
2842 # Provide some information about the compiler.
2843 echo "$as_me:$LINENO:" \
2844 "checking for C compiler version" >&5
2845 ac_compiler=`set X $ac_compile; echo $2`
2846 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2847 (eval $ac_compiler --version </dev/null >&5) 2>&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }
2851 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2852 (eval $ac_compiler -v </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); }
2862 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2863 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2864 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2865 echo $ECHO_N "(cached) $ECHO_C" >&6
2867 cat >conftest.$ac_ext <<_ACEOF
2870 cat confdefs.h >>conftest.$ac_ext
2871 cat >>conftest.$ac_ext <<_ACEOF
2872 /* end confdefs.h. */
2885 rm -f conftest.$ac_objext
2886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2887 (eval $ac_compile) 2>conftest.er1
2889 grep -v '^ *+' conftest.er1 >conftest.err
2891 cat conftest.err >&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); } &&
2894 { ac_try='test -z "$ac_c_werror_flag"
2895 || test ! -s conftest.err'
2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; } &&
2901 { ac_try='test -s conftest.$ac_objext'
2902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 (exit $ac_status); }; }; then
2909 echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.$ac_ext >&5
2914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2915 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2918 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2919 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2920 GCC=`test $ac_compiler_gnu = yes && echo yes`
2921 ac_test_CFLAGS=${CFLAGS+set}
2922 ac_save_CFLAGS=$CFLAGS
2924 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2925 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2926 if test "${ac_cv_prog_cc_g+set}" = set; then
2927 echo $ECHO_N "(cached) $ECHO_C" >&6
2929 cat >conftest.$ac_ext <<_ACEOF
2932 cat confdefs.h >>conftest.$ac_ext
2933 cat >>conftest.$ac_ext <<_ACEOF
2934 /* end confdefs.h. */
2944 rm -f conftest.$ac_objext
2945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2946 (eval $ac_compile) 2>conftest.er1
2948 grep -v '^ *+' conftest.er1 >conftest.err
2950 cat conftest.err >&5
2951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952 (exit $ac_status); } &&
2953 { ac_try='test -z "$ac_c_werror_flag"
2954 || test ! -s conftest.err'
2955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); }; } &&
2960 { ac_try='test -s conftest.$ac_objext'
2961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); }; }; then
2968 echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2975 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2976 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2977 if test "$ac_test_CFLAGS" = set; then
2978 CFLAGS=$ac_save_CFLAGS
2979 elif test $ac_cv_prog_cc_g = yes; then
2980 if test "$GCC" = yes; then
2986 if test "$GCC" = yes; then
2992 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2993 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2994 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2995 echo $ECHO_N "(cached) $ECHO_C" >&6
2997 ac_cv_prog_cc_stdc=no
2999 cat >conftest.$ac_ext <<_ACEOF
3002 cat confdefs.h >>conftest.$ac_ext
3003 cat >>conftest.$ac_ext <<_ACEOF
3004 /* end confdefs.h. */
3007 #include <sys/types.h>
3008 #include <sys/stat.h>
3009 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3010 struct buf { int x; };
3011 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3012 static char *e (p, i)
3018 static char *f (char * (*g) (char **, int), char **p, ...)
3023 s = g (p, va_arg (v,int));
3028 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3029 function prototypes and stuff, but not '\xHH' hex character constants.
3030 These don't provoke an error unfortunately, instead are silently treated
3031 as 'x'. The following induces an error, until -std1 is added to get
3032 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3033 array size at least. It's necessary to write '\x00'==0 to get something
3034 that's true only with -std1. */
3035 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3037 int test (int i, double x);
3038 struct s1 {int (*f) (int a);};
3039 struct s2 {int (*f) (double a);};
3040 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3046 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3051 # Don't try gcc -ansi; that turns off useful extensions and
3052 # breaks some systems' header files.
3053 # AIX -qlanglvl=ansi
3054 # Ultrix and OSF/1 -std1
3055 # HP-UX 10.20 and later -Ae
3056 # HP-UX older versions -Aa -D_HPUX_SOURCE
3057 # SVR4 -Xc -D__EXTENSIONS__
3058 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3060 CC="$ac_save_CC $ac_arg"
3061 rm -f conftest.$ac_objext
3062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3063 (eval $ac_compile) 2>conftest.er1
3065 grep -v '^ *+' conftest.er1 >conftest.err
3067 cat conftest.err >&5
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); } &&
3070 { ac_try='test -z "$ac_c_werror_flag"
3071 || test ! -s conftest.err'
3072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); }; } &&
3077 { ac_try='test -s conftest.$ac_objext'
3078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); }; }; then
3083 ac_cv_prog_cc_stdc=$ac_arg
3086 echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.$ac_ext >&5
3090 rm -f conftest.err conftest.$ac_objext
3092 rm -f conftest.$ac_ext conftest.$ac_objext
3097 case "x$ac_cv_prog_cc_stdc" in
3099 echo "$as_me:$LINENO: result: none needed" >&5
3100 echo "${ECHO_T}none needed" >&6 ;;
3102 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3103 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3104 CC="$CC $ac_cv_prog_cc_stdc" ;;
3107 # Some people use a C++ compiler to compile C. Since we use `exit',
3108 # in C++ we need to declare it. In case someone uses the same compiler
3109 # for both compiling C and C++ we need to have the C++ compiler decide
3110 # the declaration of exit, since it's the most demanding environment.
3111 cat >conftest.$ac_ext <<_ACEOF
3116 rm -f conftest.$ac_objext
3117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3118 (eval $ac_compile) 2>conftest.er1
3120 grep -v '^ *+' conftest.er1 >conftest.err
3122 cat conftest.err >&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); } &&
3125 { ac_try='test -z "$ac_c_werror_flag"
3126 || test ! -s conftest.err'
3127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); }; } &&
3132 { ac_try='test -s conftest.$ac_objext'
3133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); }; }; then
3138 for ac_declaration in \
3140 'extern "C" void std::exit (int) throw (); using std::exit;' \
3141 'extern "C" void std::exit (int); using std::exit;' \
3142 'extern "C" void exit (int) throw ();' \
3143 'extern "C" void exit (int);' \
3146 cat >conftest.$ac_ext <<_ACEOF
3149 cat confdefs.h >>conftest.$ac_ext
3150 cat >>conftest.$ac_ext <<_ACEOF
3151 /* end confdefs.h. */
3162 rm -f conftest.$ac_objext
3163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3164 (eval $ac_compile) 2>conftest.er1
3166 grep -v '^ *+' conftest.er1 >conftest.err
3168 cat conftest.err >&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } &&
3171 { ac_try='test -z "$ac_c_werror_flag"
3172 || test ! -s conftest.err'
3173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; } &&
3178 { ac_try='test -s conftest.$ac_objext'
3179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); }; }; then
3186 echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.$ac_ext >&5
3191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3192 cat >conftest.$ac_ext <<_ACEOF
3195 cat confdefs.h >>conftest.$ac_ext
3196 cat >>conftest.$ac_ext <<_ACEOF
3197 /* end confdefs.h. */
3207 rm -f conftest.$ac_objext
3208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3209 (eval $ac_compile) 2>conftest.er1
3211 grep -v '^ *+' conftest.er1 >conftest.err
3213 cat conftest.err >&5
3214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215 (exit $ac_status); } &&
3216 { ac_try='test -z "$ac_c_werror_flag"
3217 || test ! -s conftest.err'
3218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); }; } &&
3223 { ac_try='test -s conftest.$ac_objext'
3224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); }; }; then
3231 echo "$as_me: failed program was:" >&5
3232 sed 's/^/| /' conftest.$ac_ext >&5
3235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3238 if test -n "$ac_declaration"; then
3239 echo '#ifdef __cplusplus' >>confdefs.h
3240 echo $ac_declaration >>confdefs.h
3241 echo '#endif' >>confdefs.h
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3251 ac_cpp='$CPP $CPPFLAGS'
3252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3256 depcc="$CC" am_compiler_list=
3258 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3259 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3260 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3261 echo $ECHO_N "(cached) $ECHO_C" >&6
3263 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3264 # We make a subdir and do the tests there. Otherwise we can end up
3265 # making bogus files that we don't know about and never remove. For
3266 # instance it was reported that on HP-UX the gcc test will end up
3267 # making a dummy file named `D' -- because `-MD' means `put the output
3270 # Copy depcomp to subdir because otherwise we won't find it if we're
3271 # using a relative directory.
3272 cp "$am_depcomp" conftest.dir
3274 # We will build objects and dependencies in a subdirectory because
3275 # it helps to detect inapplicable dependency modes. For instance
3276 # both Tru64's cc and ICC support -MD to output dependencies as a
3277 # side effect of compilation, but ICC will put the dependencies in
3278 # the current directory while Tru64 will put them in the object
3282 am_cv_CC_dependencies_compiler_type=none
3283 if test "$am_compiler_list" = ""; then
3284 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3286 for depmode in $am_compiler_list; do
3287 # Setup a source with many dependencies, because some compilers
3288 # like to wrap large dependency lists on column 80 (with \), and
3289 # we should not choose a depcomp mode which is confused by this.
3291 # We need to recreate these files for each test, as the compiler may
3292 # overwrite some of them when testing with obscure command lines.
3293 # This happens at least with the AIX C compiler.
3295 for i in 1 2 3 4 5 6; do
3296 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3297 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3298 # Solaris 8's {/usr,}/bin/sh.
3299 touch sub/conftst$i.h
3301 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3305 # after this tag, mechanisms are not by side-effect, so they'll
3306 # only be used when explicitly requested
3307 if test "x$enable_dependency_tracking" = xyes; then
3315 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3316 # mode. It turns out that the SunPro C++ compiler does not properly
3317 # handle `-M -o', and we need to detect this.
3318 if depmode=$depmode \
3319 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3320 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3321 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3322 >/dev/null 2>conftest.err &&
3323 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3324 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3325 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3326 # icc doesn't choke on unknown options, it will just issue warnings
3327 # (even with -Werror). So we grep stderr for any message
3328 # that says an option was ignored.
3329 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
3330 am_cv_CC_dependencies_compiler_type=$depmode
3339 am_cv_CC_dependencies_compiler_type=none
3343 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3344 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3345 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3350 test "x$enable_dependency_tracking" != xno \
3351 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3353 am__fastdepCC_FALSE='#'
3355 am__fastdepCC_TRUE='#'
3356 am__fastdepCC_FALSE=
3360 # Find a good install program. We prefer a C program (faster),
3361 # so one script is as good as another. But avoid the broken or
3362 # incompatible versions:
3363 # SysV /etc/install, /usr/sbin/install
3364 # SunOS /usr/etc/install
3365 # IRIX /sbin/install
3367 # AmigaOS /C/install, which installs bootblocks on floppy discs
3368 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3369 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3370 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3371 # OS/2's system install, which has a completely different semantic
3372 # ./install, which can be erroneously created by make from ./install.sh.
3373 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3374 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3375 if test -z "$INSTALL"; then
3376 if test "${ac_cv_path_install+set}" = set; then
3377 echo $ECHO_N "(cached) $ECHO_C" >&6
3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383 test -z "$as_dir" && as_dir=.
3384 # Account for people who put trailing slashes in PATH elements.
3386 ./ | .// | /cC/* | \
3387 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3388 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3391 # OSF1 and SCO ODT 3.0 have their own names for install.
3392 # Don't use installbsd from OSF since it installs stuff as root
3394 for ac_prog in ginstall scoinst install; do
3395 for ac_exec_ext in '' $ac_executable_extensions; do
3396 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3397 if test $ac_prog = install &&
3398 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3399 # AIX install. It has an incompatible calling convention.
3401 elif test $ac_prog = install &&
3402 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3403 # program-specific install script used by HP pwplus--don't use.
3406 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3418 if test "${ac_cv_path_install+set}" = set; then
3419 INSTALL=$ac_cv_path_install
3421 # As a last resort, use the slow shell script. We don't cache a
3422 # path for INSTALL within a source directory, because that will
3423 # break other packages using the cache if that directory is
3424 # removed, or if the path is relative.
3425 INSTALL=$ac_install_sh
3428 echo "$as_me:$LINENO: result: $INSTALL" >&5
3429 echo "${ECHO_T}$INSTALL" >&6
3431 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3432 # It thinks the first close brace ends the variable substitution.
3433 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3435 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3437 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3439 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3440 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3442 if test "$LN_S" = "ln -s"; then
3443 echo "$as_me:$LINENO: result: yes" >&5
3444 echo "${ECHO_T}yes" >&6
3446 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3447 echo "${ECHO_T}no, using $LN_S" >&6
3450 if test -n "$ac_tool_prefix"; then
3451 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3452 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3453 echo "$as_me:$LINENO: checking for $ac_word" >&5
3454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3455 if test "${ac_cv_prog_RANLIB+set}" = set; then
3456 echo $ECHO_N "(cached) $ECHO_C" >&6
3458 if test -n "$RANLIB"; then
3459 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465 test -z "$as_dir" && as_dir=.
3466 for ac_exec_ext in '' $ac_executable_extensions; do
3467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3468 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3477 RANLIB=$ac_cv_prog_RANLIB
3478 if test -n "$RANLIB"; then
3479 echo "$as_me:$LINENO: result: $RANLIB" >&5
3480 echo "${ECHO_T}$RANLIB" >&6
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3487 if test -z "$ac_cv_prog_RANLIB"; then
3488 ac_ct_RANLIB=$RANLIB
3489 # Extract the first word of "ranlib", so it can be a program name with args.
3490 set dummy ranlib; ac_word=$2
3491 echo "$as_me:$LINENO: checking for $ac_word" >&5
3492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3493 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3494 echo $ECHO_N "(cached) $ECHO_C" >&6
3496 if test -n "$ac_ct_RANLIB"; then
3497 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3503 test -z "$as_dir" && as_dir=.
3504 for ac_exec_ext in '' $ac_executable_extensions; do
3505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3506 ac_cv_prog_ac_ct_RANLIB="ranlib"
3507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3513 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3516 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3517 if test -n "$ac_ct_RANLIB"; then
3518 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3519 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3521 echo "$as_me:$LINENO: result: no" >&5
3522 echo "${ECHO_T}no" >&6
3525 RANLIB=$ac_ct_RANLIB
3527 RANLIB="$ac_cv_prog_RANLIB"
3530 if test "x$CC" != xcc; then
3531 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3532 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
3534 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3535 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
3537 set dummy $CC; ac_cc=`echo $2 |
3538 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3539 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3542 cat >conftest.$ac_ext <<_ACEOF
3545 cat confdefs.h >>conftest.$ac_ext
3546 cat >>conftest.$ac_ext <<_ACEOF
3547 /* end confdefs.h. */
3557 # Make sure it works both with $CC and with simple cc.
3558 # We do the test twice because some compilers refuse to overwrite an
3559 # existing .o file with -o, though they will create one.
3560 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3561 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); } &&
3566 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); };
3572 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3573 if test "x$CC" != xcc; then
3574 # Test first that cc exists at all.
3575 if { ac_try='cc -c conftest.$ac_ext >&5'
3576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); }; }; then
3581 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
3582 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); } &&
3587 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); };
3596 # cc exists but doesn't like -o.
3597 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3602 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3607 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
3608 echo "$as_me:$LINENO: result: yes" >&5
3609 echo "${ECHO_T}yes" >&6
3611 echo "$as_me:$LINENO: result: no" >&5
3612 echo "${ECHO_T}no" >&6
3614 cat >>confdefs.h <<\_ACEOF
3615 #define NO_MINUS_C_MINUS_O 1
3620 # FIXME: we rely on the cache variable name because
3621 # there is no other way.
3623 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3624 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3625 # Losing compiler, so override with the script.
3626 # FIXME: It is wrong to rewrite CC.
3627 # But if we don't then we get into trouble of one sort or another.
3628 # A longer-term fix would be to have automake use am__CC in this case,
3629 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3630 CC="$am_aux_dir/compile $CC"
3637 warn_flags="-Werror -W"
3638 echo "$as_me:$LINENO: checking whether the C-compiler accepts ${warn_flags}" >&5
3639 echo $ECHO_N "checking whether the C-compiler accepts ${warn_flags}... $ECHO_C" >&6
3641 ac_cpp='$CPP $CPPFLAGS'
3642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3646 __ensc_check_warnflags_old_CFLAGS="${CFLAGS}"
3647 CFLAGS="$warn_flags"
3648 cat >conftest.$ac_ext <<_ACEOF
3651 cat confdefs.h >>conftest.$ac_ext
3652 cat >>conftest.$ac_ext <<_ACEOF
3653 /* end confdefs.h. */
3654 inline static void f(){}
3663 rm -f conftest.$ac_objext
3664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3665 (eval $ac_compile) 2>conftest.er1
3667 grep -v '^ *+' conftest.er1 >conftest.err
3669 cat conftest.err >&5
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); } &&
3672 { ac_try='test -z "$ac_c_werror_flag"
3673 || test ! -s conftest.err'
3674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); }; } &&
3679 { ac_try='test -s conftest.$ac_objext'
3680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); }; }; then
3685 ensc_sys_compilerwarnflags_C=${warn_flags}
3687 echo "$as_me: failed program was:" >&5
3688 sed 's/^/| /' conftest.$ac_ext >&5
3690 ensc_sys_compilerwarnflags_C=
3692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3694 ac_cpp='$CPP $CPPFLAGS'
3695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3699 CFLAGS="$__ensc_check_warnflags_old_CFLAGS"
3701 if test x"${ensc_sys_compilerwarnflags_C}" = x; then
3702 echo "$as_me:$LINENO: result: no" >&5
3703 echo "${ECHO_T}no" >&6
3705 echo "$as_me:$LINENO: result: yes" >&5
3706 echo "${ECHO_T}yes" >&6
3713 echo 'void f(){}' > conftest.c
3714 for i in -std=c99 -Wall -pedantic -W -Wno-unused-parameter
3716 echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
3717 echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
3718 if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
3720 CFLAGS="${CFLAGS} $i"
3721 echo "$as_me:$LINENO: result: yes" >&5
3722 echo "${ECHO_T}yes" >&6
3724 echo "$as_me:$LINENO: result: no" >&5
3725 echo "${ECHO_T}no" >&6
3728 rm -f conftest.c conftest.o
3733 warn_flags="-Werror -W"
3734 echo "$as_me:$LINENO: checking whether the C++-compiler accepts ${warn_flags}" >&5
3735 echo $ECHO_N "checking whether the C++-compiler accepts ${warn_flags}... $ECHO_C" >&6
3737 ac_cpp='$CXXCPP $CPPFLAGS'
3738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3742 __ensc_check_warnflags_old_CFLAGS="${CXXFLAGS}"
3743 CXXFLAGS="$warn_flags"
3744 cat >conftest.$ac_ext <<_ACEOF
3747 cat confdefs.h >>conftest.$ac_ext
3748 cat >>conftest.$ac_ext <<_ACEOF
3749 /* end confdefs.h. */
3750 inline static void f(){}
3759 rm -f conftest.$ac_objext
3760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3761 (eval $ac_compile) 2>conftest.er1
3763 grep -v '^ *+' conftest.er1 >conftest.err
3765 cat conftest.err >&5
3766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); } &&
3768 { ac_try='test -z "$ac_cxx_werror_flag"
3769 || test ! -s conftest.err'
3770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); }; } &&
3775 { ac_try='test -s conftest.$ac_objext'
3776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); }; }; then
3781 ensc_sys_compilerwarnflags_CXX=${warn_flags}
3783 echo "$as_me: failed program was:" >&5
3784 sed 's/^/| /' conftest.$ac_ext >&5
3786 ensc_sys_compilerwarnflags_CXX=
3788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3790 ac_cpp='$CPP $CPPFLAGS'
3791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3795 CXXFLAGS="$__ensc_check_warnflags_old_CFLAGS"
3797 if test x"${ensc_sys_compilerwarnflags_CXX}" = x; then
3798 echo "$as_me:$LINENO: result: no" >&5
3799 echo "${ECHO_T}no" >&6
3801 echo "$as_me:$LINENO: result: yes" >&5
3802 echo "${ECHO_T}yes" >&6
3809 echo 'void f(){}' > conftest.cc
3810 for i in -ansi -Wall -pedantic -W -fmessage-length=0
3812 echo "$as_me:$LINENO: checking whether $CXX accepts $i" >&5
3813 echo $ECHO_N "checking whether $CXX accepts $i... $ECHO_C" >&6
3814 if test -z "`${CXX} ${ensc_sys_compilerwarnflags_CXX} $i -c conftest.cc 2>&1`"
3816 CXXFLAGS="${CXXFLAGS} $i"
3817 echo "$as_me:$LINENO: result: yes" >&5
3818 echo "${ECHO_T}yes" >&6
3820 echo "$as_me:$LINENO: result: no" >&5
3821 echo "${ECHO_T}no" >&6
3824 rm -f conftest.cc conftest.o
3829 echo "$as_me:$LINENO: checking for linux kernel dir" >&5
3830 echo $ECHO_N "checking for linux kernel dir... $ECHO_C" >&6
3831 if test "${ensc_cv_path_kerneldir+set}" = set; then
3832 echo $ECHO_N "(cached) $ECHO_C" >&6
3836 # Check whether --with-kerneldir or --without-kerneldir was given.
3837 if test "${with_kerneldir+set}" = set; then
3838 withval="$with_kerneldir"
3840 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for kerneldir" >&5
3841 echo "$as_me: error: '$withval' is not a valid value for kerneldir" >&2;}
3842 { (exit 1); exit 1; }; };;
3843 *) ensc_cv_path_kerneldir=$withval;;
3846 ensc_cv_path_kerneldir=
3847 for i in /lib/modules/$(uname -r)/build /usr/src/linux /usr; do
3848 test -e $i/include/linux/version.h && { ensc_cv_path_kerneldir=$i; break; }
3853 echo "$as_me:$LINENO: result: $ensc_cv_path_kerneldir" >&5
3854 echo "${ECHO_T}$ensc_cv_path_kerneldir" >&6
3856 test "$ensc_cv_path_kerneldir" -a -e "$ensc_cv_path_kerneldir"/include/linux/version.h || {
3857 { { echo "$as_me:$LINENO: error: Can not find kernelsources" >&5
3858 echo "$as_me: error: Can not find kernelsources" >&2;}
3859 { (exit 1); exit 1; }; }
3865 echo "$as_me:$LINENO: checking for linux kernel headers" >&5
3866 echo $ECHO_N "checking for linux kernel headers... $ECHO_C" >&6
3867 if test "${ensc_cv_path_kernelheaders+set}" = set; then
3868 echo $ECHO_N "(cached) $ECHO_C" >&6
3871 ensc_cv_path_kernelheaders=$ensc_cv_path_kerneldir/include
3874 echo "$as_me:$LINENO: result: $ensc_cv_path_kernelheaders" >&5
3875 echo "${ECHO_T}$ensc_cv_path_kernelheaders" >&6
3877 if test x"kernelincludedir" != x; then
3878 kernelincludedir=$ensc_cv_path_kernelheaders
3883 echo "$as_me:$LINENO: checking which vserver-rootdir is to use" >&5
3884 echo $ECHO_N "checking which vserver-rootdir is to use... $ECHO_C" >&6
3886 # Check whether --with-vrootdir or --without-vrootdir was given.
3887 if test "${with_vrootdir+set}" = set; then
3888 withval="$with_vrootdir"
3890 yes|no) { { echo "$as_me:$LINENO: error: '$withval' is not a valid value for vrootdir" >&5
3891 echo "$as_me: error: '$withval' is not a valid value for vrootdir" >&2;}
3892 { (exit 1); exit 1; }; };;
3893 *) ensc_uv_path_vrootdir=$withval;;
3896 ensc_uv_path_vrootdir=/vservers
3898 echo "$as_me:$LINENO: result: $ensc_uv_path_vrootdir" >&5
3899 echo "${ECHO_T}$ensc_uv_path_vrootdir" >&6
3901 if test x"vserverdir" != x; then
3902 vserverdir=$ensc_uv_path_vrootdir
3907 if test x"SYSCALL_SWITCH" != x; then
3908 CVS2CL_TAG='-F SYSCALL_SWITCH'
3912 for ac_prog in cvs2cl
3914 # Extract the first word of "$ac_prog", so it can be a program name with args.
3915 set dummy $ac_prog; ac_word=$2
3916 echo "$as_me:$LINENO: checking for $ac_word" >&5
3917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3918 if test "${ac_cv_prog_CVS2CL+set}" = set; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6
3921 if test -n "$CVS2CL"; then
3922 ac_cv_prog_CVS2CL="$CVS2CL" # Let the user override the test.
3924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928 test -z "$as_dir" && as_dir=.
3929 for ac_exec_ext in '' $ac_executable_extensions; do
3930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3931 ac_cv_prog_CVS2CL="$ac_prog"
3932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3940 CVS2CL=$ac_cv_prog_CVS2CL
3941 if test -n "$CVS2CL"; then
3942 echo "$as_me:$LINENO: result: $CVS2CL" >&5
3943 echo "${ECHO_T}$CVS2CL" >&6
3945 echo "$as_me:$LINENO: result: no" >&5
3946 echo "${ECHO_T}no" >&6
3949 test -n "$CVS2CL" && break
3954 if test x"$CVS2CL" != x; then
3956 HAVE_CVS2CL_FALSE='#'
3958 HAVE_CVS2CL_TRUE='#'
3963 for ac_prog in rcs2log
3965 # Extract the first word of "$ac_prog", so it can be a program name with args.
3966 set dummy $ac_prog; ac_word=$2
3967 echo "$as_me:$LINENO: checking for $ac_word" >&5
3968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3969 if test "${ac_cv_prog_RCS2LOG+set}" = set; then
3970 echo $ECHO_N "(cached) $ECHO_C" >&6
3972 if test -n "$RCS2LOG"; then
3973 ac_cv_prog_RCS2LOG="$RCS2LOG" # Let the user override the test.
3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3979 test -z "$as_dir" && as_dir=.
3980 for ac_exec_ext in '' $ac_executable_extensions; do
3981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3982 ac_cv_prog_RCS2LOG="$ac_prog"
3983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3991 RCS2LOG=$ac_cv_prog_RCS2LOG
3992 if test -n "$RCS2LOG"; then
3993 echo "$as_me:$LINENO: result: $RCS2LOG" >&5
3994 echo "${ECHO_T}$RCS2LOG" >&6
3996 echo "$as_me:$LINENO: result: no" >&5
3997 echo "${ECHO_T}no" >&6
4000 test -n "$RCS2LOG" && break
4005 if test x"$RCS2LOG" != x; then
4007 HAVE_RCS2LOG_FALSE='#'
4009 HAVE_RCS2LOG_TRUE='#'
4015 echo "$as_me:$LINENO: checking whether to enable linuxconf modules" >&5
4016 echo $ECHO_N "checking whether to enable linuxconf modules... $ECHO_C" >&6
4017 # Check whether --enable-linuxconf or --disable-linuxconf was given.
4018 if test "${enable_linuxconf+set}" = set; then
4019 enableval="$enable_linuxconf"
4020 case "$enableval" in
4022 *) { { echo "$as_me:$LINENO: error: '$i' is not a supported value for '--enable-linuxconf'" >&5
4023 echo "$as_me: error: '$i' is not a supported value for '--enable-linuxconf'" >&2;}
4024 { (exit 1); exit 1; }; };;
4032 if test x"$enable_linuxconf" = xyes; then
4033 ENSC_ENABLE_LINUXCONF_TRUE=
4034 ENSC_ENABLE_LINUXCONF_FALSE='#'
4036 ENSC_ENABLE_LINUXCONF_TRUE='#'
4037 ENSC_ENABLE_LINUXCONF_FALSE=
4040 echo "$as_me:$LINENO: result: $enable_linuxconf" >&5
4041 echo "${ECHO_T}$enable_linuxconf" >&6
4044 echo "$as_me:$LINENO: checking whether to use internal kernel headers" >&5
4045 echo $ECHO_N "checking whether to use internal kernel headers... $ECHO_C" >&6
4046 # Check whether --enable-internal-headers or --disable-internal-headers was given.
4047 if test "${enable_internal_headers+set}" = set; then
4048 enableval="$enable_internal_headers"
4049 case "$enableval" in
4051 *) { { echo "$as_me:$LINENO: error: '$i' is not a supported value for '--disable-internal-headers'" >&5
4052 echo "$as_me: error: '$i' is not a supported value for '--disable-internal-headers'" >&2;}
4053 { (exit 1); exit 1; }; };;
4056 enable_internal_headers=yes
4061 if test x"$enable_internal_headers" = xyes; then
4062 ENSC_ENABLE_INTERNAL_HEADERS_TRUE=
4063 ENSC_ENABLE_INTERNAL_HEADERS_FALSE='#'
4065 ENSC_ENABLE_INTERNAL_HEADERS_TRUE='#'
4066 ENSC_ENABLE_INTERNAL_HEADERS_FALSE=
4069 echo "$as_me:$LINENO: result: $enable_internal_headers" >&5
4070 echo "${ECHO_T}$enable_internal_headers" >&6
4073 echo "$as_me:$LINENO: checking for supported APIs" >&5
4074 echo $ECHO_N "checking for supported APIs... $ECHO_C" >&6
4075 # Check whether --enable-apis or --disable-apis was given.
4076 if test "${enable_apis+set}" = set; then
4077 enableval="$enable_apis"
4083 test x"$enable_apis" != xALL || enable_apis='legacy,compat,v11'
4086 for i in $enable_apis; do
4089 cat >>confdefs.h <<\_ACEOF
4090 #define VC_ENABLE_API_COMPAT 1
4094 cat >>confdefs.h <<\_ACEOF
4095 #define VC_ENABLE_API_LEGACY 1
4099 cat >>confdefs.h <<\_ACEOF
4100 #define VC_ENABLE_API_V11 1
4103 *) { { echo "$as_me:$LINENO: error: '$i' is not a supported API" >&5
4104 echo "$as_me: error: '$i' is not a supported API" >&2;}
4105 { (exit 1); exit 1; }; };;
4109 echo "$as_me:$LINENO: result: $enable_apis" >&5
4110 echo "${ECHO_T}$enable_apis" >&6
4113 ac_cpp='$CPP $CPPFLAGS'
4114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4117 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4118 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4119 # On Suns, sometimes $CPP names a directory.
4120 if test -n "$CPP" && test -d "$CPP"; then
4123 if test -z "$CPP"; then
4124 if test "${ac_cv_prog_CPP+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 # Double quotes because CPP needs to be expanded
4128 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4131 for ac_c_preproc_warn_flag in '' yes
4133 # Use a header file that comes with gcc, so configuring glibc
4134 # with a fresh cross-compiler works.
4135 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4136 # <limits.h> exists even on freestanding compilers.
4137 # On the NeXT, cc -E runs the code through the compiler's parser,
4138 # not just through cpp. "Syntax error" is here to catch this case.
4139 cat >conftest.$ac_ext <<_ACEOF
4142 cat confdefs.h >>conftest.$ac_ext
4143 cat >>conftest.$ac_ext <<_ACEOF
4144 /* end confdefs.h. */
4146 # include <limits.h>
4148 # include <assert.h>
4152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4153 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4155 grep -v '^ *+' conftest.er1 >conftest.err
4157 cat conftest.err >&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); } >/dev/null; then
4160 if test -s conftest.err; then
4161 ac_cpp_err=$ac_c_preproc_warn_flag
4162 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4169 if test -z "$ac_cpp_err"; then
4172 echo "$as_me: failed program was:" >&5
4173 sed 's/^/| /' conftest.$ac_ext >&5
4175 # Broken: fails on valid input.
4178 rm -f conftest.err conftest.$ac_ext
4180 # OK, works on sane cases. Now check whether non-existent headers
4181 # can be detected and how.
4182 cat >conftest.$ac_ext <<_ACEOF
4185 cat confdefs.h >>conftest.$ac_ext
4186 cat >>conftest.$ac_ext <<_ACEOF
4187 /* end confdefs.h. */
4188 #include <ac_nonexistent.h>
4190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4193 grep -v '^ *+' conftest.er1 >conftest.err
4195 cat conftest.err >&5
4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); } >/dev/null; then
4198 if test -s conftest.err; then
4199 ac_cpp_err=$ac_c_preproc_warn_flag
4200 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4207 if test -z "$ac_cpp_err"; then
4208 # Broken: success on invalid input.
4211 echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.$ac_ext >&5
4214 # Passes both tests.
4218 rm -f conftest.err conftest.$ac_ext
4221 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4222 rm -f conftest.err conftest.$ac_ext
4223 if $ac_preproc_ok; then
4235 echo "$as_me:$LINENO: result: $CPP" >&5
4236 echo "${ECHO_T}$CPP" >&6
4238 for ac_c_preproc_warn_flag in '' yes
4240 # Use a header file that comes with gcc, so configuring glibc
4241 # with a fresh cross-compiler works.
4242 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4243 # <limits.h> exists even on freestanding compilers.
4244 # On the NeXT, cc -E runs the code through the compiler's parser,
4245 # not just through cpp. "Syntax error" is here to catch this case.
4246 cat >conftest.$ac_ext <<_ACEOF
4249 cat confdefs.h >>conftest.$ac_ext
4250 cat >>conftest.$ac_ext <<_ACEOF
4251 /* end confdefs.h. */
4253 # include <limits.h>
4255 # include <assert.h>
4259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4262 grep -v '^ *+' conftest.er1 >conftest.err
4264 cat conftest.err >&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); } >/dev/null; then
4267 if test -s conftest.err; then
4268 ac_cpp_err=$ac_c_preproc_warn_flag
4269 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4276 if test -z "$ac_cpp_err"; then
4279 echo "$as_me: failed program was:" >&5
4280 sed 's/^/| /' conftest.$ac_ext >&5
4282 # Broken: fails on valid input.
4285 rm -f conftest.err conftest.$ac_ext
4287 # OK, works on sane cases. Now check whether non-existent headers
4288 # can be detected and how.
4289 cat >conftest.$ac_ext <<_ACEOF
4292 cat confdefs.h >>conftest.$ac_ext
4293 cat >>conftest.$ac_ext <<_ACEOF
4294 /* end confdefs.h. */
4295 #include <ac_nonexistent.h>
4297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4300 grep -v '^ *+' conftest.er1 >conftest.err
4302 cat conftest.err >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } >/dev/null; then
4305 if test -s conftest.err; then
4306 ac_cpp_err=$ac_c_preproc_warn_flag
4307 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4314 if test -z "$ac_cpp_err"; then
4315 # Broken: success on invalid input.
4318 echo "$as_me: failed program was:" >&5
4319 sed 's/^/| /' conftest.$ac_ext >&5
4321 # Passes both tests.
4325 rm -f conftest.err conftest.$ac_ext
4328 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4329 rm -f conftest.err conftest.$ac_ext
4330 if $ac_preproc_ok; then
4333 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4334 See \`config.log' for more details." >&5
4335 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4336 See \`config.log' for more details." >&2;}
4337 { (exit 1); exit 1; }; }
4341 ac_cpp='$CPP $CPPFLAGS'
4342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4346 echo "$as_me:$LINENO: checking for egrep" >&5
4347 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4348 if test "${ac_cv_prog_egrep+set}" = set; then
4349 echo $ECHO_N "(cached) $ECHO_C" >&6
4351 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4352 then ac_cv_prog_egrep='grep -E'
4353 else ac_cv_prog_egrep='egrep'
4356 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4357 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4358 EGREP=$ac_cv_prog_egrep
4366 echo "$as_me:$LINENO: checking for number of syscall 'vserver'" >&5
4367 echo $ECHO_N "checking for number of syscall 'vserver'... $ECHO_C" >&6
4368 if test "${ensc_cv_value_syscall_vserver+set}" = set; then
4369 echo $ECHO_N "(cached) $ECHO_C" >&6
4373 ac_cpp='$CPP $CPPFLAGS'
4374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4378 cat >conftest.$ac_ext <<_ACEOF
4380 #include <asm/unistd.h>
4382 ensc_syscall_tmp_nr=__NR_vserver;
4383 ensc_syscall_tmp_src=ENSC_MARK
4387 ensc_syscall_tmp_nr=
4388 ensc_syscall_tmp_src=
4389 test "$ensc_syscall_tmp_nr" || \
4390 eval $($CPP $CPPFLAGS -D ENSC_MARK='glibc' conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
4391 test "$ensc_syscall_tmp_nr" || \
4392 eval $($CPP $CPPFLAGS -D ENSC_MARK='kernel' -I $ensc_cv_path_kernelheaders conftest.c | $EGREP '^ensc_syscall_tmp_(nr=[1-9][0-9]*;|src=.*)$')
4393 test "$ensc_syscall_tmp_nr" || {
4394 ensc_syscall_tmp_nr=273
4395 ensc_syscall_tmp_src=default
4398 if test x"$ensc_syscall_tmp_nr" = x; then
4399 { { 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
4400 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;}
4401 { (exit 1); exit 1; }; }
4404 ac_cpp='$CPP $CPPFLAGS'
4405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4410 ensc_cv_value_syscall_vserver="$ensc_syscall_tmp_nr/$ensc_syscall_tmp_src"
4413 echo "$as_me:$LINENO: result: $ensc_cv_value_syscall_vserver" >&5
4414 echo "${ECHO_T}$ensc_cv_value_syscall_vserver" >&6
4416 ensc_syscall_tmp_nr=${ensc_cv_value_syscall_vserver%/*}
4417 ensc_syscall_tmp_src=${ensc_cv_value_syscall_vserver#*/}
4419 if test x"$ensc_syscall_tmp_src" != x'glibc'; then
4421 cat >>confdefs.h <<_ACEOF
4422 #define ENSC_SYSCALL__NR_vserver $ensc_syscall_tmp_nr
4429 echo "$as_me:$LINENO: checking for syscall(2) invocation method" >&5
4430 echo $ECHO_N "checking for syscall(2) invocation method... $ECHO_C" >&6
4432 # Check whether --with-syscall or --without-syscall was given.
4433 if test "${with_syscall+set}" = set; then
4434 withval="$with_syscall"
4439 echo "$as_me:$LINENO: result: $with_syscall" >&5
4440 echo "${ECHO_T}$with_syscall" >&6
4442 case x"$with_syscall" in
4444 echo "$as_me:$LINENO: checking which syscall(2) invocation works" >&5
4445 echo $ECHO_N "checking which syscall(2) invocation works... $ECHO_C" >&6
4446 if test "${ensc_cv_test_syscall+set}" = set; then
4447 echo $ECHO_N "(cached) $ECHO_C" >&6
4451 ac_cpp='$CPP $CPPFLAGS'
4452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4456 cat >conftest.$ac_ext <<_ACEOF
4458 #include <asm/unistd.h>
4459 #include <syscall.h>
4461 #define __NR_foo0 300
4462 #define __NR_foo1 301
4463 #define __NR_foo2 302
4464 #define __NR_foo3 303
4465 #define __NR_foo4 304
4466 #define __NR_foo5 305
4467 inline static _syscall0(int, foo0)
4468 inline static _syscall1(int, foo1, int, a)
4469 inline static _syscall2(int, foo2, int, a, int, b)
4470 inline static _syscall3(int, foo3, int, a, int, b, int, c)
4471 inline static _syscall4(int, foo4, int, a, int, b, int, c, int, d)
4472 inline static _syscall5(int, foo5, int, a, int, b, int, c, int, d, int, e)
4484 rm -f conftest.$ac_objext
4485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4486 (eval $ac_compile) 2>conftest.er1
4488 grep -v '^ *+' conftest.er1 >conftest.err
4490 cat conftest.err >&5
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); } &&
4493 { ac_try='test -z "$ac_c_werror_flag"
4494 || test ! -s conftest.err'
4495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); }; } &&
4500 { ac_try='test -s conftest.$ac_objext'
4501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4505 (exit $ac_status); }; }; then
4506 ensc_cv_test_syscall=fast
4508 echo "$as_me: failed program was:" >&5
4509 sed 's/^/| /' conftest.$ac_ext >&5
4511 ensc_cv_test_syscall=traditional
4513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4516 ac_cpp='$CPP $CPPFLAGS'
4517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4523 echo "$as_me:$LINENO: result: $ensc_cv_test_syscall" >&5
4524 echo "${ECHO_T}$ensc_cv_test_syscall" >&6
4525 with_syscall=$ensc_cv_test_syscall
4530 { { echo "$as_me:$LINENO: error: '$with_syscall' is not a valid value for '--with-syscall'" >&5
4531 echo "$as_me: error: '$with_syscall' is not a valid value for '--with-syscall'" >&2;}
4532 { (exit 1); exit 1; }; }
4536 if test x"$with_syscall" = xtraditional; then
4538 cat >>confdefs.h <<\_ACEOF
4539 #define ENSC_SYSCALL_TRADITIONAL 1
4548 ac_cpp='$CXXCPP $CPPFLAGS'
4549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4552 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4553 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4554 if test -z "$CXXCPP"; then
4555 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4556 echo $ECHO_N "(cached) $ECHO_C" >&6
4558 # Double quotes because CXXCPP needs to be expanded
4559 for CXXCPP in "$CXX -E" "/lib/cpp"
4562 for ac_cxx_preproc_warn_flag in '' yes
4564 # Use a header file that comes with gcc, so configuring glibc
4565 # with a fresh cross-compiler works.
4566 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4567 # <limits.h> exists even on freestanding compilers.
4568 # On the NeXT, cc -E runs the code through the compiler's parser,
4569 # not just through cpp. "Syntax error" is here to catch this case.
4570 cat >conftest.$ac_ext <<_ACEOF
4573 cat confdefs.h >>conftest.$ac_ext
4574 cat >>conftest.$ac_ext <<_ACEOF
4575 /* end confdefs.h. */
4577 # include <limits.h>
4579 # include <assert.h>
4583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4584 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4586 grep -v '^ *+' conftest.er1 >conftest.err
4588 cat conftest.err >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } >/dev/null; then
4591 if test -s conftest.err; then
4592 ac_cpp_err=$ac_cxx_preproc_warn_flag
4593 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4600 if test -z "$ac_cpp_err"; then
4603 echo "$as_me: failed program was:" >&5
4604 sed 's/^/| /' conftest.$ac_ext >&5
4606 # Broken: fails on valid input.
4609 rm -f conftest.err conftest.$ac_ext
4611 # OK, works on sane cases. Now check whether non-existent headers
4612 # can be detected and how.
4613 cat >conftest.$ac_ext <<_ACEOF
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4619 #include <ac_nonexistent.h>
4621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4622 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4624 grep -v '^ *+' conftest.er1 >conftest.err
4626 cat conftest.err >&5
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); } >/dev/null; then
4629 if test -s conftest.err; then
4630 ac_cpp_err=$ac_cxx_preproc_warn_flag
4631 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4638 if test -z "$ac_cpp_err"; then
4639 # Broken: success on invalid input.
4642 echo "$as_me: failed program was:" >&5
4643 sed 's/^/| /' conftest.$ac_ext >&5
4645 # Passes both tests.
4649 rm -f conftest.err conftest.$ac_ext
4652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4653 rm -f conftest.err conftest.$ac_ext
4654 if $ac_preproc_ok; then
4659 ac_cv_prog_CXXCPP=$CXXCPP
4662 CXXCPP=$ac_cv_prog_CXXCPP
4664 ac_cv_prog_CXXCPP=$CXXCPP
4666 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4667 echo "${ECHO_T}$CXXCPP" >&6
4669 for ac_cxx_preproc_warn_flag in '' yes
4671 # Use a header file that comes with gcc, so configuring glibc
4672 # with a fresh cross-compiler works.
4673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4674 # <limits.h> exists even on freestanding compilers.
4675 # On the NeXT, cc -E runs the code through the compiler's parser,
4676 # not just through cpp. "Syntax error" is here to catch this case.
4677 cat >conftest.$ac_ext <<_ACEOF
4680 cat confdefs.h >>conftest.$ac_ext
4681 cat >>conftest.$ac_ext <<_ACEOF
4682 /* end confdefs.h. */
4684 # include <limits.h>
4686 # include <assert.h>
4690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4691 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4693 grep -v '^ *+' conftest.er1 >conftest.err
4695 cat conftest.err >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } >/dev/null; then
4698 if test -s conftest.err; then
4699 ac_cpp_err=$ac_cxx_preproc_warn_flag
4700 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4707 if test -z "$ac_cpp_err"; then
4710 echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.$ac_ext >&5
4713 # Broken: fails on valid input.
4716 rm -f conftest.err conftest.$ac_ext
4718 # OK, works on sane cases. Now check whether non-existent headers
4719 # can be detected and how.
4720 cat >conftest.$ac_ext <<_ACEOF
4723 cat confdefs.h >>conftest.$ac_ext
4724 cat >>conftest.$ac_ext <<_ACEOF
4725 /* end confdefs.h. */
4726 #include <ac_nonexistent.h>
4728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4731 grep -v '^ *+' conftest.er1 >conftest.err
4733 cat conftest.err >&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); } >/dev/null; then
4736 if test -s conftest.err; then
4737 ac_cpp_err=$ac_cxx_preproc_warn_flag
4738 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4745 if test -z "$ac_cpp_err"; then
4746 # Broken: success on invalid input.
4749 echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.$ac_ext >&5
4752 # Passes both tests.
4756 rm -f conftest.err conftest.$ac_ext
4759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4760 rm -f conftest.err conftest.$ac_ext
4761 if $ac_preproc_ok; then
4764 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4765 See \`config.log' for more details." >&5
4766 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4767 See \`config.log' for more details." >&2;}
4768 { (exit 1); exit 1; }; }
4772 ac_cpp='$CXXCPP $CPPFLAGS'
4773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4778 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4779 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4780 if test "${ac_cv_header_stdc+set}" = set; then
4781 echo $ECHO_N "(cached) $ECHO_C" >&6
4783 cat >conftest.$ac_ext <<_ACEOF
4786 cat confdefs.h >>conftest.$ac_ext
4787 cat >>conftest.$ac_ext <<_ACEOF
4788 /* end confdefs.h. */
4802 rm -f conftest.$ac_objext
4803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4804 (eval $ac_compile) 2>conftest.er1
4806 grep -v '^ *+' conftest.er1 >conftest.err
4808 cat conftest.err >&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); } &&
4811 { ac_try='test -z "$ac_cxx_werror_flag"
4812 || test ! -s conftest.err'
4813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); }; } &&
4818 { ac_try='test -s conftest.$ac_objext'
4819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); }; }; then
4824 ac_cv_header_stdc=yes
4826 echo "$as_me: failed program was:" >&5
4827 sed 's/^/| /' conftest.$ac_ext >&5
4829 ac_cv_header_stdc=no
4831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4833 if test $ac_cv_header_stdc = yes; then
4834 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4835 cat >conftest.$ac_ext <<_ACEOF
4838 cat confdefs.h >>conftest.$ac_ext
4839 cat >>conftest.$ac_ext <<_ACEOF
4840 /* end confdefs.h. */
4844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4845 $EGREP "memchr" >/dev/null 2>&1; then
4848 ac_cv_header_stdc=no
4854 if test $ac_cv_header_stdc = yes; then
4855 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4856 cat >conftest.$ac_ext <<_ACEOF
4859 cat confdefs.h >>conftest.$ac_ext
4860 cat >>conftest.$ac_ext <<_ACEOF
4861 /* end confdefs.h. */
4865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4866 $EGREP "free" >/dev/null 2>&1; then
4869 ac_cv_header_stdc=no
4875 if test $ac_cv_header_stdc = yes; then
4876 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4877 if test "$cross_compiling" = yes; then
4880 cat >conftest.$ac_ext <<_ACEOF
4883 cat confdefs.h >>conftest.$ac_ext
4884 cat >>conftest.$ac_ext <<_ACEOF
4885 /* end confdefs.h. */
4887 #if ((' ' & 0x0FF) == 0x020)
4888 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4889 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4891 # define ISLOWER(c) \
4892 (('a' <= (c) && (c) <= 'i') \
4893 || ('j' <= (c) && (c) <= 'r') \
4894 || ('s' <= (c) && (c) <= 'z'))
4895 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4898 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4903 for (i = 0; i < 256; i++)
4904 if (XOR (islower (i), ISLOWER (i))
4905 || toupper (i) != TOUPPER (i))
4910 rm -f conftest$ac_exeext
4911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4912 (eval $ac_link) 2>&5
4914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); }; }; then
4923 echo "$as_me: program exited with status $ac_status" >&5
4924 echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.$ac_ext >&5
4928 ac_cv_header_stdc=no
4930 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4934 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4935 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4936 if test $ac_cv_header_stdc = yes; then
4938 cat >>confdefs.h <<\_ACEOF
4939 #define STDC_HEADERS 1
4944 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4954 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4955 inttypes.h stdint.h unistd.h
4957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4958 echo "$as_me:$LINENO: checking for $ac_header" >&5
4959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4961 echo $ECHO_N "(cached) $ECHO_C" >&6
4963 cat >conftest.$ac_ext <<_ACEOF
4966 cat confdefs.h >>conftest.$ac_ext
4967 cat >>conftest.$ac_ext <<_ACEOF
4968 /* end confdefs.h. */
4969 $ac_includes_default
4971 #include <$ac_header>
4973 rm -f conftest.$ac_objext
4974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4975 (eval $ac_compile) 2>conftest.er1
4977 grep -v '^ *+' conftest.er1 >conftest.err
4979 cat conftest.err >&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); } &&
4982 { ac_try='test -z "$ac_cxx_werror_flag"
4983 || test ! -s conftest.err'
4984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); }; } &&
4989 { ac_try='test -s conftest.$ac_objext'
4990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); }; }; then
4995 eval "$as_ac_Header=yes"
4997 echo "$as_me: failed program was:" >&5
4998 sed 's/^/| /' conftest.$ac_ext >&5
5000 eval "$as_ac_Header=no"
5002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5007 cat >>confdefs.h <<_ACEOF
5008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5018 ac_cpp='$CXXCPP $CPPFLAGS'
5019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5023 echo "$as_me:$LINENO: checking for ext2fs-headers" >&5
5024 echo $ECHO_N "checking for ext2fs-headers... $ECHO_C" >&6
5025 if test "${ensc_cv_test_ext2fs_header+set}" = set; then
5026 echo $ECHO_N "(cached) $ECHO_C" >&6
5029 cat >conftest.$ac_ext <<_ACEOF
5032 cat confdefs.h >>conftest.$ac_ext
5033 cat >>conftest.$ac_ext <<_ACEOF
5034 /* end confdefs.h. */
5035 #include <ext2fs/ext2_fs.h>
5036 int main() { return 0; }
5038 rm -f conftest.$ac_objext
5039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5040 (eval $ac_compile) 2>conftest.er1
5042 grep -v '^ *+' conftest.er1 >conftest.err
5044 cat conftest.err >&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); } &&
5047 { ac_try='test -z "$ac_cxx_werror_flag"
5048 || test ! -s conftest.err'
5049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); }; } &&
5054 { ac_try='test -s conftest.$ac_objext'
5055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); }; }; then
5060 ensc_cv_test_ext2fs_header=e2fsprogs
5062 echo "$as_me: failed program was:" >&5
5063 sed 's/^/| /' conftest.$ac_ext >&5
5066 cat >conftest.$ac_ext <<_ACEOF
5069 cat confdefs.h >>conftest.$ac_ext
5070 cat >>conftest.$ac_ext <<_ACEOF
5071 /* end confdefs.h. */
5072 #include <linux/ext2_fs.h>
5073 int main() { return 0; }
5075 rm -f conftest.$ac_objext
5076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5077 (eval $ac_compile) 2>conftest.er1
5079 grep -v '^ *+' conftest.er1 >conftest.err
5081 cat conftest.err >&5
5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083 (exit $ac_status); } &&
5084 { ac_try='test -z "$ac_cxx_werror_flag"
5085 || test ! -s conftest.err'
5086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5090 (exit $ac_status); }; } &&
5091 { ac_try='test -s conftest.$ac_objext'
5092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); }; }; then
5097 ensc_cv_test_ext2fs_header=kernel
5099 echo "$as_me: failed program was:" >&5
5100 sed 's/^/| /' conftest.$ac_ext >&5
5103 ensc_cv_test_ext2fs_header=none
5105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5109 echo "$as_me:$LINENO: result: $ensc_cv_test_ext2fs_header" >&5
5110 echo "${ECHO_T}$ensc_cv_test_ext2fs_header" >&6
5112 case x"$ensc_cv_test_ext2fs_header" in
5114 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
5115 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
5116 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
5117 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
5118 echo $ECHO_N "(cached) $ECHO_C" >&6
5120 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
5121 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
5123 # Is the header compilable?
5124 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h usability" >&5
5125 echo $ECHO_N "checking ext2fs/ext2_fs.h usability... $ECHO_C" >&6
5126 cat >conftest.$ac_ext <<_ACEOF
5129 cat confdefs.h >>conftest.$ac_ext
5130 cat >>conftest.$ac_ext <<_ACEOF
5131 /* end confdefs.h. */
5132 $ac_includes_default
5133 #include <ext2fs/ext2_fs.h>
5135 rm -f conftest.$ac_objext
5136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5137 (eval $ac_compile) 2>conftest.er1
5139 grep -v '^ *+' conftest.er1 >conftest.err
5141 cat conftest.err >&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); } &&
5144 { ac_try='test -z "$ac_cxx_werror_flag"
5145 || test ! -s conftest.err'
5146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); }; } &&
5151 { ac_try='test -s conftest.$ac_objext'
5152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156 (exit $ac_status); }; }; then
5157 ac_header_compiler=yes
5159 echo "$as_me: failed program was:" >&5
5160 sed 's/^/| /' conftest.$ac_ext >&5
5162 ac_header_compiler=no
5164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5166 echo "${ECHO_T}$ac_header_compiler" >&6
5168 # Is the header present?
5169 echo "$as_me:$LINENO: checking ext2fs/ext2_fs.h presence" >&5
5170 echo $ECHO_N "checking ext2fs/ext2_fs.h presence... $ECHO_C" >&6
5171 cat >conftest.$ac_ext <<_ACEOF
5174 cat confdefs.h >>conftest.$ac_ext
5175 cat >>conftest.$ac_ext <<_ACEOF
5176 /* end confdefs.h. */
5177 #include <ext2fs/ext2_fs.h>
5179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5180 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5182 grep -v '^ *+' conftest.er1 >conftest.err
5184 cat conftest.err >&5
5185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5186 (exit $ac_status); } >/dev/null; then
5187 if test -s conftest.err; then
5188 ac_cpp_err=$ac_cxx_preproc_warn_flag
5189 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5196 if test -z "$ac_cpp_err"; then
5197 ac_header_preproc=yes
5199 echo "$as_me: failed program was:" >&5
5200 sed 's/^/| /' conftest.$ac_ext >&5
5202 ac_header_preproc=no
5204 rm -f conftest.err conftest.$ac_ext
5205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5206 echo "${ECHO_T}$ac_header_preproc" >&6
5208 # So? What about this header?
5209 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5211 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
5212 echo "$as_me: WARNING: ext2fs/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5213 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&5
5214 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the compiler's result" >&2;}
5215 ac_header_preproc=yes
5218 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&5
5219 echo "$as_me: WARNING: ext2fs/ext2_fs.h: present but cannot be compiled" >&2;}
5220 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&5
5221 echo "$as_me: WARNING: ext2fs/ext2_fs.h: check for missing prerequisite headers?" >&2;}
5222 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&5
5223 echo "$as_me: WARNING: ext2fs/ext2_fs.h: see the Autoconf documentation" >&2;}
5224 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
5225 echo "$as_me: WARNING: ext2fs/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
5226 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&5
5227 echo "$as_me: WARNING: ext2fs/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
5228 { echo "$as_me:$LINENO: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&5
5229 echo "$as_me: WARNING: ext2fs/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
5232 ## ------------------------------------------------------ ##
5233 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
5234 ## ------------------------------------------------------ ##
5237 sed "s/^/$as_me: WARNING: /" >&2
5240 echo "$as_me:$LINENO: checking for ext2fs/ext2_fs.h" >&5
5241 echo $ECHO_N "checking for ext2fs/ext2_fs.h... $ECHO_C" >&6
5242 if test "${ac_cv_header_ext2fs_ext2_fs_h+set}" = set; then
5243 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 ac_cv_header_ext2fs_ext2_fs_h=$ac_header_preproc
5247 echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2_fs_h" >&5
5248 echo "${ECHO_T}$ac_cv_header_ext2fs_ext2_fs_h" >&6
5251 if test $ac_cv_header_ext2fs_ext2_fs_h = yes; then
5253 cat >>confdefs.h <<\_ACEOF
5254 #define ENSC_HAVE_EXT2FS_EXT2_FS_H 1
5258 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
5259 See \`config.log' for more details." >&5
5260 echo "$as_me: error: unexpected error while checkin for <ext2fs/ext2_fs.h>
5261 See \`config.log' for more details." >&2;}
5262 { (exit 1); exit 1; }; }
5268 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
5269 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
5270 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
5271 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
5272 echo $ECHO_N "(cached) $ECHO_C" >&6
5274 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
5275 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
5277 # Is the header compilable?
5278 echo "$as_me:$LINENO: checking linux/ext2_fs.h usability" >&5
5279 echo $ECHO_N "checking linux/ext2_fs.h usability... $ECHO_C" >&6
5280 cat >conftest.$ac_ext <<_ACEOF
5283 cat confdefs.h >>conftest.$ac_ext
5284 cat >>conftest.$ac_ext <<_ACEOF
5285 /* end confdefs.h. */
5286 $ac_includes_default
5287 #include <linux/ext2_fs.h>
5289 rm -f conftest.$ac_objext
5290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5291 (eval $ac_compile) 2>conftest.er1
5293 grep -v '^ *+' conftest.er1 >conftest.err
5295 cat conftest.err >&5
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); } &&
5298 { ac_try='test -z "$ac_cxx_werror_flag"
5299 || test ! -s conftest.err'
5300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304 (exit $ac_status); }; } &&
5305 { ac_try='test -s conftest.$ac_objext'
5306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); }; }; then
5311 ac_header_compiler=yes
5313 echo "$as_me: failed program was:" >&5
5314 sed 's/^/| /' conftest.$ac_ext >&5
5316 ac_header_compiler=no
5318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5319 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5320 echo "${ECHO_T}$ac_header_compiler" >&6
5322 # Is the header present?
5323 echo "$as_me:$LINENO: checking linux/ext2_fs.h presence" >&5
5324 echo $ECHO_N "checking linux/ext2_fs.h presence... $ECHO_C" >&6
5325 cat >conftest.$ac_ext <<_ACEOF
5328 cat confdefs.h >>conftest.$ac_ext
5329 cat >>conftest.$ac_ext <<_ACEOF
5330 /* end confdefs.h. */
5331 #include <linux/ext2_fs.h>
5333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5334 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5336 grep -v '^ *+' conftest.er1 >conftest.err
5338 cat conftest.err >&5
5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); } >/dev/null; then
5341 if test -s conftest.err; then
5342 ac_cpp_err=$ac_cxx_preproc_warn_flag
5343 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5350 if test -z "$ac_cpp_err"; then
5351 ac_header_preproc=yes
5353 echo "$as_me: failed program was:" >&5
5354 sed 's/^/| /' conftest.$ac_ext >&5
5356 ac_header_preproc=no
5358 rm -f conftest.err conftest.$ac_ext
5359 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5360 echo "${ECHO_T}$ac_header_preproc" >&6
5362 # So? What about this header?
5363 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5365 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&5
5366 echo "$as_me: WARNING: linux/ext2_fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5367 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&5
5368 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the compiler's result" >&2;}
5369 ac_header_preproc=yes
5372 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&5
5373 echo "$as_me: WARNING: linux/ext2_fs.h: present but cannot be compiled" >&2;}
5374 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&5
5375 echo "$as_me: WARNING: linux/ext2_fs.h: check for missing prerequisite headers?" >&2;}
5376 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&5
5377 echo "$as_me: WARNING: linux/ext2_fs.h: see the Autoconf documentation" >&2;}
5378 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&5
5379 echo "$as_me: WARNING: linux/ext2_fs.h: section \"Present But Cannot Be Compiled\"" >&2;}
5380 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&5
5381 echo "$as_me: WARNING: linux/ext2_fs.h: proceeding with the preprocessor's result" >&2;}
5382 { echo "$as_me:$LINENO: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&5
5383 echo "$as_me: WARNING: linux/ext2_fs.h: in the future, the compiler will take precedence" >&2;}
5386 ## ------------------------------------------------------ ##
5387 ## Report this to enrico.scholz@informatik.tu-chemnitz.de ##
5388 ## ------------------------------------------------------ ##
5391 sed "s/^/$as_me: WARNING: /" >&2
5394 echo "$as_me:$LINENO: checking for linux/ext2_fs.h" >&5
5395 echo $ECHO_N "checking for linux/ext2_fs.h... $ECHO_C" >&6
5396 if test "${ac_cv_header_linux_ext2_fs_h+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5399 ac_cv_header_linux_ext2_fs_h=$ac_header_preproc
5401 echo "$as_me:$LINENO: result: $ac_cv_header_linux_ext2_fs_h" >&5
5402 echo "${ECHO_T}$ac_cv_header_linux_ext2_fs_h" >&6
5405 if test $ac_cv_header_linux_ext2_fs_h = yes; then
5407 cat >>confdefs.h <<\_ACEOF
5408 #define ENSC_HAVE_LINUX_EXT2_FS_H 1
5412 { { echo "$as_me:$LINENO: error: unexpected error while checkin for <linux/ext2_fs.h>
5413 See \`config.log' for more details." >&5
5414 echo "$as_me: error: unexpected error while checkin for <linux/ext2_fs.h>
5415 See \`config.log' for more details." >&2;}
5416 { (exit 1); exit 1; }; }
5422 { { echo "$as_me:$LINENO: error:
5423 ext2fs headers were not found, or they are not usable. This can have
5424 the following reasons:
5426 * you have neither the e2fsprogs nor the kernel headers installed
5428 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
5429 and you do not have e2fsprogs headers installed; please try to install
5430 - e2fsprogs-devel (for Red Hat), or
5431 - libext2fs2-devel (for Mandrake), or
5432 - e2fslibs-dev (for Debian)
5435 * kernel headers are broken and your e2fsprogs headers are too old;
5436 until version 1.27 (inclusive), they are using reserved C++ keywords
5438 * kernel headers are broken and your e2fsprogs headers are too new;
5439 recent (January 2004) BK snapshots of e2fsprogs are unusable for
5440 C++, for details and a solution see
5441 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
5444 In the latter two cases you have the following options:
5445 * fix the headers manually, or
5446 * install a stable version of e2fsprogs (e.g. 1.34), or
5447 * use good kernel headers (from linux 2.4.x)
5449 See \`config.log' for more details." >&5
5450 echo "$as_me: error:
5451 ext2fs headers were not found, or they are not usable. This can have
5452 the following reasons:
5454 * you have neither the e2fsprogs nor the kernel headers installed
5456 * kernel headers are broken (e.g. these of linux 2.6 are known to be)
5457 and you do not have e2fsprogs headers installed; please try to install
5458 - e2fsprogs-devel (for Red Hat), or
5459 - libext2fs2-devel (for Mandrake), or
5460 - e2fslibs-dev (for Debian)
5463 * kernel headers are broken and your e2fsprogs headers are too old;
5464 until version 1.27 (inclusive), they are using reserved C++ keywords
5466 * kernel headers are broken and your e2fsprogs headers are too new;
5467 recent (January 2004) BK snapshots of e2fsprogs are unusable for
5468 C++, for details and a solution see
5469 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=112448
5472 In the latter two cases you have the following options:
5473 * fix the headers manually, or
5474 * install a stable version of e2fsprogs (e.g. 1.34), or
5475 * use good kernel headers (from linux 2.4.x)
5477 See \`config.log' for more details." >&2;}
5478 { (exit 1); exit 1; }; }
5482 ac_cpp='$CPP $CPPFLAGS'
5483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5489 for ac_func in vserver
5491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5492 echo "$as_me:$LINENO: checking for $ac_func" >&5
5493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5494 if eval "test \"\${$as_ac_var+set}\" = set"; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 cat >conftest.$ac_ext <<_ACEOF
5500 cat confdefs.h >>conftest.$ac_ext
5501 cat >>conftest.$ac_ext <<_ACEOF
5502 /* end confdefs.h. */
5503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5505 #define $ac_func innocuous_$ac_func
5507 /* System header to define __stub macros and hopefully few prototypes,
5508 which can conflict with char $ac_func (); below.
5509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5510 <limits.h> exists even on freestanding compilers. */
5513 # include <limits.h>
5515 # include <assert.h>
5520 /* Override any gcc2 internal prototype to avoid an error. */
5525 /* We use char because int might match the return type of a gcc2
5526 builtin and then its argument prototype would still apply. */
5528 /* The GNU C library defines this for functions which it implements
5529 to always fail with ENOSYS. Some functions are actually named
5530 something starting with __ and the normal name is an alias. */
5531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5534 char (*f) () = $ac_func;
5543 return f != $ac_func;
5548 rm -f conftest.$ac_objext conftest$ac_exeext
5549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5550 (eval $ac_link) 2>conftest.er1
5552 grep -v '^ *+' conftest.er1 >conftest.err
5554 cat conftest.err >&5
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); } &&
5557 { ac_try='test -z "$ac_c_werror_flag"
5558 || test ! -s conftest.err'
5559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); }; } &&
5564 { ac_try='test -s conftest$ac_exeext'
5565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); }; }; then
5570 eval "$as_ac_var=yes"
5572 echo "$as_me: failed program was:" >&5
5573 sed 's/^/| /' conftest.$ac_ext >&5
5575 eval "$as_ac_var=no"
5577 rm -f conftest.err conftest.$ac_objext \
5578 conftest$ac_exeext conftest.$ac_ext
5580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5582 if test `eval echo '${'$as_ac_var'}'` = yes; then
5583 cat >>confdefs.h <<_ACEOF
5584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5590 echo "$as_me:$LINENO: checking whether MS_MOVE is declared" >&5
5591 echo $ECHO_N "checking whether MS_MOVE is declared... $ECHO_C" >&6
5592 if test "${ac_cv_have_decl_MS_MOVE+set}" = set; then
5593 echo $ECHO_N "(cached) $ECHO_C" >&6
5595 cat >conftest.$ac_ext <<_ACEOF
5598 cat confdefs.h >>conftest.$ac_ext
5599 cat >>conftest.$ac_ext <<_ACEOF
5600 /* end confdefs.h. */
5601 #include <linux/fs.h>
5607 char *p = (char *) MS_MOVE;
5614 rm -f conftest.$ac_objext
5615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5616 (eval $ac_compile) 2>conftest.er1
5618 grep -v '^ *+' conftest.er1 >conftest.err
5620 cat conftest.err >&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } &&
5623 { ac_try='test -z "$ac_c_werror_flag"
5624 || test ! -s conftest.err'
5625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629 (exit $ac_status); }; } &&
5630 { ac_try='test -s conftest.$ac_objext'
5631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635 (exit $ac_status); }; }; then
5636 ac_cv_have_decl_MS_MOVE=yes
5638 echo "$as_me: failed program was:" >&5
5639 sed 's/^/| /' conftest.$ac_ext >&5
5641 ac_cv_have_decl_MS_MOVE=no
5643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5645 echo "$as_me:$LINENO: result: $ac_cv_have_decl_MS_MOVE" >&5
5646 echo "${ECHO_T}$ac_cv_have_decl_MS_MOVE" >&6
5647 if test $ac_cv_have_decl_MS_MOVE = yes; then
5649 cat >>confdefs.h <<_ACEOF
5650 #define HAVE_DECL_MS_MOVE 1
5655 cat >>confdefs.h <<_ACEOF
5656 #define HAVE_DECL_MS_MOVE 0
5663 echo "$as_me:$LINENO: checking for xid_t" >&5
5664 echo $ECHO_N "checking for xid_t... $ECHO_C" >&6
5665 if test "${ac_cv_type_xid_t+set}" = set; then
5666 echo $ECHO_N "(cached) $ECHO_C" >&6
5668 cat >conftest.$ac_ext <<_ACEOF
5671 cat confdefs.h >>conftest.$ac_ext
5672 cat >>conftest.$ac_ext <<_ACEOF
5673 /* end confdefs.h. */
5674 #include <sys/types.h>
5687 rm -f conftest.$ac_objext
5688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5689 (eval $ac_compile) 2>conftest.er1
5691 grep -v '^ *+' conftest.er1 >conftest.err
5693 cat conftest.err >&5
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); } &&
5696 { ac_try='test -z "$ac_c_werror_flag"
5697 || test ! -s conftest.err'
5698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5702 (exit $ac_status); }; } &&
5703 { ac_try='test -s conftest.$ac_objext'
5704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708 (exit $ac_status); }; }; then
5709 ac_cv_type_xid_t=yes
5711 echo "$as_me: failed program was:" >&5
5712 sed 's/^/| /' conftest.$ac_ext >&5
5716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5718 echo "$as_me:$LINENO: result: $ac_cv_type_xid_t" >&5
5719 echo "${ECHO_T}$ac_cv_type_xid_t" >&6
5720 if test $ac_cv_type_xid_t = yes; then
5722 cat >>confdefs.h <<_ACEOF
5723 #define HAVE_XID_T 1
5730 ac_config_files="$ac_config_files util-vserver.spec Makefile"
5732 cat >confcache <<\_ACEOF
5733 # This file is a shell script that caches the results of configure
5734 # tests run on this system so they can be shared between configure
5735 # scripts and configure runs, see configure's option --config-cache.
5736 # It is not useful on other systems. If it contains results you don't
5737 # want to keep, you may remove or edit it.
5739 # config.status only pays attention to the cache file if you give it
5740 # the --recheck option to rerun configure.
5742 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5743 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5748 # The following way of writing the cache mishandles newlines in values,
5749 # but we know of no workaround that is simple, portable, and efficient.
5750 # So, don't put newlines in cache variables' values.
5751 # Ultrix sh set writes to stderr and can't be redirected directly,
5752 # and sets the high bit in the cache file unless we assign to the vars.
5755 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5757 # `set' does not quote correctly, so add quotes (double-quote
5758 # substitution turns \\\\ into \\, and sed turns \\ into \).
5761 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5764 # `set' quotes correctly as required by POSIX, so do not add quotes.
5766 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5773 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5775 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5777 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5778 if test -w $cache_file; then
5779 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5780 cat confcache >$cache_file
5782 echo "not updating unwritable cache $cache_file"
5787 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5788 # Let make expand exec_prefix.
5789 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5791 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5792 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5793 # trailing colons and then remove the whole line if VPATH becomes empty
5794 # (actually we leave an empty line to preserve line numbers).
5795 if test "x$srcdir" = x.; then
5796 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5797 s/:*\$(srcdir):*/:/;
5798 s/:*\${srcdir}:*/:/;
5800 s/^\([^=]*=[ ]*\):*/\1/;
5806 DEFS=-DHAVE_CONFIG_H
5810 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5811 # 1. Remove the extension, and $U if already installed.
5812 ac_i=`echo "$ac_i" |
5813 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5815 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5816 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5820 LTLIBOBJS=$ac_ltlibobjs
5823 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5824 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5825 Usually this means the macro was only invoked conditionally." >&5
5826 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5827 Usually this means the macro was only invoked conditionally." >&2;}
5828 { (exit 1); exit 1; }; }
5830 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5831 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5832 Usually this means the macro was only invoked conditionally." >&5
5833 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5834 Usually this means the macro was only invoked conditionally." >&2;}
5835 { (exit 1); exit 1; }; }
5837 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
5838 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
5839 Usually this means the macro was only invoked conditionally." >&5
5840 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
5841 Usually this means the macro was only invoked conditionally." >&2;}
5842 { (exit 1); exit 1; }; }
5844 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5845 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5846 Usually this means the macro was only invoked conditionally." >&5
5847 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5848 Usually this means the macro was only invoked conditionally." >&2;}
5849 { (exit 1); exit 1; }; }
5851 if test -z "${HAVE_CVS2CL_TRUE}" && test -z "${HAVE_CVS2CL_FALSE}"; then
5852 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CVS2CL\" was never defined.
5853 Usually this means the macro was only invoked conditionally." >&5
5854 echo "$as_me: error: conditional \"HAVE_CVS2CL\" was never defined.
5855 Usually this means the macro was only invoked conditionally." >&2;}
5856 { (exit 1); exit 1; }; }
5858 if test -z "${HAVE_RCS2LOG_TRUE}" && test -z "${HAVE_RCS2LOG_FALSE}"; then
5859 { { echo "$as_me:$LINENO: error: conditional \"HAVE_RCS2LOG\" was never defined.
5860 Usually this means the macro was only invoked conditionally." >&5
5861 echo "$as_me: error: conditional \"HAVE_RCS2LOG\" was never defined.
5862 Usually this means the macro was only invoked conditionally." >&2;}
5863 { (exit 1); exit 1; }; }
5865 if test -z "${ENSC_ENABLE_LINUXCONF_TRUE}" && test -z "${ENSC_ENABLE_LINUXCONF_FALSE}"; then
5866 { { echo "$as_me:$LINENO: error: conditional \"ENSC_ENABLE_LINUXCONF\" was never defined.
5867 Usually this means the macro was only invoked conditionally." >&5
5868 echo "$as_me: error: conditional \"ENSC_ENABLE_LINUXCONF\" was never defined.
5869 Usually this means the macro was only invoked conditionally." >&2;}
5870 { (exit 1); exit 1; }; }
5872 if test -z "${ENSC_ENABLE_INTERNAL_HEADERS_TRUE}" && test -z "${ENSC_ENABLE_INTERNAL_HEADERS_FALSE}"; then
5873 { { echo "$as_me:$LINENO: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
5874 Usually this means the macro was only invoked conditionally." >&5
5875 echo "$as_me: error: conditional \"ENSC_ENABLE_INTERNAL_HEADERS\" was never defined.
5876 Usually this means the macro was only invoked conditionally." >&2;}
5877 { (exit 1); exit 1; }; }
5880 : ${CONFIG_STATUS=./config.status}
5881 ac_clean_files_save=$ac_clean_files
5882 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5883 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5884 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5885 cat >$CONFIG_STATUS <<_ACEOF
5887 # Generated by $as_me.
5888 # Run this file to recreate the current configuration.
5889 # Compiler output produced by configure, useful for debugging
5890 # configure, is in config.log if it exists.
5895 SHELL=\${CONFIG_SHELL-$SHELL}
5898 cat >>$CONFIG_STATUS <<\_ACEOF
5899 ## --------------------- ##
5900 ## M4sh Initialization. ##
5901 ## --------------------- ##
5903 # Be Bourne compatible
5904 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5907 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5908 # is contrary to our usage. Disable this feature.
5909 alias -g '${1+"$@"}'='"$@"'
5910 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5913 DUALCASE=1; export DUALCASE # for MKS sh
5915 # Support unset when possible.
5916 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5923 # Work around bugs in pre-3.0 UWIN ksh.
5924 $as_unset ENV MAIL MAILPATH
5931 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5932 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5933 LC_TELEPHONE LC_TIME
5935 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5936 eval $as_var=C; export $as_var
5942 # Required to use basename.
5943 if expr a : '\(a\)' >/dev/null 2>&1; then
5949 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5950 as_basename=basename
5956 # Name of the executable.
5957 as_me=`$as_basename "$0" ||
5958 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5959 X"$0" : 'X\(//\)$' \| \
5960 X"$0" : 'X\(/\)$' \| \
5961 . : '\(.\)' 2>/dev/null ||
5963 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5964 /^X\/\(\/\/\)$/{ s//\1/; q; }
5965 /^X\/\(\/\).*/{ s//\1/; q; }
5969 # PATH needs CR, and LINENO needs CR and PATH.
5970 # Avoid depending upon Character Ranges.
5971 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5972 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5973 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5974 as_cr_digits='0123456789'
5975 as_cr_alnum=$as_cr_Letters$as_cr_digits
5977 # The user is always right.
5978 if test "${PATH_SEPARATOR+set}" != set; then
5979 echo "#! /bin/sh" >conf$$.sh
5980 echo "exit 0" >>conf$$.sh
5982 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5993 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5994 test "x$as_lineno_1" != "x$as_lineno_2" &&
5995 test "x$as_lineno_3" = "x$as_lineno_2" || {
5996 # Find who we are. Look in the path if we contain no path at all
5999 *[\\/]* ) as_myself=$0 ;;
6000 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 test -z "$as_dir" && as_dir=.
6005 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6010 # We did not find ourselves, most probably we were run as `sh COMMAND'
6011 # in which case we are not to be found in the path.
6012 if test "x$as_myself" = x; then
6015 if test ! -f "$as_myself"; then
6016 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6017 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6018 { (exit 1); exit 1; }; }
6020 case $CONFIG_SHELL in
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6026 test -z "$as_dir" && as_dir=.
6027 for as_base in sh bash ksh sh5; do
6030 if ("$as_dir/$as_base" -c '
6033 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6034 test "x$as_lineno_1" != "x$as_lineno_2" &&
6035 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6036 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6037 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6038 CONFIG_SHELL=$as_dir/$as_base
6040 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6048 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6049 # uniformly replaced by the line number. The first 'sed' inserts a
6050 # line-number line before each line; the second 'sed' does the real
6051 # work. The second script uses 'N' to pair each line-number line
6052 # with the numbered line, and appends trailing '-' during
6053 # substitution so that $LINENO is not a special case at line end.
6054 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6055 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6056 sed '=' <$as_myself |
6061 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6064 s,^['$as_cr_digits']*\n,,
6066 chmod +x $as_me.lineno ||
6067 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6068 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6069 { (exit 1); exit 1; }; }
6071 # Don't try to exec as it changes $[0], causing all sort of problems
6072 # (the dirname of $[0] is not the place where we might find the
6073 # original and so on. Autoconf is especially sensible to this).
6075 # Exit status is that of the last command.
6080 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6081 *c*,-n*) ECHO_N= ECHO_C='
6083 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6084 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6087 if expr a : '\(a\)' >/dev/null 2>&1; then
6093 rm -f conf$$ conf$$.exe conf$$.file
6095 if ln -s conf$$.file conf$$ 2>/dev/null; then
6096 # We could just check for DJGPP; but this test a) works b) is more generic
6097 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6098 if test -f conf$$.exe; then
6099 # Don't use ln at all; we don't have any links
6104 elif ln conf$$.file conf$$ 2>/dev/null; then
6109 rm -f conf$$ conf$$.exe conf$$.file
6111 if mkdir -p . 2>/dev/null; then
6114 test -d ./-p && rmdir ./-p
6118 as_executable_p="test -f"
6120 # Sed expression to map a string onto a valid CPP name.
6121 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6123 # Sed expression to map a string onto a valid variable name.
6124 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6128 # We need space, tab and new line, in precisely that order.
6138 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6139 # report actual input values of CONFIG_FILES etc. instead of their
6140 # values after options handling. Logging --version etc. is OK.
6144 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6145 ## Running $as_me. ##
6150 This file was extended by util-vserver $as_me 0.30, which was
6151 generated by GNU Autoconf 2.59. Invocation command line was
6153 CONFIG_FILES = $CONFIG_FILES
6154 CONFIG_HEADERS = $CONFIG_HEADERS
6155 CONFIG_LINKS = $CONFIG_LINKS
6156 CONFIG_COMMANDS = $CONFIG_COMMANDS
6160 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6164 # Files that config.status was made for.
6165 if test -n "$ac_config_files"; then
6166 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6169 if test -n "$ac_config_headers"; then
6170 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6173 if test -n "$ac_config_links"; then
6174 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6177 if test -n "$ac_config_commands"; then
6178 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6181 cat >>$CONFIG_STATUS <<\_ACEOF
6184 \`$as_me' instantiates files from templates according to the
6185 current configuration.
6187 Usage: $0 [OPTIONS] [FILE]...
6189 -h, --help print this help, then exit
6190 -V, --version print version number, then exit
6191 -q, --quiet do not print progress messages
6192 -d, --debug don't remove temporary files
6193 --recheck update $as_me by reconfiguring in the same conditions
6194 --file=FILE[:TEMPLATE]
6195 instantiate the configuration file FILE
6196 --header=FILE[:TEMPLATE]
6197 instantiate the configuration header FILE
6199 Configuration files:
6202 Configuration headers:
6205 Configuration commands:
6208 Report bugs to <bug-autoconf@gnu.org>."
6211 cat >>$CONFIG_STATUS <<_ACEOF
6213 util-vserver config.status 0.30
6214 configured by $0, generated by GNU Autoconf 2.59,
6215 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6217 Copyright (C) 2003 Free Software Foundation, Inc.
6218 This config.status script is free software; the Free Software Foundation
6219 gives unlimited permission to copy, distribute and modify it."
6224 cat >>$CONFIG_STATUS <<\_ACEOF
6225 # If no file are specified by the user, then we need to provide default
6226 # value. By we need to know if files were specified by the user.
6232 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6233 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6241 *) # This is not an option, so the user has probably given explicit
6244 ac_need_defaults=false;;
6248 # Handling of the options.
6250 cat >>$CONFIG_STATUS <<\_ACEOF
6251 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6253 --version | --vers* | -V )
6254 echo "$ac_cs_version"; exit 0 ;;
6256 # Conflict between --help and --header
6257 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6258 Try \`$0 --help' for more information." >&5
6259 echo "$as_me: error: ambiguous option: $1
6260 Try \`$0 --help' for more information." >&2;}
6261 { (exit 1); exit 1; }; };;
6262 --help | --hel | -h )
6263 echo "$ac_cs_usage"; exit 0 ;;
6264 --debug | --d* | -d )
6266 --file | --fil | --fi | --f )
6268 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6269 ac_need_defaults=false;;
6270 --header | --heade | --head | --hea )
6272 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6273 ac_need_defaults=false;;
6274 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6275 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6279 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6280 Try \`$0 --help' for more information." >&5
6281 echo "$as_me: error: unrecognized option: $1
6282 Try \`$0 --help' for more information." >&2;}
6283 { (exit 1); exit 1; }; } ;;
6285 *) ac_config_targets="$ac_config_targets $1" ;;
6291 ac_configure_extra_args=
6293 if $ac_cs_silent; then
6295 ac_configure_extra_args="$ac_configure_extra_args --silent"
6299 cat >>$CONFIG_STATUS <<_ACEOF
6300 if \$ac_cs_recheck; then
6301 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6302 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6307 cat >>$CONFIG_STATUS <<_ACEOF
6309 # INIT-COMMANDS section.
6312 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6318 cat >>$CONFIG_STATUS <<\_ACEOF
6319 for ac_config_target in $ac_config_targets
6321 case "$ac_config_target" in
6322 # Handling of arguments.
6323 "util-vserver.spec" ) CONFIG_FILES="$CONFIG_FILES util-vserver.spec" ;;
6324 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6325 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6326 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6327 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6328 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6329 { (exit 1); exit 1; }; };;
6333 # If the user did not use the arguments to specify the items to instantiate,
6334 # then the envvar interface is used. Set only those that are not.
6335 # We use the long form for the default assignment because of an extremely
6336 # bizarre bug on SunOS 4.1.3.
6337 if $ac_need_defaults; then
6338 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6339 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6340 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6343 # Have a temporary directory for convenience. Make it in the build tree
6344 # simply because there is no reason to put it here, and in addition,
6345 # creating and moving files from /tmp can sometimes cause problems.
6346 # Create a temporary directory, and hook for its removal unless debugging.
6349 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6350 trap '{ (exit 1); exit 1; }' 1 2 13 15
6353 # Create a (secure) tmp directory for tmp files.
6356 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6357 test -n "$tmp" && test -d "$tmp"
6360 tmp=./confstat$$-$RANDOM
6361 (umask 077 && mkdir $tmp)
6364 echo "$me: cannot create a temporary directory in ." >&2
6365 { (exit 1); exit 1; }
6370 cat >>$CONFIG_STATUS <<_ACEOF
6373 # CONFIG_FILES section.
6376 # No need to generate the scripts if there are no CONFIG_FILES.
6377 # This happens for instance when ./config.status config.h
6378 if test -n "\$CONFIG_FILES"; then
6379 # Protect against being on the right side of a sed subst in config.status.
6380 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6381 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6382 s,@SHELL@,$SHELL,;t t
6383 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6384 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6385 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6386 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6387 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6388 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6389 s,@exec_prefix@,$exec_prefix,;t t
6390 s,@prefix@,$prefix,;t t
6391 s,@program_transform_name@,$program_transform_name,;t t
6392 s,@bindir@,$bindir,;t t
6393 s,@sbindir@,$sbindir,;t t
6394 s,@libexecdir@,$libexecdir,;t t
6395 s,@datadir@,$datadir,;t t
6396 s,@sysconfdir@,$sysconfdir,;t t
6397 s,@sharedstatedir@,$sharedstatedir,;t t
6398 s,@localstatedir@,$localstatedir,;t t
6399 s,@libdir@,$libdir,;t t
6400 s,@includedir@,$includedir,;t t
6401 s,@oldincludedir@,$oldincludedir,;t t
6402 s,@infodir@,$infodir,;t t
6403 s,@mandir@,$mandir,;t t
6404 s,@build_alias@,$build_alias,;t t
6405 s,@host_alias@,$host_alias,;t t
6406 s,@target_alias@,$target_alias,;t t
6408 s,@ECHO_C@,$ECHO_C,;t t
6409 s,@ECHO_N@,$ECHO_N,;t t
6410 s,@ECHO_T@,$ECHO_T,;t t
6412 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6413 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6414 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6415 s,@CYGPATH_W@,$CYGPATH_W,;t t
6416 s,@PACKAGE@,$PACKAGE,;t t
6417 s,@VERSION@,$VERSION,;t t
6418 s,@ACLOCAL@,$ACLOCAL,;t t
6419 s,@AUTOCONF@,$AUTOCONF,;t t
6420 s,@AUTOMAKE@,$AUTOMAKE,;t t
6421 s,@AUTOHEADER@,$AUTOHEADER,;t t
6422 s,@MAKEINFO@,$MAKEINFO,;t t
6423 s,@AMTAR@,$AMTAR,;t t
6424 s,@install_sh@,$install_sh,;t t
6425 s,@STRIP@,$STRIP,;t t
6426 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6427 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6428 s,@mkdir_p@,$mkdir_p,;t t
6430 s,@SET_MAKE@,$SET_MAKE,;t t
6431 s,@am__leading_dot@,$am__leading_dot,;t t
6432 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6433 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6434 s,@MAINT@,$MAINT,;t t
6436 s,@CXXFLAGS@,$CXXFLAGS,;t t
6437 s,@LDFLAGS@,$LDFLAGS,;t t
6438 s,@CPPFLAGS@,$CPPFLAGS,;t t
6439 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6440 s,@EXEEXT@,$EXEEXT,;t t
6441 s,@OBJEXT@,$OBJEXT,;t t
6442 s,@DEPDIR@,$DEPDIR,;t t
6443 s,@am__include@,$am__include,;t t
6444 s,@am__quote@,$am__quote,;t t
6445 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6446 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6447 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6448 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
6449 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
6450 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
6452 s,@CFLAGS@,$CFLAGS,;t t
6453 s,@ac_ct_CC@,$ac_ct_CC,;t t
6454 s,@CCDEPMODE@,$CCDEPMODE,;t t
6455 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6456 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6458 s,@RANLIB@,$RANLIB,;t t
6459 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6460 s,@kernelincludedir@,$kernelincludedir,;t t
6461 s,@vserverdir@,$vserverdir,;t t
6462 s,@CVS2CL_TAG@,$CVS2CL_TAG,;t t
6463 s,@CVS2CL@,$CVS2CL,;t t
6464 s,@HAVE_CVS2CL_TRUE@,$HAVE_CVS2CL_TRUE,;t t
6465 s,@HAVE_CVS2CL_FALSE@,$HAVE_CVS2CL_FALSE,;t t
6466 s,@RCS2LOG@,$RCS2LOG,;t t
6467 s,@HAVE_RCS2LOG_TRUE@,$HAVE_RCS2LOG_TRUE,;t t
6468 s,@HAVE_RCS2LOG_FALSE@,$HAVE_RCS2LOG_FALSE,;t t
6469 s,@ENSC_ENABLE_LINUXCONF_TRUE@,$ENSC_ENABLE_LINUXCONF_TRUE,;t t
6470 s,@ENSC_ENABLE_LINUXCONF_FALSE@,$ENSC_ENABLE_LINUXCONF_FALSE,;t t
6471 s,@ENSC_ENABLE_INTERNAL_HEADERS_TRUE@,$ENSC_ENABLE_INTERNAL_HEADERS_TRUE,;t t
6472 s,@ENSC_ENABLE_INTERNAL_HEADERS_FALSE@,$ENSC_ENABLE_INTERNAL_HEADERS_FALSE,;t t
6474 s,@EGREP@,$EGREP,;t t
6475 s,@CXXCPP@,$CXXCPP,;t t
6476 s,@LIBOBJS@,$LIBOBJS,;t t
6477 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6482 cat >>$CONFIG_STATUS <<\_ACEOF
6483 # Split the substitutions into bite-sized pieces for seds with
6484 # small command number limits, like on Digital OSF/1 and HP-UX.
6486 ac_sed_frag=1 # Number of current file.
6487 ac_beg=1 # First line for current file.
6488 ac_end=$ac_max_sed_lines # Line after last line for current file.
6491 while $ac_more_lines; do
6492 if test $ac_beg -gt 1; then
6493 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6495 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6497 if test ! -s $tmp/subs.frag; then
6500 # The purpose of the label and of the branching condition is to
6501 # speed up the sed processing (if there are no `@' at all, there
6502 # is no need to browse any of the substitutions).
6503 # These are the two extra sed commands mentioned above.
6505 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6506 if test -z "$ac_sed_cmds"; then
6507 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6509 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6511 ac_sed_frag=`expr $ac_sed_frag + 1`
6513 ac_end=`expr $ac_end + $ac_max_sed_lines`
6516 if test -z "$ac_sed_cmds"; then
6519 fi # test -n "$CONFIG_FILES"
6522 cat >>$CONFIG_STATUS <<\_ACEOF
6523 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6524 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6526 - | *:- | *:-:* ) # input from stdin
6528 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6529 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6530 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6531 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6532 * ) ac_file_in=$ac_file.in ;;
6535 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6536 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6537 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6538 X"$ac_file" : 'X\(//\)[^/]' \| \
6539 X"$ac_file" : 'X\(//\)$' \| \
6540 X"$ac_file" : 'X\(/\)' \| \
6541 . : '\(.\)' 2>/dev/null ||
6543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6544 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6545 /^X\(\/\/\)$/{ s//\1/; q; }
6546 /^X\(\/\).*/{ s//\1/; q; }
6548 { if $as_mkdir_p; then
6553 while test ! -d "$as_dir"; do
6554 as_dirs="$as_dir $as_dirs"
6555 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6556 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6557 X"$as_dir" : 'X\(//\)[^/]' \| \
6558 X"$as_dir" : 'X\(//\)$' \| \
6559 X"$as_dir" : 'X\(/\)' \| \
6560 . : '\(.\)' 2>/dev/null ||
6562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6563 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6564 /^X\(\/\/\)$/{ s//\1/; q; }
6565 /^X\(\/\).*/{ s//\1/; q; }
6568 test ! -n "$as_dirs" || mkdir $as_dirs
6569 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6570 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6571 { (exit 1); exit 1; }; }; }
6575 if test "$ac_dir" != .; then
6576 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6577 # A "../" for each directory in $ac_dir_suffix.
6578 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6580 ac_dir_suffix= ac_top_builddir=
6584 .) # No --srcdir option. We are building in place.
6586 if test -z "$ac_top_builddir"; then
6589 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6591 [\\/]* | ?:[\\/]* ) # Absolute path.
6592 ac_srcdir=$srcdir$ac_dir_suffix;
6593 ac_top_srcdir=$srcdir ;;
6595 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6596 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6599 # Do not use `cd foo && pwd` to compute absolute paths, because
6600 # the directories may not exist.
6602 .) ac_abs_builddir="$ac_dir";;
6605 .) ac_abs_builddir=`pwd`;;
6606 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6607 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6610 case $ac_abs_builddir in
6611 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6613 case ${ac_top_builddir}. in
6614 .) ac_abs_top_builddir=$ac_abs_builddir;;
6615 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6616 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6619 case $ac_abs_builddir in
6620 .) ac_abs_srcdir=$ac_srcdir;;
6623 .) ac_abs_srcdir=$ac_abs_builddir;;
6624 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6625 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6628 case $ac_abs_builddir in
6629 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6631 case $ac_top_srcdir in
6632 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6633 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6634 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6640 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6641 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6644 if test x"$ac_file" != x-; then
6645 { echo "$as_me:$LINENO: creating $ac_file" >&5
6646 echo "$as_me: creating $ac_file" >&6;}
6649 # Let's still pretend it is `configure' which instantiates (i.e., don't
6650 # use $as_me), people would be surprised to read:
6651 # /* config.h. Generated by config.status. */
6652 if test x"$ac_file" = x-; then
6655 configure_input="$ac_file. "
6657 configure_input=$configure_input"Generated from `echo $ac_file_in |
6658 sed 's,.*/,,'` by configure."
6660 # First look for the input files in the build tree, otherwise in the
6662 ac_file_inputs=`IFS=:
6663 for f in $ac_file_in; do
6665 -) echo $tmp/stdin ;;
6667 # Absolute (can't be DOS-style, as IFS=:)
6668 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6669 echo "$as_me: error: cannot find input file: $f" >&2;}
6670 { (exit 1); exit 1; }; }
6673 if test -f "$f"; then
6676 elif test -f "$srcdir/$f"; then
6681 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6682 echo "$as_me: error: cannot find input file: $f" >&2;}
6683 { (exit 1); exit 1; }; }
6686 done` || { (exit 1); exit 1; }
6688 cat >>$CONFIG_STATUS <<_ACEOF
6692 cat >>$CONFIG_STATUS <<\_ACEOF
6694 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6695 s,@configure_input@,$configure_input,;t t
6696 s,@srcdir@,$ac_srcdir,;t t
6697 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6698 s,@top_srcdir@,$ac_top_srcdir,;t t
6699 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6700 s,@builddir@,$ac_builddir,;t t
6701 s,@abs_builddir@,$ac_abs_builddir,;t t
6702 s,@top_builddir@,$ac_top_builddir,;t t
6703 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6704 s,@INSTALL@,$ac_INSTALL,;t t
6705 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6707 if test x"$ac_file" != x-; then
6708 mv $tmp/out $ac_file
6716 cat >>$CONFIG_STATUS <<\_ACEOF
6719 # CONFIG_HEADER section.
6722 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6723 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6725 # ac_d sets the value in "#define NAME VALUE" lines.
6726 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6727 ac_dB='[ ].*$,\1#\2'
6730 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6731 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6732 ac_uB='$,\1#\2define\3'
6736 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6737 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6739 - | *:- | *:-:* ) # input from stdin
6741 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6742 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6743 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6744 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6745 * ) ac_file_in=$ac_file.in ;;
6748 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6749 echo "$as_me: creating $ac_file" >&6;}
6751 # First look for the input files in the build tree, otherwise in the
6753 ac_file_inputs=`IFS=:
6754 for f in $ac_file_in; do
6756 -) echo $tmp/stdin ;;
6758 # Absolute (can't be DOS-style, as IFS=:)
6759 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6760 echo "$as_me: error: cannot find input file: $f" >&2;}
6761 { (exit 1); exit 1; }; }
6762 # Do quote $f, to prevent DOS paths from being IFS'd.
6765 if test -f "$f"; then
6768 elif test -f "$srcdir/$f"; then
6773 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6774 echo "$as_me: error: cannot find input file: $f" >&2;}
6775 { (exit 1); exit 1; }; }
6778 done` || { (exit 1); exit 1; }
6779 # Remove the trailing spaces.
6780 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6784 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6785 # `conftest.undefs', that substitutes the proper values into
6786 # config.h.in to produce config.h. The first handles `#define'
6787 # templates, and the second `#undef' templates.
6788 # And first: Protect against being on the right side of a sed subst in
6789 # config.status. Protect against being in an unquoted here document
6791 rm -f conftest.defines conftest.undefs
6792 # Using a here document instead of a string reduces the quoting nightmare.
6793 # Putting comments in sed scripts is not portable.
6795 # `end' is used to avoid that the second main sed command (meant for
6796 # 0-ary CPP macros) applies to n-ary macro definitions.
6797 # See the Autoconf documentation for `clear'.
6798 cat >confdef2sed.sed <<\_ACEOF
6803 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6805 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6808 # If some macros were called several times there might be several times
6809 # the same #defines, which is useless. Nevertheless, we may not want to
6810 # sort them, since we want the *last* AC-DEFINE to be honored.
6811 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6812 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6813 rm -f confdef2sed.sed
6815 # This sed command replaces #undef with comments. This is necessary, for
6816 # example, in the case of _POSIX_SOURCE, which is predefined and required
6817 # on some systems where configure will not decide to define it.
6818 cat >>conftest.undefs <<\_ACEOF
6819 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6822 # Break up conftest.defines because some shells have a limit on the size
6823 # of here documents, and old seds have small limits too (100 cmds).
6824 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6825 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6826 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6827 echo ' :' >>$CONFIG_STATUS
6829 while grep . conftest.defines >/dev/null
6831 # Write a limited-size here document to $tmp/defines.sed.
6832 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6833 # Speed up: don't consider the non `#define' lines.
6834 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6835 # Work around the forget-to-reset-the-flag bug.
6836 echo 't clr' >>$CONFIG_STATUS
6837 echo ': clr' >>$CONFIG_STATUS
6838 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6840 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6844 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6845 rm -f conftest.defines
6846 mv conftest.tail conftest.defines
6848 rm -f conftest.defines
6849 echo ' fi # grep' >>$CONFIG_STATUS
6850 echo >>$CONFIG_STATUS
6852 # Break up conftest.undefs because some shells have a limit on the size
6853 # of here documents, and old seds have small limits too (100 cmds).
6854 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6856 while grep . conftest.undefs >/dev/null
6858 # Write a limited-size here document to $tmp/undefs.sed.
6859 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6860 # Speed up: don't consider the non `#undef'
6861 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6862 # Work around the forget-to-reset-the-flag bug.
6863 echo 't clr' >>$CONFIG_STATUS
6864 echo ': clr' >>$CONFIG_STATUS
6865 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6867 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6871 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6872 rm -f conftest.undefs
6873 mv conftest.tail conftest.undefs
6875 rm -f conftest.undefs
6877 cat >>$CONFIG_STATUS <<\_ACEOF
6878 # Let's still pretend it is `configure' which instantiates (i.e., don't
6879 # use $as_me), people would be surprised to read:
6880 # /* config.h. Generated by config.status. */
6881 if test x"$ac_file" = x-; then
6882 echo "/* Generated by configure. */" >$tmp/config.h
6884 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6886 cat $tmp/in >>$tmp/config.h
6888 if test x"$ac_file" != x-; then
6889 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6890 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6891 echo "$as_me: $ac_file is unchanged" >&6;}
6893 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6894 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6895 X"$ac_file" : 'X\(//\)[^/]' \| \
6896 X"$ac_file" : 'X\(//\)$' \| \
6897 X"$ac_file" : 'X\(/\)' \| \
6898 . : '\(.\)' 2>/dev/null ||
6900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6901 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6902 /^X\(\/\/\)$/{ s//\1/; q; }
6903 /^X\(\/\).*/{ s//\1/; q; }
6905 { if $as_mkdir_p; then
6910 while test ! -d "$as_dir"; do
6911 as_dirs="$as_dir $as_dirs"
6912 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6913 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6914 X"$as_dir" : 'X\(//\)[^/]' \| \
6915 X"$as_dir" : 'X\(//\)$' \| \
6916 X"$as_dir" : 'X\(/\)' \| \
6917 . : '\(.\)' 2>/dev/null ||
6919 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6920 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6921 /^X\(\/\/\)$/{ s//\1/; q; }
6922 /^X\(\/\).*/{ s//\1/; q; }
6925 test ! -n "$as_dirs" || mkdir $as_dirs
6926 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6927 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6928 { (exit 1); exit 1; }; }; }
6931 mv $tmp/config.h $ac_file
6937 # Compute $ac_file's index in $config_headers.
6939 for _am_header in $config_headers :; do
6941 $ac_file | $ac_file:* )
6944 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6947 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6948 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6949 X$ac_file : 'X\(//\)[^/]' \| \
6950 X$ac_file : 'X\(//\)$' \| \
6951 X$ac_file : 'X\(/\)' \| \
6952 . : '\(.\)' 2>/dev/null ||
6954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6955 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6956 /^X\(\/\/\)$/{ s//\1/; q; }
6957 /^X\(\/\).*/{ s//\1/; q; }
6958 s/.*/./; q'`/stamp-h$_am_stamp_count
6961 cat >>$CONFIG_STATUS <<\_ACEOF
6964 # CONFIG_COMMANDS section.
6966 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6967 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6968 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6969 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6970 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6971 X"$ac_dest" : 'X\(//\)[^/]' \| \
6972 X"$ac_dest" : 'X\(//\)$' \| \
6973 X"$ac_dest" : 'X\(/\)' \| \
6974 . : '\(.\)' 2>/dev/null ||
6976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6977 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6978 /^X\(\/\/\)$/{ s//\1/; q; }
6979 /^X\(\/\).*/{ s//\1/; q; }
6981 { if $as_mkdir_p; then
6986 while test ! -d "$as_dir"; do
6987 as_dirs="$as_dir $as_dirs"
6988 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6989 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6990 X"$as_dir" : 'X\(//\)[^/]' \| \
6991 X"$as_dir" : 'X\(//\)$' \| \
6992 X"$as_dir" : 'X\(/\)' \| \
6993 . : '\(.\)' 2>/dev/null ||
6995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6996 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6997 /^X\(\/\/\)$/{ s//\1/; q; }
6998 /^X\(\/\).*/{ s//\1/; q; }
7001 test ! -n "$as_dirs" || mkdir $as_dirs
7002 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7003 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7004 { (exit 1); exit 1; }; }; }
7008 if test "$ac_dir" != .; then
7009 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7010 # A "../" for each directory in $ac_dir_suffix.
7011 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7013 ac_dir_suffix= ac_top_builddir=
7017 .) # No --srcdir option. We are building in place.
7019 if test -z "$ac_top_builddir"; then
7022 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7024 [\\/]* | ?:[\\/]* ) # Absolute path.
7025 ac_srcdir=$srcdir$ac_dir_suffix;
7026 ac_top_srcdir=$srcdir ;;
7028 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7029 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7032 # Do not use `cd foo && pwd` to compute absolute paths, because
7033 # the directories may not exist.
7035 .) ac_abs_builddir="$ac_dir";;
7038 .) ac_abs_builddir=`pwd`;;
7039 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7040 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7043 case $ac_abs_builddir in
7044 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7046 case ${ac_top_builddir}. in
7047 .) ac_abs_top_builddir=$ac_abs_builddir;;
7048 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7049 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7052 case $ac_abs_builddir in
7053 .) ac_abs_srcdir=$ac_srcdir;;
7056 .) ac_abs_srcdir=$ac_abs_builddir;;
7057 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7058 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7061 case $ac_abs_builddir in
7062 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7064 case $ac_top_srcdir in
7065 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7066 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7067 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7072 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7073 echo "$as_me: executing $ac_dest commands" >&6;}
7075 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7076 # Strip MF so we end up with the name of the file.
7077 mf=`echo "$mf" | sed -e 's/:.*$//'`
7078 # Check whether this is an Automake generated Makefile or not.
7079 # We used to match only the files named `Makefile.in', but
7080 # some people rename them; so instead we look at the file content.
7081 # Grep'ing the first line is not enough: some people post-process
7082 # each Makefile.in and add a new line on top of each file to say so.
7083 # So let's grep whole file.
7084 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7085 dirpart=`(dirname "$mf") 2>/dev/null ||
7086 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7087 X"$mf" : 'X\(//\)[^/]' \| \
7088 X"$mf" : 'X\(//\)$' \| \
7089 X"$mf" : 'X\(/\)' \| \
7090 . : '\(.\)' 2>/dev/null ||
7092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7093 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7094 /^X\(\/\/\)$/{ s//\1/; q; }
7095 /^X\(\/\).*/{ s//\1/; q; }
7100 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7101 # Extract the definition of DEP_FILES from the Makefile without
7103 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7104 test -z "$DEPDIR" && continue
7105 # When using ansi2knr, U may be empty or an underscore; expand it
7106 U=`sed -n 's/^U = //p' < "$mf"`
7107 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7108 # We invoke sed twice because it is the simplest approach to
7109 # changing $(DEPDIR) to its actual value in the expansion.
7110 for file in `sed -n '
7111 /^DEP_FILES = .*\\\\$/ {
7120 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7121 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7122 # Make sure the directory exists.
7123 test -f "$dirpart/$file" && continue
7124 fdir=`(dirname "$file") 2>/dev/null ||
7125 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7126 X"$file" : 'X\(//\)[^/]' \| \
7127 X"$file" : 'X\(//\)$' \| \
7128 X"$file" : 'X\(/\)' \| \
7129 . : '\(.\)' 2>/dev/null ||
7131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7132 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7133 /^X\(\/\/\)$/{ s//\1/; q; }
7134 /^X\(\/\).*/{ s//\1/; q; }
7136 { if $as_mkdir_p; then
7137 mkdir -p $dirpart/$fdir
7139 as_dir=$dirpart/$fdir
7141 while test ! -d "$as_dir"; do
7142 as_dirs="$as_dir $as_dirs"
7143 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7144 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7145 X"$as_dir" : 'X\(//\)[^/]' \| \
7146 X"$as_dir" : 'X\(//\)$' \| \
7147 X"$as_dir" : 'X\(/\)' \| \
7148 . : '\(.\)' 2>/dev/null ||
7150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7151 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7152 /^X\(\/\/\)$/{ s//\1/; q; }
7153 /^X\(\/\).*/{ s//\1/; q; }
7156 test ! -n "$as_dirs" || mkdir $as_dirs
7157 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7158 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7159 { (exit 1); exit 1; }; }; }
7161 # echo "creating $dirpart/$file"
7162 echo '# dummy' > "$dirpart/$file"
7170 cat >>$CONFIG_STATUS <<\_ACEOF
7172 { (exit 0); exit 0; }
7174 chmod +x $CONFIG_STATUS
7175 ac_clean_files=$ac_clean_files_save
7178 # configure is writing to config.log, and then calls config.status.
7179 # config.status does its own redirection, appending to config.log.
7180 # Unfortunately, on DOS this fails, as config.log is still kept open
7181 # by configure, so config.status won't be able to write to it; its
7182 # output is simply discarded. So we exec the FD to /dev/null,
7183 # effectively closing config.log, so it can be properly (re)opened and
7184 # appended to by config.status. When coming back to configure, we
7185 # need to make the FD available again.
7186 if test "$no_create" != yes; then
7188 ac_config_status_args=
7189 test "$silent" = yes &&
7190 ac_config_status_args="$ac_config_status_args --quiet"
7192 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7194 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7195 # would make configure fail if this is the last instruction.
7196 $ac_cs_success || { (exit 1); exit 1; }