2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for ctdlsh 1.0.
5 # Report bugs to <bug-automake@gnu.org>.
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='ctdlsh'
271 PACKAGE_TARNAME='ctdlsh'
272 PACKAGE_VERSION='1.0'
273 PACKAGE_STRING='ctdlsh 1.0'
274 PACKAGE_BUGREPORT='bug-automake@gnu.org'
276 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LIBOBJS LTLIBOBJS'
279 # Initialize some variables set by options.
281 ac_init_version=false
282 # The variables have the same names as the options, with
283 # dashes changed to underlines.
291 program_transform_name=s,x,x,
299 # Installation directory options.
300 # These are left unexpanded so users can "make install exec_prefix=/foo"
301 # and all the variables that are supposed to be based on exec_prefix
302 # by default will actually change.
303 # Use braces instead of parens because sh, perl, etc. also accept them.
304 bindir='${exec_prefix}/bin'
305 sbindir='${exec_prefix}/sbin'
306 libexecdir='${exec_prefix}/libexec'
307 datadir='${prefix}/share'
308 sysconfdir='${prefix}/etc'
309 sharedstatedir='${prefix}/com'
310 localstatedir='${prefix}/var'
311 libdir='${exec_prefix}/lib'
312 includedir='${prefix}/include'
313 oldincludedir='/usr/include'
314 infodir='${prefix}/info'
315 mandir='${prefix}/man'
320 # If the previous option needs an argument, assign it.
321 if test -n "$ac_prev"; then
322 eval "$ac_prev=\$ac_option"
327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
338 -build | --build | --buil | --bui | --bu)
339 ac_prev=build_alias ;;
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build_alias=$ac_optarg ;;
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev=cache_file ;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file=$ac_optarg ;;
351 cache_file=config.cache ;;
353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
357 datadir=$ac_optarg ;;
359 -disable-* | --disable-*)
360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361 # Reject names that are not valid shell variable names.
362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364 { (exit 1); exit 1; }; }
365 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366 eval "enable_$ac_feature=no" ;;
368 -enable-* | --enable-*)
369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370 # Reject names that are not valid shell variable names.
371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373 { (exit 1); exit 1; }; }
374 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
379 eval "enable_$ac_feature='$ac_optarg'" ;;
381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383 | --exec | --exe | --ex)
384 ac_prev=exec_prefix ;;
385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387 | --exec=* | --exe=* | --ex=*)
388 exec_prefix=$ac_optarg ;;
390 -gas | --gas | --ga | --g)
391 # Obsolete; use --with-gas.
394 -help | --help | --hel | --he | -h)
396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397 ac_init_help=recursive ;;
398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399 ac_init_help=short ;;
401 -host | --host | --hos | --ho)
402 ac_prev=host_alias ;;
403 -host=* | --host=* | --hos=* | --ho=*)
404 host_alias=$ac_optarg ;;
406 -includedir | --includedir | --includedi | --included | --include \
407 | --includ | --inclu | --incl | --inc)
408 ac_prev=includedir ;;
409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410 | --includ=* | --inclu=* | --incl=* | --inc=*)
411 includedir=$ac_optarg ;;
413 -infodir | --infodir | --infodi | --infod | --info | --inf)
415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416 infodir=$ac_optarg ;;
418 -libdir | --libdir | --libdi | --libd)
420 -libdir=* | --libdir=* | --libdi=* | --libd=*)
423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424 | --libexe | --libex | --libe)
425 ac_prev=libexecdir ;;
426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427 | --libexe=* | --libex=* | --libe=*)
428 libexecdir=$ac_optarg ;;
430 -localstatedir | --localstatedir | --localstatedi | --localstated \
431 | --localstate | --localstat | --localsta | --localst \
432 | --locals | --local | --loca | --loc | --lo)
433 ac_prev=localstatedir ;;
434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437 localstatedir=$ac_optarg ;;
439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
445 # Obsolete; use --without-fp.
448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449 | --no-cr | --no-c | -n)
452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458 | --oldin | --oldi | --old | --ol | --o)
459 ac_prev=oldincludedir ;;
460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463 oldincludedir=$ac_optarg ;;
465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
470 -program-prefix | --program-prefix | --program-prefi | --program-pref \
471 | --program-pre | --program-pr | --program-p)
472 ac_prev=program_prefix ;;
473 -program-prefix=* | --program-prefix=* | --program-prefi=* \
474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475 program_prefix=$ac_optarg ;;
477 -program-suffix | --program-suffix | --program-suffi | --program-suff \
478 | --program-suf | --program-su | --program-s)
479 ac_prev=program_suffix ;;
480 -program-suffix=* | --program-suffix=* | --program-suffi=* \
481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482 program_suffix=$ac_optarg ;;
484 -program-transform-name | --program-transform-name \
485 | --program-transform-nam | --program-transform-na \
486 | --program-transform-n | --program-transform- \
487 | --program-transform | --program-transfor \
488 | --program-transfo | --program-transf \
489 | --program-trans | --program-tran \
490 | --progr-tra | --program-tr | --program-t)
491 ac_prev=program_transform_name ;;
492 -program-transform-name=* | --program-transform-name=* \
493 | --program-transform-nam=* | --program-transform-na=* \
494 | --program-transform-n=* | --program-transform-=* \
495 | --program-transform=* | --program-transfor=* \
496 | --program-transfo=* | --program-transf=* \
497 | --program-trans=* | --program-tran=* \
498 | --progr-tra=* | --program-tr=* | --program-t=*)
499 program_transform_name=$ac_optarg ;;
501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502 | -silent | --silent | --silen | --sile | --sil)
505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
509 sbindir=$ac_optarg ;;
511 -sharedstatedir | --sharedstatedir | --sharedstatedi \
512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513 | --sharedst | --shareds | --shared | --share | --shar \
515 ac_prev=sharedstatedir ;;
516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
520 sharedstatedir=$ac_optarg ;;
522 -site | --site | --sit)
524 -site=* | --site=* | --sit=*)
527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533 | --syscon | --sysco | --sysc | --sys | --sy)
534 ac_prev=sysconfdir ;;
535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537 sysconfdir=$ac_optarg ;;
539 -target | --target | --targe | --targ | --tar | --ta | --t)
540 ac_prev=target_alias ;;
541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542 target_alias=$ac_optarg ;;
544 -v | -verbose | --verbose | --verbos | --verbo | --verb)
547 -version | --version | --versio | --versi | --vers | -V)
551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid package name: $ac_package" >&2
555 { (exit 1); exit 1; }; }
556 ac_package=`echo $ac_package| sed 's/-/_/g'`
558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
561 eval "with_$ac_package='$ac_optarg'" ;;
563 -without-* | --without-*)
564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565 # Reject names that are not valid shell variable names.
566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567 { echo "$as_me: error: invalid package name: $ac_package" >&2
568 { (exit 1); exit 1; }; }
569 ac_package=`echo $ac_package | sed 's/-/_/g'`
570 eval "with_$ac_package=no" ;;
573 # Obsolete; use --with-x.
576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577 | --x-incl | --x-inc | --x-in | --x-i)
578 ac_prev=x_includes ;;
579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581 x_includes=$ac_optarg ;;
583 -x-libraries | --x-libraries | --x-librarie | --x-librari \
584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585 ac_prev=x_libraries ;;
586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588 x_libraries=$ac_optarg ;;
590 -*) { echo "$as_me: error: unrecognized option: $ac_option
591 Try \`$0 --help' for more information." >&2
592 { (exit 1); exit 1; }; }
596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597 # Reject names that are not valid shell variable names.
598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600 { (exit 1); exit 1; }; }
601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602 eval "$ac_envvar='$ac_optarg'"
606 # FIXME: should be removed in autoconf 3.0.
607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
616 if test -n "$ac_prev"; then
617 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618 { echo "$as_me: error: missing argument to $ac_option" >&2
619 { (exit 1); exit 1; }; }
622 # Be sure to have absolute paths.
623 for ac_var in exec_prefix prefix
625 eval ac_val=$`echo $ac_var`
627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629 { (exit 1); exit 1; }; };;
633 # Be sure to have absolute paths.
634 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635 localstatedir libdir includedir oldincludedir infodir mandir
637 eval ac_val=$`echo $ac_var`
639 [\\/$]* | ?:[\\/]* ) ;;
640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641 { (exit 1); exit 1; }; };;
645 # There might be people who depend on the old broken behavior: `$host'
646 # used to hold the argument of --host etc.
647 # FIXME: To remove some day.
652 # FIXME: To remove some day.
653 if test "x$host_alias" != x; then
654 if test "x$build_alias" = x; then
655 cross_compiling=maybe
656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657 If a cross compiler is detected then cross compile mode will be used." >&2
658 elif test "x$build_alias" != "x$host_alias"; then
664 test -n "$host_alias" && ac_tool_prefix=$host_alias-
666 test "$silent" = yes && exec 6>/dev/null
669 # Find the source files, if location was not specified.
670 if test -z "$srcdir"; then
671 ac_srcdir_defaulted=yes
672 # Try the directory containing this script, then its parent.
673 ac_confdir=`(dirname "$0") 2>/dev/null ||
674 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675 X"$0" : 'X\(//\)[^/]' \| \
676 X"$0" : 'X\(//\)$' \| \
677 X"$0" : 'X\(/\)' \| \
678 . : '\(.\)' 2>/dev/null ||
680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682 /^X\(\/\/\)$/{ s//\1/; q; }
683 /^X\(\/\).*/{ s//\1/; q; }
686 if test ! -r $srcdir/$ac_unique_file; then
690 ac_srcdir_defaulted=no
692 if test ! -r $srcdir/$ac_unique_file; then
693 if test "$ac_srcdir_defaulted" = yes; then
694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695 { (exit 1); exit 1; }; }
697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698 { (exit 1); exit 1; }; }
701 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703 { (exit 1); exit 1; }; }
704 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705 ac_env_build_alias_set=${build_alias+set}
706 ac_env_build_alias_value=$build_alias
707 ac_cv_env_build_alias_set=${build_alias+set}
708 ac_cv_env_build_alias_value=$build_alias
709 ac_env_host_alias_set=${host_alias+set}
710 ac_env_host_alias_value=$host_alias
711 ac_cv_env_host_alias_set=${host_alias+set}
712 ac_cv_env_host_alias_value=$host_alias
713 ac_env_target_alias_set=${target_alias+set}
714 ac_env_target_alias_value=$target_alias
715 ac_cv_env_target_alias_set=${target_alias+set}
716 ac_cv_env_target_alias_value=$target_alias
717 ac_env_CC_set=${CC+set}
719 ac_cv_env_CC_set=${CC+set}
720 ac_cv_env_CC_value=$CC
721 ac_env_CFLAGS_set=${CFLAGS+set}
722 ac_env_CFLAGS_value=$CFLAGS
723 ac_cv_env_CFLAGS_set=${CFLAGS+set}
724 ac_cv_env_CFLAGS_value=$CFLAGS
725 ac_env_LDFLAGS_set=${LDFLAGS+set}
726 ac_env_LDFLAGS_value=$LDFLAGS
727 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
728 ac_cv_env_LDFLAGS_value=$LDFLAGS
729 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
730 ac_env_CPPFLAGS_value=$CPPFLAGS
731 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
732 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
735 # Report the --help message.
737 if test "$ac_init_help" = "long"; then
738 # Omit some internal or obsolete options to make the list less imposing.
739 # This message is too long to be a string in the A/UX 3.1 sh.
741 \`configure' configures ctdlsh 1.0 to adapt to many kinds of systems.
743 Usage: $0 [OPTION]... [VAR=VALUE]...
745 To assign environment variables (e.g., CC, CFLAGS...), specify them as
746 VAR=VALUE. See below for descriptions of some of the useful variables.
748 Defaults for the options are specified in brackets.
751 -h, --help display this help and exit
752 --help=short display options specific to this package
753 --help=recursive display the short help of all the included packages
754 -V, --version display version information and exit
755 -q, --quiet, --silent do not print \`checking...' messages
756 --cache-file=FILE cache test results in FILE [disabled]
757 -C, --config-cache alias for \`--cache-file=config.cache'
758 -n, --no-create do not create output files
759 --srcdir=DIR find the sources in DIR [configure dir or \`..']
764 Installation directories:
765 --prefix=PREFIX install architecture-independent files in PREFIX
767 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
770 By default, \`make install' will install all the files in
771 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
772 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
773 for instance \`--prefix=\$HOME'.
775 For better control, use the options below.
777 Fine tuning of the installation directories:
778 --bindir=DIR user executables [EPREFIX/bin]
779 --sbindir=DIR system admin executables [EPREFIX/sbin]
780 --libexecdir=DIR program executables [EPREFIX/libexec]
781 --datadir=DIR read-only architecture-independent data [PREFIX/share]
782 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
783 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
784 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
785 --libdir=DIR object code libraries [EPREFIX/lib]
786 --includedir=DIR C header files [PREFIX/include]
787 --oldincludedir=DIR C header files for non-gcc [/usr/include]
788 --infodir=DIR info documentation [PREFIX/info]
789 --mandir=DIR man documentation [PREFIX/man]
795 --program-prefix=PREFIX prepend PREFIX to installed program names
796 --program-suffix=SUFFIX append SUFFIX to installed program names
797 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
801 if test -n "$ac_init_help"; then
802 case $ac_init_help in
803 short | recursive ) echo "Configuration of ctdlsh 1.0:";;
808 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
809 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
810 --disable-dependency-tracking speeds up one-time build
811 --enable-dependency-tracking do not reject slow dependency extractors
814 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
815 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
816 --with-readline=prefix try this for a non-standard install prefix of the
819 Some influential environment variables:
820 CC C compiler command
821 CFLAGS C compiler flags
822 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
823 nonstandard directory <lib dir>
824 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
825 headers in a nonstandard directory <include dir>
827 Use these variables to override the choices made by `configure' or to help
828 it to find libraries and programs with nonstandard names/locations.
830 Report bugs to <bug-automake@gnu.org>.
834 if test "$ac_init_help" = "recursive"; then
835 # If there are subdirs, report their specific --help.
837 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
838 test -d $ac_dir || continue
841 if test "$ac_dir" != .; then
842 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
843 # A "../" for each directory in $ac_dir_suffix.
844 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
846 ac_dir_suffix= ac_top_builddir=
850 .) # No --srcdir option. We are building in place.
852 if test -z "$ac_top_builddir"; then
855 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
857 [\\/]* | ?:[\\/]* ) # Absolute path.
858 ac_srcdir=$srcdir$ac_dir_suffix;
859 ac_top_srcdir=$srcdir ;;
861 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
862 ac_top_srcdir=$ac_top_builddir$srcdir ;;
865 # Do not use `cd foo && pwd` to compute absolute paths, because
866 # the directories may not exist.
868 .) ac_abs_builddir="$ac_dir";;
871 .) ac_abs_builddir=`pwd`;;
872 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
873 *) ac_abs_builddir=`pwd`/"$ac_dir";;
876 case $ac_abs_builddir in
877 .) ac_abs_top_builddir=${ac_top_builddir}.;;
879 case ${ac_top_builddir}. in
880 .) ac_abs_top_builddir=$ac_abs_builddir;;
881 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
882 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
885 case $ac_abs_builddir in
886 .) ac_abs_srcdir=$ac_srcdir;;
889 .) ac_abs_srcdir=$ac_abs_builddir;;
890 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
891 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
894 case $ac_abs_builddir in
895 .) ac_abs_top_srcdir=$ac_top_srcdir;;
897 case $ac_top_srcdir in
898 .) ac_abs_top_srcdir=$ac_abs_builddir;;
899 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
900 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
905 # Check for guested configure; otherwise get Cygnus style configure.
906 if test -f $ac_srcdir/configure.gnu; then
908 $SHELL $ac_srcdir/configure.gnu --help=recursive
909 elif test -f $ac_srcdir/configure; then
911 $SHELL $ac_srcdir/configure --help=recursive
912 elif test -f $ac_srcdir/configure.ac ||
913 test -f $ac_srcdir/configure.in; then
917 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
923 test -n "$ac_init_help" && exit 0
924 if $ac_init_version; then
927 generated by GNU Autoconf 2.59
929 Copyright (C) 2003 Free Software Foundation, Inc.
930 This configure script is free software; the Free Software Foundation
931 gives unlimited permission to copy, distribute and modify it.
937 This file contains any messages produced by compilers while
938 running configure, to aid debugging if configure makes a mistake.
940 It was created by ctdlsh $as_me 1.0, which was
941 generated by GNU Autoconf 2.59. Invocation command line was
952 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
953 uname -m = `(uname -m) 2>/dev/null || echo unknown`
954 uname -r = `(uname -r) 2>/dev/null || echo unknown`
955 uname -s = `(uname -s) 2>/dev/null || echo unknown`
956 uname -v = `(uname -v) 2>/dev/null || echo unknown`
958 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
959 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
961 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
962 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
963 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
964 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
965 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
966 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
967 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
975 test -z "$as_dir" && as_dir=.
991 # Keep a trace of the command line.
992 # Strip out --no-create and --no-recursion so they do not pile up.
993 # Strip out --silent because we don't want to record it for future runs.
994 # Also quote any args containing shell meta-characters.
995 # Make two passes to allow for proper duplicate-argument suppression.
1000 ac_must_keep_next=false
1006 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1008 | -silent | --silent | --silen | --sile | --sil)
1010 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1011 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1014 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1016 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1017 if test $ac_must_keep_next = true; then
1018 ac_must_keep_next=false # Got value, back to normal.
1021 *=* | --config-cache | -C | -disable-* | --disable-* \
1022 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1023 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1024 | -with-* | --with-* | -without-* | --without-* | --x)
1025 case "$ac_configure_args0 " in
1026 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1029 -* ) ac_must_keep_next=true ;;
1032 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1033 # Get rid of the leading space.
1039 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1040 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1042 # When interrupted or exit'd, cleanup temporary files, and complete
1043 # config.log. We remove comments because anyway the quotes in there
1044 # would cause problems or look ugly.
1045 # WARNING: Be sure not to use single quotes in there, as some shells,
1046 # such as our DU 5.0 friend, will then `close' the trap.
1047 trap 'exit_status=$?
1048 # Save into config.log some information that might help in debugging.
1053 ## ---------------- ##
1054 ## Cache variables. ##
1055 ## ---------------- ##
1058 # The following way of writing the cache mishandles newlines in values,
1061 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1064 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1065 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1069 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1076 ## ----------------- ##
1077 ## Output variables. ##
1078 ## ----------------- ##
1081 for ac_var in $ac_subst_vars
1083 eval ac_val=$`echo $ac_var`
1084 echo "$ac_var='"'"'$ac_val'"'"'"
1088 if test -n "$ac_subst_files"; then
1095 for ac_var in $ac_subst_files
1097 eval ac_val=$`echo $ac_var`
1098 echo "$ac_var='"'"'$ac_val'"'"'"
1103 if test -s confdefs.h; then
1110 sed "/^$/d" confdefs.h | sort
1113 test "$ac_signal" != 0 &&
1114 echo "$as_me: caught signal $ac_signal"
1115 echo "$as_me: exit $exit_status"
1117 rm -f core *.core &&
1118 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1121 for ac_signal in 1 2 13 15; do
1122 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1126 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1127 rm -rf conftest* confdefs.h
1128 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1131 # Predefined preprocessor variables.
1133 cat >>confdefs.h <<_ACEOF
1134 #define PACKAGE_NAME "$PACKAGE_NAME"
1138 cat >>confdefs.h <<_ACEOF
1139 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1143 cat >>confdefs.h <<_ACEOF
1144 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1148 cat >>confdefs.h <<_ACEOF
1149 #define PACKAGE_STRING "$PACKAGE_STRING"
1153 cat >>confdefs.h <<_ACEOF
1154 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1158 # Let the site file select an alternate cache file if it wants to.
1159 # Prefer explicitly selected file to automatically selected ones.
1160 if test -z "$CONFIG_SITE"; then
1161 if test "x$prefix" != xNONE; then
1162 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1164 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1167 for ac_site_file in $CONFIG_SITE; do
1168 if test -r "$ac_site_file"; then
1169 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1170 echo "$as_me: loading site script $ac_site_file" >&6;}
1171 sed 's/^/| /' "$ac_site_file" >&5
1176 if test -r "$cache_file"; then
1177 # Some versions of bash will fail to source /dev/null (special
1178 # files actually), so we avoid doing that.
1179 if test -f "$cache_file"; then
1180 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1181 echo "$as_me: loading cache $cache_file" >&6;}
1183 [\\/]* | ?:[\\/]* ) . $cache_file;;
1184 *) . ./$cache_file;;
1188 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1189 echo "$as_me: creating cache $cache_file" >&6;}
1193 # Check that the precious variables saved in the cache have kept the same
1195 ac_cache_corrupted=false
1196 for ac_var in `(set) 2>&1 |
1197 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1198 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1199 eval ac_new_set=\$ac_env_${ac_var}_set
1200 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1201 eval ac_new_val="\$ac_env_${ac_var}_value"
1202 case $ac_old_set,$ac_new_set in
1204 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1205 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1206 ac_cache_corrupted=: ;;
1208 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1209 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1210 ac_cache_corrupted=: ;;
1213 if test "x$ac_old_val" != "x$ac_new_val"; then
1214 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1215 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1216 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1217 echo "$as_me: former value: $ac_old_val" >&2;}
1218 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1219 echo "$as_me: current value: $ac_new_val" >&2;}
1220 ac_cache_corrupted=:
1223 # Pass precious variables to config.status.
1224 if test "$ac_new_set" = set; then
1226 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1227 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1228 *) ac_arg=$ac_var=$ac_new_val ;;
1230 case " $ac_configure_args " in
1231 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1232 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1236 if $ac_cache_corrupted; then
1237 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1238 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1239 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1240 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1241 { (exit 1); exit 1; }; }
1245 ac_cpp='$CPP $CPPFLAGS'
1246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1276 am__api_version="1.9"
1278 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1279 if test -f $ac_dir/install-sh; then
1281 ac_install_sh="$ac_aux_dir/install-sh -c"
1283 elif test -f $ac_dir/install.sh; then
1285 ac_install_sh="$ac_aux_dir/install.sh -c"
1287 elif test -f $ac_dir/shtool; then
1289 ac_install_sh="$ac_aux_dir/shtool install -c"
1293 if test -z "$ac_aux_dir"; then
1294 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1295 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1296 { (exit 1); exit 1; }; }
1298 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1299 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1300 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1302 # Find a good install program. We prefer a C program (faster),
1303 # so one script is as good as another. But avoid the broken or
1304 # incompatible versions:
1305 # SysV /etc/install, /usr/sbin/install
1306 # SunOS /usr/etc/install
1307 # IRIX /sbin/install
1309 # AmigaOS /C/install, which installs bootblocks on floppy discs
1310 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1311 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1312 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1313 # OS/2's system install, which has a completely different semantic
1314 # ./install, which can be erroneously created by make from ./install.sh.
1315 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1316 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1317 if test -z "$INSTALL"; then
1318 if test "${ac_cv_path_install+set}" = set; then
1319 echo $ECHO_N "(cached) $ECHO_C" >&6
1321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1325 test -z "$as_dir" && as_dir=.
1326 # Account for people who put trailing slashes in PATH elements.
1328 ./ | .// | /cC/* | \
1329 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1330 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1333 # OSF1 and SCO ODT 3.0 have their own names for install.
1334 # Don't use installbsd from OSF since it installs stuff as root
1336 for ac_prog in ginstall scoinst install; do
1337 for ac_exec_ext in '' $ac_executable_extensions; do
1338 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1339 if test $ac_prog = install &&
1340 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1341 # AIX install. It has an incompatible calling convention.
1343 elif test $ac_prog = install &&
1344 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1345 # program-specific install script used by HP pwplus--don't use.
1348 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1360 if test "${ac_cv_path_install+set}" = set; then
1361 INSTALL=$ac_cv_path_install
1363 # As a last resort, use the slow shell script. We don't cache a
1364 # path for INSTALL within a source directory, because that will
1365 # break other packages using the cache if that directory is
1366 # removed, or if the path is relative.
1367 INSTALL=$ac_install_sh
1370 echo "$as_me:$LINENO: result: $INSTALL" >&5
1371 echo "${ECHO_T}$INSTALL" >&6
1373 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1374 # It thinks the first close brace ends the variable substitution.
1375 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1377 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1379 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1381 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1382 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1385 echo timestamp > conftest.file
1386 # Do `set' in a subshell so we don't clobber the current shell's
1387 # arguments. Must try -L first in case configure is actually a
1388 # symlink; some systems play weird games with the mod time of symlinks
1389 # (eg FreeBSD returns the mod time of the symlink's containing
1392 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1393 if test "$*" = "X"; then
1395 set X `ls -t $srcdir/configure conftest.file`
1398 if test "$*" != "X $srcdir/configure conftest.file" \
1399 && test "$*" != "X conftest.file $srcdir/configure"; then
1401 # If neither matched, then we have a broken ls. This can happen
1402 # if, for instance, CONFIG_SHELL is bash and it inherits a
1403 # broken ls alias from the environment. This has actually
1404 # happened. Such a system could not be considered "sane".
1405 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1406 alias in your environment" >&5
1407 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1408 alias in your environment" >&2;}
1409 { (exit 1); exit 1; }; }
1412 test "$2" = conftest.file
1418 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1419 Check your system clock" >&5
1420 echo "$as_me: error: newly created file is older than distributed files!
1421 Check your system clock" >&2;}
1422 { (exit 1); exit 1; }; }
1424 echo "$as_me:$LINENO: result: yes" >&5
1425 echo "${ECHO_T}yes" >&6
1426 test "$program_prefix" != NONE &&
1427 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1428 # Use a double $ so make ignores it.
1429 test "$program_suffix" != NONE &&
1430 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1431 # Double any \ or $. echo might interpret backslashes.
1432 # By default was `s,x,x', remove it if useless.
1433 cat <<\_ACEOF >conftest.sed
1434 s/[\\$]/&&/g;s/;s,x,x,$//
1436 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1439 # expand $ac_aux_dir to an absolute path
1440 am_aux_dir=`cd $ac_aux_dir && pwd`
1442 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1443 # Use eval to expand $SHELL
1444 if eval "$MISSING --run true"; then
1445 am_missing_run="$MISSING --run "
1448 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1449 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1452 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1453 # We used to keeping the `.' as first argument, in order to
1454 # allow $(mkdir_p) to be used without argument. As in
1455 # $(mkdir_p) $(somedir)
1456 # where $(somedir) is conditionally defined. However this is wrong
1458 # 1. if the package is installed by a user who cannot write `.'
1459 # make install will fail,
1460 # 2. the above comment should most certainly read
1461 # $(mkdir_p) $(DESTDIR)$(somedir)
1462 # so it does not work when $(somedir) is undefined and
1463 # $(DESTDIR) is not.
1464 # To support the latter case, we have to write
1465 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1466 # so the `.' trick is pointless.
1467 mkdir_p='mkdir -p --'
1469 # On NextStep and OpenStep, the `mkdir' command does not
1470 # recognize any option. It will interpret all options as
1471 # directories to create, and then abort because `.' already
1473 for d in ./-p ./--version;
1475 test -d $d && rmdir $d
1477 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1478 if test -f "$ac_aux_dir/mkinstalldirs"; then
1479 mkdir_p='$(mkinstalldirs)'
1481 mkdir_p='$(install_sh) -d'
1485 for ac_prog in gawk mawk nawk awk
1487 # Extract the first word of "$ac_prog", so it can be a program name with args.
1488 set dummy $ac_prog; ac_word=$2
1489 echo "$as_me:$LINENO: checking for $ac_word" >&5
1490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1491 if test "${ac_cv_prog_AWK+set}" = set; then
1492 echo $ECHO_N "(cached) $ECHO_C" >&6
1494 if test -n "$AWK"; then
1495 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1501 test -z "$as_dir" && as_dir=.
1502 for ac_exec_ext in '' $ac_executable_extensions; do
1503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1504 ac_cv_prog_AWK="$ac_prog"
1505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1514 if test -n "$AWK"; then
1515 echo "$as_me:$LINENO: result: $AWK" >&5
1516 echo "${ECHO_T}$AWK" >&6
1518 echo "$as_me:$LINENO: result: no" >&5
1519 echo "${ECHO_T}no" >&6
1522 test -n "$AWK" && break
1525 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1526 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1527 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1528 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1529 echo $ECHO_N "(cached) $ECHO_C" >&6
1531 cat >conftest.make <<\_ACEOF
1533 @echo 'ac_maketemp="$(MAKE)"'
1535 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1536 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1537 if test -n "$ac_maketemp"; then
1538 eval ac_cv_prog_make_${ac_make}_set=yes
1540 eval ac_cv_prog_make_${ac_make}_set=no
1544 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1545 echo "$as_me:$LINENO: result: yes" >&5
1546 echo "${ECHO_T}yes" >&6
1549 echo "$as_me:$LINENO: result: no" >&5
1550 echo "${ECHO_T}no" >&6
1551 SET_MAKE="MAKE=${MAKE-make}"
1554 rm -rf .tst 2>/dev/null
1555 mkdir .tst 2>/dev/null
1556 if test -d .tst; then
1561 rmdir .tst 2>/dev/null
1563 # test to see if srcdir already configured
1564 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1565 test -f $srcdir/config.status; then
1566 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1567 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1568 { (exit 1); exit 1; }; }
1571 # test whether we have cygpath
1572 if test -z "$CYGPATH_W"; then
1573 if (cygpath --version) >/dev/null 2>/dev/null; then
1574 CYGPATH_W='cygpath -w'
1581 # Define the identity of the package.
1586 cat >>confdefs.h <<_ACEOF
1587 #define PACKAGE "$PACKAGE"
1591 cat >>confdefs.h <<_ACEOF
1592 #define VERSION "$VERSION"
1595 # Some tools Automake needs.
1597 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1600 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1603 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1606 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1609 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1611 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1613 # Installed binaries are usually stripped using `strip' when the user
1614 # run `make install-strip'. However `strip' might not be the right
1615 # tool to use in cross-compilation environments, therefore Automake
1616 # will honor the `STRIP' environment variable to overrule this program.
1617 if test "$cross_compiling" != no; then
1618 if test -n "$ac_tool_prefix"; then
1619 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1620 set dummy ${ac_tool_prefix}strip; ac_word=$2
1621 echo "$as_me:$LINENO: checking for $ac_word" >&5
1622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1623 if test "${ac_cv_prog_STRIP+set}" = set; then
1624 echo $ECHO_N "(cached) $ECHO_C" >&6
1626 if test -n "$STRIP"; then
1627 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1633 test -z "$as_dir" && as_dir=.
1634 for ac_exec_ext in '' $ac_executable_extensions; do
1635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1636 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1645 STRIP=$ac_cv_prog_STRIP
1646 if test -n "$STRIP"; then
1647 echo "$as_me:$LINENO: result: $STRIP" >&5
1648 echo "${ECHO_T}$STRIP" >&6
1650 echo "$as_me:$LINENO: result: no" >&5
1651 echo "${ECHO_T}no" >&6
1655 if test -z "$ac_cv_prog_STRIP"; then
1657 # Extract the first word of "strip", so it can be a program name with args.
1658 set dummy strip; ac_word=$2
1659 echo "$as_me:$LINENO: checking for $ac_word" >&5
1660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1661 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1664 if test -n "$ac_ct_STRIP"; then
1665 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1671 test -z "$as_dir" && as_dir=.
1672 for ac_exec_ext in '' $ac_executable_extensions; do
1673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1674 ac_cv_prog_ac_ct_STRIP="strip"
1675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1681 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1684 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1685 if test -n "$ac_ct_STRIP"; then
1686 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1687 echo "${ECHO_T}$ac_ct_STRIP" >&6
1689 echo "$as_me:$LINENO: result: no" >&5
1690 echo "${ECHO_T}no" >&6
1695 STRIP="$ac_cv_prog_STRIP"
1699 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1701 # We need awk for the "check" target. The system "awk" is bad on
1703 # Always define AMTAR for backward compatibility.
1705 AMTAR=${AMTAR-"${am_missing_run}tar"}
1707 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1714 ac_cpp='$CPP $CPPFLAGS'
1715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1718 if test -n "$ac_tool_prefix"; then
1719 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1720 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1721 echo "$as_me:$LINENO: checking for $ac_word" >&5
1722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1723 if test "${ac_cv_prog_CC+set}" = set; then
1724 echo $ECHO_N "(cached) $ECHO_C" >&6
1726 if test -n "$CC"; then
1727 ac_cv_prog_CC="$CC" # Let the user override the test.
1729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1733 test -z "$as_dir" && as_dir=.
1734 for ac_exec_ext in '' $ac_executable_extensions; do
1735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1736 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1746 if test -n "$CC"; then
1747 echo "$as_me:$LINENO: result: $CC" >&5
1748 echo "${ECHO_T}$CC" >&6
1750 echo "$as_me:$LINENO: result: no" >&5
1751 echo "${ECHO_T}no" >&6
1755 if test -z "$ac_cv_prog_CC"; then
1757 # Extract the first word of "gcc", so it can be a program name with args.
1758 set dummy gcc; ac_word=$2
1759 echo "$as_me:$LINENO: checking for $ac_word" >&5
1760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1761 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1762 echo $ECHO_N "(cached) $ECHO_C" >&6
1764 if test -n "$ac_ct_CC"; then
1765 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1771 test -z "$as_dir" && as_dir=.
1772 for ac_exec_ext in '' $ac_executable_extensions; do
1773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1774 ac_cv_prog_ac_ct_CC="gcc"
1775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1783 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1784 if test -n "$ac_ct_CC"; then
1785 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1786 echo "${ECHO_T}$ac_ct_CC" >&6
1788 echo "$as_me:$LINENO: result: no" >&5
1789 echo "${ECHO_T}no" >&6
1797 if test -z "$CC"; then
1798 if test -n "$ac_tool_prefix"; then
1799 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1800 set dummy ${ac_tool_prefix}cc; ac_word=$2
1801 echo "$as_me:$LINENO: checking for $ac_word" >&5
1802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1803 if test "${ac_cv_prog_CC+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 if test -n "$CC"; then
1807 ac_cv_prog_CC="$CC" # Let the user override the test.
1809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1813 test -z "$as_dir" && as_dir=.
1814 for ac_exec_ext in '' $ac_executable_extensions; do
1815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1816 ac_cv_prog_CC="${ac_tool_prefix}cc"
1817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 if test -n "$CC"; then
1827 echo "$as_me:$LINENO: result: $CC" >&5
1828 echo "${ECHO_T}$CC" >&6
1830 echo "$as_me:$LINENO: result: no" >&5
1831 echo "${ECHO_T}no" >&6
1835 if test -z "$ac_cv_prog_CC"; then
1837 # Extract the first word of "cc", so it can be a program name with args.
1838 set dummy cc; ac_word=$2
1839 echo "$as_me:$LINENO: checking for $ac_word" >&5
1840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1841 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1842 echo $ECHO_N "(cached) $ECHO_C" >&6
1844 if test -n "$ac_ct_CC"; then
1845 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1851 test -z "$as_dir" && as_dir=.
1852 for ac_exec_ext in '' $ac_executable_extensions; do
1853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1854 ac_cv_prog_ac_ct_CC="cc"
1855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1863 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1864 if test -n "$ac_ct_CC"; then
1865 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1866 echo "${ECHO_T}$ac_ct_CC" >&6
1868 echo "$as_me:$LINENO: result: no" >&5
1869 echo "${ECHO_T}no" >&6
1878 if test -z "$CC"; then
1879 # Extract the first word of "cc", so it can be a program name with args.
1880 set dummy cc; ac_word=$2
1881 echo "$as_me:$LINENO: checking for $ac_word" >&5
1882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1883 if test "${ac_cv_prog_CC+set}" = set; then
1884 echo $ECHO_N "(cached) $ECHO_C" >&6
1886 if test -n "$CC"; then
1887 ac_cv_prog_CC="$CC" # Let the user override the test.
1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 test -z "$as_dir" && as_dir=.
1895 for ac_exec_ext in '' $ac_executable_extensions; do
1896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1897 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1898 ac_prog_rejected=yes
1902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 if test $ac_prog_rejected = yes; then
1909 # We found a bogon in the path, so make sure we never use it.
1910 set dummy $ac_cv_prog_CC
1912 if test $# != 0; then
1913 # We chose a different compiler from the bogus one.
1914 # However, it has the same basename, so the bogon will be chosen
1915 # first if we set CC to just the basename; use the full file name.
1917 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1923 if test -n "$CC"; then
1924 echo "$as_me:$LINENO: result: $CC" >&5
1925 echo "${ECHO_T}$CC" >&6
1927 echo "$as_me:$LINENO: result: no" >&5
1928 echo "${ECHO_T}no" >&6
1932 if test -z "$CC"; then
1933 if test -n "$ac_tool_prefix"; then
1936 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1937 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1938 echo "$as_me:$LINENO: checking for $ac_word" >&5
1939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1940 if test "${ac_cv_prog_CC+set}" = set; then
1941 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 if test -n "$CC"; then
1944 ac_cv_prog_CC="$CC" # Let the user override the test.
1946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1950 test -z "$as_dir" && as_dir=.
1951 for ac_exec_ext in '' $ac_executable_extensions; do
1952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1953 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1963 if test -n "$CC"; then
1964 echo "$as_me:$LINENO: result: $CC" >&5
1965 echo "${ECHO_T}$CC" >&6
1967 echo "$as_me:$LINENO: result: no" >&5
1968 echo "${ECHO_T}no" >&6
1971 test -n "$CC" && break
1974 if test -z "$CC"; then
1978 # Extract the first word of "$ac_prog", so it can be a program name with args.
1979 set dummy $ac_prog; ac_word=$2
1980 echo "$as_me:$LINENO: checking for $ac_word" >&5
1981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1982 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1983 echo $ECHO_N "(cached) $ECHO_C" >&6
1985 if test -n "$ac_ct_CC"; then
1986 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1992 test -z "$as_dir" && as_dir=.
1993 for ac_exec_ext in '' $ac_executable_extensions; do
1994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1995 ac_cv_prog_ac_ct_CC="$ac_prog"
1996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2004 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2005 if test -n "$ac_ct_CC"; then
2006 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2007 echo "${ECHO_T}$ac_ct_CC" >&6
2009 echo "$as_me:$LINENO: result: no" >&5
2010 echo "${ECHO_T}no" >&6
2013 test -n "$ac_ct_CC" && break
2022 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2023 See \`config.log' for more details." >&5
2024 echo "$as_me: error: no acceptable C compiler found in \$PATH
2025 See \`config.log' for more details." >&2;}
2026 { (exit 1); exit 1; }; }
2028 # Provide some information about the compiler.
2029 echo "$as_me:$LINENO:" \
2030 "checking for C compiler version" >&5
2031 ac_compiler=`set X $ac_compile; echo $2`
2032 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2033 (eval $ac_compiler --version </dev/null >&5) 2>&5
2035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2036 (exit $ac_status); }
2037 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2038 (eval $ac_compiler -v </dev/null >&5) 2>&5
2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2041 (exit $ac_status); }
2042 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2043 (eval $ac_compiler -V </dev/null >&5) 2>&5
2045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2046 (exit $ac_status); }
2048 cat >conftest.$ac_ext <<_ACEOF
2051 cat confdefs.h >>conftest.$ac_ext
2052 cat >>conftest.$ac_ext <<_ACEOF
2053 /* end confdefs.h. */
2063 ac_clean_files_save=$ac_clean_files
2064 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2065 # Try to create an executable without -o first, disregard a.out.
2066 # It will help us diagnose broken compilers, and finding out an intuition
2068 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2069 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2070 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2071 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2072 (eval $ac_link_default) 2>&5
2074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2075 (exit $ac_status); }; then
2076 # Find the output, starting from the most likely. This scheme is
2077 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2080 # Be careful to initialize this variable, since it used to be cached.
2081 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2083 # b.out is created by i960 compilers.
2084 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2086 test -f "$ac_file" || continue
2088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2091 # This is the source file.
2094 # We found the default executable, but exeext='' is most
2098 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2099 # FIXME: I believe we export ac_cv_exeext for Libtool,
2100 # but it would be cool to find out if it's true. Does anybody
2101 # maintain Libtool? --akim.
2109 echo "$as_me: failed program was:" >&5
2110 sed 's/^/| /' conftest.$ac_ext >&5
2112 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2113 See \`config.log' for more details." >&5
2114 echo "$as_me: error: C compiler cannot create executables
2115 See \`config.log' for more details." >&2;}
2116 { (exit 77); exit 77; }; }
2119 ac_exeext=$ac_cv_exeext
2120 echo "$as_me:$LINENO: result: $ac_file" >&5
2121 echo "${ECHO_T}$ac_file" >&6
2123 # Check the compiler produces executables we can run. If not, either
2124 # the compiler is broken, or we cross compile.
2125 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2126 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2127 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2128 # If not cross compiling, check that we can run a simple program.
2129 if test "$cross_compiling" != yes; then
2130 if { ac_try='./$ac_file'
2131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); }; }; then
2138 if test "$cross_compiling" = maybe; then
2141 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2142 If you meant to cross compile, use \`--host'.
2143 See \`config.log' for more details." >&5
2144 echo "$as_me: error: cannot run C compiled programs.
2145 If you meant to cross compile, use \`--host'.
2146 See \`config.log' for more details." >&2;}
2147 { (exit 1); exit 1; }; }
2151 echo "$as_me:$LINENO: result: yes" >&5
2152 echo "${ECHO_T}yes" >&6
2154 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2155 ac_clean_files=$ac_clean_files_save
2156 # Check the compiler produces executables we can run. If not, either
2157 # the compiler is broken, or we cross compile.
2158 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2159 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2160 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2161 echo "${ECHO_T}$cross_compiling" >&6
2163 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2164 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2166 (eval $ac_link) 2>&5
2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2169 (exit $ac_status); }; then
2170 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2171 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2172 # work properly (i.e., refer to `conftest.exe'), while it won't with
2174 for ac_file in conftest.exe conftest conftest.*; do
2175 test -f "$ac_file" || continue
2177 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2178 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2185 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2186 See \`config.log' for more details." >&5
2187 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2188 See \`config.log' for more details." >&2;}
2189 { (exit 1); exit 1; }; }
2192 rm -f conftest$ac_cv_exeext
2193 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2194 echo "${ECHO_T}$ac_cv_exeext" >&6
2196 rm -f conftest.$ac_ext
2197 EXEEXT=$ac_cv_exeext
2199 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2200 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2201 if test "${ac_cv_objext+set}" = set; then
2202 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 cat >conftest.$ac_ext <<_ACEOF
2207 cat confdefs.h >>conftest.$ac_ext
2208 cat >>conftest.$ac_ext <<_ACEOF
2209 /* end confdefs.h. */
2219 rm -f conftest.o conftest.obj
2220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2221 (eval $ac_compile) 2>&5
2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224 (exit $ac_status); }; then
2225 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2228 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2233 echo "$as_me: failed program was:" >&5
2234 sed 's/^/| /' conftest.$ac_ext >&5
2236 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2237 See \`config.log' for more details." >&5
2238 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2239 See \`config.log' for more details." >&2;}
2240 { (exit 1); exit 1; }; }
2243 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2245 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2246 echo "${ECHO_T}$ac_cv_objext" >&6
2247 OBJEXT=$ac_cv_objext
2249 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2250 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2251 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2252 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 cat >conftest.$ac_ext <<_ACEOF
2257 cat confdefs.h >>conftest.$ac_ext
2258 cat >>conftest.$ac_ext <<_ACEOF
2259 /* end confdefs.h. */
2272 rm -f conftest.$ac_objext
2273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2274 (eval $ac_compile) 2>conftest.er1
2276 grep -v '^ *+' conftest.er1 >conftest.err
2278 cat conftest.err >&5
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); } &&
2281 { ac_try='test -z "$ac_c_werror_flag"
2282 || test ! -s conftest.err'
2283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287 (exit $ac_status); }; } &&
2288 { ac_try='test -s conftest.$ac_objext'
2289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); }; }; then
2296 echo "$as_me: failed program was:" >&5
2297 sed 's/^/| /' conftest.$ac_ext >&5
2301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2302 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2305 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2306 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2307 GCC=`test $ac_compiler_gnu = yes && echo yes`
2308 ac_test_CFLAGS=${CFLAGS+set}
2309 ac_save_CFLAGS=$CFLAGS
2311 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2312 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2313 if test "${ac_cv_prog_cc_g+set}" = set; then
2314 echo $ECHO_N "(cached) $ECHO_C" >&6
2316 cat >conftest.$ac_ext <<_ACEOF
2319 cat confdefs.h >>conftest.$ac_ext
2320 cat >>conftest.$ac_ext <<_ACEOF
2321 /* end confdefs.h. */
2331 rm -f conftest.$ac_objext
2332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2333 (eval $ac_compile) 2>conftest.er1
2335 grep -v '^ *+' conftest.er1 >conftest.err
2337 cat conftest.err >&5
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); } &&
2340 { ac_try='test -z "$ac_c_werror_flag"
2341 || test ! -s conftest.err'
2342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); }; } &&
2347 { ac_try='test -s conftest.$ac_objext'
2348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }; }; then
2355 echo "$as_me: failed program was:" >&5
2356 sed 's/^/| /' conftest.$ac_ext >&5
2360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2362 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2363 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2364 if test "$ac_test_CFLAGS" = set; then
2365 CFLAGS=$ac_save_CFLAGS
2366 elif test $ac_cv_prog_cc_g = yes; then
2367 if test "$GCC" = yes; then
2373 if test "$GCC" = yes; then
2379 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2380 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2381 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2382 echo $ECHO_N "(cached) $ECHO_C" >&6
2384 ac_cv_prog_cc_stdc=no
2386 cat >conftest.$ac_ext <<_ACEOF
2389 cat confdefs.h >>conftest.$ac_ext
2390 cat >>conftest.$ac_ext <<_ACEOF
2391 /* end confdefs.h. */
2394 #include <sys/types.h>
2395 #include <sys/stat.h>
2396 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2397 struct buf { int x; };
2398 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2399 static char *e (p, i)
2405 static char *f (char * (*g) (char **, int), char **p, ...)
2410 s = g (p, va_arg (v,int));
2415 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2416 function prototypes and stuff, but not '\xHH' hex character constants.
2417 These don't provoke an error unfortunately, instead are silently treated
2418 as 'x'. The following induces an error, until -std1 is added to get
2419 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2420 array size at least. It's necessary to write '\x00'==0 to get something
2421 that's true only with -std1. */
2422 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2424 int test (int i, double x);
2425 struct s1 {int (*f) (int a);};
2426 struct s2 {int (*f) (double a);};
2427 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2433 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2438 # Don't try gcc -ansi; that turns off useful extensions and
2439 # breaks some systems' header files.
2440 # AIX -qlanglvl=ansi
2441 # Ultrix and OSF/1 -std1
2442 # HP-UX 10.20 and later -Ae
2443 # HP-UX older versions -Aa -D_HPUX_SOURCE
2444 # SVR4 -Xc -D__EXTENSIONS__
2445 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2447 CC="$ac_save_CC $ac_arg"
2448 rm -f conftest.$ac_objext
2449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2450 (eval $ac_compile) 2>conftest.er1
2452 grep -v '^ *+' conftest.er1 >conftest.err
2454 cat conftest.err >&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); } &&
2457 { ac_try='test -z "$ac_c_werror_flag"
2458 || test ! -s conftest.err'
2459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463 (exit $ac_status); }; } &&
2464 { ac_try='test -s conftest.$ac_objext'
2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); }; }; then
2470 ac_cv_prog_cc_stdc=$ac_arg
2473 echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.$ac_ext >&5
2477 rm -f conftest.err conftest.$ac_objext
2479 rm -f conftest.$ac_ext conftest.$ac_objext
2484 case "x$ac_cv_prog_cc_stdc" in
2486 echo "$as_me:$LINENO: result: none needed" >&5
2487 echo "${ECHO_T}none needed" >&6 ;;
2489 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2490 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2491 CC="$CC $ac_cv_prog_cc_stdc" ;;
2494 # Some people use a C++ compiler to compile C. Since we use `exit',
2495 # in C++ we need to declare it. In case someone uses the same compiler
2496 # for both compiling C and C++ we need to have the C++ compiler decide
2497 # the declaration of exit, since it's the most demanding environment.
2498 cat >conftest.$ac_ext <<_ACEOF
2503 rm -f conftest.$ac_objext
2504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2505 (eval $ac_compile) 2>conftest.er1
2507 grep -v '^ *+' conftest.er1 >conftest.err
2509 cat conftest.err >&5
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); } &&
2512 { ac_try='test -z "$ac_c_werror_flag"
2513 || test ! -s conftest.err'
2514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; } &&
2519 { ac_try='test -s conftest.$ac_objext'
2520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); }; }; then
2525 for ac_declaration in \
2527 'extern "C" void std::exit (int) throw (); using std::exit;' \
2528 'extern "C" void std::exit (int); using std::exit;' \
2529 'extern "C" void exit (int) throw ();' \
2530 'extern "C" void exit (int);' \
2533 cat >conftest.$ac_ext <<_ACEOF
2536 cat confdefs.h >>conftest.$ac_ext
2537 cat >>conftest.$ac_ext <<_ACEOF
2538 /* end confdefs.h. */
2549 rm -f conftest.$ac_objext
2550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2551 (eval $ac_compile) 2>conftest.er1
2553 grep -v '^ *+' conftest.er1 >conftest.err
2555 cat conftest.err >&5
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); } &&
2558 { ac_try='test -z "$ac_c_werror_flag"
2559 || test ! -s conftest.err'
2560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; } &&
2565 { ac_try='test -s conftest.$ac_objext'
2566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); }; }; then
2573 echo "$as_me: failed program was:" >&5
2574 sed 's/^/| /' conftest.$ac_ext >&5
2578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2579 cat >conftest.$ac_ext <<_ACEOF
2582 cat confdefs.h >>conftest.$ac_ext
2583 cat >>conftest.$ac_ext <<_ACEOF
2584 /* end confdefs.h. */
2594 rm -f conftest.$ac_objext
2595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2596 (eval $ac_compile) 2>conftest.er1
2598 grep -v '^ *+' conftest.er1 >conftest.err
2600 cat conftest.err >&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); } &&
2603 { ac_try='test -z "$ac_c_werror_flag"
2604 || test ! -s conftest.err'
2605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); }; } &&
2610 { ac_try='test -s conftest.$ac_objext'
2611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }; }; then
2618 echo "$as_me: failed program was:" >&5
2619 sed 's/^/| /' conftest.$ac_ext >&5
2622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2625 if test -n "$ac_declaration"; then
2626 echo '#ifdef __cplusplus' >>confdefs.h
2627 echo $ac_declaration >>confdefs.h
2628 echo '#endif' >>confdefs.h
2632 echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.$ac_ext >&5
2636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2638 ac_cpp='$CPP $CPPFLAGS'
2639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2642 DEPDIR="${am__leading_dot}deps"
2644 ac_config_commands="$ac_config_commands depfiles"
2647 am_make=${MAKE-make}
2648 cat > confinc << 'END'
2653 # If we don't find an include directive, just comment out the code.
2654 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2655 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2659 # First try GNU make style include.
2660 echo "include confinc" > confmf
2661 # We grep out `Entering directory' and `Leaving directory'
2662 # messages which can occur if `w' ends up in MAKEFLAGS.
2663 # In particular we don't look at `^make:' because GNU make might
2664 # be invoked under some other name (usually "gmake"), in which
2665 # case it prints its new name instead of `make'.
2666 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2671 # Now try BSD make style include.
2672 if test "$am__include" = "#"; then
2673 echo '.include "confinc"' > confmf
2674 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2675 am__include=.include
2682 echo "$as_me:$LINENO: result: $_am_result" >&5
2683 echo "${ECHO_T}$_am_result" >&6
2684 rm -f confinc confmf
2686 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2687 if test "${enable_dependency_tracking+set}" = set; then
2688 enableval="$enable_dependency_tracking"
2691 if test "x$enable_dependency_tracking" != xno; then
2692 am_depcomp="$ac_aux_dir/depcomp"
2697 if test "x$enable_dependency_tracking" != xno; then
2708 depcc="$CC" am_compiler_list=
2710 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2711 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2712 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2713 echo $ECHO_N "(cached) $ECHO_C" >&6
2715 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2716 # We make a subdir and do the tests there. Otherwise we can end up
2717 # making bogus files that we don't know about and never remove. For
2718 # instance it was reported that on HP-UX the gcc test will end up
2719 # making a dummy file named `D' -- because `-MD' means `put the output
2722 # Copy depcomp to subdir because otherwise we won't find it if we're
2723 # using a relative directory.
2724 cp "$am_depcomp" conftest.dir
2726 # We will build objects and dependencies in a subdirectory because
2727 # it helps to detect inapplicable dependency modes. For instance
2728 # both Tru64's cc and ICC support -MD to output dependencies as a
2729 # side effect of compilation, but ICC will put the dependencies in
2730 # the current directory while Tru64 will put them in the object
2734 am_cv_CC_dependencies_compiler_type=none
2735 if test "$am_compiler_list" = ""; then
2736 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2738 for depmode in $am_compiler_list; do
2739 # Setup a source with many dependencies, because some compilers
2740 # like to wrap large dependency lists on column 80 (with \), and
2741 # we should not choose a depcomp mode which is confused by this.
2743 # We need to recreate these files for each test, as the compiler may
2744 # overwrite some of them when testing with obscure command lines.
2745 # This happens at least with the AIX C compiler.
2747 for i in 1 2 3 4 5 6; do
2748 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2749 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2750 # Solaris 8's {/usr,}/bin/sh.
2751 touch sub/conftst$i.h
2753 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2757 # after this tag, mechanisms are not by side-effect, so they'll
2758 # only be used when explicitly requested
2759 if test "x$enable_dependency_tracking" = xyes; then
2767 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2768 # mode. It turns out that the SunPro C++ compiler does not properly
2769 # handle `-M -o', and we need to detect this.
2770 if depmode=$depmode \
2771 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2772 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2773 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2774 >/dev/null 2>conftest.err &&
2775 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2776 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2777 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2778 # icc doesn't choke on unknown options, it will just issue warnings
2779 # or remarks (even with -Werror). So we grep stderr for any message
2780 # that says an option was ignored or not supported.
2781 # When given -MP, icc 7.0 and 7.1 complain thusly:
2782 # icc: Command line warning: ignoring option '-M'; no argument required
2783 # The diagnosis changed in icc 8.0:
2784 # icc: Command line remark: option '-MP' not supported
2785 if (grep 'ignoring option' conftest.err ||
2786 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2787 am_cv_CC_dependencies_compiler_type=$depmode
2796 am_cv_CC_dependencies_compiler_type=none
2800 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2801 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2802 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2807 test "x$enable_dependency_tracking" != xno \
2808 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2810 am__fastdepCC_FALSE='#'
2812 am__fastdepCC_TRUE='#'
2813 am__fastdepCC_FALSE=
2817 ac_config_headers="$ac_config_headers config.h"
2820 ##########################################################################
2821 # adding the readline library (e.g. with static name 'libreadline.a')
2822 ##########################################################################
2824 # adding the lib to the files to link
2825 LIBS="-lreadline $LIBS"
2827 # introduce the optional configure parameter for a non-standard install prefix of readline
2829 # Check whether --with-readline or --without-readline was given.
2830 if test "${with_readline+set}" = set; then
2831 withval="$with_readline"
2837 # if optional parameter used, extend path flags for compliler and linker
2838 if test $readlinePATHSET = 1 ; then
2839 # extend the compiler and linker flags according to the path set
2840 AM_CXXFLAGS="$AM_CXXFLAGS -I$with_readline/include"
2841 AM_LDFLAGS="$AM_LDFLAGS -L$with_readline/lib"
2844 ##########################################################################
2847 ##########################################################################
2848 # check for readline library
2849 ##########################################################################
2851 # store current *FLAGS and merge with AM_*FLAGS for compilation and linker check
2852 OLD_CXXFLAGS=$CXXFLAGS;
2853 OLD_LDFLAGS=$LDFLAGS;
2854 CXXFLAGS="$AM_CXXFLAGS $CXXFLAGS"
2855 LDFLAGS="$AM_LDFLAGS $LDFLAGS"
2857 # ensure the library to check for is covered by the LIBS variable
2859 LIBS="$LIBS -lreadline"
2861 # check for readline library headers
2862 echo "$as_me:$LINENO: checking for the readline library headers" >&5
2863 echo $ECHO_N "checking for the readline library headers... $ECHO_C" >&6
2864 # try to compile a file that includes a header of the library readline
2866 cat >conftest.$ac_ext <<_ACEOF
2867 #include <readline/readline.h>
2869 rm -f conftest.$ac_objext
2870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2871 (eval $ac_compile) 2>conftest.er1
2873 grep -v '^ *+' conftest.er1 >conftest.err
2875 cat conftest.err >&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); } &&
2878 { ac_try='test -z "$ac_c_werror_flag"
2879 || test ! -s conftest.err'
2880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); }; } &&
2885 { ac_try='test -s conftest.$ac_objext'
2886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890 (exit $ac_status); }; }; then
2891 echo "$as_me:$LINENO: result: found" >&5
2892 echo "${ECHO_T}found" >&6
2893 # try to link the function 'rl_initialize' out of library readline
2894 echo "$as_me:$LINENO: checking whether the readline library can be linked" >&5
2895 echo $ECHO_N "checking whether the readline library can be linked... $ECHO_C" >&6
2896 cat >conftest.$ac_ext <<_ACEOF
2899 cat confdefs.h >>conftest.$ac_ext
2900 cat >>conftest.$ac_ext <<_ACEOF
2901 /* end confdefs.h. */
2902 #include <readline/readline.h>
2911 rm -f conftest.$ac_objext conftest$ac_exeext
2912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2913 (eval $ac_link) 2>conftest.er1
2915 grep -v '^ *+' conftest.er1 >conftest.err
2917 cat conftest.err >&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); } &&
2920 { ac_try='test -z "$ac_c_werror_flag"
2921 || test ! -s conftest.err'
2922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); }; } &&
2927 { ac_try='test -s conftest$ac_exeext'
2928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }; }; then
2933 echo "$as_me:$LINENO: result: yes" >&5
2934 echo "${ECHO_T}yes" >&6
2937 echo "$as_me: failed program was:" >&5
2938 sed 's/^/| /' conftest.$ac_ext >&5
2940 echo "$as_me:$LINENO: result: no" >&5
2941 echo "${ECHO_T}no" >&6
2942 LIBS=$OLD_LIBS; FOUND_readline=0;
2944 rm -f conftest.err conftest.$ac_objext \
2945 conftest$ac_exeext conftest.$ac_ext
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2950 echo "$as_me:$LINENO: result: not found" >&5
2951 echo "${ECHO_T}not found" >&6
2954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2956 # reset original *FLAGS
2957 CXXFLAGS=$OLD_CXXFLAGS
2958 LDFLAGS=$OLD_LDFLAGS
2960 # handle check results
2961 if test $FOUND_readline != 1; then
2962 { echo "$as_me:$LINENO: " >&5
2963 echo "$as_me: " >&6;}
2964 { echo "$as_me:$LINENO: The readline library was not found!" >&5
2965 echo "$as_me: The readline library was not found!" >&6;}
2966 if test $readlinePATHSET = 1 ; then
2967 { echo "$as_me:$LINENO: The install prefix '$with_readline' for the readline library was set." >&5
2968 echo "$as_me: The install prefix '$with_readline' for the readline library was set." >&6;}
2969 { echo "$as_me:$LINENO: --> Maybe wrong ???" >&5
2970 echo "$as_me: --> Maybe wrong ???" >&6;}
2972 { echo "$as_me:$LINENO: No non-standard install prefix was set." >&5
2973 echo "$as_me: No non-standard install prefix was set." >&6;}
2974 { echo "$as_me:$LINENO: --> You might want to use '--with-readline=PREFIX' ?!?" >&5
2975 echo "$as_me: --> You might want to use '--with-readline=PREFIX' ?!?" >&6;}
2977 { echo "$as_me:$LINENO: " >&5
2978 echo "$as_me: " >&6;}
2979 { { echo "$as_me:$LINENO: error: readline library is an essential dependency : cannot build and stop here !" >&5
2980 echo "$as_me: error: readline library is an essential dependency : cannot build and stop here !" >&2;}
2981 { (exit 1); exit 1; }; }
2984 ##########################################################################
2990 ac_config_files="$ac_config_files Makefile src/Makefile"
2992 cat >confcache <<\_ACEOF
2993 # This file is a shell script that caches the results of configure
2994 # tests run on this system so they can be shared between configure
2995 # scripts and configure runs, see configure's option --config-cache.
2996 # It is not useful on other systems. If it contains results you don't
2997 # want to keep, you may remove or edit it.
2999 # config.status only pays attention to the cache file if you give it
3000 # the --recheck option to rerun configure.
3002 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3003 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3008 # The following way of writing the cache mishandles newlines in values,
3009 # but we know of no workaround that is simple, portable, and efficient.
3010 # So, don't put newlines in cache variables' values.
3011 # Ultrix sh set writes to stderr and can't be redirected directly,
3012 # and sets the high bit in the cache file unless we assign to the vars.
3015 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3017 # `set' does not quote correctly, so add quotes (double-quote
3018 # substitution turns \\\\ into \\, and sed turns \\ into \).
3021 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3024 # `set' quotes correctly as required by POSIX, so do not add quotes.
3026 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3033 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3035 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3037 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3038 if test -w $cache_file; then
3039 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3040 cat confcache >$cache_file
3042 echo "not updating unwritable cache $cache_file"
3047 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3048 # Let make expand exec_prefix.
3049 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3051 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3052 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3053 # trailing colons and then remove the whole line if VPATH becomes empty
3054 # (actually we leave an empty line to preserve line numbers).
3055 if test "x$srcdir" = x.; then
3056 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3057 s/:*\$(srcdir):*/:/;
3058 s/:*\${srcdir}:*/:/;
3060 s/^\([^=]*=[ ]*\):*/\1/;
3066 DEFS=-DHAVE_CONFIG_H
3070 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3071 # 1. Remove the extension, and $U if already installed.
3072 ac_i=`echo "$ac_i" |
3073 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3075 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3076 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3080 LTLIBOBJS=$ac_ltlibobjs
3083 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3084 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3085 Usually this means the macro was only invoked conditionally." >&5
3086 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3087 Usually this means the macro was only invoked conditionally." >&2;}
3088 { (exit 1); exit 1; }; }
3090 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3091 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3092 Usually this means the macro was only invoked conditionally." >&5
3093 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3094 Usually this means the macro was only invoked conditionally." >&2;}
3095 { (exit 1); exit 1; }; }
3098 : ${CONFIG_STATUS=./config.status}
3099 ac_clean_files_save=$ac_clean_files
3100 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3101 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3102 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3103 cat >$CONFIG_STATUS <<_ACEOF
3105 # Generated by $as_me.
3106 # Run this file to recreate the current configuration.
3107 # Compiler output produced by configure, useful for debugging
3108 # configure, is in config.log if it exists.
3113 SHELL=\${CONFIG_SHELL-$SHELL}
3116 cat >>$CONFIG_STATUS <<\_ACEOF
3117 ## --------------------- ##
3118 ## M4sh Initialization. ##
3119 ## --------------------- ##
3121 # Be Bourne compatible
3122 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3125 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3126 # is contrary to our usage. Disable this feature.
3127 alias -g '${1+"$@"}'='"$@"'
3128 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3131 DUALCASE=1; export DUALCASE # for MKS sh
3133 # Support unset when possible.
3134 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3141 # Work around bugs in pre-3.0 UWIN ksh.
3142 $as_unset ENV MAIL MAILPATH
3149 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3150 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3151 LC_TELEPHONE LC_TIME
3153 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3154 eval $as_var=C; export $as_var
3160 # Required to use basename.
3161 if expr a : '\(a\)' >/dev/null 2>&1; then
3167 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3168 as_basename=basename
3174 # Name of the executable.
3175 as_me=`$as_basename "$0" ||
3176 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3177 X"$0" : 'X\(//\)$' \| \
3178 X"$0" : 'X\(/\)$' \| \
3179 . : '\(.\)' 2>/dev/null ||
3181 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3182 /^X\/\(\/\/\)$/{ s//\1/; q; }
3183 /^X\/\(\/\).*/{ s//\1/; q; }
3187 # PATH needs CR, and LINENO needs CR and PATH.
3188 # Avoid depending upon Character Ranges.
3189 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3190 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3191 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3192 as_cr_digits='0123456789'
3193 as_cr_alnum=$as_cr_Letters$as_cr_digits
3195 # The user is always right.
3196 if test "${PATH_SEPARATOR+set}" != set; then
3197 echo "#! /bin/sh" >conf$$.sh
3198 echo "exit 0" >>conf$$.sh
3200 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3211 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3212 test "x$as_lineno_1" != "x$as_lineno_2" &&
3213 test "x$as_lineno_3" = "x$as_lineno_2" || {
3214 # Find who we are. Look in the path if we contain no path at all
3217 *[\\/]* ) as_myself=$0 ;;
3218 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3222 test -z "$as_dir" && as_dir=.
3223 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3228 # We did not find ourselves, most probably we were run as `sh COMMAND'
3229 # in which case we are not to be found in the path.
3230 if test "x$as_myself" = x; then
3233 if test ! -f "$as_myself"; then
3234 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3235 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3236 { (exit 1); exit 1; }; }
3238 case $CONFIG_SHELL in
3240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3244 test -z "$as_dir" && as_dir=.
3245 for as_base in sh bash ksh sh5; do
3248 if ("$as_dir/$as_base" -c '
3251 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3252 test "x$as_lineno_1" != "x$as_lineno_2" &&
3253 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3254 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3255 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3256 CONFIG_SHELL=$as_dir/$as_base
3258 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3266 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3267 # uniformly replaced by the line number. The first 'sed' inserts a
3268 # line-number line before each line; the second 'sed' does the real
3269 # work. The second script uses 'N' to pair each line-number line
3270 # with the numbered line, and appends trailing '-' during
3271 # substitution so that $LINENO is not a special case at line end.
3272 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3273 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3274 sed '=' <$as_myself |
3279 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3282 s,^['$as_cr_digits']*\n,,
3284 chmod +x $as_me.lineno ||
3285 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3286 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3287 { (exit 1); exit 1; }; }
3289 # Don't try to exec as it changes $[0], causing all sort of problems
3290 # (the dirname of $[0] is not the place where we might find the
3291 # original and so on. Autoconf is especially sensible to this).
3293 # Exit status is that of the last command.
3298 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3299 *c*,-n*) ECHO_N= ECHO_C='
3301 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3302 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3305 if expr a : '\(a\)' >/dev/null 2>&1; then
3311 rm -f conf$$ conf$$.exe conf$$.file
3313 if ln -s conf$$.file conf$$ 2>/dev/null; then
3314 # We could just check for DJGPP; but this test a) works b) is more generic
3315 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3316 if test -f conf$$.exe; then
3317 # Don't use ln at all; we don't have any links
3322 elif ln conf$$.file conf$$ 2>/dev/null; then
3327 rm -f conf$$ conf$$.exe conf$$.file
3329 if mkdir -p . 2>/dev/null; then
3332 test -d ./-p && rmdir ./-p
3336 as_executable_p="test -f"
3338 # Sed expression to map a string onto a valid CPP name.
3339 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3341 # Sed expression to map a string onto a valid variable name.
3342 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3346 # We need space, tab and new line, in precisely that order.
3356 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3357 # report actual input values of CONFIG_FILES etc. instead of their
3358 # values after options handling. Logging --version etc. is OK.
3362 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3363 ## Running $as_me. ##
3368 This file was extended by ctdlsh $as_me 1.0, which was
3369 generated by GNU Autoconf 2.59. Invocation command line was
3371 CONFIG_FILES = $CONFIG_FILES
3372 CONFIG_HEADERS = $CONFIG_HEADERS
3373 CONFIG_LINKS = $CONFIG_LINKS
3374 CONFIG_COMMANDS = $CONFIG_COMMANDS
3378 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3382 # Files that config.status was made for.
3383 if test -n "$ac_config_files"; then
3384 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3387 if test -n "$ac_config_headers"; then
3388 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3391 if test -n "$ac_config_links"; then
3392 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3395 if test -n "$ac_config_commands"; then
3396 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3399 cat >>$CONFIG_STATUS <<\_ACEOF
3402 \`$as_me' instantiates files from templates according to the
3403 current configuration.
3405 Usage: $0 [OPTIONS] [FILE]...
3407 -h, --help print this help, then exit
3408 -V, --version print version number, then exit
3409 -q, --quiet do not print progress messages
3410 -d, --debug don't remove temporary files
3411 --recheck update $as_me by reconfiguring in the same conditions
3412 --file=FILE[:TEMPLATE]
3413 instantiate the configuration file FILE
3414 --header=FILE[:TEMPLATE]
3415 instantiate the configuration header FILE
3417 Configuration files:
3420 Configuration headers:
3423 Configuration commands:
3426 Report bugs to <bug-autoconf@gnu.org>."
3429 cat >>$CONFIG_STATUS <<_ACEOF
3431 ctdlsh config.status 1.0
3432 configured by $0, generated by GNU Autoconf 2.59,
3433 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3435 Copyright (C) 2003 Free Software Foundation, Inc.
3436 This config.status script is free software; the Free Software Foundation
3437 gives unlimited permission to copy, distribute and modify it."
3442 cat >>$CONFIG_STATUS <<\_ACEOF
3443 # If no file are specified by the user, then we need to provide default
3444 # value. By we need to know if files were specified by the user.
3450 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3451 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3459 *) # This is not an option, so the user has probably given explicit
3462 ac_need_defaults=false;;
3466 # Handling of the options.
3468 cat >>$CONFIG_STATUS <<\_ACEOF
3469 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3471 --version | --vers* | -V )
3472 echo "$ac_cs_version"; exit 0 ;;
3474 # Conflict between --help and --header
3475 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3476 Try \`$0 --help' for more information." >&5
3477 echo "$as_me: error: ambiguous option: $1
3478 Try \`$0 --help' for more information." >&2;}
3479 { (exit 1); exit 1; }; };;
3480 --help | --hel | -h )
3481 echo "$ac_cs_usage"; exit 0 ;;
3482 --debug | --d* | -d )
3484 --file | --fil | --fi | --f )
3486 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3487 ac_need_defaults=false;;
3488 --header | --heade | --head | --hea )
3490 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3491 ac_need_defaults=false;;
3492 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3493 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3497 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3498 Try \`$0 --help' for more information." >&5
3499 echo "$as_me: error: unrecognized option: $1
3500 Try \`$0 --help' for more information." >&2;}
3501 { (exit 1); exit 1; }; } ;;
3503 *) ac_config_targets="$ac_config_targets $1" ;;
3509 ac_configure_extra_args=
3511 if $ac_cs_silent; then
3513 ac_configure_extra_args="$ac_configure_extra_args --silent"
3517 cat >>$CONFIG_STATUS <<_ACEOF
3518 if \$ac_cs_recheck; then
3519 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3520 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3525 cat >>$CONFIG_STATUS <<_ACEOF
3527 # INIT-COMMANDS section.
3530 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3536 cat >>$CONFIG_STATUS <<\_ACEOF
3537 for ac_config_target in $ac_config_targets
3539 case "$ac_config_target" in
3540 # Handling of arguments.
3541 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3542 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3543 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3544 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3545 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3546 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3547 { (exit 1); exit 1; }; };;
3551 # If the user did not use the arguments to specify the items to instantiate,
3552 # then the envvar interface is used. Set only those that are not.
3553 # We use the long form for the default assignment because of an extremely
3554 # bizarre bug on SunOS 4.1.3.
3555 if $ac_need_defaults; then
3556 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3557 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3558 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3561 # Have a temporary directory for convenience. Make it in the build tree
3562 # simply because there is no reason to put it here, and in addition,
3563 # creating and moving files from /tmp can sometimes cause problems.
3564 # Create a temporary directory, and hook for its removal unless debugging.
3567 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3568 trap '{ (exit 1); exit 1; }' 1 2 13 15
3571 # Create a (secure) tmp directory for tmp files.
3574 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3575 test -n "$tmp" && test -d "$tmp"
3578 tmp=./confstat$$-$RANDOM
3579 (umask 077 && mkdir $tmp)
3582 echo "$me: cannot create a temporary directory in ." >&2
3583 { (exit 1); exit 1; }
3588 cat >>$CONFIG_STATUS <<_ACEOF
3591 # CONFIG_FILES section.
3594 # No need to generate the scripts if there are no CONFIG_FILES.
3595 # This happens for instance when ./config.status config.h
3596 if test -n "\$CONFIG_FILES"; then
3597 # Protect against being on the right side of a sed subst in config.status.
3598 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3599 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3600 s,@SHELL@,$SHELL,;t t
3601 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3602 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3603 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3604 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3605 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3606 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3607 s,@exec_prefix@,$exec_prefix,;t t
3608 s,@prefix@,$prefix,;t t
3609 s,@program_transform_name@,$program_transform_name,;t t
3610 s,@bindir@,$bindir,;t t
3611 s,@sbindir@,$sbindir,;t t
3612 s,@libexecdir@,$libexecdir,;t t
3613 s,@datadir@,$datadir,;t t
3614 s,@sysconfdir@,$sysconfdir,;t t
3615 s,@sharedstatedir@,$sharedstatedir,;t t
3616 s,@localstatedir@,$localstatedir,;t t
3617 s,@libdir@,$libdir,;t t
3618 s,@includedir@,$includedir,;t t
3619 s,@oldincludedir@,$oldincludedir,;t t
3620 s,@infodir@,$infodir,;t t
3621 s,@mandir@,$mandir,;t t
3622 s,@build_alias@,$build_alias,;t t
3623 s,@host_alias@,$host_alias,;t t
3624 s,@target_alias@,$target_alias,;t t
3626 s,@ECHO_C@,$ECHO_C,;t t
3627 s,@ECHO_N@,$ECHO_N,;t t
3628 s,@ECHO_T@,$ECHO_T,;t t
3630 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3631 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3632 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3633 s,@CYGPATH_W@,$CYGPATH_W,;t t
3634 s,@PACKAGE@,$PACKAGE,;t t
3635 s,@VERSION@,$VERSION,;t t
3636 s,@ACLOCAL@,$ACLOCAL,;t t
3637 s,@AUTOCONF@,$AUTOCONF,;t t
3638 s,@AUTOMAKE@,$AUTOMAKE,;t t
3639 s,@AUTOHEADER@,$AUTOHEADER,;t t
3640 s,@MAKEINFO@,$MAKEINFO,;t t
3641 s,@install_sh@,$install_sh,;t t
3642 s,@STRIP@,$STRIP,;t t
3643 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3644 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3645 s,@mkdir_p@,$mkdir_p,;t t
3647 s,@SET_MAKE@,$SET_MAKE,;t t
3648 s,@am__leading_dot@,$am__leading_dot,;t t
3649 s,@AMTAR@,$AMTAR,;t t
3650 s,@am__tar@,$am__tar,;t t
3651 s,@am__untar@,$am__untar,;t t
3653 s,@CFLAGS@,$CFLAGS,;t t
3654 s,@LDFLAGS@,$LDFLAGS,;t t
3655 s,@CPPFLAGS@,$CPPFLAGS,;t t
3656 s,@ac_ct_CC@,$ac_ct_CC,;t t
3657 s,@EXEEXT@,$EXEEXT,;t t
3658 s,@OBJEXT@,$OBJEXT,;t t
3659 s,@DEPDIR@,$DEPDIR,;t t
3660 s,@am__include@,$am__include,;t t
3661 s,@am__quote@,$am__quote,;t t
3662 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3663 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3664 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3665 s,@CCDEPMODE@,$CCDEPMODE,;t t
3666 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
3667 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
3668 s,@LIBOBJS@,$LIBOBJS,;t t
3669 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3674 cat >>$CONFIG_STATUS <<\_ACEOF
3675 # Split the substitutions into bite-sized pieces for seds with
3676 # small command number limits, like on Digital OSF/1 and HP-UX.
3678 ac_sed_frag=1 # Number of current file.
3679 ac_beg=1 # First line for current file.
3680 ac_end=$ac_max_sed_lines # Line after last line for current file.
3683 while $ac_more_lines; do
3684 if test $ac_beg -gt 1; then
3685 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3687 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3689 if test ! -s $tmp/subs.frag; then
3692 # The purpose of the label and of the branching condition is to
3693 # speed up the sed processing (if there are no `@' at all, there
3694 # is no need to browse any of the substitutions).
3695 # These are the two extra sed commands mentioned above.
3697 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3698 if test -z "$ac_sed_cmds"; then
3699 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3701 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3703 ac_sed_frag=`expr $ac_sed_frag + 1`
3705 ac_end=`expr $ac_end + $ac_max_sed_lines`
3708 if test -z "$ac_sed_cmds"; then
3711 fi # test -n "$CONFIG_FILES"
3714 cat >>$CONFIG_STATUS <<\_ACEOF
3715 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3716 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3718 - | *:- | *:-:* ) # input from stdin
3720 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3721 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3722 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3723 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3724 * ) ac_file_in=$ac_file.in ;;
3727 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3728 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3729 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3730 X"$ac_file" : 'X\(//\)[^/]' \| \
3731 X"$ac_file" : 'X\(//\)$' \| \
3732 X"$ac_file" : 'X\(/\)' \| \
3733 . : '\(.\)' 2>/dev/null ||
3735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3736 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3737 /^X\(\/\/\)$/{ s//\1/; q; }
3738 /^X\(\/\).*/{ s//\1/; q; }
3740 { if $as_mkdir_p; then
3745 while test ! -d "$as_dir"; do
3746 as_dirs="$as_dir $as_dirs"
3747 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3748 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3749 X"$as_dir" : 'X\(//\)[^/]' \| \
3750 X"$as_dir" : 'X\(//\)$' \| \
3751 X"$as_dir" : 'X\(/\)' \| \
3752 . : '\(.\)' 2>/dev/null ||
3754 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3755 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3756 /^X\(\/\/\)$/{ s//\1/; q; }
3757 /^X\(\/\).*/{ s//\1/; q; }
3760 test ! -n "$as_dirs" || mkdir $as_dirs
3761 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3762 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3763 { (exit 1); exit 1; }; }; }
3767 if test "$ac_dir" != .; then
3768 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3769 # A "../" for each directory in $ac_dir_suffix.
3770 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3772 ac_dir_suffix= ac_top_builddir=
3776 .) # No --srcdir option. We are building in place.
3778 if test -z "$ac_top_builddir"; then
3781 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3783 [\\/]* | ?:[\\/]* ) # Absolute path.
3784 ac_srcdir=$srcdir$ac_dir_suffix;
3785 ac_top_srcdir=$srcdir ;;
3787 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3788 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3791 # Do not use `cd foo && pwd` to compute absolute paths, because
3792 # the directories may not exist.
3794 .) ac_abs_builddir="$ac_dir";;
3797 .) ac_abs_builddir=`pwd`;;
3798 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3799 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3802 case $ac_abs_builddir in
3803 .) ac_abs_top_builddir=${ac_top_builddir}.;;
3805 case ${ac_top_builddir}. in
3806 .) ac_abs_top_builddir=$ac_abs_builddir;;
3807 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3808 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3811 case $ac_abs_builddir in
3812 .) ac_abs_srcdir=$ac_srcdir;;
3815 .) ac_abs_srcdir=$ac_abs_builddir;;
3816 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3817 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3820 case $ac_abs_builddir in
3821 .) ac_abs_top_srcdir=$ac_top_srcdir;;
3823 case $ac_top_srcdir in
3824 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3825 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3826 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3832 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3833 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3836 if test x"$ac_file" != x-; then
3837 { echo "$as_me:$LINENO: creating $ac_file" >&5
3838 echo "$as_me: creating $ac_file" >&6;}
3841 # Let's still pretend it is `configure' which instantiates (i.e., don't
3842 # use $as_me), people would be surprised to read:
3843 # /* config.h. Generated by config.status. */
3844 if test x"$ac_file" = x-; then
3847 configure_input="$ac_file. "
3849 configure_input=$configure_input"Generated from `echo $ac_file_in |
3850 sed 's,.*/,,'` by configure."
3852 # First look for the input files in the build tree, otherwise in the
3854 ac_file_inputs=`IFS=:
3855 for f in $ac_file_in; do
3857 -) echo $tmp/stdin ;;
3859 # Absolute (can't be DOS-style, as IFS=:)
3860 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3861 echo "$as_me: error: cannot find input file: $f" >&2;}
3862 { (exit 1); exit 1; }; }
3865 if test -f "$f"; then
3868 elif test -f "$srcdir/$f"; then
3873 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3874 echo "$as_me: error: cannot find input file: $f" >&2;}
3875 { (exit 1); exit 1; }; }
3878 done` || { (exit 1); exit 1; }
3880 cat >>$CONFIG_STATUS <<_ACEOF
3884 cat >>$CONFIG_STATUS <<\_ACEOF
3886 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3887 s,@configure_input@,$configure_input,;t t
3888 s,@srcdir@,$ac_srcdir,;t t
3889 s,@abs_srcdir@,$ac_abs_srcdir,;t t
3890 s,@top_srcdir@,$ac_top_srcdir,;t t
3891 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3892 s,@builddir@,$ac_builddir,;t t
3893 s,@abs_builddir@,$ac_abs_builddir,;t t
3894 s,@top_builddir@,$ac_top_builddir,;t t
3895 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3896 s,@INSTALL@,$ac_INSTALL,;t t
3897 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3899 if test x"$ac_file" != x-; then
3900 mv $tmp/out $ac_file
3908 cat >>$CONFIG_STATUS <<\_ACEOF
3911 # CONFIG_HEADER section.
3914 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3915 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3917 # ac_d sets the value in "#define NAME VALUE" lines.
3918 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3919 ac_dB='[ ].*$,\1#\2'
3922 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3923 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3924 ac_uB='$,\1#\2define\3'
3928 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3929 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3931 - | *:- | *:-:* ) # input from stdin
3933 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3934 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3935 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3936 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3937 * ) ac_file_in=$ac_file.in ;;
3940 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3941 echo "$as_me: creating $ac_file" >&6;}
3943 # First look for the input files in the build tree, otherwise in the
3945 ac_file_inputs=`IFS=:
3946 for f in $ac_file_in; do
3948 -) echo $tmp/stdin ;;
3950 # Absolute (can't be DOS-style, as IFS=:)
3951 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3952 echo "$as_me: error: cannot find input file: $f" >&2;}
3953 { (exit 1); exit 1; }; }
3954 # Do quote $f, to prevent DOS paths from being IFS'd.
3957 if test -f "$f"; then
3960 elif test -f "$srcdir/$f"; then
3965 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3966 echo "$as_me: error: cannot find input file: $f" >&2;}
3967 { (exit 1); exit 1; }; }
3970 done` || { (exit 1); exit 1; }
3971 # Remove the trailing spaces.
3972 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3976 # Transform confdefs.h into two sed scripts, `conftest.defines' and
3977 # `conftest.undefs', that substitutes the proper values into
3978 # config.h.in to produce config.h. The first handles `#define'
3979 # templates, and the second `#undef' templates.
3980 # And first: Protect against being on the right side of a sed subst in
3981 # config.status. Protect against being in an unquoted here document
3983 rm -f conftest.defines conftest.undefs
3984 # Using a here document instead of a string reduces the quoting nightmare.
3985 # Putting comments in sed scripts is not portable.
3987 # `end' is used to avoid that the second main sed command (meant for
3988 # 0-ary CPP macros) applies to n-ary macro definitions.
3989 # See the Autoconf documentation for `clear'.
3990 cat >confdef2sed.sed <<\_ACEOF
3995 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3997 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4000 # If some macros were called several times there might be several times
4001 # the same #defines, which is useless. Nevertheless, we may not want to
4002 # sort them, since we want the *last* AC-DEFINE to be honored.
4003 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4004 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4005 rm -f confdef2sed.sed
4007 # This sed command replaces #undef with comments. This is necessary, for
4008 # example, in the case of _POSIX_SOURCE, which is predefined and required
4009 # on some systems where configure will not decide to define it.
4010 cat >>conftest.undefs <<\_ACEOF
4011 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4014 # Break up conftest.defines because some shells have a limit on the size
4015 # of here documents, and old seds have small limits too (100 cmds).
4016 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4017 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4018 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4019 echo ' :' >>$CONFIG_STATUS
4021 while grep . conftest.defines >/dev/null
4023 # Write a limited-size here document to $tmp/defines.sed.
4024 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4025 # Speed up: don't consider the non `#define' lines.
4026 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4027 # Work around the forget-to-reset-the-flag bug.
4028 echo 't clr' >>$CONFIG_STATUS
4029 echo ': clr' >>$CONFIG_STATUS
4030 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4032 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4036 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4037 rm -f conftest.defines
4038 mv conftest.tail conftest.defines
4040 rm -f conftest.defines
4041 echo ' fi # grep' >>$CONFIG_STATUS
4042 echo >>$CONFIG_STATUS
4044 # Break up conftest.undefs because some shells have a limit on the size
4045 # of here documents, and old seds have small limits too (100 cmds).
4046 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4048 while grep . conftest.undefs >/dev/null
4050 # Write a limited-size here document to $tmp/undefs.sed.
4051 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4052 # Speed up: don't consider the non `#undef'
4053 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4054 # Work around the forget-to-reset-the-flag bug.
4055 echo 't clr' >>$CONFIG_STATUS
4056 echo ': clr' >>$CONFIG_STATUS
4057 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4059 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4063 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4064 rm -f conftest.undefs
4065 mv conftest.tail conftest.undefs
4067 rm -f conftest.undefs
4069 cat >>$CONFIG_STATUS <<\_ACEOF
4070 # Let's still pretend it is `configure' which instantiates (i.e., don't
4071 # use $as_me), people would be surprised to read:
4072 # /* config.h. Generated by config.status. */
4073 if test x"$ac_file" = x-; then
4074 echo "/* Generated by configure. */" >$tmp/config.h
4076 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4078 cat $tmp/in >>$tmp/config.h
4080 if test x"$ac_file" != x-; then
4081 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4082 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4083 echo "$as_me: $ac_file is unchanged" >&6;}
4085 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4086 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4087 X"$ac_file" : 'X\(//\)[^/]' \| \
4088 X"$ac_file" : 'X\(//\)$' \| \
4089 X"$ac_file" : 'X\(/\)' \| \
4090 . : '\(.\)' 2>/dev/null ||
4092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4093 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4094 /^X\(\/\/\)$/{ s//\1/; q; }
4095 /^X\(\/\).*/{ s//\1/; q; }
4097 { if $as_mkdir_p; then
4102 while test ! -d "$as_dir"; do
4103 as_dirs="$as_dir $as_dirs"
4104 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4105 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4106 X"$as_dir" : 'X\(//\)[^/]' \| \
4107 X"$as_dir" : 'X\(//\)$' \| \
4108 X"$as_dir" : 'X\(/\)' \| \
4109 . : '\(.\)' 2>/dev/null ||
4111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4112 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4113 /^X\(\/\/\)$/{ s//\1/; q; }
4114 /^X\(\/\).*/{ s//\1/; q; }
4117 test ! -n "$as_dirs" || mkdir $as_dirs
4118 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4119 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4120 { (exit 1); exit 1; }; }; }
4123 mv $tmp/config.h $ac_file
4129 # Compute $ac_file's index in $config_headers.
4131 for _am_header in $config_headers :; do
4133 $ac_file | $ac_file:* )
4136 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4139 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4140 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4141 X$ac_file : 'X\(//\)[^/]' \| \
4142 X$ac_file : 'X\(//\)$' \| \
4143 X$ac_file : 'X\(/\)' \| \
4144 . : '\(.\)' 2>/dev/null ||
4146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4147 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4148 /^X\(\/\/\)$/{ s//\1/; q; }
4149 /^X\(\/\).*/{ s//\1/; q; }
4150 s/.*/./; q'`/stamp-h$_am_stamp_count
4153 cat >>$CONFIG_STATUS <<\_ACEOF
4156 # CONFIG_COMMANDS section.
4158 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4159 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4160 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4161 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4162 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4163 X"$ac_dest" : 'X\(//\)[^/]' \| \
4164 X"$ac_dest" : 'X\(//\)$' \| \
4165 X"$ac_dest" : 'X\(/\)' \| \
4166 . : '\(.\)' 2>/dev/null ||
4168 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4169 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4170 /^X\(\/\/\)$/{ s//\1/; q; }
4171 /^X\(\/\).*/{ s//\1/; q; }
4173 { if $as_mkdir_p; then
4178 while test ! -d "$as_dir"; do
4179 as_dirs="$as_dir $as_dirs"
4180 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4181 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4182 X"$as_dir" : 'X\(//\)[^/]' \| \
4183 X"$as_dir" : 'X\(//\)$' \| \
4184 X"$as_dir" : 'X\(/\)' \| \
4185 . : '\(.\)' 2>/dev/null ||
4187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4188 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4189 /^X\(\/\/\)$/{ s//\1/; q; }
4190 /^X\(\/\).*/{ s//\1/; q; }
4193 test ! -n "$as_dirs" || mkdir $as_dirs
4194 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4195 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4196 { (exit 1); exit 1; }; }; }
4200 if test "$ac_dir" != .; then
4201 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4202 # A "../" for each directory in $ac_dir_suffix.
4203 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4205 ac_dir_suffix= ac_top_builddir=
4209 .) # No --srcdir option. We are building in place.
4211 if test -z "$ac_top_builddir"; then
4214 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4216 [\\/]* | ?:[\\/]* ) # Absolute path.
4217 ac_srcdir=$srcdir$ac_dir_suffix;
4218 ac_top_srcdir=$srcdir ;;
4220 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4221 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4224 # Do not use `cd foo && pwd` to compute absolute paths, because
4225 # the directories may not exist.
4227 .) ac_abs_builddir="$ac_dir";;
4230 .) ac_abs_builddir=`pwd`;;
4231 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4232 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4235 case $ac_abs_builddir in
4236 .) ac_abs_top_builddir=${ac_top_builddir}.;;
4238 case ${ac_top_builddir}. in
4239 .) ac_abs_top_builddir=$ac_abs_builddir;;
4240 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4241 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4244 case $ac_abs_builddir in
4245 .) ac_abs_srcdir=$ac_srcdir;;
4248 .) ac_abs_srcdir=$ac_abs_builddir;;
4249 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4250 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4253 case $ac_abs_builddir in
4254 .) ac_abs_top_srcdir=$ac_top_srcdir;;
4256 case $ac_top_srcdir in
4257 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4258 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4259 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4264 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4265 echo "$as_me: executing $ac_dest commands" >&6;}
4267 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4268 # Strip MF so we end up with the name of the file.
4269 mf=`echo "$mf" | sed -e 's/:.*$//'`
4270 # Check whether this is an Automake generated Makefile or not.
4271 # We used to match only the files named `Makefile.in', but
4272 # some people rename them; so instead we look at the file content.
4273 # Grep'ing the first line is not enough: some people post-process
4274 # each Makefile.in and add a new line on top of each file to say so.
4275 # So let's grep whole file.
4276 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4277 dirpart=`(dirname "$mf") 2>/dev/null ||
4278 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4279 X"$mf" : 'X\(//\)[^/]' \| \
4280 X"$mf" : 'X\(//\)$' \| \
4281 X"$mf" : 'X\(/\)' \| \
4282 . : '\(.\)' 2>/dev/null ||
4284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4285 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4286 /^X\(\/\/\)$/{ s//\1/; q; }
4287 /^X\(\/\).*/{ s//\1/; q; }
4292 # Extract the definition of DEPDIR, am__include, and am__quote
4293 # from the Makefile without running `make'.
4294 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4295 test -z "$DEPDIR" && continue
4296 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4297 test -z "am__include" && continue
4298 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4299 # When using ansi2knr, U may be empty or an underscore; expand it
4300 U=`sed -n 's/^U = //p' < "$mf"`
4301 # Find all dependency output files, they are included files with
4302 # $(DEPDIR) in their names. We invoke sed twice because it is the
4303 # simplest approach to changing $(DEPDIR) to its actual value in the
4305 for file in `sed -n "
4306 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4307 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4308 # Make sure the directory exists.
4309 test -f "$dirpart/$file" && continue
4310 fdir=`(dirname "$file") 2>/dev/null ||
4311 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4312 X"$file" : 'X\(//\)[^/]' \| \
4313 X"$file" : 'X\(//\)$' \| \
4314 X"$file" : 'X\(/\)' \| \
4315 . : '\(.\)' 2>/dev/null ||
4317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4318 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4319 /^X\(\/\/\)$/{ s//\1/; q; }
4320 /^X\(\/\).*/{ s//\1/; q; }
4322 { if $as_mkdir_p; then
4323 mkdir -p $dirpart/$fdir
4325 as_dir=$dirpart/$fdir
4327 while test ! -d "$as_dir"; do
4328 as_dirs="$as_dir $as_dirs"
4329 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4331 X"$as_dir" : 'X\(//\)[^/]' \| \
4332 X"$as_dir" : 'X\(//\)$' \| \
4333 X"$as_dir" : 'X\(/\)' \| \
4334 . : '\(.\)' 2>/dev/null ||
4336 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4337 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4338 /^X\(\/\/\)$/{ s//\1/; q; }
4339 /^X\(\/\).*/{ s//\1/; q; }
4342 test ! -n "$as_dirs" || mkdir $as_dirs
4343 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4344 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4345 { (exit 1); exit 1; }; }; }
4347 # echo "creating $dirpart/$file"
4348 echo '# dummy' > "$dirpart/$file"
4356 cat >>$CONFIG_STATUS <<\_ACEOF
4358 { (exit 0); exit 0; }
4360 chmod +x $CONFIG_STATUS
4361 ac_clean_files=$ac_clean_files_save
4364 # configure is writing to config.log, and then calls config.status.
4365 # config.status does its own redirection, appending to config.log.
4366 # Unfortunately, on DOS this fails, as config.log is still kept open
4367 # by configure, so config.status won't be able to write to it; its
4368 # output is simply discarded. So we exec the FD to /dev/null,
4369 # effectively closing config.log, so it can be properly (re)opened and
4370 # appended to by config.status. When coming back to configure, we
4371 # need to make the FD available again.
4372 if test "$no_create" != yes; then
4374 ac_config_status_args=
4375 test "$silent" = yes &&
4376 ac_config_status_args="$ac_config_status_args --quiet"
4378 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4380 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4381 # would make configure fail if this is the last instruction.
4382 $ac_cs_success || { (exit 1); exit 1; }