implementation of getEnergy()
[cluster_expansion.git] / configure
blob4b0854beb5f28ba6a35e2d2462914cfdfa8a4f64
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 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 more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='cluster_expansion'
576 PACKAGE_TARNAME='cluster_expansion'
577 PACKAGE_VERSION='0.1'
578 PACKAGE_STRING='cluster_expansion 0.1'
579 PACKAGE_BUGREPORT='rieger@fhi-berlin.mpg.de'
581 ac_subst_vars='SHELL
582 PATH_SEPARATOR
583 PACKAGE_NAME
584 PACKAGE_TARNAME
585 PACKAGE_VERSION
586 PACKAGE_STRING
587 PACKAGE_BUGREPORT
588 exec_prefix
589 prefix
590 program_transform_name
591 bindir
592 sbindir
593 libexecdir
594 datarootdir
595 datadir
596 sysconfdir
597 sharedstatedir
598 localstatedir
599 includedir
600 oldincludedir
601 docdir
602 infodir
603 htmldir
604 dvidir
605 pdfdir
606 psdir
607 libdir
608 localedir
609 mandir
610 DEFS
611 ECHO_C
612 ECHO_N
613 ECHO_T
614 LIBS
615 build_alias
616 host_alias
617 target_alias
618 INSTALL_PROGRAM
619 INSTALL_SCRIPT
620 INSTALL_DATA
621 am__isrc
622 CYGPATH_W
623 PACKAGE
624 VERSION
625 ACLOCAL
626 AUTOCONF
627 AUTOMAKE
628 AUTOHEADER
629 MAKEINFO
630 install_sh
631 STRIP
632 INSTALL_STRIP_PROGRAM
633 mkdir_p
635 SET_MAKE
636 am__leading_dot
637 AMTAR
638 am__tar
639 am__untar
641 CFLAGS
642 LDFLAGS
643 CPPFLAGS
644 ac_ct_CC
645 EXEEXT
646 OBJEXT
647 DEPDIR
648 am__include
649 am__quote
650 AMDEP_TRUE
651 AMDEP_FALSE
652 AMDEPBACKSLASH
653 CCDEPMODE
654 am__fastdepCC_TRUE
655 am__fastdepCC_FALSE
657 CXXFLAGS
658 ac_ct_CXX
659 CXXDEPMODE
660 am__fastdepCXX_TRUE
661 am__fastdepCXX_FALSE
662 LIBOBJS
663 LTLIBOBJS'
664 ac_subst_files=''
665 ac_precious_vars='build_alias
666 host_alias
667 target_alias
669 CFLAGS
670 LDFLAGS
671 LIBS
672 CPPFLAGS
674 CXXFLAGS
675 CCC'
678 # Initialize some variables set by options.
679 ac_init_help=
680 ac_init_version=false
681 # The variables have the same names as the options, with
682 # dashes changed to underlines.
683 cache_file=/dev/null
684 exec_prefix=NONE
685 no_create=
686 no_recursion=
687 prefix=NONE
688 program_prefix=NONE
689 program_suffix=NONE
690 program_transform_name=s,x,x,
691 silent=
692 site=
693 srcdir=
694 verbose=
695 x_includes=NONE
696 x_libraries=NONE
698 # Installation directory options.
699 # These are left unexpanded so users can "make install exec_prefix=/foo"
700 # and all the variables that are supposed to be based on exec_prefix
701 # by default will actually change.
702 # Use braces instead of parens because sh, perl, etc. also accept them.
703 # (The list follows the same order as the GNU Coding Standards.)
704 bindir='${exec_prefix}/bin'
705 sbindir='${exec_prefix}/sbin'
706 libexecdir='${exec_prefix}/libexec'
707 datarootdir='${prefix}/share'
708 datadir='${datarootdir}'
709 sysconfdir='${prefix}/etc'
710 sharedstatedir='${prefix}/com'
711 localstatedir='${prefix}/var'
712 includedir='${prefix}/include'
713 oldincludedir='/usr/include'
714 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
715 infodir='${datarootdir}/info'
716 htmldir='${docdir}'
717 dvidir='${docdir}'
718 pdfdir='${docdir}'
719 psdir='${docdir}'
720 libdir='${exec_prefix}/lib'
721 localedir='${datarootdir}/locale'
722 mandir='${datarootdir}/man'
724 ac_prev=
725 ac_dashdash=
726 for ac_option
728 # If the previous option needs an argument, assign it.
729 if test -n "$ac_prev"; then
730 eval $ac_prev=\$ac_option
731 ac_prev=
732 continue
735 case $ac_option in
736 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
737 *) ac_optarg=yes ;;
738 esac
740 # Accept the important Cygnus configure options, so we can diagnose typos.
742 case $ac_dashdash$ac_option in
744 ac_dashdash=yes ;;
746 -bindir | --bindir | --bindi | --bind | --bin | --bi)
747 ac_prev=bindir ;;
748 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
749 bindir=$ac_optarg ;;
751 -build | --build | --buil | --bui | --bu)
752 ac_prev=build_alias ;;
753 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
754 build_alias=$ac_optarg ;;
756 -cache-file | --cache-file | --cache-fil | --cache-fi \
757 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
758 ac_prev=cache_file ;;
759 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
760 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
761 cache_file=$ac_optarg ;;
763 --config-cache | -C)
764 cache_file=config.cache ;;
766 -datadir | --datadir | --datadi | --datad)
767 ac_prev=datadir ;;
768 -datadir=* | --datadir=* | --datadi=* | --datad=*)
769 datadir=$ac_optarg ;;
771 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
772 | --dataroo | --dataro | --datar)
773 ac_prev=datarootdir ;;
774 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
775 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
776 datarootdir=$ac_optarg ;;
778 -disable-* | --disable-*)
779 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
780 # Reject names that are not valid shell variable names.
781 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
782 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
783 { (exit 1); exit 1; }; }
784 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
785 eval enable_$ac_feature=no ;;
787 -docdir | --docdir | --docdi | --doc | --do)
788 ac_prev=docdir ;;
789 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
790 docdir=$ac_optarg ;;
792 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
793 ac_prev=dvidir ;;
794 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
795 dvidir=$ac_optarg ;;
797 -enable-* | --enable-*)
798 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
799 # Reject names that are not valid shell variable names.
800 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
801 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
802 { (exit 1); exit 1; }; }
803 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
804 eval enable_$ac_feature=\$ac_optarg ;;
806 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
807 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
808 | --exec | --exe | --ex)
809 ac_prev=exec_prefix ;;
810 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
811 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
812 | --exec=* | --exe=* | --ex=*)
813 exec_prefix=$ac_optarg ;;
815 -gas | --gas | --ga | --g)
816 # Obsolete; use --with-gas.
817 with_gas=yes ;;
819 -help | --help | --hel | --he | -h)
820 ac_init_help=long ;;
821 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
822 ac_init_help=recursive ;;
823 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
824 ac_init_help=short ;;
826 -host | --host | --hos | --ho)
827 ac_prev=host_alias ;;
828 -host=* | --host=* | --hos=* | --ho=*)
829 host_alias=$ac_optarg ;;
831 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
832 ac_prev=htmldir ;;
833 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
834 | --ht=*)
835 htmldir=$ac_optarg ;;
837 -includedir | --includedir | --includedi | --included | --include \
838 | --includ | --inclu | --incl | --inc)
839 ac_prev=includedir ;;
840 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
841 | --includ=* | --inclu=* | --incl=* | --inc=*)
842 includedir=$ac_optarg ;;
844 -infodir | --infodir | --infodi | --infod | --info | --inf)
845 ac_prev=infodir ;;
846 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
847 infodir=$ac_optarg ;;
849 -libdir | --libdir | --libdi | --libd)
850 ac_prev=libdir ;;
851 -libdir=* | --libdir=* | --libdi=* | --libd=*)
852 libdir=$ac_optarg ;;
854 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
855 | --libexe | --libex | --libe)
856 ac_prev=libexecdir ;;
857 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
858 | --libexe=* | --libex=* | --libe=*)
859 libexecdir=$ac_optarg ;;
861 -localedir | --localedir | --localedi | --localed | --locale)
862 ac_prev=localedir ;;
863 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
864 localedir=$ac_optarg ;;
866 -localstatedir | --localstatedir | --localstatedi | --localstated \
867 | --localstate | --localstat | --localsta | --localst | --locals)
868 ac_prev=localstatedir ;;
869 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
870 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
871 localstatedir=$ac_optarg ;;
873 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
874 ac_prev=mandir ;;
875 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
876 mandir=$ac_optarg ;;
878 -nfp | --nfp | --nf)
879 # Obsolete; use --without-fp.
880 with_fp=no ;;
882 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
883 | --no-cr | --no-c | -n)
884 no_create=yes ;;
886 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
887 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
888 no_recursion=yes ;;
890 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
891 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
892 | --oldin | --oldi | --old | --ol | --o)
893 ac_prev=oldincludedir ;;
894 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
895 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
896 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
897 oldincludedir=$ac_optarg ;;
899 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
900 ac_prev=prefix ;;
901 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
902 prefix=$ac_optarg ;;
904 -program-prefix | --program-prefix | --program-prefi | --program-pref \
905 | --program-pre | --program-pr | --program-p)
906 ac_prev=program_prefix ;;
907 -program-prefix=* | --program-prefix=* | --program-prefi=* \
908 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
909 program_prefix=$ac_optarg ;;
911 -program-suffix | --program-suffix | --program-suffi | --program-suff \
912 | --program-suf | --program-su | --program-s)
913 ac_prev=program_suffix ;;
914 -program-suffix=* | --program-suffix=* | --program-suffi=* \
915 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
916 program_suffix=$ac_optarg ;;
918 -program-transform-name | --program-transform-name \
919 | --program-transform-nam | --program-transform-na \
920 | --program-transform-n | --program-transform- \
921 | --program-transform | --program-transfor \
922 | --program-transfo | --program-transf \
923 | --program-trans | --program-tran \
924 | --progr-tra | --program-tr | --program-t)
925 ac_prev=program_transform_name ;;
926 -program-transform-name=* | --program-transform-name=* \
927 | --program-transform-nam=* | --program-transform-na=* \
928 | --program-transform-n=* | --program-transform-=* \
929 | --program-transform=* | --program-transfor=* \
930 | --program-transfo=* | --program-transf=* \
931 | --program-trans=* | --program-tran=* \
932 | --progr-tra=* | --program-tr=* | --program-t=*)
933 program_transform_name=$ac_optarg ;;
935 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
936 ac_prev=pdfdir ;;
937 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
938 pdfdir=$ac_optarg ;;
940 -psdir | --psdir | --psdi | --psd | --ps)
941 ac_prev=psdir ;;
942 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
943 psdir=$ac_optarg ;;
945 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
946 | -silent | --silent | --silen | --sile | --sil)
947 silent=yes ;;
949 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
950 ac_prev=sbindir ;;
951 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
952 | --sbi=* | --sb=*)
953 sbindir=$ac_optarg ;;
955 -sharedstatedir | --sharedstatedir | --sharedstatedi \
956 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
957 | --sharedst | --shareds | --shared | --share | --shar \
958 | --sha | --sh)
959 ac_prev=sharedstatedir ;;
960 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
961 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
962 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
963 | --sha=* | --sh=*)
964 sharedstatedir=$ac_optarg ;;
966 -site | --site | --sit)
967 ac_prev=site ;;
968 -site=* | --site=* | --sit=*)
969 site=$ac_optarg ;;
971 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
972 ac_prev=srcdir ;;
973 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
974 srcdir=$ac_optarg ;;
976 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
977 | --syscon | --sysco | --sysc | --sys | --sy)
978 ac_prev=sysconfdir ;;
979 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
980 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
981 sysconfdir=$ac_optarg ;;
983 -target | --target | --targe | --targ | --tar | --ta | --t)
984 ac_prev=target_alias ;;
985 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
986 target_alias=$ac_optarg ;;
988 -v | -verbose | --verbose | --verbos | --verbo | --verb)
989 verbose=yes ;;
991 -version | --version | --versio | --versi | --vers | -V)
992 ac_init_version=: ;;
994 -with-* | --with-*)
995 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
998 { echo "$as_me: error: invalid package name: $ac_package" >&2
999 { (exit 1); exit 1; }; }
1000 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1001 eval with_$ac_package=\$ac_optarg ;;
1003 -without-* | --without-*)
1004 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1005 # Reject names that are not valid shell variable names.
1006 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1007 { echo "$as_me: error: invalid package name: $ac_package" >&2
1008 { (exit 1); exit 1; }; }
1009 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1010 eval with_$ac_package=no ;;
1012 --x)
1013 # Obsolete; use --with-x.
1014 with_x=yes ;;
1016 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1017 | --x-incl | --x-inc | --x-in | --x-i)
1018 ac_prev=x_includes ;;
1019 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1020 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1021 x_includes=$ac_optarg ;;
1023 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1024 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1025 ac_prev=x_libraries ;;
1026 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1027 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1028 x_libraries=$ac_optarg ;;
1030 -*) { echo "$as_me: error: unrecognized option: $ac_option
1031 Try \`$0 --help' for more information." >&2
1032 { (exit 1); exit 1; }; }
1035 *=*)
1036 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1039 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1040 { (exit 1); exit 1; }; }
1041 eval $ac_envvar=\$ac_optarg
1042 export $ac_envvar ;;
1045 # FIXME: should be removed in autoconf 3.0.
1046 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1047 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1048 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1049 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1052 esac
1053 done
1055 if test -n "$ac_prev"; then
1056 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1057 { echo "$as_me: error: missing argument to $ac_option" >&2
1058 { (exit 1); exit 1; }; }
1061 # Be sure to have absolute directory names.
1062 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1063 datadir sysconfdir sharedstatedir localstatedir includedir \
1064 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1065 libdir localedir mandir
1067 eval ac_val=\$$ac_var
1068 case $ac_val in
1069 [\\/$]* | ?:[\\/]* ) continue;;
1070 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1071 esac
1072 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1073 { (exit 1); exit 1; }; }
1074 done
1076 # There might be people who depend on the old broken behavior: `$host'
1077 # used to hold the argument of --host etc.
1078 # FIXME: To remove some day.
1079 build=$build_alias
1080 host=$host_alias
1081 target=$target_alias
1083 # FIXME: To remove some day.
1084 if test "x$host_alias" != x; then
1085 if test "x$build_alias" = x; then
1086 cross_compiling=maybe
1087 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1088 If a cross compiler is detected then cross compile mode will be used." >&2
1089 elif test "x$build_alias" != "x$host_alias"; then
1090 cross_compiling=yes
1094 ac_tool_prefix=
1095 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1097 test "$silent" = yes && exec 6>/dev/null
1100 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1101 ac_ls_di=`ls -di .` &&
1102 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1103 { echo "$as_me: error: Working directory cannot be determined" >&2
1104 { (exit 1); exit 1; }; }
1105 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1106 { echo "$as_me: error: pwd does not report name of working directory" >&2
1107 { (exit 1); exit 1; }; }
1110 # Find the source files, if location was not specified.
1111 if test -z "$srcdir"; then
1112 ac_srcdir_defaulted=yes
1113 # Try the directory containing this script, then the parent directory.
1114 ac_confdir=`$as_dirname -- "$0" ||
1115 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1116 X"$0" : 'X\(//\)[^/]' \| \
1117 X"$0" : 'X\(//\)$' \| \
1118 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1119 echo X"$0" |
1120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1121 s//\1/
1124 /^X\(\/\/\)[^/].*/{
1125 s//\1/
1128 /^X\(\/\/\)$/{
1129 s//\1/
1132 /^X\(\/\).*/{
1133 s//\1/
1136 s/.*/./; q'`
1137 srcdir=$ac_confdir
1138 if test ! -r "$srcdir/$ac_unique_file"; then
1139 srcdir=..
1141 else
1142 ac_srcdir_defaulted=no
1144 if test ! -r "$srcdir/$ac_unique_file"; then
1145 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1146 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1147 { (exit 1); exit 1; }; }
1149 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1150 ac_abs_confdir=`(
1151 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1152 { (exit 1); exit 1; }; }
1153 pwd)`
1154 # When building in place, set srcdir=.
1155 if test "$ac_abs_confdir" = "$ac_pwd"; then
1156 srcdir=.
1158 # Remove unnecessary trailing slashes from srcdir.
1159 # Double slashes in file names in object file debugging info
1160 # mess up M-x gdb in Emacs.
1161 case $srcdir in
1162 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1163 esac
1164 for ac_var in $ac_precious_vars; do
1165 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1166 eval ac_env_${ac_var}_value=\$${ac_var}
1167 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1168 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1169 done
1172 # Report the --help message.
1174 if test "$ac_init_help" = "long"; then
1175 # Omit some internal or obsolete options to make the list less imposing.
1176 # This message is too long to be a string in the A/UX 3.1 sh.
1177 cat <<_ACEOF
1178 \`configure' configures cluster_expansion 0.1 to adapt to many kinds of systems.
1180 Usage: $0 [OPTION]... [VAR=VALUE]...
1182 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1183 VAR=VALUE. See below for descriptions of some of the useful variables.
1185 Defaults for the options are specified in brackets.
1187 Configuration:
1188 -h, --help display this help and exit
1189 --help=short display options specific to this package
1190 --help=recursive display the short help of all the included packages
1191 -V, --version display version information and exit
1192 -q, --quiet, --silent do not print \`checking...' messages
1193 --cache-file=FILE cache test results in FILE [disabled]
1194 -C, --config-cache alias for \`--cache-file=config.cache'
1195 -n, --no-create do not create output files
1196 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1198 Installation directories:
1199 --prefix=PREFIX install architecture-independent files in PREFIX
1200 [$ac_default_prefix]
1201 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1202 [PREFIX]
1204 By default, \`make install' will install all the files in
1205 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1206 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1207 for instance \`--prefix=\$HOME'.
1209 For better control, use the options below.
1211 Fine tuning of the installation directories:
1212 --bindir=DIR user executables [EPREFIX/bin]
1213 --sbindir=DIR system admin executables [EPREFIX/sbin]
1214 --libexecdir=DIR program executables [EPREFIX/libexec]
1215 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1216 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1217 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1218 --libdir=DIR object code libraries [EPREFIX/lib]
1219 --includedir=DIR C header files [PREFIX/include]
1220 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1221 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1222 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1223 --infodir=DIR info documentation [DATAROOTDIR/info]
1224 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1225 --mandir=DIR man documentation [DATAROOTDIR/man]
1226 --docdir=DIR documentation root [DATAROOTDIR/doc/cluster_expansion]
1227 --htmldir=DIR html documentation [DOCDIR]
1228 --dvidir=DIR dvi documentation [DOCDIR]
1229 --pdfdir=DIR pdf documentation [DOCDIR]
1230 --psdir=DIR ps documentation [DOCDIR]
1231 _ACEOF
1233 cat <<\_ACEOF
1235 Program names:
1236 --program-prefix=PREFIX prepend PREFIX to installed program names
1237 --program-suffix=SUFFIX append SUFFIX to installed program names
1238 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1239 _ACEOF
1242 if test -n "$ac_init_help"; then
1243 case $ac_init_help in
1244 short | recursive ) echo "Configuration of cluster_expansion 0.1:";;
1245 esac
1246 cat <<\_ACEOF
1248 Optional Features:
1249 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1250 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1251 --disable-dependency-tracking speeds up one-time build
1252 --enable-dependency-tracking do not reject slow dependency extractors
1254 Some influential environment variables:
1255 CC C compiler command
1256 CFLAGS C compiler flags
1257 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1258 nonstandard directory <lib dir>
1259 LIBS libraries to pass to the linker, e.g. -l<library>
1260 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1261 you have headers in a nonstandard directory <include dir>
1262 CXX C++ compiler command
1263 CXXFLAGS C++ compiler flags
1265 Use these variables to override the choices made by `configure' or to help
1266 it to find libraries and programs with nonstandard names/locations.
1268 Report bugs to <rieger@fhi-berlin.mpg.de>.
1269 _ACEOF
1270 ac_status=$?
1273 if test "$ac_init_help" = "recursive"; then
1274 # If there are subdirs, report their specific --help.
1275 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1276 test -d "$ac_dir" || continue
1277 ac_builddir=.
1279 case "$ac_dir" in
1280 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1282 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1283 # A ".." for each directory in $ac_dir_suffix.
1284 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1285 case $ac_top_builddir_sub in
1286 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1287 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1288 esac ;;
1289 esac
1290 ac_abs_top_builddir=$ac_pwd
1291 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1292 # for backward compatibility:
1293 ac_top_builddir=$ac_top_build_prefix
1295 case $srcdir in
1296 .) # We are building in place.
1297 ac_srcdir=.
1298 ac_top_srcdir=$ac_top_builddir_sub
1299 ac_abs_top_srcdir=$ac_pwd ;;
1300 [\\/]* | ?:[\\/]* ) # Absolute name.
1301 ac_srcdir=$srcdir$ac_dir_suffix;
1302 ac_top_srcdir=$srcdir
1303 ac_abs_top_srcdir=$srcdir ;;
1304 *) # Relative name.
1305 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1306 ac_top_srcdir=$ac_top_build_prefix$srcdir
1307 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1308 esac
1309 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1311 cd "$ac_dir" || { ac_status=$?; continue; }
1312 # Check for guested configure.
1313 if test -f "$ac_srcdir/configure.gnu"; then
1314 echo &&
1315 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1316 elif test -f "$ac_srcdir/configure"; then
1317 echo &&
1318 $SHELL "$ac_srcdir/configure" --help=recursive
1319 else
1320 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1321 fi || ac_status=$?
1322 cd "$ac_pwd" || { ac_status=$?; break; }
1323 done
1326 test -n "$ac_init_help" && exit $ac_status
1327 if $ac_init_version; then
1328 cat <<\_ACEOF
1329 cluster_expansion configure 0.1
1330 generated by GNU Autoconf 2.61
1332 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1333 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1334 This configure script is free software; the Free Software Foundation
1335 gives unlimited permission to copy, distribute and modify it.
1336 _ACEOF
1337 exit
1339 cat >config.log <<_ACEOF
1340 This file contains any messages produced by compilers while
1341 running configure, to aid debugging if configure makes a mistake.
1343 It was created by cluster_expansion $as_me 0.1, which was
1344 generated by GNU Autoconf 2.61. Invocation command line was
1346 $ $0 $@
1348 _ACEOF
1349 exec 5>>config.log
1351 cat <<_ASUNAME
1352 ## --------- ##
1353 ## Platform. ##
1354 ## --------- ##
1356 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1357 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1358 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1359 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1360 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1362 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1363 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1365 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1366 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1367 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1368 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1369 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1370 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1371 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1373 _ASUNAME
1375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1376 for as_dir in $PATH
1378 IFS=$as_save_IFS
1379 test -z "$as_dir" && as_dir=.
1380 echo "PATH: $as_dir"
1381 done
1382 IFS=$as_save_IFS
1384 } >&5
1386 cat >&5 <<_ACEOF
1389 ## ----------- ##
1390 ## Core tests. ##
1391 ## ----------- ##
1393 _ACEOF
1396 # Keep a trace of the command line.
1397 # Strip out --no-create and --no-recursion so they do not pile up.
1398 # Strip out --silent because we don't want to record it for future runs.
1399 # Also quote any args containing shell meta-characters.
1400 # Make two passes to allow for proper duplicate-argument suppression.
1401 ac_configure_args=
1402 ac_configure_args0=
1403 ac_configure_args1=
1404 ac_must_keep_next=false
1405 for ac_pass in 1 2
1407 for ac_arg
1409 case $ac_arg in
1410 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1411 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1412 | -silent | --silent | --silen | --sile | --sil)
1413 continue ;;
1414 *\'*)
1415 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1416 esac
1417 case $ac_pass in
1418 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1420 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1421 if test $ac_must_keep_next = true; then
1422 ac_must_keep_next=false # Got value, back to normal.
1423 else
1424 case $ac_arg in
1425 *=* | --config-cache | -C | -disable-* | --disable-* \
1426 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1427 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1428 | -with-* | --with-* | -without-* | --without-* | --x)
1429 case "$ac_configure_args0 " in
1430 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1431 esac
1433 -* ) ac_must_keep_next=true ;;
1434 esac
1436 ac_configure_args="$ac_configure_args '$ac_arg'"
1438 esac
1439 done
1440 done
1441 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1442 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1444 # When interrupted or exit'd, cleanup temporary files, and complete
1445 # config.log. We remove comments because anyway the quotes in there
1446 # would cause problems or look ugly.
1447 # WARNING: Use '\'' to represent an apostrophe within the trap.
1448 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1449 trap 'exit_status=$?
1450 # Save into config.log some information that might help in debugging.
1452 echo
1454 cat <<\_ASBOX
1455 ## ---------------- ##
1456 ## Cache variables. ##
1457 ## ---------------- ##
1458 _ASBOX
1459 echo
1460 # The following way of writing the cache mishandles newlines in values,
1462 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1463 eval ac_val=\$$ac_var
1464 case $ac_val in #(
1465 *${as_nl}*)
1466 case $ac_var in #(
1467 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1468 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1469 esac
1470 case $ac_var in #(
1471 _ | IFS | as_nl) ;; #(
1472 *) $as_unset $ac_var ;;
1473 esac ;;
1474 esac
1475 done
1476 (set) 2>&1 |
1477 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1478 *${as_nl}ac_space=\ *)
1479 sed -n \
1480 "s/'\''/'\''\\\\'\'''\''/g;
1481 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1482 ;; #(
1484 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1486 esac |
1487 sort
1489 echo
1491 cat <<\_ASBOX
1492 ## ----------------- ##
1493 ## Output variables. ##
1494 ## ----------------- ##
1495 _ASBOX
1496 echo
1497 for ac_var in $ac_subst_vars
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
1507 if test -n "$ac_subst_files"; then
1508 cat <<\_ASBOX
1509 ## ------------------- ##
1510 ## File substitutions. ##
1511 ## ------------------- ##
1512 _ASBOX
1513 echo
1514 for ac_var in $ac_subst_files
1516 eval ac_val=\$$ac_var
1517 case $ac_val in
1518 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1519 esac
1520 echo "$ac_var='\''$ac_val'\''"
1521 done | sort
1522 echo
1525 if test -s confdefs.h; then
1526 cat <<\_ASBOX
1527 ## ----------- ##
1528 ## confdefs.h. ##
1529 ## ----------- ##
1530 _ASBOX
1531 echo
1532 cat confdefs.h
1533 echo
1535 test "$ac_signal" != 0 &&
1536 echo "$as_me: caught signal $ac_signal"
1537 echo "$as_me: exit $exit_status"
1538 } >&5
1539 rm -f core *.core core.conftest.* &&
1540 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1541 exit $exit_status
1543 for ac_signal in 1 2 13 15; do
1544 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1545 done
1546 ac_signal=0
1548 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1549 rm -f -r conftest* confdefs.h
1551 # Predefined preprocessor variables.
1553 cat >>confdefs.h <<_ACEOF
1554 #define PACKAGE_NAME "$PACKAGE_NAME"
1555 _ACEOF
1558 cat >>confdefs.h <<_ACEOF
1559 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1560 _ACEOF
1563 cat >>confdefs.h <<_ACEOF
1564 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1565 _ACEOF
1568 cat >>confdefs.h <<_ACEOF
1569 #define PACKAGE_STRING "$PACKAGE_STRING"
1570 _ACEOF
1573 cat >>confdefs.h <<_ACEOF
1574 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1575 _ACEOF
1578 # Let the site file select an alternate cache file if it wants to.
1579 # Prefer explicitly selected file to automatically selected ones.
1580 if test -n "$CONFIG_SITE"; then
1581 set x "$CONFIG_SITE"
1582 elif test "x$prefix" != xNONE; then
1583 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1584 else
1585 set x "$ac_default_prefix/share/config.site" \
1586 "$ac_default_prefix/etc/config.site"
1588 shift
1589 for ac_site_file
1591 if test -r "$ac_site_file"; then
1592 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1593 echo "$as_me: loading site script $ac_site_file" >&6;}
1594 sed 's/^/| /' "$ac_site_file" >&5
1595 . "$ac_site_file"
1597 done
1599 if test -r "$cache_file"; then
1600 # Some versions of bash will fail to source /dev/null (special
1601 # files actually), so we avoid doing that.
1602 if test -f "$cache_file"; then
1603 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1604 echo "$as_me: loading cache $cache_file" >&6;}
1605 case $cache_file in
1606 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1607 *) . "./$cache_file";;
1608 esac
1610 else
1611 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1612 echo "$as_me: creating cache $cache_file" >&6;}
1613 >$cache_file
1616 # Check that the precious variables saved in the cache have kept the same
1617 # value.
1618 ac_cache_corrupted=false
1619 for ac_var in $ac_precious_vars; do
1620 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1621 eval ac_new_set=\$ac_env_${ac_var}_set
1622 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1623 eval ac_new_val=\$ac_env_${ac_var}_value
1624 case $ac_old_set,$ac_new_set in
1625 set,)
1626 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1627 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1628 ac_cache_corrupted=: ;;
1629 ,set)
1630 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1631 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1632 ac_cache_corrupted=: ;;
1633 ,);;
1635 if test "x$ac_old_val" != "x$ac_new_val"; then
1636 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1637 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1638 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1639 echo "$as_me: former value: $ac_old_val" >&2;}
1640 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1641 echo "$as_me: current value: $ac_new_val" >&2;}
1642 ac_cache_corrupted=:
1643 fi;;
1644 esac
1645 # Pass precious variables to config.status.
1646 if test "$ac_new_set" = set; then
1647 case $ac_new_val in
1648 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1649 *) ac_arg=$ac_var=$ac_new_val ;;
1650 esac
1651 case " $ac_configure_args " in
1652 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1653 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1654 esac
1656 done
1657 if $ac_cache_corrupted; then
1658 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1659 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1660 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1661 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1662 { (exit 1); exit 1; }; }
1689 ac_ext=c
1690 ac_cpp='$CPP $CPPFLAGS'
1691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1696 ac_aux_dir=
1697 for ac_dir in build-aux "$srcdir"/build-aux; do
1698 if test -f "$ac_dir/install-sh"; then
1699 ac_aux_dir=$ac_dir
1700 ac_install_sh="$ac_aux_dir/install-sh -c"
1701 break
1702 elif test -f "$ac_dir/install.sh"; then
1703 ac_aux_dir=$ac_dir
1704 ac_install_sh="$ac_aux_dir/install.sh -c"
1705 break
1706 elif test -f "$ac_dir/shtool"; then
1707 ac_aux_dir=$ac_dir
1708 ac_install_sh="$ac_aux_dir/shtool install -c"
1709 break
1711 done
1712 if test -z "$ac_aux_dir"; then
1713 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
1714 echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
1715 { (exit 1); exit 1; }; }
1718 # These three variables are undocumented and unsupported,
1719 # and are intended to be withdrawn in a future Autoconf release.
1720 # They can cause serious problems if a builder's source tree is in a directory
1721 # whose full name contains unusual characters.
1722 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1723 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1724 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1727 am__api_version='1.10'
1729 # Find a good install program. We prefer a C program (faster),
1730 # so one script is as good as another. But avoid the broken or
1731 # incompatible versions:
1732 # SysV /etc/install, /usr/sbin/install
1733 # SunOS /usr/etc/install
1734 # IRIX /sbin/install
1735 # AIX /bin/install
1736 # AmigaOS /C/install, which installs bootblocks on floppy discs
1737 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1738 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1739 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1740 # OS/2's system install, which has a completely different semantic
1741 # ./install, which can be erroneously created by make from ./install.sh.
1742 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1743 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1744 if test -z "$INSTALL"; then
1745 if test "${ac_cv_path_install+set}" = set; then
1746 echo $ECHO_N "(cached) $ECHO_C" >&6
1747 else
1748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1749 for as_dir in $PATH
1751 IFS=$as_save_IFS
1752 test -z "$as_dir" && as_dir=.
1753 # Account for people who put trailing slashes in PATH elements.
1754 case $as_dir/ in
1755 ./ | .// | /cC/* | \
1756 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1757 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1758 /usr/ucb/* ) ;;
1760 # OSF1 and SCO ODT 3.0 have their own names for install.
1761 # Don't use installbsd from OSF since it installs stuff as root
1762 # by default.
1763 for ac_prog in ginstall scoinst install; do
1764 for ac_exec_ext in '' $ac_executable_extensions; do
1765 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1766 if test $ac_prog = install &&
1767 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1768 # AIX install. It has an incompatible calling convention.
1770 elif test $ac_prog = install &&
1771 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1772 # program-specific install script used by HP pwplus--don't use.
1774 else
1775 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1776 break 3
1779 done
1780 done
1782 esac
1783 done
1784 IFS=$as_save_IFS
1788 if test "${ac_cv_path_install+set}" = set; then
1789 INSTALL=$ac_cv_path_install
1790 else
1791 # As a last resort, use the slow shell script. Don't cache a
1792 # value for INSTALL within a source directory, because that will
1793 # break other packages using the cache if that directory is
1794 # removed, or if the value is a relative name.
1795 INSTALL=$ac_install_sh
1798 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1799 echo "${ECHO_T}$INSTALL" >&6; }
1801 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1802 # It thinks the first close brace ends the variable substitution.
1803 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1805 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1807 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1809 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1810 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1811 # Just in case
1812 sleep 1
1813 echo timestamp > conftest.file
1814 # Do `set' in a subshell so we don't clobber the current shell's
1815 # arguments. Must try -L first in case configure is actually a
1816 # symlink; some systems play weird games with the mod time of symlinks
1817 # (eg FreeBSD returns the mod time of the symlink's containing
1818 # directory).
1819 if (
1820 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1821 if test "$*" = "X"; then
1822 # -L didn't work.
1823 set X `ls -t $srcdir/configure conftest.file`
1825 rm -f conftest.file
1826 if test "$*" != "X $srcdir/configure conftest.file" \
1827 && test "$*" != "X conftest.file $srcdir/configure"; then
1829 # If neither matched, then we have a broken ls. This can happen
1830 # if, for instance, CONFIG_SHELL is bash and it inherits a
1831 # broken ls alias from the environment. This has actually
1832 # happened. Such a system could not be considered "sane".
1833 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1834 alias in your environment" >&5
1835 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1836 alias in your environment" >&2;}
1837 { (exit 1); exit 1; }; }
1840 test "$2" = conftest.file
1842 then
1843 # Ok.
1845 else
1846 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1847 Check your system clock" >&5
1848 echo "$as_me: error: newly created file is older than distributed files!
1849 Check your system clock" >&2;}
1850 { (exit 1); exit 1; }; }
1852 { echo "$as_me:$LINENO: result: yes" >&5
1853 echo "${ECHO_T}yes" >&6; }
1854 test "$program_prefix" != NONE &&
1855 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1856 # Use a double $ so make ignores it.
1857 test "$program_suffix" != NONE &&
1858 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1859 # Double any \ or $. echo might interpret backslashes.
1860 # By default was `s,x,x', remove it if useless.
1861 cat <<\_ACEOF >conftest.sed
1862 s/[\\$]/&&/g;s/;s,x,x,$//
1863 _ACEOF
1864 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1865 rm -f conftest.sed
1867 # expand $ac_aux_dir to an absolute path
1868 am_aux_dir=`cd $ac_aux_dir && pwd`
1870 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1871 # Use eval to expand $SHELL
1872 if eval "$MISSING --run true"; then
1873 am_missing_run="$MISSING --run "
1874 else
1875 am_missing_run=
1876 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1877 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1880 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1881 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1882 if test -z "$MKDIR_P"; then
1883 if test "${ac_cv_path_mkdir+set}" = set; then
1884 echo $ECHO_N "(cached) $ECHO_C" >&6
1885 else
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1889 IFS=$as_save_IFS
1890 test -z "$as_dir" && as_dir=.
1891 for ac_prog in mkdir gmkdir; do
1892 for ac_exec_ext in '' $ac_executable_extensions; do
1893 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1894 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1895 'mkdir (GNU coreutils) '* | \
1896 'mkdir (coreutils) '* | \
1897 'mkdir (fileutils) '4.1*)
1898 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1899 break 3;;
1900 esac
1901 done
1902 done
1903 done
1904 IFS=$as_save_IFS
1908 if test "${ac_cv_path_mkdir+set}" = set; then
1909 MKDIR_P="$ac_cv_path_mkdir -p"
1910 else
1911 # As a last resort, use the slow shell script. Don't cache a
1912 # value for MKDIR_P within a source directory, because that will
1913 # break other packages using the cache if that directory is
1914 # removed, or if the value is a relative name.
1915 test -d ./--version && rmdir ./--version
1916 MKDIR_P="$ac_install_sh -d"
1919 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1920 echo "${ECHO_T}$MKDIR_P" >&6; }
1922 mkdir_p="$MKDIR_P"
1923 case $mkdir_p in
1924 [\\/$]* | ?:[\\/]*) ;;
1925 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1926 esac
1928 for ac_prog in gawk mawk nawk awk
1930 # Extract the first word of "$ac_prog", so it can be a program name with args.
1931 set dummy $ac_prog; ac_word=$2
1932 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1934 if test "${ac_cv_prog_AWK+set}" = set; then
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 else
1937 if test -n "$AWK"; then
1938 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1939 else
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 for as_dir in $PATH
1943 IFS=$as_save_IFS
1944 test -z "$as_dir" && as_dir=.
1945 for ac_exec_ext in '' $ac_executable_extensions; do
1946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1947 ac_cv_prog_AWK="$ac_prog"
1948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1949 break 2
1951 done
1952 done
1953 IFS=$as_save_IFS
1957 AWK=$ac_cv_prog_AWK
1958 if test -n "$AWK"; then
1959 { echo "$as_me:$LINENO: result: $AWK" >&5
1960 echo "${ECHO_T}$AWK" >&6; }
1961 else
1962 { echo "$as_me:$LINENO: result: no" >&5
1963 echo "${ECHO_T}no" >&6; }
1967 test -n "$AWK" && break
1968 done
1970 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1971 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1972 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1973 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1974 echo $ECHO_N "(cached) $ECHO_C" >&6
1975 else
1976 cat >conftest.make <<\_ACEOF
1977 SHELL = /bin/sh
1978 all:
1979 @echo '@@@%%%=$(MAKE)=@@@%%%'
1980 _ACEOF
1981 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1982 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1983 *@@@%%%=?*=@@@%%%*)
1984 eval ac_cv_prog_make_${ac_make}_set=yes;;
1986 eval ac_cv_prog_make_${ac_make}_set=no;;
1987 esac
1988 rm -f conftest.make
1990 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1991 { echo "$as_me:$LINENO: result: yes" >&5
1992 echo "${ECHO_T}yes" >&6; }
1993 SET_MAKE=
1994 else
1995 { echo "$as_me:$LINENO: result: no" >&5
1996 echo "${ECHO_T}no" >&6; }
1997 SET_MAKE="MAKE=${MAKE-make}"
2000 rm -rf .tst 2>/dev/null
2001 mkdir .tst 2>/dev/null
2002 if test -d .tst; then
2003 am__leading_dot=.
2004 else
2005 am__leading_dot=_
2007 rmdir .tst 2>/dev/null
2009 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2010 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2011 # is not polluted with repeated "-I."
2012 am__isrc=' -I$(srcdir)'
2013 # test to see if srcdir already configured
2014 if test -f $srcdir/config.status; then
2015 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2016 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2017 { (exit 1); exit 1; }; }
2021 # test whether we have cygpath
2022 if test -z "$CYGPATH_W"; then
2023 if (cygpath --version) >/dev/null 2>/dev/null; then
2024 CYGPATH_W='cygpath -w'
2025 else
2026 CYGPATH_W=echo
2031 # Define the identity of the package.
2032 PACKAGE='cluster_expansion'
2033 VERSION='0.1'
2036 cat >>confdefs.h <<_ACEOF
2037 #define PACKAGE "$PACKAGE"
2038 _ACEOF
2041 cat >>confdefs.h <<_ACEOF
2042 #define VERSION "$VERSION"
2043 _ACEOF
2045 # Some tools Automake needs.
2047 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2050 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2053 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2056 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2059 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2061 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2063 # Installed binaries are usually stripped using `strip' when the user
2064 # run `make install-strip'. However `strip' might not be the right
2065 # tool to use in cross-compilation environments, therefore Automake
2066 # will honor the `STRIP' environment variable to overrule this program.
2067 if test "$cross_compiling" != no; then
2068 if test -n "$ac_tool_prefix"; then
2069 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2070 set dummy ${ac_tool_prefix}strip; ac_word=$2
2071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2073 if test "${ac_cv_prog_STRIP+set}" = set; then
2074 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 else
2076 if test -n "$STRIP"; then
2077 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2078 else
2079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 for as_dir in $PATH
2082 IFS=$as_save_IFS
2083 test -z "$as_dir" && as_dir=.
2084 for ac_exec_ext in '' $ac_executable_extensions; do
2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2086 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2088 break 2
2090 done
2091 done
2092 IFS=$as_save_IFS
2096 STRIP=$ac_cv_prog_STRIP
2097 if test -n "$STRIP"; then
2098 { echo "$as_me:$LINENO: result: $STRIP" >&5
2099 echo "${ECHO_T}$STRIP" >&6; }
2100 else
2101 { echo "$as_me:$LINENO: result: no" >&5
2102 echo "${ECHO_T}no" >&6; }
2107 if test -z "$ac_cv_prog_STRIP"; then
2108 ac_ct_STRIP=$STRIP
2109 # Extract the first word of "strip", so it can be a program name with args.
2110 set dummy strip; ac_word=$2
2111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2113 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2114 echo $ECHO_N "(cached) $ECHO_C" >&6
2115 else
2116 if test -n "$ac_ct_STRIP"; then
2117 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2118 else
2119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2120 for as_dir in $PATH
2122 IFS=$as_save_IFS
2123 test -z "$as_dir" && as_dir=.
2124 for ac_exec_ext in '' $ac_executable_extensions; do
2125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2126 ac_cv_prog_ac_ct_STRIP="strip"
2127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2128 break 2
2130 done
2131 done
2132 IFS=$as_save_IFS
2136 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2137 if test -n "$ac_ct_STRIP"; then
2138 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2139 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2140 else
2141 { echo "$as_me:$LINENO: result: no" >&5
2142 echo "${ECHO_T}no" >&6; }
2145 if test "x$ac_ct_STRIP" = x; then
2146 STRIP=":"
2147 else
2148 case $cross_compiling:$ac_tool_warned in
2149 yes:)
2150 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2151 whose name does not start with the host triplet. If you think this
2152 configuration is useful to you, please write to autoconf@gnu.org." >&5
2153 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2154 whose name does not start with the host triplet. If you think this
2155 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2156 ac_tool_warned=yes ;;
2157 esac
2158 STRIP=$ac_ct_STRIP
2160 else
2161 STRIP="$ac_cv_prog_STRIP"
2165 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2167 # We need awk for the "check" target. The system "awk" is bad on
2168 # some platforms.
2169 # Always define AMTAR for backward compatibility.
2171 AMTAR=${AMTAR-"${am_missing_run}tar"}
2173 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2179 ac_ext=c
2180 ac_cpp='$CPP $CPPFLAGS'
2181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2184 if test -n "$ac_tool_prefix"; then
2185 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2186 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2189 if test "${ac_cv_prog_CC+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 else
2192 if test -n "$CC"; then
2193 ac_cv_prog_CC="$CC" # Let the user override the test.
2194 else
2195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2196 for as_dir in $PATH
2198 IFS=$as_save_IFS
2199 test -z "$as_dir" && as_dir=.
2200 for ac_exec_ext in '' $ac_executable_extensions; do
2201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2202 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2204 break 2
2206 done
2207 done
2208 IFS=$as_save_IFS
2212 CC=$ac_cv_prog_CC
2213 if test -n "$CC"; then
2214 { echo "$as_me:$LINENO: result: $CC" >&5
2215 echo "${ECHO_T}$CC" >&6; }
2216 else
2217 { echo "$as_me:$LINENO: result: no" >&5
2218 echo "${ECHO_T}no" >&6; }
2223 if test -z "$ac_cv_prog_CC"; then
2224 ac_ct_CC=$CC
2225 # Extract the first word of "gcc", so it can be a program name with args.
2226 set dummy gcc; ac_word=$2
2227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2229 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2231 else
2232 if test -n "$ac_ct_CC"; then
2233 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2234 else
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2236 for as_dir in $PATH
2238 IFS=$as_save_IFS
2239 test -z "$as_dir" && as_dir=.
2240 for ac_exec_ext in '' $ac_executable_extensions; do
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 ac_cv_prog_ac_ct_CC="gcc"
2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 break 2
2246 done
2247 done
2248 IFS=$as_save_IFS
2252 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2253 if test -n "$ac_ct_CC"; then
2254 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2255 echo "${ECHO_T}$ac_ct_CC" >&6; }
2256 else
2257 { echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6; }
2261 if test "x$ac_ct_CC" = x; then
2262 CC=""
2263 else
2264 case $cross_compiling:$ac_tool_warned in
2265 yes:)
2266 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2267 whose name does not start with the host triplet. If you think this
2268 configuration is useful to you, please write to autoconf@gnu.org." >&5
2269 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2270 whose name does not start with the host triplet. If you think this
2271 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2272 ac_tool_warned=yes ;;
2273 esac
2274 CC=$ac_ct_CC
2276 else
2277 CC="$ac_cv_prog_CC"
2280 if test -z "$CC"; then
2281 if test -n "$ac_tool_prefix"; then
2282 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2283 set dummy ${ac_tool_prefix}cc; ac_word=$2
2284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2286 if test "${ac_cv_prog_CC+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2288 else
2289 if test -n "$CC"; then
2290 ac_cv_prog_CC="$CC" # Let the user override the test.
2291 else
2292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293 for as_dir in $PATH
2295 IFS=$as_save_IFS
2296 test -z "$as_dir" && as_dir=.
2297 for ac_exec_ext in '' $ac_executable_extensions; do
2298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2299 ac_cv_prog_CC="${ac_tool_prefix}cc"
2300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2301 break 2
2303 done
2304 done
2305 IFS=$as_save_IFS
2309 CC=$ac_cv_prog_CC
2310 if test -n "$CC"; then
2311 { echo "$as_me:$LINENO: result: $CC" >&5
2312 echo "${ECHO_T}$CC" >&6; }
2313 else
2314 { echo "$as_me:$LINENO: result: no" >&5
2315 echo "${ECHO_T}no" >&6; }
2321 if test -z "$CC"; then
2322 # Extract the first word of "cc", so it can be a program name with args.
2323 set dummy cc; ac_word=$2
2324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2326 if test "${ac_cv_prog_CC+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 else
2329 if test -n "$CC"; then
2330 ac_cv_prog_CC="$CC" # Let the user override the test.
2331 else
2332 ac_prog_rejected=no
2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2334 for as_dir in $PATH
2336 IFS=$as_save_IFS
2337 test -z "$as_dir" && as_dir=.
2338 for ac_exec_ext in '' $ac_executable_extensions; do
2339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2340 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2341 ac_prog_rejected=yes
2342 continue
2344 ac_cv_prog_CC="cc"
2345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 break 2
2348 done
2349 done
2350 IFS=$as_save_IFS
2352 if test $ac_prog_rejected = yes; then
2353 # We found a bogon in the path, so make sure we never use it.
2354 set dummy $ac_cv_prog_CC
2355 shift
2356 if test $# != 0; then
2357 # We chose a different compiler from the bogus one.
2358 # However, it has the same basename, so the bogon will be chosen
2359 # first if we set CC to just the basename; use the full file name.
2360 shift
2361 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2366 CC=$ac_cv_prog_CC
2367 if test -n "$CC"; then
2368 { echo "$as_me:$LINENO: result: $CC" >&5
2369 echo "${ECHO_T}$CC" >&6; }
2370 else
2371 { echo "$as_me:$LINENO: result: no" >&5
2372 echo "${ECHO_T}no" >&6; }
2377 if test -z "$CC"; then
2378 if test -n "$ac_tool_prefix"; then
2379 for ac_prog in cl.exe
2381 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2382 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2385 if test "${ac_cv_prog_CC+set}" = set; then
2386 echo $ECHO_N "(cached) $ECHO_C" >&6
2387 else
2388 if test -n "$CC"; then
2389 ac_cv_prog_CC="$CC" # Let the user override the test.
2390 else
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 for as_dir in $PATH
2394 IFS=$as_save_IFS
2395 test -z "$as_dir" && as_dir=.
2396 for ac_exec_ext in '' $ac_executable_extensions; do
2397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2398 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2400 break 2
2402 done
2403 done
2404 IFS=$as_save_IFS
2408 CC=$ac_cv_prog_CC
2409 if test -n "$CC"; then
2410 { echo "$as_me:$LINENO: result: $CC" >&5
2411 echo "${ECHO_T}$CC" >&6; }
2412 else
2413 { echo "$as_me:$LINENO: result: no" >&5
2414 echo "${ECHO_T}no" >&6; }
2418 test -n "$CC" && break
2419 done
2421 if test -z "$CC"; then
2422 ac_ct_CC=$CC
2423 for ac_prog in cl.exe
2425 # Extract the first word of "$ac_prog", so it can be a program name with args.
2426 set dummy $ac_prog; ac_word=$2
2427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2429 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 else
2432 if test -n "$ac_ct_CC"; then
2433 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2434 else
2435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436 for as_dir in $PATH
2438 IFS=$as_save_IFS
2439 test -z "$as_dir" && as_dir=.
2440 for ac_exec_ext in '' $ac_executable_extensions; do
2441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2442 ac_cv_prog_ac_ct_CC="$ac_prog"
2443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2444 break 2
2446 done
2447 done
2448 IFS=$as_save_IFS
2452 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2453 if test -n "$ac_ct_CC"; then
2454 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2455 echo "${ECHO_T}$ac_ct_CC" >&6; }
2456 else
2457 { echo "$as_me:$LINENO: result: no" >&5
2458 echo "${ECHO_T}no" >&6; }
2462 test -n "$ac_ct_CC" && break
2463 done
2465 if test "x$ac_ct_CC" = x; then
2466 CC=""
2467 else
2468 case $cross_compiling:$ac_tool_warned in
2469 yes:)
2470 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2471 whose name does not start with the host triplet. If you think this
2472 configuration is useful to you, please write to autoconf@gnu.org." >&5
2473 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2474 whose name does not start with the host triplet. If you think this
2475 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2476 ac_tool_warned=yes ;;
2477 esac
2478 CC=$ac_ct_CC
2485 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2486 See \`config.log' for more details." >&5
2487 echo "$as_me: error: no acceptable C compiler found in \$PATH
2488 See \`config.log' for more details." >&2;}
2489 { (exit 1); exit 1; }; }
2491 # Provide some information about the compiler.
2492 echo "$as_me:$LINENO: checking for C compiler version" >&5
2493 ac_compiler=`set X $ac_compile; echo $2`
2494 { (ac_try="$ac_compiler --version >&5"
2495 case "(($ac_try" in
2496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2498 esac
2499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2500 (eval "$ac_compiler --version >&5") 2>&5
2501 ac_status=$?
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }
2504 { (ac_try="$ac_compiler -v >&5"
2505 case "(($ac_try" in
2506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2507 *) ac_try_echo=$ac_try;;
2508 esac
2509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2510 (eval "$ac_compiler -v >&5") 2>&5
2511 ac_status=$?
2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 (exit $ac_status); }
2514 { (ac_try="$ac_compiler -V >&5"
2515 case "(($ac_try" in
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2518 esac
2519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2520 (eval "$ac_compiler -V >&5") 2>&5
2521 ac_status=$?
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); }
2525 cat >conftest.$ac_ext <<_ACEOF
2526 /* confdefs.h. */
2527 _ACEOF
2528 cat confdefs.h >>conftest.$ac_ext
2529 cat >>conftest.$ac_ext <<_ACEOF
2530 /* end confdefs.h. */
2533 main ()
2537 return 0;
2539 _ACEOF
2540 ac_clean_files_save=$ac_clean_files
2541 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2542 # Try to create an executable without -o first, disregard a.out.
2543 # It will help us diagnose broken compilers, and finding out an intuition
2544 # of exeext.
2545 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2546 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2547 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2549 # List of possible output files, starting from the most likely.
2550 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2551 # only as a last resort. b.out is created by i960 compilers.
2552 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2554 # The IRIX 6 linker writes into existing files which may not be
2555 # executable, retaining their permissions. Remove them first so a
2556 # subsequent execution test works.
2557 ac_rmfiles=
2558 for ac_file in $ac_files
2560 case $ac_file in
2561 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2562 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2563 esac
2564 done
2565 rm -f $ac_rmfiles
2567 if { (ac_try="$ac_link_default"
2568 case "(($ac_try" in
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2571 esac
2572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2573 (eval "$ac_link_default") 2>&5
2574 ac_status=$?
2575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }; then
2577 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2578 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2579 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2580 # so that the user can short-circuit this test for compilers unknown to
2581 # Autoconf.
2582 for ac_file in $ac_files ''
2584 test -f "$ac_file" || continue
2585 case $ac_file in
2586 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2588 [ab].out )
2589 # We found the default executable, but exeext='' is most
2590 # certainly right.
2591 break;;
2592 *.* )
2593 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2594 then :; else
2595 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2597 # We set ac_cv_exeext here because the later test for it is not
2598 # safe: cross compilers may not add the suffix if given an `-o'
2599 # argument, so we may need to know it at that point already.
2600 # Even if this section looks crufty: it has the advantage of
2601 # actually working.
2602 break;;
2604 break;;
2605 esac
2606 done
2607 test "$ac_cv_exeext" = no && ac_cv_exeext=
2609 else
2610 ac_file=''
2613 { echo "$as_me:$LINENO: result: $ac_file" >&5
2614 echo "${ECHO_T}$ac_file" >&6; }
2615 if test -z "$ac_file"; then
2616 echo "$as_me: failed program was:" >&5
2617 sed 's/^/| /' conftest.$ac_ext >&5
2619 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2620 See \`config.log' for more details." >&5
2621 echo "$as_me: error: C compiler cannot create executables
2622 See \`config.log' for more details." >&2;}
2623 { (exit 77); exit 77; }; }
2626 ac_exeext=$ac_cv_exeext
2628 # Check that the compiler produces executables we can run. If not, either
2629 # the compiler is broken, or we cross compile.
2630 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2631 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2632 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2633 # If not cross compiling, check that we can run a simple program.
2634 if test "$cross_compiling" != yes; then
2635 if { ac_try='./$ac_file'
2636 { (case "(($ac_try" in
2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638 *) ac_try_echo=$ac_try;;
2639 esac
2640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2641 (eval "$ac_try") 2>&5
2642 ac_status=$?
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }; }; then
2645 cross_compiling=no
2646 else
2647 if test "$cross_compiling" = maybe; then
2648 cross_compiling=yes
2649 else
2650 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2651 If you meant to cross compile, use \`--host'.
2652 See \`config.log' for more details." >&5
2653 echo "$as_me: error: cannot run C compiled programs.
2654 If you meant to cross compile, use \`--host'.
2655 See \`config.log' for more details." >&2;}
2656 { (exit 1); exit 1; }; }
2660 { echo "$as_me:$LINENO: result: yes" >&5
2661 echo "${ECHO_T}yes" >&6; }
2663 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2664 ac_clean_files=$ac_clean_files_save
2665 # Check that the compiler produces executables we can run. If not, either
2666 # the compiler is broken, or we cross compile.
2667 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2668 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2669 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2670 echo "${ECHO_T}$cross_compiling" >&6; }
2672 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2673 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2674 if { (ac_try="$ac_link"
2675 case "(($ac_try" in
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2678 esac
2679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2680 (eval "$ac_link") 2>&5
2681 ac_status=$?
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; then
2684 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2685 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2686 # work properly (i.e., refer to `conftest.exe'), while it won't with
2687 # `rm'.
2688 for ac_file in conftest.exe conftest conftest.*; do
2689 test -f "$ac_file" || continue
2690 case $ac_file in
2691 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2692 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2693 break;;
2694 * ) break;;
2695 esac
2696 done
2697 else
2698 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2699 See \`config.log' for more details." >&5
2700 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2701 See \`config.log' for more details." >&2;}
2702 { (exit 1); exit 1; }; }
2705 rm -f conftest$ac_cv_exeext
2706 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2707 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2709 rm -f conftest.$ac_ext
2710 EXEEXT=$ac_cv_exeext
2711 ac_exeext=$EXEEXT
2712 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2713 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2714 if test "${ac_cv_objext+set}" = set; then
2715 echo $ECHO_N "(cached) $ECHO_C" >&6
2716 else
2717 cat >conftest.$ac_ext <<_ACEOF
2718 /* confdefs.h. */
2719 _ACEOF
2720 cat confdefs.h >>conftest.$ac_ext
2721 cat >>conftest.$ac_ext <<_ACEOF
2722 /* end confdefs.h. */
2725 main ()
2729 return 0;
2731 _ACEOF
2732 rm -f conftest.o conftest.obj
2733 if { (ac_try="$ac_compile"
2734 case "(($ac_try" in
2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2737 esac
2738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2739 (eval "$ac_compile") 2>&5
2740 ac_status=$?
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; then
2743 for ac_file in conftest.o conftest.obj conftest.*; do
2744 test -f "$ac_file" || continue;
2745 case $ac_file in
2746 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2747 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2748 break;;
2749 esac
2750 done
2751 else
2752 echo "$as_me: failed program was:" >&5
2753 sed 's/^/| /' conftest.$ac_ext >&5
2755 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2756 See \`config.log' for more details." >&5
2757 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2758 See \`config.log' for more details." >&2;}
2759 { (exit 1); exit 1; }; }
2762 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2764 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2765 echo "${ECHO_T}$ac_cv_objext" >&6; }
2766 OBJEXT=$ac_cv_objext
2767 ac_objext=$OBJEXT
2768 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2769 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2770 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2771 echo $ECHO_N "(cached) $ECHO_C" >&6
2772 else
2773 cat >conftest.$ac_ext <<_ACEOF
2774 /* confdefs.h. */
2775 _ACEOF
2776 cat confdefs.h >>conftest.$ac_ext
2777 cat >>conftest.$ac_ext <<_ACEOF
2778 /* end confdefs.h. */
2781 main ()
2783 #ifndef __GNUC__
2784 choke me
2785 #endif
2788 return 0;
2790 _ACEOF
2791 rm -f conftest.$ac_objext
2792 if { (ac_try="$ac_compile"
2793 case "(($ac_try" in
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795 *) ac_try_echo=$ac_try;;
2796 esac
2797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2798 (eval "$ac_compile") 2>conftest.er1
2799 ac_status=$?
2800 grep -v '^ *+' conftest.er1 >conftest.err
2801 rm -f conftest.er1
2802 cat conftest.err >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); } && {
2805 test -z "$ac_c_werror_flag" ||
2806 test ! -s conftest.err
2807 } && test -s conftest.$ac_objext; then
2808 ac_compiler_gnu=yes
2809 else
2810 echo "$as_me: failed program was:" >&5
2811 sed 's/^/| /' conftest.$ac_ext >&5
2813 ac_compiler_gnu=no
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2820 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2821 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2822 GCC=`test $ac_compiler_gnu = yes && echo yes`
2823 ac_test_CFLAGS=${CFLAGS+set}
2824 ac_save_CFLAGS=$CFLAGS
2825 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2826 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2827 if test "${ac_cv_prog_cc_g+set}" = set; then
2828 echo $ECHO_N "(cached) $ECHO_C" >&6
2829 else
2830 ac_save_c_werror_flag=$ac_c_werror_flag
2831 ac_c_werror_flag=yes
2832 ac_cv_prog_cc_g=no
2833 CFLAGS="-g"
2834 cat >conftest.$ac_ext <<_ACEOF
2835 /* confdefs.h. */
2836 _ACEOF
2837 cat confdefs.h >>conftest.$ac_ext
2838 cat >>conftest.$ac_ext <<_ACEOF
2839 /* end confdefs.h. */
2842 main ()
2846 return 0;
2848 _ACEOF
2849 rm -f conftest.$ac_objext
2850 if { (ac_try="$ac_compile"
2851 case "(($ac_try" in
2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853 *) ac_try_echo=$ac_try;;
2854 esac
2855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2856 (eval "$ac_compile") 2>conftest.er1
2857 ac_status=$?
2858 grep -v '^ *+' conftest.er1 >conftest.err
2859 rm -f conftest.er1
2860 cat conftest.err >&5
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); } && {
2863 test -z "$ac_c_werror_flag" ||
2864 test ! -s conftest.err
2865 } && test -s conftest.$ac_objext; then
2866 ac_cv_prog_cc_g=yes
2867 else
2868 echo "$as_me: failed program was:" >&5
2869 sed 's/^/| /' conftest.$ac_ext >&5
2871 CFLAGS=""
2872 cat >conftest.$ac_ext <<_ACEOF
2873 /* confdefs.h. */
2874 _ACEOF
2875 cat confdefs.h >>conftest.$ac_ext
2876 cat >>conftest.$ac_ext <<_ACEOF
2877 /* end confdefs.h. */
2880 main ()
2884 return 0;
2886 _ACEOF
2887 rm -f conftest.$ac_objext
2888 if { (ac_try="$ac_compile"
2889 case "(($ac_try" in
2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2892 esac
2893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2894 (eval "$ac_compile") 2>conftest.er1
2895 ac_status=$?
2896 grep -v '^ *+' conftest.er1 >conftest.err
2897 rm -f conftest.er1
2898 cat conftest.err >&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); } && {
2901 test -z "$ac_c_werror_flag" ||
2902 test ! -s conftest.err
2903 } && test -s conftest.$ac_objext; then
2905 else
2906 echo "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.$ac_ext >&5
2909 ac_c_werror_flag=$ac_save_c_werror_flag
2910 CFLAGS="-g"
2911 cat >conftest.$ac_ext <<_ACEOF
2912 /* confdefs.h. */
2913 _ACEOF
2914 cat confdefs.h >>conftest.$ac_ext
2915 cat >>conftest.$ac_ext <<_ACEOF
2916 /* end confdefs.h. */
2919 main ()
2923 return 0;
2925 _ACEOF
2926 rm -f conftest.$ac_objext
2927 if { (ac_try="$ac_compile"
2928 case "(($ac_try" in
2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2931 esac
2932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2933 (eval "$ac_compile") 2>conftest.er1
2934 ac_status=$?
2935 grep -v '^ *+' conftest.er1 >conftest.err
2936 rm -f conftest.er1
2937 cat conftest.err >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } && {
2940 test -z "$ac_c_werror_flag" ||
2941 test ! -s conftest.err
2942 } && test -s conftest.$ac_objext; then
2943 ac_cv_prog_cc_g=yes
2944 else
2945 echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.$ac_ext >&5
2951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2958 ac_c_werror_flag=$ac_save_c_werror_flag
2960 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2961 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2962 if test "$ac_test_CFLAGS" = set; then
2963 CFLAGS=$ac_save_CFLAGS
2964 elif test $ac_cv_prog_cc_g = yes; then
2965 if test "$GCC" = yes; then
2966 CFLAGS="-g -O2"
2967 else
2968 CFLAGS="-g"
2970 else
2971 if test "$GCC" = yes; then
2972 CFLAGS="-O2"
2973 else
2974 CFLAGS=
2977 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2978 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2979 if test "${ac_cv_prog_cc_c89+set}" = set; then
2980 echo $ECHO_N "(cached) $ECHO_C" >&6
2981 else
2982 ac_cv_prog_cc_c89=no
2983 ac_save_CC=$CC
2984 cat >conftest.$ac_ext <<_ACEOF
2985 /* confdefs.h. */
2986 _ACEOF
2987 cat confdefs.h >>conftest.$ac_ext
2988 cat >>conftest.$ac_ext <<_ACEOF
2989 /* end confdefs.h. */
2990 #include <stdarg.h>
2991 #include <stdio.h>
2992 #include <sys/types.h>
2993 #include <sys/stat.h>
2994 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2995 struct buf { int x; };
2996 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2997 static char *e (p, i)
2998 char **p;
2999 int i;
3001 return p[i];
3003 static char *f (char * (*g) (char **, int), char **p, ...)
3005 char *s;
3006 va_list v;
3007 va_start (v,p);
3008 s = g (p, va_arg (v,int));
3009 va_end (v);
3010 return s;
3013 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3014 function prototypes and stuff, but not '\xHH' hex character constants.
3015 These don't provoke an error unfortunately, instead are silently treated
3016 as 'x'. The following induces an error, until -std is added to get
3017 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3018 array size at least. It's necessary to write '\x00'==0 to get something
3019 that's true only with -std. */
3020 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3022 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3023 inside strings and character constants. */
3024 #define FOO(x) 'x'
3025 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3027 int test (int i, double x);
3028 struct s1 {int (*f) (int a);};
3029 struct s2 {int (*f) (double a);};
3030 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3031 int argc;
3032 char **argv;
3034 main ()
3036 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3038 return 0;
3040 _ACEOF
3041 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3042 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3044 CC="$ac_save_CC $ac_arg"
3045 rm -f conftest.$ac_objext
3046 if { (ac_try="$ac_compile"
3047 case "(($ac_try" in
3048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3050 esac
3051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3052 (eval "$ac_compile") 2>conftest.er1
3053 ac_status=$?
3054 grep -v '^ *+' conftest.er1 >conftest.err
3055 rm -f conftest.er1
3056 cat conftest.err >&5
3057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3058 (exit $ac_status); } && {
3059 test -z "$ac_c_werror_flag" ||
3060 test ! -s conftest.err
3061 } && test -s conftest.$ac_objext; then
3062 ac_cv_prog_cc_c89=$ac_arg
3063 else
3064 echo "$as_me: failed program was:" >&5
3065 sed 's/^/| /' conftest.$ac_ext >&5
3070 rm -f core conftest.err conftest.$ac_objext
3071 test "x$ac_cv_prog_cc_c89" != "xno" && break
3072 done
3073 rm -f conftest.$ac_ext
3074 CC=$ac_save_CC
3077 # AC_CACHE_VAL
3078 case "x$ac_cv_prog_cc_c89" in
3080 { echo "$as_me:$LINENO: result: none needed" >&5
3081 echo "${ECHO_T}none needed" >&6; } ;;
3082 xno)
3083 { echo "$as_me:$LINENO: result: unsupported" >&5
3084 echo "${ECHO_T}unsupported" >&6; } ;;
3086 CC="$CC $ac_cv_prog_cc_c89"
3087 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3088 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3089 esac
3092 ac_ext=c
3093 ac_cpp='$CPP $CPPFLAGS'
3094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3097 DEPDIR="${am__leading_dot}deps"
3099 ac_config_commands="$ac_config_commands depfiles"
3102 am_make=${MAKE-make}
3103 cat > confinc << 'END'
3104 am__doit:
3105 @echo done
3106 .PHONY: am__doit
3108 # If we don't find an include directive, just comment out the code.
3109 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3110 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3111 am__include="#"
3112 am__quote=
3113 _am_result=none
3114 # First try GNU make style include.
3115 echo "include confinc" > confmf
3116 # We grep out `Entering directory' and `Leaving directory'
3117 # messages which can occur if `w' ends up in MAKEFLAGS.
3118 # In particular we don't look at `^make:' because GNU make might
3119 # be invoked under some other name (usually "gmake"), in which
3120 # case it prints its new name instead of `make'.
3121 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3122 am__include=include
3123 am__quote=
3124 _am_result=GNU
3126 # Now try BSD make style include.
3127 if test "$am__include" = "#"; then
3128 echo '.include "confinc"' > confmf
3129 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3130 am__include=.include
3131 am__quote="\""
3132 _am_result=BSD
3137 { echo "$as_me:$LINENO: result: $_am_result" >&5
3138 echo "${ECHO_T}$_am_result" >&6; }
3139 rm -f confinc confmf
3141 # Check whether --enable-dependency-tracking was given.
3142 if test "${enable_dependency_tracking+set}" = set; then
3143 enableval=$enable_dependency_tracking;
3146 if test "x$enable_dependency_tracking" != xno; then
3147 am_depcomp="$ac_aux_dir/depcomp"
3148 AMDEPBACKSLASH='\'
3150 if test "x$enable_dependency_tracking" != xno; then
3151 AMDEP_TRUE=
3152 AMDEP_FALSE='#'
3153 else
3154 AMDEP_TRUE='#'
3155 AMDEP_FALSE=
3160 depcc="$CC" am_compiler_list=
3162 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3163 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3164 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3165 echo $ECHO_N "(cached) $ECHO_C" >&6
3166 else
3167 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3168 # We make a subdir and do the tests there. Otherwise we can end up
3169 # making bogus files that we don't know about and never remove. For
3170 # instance it was reported that on HP-UX the gcc test will end up
3171 # making a dummy file named `D' -- because `-MD' means `put the output
3172 # in D'.
3173 mkdir conftest.dir
3174 # Copy depcomp to subdir because otherwise we won't find it if we're
3175 # using a relative directory.
3176 cp "$am_depcomp" conftest.dir
3177 cd conftest.dir
3178 # We will build objects and dependencies in a subdirectory because
3179 # it helps to detect inapplicable dependency modes. For instance
3180 # both Tru64's cc and ICC support -MD to output dependencies as a
3181 # side effect of compilation, but ICC will put the dependencies in
3182 # the current directory while Tru64 will put them in the object
3183 # directory.
3184 mkdir sub
3186 am_cv_CC_dependencies_compiler_type=none
3187 if test "$am_compiler_list" = ""; then
3188 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3190 for depmode in $am_compiler_list; do
3191 # Setup a source with many dependencies, because some compilers
3192 # like to wrap large dependency lists on column 80 (with \), and
3193 # we should not choose a depcomp mode which is confused by this.
3195 # We need to recreate these files for each test, as the compiler may
3196 # overwrite some of them when testing with obscure command lines.
3197 # This happens at least with the AIX C compiler.
3198 : > sub/conftest.c
3199 for i in 1 2 3 4 5 6; do
3200 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3201 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3202 # Solaris 8's {/usr,}/bin/sh.
3203 touch sub/conftst$i.h
3204 done
3205 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3207 case $depmode in
3208 nosideeffect)
3209 # after this tag, mechanisms are not by side-effect, so they'll
3210 # only be used when explicitly requested
3211 if test "x$enable_dependency_tracking" = xyes; then
3212 continue
3213 else
3214 break
3217 none) break ;;
3218 esac
3219 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3220 # mode. It turns out that the SunPro C++ compiler does not properly
3221 # handle `-M -o', and we need to detect this.
3222 if depmode=$depmode \
3223 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3224 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3225 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3226 >/dev/null 2>conftest.err &&
3227 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3228 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3229 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3230 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3231 # icc doesn't choke on unknown options, it will just issue warnings
3232 # or remarks (even with -Werror). So we grep stderr for any message
3233 # that says an option was ignored or not supported.
3234 # When given -MP, icc 7.0 and 7.1 complain thusly:
3235 # icc: Command line warning: ignoring option '-M'; no argument required
3236 # The diagnosis changed in icc 8.0:
3237 # icc: Command line remark: option '-MP' not supported
3238 if (grep 'ignoring option' conftest.err ||
3239 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3240 am_cv_CC_dependencies_compiler_type=$depmode
3241 break
3244 done
3246 cd ..
3247 rm -rf conftest.dir
3248 else
3249 am_cv_CC_dependencies_compiler_type=none
3253 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3254 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3255 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3258 test "x$enable_dependency_tracking" != xno \
3259 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3260 am__fastdepCC_TRUE=
3261 am__fastdepCC_FALSE='#'
3262 else
3263 am__fastdepCC_TRUE='#'
3264 am__fastdepCC_FALSE=
3268 ac_ext=cpp
3269 ac_cpp='$CXXCPP $CPPFLAGS'
3270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3273 if test -z "$CXX"; then
3274 if test -n "$CCC"; then
3275 CXX=$CCC
3276 else
3277 if test -n "$ac_tool_prefix"; then
3278 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3280 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3281 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3284 if test "${ac_cv_prog_CXX+set}" = set; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6
3286 else
3287 if test -n "$CXX"; then
3288 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3289 else
3290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3291 for as_dir in $PATH
3293 IFS=$as_save_IFS
3294 test -z "$as_dir" && as_dir=.
3295 for ac_exec_ext in '' $ac_executable_extensions; do
3296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3297 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3299 break 2
3301 done
3302 done
3303 IFS=$as_save_IFS
3307 CXX=$ac_cv_prog_CXX
3308 if test -n "$CXX"; then
3309 { echo "$as_me:$LINENO: result: $CXX" >&5
3310 echo "${ECHO_T}$CXX" >&6; }
3311 else
3312 { echo "$as_me:$LINENO: result: no" >&5
3313 echo "${ECHO_T}no" >&6; }
3317 test -n "$CXX" && break
3318 done
3320 if test -z "$CXX"; then
3321 ac_ct_CXX=$CXX
3322 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3324 # Extract the first word of "$ac_prog", so it can be a program name with args.
3325 set dummy $ac_prog; ac_word=$2
3326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3328 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3329 echo $ECHO_N "(cached) $ECHO_C" >&6
3330 else
3331 if test -n "$ac_ct_CXX"; then
3332 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3333 else
3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3335 for as_dir in $PATH
3337 IFS=$as_save_IFS
3338 test -z "$as_dir" && as_dir=.
3339 for ac_exec_ext in '' $ac_executable_extensions; do
3340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3341 ac_cv_prog_ac_ct_CXX="$ac_prog"
3342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3343 break 2
3345 done
3346 done
3347 IFS=$as_save_IFS
3351 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3352 if test -n "$ac_ct_CXX"; then
3353 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3354 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3355 else
3356 { echo "$as_me:$LINENO: result: no" >&5
3357 echo "${ECHO_T}no" >&6; }
3361 test -n "$ac_ct_CXX" && break
3362 done
3364 if test "x$ac_ct_CXX" = x; then
3365 CXX="g++"
3366 else
3367 case $cross_compiling:$ac_tool_warned in
3368 yes:)
3369 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3370 whose name does not start with the host triplet. If you think this
3371 configuration is useful to you, please write to autoconf@gnu.org." >&5
3372 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3373 whose name does not start with the host triplet. If you think this
3374 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3375 ac_tool_warned=yes ;;
3376 esac
3377 CXX=$ac_ct_CXX
3383 # Provide some information about the compiler.
3384 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3385 ac_compiler=`set X $ac_compile; echo $2`
3386 { (ac_try="$ac_compiler --version >&5"
3387 case "(($ac_try" in
3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389 *) ac_try_echo=$ac_try;;
3390 esac
3391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3392 (eval "$ac_compiler --version >&5") 2>&5
3393 ac_status=$?
3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3395 (exit $ac_status); }
3396 { (ac_try="$ac_compiler -v >&5"
3397 case "(($ac_try" in
3398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399 *) ac_try_echo=$ac_try;;
3400 esac
3401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3402 (eval "$ac_compiler -v >&5") 2>&5
3403 ac_status=$?
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); }
3406 { (ac_try="$ac_compiler -V >&5"
3407 case "(($ac_try" in
3408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3409 *) ac_try_echo=$ac_try;;
3410 esac
3411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3412 (eval "$ac_compiler -V >&5") 2>&5
3413 ac_status=$?
3414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); }
3417 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3418 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3419 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3420 echo $ECHO_N "(cached) $ECHO_C" >&6
3421 else
3422 cat >conftest.$ac_ext <<_ACEOF
3423 /* confdefs.h. */
3424 _ACEOF
3425 cat confdefs.h >>conftest.$ac_ext
3426 cat >>conftest.$ac_ext <<_ACEOF
3427 /* end confdefs.h. */
3430 main ()
3432 #ifndef __GNUC__
3433 choke me
3434 #endif
3437 return 0;
3439 _ACEOF
3440 rm -f conftest.$ac_objext
3441 if { (ac_try="$ac_compile"
3442 case "(($ac_try" in
3443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3444 *) ac_try_echo=$ac_try;;
3445 esac
3446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3447 (eval "$ac_compile") 2>conftest.er1
3448 ac_status=$?
3449 grep -v '^ *+' conftest.er1 >conftest.err
3450 rm -f conftest.er1
3451 cat conftest.err >&5
3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); } && {
3454 test -z "$ac_cxx_werror_flag" ||
3455 test ! -s conftest.err
3456 } && test -s conftest.$ac_objext; then
3457 ac_compiler_gnu=yes
3458 else
3459 echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.$ac_ext >&5
3462 ac_compiler_gnu=no
3465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3469 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3470 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3471 GXX=`test $ac_compiler_gnu = yes && echo yes`
3472 ac_test_CXXFLAGS=${CXXFLAGS+set}
3473 ac_save_CXXFLAGS=$CXXFLAGS
3474 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3475 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3476 if test "${ac_cv_prog_cxx_g+set}" = set; then
3477 echo $ECHO_N "(cached) $ECHO_C" >&6
3478 else
3479 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3480 ac_cxx_werror_flag=yes
3481 ac_cv_prog_cxx_g=no
3482 CXXFLAGS="-g"
3483 cat >conftest.$ac_ext <<_ACEOF
3484 /* confdefs.h. */
3485 _ACEOF
3486 cat confdefs.h >>conftest.$ac_ext
3487 cat >>conftest.$ac_ext <<_ACEOF
3488 /* end confdefs.h. */
3491 main ()
3495 return 0;
3497 _ACEOF
3498 rm -f conftest.$ac_objext
3499 if { (ac_try="$ac_compile"
3500 case "(($ac_try" in
3501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502 *) ac_try_echo=$ac_try;;
3503 esac
3504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3505 (eval "$ac_compile") 2>conftest.er1
3506 ac_status=$?
3507 grep -v '^ *+' conftest.er1 >conftest.err
3508 rm -f conftest.er1
3509 cat conftest.err >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } && {
3512 test -z "$ac_cxx_werror_flag" ||
3513 test ! -s conftest.err
3514 } && test -s conftest.$ac_objext; then
3515 ac_cv_prog_cxx_g=yes
3516 else
3517 echo "$as_me: failed program was:" >&5
3518 sed 's/^/| /' conftest.$ac_ext >&5
3520 CXXFLAGS=""
3521 cat >conftest.$ac_ext <<_ACEOF
3522 /* confdefs.h. */
3523 _ACEOF
3524 cat confdefs.h >>conftest.$ac_ext
3525 cat >>conftest.$ac_ext <<_ACEOF
3526 /* end confdefs.h. */
3529 main ()
3533 return 0;
3535 _ACEOF
3536 rm -f conftest.$ac_objext
3537 if { (ac_try="$ac_compile"
3538 case "(($ac_try" in
3539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3540 *) ac_try_echo=$ac_try;;
3541 esac
3542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3543 (eval "$ac_compile") 2>conftest.er1
3544 ac_status=$?
3545 grep -v '^ *+' conftest.er1 >conftest.err
3546 rm -f conftest.er1
3547 cat conftest.err >&5
3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); } && {
3550 test -z "$ac_cxx_werror_flag" ||
3551 test ! -s conftest.err
3552 } && test -s conftest.$ac_objext; then
3554 else
3555 echo "$as_me: failed program was:" >&5
3556 sed 's/^/| /' conftest.$ac_ext >&5
3558 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3559 CXXFLAGS="-g"
3560 cat >conftest.$ac_ext <<_ACEOF
3561 /* confdefs.h. */
3562 _ACEOF
3563 cat confdefs.h >>conftest.$ac_ext
3564 cat >>conftest.$ac_ext <<_ACEOF
3565 /* end confdefs.h. */
3568 main ()
3572 return 0;
3574 _ACEOF
3575 rm -f conftest.$ac_objext
3576 if { (ac_try="$ac_compile"
3577 case "(($ac_try" in
3578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3579 *) ac_try_echo=$ac_try;;
3580 esac
3581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3582 (eval "$ac_compile") 2>conftest.er1
3583 ac_status=$?
3584 grep -v '^ *+' conftest.er1 >conftest.err
3585 rm -f conftest.er1
3586 cat conftest.err >&5
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); } && {
3589 test -z "$ac_cxx_werror_flag" ||
3590 test ! -s conftest.err
3591 } && test -s conftest.$ac_objext; then
3592 ac_cv_prog_cxx_g=yes
3593 else
3594 echo "$as_me: failed program was:" >&5
3595 sed 's/^/| /' conftest.$ac_ext >&5
3600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3609 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3610 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3611 if test "$ac_test_CXXFLAGS" = set; then
3612 CXXFLAGS=$ac_save_CXXFLAGS
3613 elif test $ac_cv_prog_cxx_g = yes; then
3614 if test "$GXX" = yes; then
3615 CXXFLAGS="-g -O2"
3616 else
3617 CXXFLAGS="-g"
3619 else
3620 if test "$GXX" = yes; then
3621 CXXFLAGS="-O2"
3622 else
3623 CXXFLAGS=
3626 ac_ext=c
3627 ac_cpp='$CPP $CPPFLAGS'
3628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3632 depcc="$CXX" am_compiler_list=
3634 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3635 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3636 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3637 echo $ECHO_N "(cached) $ECHO_C" >&6
3638 else
3639 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3640 # We make a subdir and do the tests there. Otherwise we can end up
3641 # making bogus files that we don't know about and never remove. For
3642 # instance it was reported that on HP-UX the gcc test will end up
3643 # making a dummy file named `D' -- because `-MD' means `put the output
3644 # in D'.
3645 mkdir conftest.dir
3646 # Copy depcomp to subdir because otherwise we won't find it if we're
3647 # using a relative directory.
3648 cp "$am_depcomp" conftest.dir
3649 cd conftest.dir
3650 # We will build objects and dependencies in a subdirectory because
3651 # it helps to detect inapplicable dependency modes. For instance
3652 # both Tru64's cc and ICC support -MD to output dependencies as a
3653 # side effect of compilation, but ICC will put the dependencies in
3654 # the current directory while Tru64 will put them in the object
3655 # directory.
3656 mkdir sub
3658 am_cv_CXX_dependencies_compiler_type=none
3659 if test "$am_compiler_list" = ""; then
3660 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3662 for depmode in $am_compiler_list; do
3663 # Setup a source with many dependencies, because some compilers
3664 # like to wrap large dependency lists on column 80 (with \), and
3665 # we should not choose a depcomp mode which is confused by this.
3667 # We need to recreate these files for each test, as the compiler may
3668 # overwrite some of them when testing with obscure command lines.
3669 # This happens at least with the AIX C compiler.
3670 : > sub/conftest.c
3671 for i in 1 2 3 4 5 6; do
3672 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3673 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3674 # Solaris 8's {/usr,}/bin/sh.
3675 touch sub/conftst$i.h
3676 done
3677 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3679 case $depmode in
3680 nosideeffect)
3681 # after this tag, mechanisms are not by side-effect, so they'll
3682 # only be used when explicitly requested
3683 if test "x$enable_dependency_tracking" = xyes; then
3684 continue
3685 else
3686 break
3689 none) break ;;
3690 esac
3691 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3692 # mode. It turns out that the SunPro C++ compiler does not properly
3693 # handle `-M -o', and we need to detect this.
3694 if depmode=$depmode \
3695 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3696 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3697 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3698 >/dev/null 2>conftest.err &&
3699 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3700 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3701 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3702 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3703 # icc doesn't choke on unknown options, it will just issue warnings
3704 # or remarks (even with -Werror). So we grep stderr for any message
3705 # that says an option was ignored or not supported.
3706 # When given -MP, icc 7.0 and 7.1 complain thusly:
3707 # icc: Command line warning: ignoring option '-M'; no argument required
3708 # The diagnosis changed in icc 8.0:
3709 # icc: Command line remark: option '-MP' not supported
3710 if (grep 'ignoring option' conftest.err ||
3711 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3712 am_cv_CXX_dependencies_compiler_type=$depmode
3713 break
3716 done
3718 cd ..
3719 rm -rf conftest.dir
3720 else
3721 am_cv_CXX_dependencies_compiler_type=none
3725 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3726 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3727 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3730 test "x$enable_dependency_tracking" != xno \
3731 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3732 am__fastdepCXX_TRUE=
3733 am__fastdepCXX_FALSE='#'
3734 else
3735 am__fastdepCXX_TRUE='#'
3736 am__fastdepCXX_FALSE=
3740 ac_config_headers="$ac_config_headers config.h"
3742 ac_config_files="$ac_config_files Makefile"
3745 cat >confcache <<\_ACEOF
3746 # This file is a shell script that caches the results of configure
3747 # tests run on this system so they can be shared between configure
3748 # scripts and configure runs, see configure's option --config-cache.
3749 # It is not useful on other systems. If it contains results you don't
3750 # want to keep, you may remove or edit it.
3752 # config.status only pays attention to the cache file if you give it
3753 # the --recheck option to rerun configure.
3755 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3756 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3757 # following values.
3759 _ACEOF
3761 # The following way of writing the cache mishandles newlines in values,
3762 # but we know of no workaround that is simple, portable, and efficient.
3763 # So, we kill variables containing newlines.
3764 # Ultrix sh set writes to stderr and can't be redirected directly,
3765 # and sets the high bit in the cache file unless we assign to the vars.
3767 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3768 eval ac_val=\$$ac_var
3769 case $ac_val in #(
3770 *${as_nl}*)
3771 case $ac_var in #(
3772 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
3773 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
3774 esac
3775 case $ac_var in #(
3776 _ | IFS | as_nl) ;; #(
3777 *) $as_unset $ac_var ;;
3778 esac ;;
3779 esac
3780 done
3782 (set) 2>&1 |
3783 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3784 *${as_nl}ac_space=\ *)
3785 # `set' does not quote correctly, so add quotes (double-quote
3786 # substitution turns \\\\ into \\, and sed turns \\ into \).
3787 sed -n \
3788 "s/'/'\\\\''/g;
3789 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3790 ;; #(
3792 # `set' quotes correctly as required by POSIX, so do not add quotes.
3793 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3795 esac |
3796 sort
3798 sed '
3799 /^ac_cv_env_/b end
3800 t clear
3801 :clear
3802 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3803 t end
3804 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3805 :end' >>confcache
3806 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3807 if test -w "$cache_file"; then
3808 test "x$cache_file" != "x/dev/null" &&
3809 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
3810 echo "$as_me: updating cache $cache_file" >&6;}
3811 cat confcache >$cache_file
3812 else
3813 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
3814 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3817 rm -f confcache
3819 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3820 # Let make expand exec_prefix.
3821 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3823 DEFS=-DHAVE_CONFIG_H
3825 ac_libobjs=
3826 ac_ltlibobjs=
3827 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3828 # 1. Remove the extension, and $U if already installed.
3829 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3830 ac_i=`echo "$ac_i" | sed "$ac_script"`
3831 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3832 # will be set to the directory where LIBOBJS objects are built.
3833 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3834 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
3835 done
3836 LIBOBJS=$ac_libobjs
3838 LTLIBOBJS=$ac_ltlibobjs
3841 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3842 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3843 Usually this means the macro was only invoked conditionally." >&5
3844 echo "$as_me: error: conditional \"AMDEP\" was never defined.
3845 Usually this means the macro was only invoked conditionally." >&2;}
3846 { (exit 1); exit 1; }; }
3848 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3849 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3850 Usually this means the macro was only invoked conditionally." >&5
3851 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3852 Usually this means the macro was only invoked conditionally." >&2;}
3853 { (exit 1); exit 1; }; }
3855 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
3856 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
3857 Usually this means the macro was only invoked conditionally." >&5
3858 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
3859 Usually this means the macro was only invoked conditionally." >&2;}
3860 { (exit 1); exit 1; }; }
3863 : ${CONFIG_STATUS=./config.status}
3864 ac_clean_files_save=$ac_clean_files
3865 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3866 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3867 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3868 cat >$CONFIG_STATUS <<_ACEOF
3869 #! $SHELL
3870 # Generated by $as_me.
3871 # Run this file to recreate the current configuration.
3872 # Compiler output produced by configure, useful for debugging
3873 # configure, is in config.log if it exists.
3875 debug=false
3876 ac_cs_recheck=false
3877 ac_cs_silent=false
3878 SHELL=\${CONFIG_SHELL-$SHELL}
3879 _ACEOF
3881 cat >>$CONFIG_STATUS <<\_ACEOF
3882 ## --------------------- ##
3883 ## M4sh Initialization. ##
3884 ## --------------------- ##
3886 # Be more Bourne compatible
3887 DUALCASE=1; export DUALCASE # for MKS sh
3888 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3889 emulate sh
3890 NULLCMD=:
3891 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3892 # is contrary to our usage. Disable this feature.
3893 alias -g '${1+"$@"}'='"$@"'
3894 setopt NO_GLOB_SUBST
3895 else
3896 case `(set -o) 2>/dev/null` in
3897 *posix*) set -o posix ;;
3898 esac
3905 # PATH needs CR
3906 # Avoid depending upon Character Ranges.
3907 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3908 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3909 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3910 as_cr_digits='0123456789'
3911 as_cr_alnum=$as_cr_Letters$as_cr_digits
3913 # The user is always right.
3914 if test "${PATH_SEPARATOR+set}" != set; then
3915 echo "#! /bin/sh" >conf$$.sh
3916 echo "exit 0" >>conf$$.sh
3917 chmod +x conf$$.sh
3918 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3919 PATH_SEPARATOR=';'
3920 else
3921 PATH_SEPARATOR=:
3923 rm -f conf$$.sh
3926 # Support unset when possible.
3927 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3928 as_unset=unset
3929 else
3930 as_unset=false
3934 # IFS
3935 # We need space, tab and new line, in precisely that order. Quoting is
3936 # there to prevent editors from complaining about space-tab.
3937 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3938 # splitting by setting IFS to empty value.)
3939 as_nl='
3941 IFS=" "" $as_nl"
3943 # Find who we are. Look in the path if we contain no directory separator.
3944 case $0 in
3945 *[\\/]* ) as_myself=$0 ;;
3946 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3947 for as_dir in $PATH
3949 IFS=$as_save_IFS
3950 test -z "$as_dir" && as_dir=.
3951 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3952 done
3953 IFS=$as_save_IFS
3956 esac
3957 # We did not find ourselves, most probably we were run as `sh COMMAND'
3958 # in which case we are not to be found in the path.
3959 if test "x$as_myself" = x; then
3960 as_myself=$0
3962 if test ! -f "$as_myself"; then
3963 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3964 { (exit 1); exit 1; }
3967 # Work around bugs in pre-3.0 UWIN ksh.
3968 for as_var in ENV MAIL MAILPATH
3969 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3970 done
3971 PS1='$ '
3972 PS2='> '
3973 PS4='+ '
3975 # NLS nuisances.
3976 for as_var in \
3977 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3978 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3979 LC_TELEPHONE LC_TIME
3981 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3982 eval $as_var=C; export $as_var
3983 else
3984 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3986 done
3988 # Required to use basename.
3989 if expr a : '\(a\)' >/dev/null 2>&1 &&
3990 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3991 as_expr=expr
3992 else
3993 as_expr=false
3996 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3997 as_basename=basename
3998 else
3999 as_basename=false
4003 # Name of the executable.
4004 as_me=`$as_basename -- "$0" ||
4005 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4006 X"$0" : 'X\(//\)$' \| \
4007 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4008 echo X/"$0" |
4009 sed '/^.*\/\([^/][^/]*\)\/*$/{
4010 s//\1/
4013 /^X\/\(\/\/\)$/{
4014 s//\1/
4017 /^X\/\(\/\).*/{
4018 s//\1/
4021 s/.*/./; q'`
4023 # CDPATH.
4024 $as_unset CDPATH
4028 as_lineno_1=$LINENO
4029 as_lineno_2=$LINENO
4030 test "x$as_lineno_1" != "x$as_lineno_2" &&
4031 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4033 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4034 # uniformly replaced by the line number. The first 'sed' inserts a
4035 # line-number line after each line using $LINENO; the second 'sed'
4036 # does the real work. The second script uses 'N' to pair each
4037 # line-number line with the line containing $LINENO, and appends
4038 # trailing '-' during substitution so that $LINENO is not a special
4039 # case at line end.
4040 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4041 # scripts with optimization help from Paolo Bonzini. Blame Lee
4042 # E. McMahon (1931-1989) for sed's syntax. :-)
4043 sed -n '
4045 /[$]LINENO/=
4046 ' <$as_myself |
4047 sed '
4048 s/[$]LINENO.*/&-/
4049 t lineno
4051 :lineno
4053 :loop
4054 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4055 t loop
4056 s/-\n.*//
4057 ' >$as_me.lineno &&
4058 chmod +x "$as_me.lineno" ||
4059 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4060 { (exit 1); exit 1; }; }
4062 # Don't try to exec as it changes $[0], causing all sort of problems
4063 # (the dirname of $[0] is not the place where we might find the
4064 # original and so on. Autoconf is especially sensitive to this).
4065 . "./$as_me.lineno"
4066 # Exit status is that of the last command.
4067 exit
4071 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4072 as_dirname=dirname
4073 else
4074 as_dirname=false
4077 ECHO_C= ECHO_N= ECHO_T=
4078 case `echo -n x` in
4079 -n*)
4080 case `echo 'x\c'` in
4081 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4082 *) ECHO_C='\c';;
4083 esac;;
4085 ECHO_N='-n';;
4086 esac
4088 if expr a : '\(a\)' >/dev/null 2>&1 &&
4089 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4090 as_expr=expr
4091 else
4092 as_expr=false
4095 rm -f conf$$ conf$$.exe conf$$.file
4096 if test -d conf$$.dir; then
4097 rm -f conf$$.dir/conf$$.file
4098 else
4099 rm -f conf$$.dir
4100 mkdir conf$$.dir
4102 echo >conf$$.file
4103 if ln -s conf$$.file conf$$ 2>/dev/null; then
4104 as_ln_s='ln -s'
4105 # ... but there are two gotchas:
4106 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4107 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4108 # In both cases, we have to default to `cp -p'.
4109 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4110 as_ln_s='cp -p'
4111 elif ln conf$$.file conf$$ 2>/dev/null; then
4112 as_ln_s=ln
4113 else
4114 as_ln_s='cp -p'
4116 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4117 rmdir conf$$.dir 2>/dev/null
4119 if mkdir -p . 2>/dev/null; then
4120 as_mkdir_p=:
4121 else
4122 test -d ./-p && rmdir ./-p
4123 as_mkdir_p=false
4126 if test -x / >/dev/null 2>&1; then
4127 as_test_x='test -x'
4128 else
4129 if ls -dL / >/dev/null 2>&1; then
4130 as_ls_L_option=L
4131 else
4132 as_ls_L_option=
4134 as_test_x='
4135 eval sh -c '\''
4136 if test -d "$1"; then
4137 test -d "$1/.";
4138 else
4139 case $1 in
4140 -*)set "./$1";;
4141 esac;
4142 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4143 ???[sx]*):;;*)false;;esac;fi
4144 '\'' sh
4147 as_executable_p=$as_test_x
4149 # Sed expression to map a string onto a valid CPP name.
4150 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4152 # Sed expression to map a string onto a valid variable name.
4153 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4156 exec 6>&1
4158 # Save the log message, to keep $[0] and so on meaningful, and to
4159 # report actual input values of CONFIG_FILES etc. instead of their
4160 # values after options handling.
4161 ac_log="
4162 This file was extended by cluster_expansion $as_me 0.1, which was
4163 generated by GNU Autoconf 2.61. Invocation command line was
4165 CONFIG_FILES = $CONFIG_FILES
4166 CONFIG_HEADERS = $CONFIG_HEADERS
4167 CONFIG_LINKS = $CONFIG_LINKS
4168 CONFIG_COMMANDS = $CONFIG_COMMANDS
4169 $ $0 $@
4171 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4174 _ACEOF
4176 cat >>$CONFIG_STATUS <<_ACEOF
4177 # Files that config.status was made for.
4178 config_files="$ac_config_files"
4179 config_headers="$ac_config_headers"
4180 config_commands="$ac_config_commands"
4182 _ACEOF
4184 cat >>$CONFIG_STATUS <<\_ACEOF
4185 ac_cs_usage="\
4186 \`$as_me' instantiates files from templates according to the
4187 current configuration.
4189 Usage: $0 [OPTIONS] [FILE]...
4191 -h, --help print this help, then exit
4192 -V, --version print version number and configuration settings, then exit
4193 -q, --quiet do not print progress messages
4194 -d, --debug don't remove temporary files
4195 --recheck update $as_me by reconfiguring in the same conditions
4196 --file=FILE[:TEMPLATE]
4197 instantiate the configuration file FILE
4198 --header=FILE[:TEMPLATE]
4199 instantiate the configuration header FILE
4201 Configuration files:
4202 $config_files
4204 Configuration headers:
4205 $config_headers
4207 Configuration commands:
4208 $config_commands
4210 Report bugs to <bug-autoconf@gnu.org>."
4212 _ACEOF
4213 cat >>$CONFIG_STATUS <<_ACEOF
4214 ac_cs_version="\\
4215 cluster_expansion config.status 0.1
4216 configured by $0, generated by GNU Autoconf 2.61,
4217 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4219 Copyright (C) 2006 Free Software Foundation, Inc.
4220 This config.status script is free software; the Free Software Foundation
4221 gives unlimited permission to copy, distribute and modify it."
4223 ac_pwd='$ac_pwd'
4224 srcdir='$srcdir'
4225 INSTALL='$INSTALL'
4226 MKDIR_P='$MKDIR_P'
4227 _ACEOF
4229 cat >>$CONFIG_STATUS <<\_ACEOF
4230 # If no file are specified by the user, then we need to provide default
4231 # value. By we need to know if files were specified by the user.
4232 ac_need_defaults=:
4233 while test $# != 0
4235 case $1 in
4236 --*=*)
4237 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4238 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4239 ac_shift=:
4242 ac_option=$1
4243 ac_optarg=$2
4244 ac_shift=shift
4246 esac
4248 case $ac_option in
4249 # Handling of the options.
4250 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4251 ac_cs_recheck=: ;;
4252 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4253 echo "$ac_cs_version"; exit ;;
4254 --debug | --debu | --deb | --de | --d | -d )
4255 debug=: ;;
4256 --file | --fil | --fi | --f )
4257 $ac_shift
4258 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4259 ac_need_defaults=false;;
4260 --header | --heade | --head | --hea )
4261 $ac_shift
4262 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4263 ac_need_defaults=false;;
4264 --he | --h)
4265 # Conflict between --help and --header
4266 { echo "$as_me: error: ambiguous option: $1
4267 Try \`$0 --help' for more information." >&2
4268 { (exit 1); exit 1; }; };;
4269 --help | --hel | -h )
4270 echo "$ac_cs_usage"; exit ;;
4271 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4272 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4273 ac_cs_silent=: ;;
4275 # This is an error.
4276 -*) { echo "$as_me: error: unrecognized option: $1
4277 Try \`$0 --help' for more information." >&2
4278 { (exit 1); exit 1; }; } ;;
4280 *) ac_config_targets="$ac_config_targets $1"
4281 ac_need_defaults=false ;;
4283 esac
4284 shift
4285 done
4287 ac_configure_extra_args=
4289 if $ac_cs_silent; then
4290 exec 6>/dev/null
4291 ac_configure_extra_args="$ac_configure_extra_args --silent"
4294 _ACEOF
4295 cat >>$CONFIG_STATUS <<_ACEOF
4296 if \$ac_cs_recheck; then
4297 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4298 CONFIG_SHELL=$SHELL
4299 export CONFIG_SHELL
4300 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4303 _ACEOF
4304 cat >>$CONFIG_STATUS <<\_ACEOF
4305 exec 5>>config.log
4307 echo
4308 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4309 ## Running $as_me. ##
4310 _ASBOX
4311 echo "$ac_log"
4312 } >&5
4314 _ACEOF
4315 cat >>$CONFIG_STATUS <<_ACEOF
4317 # INIT-COMMANDS
4319 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4321 _ACEOF
4323 cat >>$CONFIG_STATUS <<\_ACEOF
4325 # Handling of arguments.
4326 for ac_config_target in $ac_config_targets
4328 case $ac_config_target in
4329 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4330 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4331 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4333 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4334 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4335 { (exit 1); exit 1; }; };;
4336 esac
4337 done
4340 # If the user did not use the arguments to specify the items to instantiate,
4341 # then the envvar interface is used. Set only those that are not.
4342 # We use the long form for the default assignment because of an extremely
4343 # bizarre bug on SunOS 4.1.3.
4344 if $ac_need_defaults; then
4345 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4346 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4347 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4350 # Have a temporary directory for convenience. Make it in the build tree
4351 # simply because there is no reason against having it here, and in addition,
4352 # creating and moving files from /tmp can sometimes cause problems.
4353 # Hook for its removal unless debugging.
4354 # Note that there is a small window in which the directory will not be cleaned:
4355 # after its creation but before its name has been assigned to `$tmp'.
4356 $debug ||
4358 tmp=
4359 trap 'exit_status=$?
4360 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4362 trap '{ (exit 1); exit 1; }' 1 2 13 15
4364 # Create a (secure) tmp directory for tmp files.
4367 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4368 test -n "$tmp" && test -d "$tmp"
4369 } ||
4371 tmp=./conf$$-$RANDOM
4372 (umask 077 && mkdir "$tmp")
4373 } ||
4375 echo "$me: cannot create a temporary directory in ." >&2
4376 { (exit 1); exit 1; }
4380 # Set up the sed scripts for CONFIG_FILES section.
4383 # No need to generate the scripts if there are no CONFIG_FILES.
4384 # This happens for instance when ./config.status config.h
4385 if test -n "$CONFIG_FILES"; then
4387 _ACEOF
4391 ac_delim='%!_!# '
4392 for ac_last_try in false false false false false :; do
4393 cat >conf$$subs.sed <<_ACEOF
4394 SHELL!$SHELL$ac_delim
4395 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4396 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4397 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4398 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4399 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4400 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4401 exec_prefix!$exec_prefix$ac_delim
4402 prefix!$prefix$ac_delim
4403 program_transform_name!$program_transform_name$ac_delim
4404 bindir!$bindir$ac_delim
4405 sbindir!$sbindir$ac_delim
4406 libexecdir!$libexecdir$ac_delim
4407 datarootdir!$datarootdir$ac_delim
4408 datadir!$datadir$ac_delim
4409 sysconfdir!$sysconfdir$ac_delim
4410 sharedstatedir!$sharedstatedir$ac_delim
4411 localstatedir!$localstatedir$ac_delim
4412 includedir!$includedir$ac_delim
4413 oldincludedir!$oldincludedir$ac_delim
4414 docdir!$docdir$ac_delim
4415 infodir!$infodir$ac_delim
4416 htmldir!$htmldir$ac_delim
4417 dvidir!$dvidir$ac_delim
4418 pdfdir!$pdfdir$ac_delim
4419 psdir!$psdir$ac_delim
4420 libdir!$libdir$ac_delim
4421 localedir!$localedir$ac_delim
4422 mandir!$mandir$ac_delim
4423 DEFS!$DEFS$ac_delim
4424 ECHO_C!$ECHO_C$ac_delim
4425 ECHO_N!$ECHO_N$ac_delim
4426 ECHO_T!$ECHO_T$ac_delim
4427 LIBS!$LIBS$ac_delim
4428 build_alias!$build_alias$ac_delim
4429 host_alias!$host_alias$ac_delim
4430 target_alias!$target_alias$ac_delim
4431 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4432 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4433 INSTALL_DATA!$INSTALL_DATA$ac_delim
4434 am__isrc!$am__isrc$ac_delim
4435 CYGPATH_W!$CYGPATH_W$ac_delim
4436 PACKAGE!$PACKAGE$ac_delim
4437 VERSION!$VERSION$ac_delim
4438 ACLOCAL!$ACLOCAL$ac_delim
4439 AUTOCONF!$AUTOCONF$ac_delim
4440 AUTOMAKE!$AUTOMAKE$ac_delim
4441 AUTOHEADER!$AUTOHEADER$ac_delim
4442 MAKEINFO!$MAKEINFO$ac_delim
4443 install_sh!$install_sh$ac_delim
4444 STRIP!$STRIP$ac_delim
4445 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4446 mkdir_p!$mkdir_p$ac_delim
4447 AWK!$AWK$ac_delim
4448 SET_MAKE!$SET_MAKE$ac_delim
4449 am__leading_dot!$am__leading_dot$ac_delim
4450 AMTAR!$AMTAR$ac_delim
4451 am__tar!$am__tar$ac_delim
4452 am__untar!$am__untar$ac_delim
4453 CC!$CC$ac_delim
4454 CFLAGS!$CFLAGS$ac_delim
4455 LDFLAGS!$LDFLAGS$ac_delim
4456 CPPFLAGS!$CPPFLAGS$ac_delim
4457 ac_ct_CC!$ac_ct_CC$ac_delim
4458 EXEEXT!$EXEEXT$ac_delim
4459 OBJEXT!$OBJEXT$ac_delim
4460 DEPDIR!$DEPDIR$ac_delim
4461 am__include!$am__include$ac_delim
4462 am__quote!$am__quote$ac_delim
4463 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4464 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4465 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4466 CCDEPMODE!$CCDEPMODE$ac_delim
4467 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4468 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4469 CXX!$CXX$ac_delim
4470 CXXFLAGS!$CXXFLAGS$ac_delim
4471 ac_ct_CXX!$ac_ct_CXX$ac_delim
4472 CXXDEPMODE!$CXXDEPMODE$ac_delim
4473 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
4474 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
4475 LIBOBJS!$LIBOBJS$ac_delim
4476 LTLIBOBJS!$LTLIBOBJS$ac_delim
4477 _ACEOF
4479 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then
4480 break
4481 elif $ac_last_try; then
4482 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4483 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4484 { (exit 1); exit 1; }; }
4485 else
4486 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4488 done
4490 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4491 if test -n "$ac_eof"; then
4492 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4493 ac_eof=`expr $ac_eof + 1`
4496 cat >>$CONFIG_STATUS <<_ACEOF
4497 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4498 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4499 _ACEOF
4500 sed '
4501 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4502 s/^/s,@/; s/!/@,|#_!!_#|/
4505 s/'"$ac_delim"'$/,g/; t
4506 s/$/\\/; p
4507 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4508 ' >>$CONFIG_STATUS <conf$$subs.sed
4509 rm -f conf$$subs.sed
4510 cat >>$CONFIG_STATUS <<_ACEOF
4511 :end
4512 s/|#_!!_#|//g
4513 CEOF$ac_eof
4514 _ACEOF
4517 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4518 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4519 # trailing colons and then remove the whole line if VPATH becomes empty
4520 # (actually we leave an empty line to preserve line numbers).
4521 if test "x$srcdir" = x.; then
4522 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4523 s/:*\$(srcdir):*/:/
4524 s/:*\${srcdir}:*/:/
4525 s/:*@srcdir@:*/:/
4526 s/^\([^=]*=[ ]*\):*/\1/
4527 s/:*$//
4528 s/^[^=]*=[ ]*$//
4532 cat >>$CONFIG_STATUS <<\_ACEOF
4533 fi # test -n "$CONFIG_FILES"
4536 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
4538 case $ac_tag in
4539 :[FHLC]) ac_mode=$ac_tag; continue;;
4540 esac
4541 case $ac_mode$ac_tag in
4542 :[FHL]*:*);;
4543 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4544 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4545 { (exit 1); exit 1; }; };;
4546 :[FH]-) ac_tag=-:-;;
4547 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4548 esac
4549 ac_save_IFS=$IFS
4550 IFS=:
4551 set x $ac_tag
4552 IFS=$ac_save_IFS
4553 shift
4554 ac_file=$1
4555 shift
4557 case $ac_mode in
4558 :L) ac_source=$1;;
4559 :[FH])
4560 ac_file_inputs=
4561 for ac_f
4563 case $ac_f in
4564 -) ac_f="$tmp/stdin";;
4565 *) # Look for the file first in the build tree, then in the source tree
4566 # (if the path is not absolute). The absolute path cannot be DOS-style,
4567 # because $ac_f cannot contain `:'.
4568 test -f "$ac_f" ||
4569 case $ac_f in
4570 [\\/$]*) false;;
4571 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4572 esac ||
4573 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4574 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4575 { (exit 1); exit 1; }; };;
4576 esac
4577 ac_file_inputs="$ac_file_inputs $ac_f"
4578 done
4580 # Let's still pretend it is `configure' which instantiates (i.e., don't
4581 # use $as_me), people would be surprised to read:
4582 # /* config.h. Generated by config.status. */
4583 configure_input="Generated from "`IFS=:
4584 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4585 if test x"$ac_file" != x-; then
4586 configure_input="$ac_file. $configure_input"
4587 { echo "$as_me:$LINENO: creating $ac_file" >&5
4588 echo "$as_me: creating $ac_file" >&6;}
4591 case $ac_tag in
4592 *:-:* | *:-) cat >"$tmp/stdin";;
4593 esac
4595 esac
4597 ac_dir=`$as_dirname -- "$ac_file" ||
4598 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4599 X"$ac_file" : 'X\(//\)[^/]' \| \
4600 X"$ac_file" : 'X\(//\)$' \| \
4601 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4602 echo X"$ac_file" |
4603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4604 s//\1/
4607 /^X\(\/\/\)[^/].*/{
4608 s//\1/
4611 /^X\(\/\/\)$/{
4612 s//\1/
4615 /^X\(\/\).*/{
4616 s//\1/
4619 s/.*/./; q'`
4620 { as_dir="$ac_dir"
4621 case $as_dir in #(
4622 -*) as_dir=./$as_dir;;
4623 esac
4624 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4625 as_dirs=
4626 while :; do
4627 case $as_dir in #(
4628 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4629 *) as_qdir=$as_dir;;
4630 esac
4631 as_dirs="'$as_qdir' $as_dirs"
4632 as_dir=`$as_dirname -- "$as_dir" ||
4633 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4634 X"$as_dir" : 'X\(//\)[^/]' \| \
4635 X"$as_dir" : 'X\(//\)$' \| \
4636 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4637 echo X"$as_dir" |
4638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4639 s//\1/
4642 /^X\(\/\/\)[^/].*/{
4643 s//\1/
4646 /^X\(\/\/\)$/{
4647 s//\1/
4650 /^X\(\/\).*/{
4651 s//\1/
4654 s/.*/./; q'`
4655 test -d "$as_dir" && break
4656 done
4657 test -z "$as_dirs" || eval "mkdir $as_dirs"
4658 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4659 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4660 { (exit 1); exit 1; }; }; }
4661 ac_builddir=.
4663 case "$ac_dir" in
4664 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4666 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4667 # A ".." for each directory in $ac_dir_suffix.
4668 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4669 case $ac_top_builddir_sub in
4670 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4671 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4672 esac ;;
4673 esac
4674 ac_abs_top_builddir=$ac_pwd
4675 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4676 # for backward compatibility:
4677 ac_top_builddir=$ac_top_build_prefix
4679 case $srcdir in
4680 .) # We are building in place.
4681 ac_srcdir=.
4682 ac_top_srcdir=$ac_top_builddir_sub
4683 ac_abs_top_srcdir=$ac_pwd ;;
4684 [\\/]* | ?:[\\/]* ) # Absolute name.
4685 ac_srcdir=$srcdir$ac_dir_suffix;
4686 ac_top_srcdir=$srcdir
4687 ac_abs_top_srcdir=$srcdir ;;
4688 *) # Relative name.
4689 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4690 ac_top_srcdir=$ac_top_build_prefix$srcdir
4691 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4692 esac
4693 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4696 case $ac_mode in
4699 # CONFIG_FILE
4702 case $INSTALL in
4703 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4704 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4705 esac
4706 ac_MKDIR_P=$MKDIR_P
4707 case $MKDIR_P in
4708 [\\/$]* | ?:[\\/]* ) ;;
4709 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4710 esac
4711 _ACEOF
4713 cat >>$CONFIG_STATUS <<\_ACEOF
4714 # If the template does not know about datarootdir, expand it.
4715 # FIXME: This hack should be removed a few years after 2.60.
4716 ac_datarootdir_hack=; ac_datarootdir_seen=
4718 case `sed -n '/datarootdir/ {
4722 /@datadir@/p
4723 /@docdir@/p
4724 /@infodir@/p
4725 /@localedir@/p
4726 /@mandir@/p
4727 ' $ac_file_inputs` in
4728 *datarootdir*) ac_datarootdir_seen=yes;;
4729 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4730 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4731 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4732 _ACEOF
4733 cat >>$CONFIG_STATUS <<_ACEOF
4734 ac_datarootdir_hack='
4735 s&@datadir@&$datadir&g
4736 s&@docdir@&$docdir&g
4737 s&@infodir@&$infodir&g
4738 s&@localedir@&$localedir&g
4739 s&@mandir@&$mandir&g
4740 s&\\\${datarootdir}&$datarootdir&g' ;;
4741 esac
4742 _ACEOF
4744 # Neutralize VPATH when `$srcdir' = `.'.
4745 # Shell code in configure.ac might set extrasub.
4746 # FIXME: do we really want to maintain this feature?
4747 cat >>$CONFIG_STATUS <<_ACEOF
4748 sed "$ac_vpsub
4749 $extrasub
4750 _ACEOF
4751 cat >>$CONFIG_STATUS <<\_ACEOF
4753 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4754 s&@configure_input@&$configure_input&;t t
4755 s&@top_builddir@&$ac_top_builddir_sub&;t t
4756 s&@srcdir@&$ac_srcdir&;t t
4757 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4758 s&@top_srcdir@&$ac_top_srcdir&;t t
4759 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4760 s&@builddir@&$ac_builddir&;t t
4761 s&@abs_builddir@&$ac_abs_builddir&;t t
4762 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4763 s&@INSTALL@&$ac_INSTALL&;t t
4764 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4765 $ac_datarootdir_hack
4766 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4768 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4769 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4770 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4771 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4772 which seems to be undefined. Please make sure it is defined." >&5
4773 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4774 which seems to be undefined. Please make sure it is defined." >&2;}
4776 rm -f "$tmp/stdin"
4777 case $ac_file in
4778 -) cat "$tmp/out"; rm -f "$tmp/out";;
4779 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4780 esac
4784 # CONFIG_HEADER
4786 _ACEOF
4788 # Transform confdefs.h into a sed script `conftest.defines', that
4789 # substitutes the proper values into config.h.in to produce config.h.
4790 rm -f conftest.defines conftest.tail
4791 # First, append a space to every undef/define line, to ease matching.
4792 echo 's/$/ /' >conftest.defines
4793 # Then, protect against being on the right side of a sed subst, or in
4794 # an unquoted here document, in config.status. If some macros were
4795 # called several times there might be several #defines for the same
4796 # symbol, which is useless. But do not sort them, since the last
4797 # AC_DEFINE must be honored.
4798 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4799 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
4800 # NAME is the cpp macro being defined, VALUE is the value it is being given.
4801 # PARAMS is the parameter list in the macro definition--in most cases, it's
4802 # just an empty string.
4803 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
4804 ac_dB='\\)[ (].*,\\1define\\2'
4805 ac_dC=' '
4806 ac_dD=' ,'
4808 uniq confdefs.h |
4809 sed -n '
4810 t rset
4811 :rset
4812 s/^[ ]*#[ ]*define[ ][ ]*//
4813 t ok
4816 s/[\\&,]/\\&/g
4817 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
4818 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
4819 ' >>conftest.defines
4821 # Remove the space that was appended to ease matching.
4822 # Then replace #undef with comments. This is necessary, for
4823 # example, in the case of _POSIX_SOURCE, which is predefined and required
4824 # on some systems where configure will not decide to define it.
4825 # (The regexp can be short, since the line contains either #define or #undef.)
4826 echo 's/ $//
4827 s,^[ #]*u.*,/* & */,' >>conftest.defines
4829 # Break up conftest.defines:
4830 ac_max_sed_lines=50
4832 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
4833 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
4834 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
4835 # et cetera.
4836 ac_in='$ac_file_inputs'
4837 ac_out='"$tmp/out1"'
4838 ac_nxt='"$tmp/out2"'
4840 while :
4842 # Write a here document:
4843 cat >>$CONFIG_STATUS <<_ACEOF
4844 # First, check the format of the line:
4845 cat >"\$tmp/defines.sed" <<\\CEOF
4846 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
4847 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
4849 :def
4850 _ACEOF
4851 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
4852 echo 'CEOF
4853 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
4854 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
4855 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
4856 grep . conftest.tail >/dev/null || break
4857 rm -f conftest.defines
4858 mv conftest.tail conftest.defines
4859 done
4860 rm -f conftest.defines conftest.tail
4862 echo "ac_result=$ac_in" >>$CONFIG_STATUS
4863 cat >>$CONFIG_STATUS <<\_ACEOF
4864 if test x"$ac_file" != x-; then
4865 echo "/* $configure_input */" >"$tmp/config.h"
4866 cat "$ac_result" >>"$tmp/config.h"
4867 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
4868 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4869 echo "$as_me: $ac_file is unchanged" >&6;}
4870 else
4871 rm -f $ac_file
4872 mv "$tmp/config.h" $ac_file
4874 else
4875 echo "/* $configure_input */"
4876 cat "$ac_result"
4878 rm -f "$tmp/out12"
4879 # Compute $ac_file's index in $config_headers.
4880 _am_stamp_count=1
4881 for _am_header in $config_headers :; do
4882 case $_am_header in
4883 $ac_file | $ac_file:* )
4884 break ;;
4886 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4887 esac
4888 done
4889 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
4890 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4891 X$ac_file : 'X\(//\)[^/]' \| \
4892 X$ac_file : 'X\(//\)$' \| \
4893 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
4894 echo X$ac_file |
4895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4896 s//\1/
4899 /^X\(\/\/\)[^/].*/{
4900 s//\1/
4903 /^X\(\/\/\)$/{
4904 s//\1/
4907 /^X\(\/\).*/{
4908 s//\1/
4911 s/.*/./; q'`/stamp-h$_am_stamp_count
4914 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
4915 echo "$as_me: executing $ac_file commands" >&6;}
4917 esac
4920 case $ac_file$ac_mode in
4921 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4922 # Strip MF so we end up with the name of the file.
4923 mf=`echo "$mf" | sed -e 's/:.*$//'`
4924 # Check whether this is an Automake generated Makefile or not.
4925 # We used to match only the files named `Makefile.in', but
4926 # some people rename them; so instead we look at the file content.
4927 # Grep'ing the first line is not enough: some people post-process
4928 # each Makefile.in and add a new line on top of each file to say so.
4929 # Grep'ing the whole file is not good either: AIX grep has a line
4930 # limit of 2048, but all sed's we know have understand at least 4000.
4931 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
4932 dirpart=`$as_dirname -- "$mf" ||
4933 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4934 X"$mf" : 'X\(//\)[^/]' \| \
4935 X"$mf" : 'X\(//\)$' \| \
4936 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4937 echo X"$mf" |
4938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4939 s//\1/
4942 /^X\(\/\/\)[^/].*/{
4943 s//\1/
4946 /^X\(\/\/\)$/{
4947 s//\1/
4950 /^X\(\/\).*/{
4951 s//\1/
4954 s/.*/./; q'`
4955 else
4956 continue
4958 # Extract the definition of DEPDIR, am__include, and am__quote
4959 # from the Makefile without running `make'.
4960 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4961 test -z "$DEPDIR" && continue
4962 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4963 test -z "am__include" && continue
4964 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4965 # When using ansi2knr, U may be empty or an underscore; expand it
4966 U=`sed -n 's/^U = //p' < "$mf"`
4967 # Find all dependency output files, they are included files with
4968 # $(DEPDIR) in their names. We invoke sed twice because it is the
4969 # simplest approach to changing $(DEPDIR) to its actual value in the
4970 # expansion.
4971 for file in `sed -n "
4972 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4973 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4974 # Make sure the directory exists.
4975 test -f "$dirpart/$file" && continue
4976 fdir=`$as_dirname -- "$file" ||
4977 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4978 X"$file" : 'X\(//\)[^/]' \| \
4979 X"$file" : 'X\(//\)$' \| \
4980 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4981 echo X"$file" |
4982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4983 s//\1/
4986 /^X\(\/\/\)[^/].*/{
4987 s//\1/
4990 /^X\(\/\/\)$/{
4991 s//\1/
4994 /^X\(\/\).*/{
4995 s//\1/
4998 s/.*/./; q'`
4999 { as_dir=$dirpart/$fdir
5000 case $as_dir in #(
5001 -*) as_dir=./$as_dir;;
5002 esac
5003 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5004 as_dirs=
5005 while :; do
5006 case $as_dir in #(
5007 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5008 *) as_qdir=$as_dir;;
5009 esac
5010 as_dirs="'$as_qdir' $as_dirs"
5011 as_dir=`$as_dirname -- "$as_dir" ||
5012 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5013 X"$as_dir" : 'X\(//\)[^/]' \| \
5014 X"$as_dir" : 'X\(//\)$' \| \
5015 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5016 echo X"$as_dir" |
5017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5018 s//\1/
5021 /^X\(\/\/\)[^/].*/{
5022 s//\1/
5025 /^X\(\/\/\)$/{
5026 s//\1/
5029 /^X\(\/\).*/{
5030 s//\1/
5033 s/.*/./; q'`
5034 test -d "$as_dir" && break
5035 done
5036 test -z "$as_dirs" || eval "mkdir $as_dirs"
5037 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5038 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5039 { (exit 1); exit 1; }; }; }
5040 # echo "creating $dirpart/$file"
5041 echo '# dummy' > "$dirpart/$file"
5042 done
5043 done
5046 esac
5047 done # for ac_tag
5050 { (exit 0); exit 0; }
5051 _ACEOF
5052 chmod +x $CONFIG_STATUS
5053 ac_clean_files=$ac_clean_files_save
5056 # configure is writing to config.log, and then calls config.status.
5057 # config.status does its own redirection, appending to config.log.
5058 # Unfortunately, on DOS this fails, as config.log is still kept open
5059 # by configure, so config.status won't be able to write to it; its
5060 # output is simply discarded. So we exec the FD to /dev/null,
5061 # effectively closing config.log, so it can be properly (re)opened and
5062 # appended to by config.status. When coming back to configure, we
5063 # need to make the FD available again.
5064 if test "$no_create" != yes; then
5065 ac_cs_success=:
5066 ac_config_status_args=
5067 test "$silent" = yes &&
5068 ac_config_status_args="$ac_config_status_args --quiet"
5069 exec 5>/dev/null
5070 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5071 exec 5>>config.log
5072 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5073 # would make configure fail if this is the last instruction.
5074 $ac_cs_success || { (exit 1); exit 1; }