added Structure.h file for Structure data structure
[cluster_expansion.git] / configure
blobb51e68c42776be326a4179dba45e8370f9c74955
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for cluster_expansion 0.1.
5 # Report bugs to <rieger@fhi-berlin.mpg.de>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23 else
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
30 # PATH needs CR
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
48 rm -f conf$$.sh
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54 else
55 as_unset=false
59 # IFS
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
64 as_nl='
66 IFS=" "" $as_nl"
68 # Find who we are. Look in the path if we contain no directory separator.
69 case $0 in
70 *[\\/]* ) as_myself=$0 ;;
71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72 for as_dir in $PATH
74 IFS=$as_save_IFS
75 test -z "$as_dir" && as_dir=.
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
77 done
78 IFS=$as_save_IFS
81 esac
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x; then
85 as_myself=$0
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
89 { (exit 1); exit 1; }
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
95 done
96 PS1='$ '
97 PS2='> '
98 PS4='+ '
100 # NLS nuisances.
101 for as_var in \
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 LC_TELEPHONE LC_TIME
106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C; export $as_var
108 else
109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
111 done
113 # Required to use basename.
114 if expr a : '\(a\)' >/dev/null 2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
116 as_expr=expr
117 else
118 as_expr=false
121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
122 as_basename=basename
123 else
124 as_basename=false
128 # Name of the executable.
129 as_me=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
133 echo X/"$0" |
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
135 s//\1/
138 /^X\/\(\/\/\)$/{
139 s//\1/
142 /^X\/\(\/\).*/{
143 s//\1/
146 s/.*/./; q'`
148 # CDPATH.
149 $as_unset CDPATH
152 if test "x$CONFIG_SHELL" = x; then
153 if (eval ":") 2>/dev/null; then
154 as_have_required=yes
155 else
156 as_have_required=no
159 if test $as_have_required = yes && (eval ":
160 (as_func_return () {
161 (exit \$1)
163 as_func_success () {
164 as_func_return 0
166 as_func_failure () {
167 as_func_return 1
169 as_func_ret_success () {
170 return 0
172 as_func_ret_failure () {
173 return 1
176 exitcode=0
177 if as_func_success; then
179 else
180 exitcode=1
181 echo as_func_success failed.
184 if as_func_failure; then
185 exitcode=1
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
191 else
192 exitcode=1
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
197 exitcode=1
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203 else
204 exitcode=1
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
211 as_lineno_1=\$LINENO
212 as_lineno_2=\$LINENO
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev/null; then
217 else
218 as_candidate_shells=
219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 case $as_dir in
226 for as_base in sh bash ksh sh5; do
227 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
228 done;;
229 esac
230 done
231 IFS=$as_save_IFS
234 for as_shell in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev/null <<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 emulate sh
241 NULLCMD=:
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
245 setopt NO_GLOB_SUBST
246 else
247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249 BIN_SH=xpg4; export BIN_SH # for Tru64
250 DUALCASE=1; export DUALCASE # for MKS sh
253 _ASEOF
254 }; then
255 CONFIG_SHELL=$as_shell
256 as_have_required=yes
257 if { "$as_shell" 2> /dev/null <<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 emulate sh
261 NULLCMD=:
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266 else
267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 BIN_SH=xpg4; export BIN_SH # for Tru64
270 DUALCASE=1; export DUALCASE # for MKS sh
273 (as_func_return () {
274 (exit $1)
276 as_func_success () {
277 as_func_return 0
279 as_func_failure () {
280 as_func_return 1
282 as_func_ret_success () {
283 return 0
285 as_func_ret_failure () {
286 return 1
289 exitcode=0
290 if as_func_success; then
292 else
293 exitcode=1
294 echo as_func_success failed.
297 if as_func_failure; then
298 exitcode=1
299 echo as_func_failure succeeded.
302 if as_func_ret_success; then
304 else
305 exitcode=1
306 echo as_func_ret_success failed.
309 if as_func_ret_failure; then
310 exitcode=1
311 echo as_func_ret_failure succeeded.
314 if ( set x; as_func_ret_success y && test x = "$1" ); then
316 else
317 exitcode=1
318 echo positional parameters were not saved.
321 test $exitcode = 0) || { (exit 1); exit 1; }
324 as_lineno_1=$LINENO
325 as_lineno_2=$LINENO
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
329 _ASEOF
330 }; then
331 break
336 done
338 if test "x$CONFIG_SHELL" != x; then
339 for as_var in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341 done
342 export CONFIG_SHELL
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no; then
348 echo This script requires a shell more modern than all the
349 echo shells that I found on your system. Please install a
350 echo modern shell, or manually run the script under such a
351 echo shell if you do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
363 (exit \$1)
365 as_func_success () {
366 as_func_return 0
368 as_func_failure () {
369 as_func_return 1
371 as_func_ret_success () {
372 return 0
374 as_func_ret_failure () {
375 return 1
378 exitcode=0
379 if as_func_success; then
381 else
382 exitcode=1
383 echo as_func_success failed.
386 if as_func_failure; then
387 exitcode=1
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
393 else
394 exitcode=1
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
399 exitcode=1
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405 else
406 exitcode=1
407 echo positional parameters were not saved.
410 test \$exitcode = 0") || {
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system,
413 echo including any error possibly output before this
414 echo message
419 as_lineno_1=$LINENO
420 as_lineno_2=$LINENO
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
430 # case at line end.
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
434 sed -n '
436 /[$]LINENO/=
437 ' <$as_myself |
438 sed '
439 s/[$]LINENO.*/&-/
440 t lineno
442 :lineno
444 :loop
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446 t loop
447 s/-\n.*//
448 ' >$as_me.lineno &&
449 chmod +x "$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
456 . "./$as_me.lineno"
457 # Exit status is that of the last command.
458 exit
462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
463 as_dirname=dirname
464 else
465 as_dirname=false
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in
470 -n*)
471 case `echo 'x\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
473 *) ECHO_C='\c';;
474 esac;;
476 ECHO_N='-n';;
477 esac
479 if expr a : '\(a\)' >/dev/null 2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
481 as_expr=expr
482 else
483 as_expr=false
486 rm -f conf$$ conf$$.exe conf$$.file
487 if test -d conf$$.dir; then
488 rm -f conf$$.dir/conf$$.file
489 else
490 rm -f conf$$.dir
491 mkdir conf$$.dir
493 echo >conf$$.file
494 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 as_ln_s='ln -s'
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 as_ln_s='cp -p'
502 elif ln conf$$.file conf$$ 2>/dev/null; then
503 as_ln_s=ln
504 else
505 as_ln_s='cp -p'
507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508 rmdir conf$$.dir 2>/dev/null
510 if mkdir -p . 2>/dev/null; then
511 as_mkdir_p=:
512 else
513 test -d ./-p && rmdir ./-p
514 as_mkdir_p=false
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.file <<_ASEOF
520 #! /bin/sh
521 exit 0
522 _ASEOF
523 chmod +x conf$$.file
524 if test -x conf$$.file >/dev/null 2>&1; then
525 as_executable_p="test -x"
526 else
527 as_executable_p=:
529 rm -f conf$$.file
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev/null 6>&1
541 # Name of the host.
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 # Initializations.
549 ac_default_prefix=/usr/local
550 ac_clean_files=
551 ac_config_libobj_dir=.
552 LIBOBJS=
553 cross_compiling=no
554 subdirs=
555 MFLAGS=
556 MAKEFLAGS=
557 SHELL=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
560 PACKAGE_NAME='cluster_expansion'
561 PACKAGE_TARNAME='cluster_expansion'
562 PACKAGE_VERSION='0.1'
563 PACKAGE_STRING='cluster_expansion 0.1'
564 PACKAGE_BUGREPORT='rieger@fhi-berlin.mpg.de'
566 ac_subst_vars='SHELL
567 PATH_SEPARATOR
568 PACKAGE_NAME
569 PACKAGE_TARNAME
570 PACKAGE_VERSION
571 PACKAGE_STRING
572 PACKAGE_BUGREPORT
573 exec_prefix
574 prefix
575 program_transform_name
576 bindir
577 sbindir
578 libexecdir
579 datarootdir
580 datadir
581 sysconfdir
582 sharedstatedir
583 localstatedir
584 includedir
585 oldincludedir
586 docdir
587 infodir
588 htmldir
589 dvidir
590 pdfdir
591 psdir
592 libdir
593 localedir
594 mandir
595 DEFS
596 ECHO_C
597 ECHO_N
598 ECHO_T
599 LIBS
600 build_alias
601 host_alias
602 target_alias
603 INSTALL_PROGRAM
604 INSTALL_SCRIPT
605 INSTALL_DATA
606 am__isrc
607 CYGPATH_W
608 PACKAGE
609 VERSION
610 ACLOCAL
611 AUTOCONF
612 AUTOMAKE
613 AUTOHEADER
614 MAKEINFO
615 install_sh
616 STRIP
617 INSTALL_STRIP_PROGRAM
618 mkdir_p
620 SET_MAKE
621 am__leading_dot
622 AMTAR
623 am__tar
624 am__untar
626 CFLAGS
627 LDFLAGS
628 CPPFLAGS
629 ac_ct_CC
630 EXEEXT
631 OBJEXT
632 DEPDIR
633 am__include
634 am__quote
635 AMDEP_TRUE
636 AMDEP_FALSE
637 AMDEPBACKSLASH
638 CCDEPMODE
639 am__fastdepCC_TRUE
640 am__fastdepCC_FALSE
642 CXXFLAGS
643 ac_ct_CXX
644 CXXDEPMODE
645 am__fastdepCXX_TRUE
646 am__fastdepCXX_FALSE
647 LIBOBJS
648 LTLIBOBJS'
649 ac_subst_files=''
650 ac_precious_vars='build_alias
651 host_alias
652 target_alias
654 CFLAGS
655 LDFLAGS
656 CPPFLAGS
658 CXXFLAGS
659 CCC'
662 # Initialize some variables set by options.
663 ac_init_help=
664 ac_init_version=false
665 # The variables have the same names as the options, with
666 # dashes changed to underlines.
667 cache_file=/dev/null
668 exec_prefix=NONE
669 no_create=
670 no_recursion=
671 prefix=NONE
672 program_prefix=NONE
673 program_suffix=NONE
674 program_transform_name=s,x,x,
675 silent=
676 site=
677 srcdir=
678 verbose=
679 x_includes=NONE
680 x_libraries=NONE
682 # Installation directory options.
683 # These are left unexpanded so users can "make install exec_prefix=/foo"
684 # and all the variables that are supposed to be based on exec_prefix
685 # by default will actually change.
686 # Use braces instead of parens because sh, perl, etc. also accept them.
687 # (The list follows the same order as the GNU Coding Standards.)
688 bindir='${exec_prefix}/bin'
689 sbindir='${exec_prefix}/sbin'
690 libexecdir='${exec_prefix}/libexec'
691 datarootdir='${prefix}/share'
692 datadir='${datarootdir}'
693 sysconfdir='${prefix}/etc'
694 sharedstatedir='${prefix}/com'
695 localstatedir='${prefix}/var'
696 includedir='${prefix}/include'
697 oldincludedir='/usr/include'
698 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
699 infodir='${datarootdir}/info'
700 htmldir='${docdir}'
701 dvidir='${docdir}'
702 pdfdir='${docdir}'
703 psdir='${docdir}'
704 libdir='${exec_prefix}/lib'
705 localedir='${datarootdir}/locale'
706 mandir='${datarootdir}/man'
708 ac_prev=
709 ac_dashdash=
710 for ac_option
712 # If the previous option needs an argument, assign it.
713 if test -n "$ac_prev"; then
714 eval $ac_prev=\$ac_option
715 ac_prev=
716 continue
719 case $ac_option in
720 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
721 *) ac_optarg=yes ;;
722 esac
724 # Accept the important Cygnus configure options, so we can diagnose typos.
726 case $ac_dashdash$ac_option in
728 ac_dashdash=yes ;;
730 -bindir | --bindir | --bindi | --bind | --bin | --bi)
731 ac_prev=bindir ;;
732 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
733 bindir=$ac_optarg ;;
735 -build | --build | --buil | --bui | --bu)
736 ac_prev=build_alias ;;
737 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
738 build_alias=$ac_optarg ;;
740 -cache-file | --cache-file | --cache-fil | --cache-fi \
741 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
742 ac_prev=cache_file ;;
743 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
744 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
745 cache_file=$ac_optarg ;;
747 --config-cache | -C)
748 cache_file=config.cache ;;
750 -datadir | --datadir | --datadi | --datad)
751 ac_prev=datadir ;;
752 -datadir=* | --datadir=* | --datadi=* | --datad=*)
753 datadir=$ac_optarg ;;
755 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
756 | --dataroo | --dataro | --datar)
757 ac_prev=datarootdir ;;
758 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
759 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
760 datarootdir=$ac_optarg ;;
762 -disable-* | --disable-*)
763 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
764 # Reject names that are not valid shell variable names.
765 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
766 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
767 { (exit 1); exit 1; }; }
768 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
769 eval enable_$ac_feature=no ;;
771 -docdir | --docdir | --docdi | --doc | --do)
772 ac_prev=docdir ;;
773 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
774 docdir=$ac_optarg ;;
776 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
777 ac_prev=dvidir ;;
778 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
779 dvidir=$ac_optarg ;;
781 -enable-* | --enable-*)
782 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
785 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
786 { (exit 1); exit 1; }; }
787 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
788 eval enable_$ac_feature=\$ac_optarg ;;
790 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
791 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
792 | --exec | --exe | --ex)
793 ac_prev=exec_prefix ;;
794 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
795 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
796 | --exec=* | --exe=* | --ex=*)
797 exec_prefix=$ac_optarg ;;
799 -gas | --gas | --ga | --g)
800 # Obsolete; use --with-gas.
801 with_gas=yes ;;
803 -help | --help | --hel | --he | -h)
804 ac_init_help=long ;;
805 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
806 ac_init_help=recursive ;;
807 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
808 ac_init_help=short ;;
810 -host | --host | --hos | --ho)
811 ac_prev=host_alias ;;
812 -host=* | --host=* | --hos=* | --ho=*)
813 host_alias=$ac_optarg ;;
815 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
816 ac_prev=htmldir ;;
817 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
818 | --ht=*)
819 htmldir=$ac_optarg ;;
821 -includedir | --includedir | --includedi | --included | --include \
822 | --includ | --inclu | --incl | --inc)
823 ac_prev=includedir ;;
824 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
825 | --includ=* | --inclu=* | --incl=* | --inc=*)
826 includedir=$ac_optarg ;;
828 -infodir | --infodir | --infodi | --infod | --info | --inf)
829 ac_prev=infodir ;;
830 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
831 infodir=$ac_optarg ;;
833 -libdir | --libdir | --libdi | --libd)
834 ac_prev=libdir ;;
835 -libdir=* | --libdir=* | --libdi=* | --libd=*)
836 libdir=$ac_optarg ;;
838 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
839 | --libexe | --libex | --libe)
840 ac_prev=libexecdir ;;
841 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
842 | --libexe=* | --libex=* | --libe=*)
843 libexecdir=$ac_optarg ;;
845 -localedir | --localedir | --localedi | --localed | --locale)
846 ac_prev=localedir ;;
847 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
848 localedir=$ac_optarg ;;
850 -localstatedir | --localstatedir | --localstatedi | --localstated \
851 | --localstate | --localstat | --localsta | --localst | --locals)
852 ac_prev=localstatedir ;;
853 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
854 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
855 localstatedir=$ac_optarg ;;
857 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
858 ac_prev=mandir ;;
859 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
860 mandir=$ac_optarg ;;
862 -nfp | --nfp | --nf)
863 # Obsolete; use --without-fp.
864 with_fp=no ;;
866 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
867 | --no-cr | --no-c | -n)
868 no_create=yes ;;
870 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
871 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
872 no_recursion=yes ;;
874 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
875 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
876 | --oldin | --oldi | --old | --ol | --o)
877 ac_prev=oldincludedir ;;
878 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
879 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
880 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
881 oldincludedir=$ac_optarg ;;
883 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
884 ac_prev=prefix ;;
885 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
886 prefix=$ac_optarg ;;
888 -program-prefix | --program-prefix | --program-prefi | --program-pref \
889 | --program-pre | --program-pr | --program-p)
890 ac_prev=program_prefix ;;
891 -program-prefix=* | --program-prefix=* | --program-prefi=* \
892 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
893 program_prefix=$ac_optarg ;;
895 -program-suffix | --program-suffix | --program-suffi | --program-suff \
896 | --program-suf | --program-su | --program-s)
897 ac_prev=program_suffix ;;
898 -program-suffix=* | --program-suffix=* | --program-suffi=* \
899 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
900 program_suffix=$ac_optarg ;;
902 -program-transform-name | --program-transform-name \
903 | --program-transform-nam | --program-transform-na \
904 | --program-transform-n | --program-transform- \
905 | --program-transform | --program-transfor \
906 | --program-transfo | --program-transf \
907 | --program-trans | --program-tran \
908 | --progr-tra | --program-tr | --program-t)
909 ac_prev=program_transform_name ;;
910 -program-transform-name=* | --program-transform-name=* \
911 | --program-transform-nam=* | --program-transform-na=* \
912 | --program-transform-n=* | --program-transform-=* \
913 | --program-transform=* | --program-transfor=* \
914 | --program-transfo=* | --program-transf=* \
915 | --program-trans=* | --program-tran=* \
916 | --progr-tra=* | --program-tr=* | --program-t=*)
917 program_transform_name=$ac_optarg ;;
919 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
920 ac_prev=pdfdir ;;
921 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
922 pdfdir=$ac_optarg ;;
924 -psdir | --psdir | --psdi | --psd | --ps)
925 ac_prev=psdir ;;
926 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
927 psdir=$ac_optarg ;;
929 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
930 | -silent | --silent | --silen | --sile | --sil)
931 silent=yes ;;
933 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
934 ac_prev=sbindir ;;
935 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
936 | --sbi=* | --sb=*)
937 sbindir=$ac_optarg ;;
939 -sharedstatedir | --sharedstatedir | --sharedstatedi \
940 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
941 | --sharedst | --shareds | --shared | --share | --shar \
942 | --sha | --sh)
943 ac_prev=sharedstatedir ;;
944 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
945 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
946 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
947 | --sha=* | --sh=*)
948 sharedstatedir=$ac_optarg ;;
950 -site | --site | --sit)
951 ac_prev=site ;;
952 -site=* | --site=* | --sit=*)
953 site=$ac_optarg ;;
955 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
956 ac_prev=srcdir ;;
957 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
958 srcdir=$ac_optarg ;;
960 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
961 | --syscon | --sysco | --sysc | --sys | --sy)
962 ac_prev=sysconfdir ;;
963 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
964 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
965 sysconfdir=$ac_optarg ;;
967 -target | --target | --targe | --targ | --tar | --ta | --t)
968 ac_prev=target_alias ;;
969 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
970 target_alias=$ac_optarg ;;
972 -v | -verbose | --verbose | --verbos | --verbo | --verb)
973 verbose=yes ;;
975 -version | --version | --versio | --versi | --vers | -V)
976 ac_init_version=: ;;
978 -with-* | --with-*)
979 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
980 # Reject names that are not valid shell variable names.
981 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
982 { echo "$as_me: error: invalid package name: $ac_package" >&2
983 { (exit 1); exit 1; }; }
984 ac_package=`echo $ac_package| sed 's/-/_/g'`
985 eval with_$ac_package=\$ac_optarg ;;
987 -without-* | --without-*)
988 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
989 # Reject names that are not valid shell variable names.
990 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
991 { echo "$as_me: error: invalid package name: $ac_package" >&2
992 { (exit 1); exit 1; }; }
993 ac_package=`echo $ac_package | sed 's/-/_/g'`
994 eval with_$ac_package=no ;;
996 --x)
997 # Obsolete; use --with-x.
998 with_x=yes ;;
1000 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1001 | --x-incl | --x-inc | --x-in | --x-i)
1002 ac_prev=x_includes ;;
1003 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1004 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1005 x_includes=$ac_optarg ;;
1007 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1008 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1009 ac_prev=x_libraries ;;
1010 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1011 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1012 x_libraries=$ac_optarg ;;
1014 -*) { echo "$as_me: error: unrecognized option: $ac_option
1015 Try \`$0 --help' for more information." >&2
1016 { (exit 1); exit 1; }; }
1019 *=*)
1020 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1023 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1024 { (exit 1); exit 1; }; }
1025 eval $ac_envvar=\$ac_optarg
1026 export $ac_envvar ;;
1029 # FIXME: should be removed in autoconf 3.0.
1030 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1031 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1032 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1033 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1036 esac
1037 done
1039 if test -n "$ac_prev"; then
1040 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1041 { echo "$as_me: error: missing argument to $ac_option" >&2
1042 { (exit 1); exit 1; }; }
1045 # Be sure to have absolute directory names.
1046 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1047 datadir sysconfdir sharedstatedir localstatedir includedir \
1048 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1049 libdir localedir mandir
1051 eval ac_val=\$$ac_var
1052 case $ac_val in
1053 [\\/$]* | ?:[\\/]* ) continue;;
1054 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1055 esac
1056 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1057 { (exit 1); exit 1; }; }
1058 done
1060 # There might be people who depend on the old broken behavior: `$host'
1061 # used to hold the argument of --host etc.
1062 # FIXME: To remove some day.
1063 build=$build_alias
1064 host=$host_alias
1065 target=$target_alias
1067 # FIXME: To remove some day.
1068 if test "x$host_alias" != x; then
1069 if test "x$build_alias" = x; then
1070 cross_compiling=maybe
1071 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1072 If a cross compiler is detected then cross compile mode will be used." >&2
1073 elif test "x$build_alias" != "x$host_alias"; then
1074 cross_compiling=yes
1078 ac_tool_prefix=
1079 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1081 test "$silent" = yes && exec 6>/dev/null
1084 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1085 ac_ls_di=`ls -di .` &&
1086 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1087 { echo "$as_me: error: Working directory cannot be determined" >&2
1088 { (exit 1); exit 1; }; }
1089 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1090 { echo "$as_me: error: pwd does not report name of working directory" >&2
1091 { (exit 1); exit 1; }; }
1094 # Find the source files, if location was not specified.
1095 if test -z "$srcdir"; then
1096 ac_srcdir_defaulted=yes
1097 # Try the directory containing this script, then the parent directory.
1098 ac_confdir=`$as_dirname -- "$0" ||
1099 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1100 X"$0" : 'X\(//\)[^/]' \| \
1101 X"$0" : 'X\(//\)$' \| \
1102 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1103 echo X"$0" |
1104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1105 s//\1/
1108 /^X\(\/\/\)[^/].*/{
1109 s//\1/
1112 /^X\(\/\/\)$/{
1113 s//\1/
1116 /^X\(\/\).*/{
1117 s//\1/
1120 s/.*/./; q'`
1121 srcdir=$ac_confdir
1122 if test ! -r "$srcdir/$ac_unique_file"; then
1123 srcdir=..
1125 else
1126 ac_srcdir_defaulted=no
1128 if test ! -r "$srcdir/$ac_unique_file"; then
1129 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1130 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1131 { (exit 1); exit 1; }; }
1133 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1134 ac_abs_confdir=`(
1135 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1136 { (exit 1); exit 1; }; }
1137 pwd)`
1138 # When building in place, set srcdir=.
1139 if test "$ac_abs_confdir" = "$ac_pwd"; then
1140 srcdir=.
1142 # Remove unnecessary trailing slashes from srcdir.
1143 # Double slashes in file names in object file debugging info
1144 # mess up M-x gdb in Emacs.
1145 case $srcdir in
1146 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1147 esac
1148 for ac_var in $ac_precious_vars; do
1149 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1150 eval ac_env_${ac_var}_value=\$${ac_var}
1151 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1152 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1153 done
1156 # Report the --help message.
1158 if test "$ac_init_help" = "long"; then
1159 # Omit some internal or obsolete options to make the list less imposing.
1160 # This message is too long to be a string in the A/UX 3.1 sh.
1161 cat <<_ACEOF
1162 \`configure' configures cluster_expansion 0.1 to adapt to many kinds of systems.
1164 Usage: $0 [OPTION]... [VAR=VALUE]...
1166 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1167 VAR=VALUE. See below for descriptions of some of the useful variables.
1169 Defaults for the options are specified in brackets.
1171 Configuration:
1172 -h, --help display this help and exit
1173 --help=short display options specific to this package
1174 --help=recursive display the short help of all the included packages
1175 -V, --version display version information and exit
1176 -q, --quiet, --silent do not print \`checking...' messages
1177 --cache-file=FILE cache test results in FILE [disabled]
1178 -C, --config-cache alias for \`--cache-file=config.cache'
1179 -n, --no-create do not create output files
1180 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1182 Installation directories:
1183 --prefix=PREFIX install architecture-independent files in PREFIX
1184 [$ac_default_prefix]
1185 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1186 [PREFIX]
1188 By default, \`make install' will install all the files in
1189 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1190 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1191 for instance \`--prefix=\$HOME'.
1193 For better control, use the options below.
1195 Fine tuning of the installation directories:
1196 --bindir=DIR user executables [EPREFIX/bin]
1197 --sbindir=DIR system admin executables [EPREFIX/sbin]
1198 --libexecdir=DIR program executables [EPREFIX/libexec]
1199 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1200 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1201 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1202 --libdir=DIR object code libraries [EPREFIX/lib]
1203 --includedir=DIR C header files [PREFIX/include]
1204 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1205 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1206 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1207 --infodir=DIR info documentation [DATAROOTDIR/info]
1208 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1209 --mandir=DIR man documentation [DATAROOTDIR/man]
1210 --docdir=DIR documentation root [DATAROOTDIR/doc/cluster_expansion]
1211 --htmldir=DIR html documentation [DOCDIR]
1212 --dvidir=DIR dvi documentation [DOCDIR]
1213 --pdfdir=DIR pdf documentation [DOCDIR]
1214 --psdir=DIR ps documentation [DOCDIR]
1215 _ACEOF
1217 cat <<\_ACEOF
1219 Program names:
1220 --program-prefix=PREFIX prepend PREFIX to installed program names
1221 --program-suffix=SUFFIX append SUFFIX to installed program names
1222 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1223 _ACEOF
1226 if test -n "$ac_init_help"; then
1227 case $ac_init_help in
1228 short | recursive ) echo "Configuration of cluster_expansion 0.1:";;
1229 esac
1230 cat <<\_ACEOF
1232 Optional Features:
1233 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1234 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1235 --disable-dependency-tracking speeds up one-time build
1236 --enable-dependency-tracking do not reject slow dependency extractors
1238 Some influential environment variables:
1239 CC C compiler command
1240 CFLAGS C compiler flags
1241 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1242 nonstandard directory <lib dir>
1243 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1244 you have headers in a nonstandard directory <include dir>
1245 CXX C++ compiler command
1246 CXXFLAGS C++ compiler flags
1248 Use these variables to override the choices made by `configure' or to help
1249 it to find libraries and programs with nonstandard names/locations.
1251 Report bugs to <rieger@fhi-berlin.mpg.de>.
1252 _ACEOF
1253 ac_status=$?
1256 if test "$ac_init_help" = "recursive"; then
1257 # If there are subdirs, report their specific --help.
1258 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1259 test -d "$ac_dir" || continue
1260 ac_builddir=.
1262 case "$ac_dir" in
1263 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1265 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1266 # A ".." for each directory in $ac_dir_suffix.
1267 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1268 case $ac_top_builddir_sub in
1269 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1270 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1271 esac ;;
1272 esac
1273 ac_abs_top_builddir=$ac_pwd
1274 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1275 # for backward compatibility:
1276 ac_top_builddir=$ac_top_build_prefix
1278 case $srcdir in
1279 .) # We are building in place.
1280 ac_srcdir=.
1281 ac_top_srcdir=$ac_top_builddir_sub
1282 ac_abs_top_srcdir=$ac_pwd ;;
1283 [\\/]* | ?:[\\/]* ) # Absolute name.
1284 ac_srcdir=$srcdir$ac_dir_suffix;
1285 ac_top_srcdir=$srcdir
1286 ac_abs_top_srcdir=$srcdir ;;
1287 *) # Relative name.
1288 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1289 ac_top_srcdir=$ac_top_build_prefix$srcdir
1290 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1291 esac
1292 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1294 cd "$ac_dir" || { ac_status=$?; continue; }
1295 # Check for guested configure.
1296 if test -f "$ac_srcdir/configure.gnu"; then
1297 echo &&
1298 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1299 elif test -f "$ac_srcdir/configure"; then
1300 echo &&
1301 $SHELL "$ac_srcdir/configure" --help=recursive
1302 else
1303 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1304 fi || ac_status=$?
1305 cd "$ac_pwd" || { ac_status=$?; break; }
1306 done
1309 test -n "$ac_init_help" && exit $ac_status
1310 if $ac_init_version; then
1311 cat <<\_ACEOF
1312 cluster_expansion configure 0.1
1313 generated by GNU Autoconf 2.60
1315 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1316 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1317 This configure script is free software; the Free Software Foundation
1318 gives unlimited permission to copy, distribute and modify it.
1319 _ACEOF
1320 exit
1322 cat >config.log <<_ACEOF
1323 This file contains any messages produced by compilers while
1324 running configure, to aid debugging if configure makes a mistake.
1326 It was created by cluster_expansion $as_me 0.1, which was
1327 generated by GNU Autoconf 2.60. Invocation command line was
1329 $ $0 $@
1331 _ACEOF
1332 exec 5>>config.log
1334 cat <<_ASUNAME
1335 ## --------- ##
1336 ## Platform. ##
1337 ## --------- ##
1339 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1340 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1341 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1342 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1343 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1345 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1346 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1348 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1349 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1350 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1351 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1352 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1353 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1354 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1356 _ASUNAME
1358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1359 for as_dir in $PATH
1361 IFS=$as_save_IFS
1362 test -z "$as_dir" && as_dir=.
1363 echo "PATH: $as_dir"
1364 done
1365 IFS=$as_save_IFS
1367 } >&5
1369 cat >&5 <<_ACEOF
1372 ## ----------- ##
1373 ## Core tests. ##
1374 ## ----------- ##
1376 _ACEOF
1379 # Keep a trace of the command line.
1380 # Strip out --no-create and --no-recursion so they do not pile up.
1381 # Strip out --silent because we don't want to record it for future runs.
1382 # Also quote any args containing shell meta-characters.
1383 # Make two passes to allow for proper duplicate-argument suppression.
1384 ac_configure_args=
1385 ac_configure_args0=
1386 ac_configure_args1=
1387 ac_must_keep_next=false
1388 for ac_pass in 1 2
1390 for ac_arg
1392 case $ac_arg in
1393 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1394 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1395 | -silent | --silent | --silen | --sile | --sil)
1396 continue ;;
1397 *\'*)
1398 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1399 esac
1400 case $ac_pass in
1401 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1403 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1404 if test $ac_must_keep_next = true; then
1405 ac_must_keep_next=false # Got value, back to normal.
1406 else
1407 case $ac_arg in
1408 *=* | --config-cache | -C | -disable-* | --disable-* \
1409 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1410 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1411 | -with-* | --with-* | -without-* | --without-* | --x)
1412 case "$ac_configure_args0 " in
1413 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1414 esac
1416 -* ) ac_must_keep_next=true ;;
1417 esac
1419 ac_configure_args="$ac_configure_args '$ac_arg'"
1421 esac
1422 done
1423 done
1424 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1425 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1427 # When interrupted or exit'd, cleanup temporary files, and complete
1428 # config.log. We remove comments because anyway the quotes in there
1429 # would cause problems or look ugly.
1430 # WARNING: Use '\'' to represent an apostrophe within the trap.
1431 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1432 trap 'exit_status=$?
1433 # Save into config.log some information that might help in debugging.
1435 echo
1437 cat <<\_ASBOX
1438 ## ---------------- ##
1439 ## Cache variables. ##
1440 ## ---------------- ##
1441 _ASBOX
1442 echo
1443 # The following way of writing the cache mishandles newlines in values,
1445 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1446 eval ac_val=\$$ac_var
1447 case $ac_val in #(
1448 *${as_nl}*)
1449 case $ac_var in #(
1450 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1451 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1452 esac
1453 case $ac_var in #(
1454 _ | IFS | as_nl) ;; #(
1455 *) $as_unset $ac_var ;;
1456 esac ;;
1457 esac
1458 done
1459 (set) 2>&1 |
1460 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1461 *${as_nl}ac_space=\ *)
1462 sed -n \
1463 "s/'\''/'\''\\\\'\'''\''/g;
1464 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1465 ;; #(
1467 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1469 esac |
1470 sort
1472 echo
1474 cat <<\_ASBOX
1475 ## ----------------- ##
1476 ## Output variables. ##
1477 ## ----------------- ##
1478 _ASBOX
1479 echo
1480 for ac_var in $ac_subst_vars
1482 eval ac_val=\$$ac_var
1483 case $ac_val in
1484 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1485 esac
1486 echo "$ac_var='\''$ac_val'\''"
1487 done | sort
1488 echo
1490 if test -n "$ac_subst_files"; then
1491 cat <<\_ASBOX
1492 ## ------------------- ##
1493 ## File substitutions. ##
1494 ## ------------------- ##
1495 _ASBOX
1496 echo
1497 for ac_var in $ac_subst_files
1499 eval ac_val=\$$ac_var
1500 case $ac_val in
1501 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1502 esac
1503 echo "$ac_var='\''$ac_val'\''"
1504 done | sort
1505 echo
1508 if test -s confdefs.h; then
1509 cat <<\_ASBOX
1510 ## ----------- ##
1511 ## confdefs.h. ##
1512 ## ----------- ##
1513 _ASBOX
1514 echo
1515 cat confdefs.h
1516 echo
1518 test "$ac_signal" != 0 &&
1519 echo "$as_me: caught signal $ac_signal"
1520 echo "$as_me: exit $exit_status"
1521 } >&5
1522 rm -f core *.core core.conftest.* &&
1523 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1524 exit $exit_status
1526 for ac_signal in 1 2 13 15; do
1527 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1528 done
1529 ac_signal=0
1531 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1532 rm -f -r conftest* confdefs.h
1534 # Predefined preprocessor variables.
1536 cat >>confdefs.h <<_ACEOF
1537 #define PACKAGE_NAME "$PACKAGE_NAME"
1538 _ACEOF
1541 cat >>confdefs.h <<_ACEOF
1542 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1543 _ACEOF
1546 cat >>confdefs.h <<_ACEOF
1547 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1548 _ACEOF
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_STRING "$PACKAGE_STRING"
1553 _ACEOF
1556 cat >>confdefs.h <<_ACEOF
1557 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1558 _ACEOF
1561 # Let the site file select an alternate cache file if it wants to.
1562 # Prefer explicitly selected file to automatically selected ones.
1563 if test -n "$CONFIG_SITE"; then
1564 set x "$CONFIG_SITE"
1565 elif test "x$prefix" != xNONE; then
1566 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1567 else
1568 set x "$ac_default_prefix/share/config.site" \
1569 "$ac_default_prefix/etc/config.site"
1571 shift
1572 for ac_site_file
1574 if test -r "$ac_site_file"; then
1575 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1576 echo "$as_me: loading site script $ac_site_file" >&6;}
1577 sed 's/^/| /' "$ac_site_file" >&5
1578 . "$ac_site_file"
1580 done
1582 if test -r "$cache_file"; then
1583 # Some versions of bash will fail to source /dev/null (special
1584 # files actually), so we avoid doing that.
1585 if test -f "$cache_file"; then
1586 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1587 echo "$as_me: loading cache $cache_file" >&6;}
1588 case $cache_file in
1589 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1590 *) . "./$cache_file";;
1591 esac
1593 else
1594 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1595 echo "$as_me: creating cache $cache_file" >&6;}
1596 >$cache_file
1599 # Check that the precious variables saved in the cache have kept the same
1600 # value.
1601 ac_cache_corrupted=false
1602 for ac_var in $ac_precious_vars; do
1603 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1604 eval ac_new_set=\$ac_env_${ac_var}_set
1605 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1606 eval ac_new_val=\$ac_env_${ac_var}_value
1607 case $ac_old_set,$ac_new_set in
1608 set,)
1609 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1610 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1611 ac_cache_corrupted=: ;;
1612 ,set)
1613 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1614 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1615 ac_cache_corrupted=: ;;
1616 ,);;
1618 if test "x$ac_old_val" != "x$ac_new_val"; then
1619 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1620 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1621 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1622 echo "$as_me: former value: $ac_old_val" >&2;}
1623 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1624 echo "$as_me: current value: $ac_new_val" >&2;}
1625 ac_cache_corrupted=:
1626 fi;;
1627 esac
1628 # Pass precious variables to config.status.
1629 if test "$ac_new_set" = set; then
1630 case $ac_new_val in
1631 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1632 *) ac_arg=$ac_var=$ac_new_val ;;
1633 esac
1634 case " $ac_configure_args " in
1635 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1636 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1637 esac
1639 done
1640 if $ac_cache_corrupted; then
1641 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1642 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1643 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1644 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1645 { (exit 1); exit 1; }; }
1672 ac_ext=c
1673 ac_cpp='$CPP $CPPFLAGS'
1674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1679 ac_aux_dir=
1680 for ac_dir in build-aux "$srcdir"/build-aux; do
1681 if test -f "$ac_dir/install-sh"; then
1682 ac_aux_dir=$ac_dir
1683 ac_install_sh="$ac_aux_dir/install-sh -c"
1684 break
1685 elif test -f "$ac_dir/install.sh"; then
1686 ac_aux_dir=$ac_dir
1687 ac_install_sh="$ac_aux_dir/install.sh -c"
1688 break
1689 elif test -f "$ac_dir/shtool"; then
1690 ac_aux_dir=$ac_dir
1691 ac_install_sh="$ac_aux_dir/shtool install -c"
1692 break
1694 done
1695 if test -z "$ac_aux_dir"; then
1696 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1697 echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1698 { (exit 1); exit 1; }; }
1701 # These three variables are undocumented and unsupported,
1702 # and are intended to be withdrawn in a future Autoconf release.
1703 # They can cause serious problems if a builder's source tree is in a directory
1704 # whose full name contains unusual characters.
1705 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1706 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1707 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1710 am__api_version='1.10'
1712 # Find a good install program. We prefer a C program (faster),
1713 # so one script is as good as another. But avoid the broken or
1714 # incompatible versions:
1715 # SysV /etc/install, /usr/sbin/install
1716 # SunOS /usr/etc/install
1717 # IRIX /sbin/install
1718 # AIX /bin/install
1719 # AmigaOS /C/install, which installs bootblocks on floppy discs
1720 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1721 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1722 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1723 # OS/2's system install, which has a completely different semantic
1724 # ./install, which can be erroneously created by make from ./install.sh.
1725 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1726 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1727 if test -z "$INSTALL"; then
1728 if test "${ac_cv_path_install+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1730 else
1731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1732 for as_dir in $PATH
1734 IFS=$as_save_IFS
1735 test -z "$as_dir" && as_dir=.
1736 # Account for people who put trailing slashes in PATH elements.
1737 case $as_dir/ in
1738 ./ | .// | /cC/* | \
1739 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1740 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1741 /usr/ucb/* ) ;;
1743 # OSF1 and SCO ODT 3.0 have their own names for install.
1744 # Don't use installbsd from OSF since it installs stuff as root
1745 # by default.
1746 for ac_prog in ginstall scoinst install; do
1747 for ac_exec_ext in '' $ac_executable_extensions; do
1748 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1749 if test $ac_prog = install &&
1750 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1751 # AIX install. It has an incompatible calling convention.
1753 elif test $ac_prog = install &&
1754 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1755 # program-specific install script used by HP pwplus--don't use.
1757 else
1758 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1759 break 3
1762 done
1763 done
1765 esac
1766 done
1767 IFS=$as_save_IFS
1771 if test "${ac_cv_path_install+set}" = set; then
1772 INSTALL=$ac_cv_path_install
1773 else
1774 # As a last resort, use the slow shell script. Don't cache a
1775 # value for INSTALL within a source directory, because that will
1776 # break other packages using the cache if that directory is
1777 # removed, or if the value is a relative name.
1778 INSTALL=$ac_install_sh
1781 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1782 echo "${ECHO_T}$INSTALL" >&6; }
1784 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1785 # It thinks the first close brace ends the variable substitution.
1786 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1788 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1790 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1792 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1793 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1794 # Just in case
1795 sleep 1
1796 echo timestamp > conftest.file
1797 # Do `set' in a subshell so we don't clobber the current shell's
1798 # arguments. Must try -L first in case configure is actually a
1799 # symlink; some systems play weird games with the mod time of symlinks
1800 # (eg FreeBSD returns the mod time of the symlink's containing
1801 # directory).
1802 if (
1803 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1804 if test "$*" = "X"; then
1805 # -L didn't work.
1806 set X `ls -t $srcdir/configure conftest.file`
1808 rm -f conftest.file
1809 if test "$*" != "X $srcdir/configure conftest.file" \
1810 && test "$*" != "X conftest.file $srcdir/configure"; then
1812 # If neither matched, then we have a broken ls. This can happen
1813 # if, for instance, CONFIG_SHELL is bash and it inherits a
1814 # broken ls alias from the environment. This has actually
1815 # happened. Such a system could not be considered "sane".
1816 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1817 alias in your environment" >&5
1818 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1819 alias in your environment" >&2;}
1820 { (exit 1); exit 1; }; }
1823 test "$2" = conftest.file
1825 then
1826 # Ok.
1828 else
1829 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1830 Check your system clock" >&5
1831 echo "$as_me: error: newly created file is older than distributed files!
1832 Check your system clock" >&2;}
1833 { (exit 1); exit 1; }; }
1835 { echo "$as_me:$LINENO: result: yes" >&5
1836 echo "${ECHO_T}yes" >&6; }
1837 test "$program_prefix" != NONE &&
1838 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1839 # Use a double $ so make ignores it.
1840 test "$program_suffix" != NONE &&
1841 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1842 # Double any \ or $. echo might interpret backslashes.
1843 # By default was `s,x,x', remove it if useless.
1844 cat <<\_ACEOF >conftest.sed
1845 s/[\\$]/&&/g;s/;s,x,x,$//
1846 _ACEOF
1847 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1848 rm -f conftest.sed
1850 # expand $ac_aux_dir to an absolute path
1851 am_aux_dir=`cd $ac_aux_dir && pwd`
1853 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1854 # Use eval to expand $SHELL
1855 if eval "$MISSING --run true"; then
1856 am_missing_run="$MISSING --run "
1857 else
1858 am_missing_run=
1859 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1860 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1863 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1864 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1865 if test -z "$MKDIR_P"; then
1866 if test "${ac_cv_path_mkdir+set}" = set; then
1867 echo $ECHO_N "(cached) $ECHO_C" >&6
1868 else
1869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1870 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1872 IFS=$as_save_IFS
1873 test -z "$as_dir" && as_dir=.
1874 for ac_prog in mkdir gmkdir; do
1875 for ac_exec_ext in '' $ac_executable_extensions; do
1876 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1877 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1878 'mkdir (GNU coreutils) '* | \
1879 'mkdir (coreutils) '* | \
1880 'mkdir (fileutils) '4.1*)
1881 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1882 break 3;;
1883 esac
1884 done
1885 done
1886 done
1887 IFS=$as_save_IFS
1891 if test "${ac_cv_path_mkdir+set}" = set; then
1892 MKDIR_P="$ac_cv_path_mkdir -p"
1893 else
1894 # As a last resort, use the slow shell script. Don't cache a
1895 # value for MKDIR_P within a source directory, because that will
1896 # break other packages using the cache if that directory is
1897 # removed, or if the value is a relative name.
1898 test -d ./--version && rmdir ./--version
1899 MKDIR_P="$ac_install_sh -d"
1902 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1903 echo "${ECHO_T}$MKDIR_P" >&6; }
1905 mkdir_p="$MKDIR_P"
1906 case $mkdir_p in
1907 [\\/$]* | ?:[\\/]*) ;;
1908 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1909 esac
1911 for ac_prog in gawk mawk nawk awk
1913 # Extract the first word of "$ac_prog", so it can be a program name with args.
1914 set dummy $ac_prog; ac_word=$2
1915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1917 if test "${ac_cv_prog_AWK+set}" = set; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 else
1920 if test -n "$AWK"; then
1921 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1922 else
1923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1924 for as_dir in $PATH
1926 IFS=$as_save_IFS
1927 test -z "$as_dir" && as_dir=.
1928 for ac_exec_ext in '' $ac_executable_extensions; do
1929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
1930 ac_cv_prog_AWK="$ac_prog"
1931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1932 break 2
1934 done
1935 done
1936 IFS=$as_save_IFS
1940 AWK=$ac_cv_prog_AWK
1941 if test -n "$AWK"; then
1942 { echo "$as_me:$LINENO: result: $AWK" >&5
1943 echo "${ECHO_T}$AWK" >&6; }
1944 else
1945 { echo "$as_me:$LINENO: result: no" >&5
1946 echo "${ECHO_T}no" >&6; }
1950 test -n "$AWK" && break
1951 done
1953 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1954 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1955 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1956 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1957 echo $ECHO_N "(cached) $ECHO_C" >&6
1958 else
1959 cat >conftest.make <<\_ACEOF
1960 SHELL = /bin/sh
1961 all:
1962 @echo '@@@%%%=$(MAKE)=@@@%%%'
1963 _ACEOF
1964 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1965 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1966 *@@@%%%=?*=@@@%%%*)
1967 eval ac_cv_prog_make_${ac_make}_set=yes;;
1969 eval ac_cv_prog_make_${ac_make}_set=no;;
1970 esac
1971 rm -f conftest.make
1973 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1974 { echo "$as_me:$LINENO: result: yes" >&5
1975 echo "${ECHO_T}yes" >&6; }
1976 SET_MAKE=
1977 else
1978 { echo "$as_me:$LINENO: result: no" >&5
1979 echo "${ECHO_T}no" >&6; }
1980 SET_MAKE="MAKE=${MAKE-make}"
1983 rm -rf .tst 2>/dev/null
1984 mkdir .tst 2>/dev/null
1985 if test -d .tst; then
1986 am__leading_dot=.
1987 else
1988 am__leading_dot=_
1990 rmdir .tst 2>/dev/null
1992 if test "`cd $srcdir && pwd`" != "`pwd`"; then
1993 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1994 # is not polluted with repeated "-I."
1995 am__isrc=' -I$(srcdir)'
1996 # test to see if srcdir already configured
1997 if test -f $srcdir/config.status; then
1998 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1999 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2000 { (exit 1); exit 1; }; }
2004 # test whether we have cygpath
2005 if test -z "$CYGPATH_W"; then
2006 if (cygpath --version) >/dev/null 2>/dev/null; then
2007 CYGPATH_W='cygpath -w'
2008 else
2009 CYGPATH_W=echo
2014 # Define the identity of the package.
2015 PACKAGE='cluster_expansion'
2016 VERSION='0.1'
2019 cat >>confdefs.h <<_ACEOF
2020 #define PACKAGE "$PACKAGE"
2021 _ACEOF
2024 cat >>confdefs.h <<_ACEOF
2025 #define VERSION "$VERSION"
2026 _ACEOF
2028 # Some tools Automake needs.
2030 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2033 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2036 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2039 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2042 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2044 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2046 # Installed binaries are usually stripped using `strip' when the user
2047 # run `make install-strip'. However `strip' might not be the right
2048 # tool to use in cross-compilation environments, therefore Automake
2049 # will honor the `STRIP' environment variable to overrule this program.
2050 if test "$cross_compiling" != no; then
2051 if test -n "$ac_tool_prefix"; then
2052 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2053 set dummy ${ac_tool_prefix}strip; ac_word=$2
2054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2056 if test "${ac_cv_prog_STRIP+set}" = set; then
2057 echo $ECHO_N "(cached) $ECHO_C" >&6
2058 else
2059 if test -n "$STRIP"; then
2060 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2061 else
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 for as_dir in $PATH
2065 IFS=$as_save_IFS
2066 test -z "$as_dir" && as_dir=.
2067 for ac_exec_ext in '' $ac_executable_extensions; do
2068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2069 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2071 break 2
2073 done
2074 done
2075 IFS=$as_save_IFS
2079 STRIP=$ac_cv_prog_STRIP
2080 if test -n "$STRIP"; then
2081 { echo "$as_me:$LINENO: result: $STRIP" >&5
2082 echo "${ECHO_T}$STRIP" >&6; }
2083 else
2084 { echo "$as_me:$LINENO: result: no" >&5
2085 echo "${ECHO_T}no" >&6; }
2090 if test -z "$ac_cv_prog_STRIP"; then
2091 ac_ct_STRIP=$STRIP
2092 # Extract the first word of "strip", so it can be a program name with args.
2093 set dummy strip; ac_word=$2
2094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2096 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2097 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 else
2099 if test -n "$ac_ct_STRIP"; then
2100 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2101 else
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 for as_dir in $PATH
2105 IFS=$as_save_IFS
2106 test -z "$as_dir" && as_dir=.
2107 for ac_exec_ext in '' $ac_executable_extensions; do
2108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2109 ac_cv_prog_ac_ct_STRIP="strip"
2110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 break 2
2113 done
2114 done
2115 IFS=$as_save_IFS
2119 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2120 if test -n "$ac_ct_STRIP"; then
2121 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2122 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2123 else
2124 { echo "$as_me:$LINENO: result: no" >&5
2125 echo "${ECHO_T}no" >&6; }
2128 if test "x$ac_ct_STRIP" = x; then
2129 STRIP=":"
2130 else
2131 case $cross_compiling:$ac_tool_warned in
2132 yes:)
2133 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2134 whose name does not start with the host triplet. If you think this
2135 configuration is useful to you, please write to autoconf@gnu.org." >&5
2136 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2137 whose name does not start with the host triplet. If you think this
2138 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2139 ac_tool_warned=yes ;;
2140 esac
2141 STRIP=$ac_ct_STRIP
2143 else
2144 STRIP="$ac_cv_prog_STRIP"
2148 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2150 # We need awk for the "check" target. The system "awk" is bad on
2151 # some platforms.
2152 # Always define AMTAR for backward compatibility.
2154 AMTAR=${AMTAR-"${am_missing_run}tar"}
2156 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2162 ac_ext=c
2163 ac_cpp='$CPP $CPPFLAGS'
2164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2167 if test -n "$ac_tool_prefix"; then
2168 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2169 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2172 if test "${ac_cv_prog_CC+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 else
2175 if test -n "$CC"; then
2176 ac_cv_prog_CC="$CC" # Let the user override the test.
2177 else
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 for as_dir in $PATH
2181 IFS=$as_save_IFS
2182 test -z "$as_dir" && as_dir=.
2183 for ac_exec_ext in '' $ac_executable_extensions; do
2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2185 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2187 break 2
2189 done
2190 done
2191 IFS=$as_save_IFS
2195 CC=$ac_cv_prog_CC
2196 if test -n "$CC"; then
2197 { echo "$as_me:$LINENO: result: $CC" >&5
2198 echo "${ECHO_T}$CC" >&6; }
2199 else
2200 { echo "$as_me:$LINENO: result: no" >&5
2201 echo "${ECHO_T}no" >&6; }
2206 if test -z "$ac_cv_prog_CC"; then
2207 ac_ct_CC=$CC
2208 # Extract the first word of "gcc", so it can be a program name with args.
2209 set dummy gcc; ac_word=$2
2210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2212 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2213 echo $ECHO_N "(cached) $ECHO_C" >&6
2214 else
2215 if test -n "$ac_ct_CC"; then
2216 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2217 else
2218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219 for as_dir in $PATH
2221 IFS=$as_save_IFS
2222 test -z "$as_dir" && as_dir=.
2223 for ac_exec_ext in '' $ac_executable_extensions; do
2224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2225 ac_cv_prog_ac_ct_CC="gcc"
2226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2227 break 2
2229 done
2230 done
2231 IFS=$as_save_IFS
2235 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2236 if test -n "$ac_ct_CC"; then
2237 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2238 echo "${ECHO_T}$ac_ct_CC" >&6; }
2239 else
2240 { echo "$as_me:$LINENO: result: no" >&5
2241 echo "${ECHO_T}no" >&6; }
2244 if test "x$ac_ct_CC" = x; then
2245 CC=""
2246 else
2247 case $cross_compiling:$ac_tool_warned in
2248 yes:)
2249 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2250 whose name does not start with the host triplet. If you think this
2251 configuration is useful to you, please write to autoconf@gnu.org." >&5
2252 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2253 whose name does not start with the host triplet. If you think this
2254 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2255 ac_tool_warned=yes ;;
2256 esac
2257 CC=$ac_ct_CC
2259 else
2260 CC="$ac_cv_prog_CC"
2263 if test -z "$CC"; then
2264 if test -n "$ac_tool_prefix"; then
2265 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2266 set dummy ${ac_tool_prefix}cc; ac_word=$2
2267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2269 if test "${ac_cv_prog_CC+set}" = set; then
2270 echo $ECHO_N "(cached) $ECHO_C" >&6
2271 else
2272 if test -n "$CC"; then
2273 ac_cv_prog_CC="$CC" # Let the user override the test.
2274 else
2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 for as_dir in $PATH
2278 IFS=$as_save_IFS
2279 test -z "$as_dir" && as_dir=.
2280 for ac_exec_ext in '' $ac_executable_extensions; do
2281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2282 ac_cv_prog_CC="${ac_tool_prefix}cc"
2283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 break 2
2286 done
2287 done
2288 IFS=$as_save_IFS
2292 CC=$ac_cv_prog_CC
2293 if test -n "$CC"; then
2294 { echo "$as_me:$LINENO: result: $CC" >&5
2295 echo "${ECHO_T}$CC" >&6; }
2296 else
2297 { echo "$as_me:$LINENO: result: no" >&5
2298 echo "${ECHO_T}no" >&6; }
2304 if test -z "$CC"; then
2305 # Extract the first word of "cc", so it can be a program name with args.
2306 set dummy cc; ac_word=$2
2307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2309 if test "${ac_cv_prog_CC+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 else
2312 if test -n "$CC"; then
2313 ac_cv_prog_CC="$CC" # Let the user override the test.
2314 else
2315 ac_prog_rejected=no
2316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 for as_dir in $PATH
2319 IFS=$as_save_IFS
2320 test -z "$as_dir" && as_dir=.
2321 for ac_exec_ext in '' $ac_executable_extensions; do
2322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2323 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2324 ac_prog_rejected=yes
2325 continue
2327 ac_cv_prog_CC="cc"
2328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2329 break 2
2331 done
2332 done
2333 IFS=$as_save_IFS
2335 if test $ac_prog_rejected = yes; then
2336 # We found a bogon in the path, so make sure we never use it.
2337 set dummy $ac_cv_prog_CC
2338 shift
2339 if test $# != 0; then
2340 # We chose a different compiler from the bogus one.
2341 # However, it has the same basename, so the bogon will be chosen
2342 # first if we set CC to just the basename; use the full file name.
2343 shift
2344 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2349 CC=$ac_cv_prog_CC
2350 if test -n "$CC"; then
2351 { echo "$as_me:$LINENO: result: $CC" >&5
2352 echo "${ECHO_T}$CC" >&6; }
2353 else
2354 { echo "$as_me:$LINENO: result: no" >&5
2355 echo "${ECHO_T}no" >&6; }
2360 if test -z "$CC"; then
2361 if test -n "$ac_tool_prefix"; then
2362 for ac_prog in cl.exe
2364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2368 if test "${ac_cv_prog_CC+set}" = set; then
2369 echo $ECHO_N "(cached) $ECHO_C" >&6
2370 else
2371 if test -n "$CC"; then
2372 ac_cv_prog_CC="$CC" # Let the user override the test.
2373 else
2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2375 for as_dir in $PATH
2377 IFS=$as_save_IFS
2378 test -z "$as_dir" && as_dir=.
2379 for ac_exec_ext in '' $ac_executable_extensions; do
2380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2381 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2383 break 2
2385 done
2386 done
2387 IFS=$as_save_IFS
2391 CC=$ac_cv_prog_CC
2392 if test -n "$CC"; then
2393 { echo "$as_me:$LINENO: result: $CC" >&5
2394 echo "${ECHO_T}$CC" >&6; }
2395 else
2396 { echo "$as_me:$LINENO: result: no" >&5
2397 echo "${ECHO_T}no" >&6; }
2401 test -n "$CC" && break
2402 done
2404 if test -z "$CC"; then
2405 ac_ct_CC=$CC
2406 for ac_prog in cl.exe
2408 # Extract the first word of "$ac_prog", so it can be a program name with args.
2409 set dummy $ac_prog; ac_word=$2
2410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2412 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2413 echo $ECHO_N "(cached) $ECHO_C" >&6
2414 else
2415 if test -n "$ac_ct_CC"; then
2416 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2417 else
2418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2419 for as_dir in $PATH
2421 IFS=$as_save_IFS
2422 test -z "$as_dir" && as_dir=.
2423 for ac_exec_ext in '' $ac_executable_extensions; do
2424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2425 ac_cv_prog_ac_ct_CC="$ac_prog"
2426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2427 break 2
2429 done
2430 done
2431 IFS=$as_save_IFS
2435 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2436 if test -n "$ac_ct_CC"; then
2437 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2438 echo "${ECHO_T}$ac_ct_CC" >&6; }
2439 else
2440 { echo "$as_me:$LINENO: result: no" >&5
2441 echo "${ECHO_T}no" >&6; }
2445 test -n "$ac_ct_CC" && break
2446 done
2448 if test "x$ac_ct_CC" = x; then
2449 CC=""
2450 else
2451 case $cross_compiling:$ac_tool_warned in
2452 yes:)
2453 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2454 whose name does not start with the host triplet. If you think this
2455 configuration is useful to you, please write to autoconf@gnu.org." >&5
2456 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2457 whose name does not start with the host triplet. If you think this
2458 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2459 ac_tool_warned=yes ;;
2460 esac
2461 CC=$ac_ct_CC
2468 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2469 See \`config.log' for more details." >&5
2470 echo "$as_me: error: no acceptable C compiler found in \$PATH
2471 See \`config.log' for more details." >&2;}
2472 { (exit 1); exit 1; }; }
2474 # Provide some information about the compiler.
2475 echo "$as_me:$LINENO: checking for C compiler version" >&5
2476 ac_compiler=`set X $ac_compile; echo $2`
2477 { (ac_try="$ac_compiler --version >&5"
2478 case "(($ac_try" in
2479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2480 *) ac_try_echo=$ac_try;;
2481 esac
2482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2483 (eval "$ac_compiler --version >&5") 2>&5
2484 ac_status=$?
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); }
2487 { (ac_try="$ac_compiler -v >&5"
2488 case "(($ac_try" in
2489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2490 *) ac_try_echo=$ac_try;;
2491 esac
2492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2493 (eval "$ac_compiler -v >&5") 2>&5
2494 ac_status=$?
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); }
2497 { (ac_try="$ac_compiler -V >&5"
2498 case "(($ac_try" in
2499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2500 *) ac_try_echo=$ac_try;;
2501 esac
2502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2503 (eval "$ac_compiler -V >&5") 2>&5
2504 ac_status=$?
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }
2508 cat >conftest.$ac_ext <<_ACEOF
2509 /* confdefs.h. */
2510 _ACEOF
2511 cat confdefs.h >>conftest.$ac_ext
2512 cat >>conftest.$ac_ext <<_ACEOF
2513 /* end confdefs.h. */
2516 main ()
2520 return 0;
2522 _ACEOF
2523 ac_clean_files_save=$ac_clean_files
2524 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2525 # Try to create an executable without -o first, disregard a.out.
2526 # It will help us diagnose broken compilers, and finding out an intuition
2527 # of exeext.
2528 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2529 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2530 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2532 # List of possible output files, starting from the most likely.
2533 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2534 # only as a last resort. b.out is created by i960 compilers.
2535 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2537 # The IRIX 6 linker writes into existing files which may not be
2538 # executable, retaining their permissions. Remove them first so a
2539 # subsequent execution test works.
2540 ac_rmfiles=
2541 for ac_file in $ac_files
2543 case $ac_file in
2544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2545 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2546 esac
2547 done
2548 rm -f $ac_rmfiles
2550 if { (ac_try="$ac_link_default"
2551 case "(($ac_try" in
2552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2553 *) ac_try_echo=$ac_try;;
2554 esac
2555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2556 (eval "$ac_link_default") 2>&5
2557 ac_status=$?
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; then
2560 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2561 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2562 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2563 # so that the user can short-circuit this test for compilers unknown to
2564 # Autoconf.
2565 for ac_file in $ac_files
2567 test -f "$ac_file" || continue
2568 case $ac_file in
2569 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2571 [ab].out )
2572 # We found the default executable, but exeext='' is most
2573 # certainly right.
2574 break;;
2575 *.* )
2576 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2577 then :; else
2578 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2580 # We set ac_cv_exeext here because the later test for it is not
2581 # safe: cross compilers may not add the suffix if given an `-o'
2582 # argument, so we may need to know it at that point already.
2583 # Even if this section looks crufty: it has the advantage of
2584 # actually working.
2585 break;;
2587 break;;
2588 esac
2589 done
2590 test "$ac_cv_exeext" = no && ac_cv_exeext=
2592 else
2593 echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.$ac_ext >&5
2596 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2597 See \`config.log' for more details." >&5
2598 echo "$as_me: error: C compiler cannot create executables
2599 See \`config.log' for more details." >&2;}
2600 { (exit 77); exit 77; }; }
2603 ac_exeext=$ac_cv_exeext
2604 { echo "$as_me:$LINENO: result: $ac_file" >&5
2605 echo "${ECHO_T}$ac_file" >&6; }
2607 # Check that the compiler produces executables we can run. If not, either
2608 # the compiler is broken, or we cross compile.
2609 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2610 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2611 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2612 # If not cross compiling, check that we can run a simple program.
2613 if test "$cross_compiling" != yes; then
2614 if { ac_try='./$ac_file'
2615 { (case "(($ac_try" in
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2618 esac
2619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2620 (eval "$ac_try") 2>&5
2621 ac_status=$?
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; }; then
2624 cross_compiling=no
2625 else
2626 if test "$cross_compiling" = maybe; then
2627 cross_compiling=yes
2628 else
2629 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2630 If you meant to cross compile, use \`--host'.
2631 See \`config.log' for more details." >&5
2632 echo "$as_me: error: cannot run C compiled programs.
2633 If you meant to cross compile, use \`--host'.
2634 See \`config.log' for more details." >&2;}
2635 { (exit 1); exit 1; }; }
2639 { echo "$as_me:$LINENO: result: yes" >&5
2640 echo "${ECHO_T}yes" >&6; }
2642 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2643 ac_clean_files=$ac_clean_files_save
2644 # Check that the compiler produces executables we can run. If not, either
2645 # the compiler is broken, or we cross compile.
2646 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2647 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2648 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2649 echo "${ECHO_T}$cross_compiling" >&6; }
2651 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2652 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2653 if { (ac_try="$ac_link"
2654 case "(($ac_try" in
2655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656 *) ac_try_echo=$ac_try;;
2657 esac
2658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2659 (eval "$ac_link") 2>&5
2660 ac_status=$?
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); }; then
2663 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2664 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2665 # work properly (i.e., refer to `conftest.exe'), while it won't with
2666 # `rm'.
2667 for ac_file in conftest.exe conftest conftest.*; do
2668 test -f "$ac_file" || continue
2669 case $ac_file in
2670 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2671 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2672 break;;
2673 * ) break;;
2674 esac
2675 done
2676 else
2677 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2678 See \`config.log' for more details." >&5
2679 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2680 See \`config.log' for more details." >&2;}
2681 { (exit 1); exit 1; }; }
2684 rm -f conftest$ac_cv_exeext
2685 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2686 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2688 rm -f conftest.$ac_ext
2689 EXEEXT=$ac_cv_exeext
2690 ac_exeext=$EXEEXT
2691 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2692 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2693 if test "${ac_cv_objext+set}" = set; then
2694 echo $ECHO_N "(cached) $ECHO_C" >&6
2695 else
2696 cat >conftest.$ac_ext <<_ACEOF
2697 /* confdefs.h. */
2698 _ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2704 main ()
2708 return 0;
2710 _ACEOF
2711 rm -f conftest.o conftest.obj
2712 if { (ac_try="$ac_compile"
2713 case "(($ac_try" in
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2716 esac
2717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2718 (eval "$ac_compile") 2>&5
2719 ac_status=$?
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }; then
2722 for ac_file in conftest.o conftest.obj conftest.*; do
2723 test -f "$ac_file" || continue;
2724 case $ac_file in
2725 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2726 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2727 break;;
2728 esac
2729 done
2730 else
2731 echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2734 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2735 See \`config.log' for more details." >&5
2736 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2737 See \`config.log' for more details." >&2;}
2738 { (exit 1); exit 1; }; }
2741 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2743 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2744 echo "${ECHO_T}$ac_cv_objext" >&6; }
2745 OBJEXT=$ac_cv_objext
2746 ac_objext=$OBJEXT
2747 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2748 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2749 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2750 echo $ECHO_N "(cached) $ECHO_C" >&6
2751 else
2752 cat >conftest.$ac_ext <<_ACEOF
2753 /* confdefs.h. */
2754 _ACEOF
2755 cat confdefs.h >>conftest.$ac_ext
2756 cat >>conftest.$ac_ext <<_ACEOF
2757 /* end confdefs.h. */
2760 main ()
2762 #ifndef __GNUC__
2763 choke me
2764 #endif
2767 return 0;
2769 _ACEOF
2770 rm -f conftest.$ac_objext
2771 if { (ac_try="$ac_compile"
2772 case "(($ac_try" in
2773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2774 *) ac_try_echo=$ac_try;;
2775 esac
2776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2777 (eval "$ac_compile") 2>conftest.er1
2778 ac_status=$?
2779 grep -v '^ *+' conftest.er1 >conftest.err
2780 rm -f conftest.er1
2781 cat conftest.err >&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); } &&
2784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2785 { (case "(($ac_try" in
2786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787 *) ac_try_echo=$ac_try;;
2788 esac
2789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2790 (eval "$ac_try") 2>&5
2791 ac_status=$?
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; } &&
2794 { ac_try='test -s conftest.$ac_objext'
2795 { (case "(($ac_try" in
2796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2797 *) ac_try_echo=$ac_try;;
2798 esac
2799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2800 (eval "$ac_try") 2>&5
2801 ac_status=$?
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); }; }; then
2804 ac_compiler_gnu=yes
2805 else
2806 echo "$as_me: failed program was:" >&5
2807 sed 's/^/| /' conftest.$ac_ext >&5
2809 ac_compiler_gnu=no
2812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2816 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2817 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2818 GCC=`test $ac_compiler_gnu = yes && echo yes`
2819 ac_test_CFLAGS=${CFLAGS+set}
2820 ac_save_CFLAGS=$CFLAGS
2821 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2822 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2823 if test "${ac_cv_prog_cc_g+set}" = set; then
2824 echo $ECHO_N "(cached) $ECHO_C" >&6
2825 else
2826 ac_save_c_werror_flag=$ac_c_werror_flag
2827 ac_c_werror_flag=yes
2828 ac_cv_prog_cc_g=no
2829 CFLAGS="-g"
2830 cat >conftest.$ac_ext <<_ACEOF
2831 /* confdefs.h. */
2832 _ACEOF
2833 cat confdefs.h >>conftest.$ac_ext
2834 cat >>conftest.$ac_ext <<_ACEOF
2835 /* end confdefs.h. */
2838 main ()
2842 return 0;
2844 _ACEOF
2845 rm -f conftest.$ac_objext
2846 if { (ac_try="$ac_compile"
2847 case "(($ac_try" in
2848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849 *) ac_try_echo=$ac_try;;
2850 esac
2851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2852 (eval "$ac_compile") 2>conftest.er1
2853 ac_status=$?
2854 grep -v '^ *+' conftest.er1 >conftest.err
2855 rm -f conftest.er1
2856 cat conftest.err >&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); } &&
2859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2860 { (case "(($ac_try" in
2861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2862 *) ac_try_echo=$ac_try;;
2863 esac
2864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2865 (eval "$ac_try") 2>&5
2866 ac_status=$?
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }; } &&
2869 { ac_try='test -s conftest.$ac_objext'
2870 { (case "(($ac_try" in
2871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872 *) ac_try_echo=$ac_try;;
2873 esac
2874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2875 (eval "$ac_try") 2>&5
2876 ac_status=$?
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); }; }; then
2879 ac_cv_prog_cc_g=yes
2880 else
2881 echo "$as_me: failed program was:" >&5
2882 sed 's/^/| /' conftest.$ac_ext >&5
2884 CFLAGS=""
2885 cat >conftest.$ac_ext <<_ACEOF
2886 /* confdefs.h. */
2887 _ACEOF
2888 cat confdefs.h >>conftest.$ac_ext
2889 cat >>conftest.$ac_ext <<_ACEOF
2890 /* end confdefs.h. */
2893 main ()
2897 return 0;
2899 _ACEOF
2900 rm -f conftest.$ac_objext
2901 if { (ac_try="$ac_compile"
2902 case "(($ac_try" in
2903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2904 *) ac_try_echo=$ac_try;;
2905 esac
2906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2907 (eval "$ac_compile") 2>conftest.er1
2908 ac_status=$?
2909 grep -v '^ *+' conftest.er1 >conftest.err
2910 rm -f conftest.er1
2911 cat conftest.err >&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); } &&
2914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2915 { (case "(($ac_try" in
2916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2917 *) ac_try_echo=$ac_try;;
2918 esac
2919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2920 (eval "$ac_try") 2>&5
2921 ac_status=$?
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }; } &&
2924 { ac_try='test -s conftest.$ac_objext'
2925 { (case "(($ac_try" in
2926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927 *) ac_try_echo=$ac_try;;
2928 esac
2929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2930 (eval "$ac_try") 2>&5
2931 ac_status=$?
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; }; then
2935 else
2936 echo "$as_me: failed program was:" >&5
2937 sed 's/^/| /' conftest.$ac_ext >&5
2939 ac_c_werror_flag=$ac_save_c_werror_flag
2940 CFLAGS="-g"
2941 cat >conftest.$ac_ext <<_ACEOF
2942 /* confdefs.h. */
2943 _ACEOF
2944 cat confdefs.h >>conftest.$ac_ext
2945 cat >>conftest.$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2949 main ()
2953 return 0;
2955 _ACEOF
2956 rm -f conftest.$ac_objext
2957 if { (ac_try="$ac_compile"
2958 case "(($ac_try" in
2959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2961 esac
2962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2963 (eval "$ac_compile") 2>conftest.er1
2964 ac_status=$?
2965 grep -v '^ *+' conftest.er1 >conftest.err
2966 rm -f conftest.er1
2967 cat conftest.err >&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); } &&
2970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2971 { (case "(($ac_try" in
2972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;
2974 esac
2975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2976 (eval "$ac_try") 2>&5
2977 ac_status=$?
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); }; } &&
2980 { ac_try='test -s conftest.$ac_objext'
2981 { (case "(($ac_try" in
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2984 esac
2985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2986 (eval "$ac_try") 2>&5
2987 ac_status=$?
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; }; then
2990 ac_cv_prog_cc_g=yes
2991 else
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3005 ac_c_werror_flag=$ac_save_c_werror_flag
3007 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3008 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3009 if test "$ac_test_CFLAGS" = set; then
3010 CFLAGS=$ac_save_CFLAGS
3011 elif test $ac_cv_prog_cc_g = yes; then
3012 if test "$GCC" = yes; then
3013 CFLAGS="-g -O2"
3014 else
3015 CFLAGS="-g"
3017 else
3018 if test "$GCC" = yes; then
3019 CFLAGS="-O2"
3020 else
3021 CFLAGS=
3024 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3025 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3026 if test "${ac_cv_prog_cc_c89+set}" = set; then
3027 echo $ECHO_N "(cached) $ECHO_C" >&6
3028 else
3029 ac_cv_prog_cc_c89=no
3030 ac_save_CC=$CC
3031 cat >conftest.$ac_ext <<_ACEOF
3032 /* confdefs.h. */
3033 _ACEOF
3034 cat confdefs.h >>conftest.$ac_ext
3035 cat >>conftest.$ac_ext <<_ACEOF
3036 /* end confdefs.h. */
3037 #include <stdarg.h>
3038 #include <stdio.h>
3039 #include <sys/types.h>
3040 #include <sys/stat.h>
3041 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3042 struct buf { int x; };
3043 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3044 static char *e (p, i)
3045 char **p;
3046 int i;
3048 return p[i];
3050 static char *f (char * (*g) (char **, int), char **p, ...)
3052 char *s;
3053 va_list v;
3054 va_start (v,p);
3055 s = g (p, va_arg (v,int));
3056 va_end (v);
3057 return s;
3060 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3061 function prototypes and stuff, but not '\xHH' hex character constants.
3062 These don't provoke an error unfortunately, instead are silently treated
3063 as 'x'. The following induces an error, until -std is added to get
3064 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3065 array size at least. It's necessary to write '\x00'==0 to get something
3066 that's true only with -std. */
3067 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3069 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3070 inside strings and character constants. */
3071 #define FOO(x) 'x'
3072 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3074 int test (int i, double x);
3075 struct s1 {int (*f) (int a);};
3076 struct s2 {int (*f) (double a);};
3077 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3078 int argc;
3079 char **argv;
3081 main ()
3083 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3085 return 0;
3087 _ACEOF
3088 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3089 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3091 CC="$ac_save_CC $ac_arg"
3092 rm -f conftest.$ac_objext
3093 if { (ac_try="$ac_compile"
3094 case "(($ac_try" in
3095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3096 *) ac_try_echo=$ac_try;;
3097 esac
3098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3099 (eval "$ac_compile") 2>conftest.er1
3100 ac_status=$?
3101 grep -v '^ *+' conftest.er1 >conftest.err
3102 rm -f conftest.er1
3103 cat conftest.err >&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); } &&
3106 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3107 { (case "(($ac_try" in
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3110 esac
3111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3112 (eval "$ac_try") 2>&5
3113 ac_status=$?
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }; } &&
3116 { ac_try='test -s conftest.$ac_objext'
3117 { (case "(($ac_try" in
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3120 esac
3121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3122 (eval "$ac_try") 2>&5
3123 ac_status=$?
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); }; }; then
3126 ac_cv_prog_cc_c89=$ac_arg
3127 else
3128 echo "$as_me: failed program was:" >&5
3129 sed 's/^/| /' conftest.$ac_ext >&5
3134 rm -f core conftest.err conftest.$ac_objext
3135 test "x$ac_cv_prog_cc_c89" != "xno" && break
3136 done
3137 rm -f conftest.$ac_ext
3138 CC=$ac_save_CC
3141 # AC_CACHE_VAL
3142 case "x$ac_cv_prog_cc_c89" in
3144 { echo "$as_me:$LINENO: result: none needed" >&5
3145 echo "${ECHO_T}none needed" >&6; } ;;
3146 xno)
3147 { echo "$as_me:$LINENO: result: unsupported" >&5
3148 echo "${ECHO_T}unsupported" >&6; } ;;
3150 CC="$CC $ac_cv_prog_cc_c89"
3151 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3152 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3153 esac
3156 ac_ext=c
3157 ac_cpp='$CPP $CPPFLAGS'
3158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3161 DEPDIR="${am__leading_dot}deps"
3163 ac_config_commands="$ac_config_commands depfiles"
3166 am_make=${MAKE-make}
3167 cat > confinc << 'END'
3168 am__doit:
3169 @echo done
3170 .PHONY: am__doit
3172 # If we don't find an include directive, just comment out the code.
3173 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3174 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3175 am__include="#"
3176 am__quote=
3177 _am_result=none
3178 # First try GNU make style include.
3179 echo "include confinc" > confmf
3180 # We grep out `Entering directory' and `Leaving directory'
3181 # messages which can occur if `w' ends up in MAKEFLAGS.
3182 # In particular we don't look at `^make:' because GNU make might
3183 # be invoked under some other name (usually "gmake"), in which
3184 # case it prints its new name instead of `make'.
3185 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3186 am__include=include
3187 am__quote=
3188 _am_result=GNU
3190 # Now try BSD make style include.
3191 if test "$am__include" = "#"; then
3192 echo '.include "confinc"' > confmf
3193 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3194 am__include=.include
3195 am__quote="\""
3196 _am_result=BSD
3201 { echo "$as_me:$LINENO: result: $_am_result" >&5
3202 echo "${ECHO_T}$_am_result" >&6; }
3203 rm -f confinc confmf
3205 # Check whether --enable-dependency-tracking was given.
3206 if test "${enable_dependency_tracking+set}" = set; then
3207 enableval=$enable_dependency_tracking;
3210 if test "x$enable_dependency_tracking" != xno; then
3211 am_depcomp="$ac_aux_dir/depcomp"
3212 AMDEPBACKSLASH='\'
3214 if test "x$enable_dependency_tracking" != xno; then
3215 AMDEP_TRUE=
3216 AMDEP_FALSE='#'
3217 else
3218 AMDEP_TRUE='#'
3219 AMDEP_FALSE=
3224 depcc="$CC" am_compiler_list=
3226 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3227 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3228 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3229 echo $ECHO_N "(cached) $ECHO_C" >&6
3230 else
3231 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3232 # We make a subdir and do the tests there. Otherwise we can end up
3233 # making bogus files that we don't know about and never remove. For
3234 # instance it was reported that on HP-UX the gcc test will end up
3235 # making a dummy file named `D' -- because `-MD' means `put the output
3236 # in D'.
3237 mkdir conftest.dir
3238 # Copy depcomp to subdir because otherwise we won't find it if we're
3239 # using a relative directory.
3240 cp "$am_depcomp" conftest.dir
3241 cd conftest.dir
3242 # We will build objects and dependencies in a subdirectory because
3243 # it helps to detect inapplicable dependency modes. For instance
3244 # both Tru64's cc and ICC support -MD to output dependencies as a
3245 # side effect of compilation, but ICC will put the dependencies in
3246 # the current directory while Tru64 will put them in the object
3247 # directory.
3248 mkdir sub
3250 am_cv_CC_dependencies_compiler_type=none
3251 if test "$am_compiler_list" = ""; then
3252 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3254 for depmode in $am_compiler_list; do
3255 # Setup a source with many dependencies, because some compilers
3256 # like to wrap large dependency lists on column 80 (with \), and
3257 # we should not choose a depcomp mode which is confused by this.
3259 # We need to recreate these files for each test, as the compiler may
3260 # overwrite some of them when testing with obscure command lines.
3261 # This happens at least with the AIX C compiler.
3262 : > sub/conftest.c
3263 for i in 1 2 3 4 5 6; do
3264 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3265 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3266 # Solaris 8's {/usr,}/bin/sh.
3267 touch sub/conftst$i.h
3268 done
3269 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3271 case $depmode in
3272 nosideeffect)
3273 # after this tag, mechanisms are not by side-effect, so they'll
3274 # only be used when explicitly requested
3275 if test "x$enable_dependency_tracking" = xyes; then
3276 continue
3277 else
3278 break
3281 none) break ;;
3282 esac
3283 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3284 # mode. It turns out that the SunPro C++ compiler does not properly
3285 # handle `-M -o', and we need to detect this.
3286 if depmode=$depmode \
3287 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3288 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3289 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3290 >/dev/null 2>conftest.err &&
3291 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3292 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3293 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3294 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3295 # icc doesn't choke on unknown options, it will just issue warnings
3296 # or remarks (even with -Werror). So we grep stderr for any message
3297 # that says an option was ignored or not supported.
3298 # When given -MP, icc 7.0 and 7.1 complain thusly:
3299 # icc: Command line warning: ignoring option '-M'; no argument required
3300 # The diagnosis changed in icc 8.0:
3301 # icc: Command line remark: option '-MP' not supported
3302 if (grep 'ignoring option' conftest.err ||
3303 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3304 am_cv_CC_dependencies_compiler_type=$depmode
3305 break
3308 done
3310 cd ..
3311 rm -rf conftest.dir
3312 else
3313 am_cv_CC_dependencies_compiler_type=none
3317 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3318 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3319 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3322 test "x$enable_dependency_tracking" != xno \
3323 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3324 am__fastdepCC_TRUE=
3325 am__fastdepCC_FALSE='#'
3326 else
3327 am__fastdepCC_TRUE='#'
3328 am__fastdepCC_FALSE=
3332 ac_ext=cpp
3333 ac_cpp='$CXXCPP $CPPFLAGS'
3334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3337 if test -z "$CXX"; then
3338 if test -n "$CCC"; then
3339 CXX=$CCC
3340 else
3341 if test -n "$ac_tool_prefix"; then
3342 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3344 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3345 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3348 if test "${ac_cv_prog_CXX+set}" = set; then
3349 echo $ECHO_N "(cached) $ECHO_C" >&6
3350 else
3351 if test -n "$CXX"; then
3352 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3353 else
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 for as_dir in $PATH
3357 IFS=$as_save_IFS
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 break 2
3365 done
3366 done
3367 IFS=$as_save_IFS
3371 CXX=$ac_cv_prog_CXX
3372 if test -n "$CXX"; then
3373 { echo "$as_me:$LINENO: result: $CXX" >&5
3374 echo "${ECHO_T}$CXX" >&6; }
3375 else
3376 { echo "$as_me:$LINENO: result: no" >&5
3377 echo "${ECHO_T}no" >&6; }
3381 test -n "$CXX" && break
3382 done
3384 if test -z "$CXX"; then
3385 ac_ct_CXX=$CXX
3386 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3388 # Extract the first word of "$ac_prog", so it can be a program name with args.
3389 set dummy $ac_prog; ac_word=$2
3390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3392 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3393 echo $ECHO_N "(cached) $ECHO_C" >&6
3394 else
3395 if test -n "$ac_ct_CXX"; then
3396 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3397 else
3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3399 for as_dir in $PATH
3401 IFS=$as_save_IFS
3402 test -z "$as_dir" && as_dir=.
3403 for ac_exec_ext in '' $ac_executable_extensions; do
3404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3405 ac_cv_prog_ac_ct_CXX="$ac_prog"
3406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3407 break 2
3409 done
3410 done
3411 IFS=$as_save_IFS
3415 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3416 if test -n "$ac_ct_CXX"; then
3417 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3418 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3419 else
3420 { echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6; }
3425 test -n "$ac_ct_CXX" && break
3426 done
3428 if test "x$ac_ct_CXX" = x; then
3429 CXX="g++"
3430 else
3431 case $cross_compiling:$ac_tool_warned in
3432 yes:)
3433 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3434 whose name does not start with the host triplet. If you think this
3435 configuration is useful to you, please write to autoconf@gnu.org." >&5
3436 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3437 whose name does not start with the host triplet. If you think this
3438 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3439 ac_tool_warned=yes ;;
3440 esac
3441 CXX=$ac_ct_CXX
3447 # Provide some information about the compiler.
3448 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3449 ac_compiler=`set X $ac_compile; echo $2`
3450 { (ac_try="$ac_compiler --version >&5"
3451 case "(($ac_try" in
3452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3453 *) ac_try_echo=$ac_try;;
3454 esac
3455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3456 (eval "$ac_compiler --version >&5") 2>&5
3457 ac_status=$?
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); }
3460 { (ac_try="$ac_compiler -v >&5"
3461 case "(($ac_try" in
3462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3463 *) ac_try_echo=$ac_try;;
3464 esac
3465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3466 (eval "$ac_compiler -v >&5") 2>&5
3467 ac_status=$?
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); }
3470 { (ac_try="$ac_compiler -V >&5"
3471 case "(($ac_try" in
3472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3473 *) ac_try_echo=$ac_try;;
3474 esac
3475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3476 (eval "$ac_compiler -V >&5") 2>&5
3477 ac_status=$?
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }
3481 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3482 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3483 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3484 echo $ECHO_N "(cached) $ECHO_C" >&6
3485 else
3486 cat >conftest.$ac_ext <<_ACEOF
3487 /* confdefs.h. */
3488 _ACEOF
3489 cat confdefs.h >>conftest.$ac_ext
3490 cat >>conftest.$ac_ext <<_ACEOF
3491 /* end confdefs.h. */
3494 main ()
3496 #ifndef __GNUC__
3497 choke me
3498 #endif
3501 return 0;
3503 _ACEOF
3504 rm -f conftest.$ac_objext
3505 if { (ac_try="$ac_compile"
3506 case "(($ac_try" in
3507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3508 *) ac_try_echo=$ac_try;;
3509 esac
3510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3511 (eval "$ac_compile") 2>conftest.er1
3512 ac_status=$?
3513 grep -v '^ *+' conftest.er1 >conftest.err
3514 rm -f conftest.er1
3515 cat conftest.err >&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } &&
3518 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3519 { (case "(($ac_try" in
3520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3521 *) ac_try_echo=$ac_try;;
3522 esac
3523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3524 (eval "$ac_try") 2>&5
3525 ac_status=$?
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); }; } &&
3528 { ac_try='test -s conftest.$ac_objext'
3529 { (case "(($ac_try" in
3530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531 *) ac_try_echo=$ac_try;;
3532 esac
3533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3534 (eval "$ac_try") 2>&5
3535 ac_status=$?
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); }; }; then
3538 ac_compiler_gnu=yes
3539 else
3540 echo "$as_me: failed program was:" >&5
3541 sed 's/^/| /' conftest.$ac_ext >&5
3543 ac_compiler_gnu=no
3546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3547 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3550 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3551 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3552 GXX=`test $ac_compiler_gnu = yes && echo yes`
3553 ac_test_CXXFLAGS=${CXXFLAGS+set}
3554 ac_save_CXXFLAGS=$CXXFLAGS
3555 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3556 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3557 if test "${ac_cv_prog_cxx_g+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 else
3560 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3561 ac_cxx_werror_flag=yes
3562 ac_cv_prog_cxx_g=no
3563 CXXFLAGS="-g"
3564 cat >conftest.$ac_ext <<_ACEOF
3565 /* confdefs.h. */
3566 _ACEOF
3567 cat confdefs.h >>conftest.$ac_ext
3568 cat >>conftest.$ac_ext <<_ACEOF
3569 /* end confdefs.h. */
3572 main ()
3576 return 0;
3578 _ACEOF
3579 rm -f conftest.$ac_objext
3580 if { (ac_try="$ac_compile"
3581 case "(($ac_try" in
3582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583 *) ac_try_echo=$ac_try;;
3584 esac
3585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3586 (eval "$ac_compile") 2>conftest.er1
3587 ac_status=$?
3588 grep -v '^ *+' conftest.er1 >conftest.err
3589 rm -f conftest.er1
3590 cat conftest.err >&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); } &&
3593 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3594 { (case "(($ac_try" in
3595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596 *) ac_try_echo=$ac_try;;
3597 esac
3598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3599 (eval "$ac_try") 2>&5
3600 ac_status=$?
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); }; } &&
3603 { ac_try='test -s conftest.$ac_objext'
3604 { (case "(($ac_try" in
3605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3606 *) ac_try_echo=$ac_try;;
3607 esac
3608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3609 (eval "$ac_try") 2>&5
3610 ac_status=$?
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); }; }; then
3613 ac_cv_prog_cxx_g=yes
3614 else
3615 echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3618 CXXFLAGS=""
3619 cat >conftest.$ac_ext <<_ACEOF
3620 /* confdefs.h. */
3621 _ACEOF
3622 cat confdefs.h >>conftest.$ac_ext
3623 cat >>conftest.$ac_ext <<_ACEOF
3624 /* end confdefs.h. */
3627 main ()
3631 return 0;
3633 _ACEOF
3634 rm -f conftest.$ac_objext
3635 if { (ac_try="$ac_compile"
3636 case "(($ac_try" in
3637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3638 *) ac_try_echo=$ac_try;;
3639 esac
3640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3641 (eval "$ac_compile") 2>conftest.er1
3642 ac_status=$?
3643 grep -v '^ *+' conftest.er1 >conftest.err
3644 rm -f conftest.er1
3645 cat conftest.err >&5
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); } &&
3648 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3649 { (case "(($ac_try" in
3650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3651 *) ac_try_echo=$ac_try;;
3652 esac
3653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3654 (eval "$ac_try") 2>&5
3655 ac_status=$?
3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657 (exit $ac_status); }; } &&
3658 { ac_try='test -s conftest.$ac_objext'
3659 { (case "(($ac_try" in
3660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3661 *) ac_try_echo=$ac_try;;
3662 esac
3663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3664 (eval "$ac_try") 2>&5
3665 ac_status=$?
3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667 (exit $ac_status); }; }; then
3669 else
3670 echo "$as_me: failed program was:" >&5
3671 sed 's/^/| /' conftest.$ac_ext >&5
3673 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3674 CXXFLAGS="-g"
3675 cat >conftest.$ac_ext <<_ACEOF
3676 /* confdefs.h. */
3677 _ACEOF
3678 cat confdefs.h >>conftest.$ac_ext
3679 cat >>conftest.$ac_ext <<_ACEOF
3680 /* end confdefs.h. */
3683 main ()
3687 return 0;
3689 _ACEOF
3690 rm -f conftest.$ac_objext
3691 if { (ac_try="$ac_compile"
3692 case "(($ac_try" in
3693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3694 *) ac_try_echo=$ac_try;;
3695 esac
3696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3697 (eval "$ac_compile") 2>conftest.er1
3698 ac_status=$?
3699 grep -v '^ *+' conftest.er1 >conftest.err
3700 rm -f conftest.er1
3701 cat conftest.err >&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); } &&
3704 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3705 { (case "(($ac_try" in
3706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3707 *) ac_try_echo=$ac_try;;
3708 esac
3709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3710 (eval "$ac_try") 2>&5
3711 ac_status=$?
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); }; } &&
3714 { ac_try='test -s conftest.$ac_objext'
3715 { (case "(($ac_try" in
3716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3717 *) ac_try_echo=$ac_try;;
3718 esac
3719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3720 (eval "$ac_try") 2>&5
3721 ac_status=$?
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); }; }; then
3724 ac_cv_prog_cxx_g=yes
3725 else
3726 echo "$as_me: failed program was:" >&5
3727 sed 's/^/| /' conftest.$ac_ext >&5
3732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3739 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3741 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3742 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3743 if test "$ac_test_CXXFLAGS" = set; then
3744 CXXFLAGS=$ac_save_CXXFLAGS
3745 elif test $ac_cv_prog_cxx_g = yes; then
3746 if test "$GXX" = yes; then
3747 CXXFLAGS="-g -O2"
3748 else
3749 CXXFLAGS="-g"
3751 else
3752 if test "$GXX" = yes; then
3753 CXXFLAGS="-O2"
3754 else
3755 CXXFLAGS=
3758 ac_ext=c
3759 ac_cpp='$CPP $CPPFLAGS'
3760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3764 depcc="$CXX" am_compiler_list=
3766 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3767 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3768 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 else
3771 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3772 # We make a subdir and do the tests there. Otherwise we can end up
3773 # making bogus files that we don't know about and never remove. For
3774 # instance it was reported that on HP-UX the gcc test will end up
3775 # making a dummy file named `D' -- because `-MD' means `put the output
3776 # in D'.
3777 mkdir conftest.dir
3778 # Copy depcomp to subdir because otherwise we won't find it if we're
3779 # using a relative directory.
3780 cp "$am_depcomp" conftest.dir
3781 cd conftest.dir
3782 # We will build objects and dependencies in a subdirectory because
3783 # it helps to detect inapplicable dependency modes. For instance
3784 # both Tru64's cc and ICC support -MD to output dependencies as a
3785 # side effect of compilation, but ICC will put the dependencies in
3786 # the current directory while Tru64 will put them in the object
3787 # directory.
3788 mkdir sub
3790 am_cv_CXX_dependencies_compiler_type=none
3791 if test "$am_compiler_list" = ""; then
3792 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3794 for depmode in $am_compiler_list; do
3795 # Setup a source with many dependencies, because some compilers
3796 # like to wrap large dependency lists on column 80 (with \), and
3797 # we should not choose a depcomp mode which is confused by this.
3799 # We need to recreate these files for each test, as the compiler may
3800 # overwrite some of them when testing with obscure command lines.
3801 # This happens at least with the AIX C compiler.
3802 : > sub/conftest.c
3803 for i in 1 2 3 4 5 6; do
3804 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3805 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3806 # Solaris 8's {/usr,}/bin/sh.
3807 touch sub/conftst$i.h
3808 done
3809 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3811 case $depmode in
3812 nosideeffect)
3813 # after this tag, mechanisms are not by side-effect, so they'll
3814 # only be used when explicitly requested
3815 if test "x$enable_dependency_tracking" = xyes; then
3816 continue
3817 else
3818 break
3821 none) break ;;
3822 esac
3823 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3824 # mode. It turns out that the SunPro C++ compiler does not properly
3825 # handle `-M -o', and we need to detect this.
3826 if depmode=$depmode \
3827 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3828 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3829 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3830 >/dev/null 2>conftest.err &&
3831 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3832 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3833 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3834 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3835 # icc doesn't choke on unknown options, it will just issue warnings
3836 # or remarks (even with -Werror). So we grep stderr for any message
3837 # that says an option was ignored or not supported.
3838 # When given -MP, icc 7.0 and 7.1 complain thusly:
3839 # icc: Command line warning: ignoring option '-M'; no argument required
3840 # The diagnosis changed in icc 8.0:
3841 # icc: Command line remark: option '-MP' not supported
3842 if (grep 'ignoring option' conftest.err ||
3843 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3844 am_cv_CXX_dependencies_compiler_type=$depmode
3845 break
3848 done
3850 cd ..
3851 rm -rf conftest.dir
3852 else
3853 am_cv_CXX_dependencies_compiler_type=none
3857 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3858 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3859 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3862 test "x$enable_dependency_tracking" != xno \
3863 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3864 am__fastdepCXX_TRUE=
3865 am__fastdepCXX_FALSE='#'
3866 else
3867 am__fastdepCXX_TRUE='#'
3868 am__fastdepCXX_FALSE=
3872 ac_config_headers="$ac_config_headers config.h"
3874 ac_config_files="$ac_config_files Makefile"
3877 cat >confcache <<\_ACEOF
3878 # This file is a shell script that caches the results of configure
3879 # tests run on this system so they can be shared between configure
3880 # scripts and configure runs, see configure's option --config-cache.
3881 # It is not useful on other systems. If it contains results you don't
3882 # want to keep, you may remove or edit it.
3884 # config.status only pays attention to the cache file if you give it
3885 # the --recheck option to rerun configure.
3887 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3888 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3889 # following values.
3891 _ACEOF
3893 # The following way of writing the cache mishandles newlines in values,
3894 # but we know of no workaround that is simple, portable, and efficient.
3895 # So, we kill variables containing newlines.
3896 # Ultrix sh set writes to stderr and can't be redirected directly,
3897 # and sets the high bit in the cache file unless we assign to the vars.
3899 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3900 eval ac_val=\$$ac_var
3901 case $ac_val in #(
3902 *${as_nl}*)
3903 case $ac_var in #(
3904 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3905 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3906 esac
3907 case $ac_var in #(
3908 _ | IFS | as_nl) ;; #(
3909 *) $as_unset $ac_var ;;
3910 esac ;;
3911 esac
3912 done
3914 (set) 2>&1 |
3915 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3916 *${as_nl}ac_space=\ *)
3917 # `set' does not quote correctly, so add quotes (double-quote
3918 # substitution turns \\\\ into \\, and sed turns \\ into \).
3919 sed -n \
3920 "s/'/'\\\\''/g;
3921 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3922 ;; #(
3924 # `set' quotes correctly as required by POSIX, so do not add quotes.
3925 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3927 esac |
3928 sort
3930 sed '
3931 /^ac_cv_env_/b end
3932 t clear
3933 :clear
3934 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3935 t end
3936 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3937 :end' >>confcache
3938 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3939 if test -w "$cache_file"; then
3940 test "x$cache_file" != "x/dev/null" &&
3941 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3942 echo "$as_me: updating cache $cache_file" >&6;}
3943 cat confcache >$cache_file
3944 else
3945 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3946 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3949 rm -f confcache
3951 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3952 # Let make expand exec_prefix.
3953 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3955 DEFS=-DHAVE_CONFIG_H
3957 ac_libobjs=
3958 ac_ltlibobjs=
3959 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3960 # 1. Remove the extension, and $U if already installed.
3961 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3962 ac_i=`echo "$ac_i" | sed "$ac_script"`
3963 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3964 # will be set to the directory where LIBOBJS objects are built.
3965 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3966 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3967 done
3968 LIBOBJS=$ac_libobjs
3970 LTLIBOBJS=$ac_ltlibobjs
3973 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3974 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3975 Usually this means the macro was only invoked conditionally." >&5
3976 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3977 Usually this means the macro was only invoked conditionally." >&2;}
3978 { (exit 1); exit 1; }; }
3980 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3981 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3982 Usually this means the macro was only invoked conditionally." >&5
3983 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3984 Usually this means the macro was only invoked conditionally." >&2;}
3985 { (exit 1); exit 1; }; }
3987 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
3988 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
3989 Usually this means the macro was only invoked conditionally." >&5
3990 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
3991 Usually this means the macro was only invoked conditionally." >&2;}
3992 { (exit 1); exit 1; }; }
3995 : ${CONFIG_STATUS=./config.status}
3996 ac_clean_files_save=$ac_clean_files
3997 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3998 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3999 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4000 cat >$CONFIG_STATUS <<_ACEOF
4001 #! $SHELL
4002 # Generated by $as_me.
4003 # Run this file to recreate the current configuration.
4004 # Compiler output produced by configure, useful for debugging
4005 # configure, is in config.log if it exists.
4007 debug=false
4008 ac_cs_recheck=false
4009 ac_cs_silent=false
4010 SHELL=\${CONFIG_SHELL-$SHELL}
4011 _ACEOF
4013 cat >>$CONFIG_STATUS <<\_ACEOF
4014 ## --------------------- ##
4015 ## M4sh Initialization. ##
4016 ## --------------------- ##
4018 # Be Bourne compatible
4019 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4020 emulate sh
4021 NULLCMD=:
4022 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4023 # is contrary to our usage. Disable this feature.
4024 alias -g '${1+"$@"}'='"$@"'
4025 setopt NO_GLOB_SUBST
4026 else
4027 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
4029 BIN_SH=xpg4; export BIN_SH # for Tru64
4030 DUALCASE=1; export DUALCASE # for MKS sh
4033 # PATH needs CR
4034 # Avoid depending upon Character Ranges.
4035 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4036 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4037 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4038 as_cr_digits='0123456789'
4039 as_cr_alnum=$as_cr_Letters$as_cr_digits
4041 # The user is always right.
4042 if test "${PATH_SEPARATOR+set}" != set; then
4043 echo "#! /bin/sh" >conf$$.sh
4044 echo "exit 0" >>conf$$.sh
4045 chmod +x conf$$.sh
4046 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4047 PATH_SEPARATOR=';'
4048 else
4049 PATH_SEPARATOR=:
4051 rm -f conf$$.sh
4054 # Support unset when possible.
4055 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4056 as_unset=unset
4057 else
4058 as_unset=false
4062 # IFS
4063 # We need space, tab and new line, in precisely that order. Quoting is
4064 # there to prevent editors from complaining about space-tab.
4065 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4066 # splitting by setting IFS to empty value.)
4067 as_nl='
4069 IFS=" "" $as_nl"
4071 # Find who we are. Look in the path if we contain no directory separator.
4072 case $0 in
4073 *[\\/]* ) as_myself=$0 ;;
4074 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4075 for as_dir in $PATH
4077 IFS=$as_save_IFS
4078 test -z "$as_dir" && as_dir=.
4079 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4080 done
4081 IFS=$as_save_IFS
4084 esac
4085 # We did not find ourselves, most probably we were run as `sh COMMAND'
4086 # in which case we are not to be found in the path.
4087 if test "x$as_myself" = x; then
4088 as_myself=$0
4090 if test ! -f "$as_myself"; then
4091 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4092 { (exit 1); exit 1; }
4095 # Work around bugs in pre-3.0 UWIN ksh.
4096 for as_var in ENV MAIL MAILPATH
4097 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4098 done
4099 PS1='$ '
4100 PS2='> '
4101 PS4='+ '
4103 # NLS nuisances.
4104 for as_var in \
4105 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4106 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4107 LC_TELEPHONE LC_TIME
4109 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4110 eval $as_var=C; export $as_var
4111 else
4112 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4114 done
4116 # Required to use basename.
4117 if expr a : '\(a\)' >/dev/null 2>&1 &&
4118 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4119 as_expr=expr
4120 else
4121 as_expr=false
4124 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4125 as_basename=basename
4126 else
4127 as_basename=false
4131 # Name of the executable.
4132 as_me=`$as_basename -- "$0" ||
4133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4134 X"$0" : 'X\(//\)$' \| \
4135 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4136 echo X/"$0" |
4137 sed '/^.*\/\([^/][^/]*\)\/*$/{
4138 s//\1/
4141 /^X\/\(\/\/\)$/{
4142 s//\1/
4145 /^X\/\(\/\).*/{
4146 s//\1/
4149 s/.*/./; q'`
4151 # CDPATH.
4152 $as_unset CDPATH
4156 as_lineno_1=$LINENO
4157 as_lineno_2=$LINENO
4158 test "x$as_lineno_1" != "x$as_lineno_2" &&
4159 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4161 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4162 # uniformly replaced by the line number. The first 'sed' inserts a
4163 # line-number line after each line using $LINENO; the second 'sed'
4164 # does the real work. The second script uses 'N' to pair each
4165 # line-number line with the line containing $LINENO, and appends
4166 # trailing '-' during substitution so that $LINENO is not a special
4167 # case at line end.
4168 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4169 # scripts with optimization help from Paolo Bonzini. Blame Lee
4170 # E. McMahon (1931-1989) for sed's syntax. :-)
4171 sed -n '
4173 /[$]LINENO/=
4174 ' <$as_myself |
4175 sed '
4176 s/[$]LINENO.*/&-/
4177 t lineno
4179 :lineno
4181 :loop
4182 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4183 t loop
4184 s/-\n.*//
4185 ' >$as_me.lineno &&
4186 chmod +x "$as_me.lineno" ||
4187 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4188 { (exit 1); exit 1; }; }
4190 # Don't try to exec as it changes $[0], causing all sort of problems
4191 # (the dirname of $[0] is not the place where we might find the
4192 # original and so on. Autoconf is especially sensitive to this).
4193 . "./$as_me.lineno"
4194 # Exit status is that of the last command.
4195 exit
4199 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4200 as_dirname=dirname
4201 else
4202 as_dirname=false
4205 ECHO_C= ECHO_N= ECHO_T=
4206 case `echo -n x` in
4207 -n*)
4208 case `echo 'x\c'` in
4209 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4210 *) ECHO_C='\c';;
4211 esac;;
4213 ECHO_N='-n';;
4214 esac
4216 if expr a : '\(a\)' >/dev/null 2>&1 &&
4217 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4218 as_expr=expr
4219 else
4220 as_expr=false
4223 rm -f conf$$ conf$$.exe conf$$.file
4224 if test -d conf$$.dir; then
4225 rm -f conf$$.dir/conf$$.file
4226 else
4227 rm -f conf$$.dir
4228 mkdir conf$$.dir
4230 echo >conf$$.file
4231 if ln -s conf$$.file conf$$ 2>/dev/null; then
4232 as_ln_s='ln -s'
4233 # ... but there are two gotchas:
4234 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4235 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4236 # In both cases, we have to default to `cp -p'.
4237 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4238 as_ln_s='cp -p'
4239 elif ln conf$$.file conf$$ 2>/dev/null; then
4240 as_ln_s=ln
4241 else
4242 as_ln_s='cp -p'
4244 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4245 rmdir conf$$.dir 2>/dev/null
4247 if mkdir -p . 2>/dev/null; then
4248 as_mkdir_p=:
4249 else
4250 test -d ./-p && rmdir ./-p
4251 as_mkdir_p=false
4254 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
4255 # systems may use methods other than mode bits to determine executability.
4256 cat >conf$$.file <<_ASEOF
4257 #! /bin/sh
4258 exit 0
4259 _ASEOF
4260 chmod +x conf$$.file
4261 if test -x conf$$.file >/dev/null 2>&1; then
4262 as_executable_p="test -x"
4263 else
4264 as_executable_p=:
4266 rm -f conf$$.file
4268 # Sed expression to map a string onto a valid CPP name.
4269 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4271 # Sed expression to map a string onto a valid variable name.
4272 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4275 exec 6>&1
4277 # Save the log message, to keep $[0] and so on meaningful, and to
4278 # report actual input values of CONFIG_FILES etc. instead of their
4279 # values after options handling.
4280 ac_log="
4281 This file was extended by cluster_expansion $as_me 0.1, which was
4282 generated by GNU Autoconf 2.60. Invocation command line was
4284 CONFIG_FILES = $CONFIG_FILES
4285 CONFIG_HEADERS = $CONFIG_HEADERS
4286 CONFIG_LINKS = $CONFIG_LINKS
4287 CONFIG_COMMANDS = $CONFIG_COMMANDS
4288 $ $0 $@
4290 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4293 _ACEOF
4295 cat >>$CONFIG_STATUS <<_ACEOF
4296 # Files that config.status was made for.
4297 config_files="$ac_config_files"
4298 config_headers="$ac_config_headers"
4299 config_commands="$ac_config_commands"
4301 _ACEOF
4303 cat >>$CONFIG_STATUS <<\_ACEOF
4304 ac_cs_usage="\
4305 \`$as_me' instantiates files from templates according to the
4306 current configuration.
4308 Usage: $0 [OPTIONS] [FILE]...
4310 -h, --help print this help, then exit
4311 -V, --version print version number, then exit
4312 -q, --quiet do not print progress messages
4313 -d, --debug don't remove temporary files
4314 --recheck update $as_me by reconfiguring in the same conditions
4315 --file=FILE[:TEMPLATE]
4316 instantiate the configuration file FILE
4317 --header=FILE[:TEMPLATE]
4318 instantiate the configuration header FILE
4320 Configuration files:
4321 $config_files
4323 Configuration headers:
4324 $config_headers
4326 Configuration commands:
4327 $config_commands
4329 Report bugs to <bug-autoconf@gnu.org>."
4331 _ACEOF
4332 cat >>$CONFIG_STATUS <<_ACEOF
4333 ac_cs_version="\\
4334 cluster_expansion config.status 0.1
4335 configured by $0, generated by GNU Autoconf 2.60,
4336 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4338 Copyright (C) 2006 Free Software Foundation, Inc.
4339 This config.status script is free software; the Free Software Foundation
4340 gives unlimited permission to copy, distribute and modify it."
4342 ac_pwd='$ac_pwd'
4343 srcdir='$srcdir'
4344 INSTALL='$INSTALL'
4345 MKDIR_P='$MKDIR_P'
4346 _ACEOF
4348 cat >>$CONFIG_STATUS <<\_ACEOF
4349 # If no file are specified by the user, then we need to provide default
4350 # value. By we need to know if files were specified by the user.
4351 ac_need_defaults=:
4352 while test $# != 0
4354 case $1 in
4355 --*=*)
4356 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4357 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4358 ac_shift=:
4361 ac_option=$1
4362 ac_optarg=$2
4363 ac_shift=shift
4365 esac
4367 case $ac_option in
4368 # Handling of the options.
4369 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4370 ac_cs_recheck=: ;;
4371 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4372 echo "$ac_cs_version"; exit ;;
4373 --debug | --debu | --deb | --de | --d | -d )
4374 debug=: ;;
4375 --file | --fil | --fi | --f )
4376 $ac_shift
4377 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4378 ac_need_defaults=false;;
4379 --header | --heade | --head | --hea )
4380 $ac_shift
4381 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4382 ac_need_defaults=false;;
4383 --he | --h)
4384 # Conflict between --help and --header
4385 { echo "$as_me: error: ambiguous option: $1
4386 Try \`$0 --help' for more information." >&2
4387 { (exit 1); exit 1; }; };;
4388 --help | --hel | -h )
4389 echo "$ac_cs_usage"; exit ;;
4390 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4391 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4392 ac_cs_silent=: ;;
4394 # This is an error.
4395 -*) { echo "$as_me: error: unrecognized option: $1
4396 Try \`$0 --help' for more information." >&2
4397 { (exit 1); exit 1; }; } ;;
4399 *) ac_config_targets="$ac_config_targets $1"
4400 ac_need_defaults=false ;;
4402 esac
4403 shift
4404 done
4406 ac_configure_extra_args=
4408 if $ac_cs_silent; then
4409 exec 6>/dev/null
4410 ac_configure_extra_args="$ac_configure_extra_args --silent"
4413 _ACEOF
4414 cat >>$CONFIG_STATUS <<_ACEOF
4415 if \$ac_cs_recheck; then
4416 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4417 CONFIG_SHELL=$SHELL
4418 export CONFIG_SHELL
4419 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4422 _ACEOF
4423 cat >>$CONFIG_STATUS <<\_ACEOF
4424 exec 5>>config.log
4426 echo
4427 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4428 ## Running $as_me. ##
4429 _ASBOX
4430 echo "$ac_log"
4431 } >&5
4433 _ACEOF
4434 cat >>$CONFIG_STATUS <<_ACEOF
4436 # INIT-COMMANDS
4438 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4440 _ACEOF
4442 cat >>$CONFIG_STATUS <<\_ACEOF
4444 # Handling of arguments.
4445 for ac_config_target in $ac_config_targets
4447 case $ac_config_target in
4448 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4449 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4450 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4452 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4453 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4454 { (exit 1); exit 1; }; };;
4455 esac
4456 done
4459 # If the user did not use the arguments to specify the items to instantiate,
4460 # then the envvar interface is used. Set only those that are not.
4461 # We use the long form for the default assignment because of an extremely
4462 # bizarre bug on SunOS 4.1.3.
4463 if $ac_need_defaults; then
4464 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4465 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4466 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4469 # Have a temporary directory for convenience. Make it in the build tree
4470 # simply because there is no reason against having it here, and in addition,
4471 # creating and moving files from /tmp can sometimes cause problems.
4472 # Hook for its removal unless debugging.
4473 # Note that there is a small window in which the directory will not be cleaned:
4474 # after its creation but before its name has been assigned to `$tmp'.
4475 $debug ||
4477 tmp=
4478 trap 'exit_status=$?
4479 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4481 trap '{ (exit 1); exit 1; }' 1 2 13 15
4483 # Create a (secure) tmp directory for tmp files.
4486 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4487 test -n "$tmp" && test -d "$tmp"
4488 } ||
4490 tmp=./conf$$-$RANDOM
4491 (umask 077 && mkdir "$tmp")
4492 } ||
4494 echo "$me: cannot create a temporary directory in ." >&2
4495 { (exit 1); exit 1; }
4499 # Set up the sed scripts for CONFIG_FILES section.
4502 # No need to generate the scripts if there are no CONFIG_FILES.
4503 # This happens for instance when ./config.status config.h
4504 if test -n "$CONFIG_FILES"; then
4506 _ACEOF
4510 ac_delim='%!_!# '
4511 for ac_last_try in false false false false false :; do
4512 cat >conf$$subs.sed <<_ACEOF
4513 SHELL!$SHELL$ac_delim
4514 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4515 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4516 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4517 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4518 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4519 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4520 exec_prefix!$exec_prefix$ac_delim
4521 prefix!$prefix$ac_delim
4522 program_transform_name!$program_transform_name$ac_delim
4523 bindir!$bindir$ac_delim
4524 sbindir!$sbindir$ac_delim
4525 libexecdir!$libexecdir$ac_delim
4526 datarootdir!$datarootdir$ac_delim
4527 datadir!$datadir$ac_delim
4528 sysconfdir!$sysconfdir$ac_delim
4529 sharedstatedir!$sharedstatedir$ac_delim
4530 localstatedir!$localstatedir$ac_delim
4531 includedir!$includedir$ac_delim
4532 oldincludedir!$oldincludedir$ac_delim
4533 docdir!$docdir$ac_delim
4534 infodir!$infodir$ac_delim
4535 htmldir!$htmldir$ac_delim
4536 dvidir!$dvidir$ac_delim
4537 pdfdir!$pdfdir$ac_delim
4538 psdir!$psdir$ac_delim
4539 libdir!$libdir$ac_delim
4540 localedir!$localedir$ac_delim
4541 mandir!$mandir$ac_delim
4542 DEFS!$DEFS$ac_delim
4543 ECHO_C!$ECHO_C$ac_delim
4544 ECHO_N!$ECHO_N$ac_delim
4545 ECHO_T!$ECHO_T$ac_delim
4546 LIBS!$LIBS$ac_delim
4547 build_alias!$build_alias$ac_delim
4548 host_alias!$host_alias$ac_delim
4549 target_alias!$target_alias$ac_delim
4550 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4551 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4552 INSTALL_DATA!$INSTALL_DATA$ac_delim
4553 am__isrc!$am__isrc$ac_delim
4554 CYGPATH_W!$CYGPATH_W$ac_delim
4555 PACKAGE!$PACKAGE$ac_delim
4556 VERSION!$VERSION$ac_delim
4557 ACLOCAL!$ACLOCAL$ac_delim
4558 AUTOCONF!$AUTOCONF$ac_delim
4559 AUTOMAKE!$AUTOMAKE$ac_delim
4560 AUTOHEADER!$AUTOHEADER$ac_delim
4561 MAKEINFO!$MAKEINFO$ac_delim
4562 install_sh!$install_sh$ac_delim
4563 STRIP!$STRIP$ac_delim
4564 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4565 mkdir_p!$mkdir_p$ac_delim
4566 AWK!$AWK$ac_delim
4567 SET_MAKE!$SET_MAKE$ac_delim
4568 am__leading_dot!$am__leading_dot$ac_delim
4569 AMTAR!$AMTAR$ac_delim
4570 am__tar!$am__tar$ac_delim
4571 am__untar!$am__untar$ac_delim
4572 CC!$CC$ac_delim
4573 CFLAGS!$CFLAGS$ac_delim
4574 LDFLAGS!$LDFLAGS$ac_delim
4575 CPPFLAGS!$CPPFLAGS$ac_delim
4576 ac_ct_CC!$ac_ct_CC$ac_delim
4577 EXEEXT!$EXEEXT$ac_delim
4578 OBJEXT!$OBJEXT$ac_delim
4579 DEPDIR!$DEPDIR$ac_delim
4580 am__include!$am__include$ac_delim
4581 am__quote!$am__quote$ac_delim
4582 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4583 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4584 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4585 CCDEPMODE!$CCDEPMODE$ac_delim
4586 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4587 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4588 CXX!$CXX$ac_delim
4589 CXXFLAGS!$CXXFLAGS$ac_delim
4590 ac_ct_CXX!$ac_ct_CXX$ac_delim
4591 CXXDEPMODE!$CXXDEPMODE$ac_delim
4592 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
4593 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
4594 LIBOBJS!$LIBOBJS$ac_delim
4595 LTLIBOBJS!$LTLIBOBJS$ac_delim
4596 _ACEOF
4598 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then
4599 break
4600 elif $ac_last_try; then
4601 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4602 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4603 { (exit 1); exit 1; }; }
4604 else
4605 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4607 done
4609 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4610 if test -n "$ac_eof"; then
4611 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4612 ac_eof=`expr $ac_eof + 1`
4615 cat >>$CONFIG_STATUS <<_ACEOF
4616 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4617 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4618 _ACEOF
4619 sed '
4620 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4621 s/^/s,@/; s/!/@,|#_!!_#|/
4624 s/'"$ac_delim"'$/,g/; t
4625 s/$/\\/; p
4626 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4627 ' >>$CONFIG_STATUS <conf$$subs.sed
4628 rm -f conf$$subs.sed
4629 cat >>$CONFIG_STATUS <<_ACEOF
4630 :end
4631 s/|#_!!_#|//g
4632 CEOF$ac_eof
4633 _ACEOF
4636 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4637 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4638 # trailing colons and then remove the whole line if VPATH becomes empty
4639 # (actually we leave an empty line to preserve line numbers).
4640 if test "x$srcdir" = x.; then
4641 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4642 s/:*\$(srcdir):*/:/
4643 s/:*\${srcdir}:*/:/
4644 s/:*@srcdir@:*/:/
4645 s/^\([^=]*=[ ]*\):*/\1/
4646 s/:*$//
4647 s/^[^=]*=[ ]*$//
4651 cat >>$CONFIG_STATUS <<\_ACEOF
4652 fi # test -n "$CONFIG_FILES"
4655 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
4657 case $ac_tag in
4658 :[FHLC]) ac_mode=$ac_tag; continue;;
4659 esac
4660 case $ac_mode$ac_tag in
4661 :[FHL]*:*);;
4662 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4663 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4664 { (exit 1); exit 1; }; };;
4665 :[FH]-) ac_tag=-:-;;
4666 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4667 esac
4668 ac_save_IFS=$IFS
4669 IFS=:
4670 set x $ac_tag
4671 IFS=$ac_save_IFS
4672 shift
4673 ac_file=$1
4674 shift
4676 case $ac_mode in
4677 :L) ac_source=$1;;
4678 :[FH])
4679 ac_file_inputs=
4680 for ac_f
4682 case $ac_f in
4683 -) ac_f="$tmp/stdin";;
4684 *) # Look for the file first in the build tree, then in the source tree
4685 # (if the path is not absolute). The absolute path cannot be DOS-style,
4686 # because $ac_f cannot contain `:'.
4687 test -f "$ac_f" ||
4688 case $ac_f in
4689 [\\/$]*) false;;
4690 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4691 esac ||
4692 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4693 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4694 { (exit 1); exit 1; }; };;
4695 esac
4696 ac_file_inputs="$ac_file_inputs $ac_f"
4697 done
4699 # Let's still pretend it is `configure' which instantiates (i.e., don't
4700 # use $as_me), people would be surprised to read:
4701 # /* config.h. Generated by config.status. */
4702 configure_input="Generated from "`IFS=:
4703 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4704 if test x"$ac_file" != x-; then
4705 configure_input="$ac_file. $configure_input"
4706 { echo "$as_me:$LINENO: creating $ac_file" >&5
4707 echo "$as_me: creating $ac_file" >&6;}
4710 case $ac_tag in
4711 *:-:* | *:-) cat >"$tmp/stdin";;
4712 esac
4714 esac
4716 ac_dir=`$as_dirname -- "$ac_file" ||
4717 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4718 X"$ac_file" : 'X\(//\)[^/]' \| \
4719 X"$ac_file" : 'X\(//\)$' \| \
4720 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4721 echo X"$ac_file" |
4722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4723 s//\1/
4726 /^X\(\/\/\)[^/].*/{
4727 s//\1/
4730 /^X\(\/\/\)$/{
4731 s//\1/
4734 /^X\(\/\).*/{
4735 s//\1/
4738 s/.*/./; q'`
4739 { as_dir="$ac_dir"
4740 case $as_dir in #(
4741 -*) as_dir=./$as_dir;;
4742 esac
4743 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4744 as_dirs=
4745 while :; do
4746 case $as_dir in #(
4747 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4748 *) as_qdir=$as_dir;;
4749 esac
4750 as_dirs="'$as_qdir' $as_dirs"
4751 as_dir=`$as_dirname -- "$as_dir" ||
4752 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4753 X"$as_dir" : 'X\(//\)[^/]' \| \
4754 X"$as_dir" : 'X\(//\)$' \| \
4755 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4756 echo X"$as_dir" |
4757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4758 s//\1/
4761 /^X\(\/\/\)[^/].*/{
4762 s//\1/
4765 /^X\(\/\/\)$/{
4766 s//\1/
4769 /^X\(\/\).*/{
4770 s//\1/
4773 s/.*/./; q'`
4774 test -d "$as_dir" && break
4775 done
4776 test -z "$as_dirs" || eval "mkdir $as_dirs"
4777 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4778 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4779 { (exit 1); exit 1; }; }; }
4780 ac_builddir=.
4782 case "$ac_dir" in
4783 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4785 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4786 # A ".." for each directory in $ac_dir_suffix.
4787 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4788 case $ac_top_builddir_sub in
4789 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4790 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4791 esac ;;
4792 esac
4793 ac_abs_top_builddir=$ac_pwd
4794 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4795 # for backward compatibility:
4796 ac_top_builddir=$ac_top_build_prefix
4798 case $srcdir in
4799 .) # We are building in place.
4800 ac_srcdir=.
4801 ac_top_srcdir=$ac_top_builddir_sub
4802 ac_abs_top_srcdir=$ac_pwd ;;
4803 [\\/]* | ?:[\\/]* ) # Absolute name.
4804 ac_srcdir=$srcdir$ac_dir_suffix;
4805 ac_top_srcdir=$srcdir
4806 ac_abs_top_srcdir=$srcdir ;;
4807 *) # Relative name.
4808 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4809 ac_top_srcdir=$ac_top_build_prefix$srcdir
4810 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4811 esac
4812 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4815 case $ac_mode in
4818 # CONFIG_FILE
4821 case $INSTALL in
4822 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4823 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4824 esac
4825 ac_MKDIR_P=$MKDIR_P
4826 case $MKDIR_P in
4827 [\\/$]* | ?:[\\/]* ) ;;
4828 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4829 esac
4830 _ACEOF
4832 cat >>$CONFIG_STATUS <<\_ACEOF
4833 # If the template does not know about datarootdir, expand it.
4834 # FIXME: This hack should be removed a few years after 2.60.
4835 ac_datarootdir_hack=; ac_datarootdir_seen=
4837 case `sed -n '/datarootdir/ {
4841 /@datadir@/p
4842 /@docdir@/p
4843 /@infodir@/p
4844 /@localedir@/p
4845 /@mandir@/p
4846 ' $ac_file_inputs` in
4847 *datarootdir*) ac_datarootdir_seen=yes;;
4848 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4849 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4850 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4851 _ACEOF
4852 cat >>$CONFIG_STATUS <<_ACEOF
4853 ac_datarootdir_hack='
4854 s&@datadir@&$datadir&g
4855 s&@docdir@&$docdir&g
4856 s&@infodir@&$infodir&g
4857 s&@localedir@&$localedir&g
4858 s&@mandir@&$mandir&g
4859 s&\\\${datarootdir}&$datarootdir&g' ;;
4860 esac
4861 _ACEOF
4863 # Neutralize VPATH when `$srcdir' = `.'.
4864 # Shell code in configure.ac might set extrasub.
4865 # FIXME: do we really want to maintain this feature?
4866 cat >>$CONFIG_STATUS <<_ACEOF
4867 sed "$ac_vpsub
4868 $extrasub
4869 _ACEOF
4870 cat >>$CONFIG_STATUS <<\_ACEOF
4872 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4873 s&@configure_input@&$configure_input&;t t
4874 s&@top_builddir@&$ac_top_builddir_sub&;t t
4875 s&@srcdir@&$ac_srcdir&;t t
4876 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4877 s&@top_srcdir@&$ac_top_srcdir&;t t
4878 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4879 s&@builddir@&$ac_builddir&;t t
4880 s&@abs_builddir@&$ac_abs_builddir&;t t
4881 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4882 s&@INSTALL@&$ac_INSTALL&;t t
4883 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4884 $ac_datarootdir_hack
4885 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4887 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4888 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4889 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4890 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4891 which seems to be undefined. Please make sure it is defined." >&5
4892 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4893 which seems to be undefined. Please make sure it is defined." >&2;}
4895 rm -f "$tmp/stdin"
4896 case $ac_file in
4897 -) cat "$tmp/out"; rm -f "$tmp/out";;
4898 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4899 esac
4903 # CONFIG_HEADER
4905 _ACEOF
4907 # Transform confdefs.h into a sed script `conftest.defines', that
4908 # substitutes the proper values into config.h.in to produce config.h.
4909 rm -f conftest.defines conftest.tail
4910 # First, append a space to every undef/define line, to ease matching.
4911 echo 's/$/ /' >conftest.defines
4912 # Then, protect against being on the right side of a sed subst, or in
4913 # an unquoted here document, in config.status. If some macros were
4914 # called several times there might be several #defines for the same
4915 # symbol, which is useless. But do not sort them, since the last
4916 # AC_DEFINE must be honored.
4917 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4918 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
4919 # NAME is the cpp macro being defined, VALUE is the value it is being given.
4920 # PARAMS is the parameter list in the macro definition--in most cases, it's
4921 # just an empty string.
4922 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
4923 ac_dB='\\)[ (].*,\\1define\\2'
4924 ac_dC=' '
4925 ac_dD=' ,'
4927 uniq confdefs.h |
4928 sed -n '
4929 t rset
4930 :rset
4931 s/^[ ]*#[ ]*define[ ][ ]*//
4932 t ok
4935 s/[\\&,]/\\&/g
4936 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
4937 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
4938 ' >>conftest.defines
4940 # Remove the space that was appended to ease matching.
4941 # Then replace #undef with comments. This is necessary, for
4942 # example, in the case of _POSIX_SOURCE, which is predefined and required
4943 # on some systems where configure will not decide to define it.
4944 # (The regexp can be short, since the line contains either #define or #undef.)
4945 echo 's/ $//
4946 s,^[ #]*u.*,/* & */,' >>conftest.defines
4948 # Break up conftest.defines:
4949 ac_max_sed_lines=50
4951 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
4952 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
4953 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4954 # et cetera.
4955 ac_in='$ac_file_inputs'
4956 ac_out='"$tmp/out1"'
4957 ac_nxt='"$tmp/out2"'
4959 while :
4961 # Write a here document:
4962 cat >>$CONFIG_STATUS <<_ACEOF
4963 # First, check the format of the line:
4964 cat >"\$tmp/defines.sed" <<\\CEOF
4965 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
4966 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
4968 :def
4969 _ACEOF
4970 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
4971 echo 'CEOF
4972 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
4973 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
4974 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
4975 grep . conftest.tail >/dev/null || break
4976 rm -f conftest.defines
4977 mv conftest.tail conftest.defines
4978 done
4979 rm -f conftest.defines conftest.tail
4981 echo "ac_result=$ac_in" >>$CONFIG_STATUS
4982 cat >>$CONFIG_STATUS <<\_ACEOF
4983 if test x"$ac_file" != x-; then
4984 echo "/* $configure_input */" >"$tmp/config.h"
4985 cat "$ac_result" >>"$tmp/config.h"
4986 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
4987 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4988 echo "$as_me: $ac_file is unchanged" >&6;}
4989 else
4990 rm -f $ac_file
4991 mv "$tmp/config.h" $ac_file
4993 else
4994 echo "/* $configure_input */"
4995 cat "$ac_result"
4997 rm -f "$tmp/out12"
4998 # Compute $ac_file's index in $config_headers.
4999 _am_arg=$ac_file
5000 _am_stamp_count=1
5001 for _am_header in $config_headers :; do
5002 case $_am_header in
5003 $_am_arg | $_am_arg:* )
5004 break ;;
5006 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5007 esac
5008 done
5009 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5010 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5011 X"$_am_arg" : 'X\(//\)[^/]' \| \
5012 X"$_am_arg" : 'X\(//\)$' \| \
5013 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5014 echo X"$_am_arg" |
5015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5016 s//\1/
5019 /^X\(\/\/\)[^/].*/{
5020 s//\1/
5023 /^X\(\/\/\)$/{
5024 s//\1/
5027 /^X\(\/\).*/{
5028 s//\1/
5031 s/.*/./; q'`/stamp-h$_am_stamp_count
5034 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5035 echo "$as_me: executing $ac_file commands" >&6;}
5037 esac
5040 case $ac_file$ac_mode in
5041 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5042 # Strip MF so we end up with the name of the file.
5043 mf=`echo "$mf" | sed -e 's/:.*$//'`
5044 # Check whether this is an Automake generated Makefile or not.
5045 # We used to match only the files named `Makefile.in', but
5046 # some people rename them; so instead we look at the file content.
5047 # Grep'ing the first line is not enough: some people post-process
5048 # each Makefile.in and add a new line on top of each file to say so.
5049 # Grep'ing the whole file is not good either: AIX grep has a line
5050 # limit of 2048, but all sed's we know have understand at least 4000.
5051 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5052 dirpart=`$as_dirname -- "$mf" ||
5053 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5054 X"$mf" : 'X\(//\)[^/]' \| \
5055 X"$mf" : 'X\(//\)$' \| \
5056 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5057 echo X"$mf" |
5058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5059 s//\1/
5062 /^X\(\/\/\)[^/].*/{
5063 s//\1/
5066 /^X\(\/\/\)$/{
5067 s//\1/
5070 /^X\(\/\).*/{
5071 s//\1/
5074 s/.*/./; q'`
5075 else
5076 continue
5078 # Extract the definition of DEPDIR, am__include, and am__quote
5079 # from the Makefile without running `make'.
5080 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5081 test -z "$DEPDIR" && continue
5082 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5083 test -z "am__include" && continue
5084 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5085 # When using ansi2knr, U may be empty or an underscore; expand it
5086 U=`sed -n 's/^U = //p' < "$mf"`
5087 # Find all dependency output files, they are included files with
5088 # $(DEPDIR) in their names. We invoke sed twice because it is the
5089 # simplest approach to changing $(DEPDIR) to its actual value in the
5090 # expansion.
5091 for file in `sed -n "
5092 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5093 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5094 # Make sure the directory exists.
5095 test -f "$dirpart/$file" && continue
5096 fdir=`$as_dirname -- "$file" ||
5097 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5098 X"$file" : 'X\(//\)[^/]' \| \
5099 X"$file" : 'X\(//\)$' \| \
5100 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5101 echo X"$file" |
5102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5103 s//\1/
5106 /^X\(\/\/\)[^/].*/{
5107 s//\1/
5110 /^X\(\/\/\)$/{
5111 s//\1/
5114 /^X\(\/\).*/{
5115 s//\1/
5118 s/.*/./; q'`
5119 { as_dir=$dirpart/$fdir
5120 case $as_dir in #(
5121 -*) as_dir=./$as_dir;;
5122 esac
5123 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5124 as_dirs=
5125 while :; do
5126 case $as_dir in #(
5127 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5128 *) as_qdir=$as_dir;;
5129 esac
5130 as_dirs="'$as_qdir' $as_dirs"
5131 as_dir=`$as_dirname -- "$as_dir" ||
5132 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5133 X"$as_dir" : 'X\(//\)[^/]' \| \
5134 X"$as_dir" : 'X\(//\)$' \| \
5135 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5136 echo X"$as_dir" |
5137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5138 s//\1/
5141 /^X\(\/\/\)[^/].*/{
5142 s//\1/
5145 /^X\(\/\/\)$/{
5146 s//\1/
5149 /^X\(\/\).*/{
5150 s//\1/
5153 s/.*/./; q'`
5154 test -d "$as_dir" && break
5155 done
5156 test -z "$as_dirs" || eval "mkdir $as_dirs"
5157 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5158 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5159 { (exit 1); exit 1; }; }; }
5160 # echo "creating $dirpart/$file"
5161 echo '# dummy' > "$dirpart/$file"
5162 done
5163 done
5166 esac
5167 done # for ac_tag
5170 { (exit 0); exit 0; }
5171 _ACEOF
5172 chmod +x $CONFIG_STATUS
5173 ac_clean_files=$ac_clean_files_save
5176 # configure is writing to config.log, and then calls config.status.
5177 # config.status does its own redirection, appending to config.log.
5178 # Unfortunately, on DOS this fails, as config.log is still kept open
5179 # by configure, so config.status won't be able to write to it; its
5180 # output is simply discarded. So we exec the FD to /dev/null,
5181 # effectively closing config.log, so it can be properly (re)opened and
5182 # appended to by config.status. When coming back to configure, we
5183 # need to make the FD available again.
5184 if test "$no_create" != yes; then
5185 ac_cs_success=:
5186 ac_config_status_args=
5187 test "$silent" = yes &&
5188 ac_config_status_args="$ac_config_status_args --quiet"
5189 exec 5>/dev/null
5190 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5191 exec 5>>config.log
5192 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5193 # would make configure fail if this is the last instruction.
5194 $ac_cs_success || { (exit 1); exit 1; }