2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for clustalw 2.0.12.
5 # Report bugs to <clustalw@ucd.ie>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
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
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir=.
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
279 CONFIG_SHELL=$as_shell
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
307 as_func_ret_success () {
310 as_func_ret_failure () {
315 if as_func_success; then
319 echo as_func_success failed.
322 if as_func_failure; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494 ECHO_C= ECHO_N= ECHO_T=
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 elif ln conf$$.file conf$$ 2>/dev/null; then
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
541 test -d ./-p && rmdir ./-p
545 if test -x / >/dev/null 2>&1; then
548 if ls -dL / >/dev/null 2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev/null 6>&1
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 ac_default_prefix=/usr/local
588 ac_config_libobj_dir=.
594 SHELL=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
597 PACKAGE_NAME='clustalw'
598 PACKAGE_TARNAME='clustalw'
599 PACKAGE_VERSION='2.0.12'
600 PACKAGE_STRING='clustalw 2.0.12'
601 PACKAGE_BUGREPORT='clustalw@ucd.ie'
603 # Factoring default headers for most tests.
604 ac_includes_default="\
606 #ifdef HAVE_SYS_TYPES_H
607 # include <sys/types.h>
609 #ifdef HAVE_SYS_STAT_H
610 # include <sys/stat.h>
616 # ifdef HAVE_STDLIB_H
621 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
626 #ifdef HAVE_STRINGS_H
627 # include <strings.h>
629 #ifdef HAVE_INTTYPES_H
630 # include <inttypes.h>
639 ac_subst_vars='LTLIBOBJS
675 INSTALL_STRIP_PROGRAM
731 program_transform_name
743 enable_option_checking
744 enable_dependency_tracking
747 ac_precious_vars='build_alias
761 # Initialize some variables set by options.
763 ac_init_version=false
764 ac_unrecognized_opts=
766 # The variables have the same names as the options, with
767 # dashes changed to underlines.
775 program_transform_name=s,x,x,
783 # Installation directory options.
784 # These are left unexpanded so users can "make install exec_prefix=/foo"
785 # and all the variables that are supposed to be based on exec_prefix
786 # by default will actually change.
787 # Use braces instead of parens because sh, perl, etc. also accept them.
788 # (The list follows the same order as the GNU Coding Standards.)
789 bindir='${exec_prefix}/bin'
790 sbindir='${exec_prefix}/sbin'
791 libexecdir='${exec_prefix}/libexec'
792 datarootdir='${prefix}/share'
793 datadir='${datarootdir}'
794 sysconfdir='${prefix}/etc'
795 sharedstatedir='${prefix}/com'
796 localstatedir='${prefix}/var'
797 includedir='${prefix}/include'
798 oldincludedir='/usr/include'
799 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
800 infodir='${datarootdir}/info'
805 libdir='${exec_prefix}/lib'
806 localedir='${datarootdir}/locale'
807 mandir='${datarootdir}/man'
813 # If the previous option needs an argument, assign it.
814 if test -n "$ac_prev"; then
815 eval $ac_prev=\$ac_option
821 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
825 # Accept the important Cygnus configure options, so we can diagnose typos.
827 case $ac_dashdash$ac_option in
831 -bindir | --bindir | --bindi | --bind | --bin | --bi)
833 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
836 -build | --build | --buil | --bui | --bu)
837 ac_prev=build_alias ;;
838 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
839 build_alias=$ac_optarg ;;
841 -cache-file | --cache-file | --cache-fil | --cache-fi \
842 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
843 ac_prev=cache_file ;;
844 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
845 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
846 cache_file=$ac_optarg ;;
849 cache_file=config.cache ;;
851 -datadir | --datadir | --datadi | --datad)
853 -datadir=* | --datadir=* | --datadi=* | --datad=*)
854 datadir=$ac_optarg ;;
856 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
857 | --dataroo | --dataro | --datar)
858 ac_prev=datarootdir ;;
859 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
860 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
861 datarootdir=$ac_optarg ;;
863 -disable-* | --disable-*)
864 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
865 # Reject names that are not valid shell variable names.
866 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
867 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
868 { (exit 1); exit 1; }; }
869 ac_useropt_orig=$ac_useropt
870 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
871 case $ac_user_opts in
875 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
876 ac_unrecognized_sep=', ';;
878 eval enable_$ac_useropt=no ;;
880 -docdir | --docdir | --docdi | --doc | --do)
882 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
885 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
887 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
890 -enable-* | --enable-*)
891 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
892 # Reject names that are not valid shell variable names.
893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
894 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
895 { (exit 1); exit 1; }; }
896 ac_useropt_orig=$ac_useropt
897 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898 case $ac_user_opts in
902 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903 ac_unrecognized_sep=', ';;
905 eval enable_$ac_useropt=\$ac_optarg ;;
907 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
908 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
909 | --exec | --exe | --ex)
910 ac_prev=exec_prefix ;;
911 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
912 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
913 | --exec=* | --exe=* | --ex=*)
914 exec_prefix=$ac_optarg ;;
916 -gas | --gas | --ga | --g)
917 # Obsolete; use --with-gas.
920 -help | --help | --hel | --he | -h)
922 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
923 ac_init_help=recursive ;;
924 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
925 ac_init_help=short ;;
927 -host | --host | --hos | --ho)
928 ac_prev=host_alias ;;
929 -host=* | --host=* | --hos=* | --ho=*)
930 host_alias=$ac_optarg ;;
932 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
934 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
936 htmldir=$ac_optarg ;;
938 -includedir | --includedir | --includedi | --included | --include \
939 | --includ | --inclu | --incl | --inc)
940 ac_prev=includedir ;;
941 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
942 | --includ=* | --inclu=* | --incl=* | --inc=*)
943 includedir=$ac_optarg ;;
945 -infodir | --infodir | --infodi | --infod | --info | --inf)
947 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
948 infodir=$ac_optarg ;;
950 -libdir | --libdir | --libdi | --libd)
952 -libdir=* | --libdir=* | --libdi=* | --libd=*)
955 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
956 | --libexe | --libex | --libe)
957 ac_prev=libexecdir ;;
958 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
959 | --libexe=* | --libex=* | --libe=*)
960 libexecdir=$ac_optarg ;;
962 -localedir | --localedir | --localedi | --localed | --locale)
964 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
965 localedir=$ac_optarg ;;
967 -localstatedir | --localstatedir | --localstatedi | --localstated \
968 | --localstate | --localstat | --localsta | --localst | --locals)
969 ac_prev=localstatedir ;;
970 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
971 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
972 localstatedir=$ac_optarg ;;
974 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
976 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
980 # Obsolete; use --without-fp.
983 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
984 | --no-cr | --no-c | -n)
987 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
988 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
991 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
992 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
993 | --oldin | --oldi | --old | --ol | --o)
994 ac_prev=oldincludedir ;;
995 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
996 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
997 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
998 oldincludedir=$ac_optarg ;;
1000 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1002 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1003 prefix=$ac_optarg ;;
1005 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1006 | --program-pre | --program-pr | --program-p)
1007 ac_prev=program_prefix ;;
1008 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1009 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1010 program_prefix=$ac_optarg ;;
1012 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1013 | --program-suf | --program-su | --program-s)
1014 ac_prev=program_suffix ;;
1015 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1016 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1017 program_suffix=$ac_optarg ;;
1019 -program-transform-name | --program-transform-name \
1020 | --program-transform-nam | --program-transform-na \
1021 | --program-transform-n | --program-transform- \
1022 | --program-transform | --program-transfor \
1023 | --program-transfo | --program-transf \
1024 | --program-trans | --program-tran \
1025 | --progr-tra | --program-tr | --program-t)
1026 ac_prev=program_transform_name ;;
1027 -program-transform-name=* | --program-transform-name=* \
1028 | --program-transform-nam=* | --program-transform-na=* \
1029 | --program-transform-n=* | --program-transform-=* \
1030 | --program-transform=* | --program-transfor=* \
1031 | --program-transfo=* | --program-transf=* \
1032 | --program-trans=* | --program-tran=* \
1033 | --progr-tra=* | --program-tr=* | --program-t=*)
1034 program_transform_name=$ac_optarg ;;
1036 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1038 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1039 pdfdir=$ac_optarg ;;
1041 -psdir | --psdir | --psdi | --psd | --ps)
1043 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1046 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1047 | -silent | --silent | --silen | --sile | --sil)
1050 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1052 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1054 sbindir=$ac_optarg ;;
1056 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1057 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1058 | --sharedst | --shareds | --shared | --share | --shar \
1060 ac_prev=sharedstatedir ;;
1061 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1062 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1063 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1065 sharedstatedir=$ac_optarg ;;
1067 -site | --site | --sit)
1069 -site=* | --site=* | --sit=*)
1072 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1074 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1075 srcdir=$ac_optarg ;;
1077 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1078 | --syscon | --sysco | --sysc | --sys | --sy)
1079 ac_prev=sysconfdir ;;
1080 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1081 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1082 sysconfdir=$ac_optarg ;;
1084 -target | --target | --targe | --targ | --tar | --ta | --t)
1085 ac_prev=target_alias ;;
1086 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1087 target_alias=$ac_optarg ;;
1089 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1092 -version | --version | --versio | --versi | --vers | -V)
1093 ac_init_version=: ;;
1096 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1100 { (exit 1); exit 1; }; }
1101 ac_useropt_orig=$ac_useropt
1102 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1103 case $ac_user_opts in
1107 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1108 ac_unrecognized_sep=', ';;
1110 eval with_$ac_useropt=\$ac_optarg ;;
1112 -without-* | --without-*)
1113 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_useropt_orig=$ac_useropt
1119 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in
1124 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1125 ac_unrecognized_sep=', ';;
1127 eval with_$ac_useropt=no ;;
1130 # Obsolete; use --with-x.
1133 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1134 | --x-incl | --x-inc | --x-in | --x-i)
1135 ac_prev=x_includes ;;
1136 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1137 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1138 x_includes=$ac_optarg ;;
1140 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1141 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1142 ac_prev=x_libraries ;;
1143 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1144 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1145 x_libraries=$ac_optarg ;;
1147 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1148 Try \`$0 --help' for more information." >&2
1149 { (exit 1); exit 1; }; }
1153 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1156 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1157 { (exit 1); exit 1; }; }
1158 eval $ac_envvar=\$ac_optarg
1159 export $ac_envvar ;;
1162 # FIXME: should be removed in autoconf 3.0.
1163 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1165 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1172 if test -n "$ac_prev"; then
1173 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1174 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1175 { (exit 1); exit 1; }; }
1178 if test -n "$ac_unrecognized_opts"; then
1179 case $enable_option_checking in
1181 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1182 { (exit 1); exit 1; }; } ;;
1183 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1187 # Check all directory arguments for consistency.
1188 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1189 datadir sysconfdir sharedstatedir localstatedir includedir \
1190 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1191 libdir localedir mandir
1193 eval ac_val=\$$ac_var
1194 # Remove trailing slashes.
1197 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1198 eval $ac_var=\$ac_val;;
1200 # Be sure to have absolute directory names.
1202 [\\/$]* | ?:[\\/]* ) continue;;
1203 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1205 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1206 { (exit 1); exit 1; }; }
1209 # There might be people who depend on the old broken behavior: `$host'
1210 # used to hold the argument of --host etc.
1211 # FIXME: To remove some day.
1214 target=$target_alias
1216 # FIXME: To remove some day.
1217 if test "x$host_alias" != x; then
1218 if test "x$build_alias" = x; then
1219 cross_compiling=maybe
1220 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1221 If a cross compiler is detected then cross compile mode will be used." >&2
1222 elif test "x$build_alias" != "x$host_alias"; then
1228 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1230 test "$silent" = yes && exec 6>/dev/null
1233 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1234 ac_ls_di=`ls -di .` &&
1235 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1236 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1237 { (exit 1); exit 1; }; }
1238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1239 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1240 { (exit 1); exit 1; }; }
1243 # Find the source files, if location was not specified.
1244 if test -z "$srcdir"; then
1245 ac_srcdir_defaulted=yes
1246 # Try the directory containing this script, then the parent directory.
1247 ac_confdir=`$as_dirname -- "$as_myself" ||
1248 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1249 X"$as_myself" : 'X\(//\)[^/]' \| \
1250 X"$as_myself" : 'X\(//\)$' \| \
1251 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1252 $as_echo X"$as_myself" |
1253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1271 if test ! -r "$srcdir/$ac_unique_file"; then
1275 ac_srcdir_defaulted=no
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1278 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1279 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1280 { (exit 1); exit 1; }; }
1282 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1284 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1285 { (exit 1); exit 1; }; }
1287 # When building in place, set srcdir=.
1288 if test "$ac_abs_confdir" = "$ac_pwd"; then
1291 # Remove unnecessary trailing slashes from srcdir.
1292 # Double slashes in file names in object file debugging info
1293 # mess up M-x gdb in Emacs.
1295 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1297 for ac_var in $ac_precious_vars; do
1298 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1299 eval ac_env_${ac_var}_value=\$${ac_var}
1300 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1301 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1305 # Report the --help message.
1307 if test "$ac_init_help" = "long"; then
1308 # Omit some internal or obsolete options to make the list less imposing.
1309 # This message is too long to be a string in the A/UX 3.1 sh.
1311 \`configure' configures clustalw 2.0.12 to adapt to many kinds of systems.
1313 Usage: $0 [OPTION]... [VAR=VALUE]...
1315 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1316 VAR=VALUE. See below for descriptions of some of the useful variables.
1318 Defaults for the options are specified in brackets.
1321 -h, --help display this help and exit
1322 --help=short display options specific to this package
1323 --help=recursive display the short help of all the included packages
1324 -V, --version display version information and exit
1325 -q, --quiet, --silent do not print \`checking...' messages
1326 --cache-file=FILE cache test results in FILE [disabled]
1327 -C, --config-cache alias for \`--cache-file=config.cache'
1328 -n, --no-create do not create output files
1329 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1331 Installation directories:
1332 --prefix=PREFIX install architecture-independent files in PREFIX
1333 [$ac_default_prefix]
1334 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1337 By default, \`make install' will install all the files in
1338 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1339 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1340 for instance \`--prefix=\$HOME'.
1342 For better control, use the options below.
1344 Fine tuning of the installation directories:
1345 --bindir=DIR user executables [EPREFIX/bin]
1346 --sbindir=DIR system admin executables [EPREFIX/sbin]
1347 --libexecdir=DIR program executables [EPREFIX/libexec]
1348 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1349 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1350 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1351 --libdir=DIR object code libraries [EPREFIX/lib]
1352 --includedir=DIR C header files [PREFIX/include]
1353 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1354 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1355 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1356 --infodir=DIR info documentation [DATAROOTDIR/info]
1357 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1358 --mandir=DIR man documentation [DATAROOTDIR/man]
1359 --docdir=DIR documentation root [DATAROOTDIR/doc/clustalw]
1360 --htmldir=DIR html documentation [DOCDIR]
1361 --dvidir=DIR dvi documentation [DOCDIR]
1362 --pdfdir=DIR pdf documentation [DOCDIR]
1363 --psdir=DIR ps documentation [DOCDIR]
1369 --program-prefix=PREFIX prepend PREFIX to installed program names
1370 --program-suffix=SUFFIX append SUFFIX to installed program names
1371 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1374 --build=BUILD configure for building on BUILD [guessed]
1375 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1376 --target=TARGET configure for building compilers for TARGET [HOST]
1380 if test -n "$ac_init_help"; then
1381 case $ac_init_help in
1382 short | recursive ) echo "Configuration of clustalw 2.0.12:";;
1387 --disable-option-checking ignore unrecognized --enable/--with options
1388 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1389 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1390 --disable-dependency-tracking speeds up one-time build
1391 --enable-dependency-tracking do not reject slow dependency extractors
1394 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1395 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1396 --with-mhash Enable mhash support in stats
1398 Some influential environment variables:
1399 CC C compiler command
1400 CFLAGS C compiler flags
1401 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1402 nonstandard directory <lib dir>
1403 LIBS libraries to pass to the linker, e.g. -l<library>
1404 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1405 you have headers in a nonstandard directory <include dir>
1406 CXX C++ compiler command
1407 CXXFLAGS C++ compiler flags
1408 CXXCPP C++ preprocessor
1410 Use these variables to override the choices made by `configure' or to help
1411 it to find libraries and programs with nonstandard names/locations.
1413 Report bugs to <clustalw@ucd.ie>.
1418 if test "$ac_init_help" = "recursive"; then
1419 # If there are subdirs, report their specific --help.
1420 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1421 test -d "$ac_dir" ||
1422 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1427 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1429 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1430 # A ".." for each directory in $ac_dir_suffix.
1431 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1432 case $ac_top_builddir_sub in
1433 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1434 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1437 ac_abs_top_builddir=$ac_pwd
1438 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1439 # for backward compatibility:
1440 ac_top_builddir=$ac_top_build_prefix
1443 .) # We are building in place.
1445 ac_top_srcdir=$ac_top_builddir_sub
1446 ac_abs_top_srcdir=$ac_pwd ;;
1447 [\\/]* | ?:[\\/]* ) # Absolute name.
1448 ac_srcdir=$srcdir$ac_dir_suffix;
1449 ac_top_srcdir=$srcdir
1450 ac_abs_top_srcdir=$srcdir ;;
1452 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1453 ac_top_srcdir=$ac_top_build_prefix$srcdir
1454 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1456 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1458 cd "$ac_dir" || { ac_status=$?; continue; }
1459 # Check for guested configure.
1460 if test -f "$ac_srcdir/configure.gnu"; then
1462 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1463 elif test -f "$ac_srcdir/configure"; then
1465 $SHELL "$ac_srcdir/configure" --help=recursive
1467 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1469 cd "$ac_pwd" || { ac_status=$?; break; }
1473 test -n "$ac_init_help" && exit $ac_status
1474 if $ac_init_version; then
1476 clustalw configure 2.0.12
1477 generated by GNU Autoconf 2.63
1479 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1480 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1481 This configure script is free software; the Free Software Foundation
1482 gives unlimited permission to copy, distribute and modify it.
1486 cat >config.log <<_ACEOF
1487 This file contains any messages produced by compilers while
1488 running configure, to aid debugging if configure makes a mistake.
1490 It was created by clustalw $as_me 2.0.12, which was
1491 generated by GNU Autoconf 2.63. Invocation command line was
1503 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1504 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1505 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1506 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1507 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1509 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1510 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1512 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1513 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1514 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1515 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1516 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1517 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1518 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1526 test -z "$as_dir" && as_dir=.
1527 $as_echo "PATH: $as_dir"
1543 # Keep a trace of the command line.
1544 # Strip out --no-create and --no-recursion so they do not pile up.
1545 # Strip out --silent because we don't want to record it for future runs.
1546 # Also quote any args containing shell meta-characters.
1547 # Make two passes to allow for proper duplicate-argument suppression.
1551 ac_must_keep_next=false
1557 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1558 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1559 | -silent | --silent | --silen | --sile | --sil)
1562 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1565 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1567 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1568 if test $ac_must_keep_next = true; then
1569 ac_must_keep_next=false # Got value, back to normal.
1572 *=* | --config-cache | -C | -disable-* | --disable-* \
1573 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1574 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1575 | -with-* | --with-* | -without-* | --without-* | --x)
1576 case "$ac_configure_args0 " in
1577 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1580 -* ) ac_must_keep_next=true ;;
1583 ac_configure_args="$ac_configure_args '$ac_arg'"
1588 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1589 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1591 # When interrupted or exit'd, cleanup temporary files, and complete
1592 # config.log. We remove comments because anyway the quotes in there
1593 # would cause problems or look ugly.
1594 # WARNING: Use '\'' to represent an apostrophe within the trap.
1595 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1596 trap 'exit_status=$?
1597 # Save into config.log some information that might help in debugging.
1602 ## ---------------- ##
1603 ## Cache variables. ##
1604 ## ---------------- ##
1607 # The following way of writing the cache mishandles newlines in values,
1609 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1610 eval ac_val=\$$ac_var
1614 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1615 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1618 _ | IFS | as_nl) ;; #(
1619 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1620 *) $as_unset $ac_var ;;
1625 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1626 *${as_nl}ac_space=\ *)
1628 "s/'\''/'\''\\\\'\'''\''/g;
1629 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1632 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1640 ## ----------------- ##
1641 ## Output variables. ##
1642 ## ----------------- ##
1645 for ac_var in $ac_subst_vars
1647 eval ac_val=\$$ac_var
1649 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1651 $as_echo "$ac_var='\''$ac_val'\''"
1655 if test -n "$ac_subst_files"; then
1657 ## ------------------- ##
1658 ## File substitutions. ##
1659 ## ------------------- ##
1662 for ac_var in $ac_subst_files
1664 eval ac_val=\$$ac_var
1666 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1668 $as_echo "$ac_var='\''$ac_val'\''"
1673 if test -s confdefs.h; then
1683 test "$ac_signal" != 0 &&
1684 $as_echo "$as_me: caught signal $ac_signal"
1685 $as_echo "$as_me: exit $exit_status"
1687 rm -f core *.core core.conftest.* &&
1688 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1691 for ac_signal in 1 2 13 15; do
1692 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1696 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1697 rm -f -r conftest* confdefs.h
1699 # Predefined preprocessor variables.
1701 cat >>confdefs.h <<_ACEOF
1702 #define PACKAGE_NAME "$PACKAGE_NAME"
1706 cat >>confdefs.h <<_ACEOF
1707 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1711 cat >>confdefs.h <<_ACEOF
1712 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_STRING "$PACKAGE_STRING"
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1726 # Let the site file select an alternate cache file if it wants to.
1727 # Prefer an explicitly selected file to automatically selected ones.
1730 if test -n "$CONFIG_SITE"; then
1731 ac_site_file1=$CONFIG_SITE
1732 elif test "x$prefix" != xNONE; then
1733 ac_site_file1=$prefix/share/config.site
1734 ac_site_file2=$prefix/etc/config.site
1736 ac_site_file1=$ac_default_prefix/share/config.site
1737 ac_site_file2=$ac_default_prefix/etc/config.site
1739 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1741 test "x$ac_site_file" = xNONE && continue
1742 if test -r "$ac_site_file"; then
1743 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1744 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1745 sed 's/^/| /' "$ac_site_file" >&5
1750 if test -r "$cache_file"; then
1751 # Some versions of bash will fail to source /dev/null (special
1752 # files actually), so we avoid doing that.
1753 if test -f "$cache_file"; then
1754 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1755 $as_echo "$as_me: loading cache $cache_file" >&6;}
1757 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1758 *) . "./$cache_file";;
1762 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1763 $as_echo "$as_me: creating cache $cache_file" >&6;}
1767 # Check that the precious variables saved in the cache have kept the same
1769 ac_cache_corrupted=false
1770 for ac_var in $ac_precious_vars; do
1771 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1772 eval ac_new_set=\$ac_env_${ac_var}_set
1773 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1774 eval ac_new_val=\$ac_env_${ac_var}_value
1775 case $ac_old_set,$ac_new_set in
1777 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1778 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1779 ac_cache_corrupted=: ;;
1781 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1782 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1783 ac_cache_corrupted=: ;;
1786 if test "x$ac_old_val" != "x$ac_new_val"; then
1787 # differences in whitespace do not lead to failure.
1788 ac_old_val_w=`echo x $ac_old_val`
1789 ac_new_val_w=`echo x $ac_new_val`
1790 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1791 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1792 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1793 ac_cache_corrupted=:
1795 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1796 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1797 eval $ac_var=\$ac_old_val
1799 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1800 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1801 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1802 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1805 # Pass precious variables to config.status.
1806 if test "$ac_new_set" = set; then
1808 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1809 *) ac_arg=$ac_var=$ac_new_val ;;
1811 case " $ac_configure_args " in
1812 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1813 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1817 if $ac_cache_corrupted; then
1818 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1820 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1821 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1822 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1823 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1824 { (exit 1); exit 1; }; }
1852 ac_cpp='$CPP $CPPFLAGS'
1853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1859 # The AC_INIT macro can take any source file as an argument. It just
1860 # checks that the file is there, which should, in turn, mean that the
1861 # source directory is there.
1862 # AC_INIT generates the following m4 macros, output variables and preprocessor symbols:
1863 # * [AC_]PACKAGE_NAME
1864 # * [AC_]PACKAGE_TARNAME
1865 # * [AC_]PACKAGE_VERSION
1866 # * [AC_]PACKAGE_STRING
1867 # * [AC_]PACKAGE_BUGREPORT
1870 # Detect the canonical host and target build environment
1871 # see e.g. http://cvs.haskell.org/darcs/ghc/configure.ac for howto use
1872 # AC_CANONICAL_HOST or AC_CANONICAL_TARGET?
1873 # AC_CANONICAL_SYSTEM will also run AC_CANONICAL_HOST and allows to use --target
1875 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1876 if test -f "$ac_dir/install-sh"; then
1878 ac_install_sh="$ac_aux_dir/install-sh -c"
1880 elif test -f "$ac_dir/install.sh"; then
1882 ac_install_sh="$ac_aux_dir/install.sh -c"
1884 elif test -f "$ac_dir/shtool"; then
1886 ac_install_sh="$ac_aux_dir/shtool install -c"
1890 if test -z "$ac_aux_dir"; then
1891 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1892 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1893 { (exit 1); exit 1; }; }
1896 # These three variables are undocumented and unsupported,
1897 # and are intended to be withdrawn in a future Autoconf release.
1898 # They can cause serious problems if a builder's source tree is in a directory
1899 # whose full name contains unusual characters.
1900 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1901 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1902 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1905 # Make sure we can run config.sub.
1906 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1907 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1908 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1909 { (exit 1); exit 1; }; }
1911 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1912 $as_echo_n "checking build system type... " >&6; }
1913 if test "${ac_cv_build+set}" = set; then
1914 $as_echo_n "(cached) " >&6
1916 ac_build_alias=$build_alias
1917 test "x$ac_build_alias" = x &&
1918 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1919 test "x$ac_build_alias" = x &&
1920 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1921 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1922 { (exit 1); exit 1; }; }
1923 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1924 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1925 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1926 { (exit 1); exit 1; }; }
1929 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1930 $as_echo "$ac_cv_build" >&6; }
1931 case $ac_cv_build in
1933 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1934 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1935 { (exit 1); exit 1; }; };;
1938 ac_save_IFS=$IFS; IFS='-'
1944 # Remember, the first character of IFS is used to create $*,
1945 # except with old shells:
1948 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1951 { $as_echo "$as_me:$LINENO: checking host system type" >&5
1952 $as_echo_n "checking host system type... " >&6; }
1953 if test "${ac_cv_host+set}" = set; then
1954 $as_echo_n "(cached) " >&6
1956 if test "x$host_alias" = x; then
1957 ac_cv_host=$ac_cv_build
1959 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1960 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1961 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1962 { (exit 1); exit 1; }; }
1966 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1967 $as_echo "$ac_cv_host" >&6; }
1970 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1971 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
1972 { (exit 1); exit 1; }; };;
1975 ac_save_IFS=$IFS; IFS='-'
1981 # Remember, the first character of IFS is used to create $*,
1982 # except with old shells:
1985 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1988 { $as_echo "$as_me:$LINENO: checking target system type" >&5
1989 $as_echo_n "checking target system type... " >&6; }
1990 if test "${ac_cv_target+set}" = set; then
1991 $as_echo_n "(cached) " >&6
1993 if test "x$target_alias" = x; then
1994 ac_cv_target=$ac_cv_host
1996 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1997 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1998 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1999 { (exit 1); exit 1; }; }
2003 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2004 $as_echo "$ac_cv_target" >&6; }
2005 case $ac_cv_target in
2007 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2008 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
2009 { (exit 1); exit 1; }; };;
2011 target=$ac_cv_target
2012 ac_save_IFS=$IFS; IFS='-'
2018 # Remember, the first character of IFS is used to create $*,
2019 # except with old shells:
2022 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2025 # The aliases save the names the user supplied, while $host etc.
2026 # will get canonicalized.
2027 test -n "$target_alias" &&
2028 test "$program_prefix$program_suffix$program_transform_name" = \
2030 program_prefix=${target_alias}-
2031 # DEFINES here are going to config.h and have to be the same as in clustalx.pro
2032 #echo "host_os $host_os"
2034 *linux*|*solaris*|*bsd*)
2036 cat >>confdefs.h <<\_ACEOF
2043 cat >>confdefs.h <<\_ACEOF
2048 cat >>confdefs.h <<\_ACEOF
2055 cat >>confdefs.h <<\_ACEOF
2056 #define OS_WINDOWS 1
2061 { $as_echo "$as_me:$LINENO: WARNING: \"Couldn't determine target operating system. Using Unix\"" >&5
2062 $as_echo "$as_me: WARNING: \"Couldn't determine target operating system. Using Unix\"" >&2;};
2064 cat >>confdefs.h <<\_ACEOF
2070 echo "building for $target_os"
2073 # set in clustalw_version.h[.in] rather than config.h to avoid name clashes
2074 #AC_DEFINE_UNQUOTED(CLUSTALW_VERSION, "${PACKAGE_VERSION}", [ClustalW version])
2075 #AC_DEFINE_UNQUOTED(CLUSTALW_NAME, "ClustalW", [ClustalW name])
2076 CLUSTALW_VERSION="${PACKAGE_VERSION}"
2078 CLUSTALW_NAME="ClustalW"
2081 # The AM_INIT_AUTOMAKE line adds several standard checks.
2082 # This macro is always needed for automake
2083 # Obsolete: It takes the program name and version number as arguments.
2084 am__api_version='1.10'
2086 # Find a good install program. We prefer a C program (faster),
2087 # so one script is as good as another. But avoid the broken or
2088 # incompatible versions:
2089 # SysV /etc/install, /usr/sbin/install
2090 # SunOS /usr/etc/install
2091 # IRIX /sbin/install
2093 # AmigaOS /C/install, which installs bootblocks on floppy discs
2094 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2095 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2096 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2097 # OS/2's system install, which has a completely different semantic
2098 # ./install, which can be erroneously created by make from ./install.sh.
2099 # Reject install programs that cannot install multiple files.
2100 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2101 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2102 if test -z "$INSTALL"; then
2103 if test "${ac_cv_path_install+set}" = set; then
2104 $as_echo_n "(cached) " >&6
2106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110 test -z "$as_dir" && as_dir=.
2111 # Account for people who put trailing slashes in PATH elements.
2113 ./ | .// | /cC/* | \
2114 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2115 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2118 # OSF1 and SCO ODT 3.0 have their own names for install.
2119 # Don't use installbsd from OSF since it installs stuff as root
2121 for ac_prog in ginstall scoinst install; do
2122 for ac_exec_ext in '' $ac_executable_extensions; do
2123 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2124 if test $ac_prog = install &&
2125 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2126 # AIX install. It has an incompatible calling convention.
2128 elif test $ac_prog = install &&
2129 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2130 # program-specific install script used by HP pwplus--don't use.
2133 rm -rf conftest.one conftest.two conftest.dir
2134 echo one > conftest.one
2135 echo two > conftest.two
2137 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2138 test -s conftest.one && test -s conftest.two &&
2139 test -s conftest.dir/conftest.one &&
2140 test -s conftest.dir/conftest.two
2142 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2155 rm -rf conftest.one conftest.two conftest.dir
2158 if test "${ac_cv_path_install+set}" = set; then
2159 INSTALL=$ac_cv_path_install
2161 # As a last resort, use the slow shell script. Don't cache a
2162 # value for INSTALL within a source directory, because that will
2163 # break other packages using the cache if that directory is
2164 # removed, or if the value is a relative name.
2165 INSTALL=$ac_install_sh
2168 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2169 $as_echo "$INSTALL" >&6; }
2171 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2172 # It thinks the first close brace ends the variable substitution.
2173 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2175 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2177 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2179 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2180 $as_echo_n "checking whether build environment is sane... " >&6; }
2183 echo timestamp > conftest.file
2184 # Do `set' in a subshell so we don't clobber the current shell's
2185 # arguments. Must try -L first in case configure is actually a
2186 # symlink; some systems play weird games with the mod time of symlinks
2187 # (eg FreeBSD returns the mod time of the symlink's containing
2190 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2191 if test "$*" = "X"; then
2193 set X `ls -t $srcdir/configure conftest.file`
2196 if test "$*" != "X $srcdir/configure conftest.file" \
2197 && test "$*" != "X conftest.file $srcdir/configure"; then
2199 # If neither matched, then we have a broken ls. This can happen
2200 # if, for instance, CONFIG_SHELL is bash and it inherits a
2201 # broken ls alias from the environment. This has actually
2202 # happened. Such a system could not be considered "sane".
2203 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2204 alias in your environment" >&5
2205 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2206 alias in your environment" >&2;}
2207 { (exit 1); exit 1; }; }
2210 test "$2" = conftest.file
2216 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2217 Check your system clock" >&5
2218 $as_echo "$as_me: error: newly created file is older than distributed files!
2219 Check your system clock" >&2;}
2220 { (exit 1); exit 1; }; }
2222 { $as_echo "$as_me:$LINENO: result: yes" >&5
2223 $as_echo "yes" >&6; }
2224 test "$program_prefix" != NONE &&
2225 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2226 # Use a double $ so make ignores it.
2227 test "$program_suffix" != NONE &&
2228 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2229 # Double any \ or $.
2230 # By default was `s,x,x', remove it if useless.
2231 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2232 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2234 # expand $ac_aux_dir to an absolute path
2235 am_aux_dir=`cd $ac_aux_dir && pwd`
2237 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2238 # Use eval to expand $SHELL
2239 if eval "$MISSING --run true"; then
2240 am_missing_run="$MISSING --run "
2243 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2244 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2247 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2248 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2249 if test -z "$MKDIR_P"; then
2250 if test "${ac_cv_path_mkdir+set}" = set; then
2251 $as_echo_n "(cached) " >&6
2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2257 test -z "$as_dir" && as_dir=.
2258 for ac_prog in mkdir gmkdir; do
2259 for ac_exec_ext in '' $ac_executable_extensions; do
2260 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2261 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2262 'mkdir (GNU coreutils) '* | \
2263 'mkdir (coreutils) '* | \
2264 'mkdir (fileutils) '4.1*)
2265 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2275 if test "${ac_cv_path_mkdir+set}" = set; then
2276 MKDIR_P="$ac_cv_path_mkdir -p"
2278 # As a last resort, use the slow shell script. Don't cache a
2279 # value for MKDIR_P within a source directory, because that will
2280 # break other packages using the cache if that directory is
2281 # removed, or if the value is a relative name.
2282 test -d ./--version && rmdir ./--version
2283 MKDIR_P="$ac_install_sh -d"
2286 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2287 $as_echo "$MKDIR_P" >&6; }
2291 [\\/$]* | ?:[\\/]*) ;;
2292 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2295 for ac_prog in gawk mawk nawk awk
2297 # Extract the first word of "$ac_prog", so it can be a program name with args.
2298 set dummy $ac_prog; ac_word=$2
2299 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 $as_echo_n "checking for $ac_word... " >&6; }
2301 if test "${ac_cv_prog_AWK+set}" = set; then
2302 $as_echo_n "(cached) " >&6
2304 if test -n "$AWK"; then
2305 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2314 ac_cv_prog_AWK="$ac_prog"
2315 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 if test -n "$AWK"; then
2326 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2327 $as_echo "$AWK" >&6; }
2329 { $as_echo "$as_me:$LINENO: result: no" >&5
2330 $as_echo "no" >&6; }
2334 test -n "$AWK" && break
2337 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2338 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2340 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2341 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2342 $as_echo_n "(cached) " >&6
2344 cat >conftest.make <<\_ACEOF
2347 @echo '@@@%%%=$(MAKE)=@@@%%%'
2349 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2350 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2352 eval ac_cv_prog_make_${ac_make}_set=yes;;
2354 eval ac_cv_prog_make_${ac_make}_set=no;;
2358 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2359 { $as_echo "$as_me:$LINENO: result: yes" >&5
2360 $as_echo "yes" >&6; }
2363 { $as_echo "$as_me:$LINENO: result: no" >&5
2364 $as_echo "no" >&6; }
2365 SET_MAKE="MAKE=${MAKE-make}"
2368 rm -rf .tst 2>/dev/null
2369 mkdir .tst 2>/dev/null
2370 if test -d .tst; then
2375 rmdir .tst 2>/dev/null
2377 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2378 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2379 # is not polluted with repeated "-I."
2380 am__isrc=' -I$(srcdir)'
2381 # test to see if srcdir already configured
2382 if test -f $srcdir/config.status; then
2383 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2384 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2385 { (exit 1); exit 1; }; }
2389 # test whether we have cygpath
2390 if test -z "$CYGPATH_W"; then
2391 if (cygpath --version) >/dev/null 2>/dev/null; then
2392 CYGPATH_W='cygpath -w'
2399 # Define the identity of the package.
2404 cat >>confdefs.h <<_ACEOF
2405 #define PACKAGE "$PACKAGE"
2409 cat >>confdefs.h <<_ACEOF
2410 #define VERSION "$VERSION"
2413 # Some tools Automake needs.
2415 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2418 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2421 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2424 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2427 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2429 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2431 # Installed binaries are usually stripped using `strip' when the user
2432 # run `make install-strip'. However `strip' might not be the right
2433 # tool to use in cross-compilation environments, therefore Automake
2434 # will honor the `STRIP' environment variable to overrule this program.
2435 if test "$cross_compiling" != no; then
2436 if test -n "$ac_tool_prefix"; then
2437 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2438 set dummy ${ac_tool_prefix}strip; ac_word=$2
2439 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2440 $as_echo_n "checking for $ac_word... " >&6; }
2441 if test "${ac_cv_prog_STRIP+set}" = set; then
2442 $as_echo_n "(cached) " >&6
2444 if test -n "$STRIP"; then
2445 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451 test -z "$as_dir" && as_dir=.
2452 for ac_exec_ext in '' $ac_executable_extensions; do
2453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2454 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2455 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2464 STRIP=$ac_cv_prog_STRIP
2465 if test -n "$STRIP"; then
2466 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2467 $as_echo "$STRIP" >&6; }
2469 { $as_echo "$as_me:$LINENO: result: no" >&5
2470 $as_echo "no" >&6; }
2475 if test -z "$ac_cv_prog_STRIP"; then
2477 # Extract the first word of "strip", so it can be a program name with args.
2478 set dummy strip; ac_word=$2
2479 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2480 $as_echo_n "checking for $ac_word... " >&6; }
2481 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2482 $as_echo_n "(cached) " >&6
2484 if test -n "$ac_ct_STRIP"; then
2485 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2491 test -z "$as_dir" && as_dir=.
2492 for ac_exec_ext in '' $ac_executable_extensions; do
2493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2494 ac_cv_prog_ac_ct_STRIP="strip"
2495 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2504 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2505 if test -n "$ac_ct_STRIP"; then
2506 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2507 $as_echo "$ac_ct_STRIP" >&6; }
2509 { $as_echo "$as_me:$LINENO: result: no" >&5
2510 $as_echo "no" >&6; }
2513 if test "x$ac_ct_STRIP" = x; then
2516 case $cross_compiling:$ac_tool_warned in
2518 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2520 ac_tool_warned=yes ;;
2525 STRIP="$ac_cv_prog_STRIP"
2529 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2531 # We need awk for the "check" target. The system "awk" is bad on
2533 # Always define AMTAR for backward compatibility.
2535 AMTAR=${AMTAR-"${am_missing_run}tar"}
2537 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2544 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2545 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2547 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2548 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2549 $as_echo_n "(cached) " >&6
2551 cat >conftest.make <<\_ACEOF
2554 @echo '@@@%%%=$(MAKE)=@@@%%%'
2556 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2557 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2559 eval ac_cv_prog_make_${ac_make}_set=yes;;
2561 eval ac_cv_prog_make_${ac_make}_set=no;;
2565 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2566 { $as_echo "$as_me:$LINENO: result: yes" >&5
2567 $as_echo "yes" >&6; }
2570 { $as_echo "$as_me:$LINENO: result: no" >&5
2571 $as_echo "no" >&6; }
2572 SET_MAKE="MAKE=${MAKE-make}"
2576 # AC_PROG_CC indicates that the source code may be in C. If the source
2577 # code is C++ then we also need AC_PROG_CXX.
2579 ac_cpp='$CPP $CPPFLAGS'
2580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2583 if test -n "$ac_tool_prefix"; then
2584 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2585 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2586 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2587 $as_echo_n "checking for $ac_word... " >&6; }
2588 if test "${ac_cv_prog_CC+set}" = set; then
2589 $as_echo_n "(cached) " >&6
2591 if test -n "$CC"; then
2592 ac_cv_prog_CC="$CC" # Let the user override the test.
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598 test -z "$as_dir" && as_dir=.
2599 for ac_exec_ext in '' $ac_executable_extensions; do
2600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2601 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2602 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2612 if test -n "$CC"; then
2613 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2614 $as_echo "$CC" >&6; }
2616 { $as_echo "$as_me:$LINENO: result: no" >&5
2617 $as_echo "no" >&6; }
2622 if test -z "$ac_cv_prog_CC"; then
2624 # Extract the first word of "gcc", so it can be a program name with args.
2625 set dummy gcc; ac_word=$2
2626 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2627 $as_echo_n "checking for $ac_word... " >&6; }
2628 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2629 $as_echo_n "(cached) " >&6
2631 if test -n "$ac_ct_CC"; then
2632 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638 test -z "$as_dir" && as_dir=.
2639 for ac_exec_ext in '' $ac_executable_extensions; do
2640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2641 ac_cv_prog_ac_ct_CC="gcc"
2642 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2651 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2652 if test -n "$ac_ct_CC"; then
2653 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2654 $as_echo "$ac_ct_CC" >&6; }
2656 { $as_echo "$as_me:$LINENO: result: no" >&5
2657 $as_echo "no" >&6; }
2660 if test "x$ac_ct_CC" = x; then
2663 case $cross_compiling:$ac_tool_warned in
2665 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2666 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2667 ac_tool_warned=yes ;;
2675 if test -z "$CC"; then
2676 if test -n "$ac_tool_prefix"; then
2677 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2678 set dummy ${ac_tool_prefix}cc; ac_word=$2
2679 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2680 $as_echo_n "checking for $ac_word... " >&6; }
2681 if test "${ac_cv_prog_CC+set}" = set; then
2682 $as_echo_n "(cached) " >&6
2684 if test -n "$CC"; then
2685 ac_cv_prog_CC="$CC" # Let the user override the test.
2687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691 test -z "$as_dir" && as_dir=.
2692 for ac_exec_ext in '' $ac_executable_extensions; do
2693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2694 ac_cv_prog_CC="${ac_tool_prefix}cc"
2695 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2705 if test -n "$CC"; then
2706 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2707 $as_echo "$CC" >&6; }
2709 { $as_echo "$as_me:$LINENO: result: no" >&5
2710 $as_echo "no" >&6; }
2716 if test -z "$CC"; then
2717 # Extract the first word of "cc", so it can be a program name with args.
2718 set dummy cc; ac_word=$2
2719 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2720 $as_echo_n "checking for $ac_word... " >&6; }
2721 if test "${ac_cv_prog_CC+set}" = set; then
2722 $as_echo_n "(cached) " >&6
2724 if test -n "$CC"; then
2725 ac_cv_prog_CC="$CC" # Let the user override the test.
2728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2732 test -z "$as_dir" && as_dir=.
2733 for ac_exec_ext in '' $ac_executable_extensions; do
2734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2736 ac_prog_rejected=yes
2740 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 if test $ac_prog_rejected = yes; then
2748 # We found a bogon in the path, so make sure we never use it.
2749 set dummy $ac_cv_prog_CC
2751 if test $# != 0; then
2752 # We chose a different compiler from the bogus one.
2753 # However, it has the same basename, so the bogon will be chosen
2754 # first if we set CC to just the basename; use the full file name.
2756 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2762 if test -n "$CC"; then
2763 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2764 $as_echo "$CC" >&6; }
2766 { $as_echo "$as_me:$LINENO: result: no" >&5
2767 $as_echo "no" >&6; }
2772 if test -z "$CC"; then
2773 if test -n "$ac_tool_prefix"; then
2774 for ac_prog in cl.exe
2776 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2777 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2778 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2779 $as_echo_n "checking for $ac_word... " >&6; }
2780 if test "${ac_cv_prog_CC+set}" = set; then
2781 $as_echo_n "(cached) " >&6
2783 if test -n "$CC"; then
2784 ac_cv_prog_CC="$CC" # Let the user override the test.
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2790 test -z "$as_dir" && as_dir=.
2791 for ac_exec_ext in '' $ac_executable_extensions; do
2792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2793 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2794 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2804 if test -n "$CC"; then
2805 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2806 $as_echo "$CC" >&6; }
2808 { $as_echo "$as_me:$LINENO: result: no" >&5
2809 $as_echo "no" >&6; }
2813 test -n "$CC" && break
2816 if test -z "$CC"; then
2818 for ac_prog in cl.exe
2820 # Extract the first word of "$ac_prog", so it can be a program name with args.
2821 set dummy $ac_prog; ac_word=$2
2822 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2823 $as_echo_n "checking for $ac_word... " >&6; }
2824 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2825 $as_echo_n "(cached) " >&6
2827 if test -n "$ac_ct_CC"; then
2828 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2834 test -z "$as_dir" && as_dir=.
2835 for ac_exec_ext in '' $ac_executable_extensions; do
2836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2837 ac_cv_prog_ac_ct_CC="$ac_prog"
2838 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2847 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2848 if test -n "$ac_ct_CC"; then
2849 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2850 $as_echo "$ac_ct_CC" >&6; }
2852 { $as_echo "$as_me:$LINENO: result: no" >&5
2853 $as_echo "no" >&6; }
2857 test -n "$ac_ct_CC" && break
2860 if test "x$ac_ct_CC" = x; then
2863 case $cross_compiling:$ac_tool_warned in
2865 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2867 ac_tool_warned=yes ;;
2876 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2878 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2879 See \`config.log' for more details." >&5
2880 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2881 See \`config.log' for more details." >&2;}
2882 { (exit 1); exit 1; }; }; }
2884 # Provide some information about the compiler.
2885 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2888 { (ac_try="$ac_compiler --version >&5"
2890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891 *) ac_try_echo=$ac_try;;
2893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2894 $as_echo "$ac_try_echo") >&5
2895 (eval "$ac_compiler --version >&5") 2>&5
2897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); }
2899 { (ac_try="$ac_compiler -v >&5"
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2905 $as_echo "$ac_try_echo") >&5
2906 (eval "$ac_compiler -v >&5") 2>&5
2908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); }
2910 { (ac_try="$ac_compiler -V >&5"
2912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2913 *) ac_try_echo=$ac_try;;
2915 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2916 $as_echo "$ac_try_echo") >&5
2917 (eval "$ac_compiler -V >&5") 2>&5
2919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); }
2922 cat >conftest.$ac_ext <<_ACEOF
2925 cat confdefs.h >>conftest.$ac_ext
2926 cat >>conftest.$ac_ext <<_ACEOF
2927 /* end confdefs.h. */
2937 ac_clean_files_save=$ac_clean_files
2938 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2939 # Try to create an executable without -o first, disregard a.out.
2940 # It will help us diagnose broken compilers, and finding out an intuition
2942 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2943 $as_echo_n "checking for C compiler default output file name... " >&6; }
2944 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2946 # The possible output files:
2947 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2950 for ac_file in $ac_files
2953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2954 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2959 if { (ac_try="$ac_link_default"
2961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962 *) ac_try_echo=$ac_try;;
2964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2965 $as_echo "$ac_try_echo") >&5
2966 (eval "$ac_link_default") 2>&5
2968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); }; then
2970 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2971 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2972 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2973 # so that the user can short-circuit this test for compilers unknown to
2975 for ac_file in $ac_files ''
2977 test -f "$ac_file" || continue
2979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2982 # We found the default executable, but exeext='' is most
2986 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2988 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2990 # We set ac_cv_exeext here because the later test for it is not
2991 # safe: cross compilers may not add the suffix if given an `-o'
2992 # argument, so we may need to know it at that point already.
2993 # Even if this section looks crufty: it has the advantage of
3000 test "$ac_cv_exeext" = no && ac_cv_exeext=
3006 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3007 $as_echo "$ac_file" >&6; }
3008 if test -z "$ac_file"; then
3009 $as_echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.$ac_ext >&5
3012 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3014 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3015 See \`config.log' for more details." >&5
3016 $as_echo "$as_me: error: C compiler cannot create executables
3017 See \`config.log' for more details." >&2;}
3018 { (exit 77); exit 77; }; }; }
3021 ac_exeext=$ac_cv_exeext
3023 # Check that the compiler produces executables we can run. If not, either
3024 # the compiler is broken, or we cross compile.
3025 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3026 $as_echo_n "checking whether the C compiler works... " >&6; }
3027 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3028 # If not cross compiling, check that we can run a simple program.
3029 if test "$cross_compiling" != yes; then
3030 if { ac_try='./$ac_file'
3031 { (case "(($ac_try" in
3032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033 *) ac_try_echo=$ac_try;;
3035 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3036 $as_echo "$ac_try_echo") >&5
3037 (eval "$ac_try") 2>&5
3039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040 (exit $ac_status); }; }; then
3043 if test "$cross_compiling" = maybe; then
3046 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3048 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3049 If you meant to cross compile, use \`--host'.
3050 See \`config.log' for more details." >&5
3051 $as_echo "$as_me: error: cannot run C compiled programs.
3052 If you meant to cross compile, use \`--host'.
3053 See \`config.log' for more details." >&2;}
3054 { (exit 1); exit 1; }; }; }
3058 { $as_echo "$as_me:$LINENO: result: yes" >&5
3059 $as_echo "yes" >&6; }
3061 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3062 ac_clean_files=$ac_clean_files_save
3063 # Check that the compiler produces executables we can run. If not, either
3064 # the compiler is broken, or we cross compile.
3065 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3066 $as_echo_n "checking whether we are cross compiling... " >&6; }
3067 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3068 $as_echo "$cross_compiling" >&6; }
3070 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3071 $as_echo_n "checking for suffix of executables... " >&6; }
3072 if { (ac_try="$ac_link"
3074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3075 *) ac_try_echo=$ac_try;;
3077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3078 $as_echo "$ac_try_echo") >&5
3079 (eval "$ac_link") 2>&5
3081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); }; then
3083 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3084 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3085 # work properly (i.e., refer to `conftest.exe'), while it won't with
3087 for ac_file in conftest.exe conftest conftest.*; do
3088 test -f "$ac_file" || continue
3090 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3091 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3097 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3099 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3100 See \`config.log' for more details." >&5
3101 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3102 See \`config.log' for more details." >&2;}
3103 { (exit 1); exit 1; }; }; }
3106 rm -f conftest$ac_cv_exeext
3107 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3108 $as_echo "$ac_cv_exeext" >&6; }
3110 rm -f conftest.$ac_ext
3111 EXEEXT=$ac_cv_exeext
3113 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3114 $as_echo_n "checking for suffix of object files... " >&6; }
3115 if test "${ac_cv_objext+set}" = set; then
3116 $as_echo_n "(cached) " >&6
3118 cat >conftest.$ac_ext <<_ACEOF
3121 cat confdefs.h >>conftest.$ac_ext
3122 cat >>conftest.$ac_ext <<_ACEOF
3123 /* end confdefs.h. */
3133 rm -f conftest.o conftest.obj
3134 if { (ac_try="$ac_compile"
3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3140 $as_echo "$ac_try_echo") >&5
3141 (eval "$ac_compile") 2>&5
3143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); }; then
3145 for ac_file in conftest.o conftest.obj conftest.*; do
3146 test -f "$ac_file" || continue;
3148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3149 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3154 $as_echo "$as_me: failed program was:" >&5
3155 sed 's/^/| /' conftest.$ac_ext >&5
3157 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3159 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3160 See \`config.log' for more details." >&5
3161 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3162 See \`config.log' for more details." >&2;}
3163 { (exit 1); exit 1; }; }; }
3166 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3168 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3169 $as_echo "$ac_cv_objext" >&6; }
3170 OBJEXT=$ac_cv_objext
3172 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3173 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3174 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3175 $as_echo_n "(cached) " >&6
3177 cat >conftest.$ac_ext <<_ACEOF
3180 cat confdefs.h >>conftest.$ac_ext
3181 cat >>conftest.$ac_ext <<_ACEOF
3182 /* end confdefs.h. */
3195 rm -f conftest.$ac_objext
3196 if { (ac_try="$ac_compile"
3198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3202 $as_echo "$ac_try_echo") >&5
3203 (eval "$ac_compile") 2>conftest.er1
3205 grep -v '^ *+' conftest.er1 >conftest.err
3207 cat conftest.err >&5
3208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); } && {
3210 test -z "$ac_c_werror_flag" ||
3211 test ! -s conftest.err
3212 } && test -s conftest.$ac_objext; then
3215 $as_echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3225 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3226 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3227 if test $ac_compiler_gnu = yes; then
3232 ac_test_CFLAGS=${CFLAGS+set}
3233 ac_save_CFLAGS=$CFLAGS
3234 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3235 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3236 if test "${ac_cv_prog_cc_g+set}" = set; then
3237 $as_echo_n "(cached) " >&6
3239 ac_save_c_werror_flag=$ac_c_werror_flag
3240 ac_c_werror_flag=yes
3243 cat >conftest.$ac_ext <<_ACEOF
3246 cat confdefs.h >>conftest.$ac_ext
3247 cat >>conftest.$ac_ext <<_ACEOF
3248 /* end confdefs.h. */
3258 rm -f conftest.$ac_objext
3259 if { (ac_try="$ac_compile"
3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3262 *) ac_try_echo=$ac_try;;
3264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3265 $as_echo "$ac_try_echo") >&5
3266 (eval "$ac_compile") 2>conftest.er1
3268 grep -v '^ *+' conftest.er1 >conftest.err
3270 cat conftest.err >&5
3271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); } && {
3273 test -z "$ac_c_werror_flag" ||
3274 test ! -s conftest.err
3275 } && test -s conftest.$ac_objext; then
3278 $as_echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.$ac_ext >&5
3282 cat >conftest.$ac_ext <<_ACEOF
3285 cat confdefs.h >>conftest.$ac_ext
3286 cat >>conftest.$ac_ext <<_ACEOF
3287 /* end confdefs.h. */
3297 rm -f conftest.$ac_objext
3298 if { (ac_try="$ac_compile"
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301 *) ac_try_echo=$ac_try;;
3303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3304 $as_echo "$ac_try_echo") >&5
3305 (eval "$ac_compile") 2>conftest.er1
3307 grep -v '^ *+' conftest.er1 >conftest.err
3309 cat conftest.err >&5
3310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); } && {
3312 test -z "$ac_c_werror_flag" ||
3313 test ! -s conftest.err
3314 } && test -s conftest.$ac_objext; then
3317 $as_echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3320 ac_c_werror_flag=$ac_save_c_werror_flag
3322 cat >conftest.$ac_ext <<_ACEOF
3325 cat confdefs.h >>conftest.$ac_ext
3326 cat >>conftest.$ac_ext <<_ACEOF
3327 /* end confdefs.h. */
3337 rm -f conftest.$ac_objext
3338 if { (ac_try="$ac_compile"
3340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3344 $as_echo "$ac_try_echo") >&5
3345 (eval "$ac_compile") 2>conftest.er1
3347 grep -v '^ *+' conftest.er1 >conftest.err
3349 cat conftest.err >&5
3350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); } && {
3352 test -z "$ac_c_werror_flag" ||
3353 test ! -s conftest.err
3354 } && test -s conftest.$ac_objext; then
3357 $as_echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.$ac_ext >&5
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370 ac_c_werror_flag=$ac_save_c_werror_flag
3372 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3373 $as_echo "$ac_cv_prog_cc_g" >&6; }
3374 if test "$ac_test_CFLAGS" = set; then
3375 CFLAGS=$ac_save_CFLAGS
3376 elif test $ac_cv_prog_cc_g = yes; then
3377 if test "$GCC" = yes; then
3383 if test "$GCC" = yes; then
3389 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3390 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3391 if test "${ac_cv_prog_cc_c89+set}" = set; then
3392 $as_echo_n "(cached) " >&6
3394 ac_cv_prog_cc_c89=no
3396 cat >conftest.$ac_ext <<_ACEOF
3399 cat confdefs.h >>conftest.$ac_ext
3400 cat >>conftest.$ac_ext <<_ACEOF
3401 /* end confdefs.h. */
3404 #include <sys/types.h>
3405 #include <sys/stat.h>
3406 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3407 struct buf { int x; };
3408 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3409 static char *e (p, i)
3415 static char *f (char * (*g) (char **, int), char **p, ...)
3420 s = g (p, va_arg (v,int));
3425 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3426 function prototypes and stuff, but not '\xHH' hex character constants.
3427 These don't provoke an error unfortunately, instead are silently treated
3428 as 'x'. The following induces an error, until -std is added to get
3429 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3430 array size at least. It's necessary to write '\x00'==0 to get something
3431 that's true only with -std. */
3432 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3434 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3435 inside strings and character constants. */
3437 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3439 int test (int i, double x);
3440 struct s1 {int (*f) (int a);};
3441 struct s2 {int (*f) (double a);};
3442 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3448 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3453 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3454 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3456 CC="$ac_save_CC $ac_arg"
3457 rm -f conftest.$ac_objext
3458 if { (ac_try="$ac_compile"
3460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3461 *) ac_try_echo=$ac_try;;
3463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3464 $as_echo "$ac_try_echo") >&5
3465 (eval "$ac_compile") 2>conftest.er1
3467 grep -v '^ *+' conftest.er1 >conftest.err
3469 cat conftest.err >&5
3470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); } && {
3472 test -z "$ac_c_werror_flag" ||
3473 test ! -s conftest.err
3474 } && test -s conftest.$ac_objext; then
3475 ac_cv_prog_cc_c89=$ac_arg
3477 $as_echo "$as_me: failed program was:" >&5
3478 sed 's/^/| /' conftest.$ac_ext >&5
3483 rm -f core conftest.err conftest.$ac_objext
3484 test "x$ac_cv_prog_cc_c89" != "xno" && break
3486 rm -f conftest.$ac_ext
3491 case "x$ac_cv_prog_cc_c89" in
3493 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3494 $as_echo "none needed" >&6; } ;;
3496 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3497 $as_echo "unsupported" >&6; } ;;
3499 CC="$CC $ac_cv_prog_cc_c89"
3500 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3501 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3506 ac_cpp='$CPP $CPPFLAGS'
3507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3510 DEPDIR="${am__leading_dot}deps"
3512 ac_config_commands="$ac_config_commands depfiles"
3515 am_make=${MAKE-make}
3516 cat > confinc << 'END'
3521 # If we don't find an include directive, just comment out the code.
3522 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3523 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3527 # First try GNU make style include.
3528 echo "include confinc" > confmf
3529 # We grep out `Entering directory' and `Leaving directory'
3530 # messages which can occur if `w' ends up in MAKEFLAGS.
3531 # In particular we don't look at `^make:' because GNU make might
3532 # be invoked under some other name (usually "gmake"), in which
3533 # case it prints its new name instead of `make'.
3534 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3539 # Now try BSD make style include.
3540 if test "$am__include" = "#"; then
3541 echo '.include "confinc"' > confmf
3542 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3543 am__include=.include
3550 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3551 $as_echo "$_am_result" >&6; }
3552 rm -f confinc confmf
3554 # Check whether --enable-dependency-tracking was given.
3555 if test "${enable_dependency_tracking+set}" = set; then
3556 enableval=$enable_dependency_tracking;
3559 if test "x$enable_dependency_tracking" != xno; then
3560 am_depcomp="$ac_aux_dir/depcomp"
3563 if test "x$enable_dependency_tracking" != xno; then
3573 depcc="$CC" am_compiler_list=
3575 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3576 $as_echo_n "checking dependency style of $depcc... " >&6; }
3577 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3578 $as_echo_n "(cached) " >&6
3580 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3581 # We make a subdir and do the tests there. Otherwise we can end up
3582 # making bogus files that we don't know about and never remove. For
3583 # instance it was reported that on HP-UX the gcc test will end up
3584 # making a dummy file named `D' -- because `-MD' means `put the output
3587 # Copy depcomp to subdir because otherwise we won't find it if we're
3588 # using a relative directory.
3589 cp "$am_depcomp" conftest.dir
3591 # We will build objects and dependencies in a subdirectory because
3592 # it helps to detect inapplicable dependency modes. For instance
3593 # both Tru64's cc and ICC support -MD to output dependencies as a
3594 # side effect of compilation, but ICC will put the dependencies in
3595 # the current directory while Tru64 will put them in the object
3599 am_cv_CC_dependencies_compiler_type=none
3600 if test "$am_compiler_list" = ""; then
3601 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3603 for depmode in $am_compiler_list; do
3604 # Setup a source with many dependencies, because some compilers
3605 # like to wrap large dependency lists on column 80 (with \), and
3606 # we should not choose a depcomp mode which is confused by this.
3608 # We need to recreate these files for each test, as the compiler may
3609 # overwrite some of them when testing with obscure command lines.
3610 # This happens at least with the AIX C compiler.
3612 for i in 1 2 3 4 5 6; do
3613 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3614 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3615 # Solaris 8's {/usr,}/bin/sh.
3616 touch sub/conftst$i.h
3618 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3622 # after this tag, mechanisms are not by side-effect, so they'll
3623 # only be used when explicitly requested
3624 if test "x$enable_dependency_tracking" = xyes; then
3632 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3633 # mode. It turns out that the SunPro C++ compiler does not properly
3634 # handle `-M -o', and we need to detect this.
3635 if depmode=$depmode \
3636 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3637 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3638 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3639 >/dev/null 2>conftest.err &&
3640 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3641 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3642 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3643 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3644 # icc doesn't choke on unknown options, it will just issue warnings
3645 # or remarks (even with -Werror). So we grep stderr for any message
3646 # that says an option was ignored or not supported.
3647 # When given -MP, icc 7.0 and 7.1 complain thusly:
3648 # icc: Command line warning: ignoring option '-M'; no argument required
3649 # The diagnosis changed in icc 8.0:
3650 # icc: Command line remark: option '-MP' not supported
3651 if (grep 'ignoring option' conftest.err ||
3652 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3653 am_cv_CC_dependencies_compiler_type=$depmode
3662 am_cv_CC_dependencies_compiler_type=none
3666 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3667 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3668 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3671 test "x$enable_dependency_tracking" != xno \
3672 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3674 am__fastdepCC_FALSE='#'
3676 am__fastdepCC_TRUE='#'
3677 am__fastdepCC_FALSE=
3682 ac_cpp='$CXXCPP $CPPFLAGS'
3683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3686 if test -z "$CXX"; then
3687 if test -n "$CCC"; then
3690 if test -n "$ac_tool_prefix"; then
3691 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3693 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3694 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3695 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3696 $as_echo_n "checking for $ac_word... " >&6; }
3697 if test "${ac_cv_prog_CXX+set}" = set; then
3698 $as_echo_n "(cached) " >&6
3700 if test -n "$CXX"; then
3701 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707 test -z "$as_dir" && as_dir=.
3708 for ac_exec_ext in '' $ac_executable_extensions; do
3709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3710 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3711 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 if test -n "$CXX"; then
3722 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3723 $as_echo "$CXX" >&6; }
3725 { $as_echo "$as_me:$LINENO: result: no" >&5
3726 $as_echo "no" >&6; }
3730 test -n "$CXX" && break
3733 if test -z "$CXX"; then
3735 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3737 # Extract the first word of "$ac_prog", so it can be a program name with args.
3738 set dummy $ac_prog; ac_word=$2
3739 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3742 $as_echo_n "(cached) " >&6
3744 if test -n "$ac_ct_CXX"; then
3745 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3751 test -z "$as_dir" && as_dir=.
3752 for ac_exec_ext in '' $ac_executable_extensions; do
3753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3754 ac_cv_prog_ac_ct_CXX="$ac_prog"
3755 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3765 if test -n "$ac_ct_CXX"; then
3766 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3767 $as_echo "$ac_ct_CXX" >&6; }
3769 { $as_echo "$as_me:$LINENO: result: no" >&5
3770 $as_echo "no" >&6; }
3774 test -n "$ac_ct_CXX" && break
3777 if test "x$ac_ct_CXX" = x; then
3780 case $cross_compiling:$ac_tool_warned in
3782 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3784 ac_tool_warned=yes ;;
3792 # Provide some information about the compiler.
3793 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3796 { (ac_try="$ac_compiler --version >&5"
3798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3799 *) ac_try_echo=$ac_try;;
3801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3802 $as_echo "$ac_try_echo") >&5
3803 (eval "$ac_compiler --version >&5") 2>&5
3805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); }
3807 { (ac_try="$ac_compiler -v >&5"
3809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3810 *) ac_try_echo=$ac_try;;
3812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3813 $as_echo "$ac_try_echo") >&5
3814 (eval "$ac_compiler -v >&5") 2>&5
3816 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); }
3818 { (ac_try="$ac_compiler -V >&5"
3820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3821 *) ac_try_echo=$ac_try;;
3823 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3824 $as_echo "$ac_try_echo") >&5
3825 (eval "$ac_compiler -V >&5") 2>&5
3827 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3828 (exit $ac_status); }
3830 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3831 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3832 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3833 $as_echo_n "(cached) " >&6
3835 cat >conftest.$ac_ext <<_ACEOF
3838 cat confdefs.h >>conftest.$ac_ext
3839 cat >>conftest.$ac_ext <<_ACEOF
3840 /* end confdefs.h. */
3853 rm -f conftest.$ac_objext
3854 if { (ac_try="$ac_compile"
3856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3857 *) ac_try_echo=$ac_try;;
3859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3860 $as_echo "$ac_try_echo") >&5
3861 (eval "$ac_compile") 2>conftest.er1
3863 grep -v '^ *+' conftest.er1 >conftest.err
3865 cat conftest.err >&5
3866 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); } && {
3868 test -z "$ac_cxx_werror_flag" ||
3869 test ! -s conftest.err
3870 } && test -s conftest.$ac_objext; then
3873 $as_echo "$as_me: failed program was:" >&5
3874 sed 's/^/| /' conftest.$ac_ext >&5
3879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3880 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3883 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3884 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3885 if test $ac_compiler_gnu = yes; then
3890 ac_test_CXXFLAGS=${CXXFLAGS+set}
3891 ac_save_CXXFLAGS=$CXXFLAGS
3892 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3893 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3894 if test "${ac_cv_prog_cxx_g+set}" = set; then
3895 $as_echo_n "(cached) " >&6
3897 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3898 ac_cxx_werror_flag=yes
3901 cat >conftest.$ac_ext <<_ACEOF
3904 cat confdefs.h >>conftest.$ac_ext
3905 cat >>conftest.$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3916 rm -f conftest.$ac_objext
3917 if { (ac_try="$ac_compile"
3919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3920 *) ac_try_echo=$ac_try;;
3922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3923 $as_echo "$ac_try_echo") >&5
3924 (eval "$ac_compile") 2>conftest.er1
3926 grep -v '^ *+' conftest.er1 >conftest.err
3928 cat conftest.err >&5
3929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3930 (exit $ac_status); } && {
3931 test -z "$ac_cxx_werror_flag" ||
3932 test ! -s conftest.err
3933 } && test -s conftest.$ac_objext; then
3934 ac_cv_prog_cxx_g=yes
3936 $as_echo "$as_me: failed program was:" >&5
3937 sed 's/^/| /' conftest.$ac_ext >&5
3940 cat >conftest.$ac_ext <<_ACEOF
3943 cat confdefs.h >>conftest.$ac_ext
3944 cat >>conftest.$ac_ext <<_ACEOF
3945 /* end confdefs.h. */
3955 rm -f conftest.$ac_objext
3956 if { (ac_try="$ac_compile"
3958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959 *) ac_try_echo=$ac_try;;
3961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3962 $as_echo "$ac_try_echo") >&5
3963 (eval "$ac_compile") 2>conftest.er1
3965 grep -v '^ *+' conftest.er1 >conftest.err
3967 cat conftest.err >&5
3968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } && {
3970 test -z "$ac_cxx_werror_flag" ||
3971 test ! -s conftest.err
3972 } && test -s conftest.$ac_objext; then
3975 $as_echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.$ac_ext >&5
3978 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3980 cat >conftest.$ac_ext <<_ACEOF
3983 cat confdefs.h >>conftest.$ac_ext
3984 cat >>conftest.$ac_ext <<_ACEOF
3985 /* end confdefs.h. */
3995 rm -f conftest.$ac_objext
3996 if { (ac_try="$ac_compile"
3998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3999 *) ac_try_echo=$ac_try;;
4001 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4002 $as_echo "$ac_try_echo") >&5
4003 (eval "$ac_compile") 2>conftest.er1
4005 grep -v '^ *+' conftest.er1 >conftest.err
4007 cat conftest.err >&5
4008 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4009 (exit $ac_status); } && {
4010 test -z "$ac_cxx_werror_flag" ||
4011 test ! -s conftest.err
4012 } && test -s conftest.$ac_objext; then
4013 ac_cv_prog_cxx_g=yes
4015 $as_echo "$as_me: failed program was:" >&5
4016 sed 's/^/| /' conftest.$ac_ext >&5
4021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4028 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4030 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4031 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4032 if test "$ac_test_CXXFLAGS" = set; then
4033 CXXFLAGS=$ac_save_CXXFLAGS
4034 elif test $ac_cv_prog_cxx_g = yes; then
4035 if test "$GXX" = yes; then
4041 if test "$GXX" = yes; then
4048 ac_cpp='$CPP $CPPFLAGS'
4049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4053 depcc="$CXX" am_compiler_list=
4055 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4056 $as_echo_n "checking dependency style of $depcc... " >&6; }
4057 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4058 $as_echo_n "(cached) " >&6
4060 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4061 # We make a subdir and do the tests there. Otherwise we can end up
4062 # making bogus files that we don't know about and never remove. For
4063 # instance it was reported that on HP-UX the gcc test will end up
4064 # making a dummy file named `D' -- because `-MD' means `put the output
4067 # Copy depcomp to subdir because otherwise we won't find it if we're
4068 # using a relative directory.
4069 cp "$am_depcomp" conftest.dir
4071 # We will build objects and dependencies in a subdirectory because
4072 # it helps to detect inapplicable dependency modes. For instance
4073 # both Tru64's cc and ICC support -MD to output dependencies as a
4074 # side effect of compilation, but ICC will put the dependencies in
4075 # the current directory while Tru64 will put them in the object
4079 am_cv_CXX_dependencies_compiler_type=none
4080 if test "$am_compiler_list" = ""; then
4081 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4083 for depmode in $am_compiler_list; do
4084 # Setup a source with many dependencies, because some compilers
4085 # like to wrap large dependency lists on column 80 (with \), and
4086 # we should not choose a depcomp mode which is confused by this.
4088 # We need to recreate these files for each test, as the compiler may
4089 # overwrite some of them when testing with obscure command lines.
4090 # This happens at least with the AIX C compiler.
4092 for i in 1 2 3 4 5 6; do
4093 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4094 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4095 # Solaris 8's {/usr,}/bin/sh.
4096 touch sub/conftst$i.h
4098 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4102 # after this tag, mechanisms are not by side-effect, so they'll
4103 # only be used when explicitly requested
4104 if test "x$enable_dependency_tracking" = xyes; then
4112 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4113 # mode. It turns out that the SunPro C++ compiler does not properly
4114 # handle `-M -o', and we need to detect this.
4115 if depmode=$depmode \
4116 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4117 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4118 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4119 >/dev/null 2>conftest.err &&
4120 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4121 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4122 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4123 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4124 # icc doesn't choke on unknown options, it will just issue warnings
4125 # or remarks (even with -Werror). So we grep stderr for any message
4126 # that says an option was ignored or not supported.
4127 # When given -MP, icc 7.0 and 7.1 complain thusly:
4128 # icc: Command line warning: ignoring option '-M'; no argument required
4129 # The diagnosis changed in icc 8.0:
4130 # icc: Command line remark: option '-MP' not supported
4131 if (grep 'ignoring option' conftest.err ||
4132 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4133 am_cv_CXX_dependencies_compiler_type=$depmode
4142 am_cv_CXX_dependencies_compiler_type=none
4146 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4147 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4148 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4151 test "x$enable_dependency_tracking" != xno \
4152 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4153 am__fastdepCXX_TRUE=
4154 am__fastdepCXX_FALSE='#'
4156 am__fastdepCXX_TRUE='#'
4157 am__fastdepCXX_FALSE=
4161 # AC_PROG_RANLIB will allow you to build code in sub-directories into
4162 # temporary libraries, which make will then link in with the rest of
4164 if test -n "$ac_tool_prefix"; then
4165 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4166 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4167 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4168 $as_echo_n "checking for $ac_word... " >&6; }
4169 if test "${ac_cv_prog_RANLIB+set}" = set; then
4170 $as_echo_n "(cached) " >&6
4172 if test -n "$RANLIB"; then
4173 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4179 test -z "$as_dir" && as_dir=.
4180 for ac_exec_ext in '' $ac_executable_extensions; do
4181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4182 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4183 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4192 RANLIB=$ac_cv_prog_RANLIB
4193 if test -n "$RANLIB"; then
4194 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4195 $as_echo "$RANLIB" >&6; }
4197 { $as_echo "$as_me:$LINENO: result: no" >&5
4198 $as_echo "no" >&6; }
4203 if test -z "$ac_cv_prog_RANLIB"; then
4204 ac_ct_RANLIB=$RANLIB
4205 # Extract the first word of "ranlib", so it can be a program name with args.
4206 set dummy ranlib; ac_word=$2
4207 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4208 $as_echo_n "checking for $ac_word... " >&6; }
4209 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4210 $as_echo_n "(cached) " >&6
4212 if test -n "$ac_ct_RANLIB"; then
4213 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4219 test -z "$as_dir" && as_dir=.
4220 for ac_exec_ext in '' $ac_executable_extensions; do
4221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4222 ac_cv_prog_ac_ct_RANLIB="ranlib"
4223 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4232 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4233 if test -n "$ac_ct_RANLIB"; then
4234 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4235 $as_echo "$ac_ct_RANLIB" >&6; }
4237 { $as_echo "$as_me:$LINENO: result: no" >&5
4238 $as_echo "no" >&6; }
4241 if test "x$ac_ct_RANLIB" = x; then
4244 case $cross_compiling:$ac_tool_warned in
4246 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4248 ac_tool_warned=yes ;;
4250 RANLIB=$ac_ct_RANLIB
4253 RANLIB="$ac_cv_prog_RANLIB"
4256 # AC_PROG_INSTALL will generate an install target so that users may
4257 # just type 'make install' to install the software.
4258 # Find a good install program. We prefer a C program (faster),
4259 # so one script is as good as another. But avoid the broken or
4260 # incompatible versions:
4261 # SysV /etc/install, /usr/sbin/install
4262 # SunOS /usr/etc/install
4263 # IRIX /sbin/install
4265 # AmigaOS /C/install, which installs bootblocks on floppy discs
4266 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4267 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4268 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4269 # OS/2's system install, which has a completely different semantic
4270 # ./install, which can be erroneously created by make from ./install.sh.
4271 # Reject install programs that cannot install multiple files.
4272 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4273 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4274 if test -z "$INSTALL"; then
4275 if test "${ac_cv_path_install+set}" = set; then
4276 $as_echo_n "(cached) " >&6
4278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4282 test -z "$as_dir" && as_dir=.
4283 # Account for people who put trailing slashes in PATH elements.
4285 ./ | .// | /cC/* | \
4286 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4287 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4290 # OSF1 and SCO ODT 3.0 have their own names for install.
4291 # Don't use installbsd from OSF since it installs stuff as root
4293 for ac_prog in ginstall scoinst install; do
4294 for ac_exec_ext in '' $ac_executable_extensions; do
4295 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4296 if test $ac_prog = install &&
4297 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4298 # AIX install. It has an incompatible calling convention.
4300 elif test $ac_prog = install &&
4301 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4302 # program-specific install script used by HP pwplus--don't use.
4305 rm -rf conftest.one conftest.two conftest.dir
4306 echo one > conftest.one
4307 echo two > conftest.two
4309 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4310 test -s conftest.one && test -s conftest.two &&
4311 test -s conftest.dir/conftest.one &&
4312 test -s conftest.dir/conftest.two
4314 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4327 rm -rf conftest.one conftest.two conftest.dir
4330 if test "${ac_cv_path_install+set}" = set; then
4331 INSTALL=$ac_cv_path_install
4333 # As a last resort, use the slow shell script. Don't cache a
4334 # value for INSTALL within a source directory, because that will
4335 # break other packages using the cache if that directory is
4336 # removed, or if the value is a relative name.
4337 INSTALL=$ac_install_sh
4340 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4341 $as_echo "$INSTALL" >&6; }
4343 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4344 # It thinks the first close brace ends the variable substitution.
4345 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4347 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4349 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4352 # use C++ compiler and linker
4354 ac_cpp='$CXXCPP $CPPFLAGS'
4355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4361 # Checks for header files.
4364 ac_cpp='$CXXCPP $CPPFLAGS'
4365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4368 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4369 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4370 if test -z "$CXXCPP"; then
4371 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4372 $as_echo_n "(cached) " >&6
4374 # Double quotes because CXXCPP needs to be expanded
4375 for CXXCPP in "$CXX -E" "/lib/cpp"
4378 for ac_cxx_preproc_warn_flag in '' yes
4380 # Use a header file that comes with gcc, so configuring glibc
4381 # with a fresh cross-compiler works.
4382 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4383 # <limits.h> exists even on freestanding compilers.
4384 # On the NeXT, cc -E runs the code through the compiler's parser,
4385 # not just through cpp. "Syntax error" is here to catch this case.
4386 cat >conftest.$ac_ext <<_ACEOF
4389 cat confdefs.h >>conftest.$ac_ext
4390 cat >>conftest.$ac_ext <<_ACEOF
4391 /* end confdefs.h. */
4393 # include <limits.h>
4395 # include <assert.h>
4399 if { (ac_try="$ac_cpp conftest.$ac_ext"
4401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4402 *) ac_try_echo=$ac_try;;
4404 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4405 $as_echo "$ac_try_echo") >&5
4406 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4408 grep -v '^ *+' conftest.er1 >conftest.err
4410 cat conftest.err >&5
4411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412 (exit $ac_status); } >/dev/null && {
4413 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4414 test ! -s conftest.err
4418 $as_echo "$as_me: failed program was:" >&5
4419 sed 's/^/| /' conftest.$ac_ext >&5
4421 # Broken: fails on valid input.
4425 rm -f conftest.err conftest.$ac_ext
4427 # OK, works on sane cases. Now check whether nonexistent headers
4428 # can be detected and how.
4429 cat >conftest.$ac_ext <<_ACEOF
4432 cat confdefs.h >>conftest.$ac_ext
4433 cat >>conftest.$ac_ext <<_ACEOF
4434 /* end confdefs.h. */
4435 #include <ac_nonexistent.h>
4437 if { (ac_try="$ac_cpp conftest.$ac_ext"
4439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4440 *) ac_try_echo=$ac_try;;
4442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4443 $as_echo "$ac_try_echo") >&5
4444 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4446 grep -v '^ *+' conftest.er1 >conftest.err
4448 cat conftest.err >&5
4449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450 (exit $ac_status); } >/dev/null && {
4451 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4452 test ! -s conftest.err
4454 # Broken: success on invalid input.
4457 $as_echo "$as_me: failed program was:" >&5
4458 sed 's/^/| /' conftest.$ac_ext >&5
4460 # Passes both tests.
4465 rm -f conftest.err conftest.$ac_ext
4468 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4469 rm -f conftest.err conftest.$ac_ext
4470 if $ac_preproc_ok; then
4475 ac_cv_prog_CXXCPP=$CXXCPP
4478 CXXCPP=$ac_cv_prog_CXXCPP
4480 ac_cv_prog_CXXCPP=$CXXCPP
4482 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
4483 $as_echo "$CXXCPP" >&6; }
4485 for ac_cxx_preproc_warn_flag in '' yes
4487 # Use a header file that comes with gcc, so configuring glibc
4488 # with a fresh cross-compiler works.
4489 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4490 # <limits.h> exists even on freestanding compilers.
4491 # On the NeXT, cc -E runs the code through the compiler's parser,
4492 # not just through cpp. "Syntax error" is here to catch this case.
4493 cat >conftest.$ac_ext <<_ACEOF
4496 cat confdefs.h >>conftest.$ac_ext
4497 cat >>conftest.$ac_ext <<_ACEOF
4498 /* end confdefs.h. */
4500 # include <limits.h>
4502 # include <assert.h>
4506 if { (ac_try="$ac_cpp conftest.$ac_ext"
4508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4509 *) ac_try_echo=$ac_try;;
4511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4512 $as_echo "$ac_try_echo") >&5
4513 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4515 grep -v '^ *+' conftest.er1 >conftest.err
4517 cat conftest.err >&5
4518 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); } >/dev/null && {
4520 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4521 test ! -s conftest.err
4525 $as_echo "$as_me: failed program was:" >&5
4526 sed 's/^/| /' conftest.$ac_ext >&5
4528 # Broken: fails on valid input.
4532 rm -f conftest.err conftest.$ac_ext
4534 # OK, works on sane cases. Now check whether nonexistent headers
4535 # can be detected and how.
4536 cat >conftest.$ac_ext <<_ACEOF
4539 cat confdefs.h >>conftest.$ac_ext
4540 cat >>conftest.$ac_ext <<_ACEOF
4541 /* end confdefs.h. */
4542 #include <ac_nonexistent.h>
4544 if { (ac_try="$ac_cpp conftest.$ac_ext"
4546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4547 *) ac_try_echo=$ac_try;;
4549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4550 $as_echo "$ac_try_echo") >&5
4551 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4553 grep -v '^ *+' conftest.er1 >conftest.err
4555 cat conftest.err >&5
4556 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4557 (exit $ac_status); } >/dev/null && {
4558 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4559 test ! -s conftest.err
4561 # Broken: success on invalid input.
4564 $as_echo "$as_me: failed program was:" >&5
4565 sed 's/^/| /' conftest.$ac_ext >&5
4567 # Passes both tests.
4572 rm -f conftest.err conftest.$ac_ext
4575 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4576 rm -f conftest.err conftest.$ac_ext
4577 if $ac_preproc_ok; then
4580 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4582 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4583 See \`config.log' for more details." >&5
4584 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4585 See \`config.log' for more details." >&2;}
4586 { (exit 1); exit 1; }; }; }
4590 ac_cpp='$CXXCPP $CPPFLAGS'
4591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4596 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4597 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4598 if test "${ac_cv_path_GREP+set}" = set; then
4599 $as_echo_n "(cached) " >&6
4601 if test -z "$GREP"; then
4602 ac_path_GREP_found=false
4603 # Loop through the user's path and test for each of PROGNAME-LIST
4604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4605 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4608 test -z "$as_dir" && as_dir=.
4609 for ac_prog in grep ggrep; do
4610 for ac_exec_ext in '' $ac_executable_extensions; do
4611 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4612 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4613 # Check for GNU ac_path_GREP and select it if it is found.
4614 # Check for GNU $ac_path_GREP
4615 case `"$ac_path_GREP" --version 2>&1` in
4617 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4620 $as_echo_n 0123456789 >"conftest.in"
4623 cat "conftest.in" "conftest.in" >"conftest.tmp"
4624 mv "conftest.tmp" "conftest.in"
4625 cp "conftest.in" "conftest.nl"
4626 $as_echo 'GREP' >> "conftest.nl"
4627 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4628 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4629 ac_count=`expr $ac_count + 1`
4630 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4631 # Best one so far, save it but keep looking for a better one
4632 ac_cv_path_GREP="$ac_path_GREP"
4633 ac_path_GREP_max=$ac_count
4635 # 10*(2^10) chars as input seems more than enough
4636 test $ac_count -gt 10 && break
4638 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4641 $ac_path_GREP_found && break 3
4646 if test -z "$ac_cv_path_GREP"; then
4647 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4648 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4649 { (exit 1); exit 1; }; }
4652 ac_cv_path_GREP=$GREP
4656 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4657 $as_echo "$ac_cv_path_GREP" >&6; }
4658 GREP="$ac_cv_path_GREP"
4661 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4662 $as_echo_n "checking for egrep... " >&6; }
4663 if test "${ac_cv_path_EGREP+set}" = set; then
4664 $as_echo_n "(cached) " >&6
4666 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4667 then ac_cv_path_EGREP="$GREP -E"
4669 if test -z "$EGREP"; then
4670 ac_path_EGREP_found=false
4671 # Loop through the user's path and test for each of PROGNAME-LIST
4672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4673 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4676 test -z "$as_dir" && as_dir=.
4677 for ac_prog in egrep; do
4678 for ac_exec_ext in '' $ac_executable_extensions; do
4679 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4680 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4681 # Check for GNU ac_path_EGREP and select it if it is found.
4682 # Check for GNU $ac_path_EGREP
4683 case `"$ac_path_EGREP" --version 2>&1` in
4685 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4688 $as_echo_n 0123456789 >"conftest.in"
4691 cat "conftest.in" "conftest.in" >"conftest.tmp"
4692 mv "conftest.tmp" "conftest.in"
4693 cp "conftest.in" "conftest.nl"
4694 $as_echo 'EGREP' >> "conftest.nl"
4695 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4696 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4697 ac_count=`expr $ac_count + 1`
4698 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4699 # Best one so far, save it but keep looking for a better one
4700 ac_cv_path_EGREP="$ac_path_EGREP"
4701 ac_path_EGREP_max=$ac_count
4703 # 10*(2^10) chars as input seems more than enough
4704 test $ac_count -gt 10 && break
4706 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4709 $ac_path_EGREP_found && break 3
4714 if test -z "$ac_cv_path_EGREP"; then
4715 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4716 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4717 { (exit 1); exit 1; }; }
4720 ac_cv_path_EGREP=$EGREP
4725 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4726 $as_echo "$ac_cv_path_EGREP" >&6; }
4727 EGREP="$ac_cv_path_EGREP"
4730 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4731 $as_echo_n "checking for ANSI C header files... " >&6; }
4732 if test "${ac_cv_header_stdc+set}" = set; then
4733 $as_echo_n "(cached) " >&6
4735 cat >conftest.$ac_ext <<_ACEOF
4738 cat confdefs.h >>conftest.$ac_ext
4739 cat >>conftest.$ac_ext <<_ACEOF
4740 /* end confdefs.h. */
4754 rm -f conftest.$ac_objext
4755 if { (ac_try="$ac_compile"
4757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758 *) ac_try_echo=$ac_try;;
4760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4761 $as_echo "$ac_try_echo") >&5
4762 (eval "$ac_compile") 2>conftest.er1
4764 grep -v '^ *+' conftest.er1 >conftest.err
4766 cat conftest.err >&5
4767 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } && {
4769 test -z "$ac_cxx_werror_flag" ||
4770 test ! -s conftest.err
4771 } && test -s conftest.$ac_objext; then
4772 ac_cv_header_stdc=yes
4774 $as_echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.$ac_ext >&5
4777 ac_cv_header_stdc=no
4780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4782 if test $ac_cv_header_stdc = yes; then
4783 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4784 cat >conftest.$ac_ext <<_ACEOF
4787 cat confdefs.h >>conftest.$ac_ext
4788 cat >>conftest.$ac_ext <<_ACEOF
4789 /* end confdefs.h. */
4793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4794 $EGREP "memchr" >/dev/null 2>&1; then
4797 ac_cv_header_stdc=no
4803 if test $ac_cv_header_stdc = yes; then
4804 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4805 cat >conftest.$ac_ext <<_ACEOF
4808 cat confdefs.h >>conftest.$ac_ext
4809 cat >>conftest.$ac_ext <<_ACEOF
4810 /* end confdefs.h. */
4814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4815 $EGREP "free" >/dev/null 2>&1; then
4818 ac_cv_header_stdc=no
4824 if test $ac_cv_header_stdc = yes; then
4825 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4826 if test "$cross_compiling" = yes; then
4829 cat >conftest.$ac_ext <<_ACEOF
4832 cat confdefs.h >>conftest.$ac_ext
4833 cat >>conftest.$ac_ext <<_ACEOF
4834 /* end confdefs.h. */
4837 #if ((' ' & 0x0FF) == 0x020)
4838 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4839 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4841 # define ISLOWER(c) \
4842 (('a' <= (c) && (c) <= 'i') \
4843 || ('j' <= (c) && (c) <= 'r') \
4844 || ('s' <= (c) && (c) <= 'z'))
4845 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4848 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4853 for (i = 0; i < 256; i++)
4854 if (XOR (islower (i), ISLOWER (i))
4855 || toupper (i) != TOUPPER (i))
4860 rm -f conftest$ac_exeext
4861 if { (ac_try="$ac_link"
4863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4864 *) ac_try_echo=$ac_try;;
4866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4867 $as_echo "$ac_try_echo") >&5
4868 (eval "$ac_link") 2>&5
4870 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4872 { (case "(($ac_try" in
4873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4874 *) ac_try_echo=$ac_try;;
4876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4877 $as_echo "$ac_try_echo") >&5
4878 (eval "$ac_try") 2>&5
4880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); }; }; then
4884 $as_echo "$as_me: program exited with status $ac_status" >&5
4885 $as_echo "$as_me: failed program was:" >&5
4886 sed 's/^/| /' conftest.$ac_ext >&5
4889 ac_cv_header_stdc=no
4891 rm -rf conftest.dSYM
4892 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4898 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4899 $as_echo "$ac_cv_header_stdc" >&6; }
4900 if test $ac_cv_header_stdc = yes; then
4902 cat >>confdefs.h <<\_ACEOF
4903 #define STDC_HEADERS 1
4908 # AC_CHECK_HEADERS([a.h b.h])
4910 # Checks for typedefs, structures, and compiler characteristics.
4911 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4921 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4922 inttypes.h stdint.h unistd.h
4924 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4925 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4926 $as_echo_n "checking for $ac_header... " >&6; }
4927 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4928 $as_echo_n "(cached) " >&6
4930 cat >conftest.$ac_ext <<_ACEOF
4933 cat confdefs.h >>conftest.$ac_ext
4934 cat >>conftest.$ac_ext <<_ACEOF
4935 /* end confdefs.h. */
4936 $ac_includes_default
4938 #include <$ac_header>
4940 rm -f conftest.$ac_objext
4941 if { (ac_try="$ac_compile"
4943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4944 *) ac_try_echo=$ac_try;;
4946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4947 $as_echo "$ac_try_echo") >&5
4948 (eval "$ac_compile") 2>conftest.er1
4950 grep -v '^ *+' conftest.er1 >conftest.err
4952 cat conftest.err >&5
4953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); } && {
4955 test -z "$ac_cxx_werror_flag" ||
4956 test ! -s conftest.err
4957 } && test -s conftest.$ac_objext; then
4958 eval "$as_ac_Header=yes"
4960 $as_echo "$as_me: failed program was:" >&5
4961 sed 's/^/| /' conftest.$ac_ext >&5
4963 eval "$as_ac_Header=no"
4966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4968 ac_res=`eval 'as_val=${'$as_ac_Header'}
4969 $as_echo "$as_val"'`
4970 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4971 $as_echo "$ac_res" >&6; }
4972 as_val=`eval 'as_val=${'$as_ac_Header'}
4973 $as_echo "$as_val"'`
4974 if test "x$as_val" = x""yes; then
4975 cat >>confdefs.h <<_ACEOF
4976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4984 { $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4985 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
4986 if test "${ac_cv_header_stdbool_h+set}" = set; then
4987 $as_echo_n "(cached) " >&6
4989 cat >conftest.$ac_ext <<_ACEOF
4992 cat confdefs.h >>conftest.$ac_ext
4993 cat >>conftest.$ac_ext <<_ACEOF
4994 /* end confdefs.h. */
4996 #include <stdbool.h>
4998 "error: bool is not defined"
5001 "error: false is not defined"
5004 "error: false is not 0"
5007 "error: true is not defined"
5010 "error: true is not 1"
5012 #ifndef __bool_true_false_are_defined
5013 "error: __bool_true_false_are_defined is not defined"
5016 struct s { _Bool s: 1; _Bool t; } s;
5018 char a[true == 1 ? 1 : -1];
5019 char b[false == 0 ? 1 : -1];
5020 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
5021 char d[(bool) 0.5 == true ? 1 : -1];
5023 char f[(_Bool) 0.0 == false ? 1 : -1];
5025 char h[sizeof (_Bool)];
5027 enum { j = false, k = true, l = false * true, m = true * 256 };
5028 /* The following fails for
5029 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
5031 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
5032 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
5033 # if defined __xlc__ || defined __GNUC__
5034 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
5035 reported by James Lemley on 2005-10-05; see
5036 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
5037 This test is not quite right, since xlc is allowed to
5038 reject this program, as the initializer for xlcbug is
5039 not one of the forms that C requires support for.
5040 However, doing the test right would require a runtime
5041 test, and that would make cross-compilation harder.
5042 Let us hope that IBM fixes the xlc bug, and also adds
5043 support for this kind of constant expression. In the
5044 meantime, this test will reject xlc, which is OK, since
5045 our stdbool.h substitute should suffice. We also test
5046 this with GCC, where it should work, to detect more
5047 quickly whether someone messes up the test in the
5049 char digs[] = "0123456789";
5050 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
5052 /* Catch a bug in an HP-UX C compiler. See
5053 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
5054 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
5065 /* Refer to every declared value, to avoid compiler optimizations. */
5066 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
5067 + !m + !n + !o + !p + !q + !pq);
5073 rm -f conftest.$ac_objext
5074 if { (ac_try="$ac_compile"
5076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5077 *) ac_try_echo=$ac_try;;
5079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5080 $as_echo "$ac_try_echo") >&5
5081 (eval "$ac_compile") 2>conftest.er1
5083 grep -v '^ *+' conftest.er1 >conftest.err
5085 cat conftest.err >&5
5086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); } && {
5088 test -z "$ac_cxx_werror_flag" ||
5089 test ! -s conftest.err
5090 } && test -s conftest.$ac_objext; then
5091 ac_cv_header_stdbool_h=yes
5093 $as_echo "$as_me: failed program was:" >&5
5094 sed 's/^/| /' conftest.$ac_ext >&5
5096 ac_cv_header_stdbool_h=no
5099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5101 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
5102 $as_echo "$ac_cv_header_stdbool_h" >&6; }
5103 { $as_echo "$as_me:$LINENO: checking for _Bool" >&5
5104 $as_echo_n "checking for _Bool... " >&6; }
5105 if test "${ac_cv_type__Bool+set}" = set; then
5106 $as_echo_n "(cached) " >&6
5109 cat >conftest.$ac_ext <<_ACEOF
5112 cat confdefs.h >>conftest.$ac_ext
5113 cat >>conftest.$ac_ext <<_ACEOF
5114 /* end confdefs.h. */
5115 $ac_includes_default
5125 rm -f conftest.$ac_objext
5126 if { (ac_try="$ac_compile"
5128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5129 *) ac_try_echo=$ac_try;;
5131 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5132 $as_echo "$ac_try_echo") >&5
5133 (eval "$ac_compile") 2>conftest.er1
5135 grep -v '^ *+' conftest.er1 >conftest.err
5137 cat conftest.err >&5
5138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); } && {
5140 test -z "$ac_cxx_werror_flag" ||
5141 test ! -s conftest.err
5142 } && test -s conftest.$ac_objext; then
5143 cat >conftest.$ac_ext <<_ACEOF
5146 cat confdefs.h >>conftest.$ac_ext
5147 cat >>conftest.$ac_ext <<_ACEOF
5148 /* end confdefs.h. */
5149 $ac_includes_default
5153 if (sizeof ((_Bool)))
5159 rm -f conftest.$ac_objext
5160 if { (ac_try="$ac_compile"
5162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5163 *) ac_try_echo=$ac_try;;
5165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5166 $as_echo "$ac_try_echo") >&5
5167 (eval "$ac_compile") 2>conftest.er1
5169 grep -v '^ *+' conftest.er1 >conftest.err
5171 cat conftest.err >&5
5172 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173 (exit $ac_status); } && {
5174 test -z "$ac_cxx_werror_flag" ||
5175 test ! -s conftest.err
5176 } && test -s conftest.$ac_objext; then
5179 $as_echo "$as_me: failed program was:" >&5
5180 sed 's/^/| /' conftest.$ac_ext >&5
5182 ac_cv_type__Bool=yes
5185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5187 $as_echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.$ac_ext >&5
5193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5195 { $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
5196 $as_echo "$ac_cv_type__Bool" >&6; }
5197 if test "x$ac_cv_type__Bool" = x""yes; then
5199 cat >>confdefs.h <<_ACEOF
5200 #define HAVE__BOOL 1
5206 if test $ac_cv_header_stdbool_h = yes; then
5208 cat >>confdefs.h <<\_ACEOF
5209 #define HAVE_STDBOOL_H 1
5214 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5215 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5216 if test "${ac_cv_c_const+set}" = set; then
5217 $as_echo_n "(cached) " >&6
5219 cat >conftest.$ac_ext <<_ACEOF
5222 cat confdefs.h >>conftest.$ac_ext
5223 cat >>conftest.$ac_ext <<_ACEOF
5224 /* end confdefs.h. */
5229 /* FIXME: Include the comments suggested by Paul. */
5231 /* Ultrix mips cc rejects this. */
5232 typedef int charset[2];
5234 /* SunOS 4.1.1 cc rejects this. */
5235 char const *const *pcpcc;
5237 /* NEC SVR4.0.2 mips cc rejects this. */
5238 struct point {int x, y;};
5239 static struct point const zero = {0,0};
5240 /* AIX XL C 1.02.0.0 rejects this.
5241 It does not let you subtract one const X* pointer from another in
5242 an arm of an if-expression whose if-part is not a constant
5244 const char *g = "string";
5245 pcpcc = &g + (g ? g-g : 0);
5246 /* HPUX 7.0 cc rejects these. */
5248 ppc = (char**) pcpcc;
5249 pcpcc = (char const *const *) ppc;
5250 { /* SCO 3.2v4 cc rejects this. */
5252 char const *s = 0 ? (char *) 0 : (char const *) 0;
5257 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5259 const int *foo = &x[0];
5262 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5263 typedef const int *iptr;
5267 { /* AIX XL C 1.02.0.0 rejects this saying
5268 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5269 struct s { int j; const int *ap[3]; };
5270 struct s *b; b->j = 5;
5272 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5276 return !cs[0] && !zero.x;
5283 rm -f conftest.$ac_objext
5284 if { (ac_try="$ac_compile"
5286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5287 *) ac_try_echo=$ac_try;;
5289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5290 $as_echo "$ac_try_echo") >&5
5291 (eval "$ac_compile") 2>conftest.er1
5293 grep -v '^ *+' conftest.er1 >conftest.err
5295 cat conftest.err >&5
5296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); } && {
5298 test -z "$ac_cxx_werror_flag" ||
5299 test ! -s conftest.err
5300 } && test -s conftest.$ac_objext; then
5303 $as_echo "$as_me: failed program was:" >&5
5304 sed 's/^/| /' conftest.$ac_ext >&5
5309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5311 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5312 $as_echo "$ac_cv_c_const" >&6; }
5313 if test $ac_cv_c_const = no; then
5315 cat >>confdefs.h <<\_ACEOF
5321 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
5322 $as_echo_n "checking for size_t... " >&6; }
5323 if test "${ac_cv_type_size_t+set}" = set; then
5324 $as_echo_n "(cached) " >&6
5326 ac_cv_type_size_t=no
5327 cat >conftest.$ac_ext <<_ACEOF
5330 cat confdefs.h >>conftest.$ac_ext
5331 cat >>conftest.$ac_ext <<_ACEOF
5332 /* end confdefs.h. */
5333 $ac_includes_default
5337 if (sizeof (size_t))
5343 rm -f conftest.$ac_objext
5344 if { (ac_try="$ac_compile"
5346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5347 *) ac_try_echo=$ac_try;;
5349 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5350 $as_echo "$ac_try_echo") >&5
5351 (eval "$ac_compile") 2>conftest.er1
5353 grep -v '^ *+' conftest.er1 >conftest.err
5355 cat conftest.err >&5
5356 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357 (exit $ac_status); } && {
5358 test -z "$ac_cxx_werror_flag" ||
5359 test ! -s conftest.err
5360 } && test -s conftest.$ac_objext; then
5361 cat >conftest.$ac_ext <<_ACEOF
5364 cat confdefs.h >>conftest.$ac_ext
5365 cat >>conftest.$ac_ext <<_ACEOF
5366 /* end confdefs.h. */
5367 $ac_includes_default
5371 if (sizeof ((size_t)))
5377 rm -f conftest.$ac_objext
5378 if { (ac_try="$ac_compile"
5380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5381 *) ac_try_echo=$ac_try;;
5383 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5384 $as_echo "$ac_try_echo") >&5
5385 (eval "$ac_compile") 2>conftest.er1
5387 grep -v '^ *+' conftest.er1 >conftest.err
5389 cat conftest.err >&5
5390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391 (exit $ac_status); } && {
5392 test -z "$ac_cxx_werror_flag" ||
5393 test ! -s conftest.err
5394 } && test -s conftest.$ac_objext; then
5397 $as_echo "$as_me: failed program was:" >&5
5398 sed 's/^/| /' conftest.$ac_ext >&5
5400 ac_cv_type_size_t=yes
5403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5405 $as_echo "$as_me: failed program was:" >&5
5406 sed 's/^/| /' conftest.$ac_ext >&5
5411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5413 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5414 $as_echo "$ac_cv_type_size_t" >&6; }
5415 if test "x$ac_cv_type_size_t" = x""yes; then
5419 cat >>confdefs.h <<_ACEOF
5420 #define size_t unsigned int
5428 # This may beincluded by your source code and provides a way for
5429 # people to customise the configuration for their platform, via
5430 # #defines. config.h.in can be generated automatically with the
5431 # autoheader tool. However, you need a stamp-h file in your project
5432 # to ensure that automake regenerates config.h from config.h.in. Type
5433 # 'touch stamp-h' to add this file to your project.
5434 # Andreas Wilm: standard would be config.h but let's avoid conflicts with
5435 ac_config_headers="$ac_config_headers src/config.h"
5439 for ac_header in stdlib.h
5441 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5443 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5444 $as_echo_n "checking for $ac_header... " >&6; }
5445 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5446 $as_echo_n "(cached) " >&6
5448 ac_res=`eval 'as_val=${'$as_ac_Header'}
5449 $as_echo "$as_val"'`
5450 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5451 $as_echo "$ac_res" >&6; }
5453 # Is the header compilable?
5454 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5455 $as_echo_n "checking $ac_header usability... " >&6; }
5456 cat >conftest.$ac_ext <<_ACEOF
5459 cat confdefs.h >>conftest.$ac_ext
5460 cat >>conftest.$ac_ext <<_ACEOF
5461 /* end confdefs.h. */
5462 $ac_includes_default
5463 #include <$ac_header>
5465 rm -f conftest.$ac_objext
5466 if { (ac_try="$ac_compile"
5468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5469 *) ac_try_echo=$ac_try;;
5471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5472 $as_echo "$ac_try_echo") >&5
5473 (eval "$ac_compile") 2>conftest.er1
5475 grep -v '^ *+' conftest.er1 >conftest.err
5477 cat conftest.err >&5
5478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); } && {
5480 test -z "$ac_cxx_werror_flag" ||
5481 test ! -s conftest.err
5482 } && test -s conftest.$ac_objext; then
5483 ac_header_compiler=yes
5485 $as_echo "$as_me: failed program was:" >&5
5486 sed 's/^/| /' conftest.$ac_ext >&5
5488 ac_header_compiler=no
5491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5492 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5493 $as_echo "$ac_header_compiler" >&6; }
5495 # Is the header present?
5496 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5497 $as_echo_n "checking $ac_header presence... " >&6; }
5498 cat >conftest.$ac_ext <<_ACEOF
5501 cat confdefs.h >>conftest.$ac_ext
5502 cat >>conftest.$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5504 #include <$ac_header>
5506 if { (ac_try="$ac_cpp conftest.$ac_ext"
5508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5509 *) ac_try_echo=$ac_try;;
5511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5512 $as_echo "$ac_try_echo") >&5
5513 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5515 grep -v '^ *+' conftest.er1 >conftest.err
5517 cat conftest.err >&5
5518 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5519 (exit $ac_status); } >/dev/null && {
5520 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5521 test ! -s conftest.err
5523 ac_header_preproc=yes
5525 $as_echo "$as_me: failed program was:" >&5
5526 sed 's/^/| /' conftest.$ac_ext >&5
5528 ac_header_preproc=no
5531 rm -f conftest.err conftest.$ac_ext
5532 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5533 $as_echo "$ac_header_preproc" >&6; }
5535 # So? What about this header?
5536 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5538 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5539 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5540 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5541 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5542 ac_header_preproc=yes
5545 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5546 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5547 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5548 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5549 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5550 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5551 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5552 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5553 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5554 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5555 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5556 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5558 ## ------------------------------ ##
5559 ## Report this to clustalw@ucd.ie ##
5560 ## ------------------------------ ##
5562 ) | sed "s/^/$as_me: WARNING: /" >&2
5565 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5566 $as_echo_n "checking for $ac_header... " >&6; }
5567 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5568 $as_echo_n "(cached) " >&6
5570 eval "$as_ac_Header=\$ac_header_preproc"
5572 ac_res=`eval 'as_val=${'$as_ac_Header'}
5573 $as_echo "$as_val"'`
5574 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5575 $as_echo "$ac_res" >&6; }
5578 as_val=`eval 'as_val=${'$as_ac_Header'}
5579 $as_echo "$as_val"'`
5580 if test "x$as_val" = x""yes; then
5581 cat >>confdefs.h <<_ACEOF
5582 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5589 { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
5590 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5591 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
5592 $as_echo_n "(cached) " >&6
5594 if test "$cross_compiling" = yes; then
5595 ac_cv_func_malloc_0_nonnull=no
5597 cat >conftest.$ac_ext <<_ACEOF
5600 cat confdefs.h >>conftest.$ac_ext
5601 cat >>conftest.$ac_ext <<_ACEOF
5602 /* end confdefs.h. */
5603 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5604 # include <stdlib.h>
5612 return ! malloc (0);
5617 rm -f conftest$ac_exeext
5618 if { (ac_try="$ac_link"
5620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5621 *) ac_try_echo=$ac_try;;
5623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5624 $as_echo "$ac_try_echo") >&5
5625 (eval "$ac_link") 2>&5
5627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5629 { (case "(($ac_try" in
5630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5631 *) ac_try_echo=$ac_try;;
5633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5634 $as_echo "$ac_try_echo") >&5
5635 (eval "$ac_try") 2>&5
5637 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638 (exit $ac_status); }; }; then
5639 ac_cv_func_malloc_0_nonnull=yes
5641 $as_echo "$as_me: program exited with status $ac_status" >&5
5642 $as_echo "$as_me: failed program was:" >&5
5643 sed 's/^/| /' conftest.$ac_ext >&5
5646 ac_cv_func_malloc_0_nonnull=no
5648 rm -rf conftest.dSYM
5649 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5654 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
5655 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5656 if test $ac_cv_func_malloc_0_nonnull = yes; then
5658 cat >>confdefs.h <<\_ACEOF
5659 #define HAVE_MALLOC 1
5663 cat >>confdefs.h <<\_ACEOF
5664 #define HAVE_MALLOC 0
5667 case " $LIBOBJS " in
5668 *" malloc.$ac_objext "* ) ;;
5669 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5674 cat >>confdefs.h <<\_ACEOF
5675 #define malloc rpl_malloc
5683 # enable hashing if requested (--with-mhash)
5684 # will set HAVE_MHASH_H only
5686 # Check whether --with-mhash was given.
5687 if test "${with_mhash+set}" = set; then
5688 withval=$with_mhash; with_mhash=$withval
5693 if test "$with_mhash" = "yes"; then
5695 { $as_echo "$as_me:$LINENO: checking for mhash_init in -lmhash" >&5
5696 $as_echo_n "checking for mhash_init in -lmhash... " >&6; }
5697 if test "${ac_cv_lib_mhash_mhash_init+set}" = set; then
5698 $as_echo_n "(cached) " >&6
5700 ac_check_lib_save_LIBS=$LIBS
5701 LIBS="-lmhash $LIBS"
5702 cat >conftest.$ac_ext <<_ACEOF
5705 cat confdefs.h >>conftest.$ac_ext
5706 cat >>conftest.$ac_ext <<_ACEOF
5707 /* end confdefs.h. */
5709 /* Override any GCC internal prototype to avoid an error.
5710 Use char because int might match the return type of a GCC
5711 builtin and then its argument prototype would still apply. */
5719 return mhash_init ();
5724 rm -f conftest.$ac_objext conftest$ac_exeext
5725 if { (ac_try="$ac_link"
5727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5728 *) ac_try_echo=$ac_try;;
5730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5731 $as_echo "$ac_try_echo") >&5
5732 (eval "$ac_link") 2>conftest.er1
5734 grep -v '^ *+' conftest.er1 >conftest.err
5736 cat conftest.err >&5
5737 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738 (exit $ac_status); } && {
5739 test -z "$ac_cxx_werror_flag" ||
5740 test ! -s conftest.err
5741 } && test -s conftest$ac_exeext && {
5742 test "$cross_compiling" = yes ||
5743 $as_test_x conftest$ac_exeext
5745 ac_cv_lib_mhash_mhash_init=yes
5747 $as_echo "$as_me: failed program was:" >&5
5748 sed 's/^/| /' conftest.$ac_ext >&5
5750 ac_cv_lib_mhash_mhash_init=no
5753 rm -rf conftest.dSYM
5754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5755 conftest$ac_exeext conftest.$ac_ext
5756 LIBS=$ac_check_lib_save_LIBS
5758 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mhash_mhash_init" >&5
5759 $as_echo "$ac_cv_lib_mhash_mhash_init" >&6; }
5760 if test "x$ac_cv_lib_mhash_mhash_init" = x""yes; then
5761 cat >>confdefs.h <<_ACEOF
5762 #define HAVE_LIBMHASH 1
5765 LIBS="-lmhash $LIBS"
5768 { { $as_echo "$as_me:$LINENO: error: mhash lib not found" >&5
5769 $as_echo "$as_me: error: mhash lib not found" >&2;}
5770 { (exit 1); exit 1; }; }
5774 for ac_header in mhash.h
5776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5777 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5778 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5779 $as_echo_n "checking for $ac_header... " >&6; }
5780 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5781 $as_echo_n "(cached) " >&6
5783 ac_res=`eval 'as_val=${'$as_ac_Header'}
5784 $as_echo "$as_val"'`
5785 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5786 $as_echo "$ac_res" >&6; }
5788 # Is the header compilable?
5789 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5790 $as_echo_n "checking $ac_header usability... " >&6; }
5791 cat >conftest.$ac_ext <<_ACEOF
5794 cat confdefs.h >>conftest.$ac_ext
5795 cat >>conftest.$ac_ext <<_ACEOF
5796 /* end confdefs.h. */
5797 $ac_includes_default
5798 #include <$ac_header>
5800 rm -f conftest.$ac_objext
5801 if { (ac_try="$ac_compile"
5803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5804 *) ac_try_echo=$ac_try;;
5806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5807 $as_echo "$ac_try_echo") >&5
5808 (eval "$ac_compile") 2>conftest.er1
5810 grep -v '^ *+' conftest.er1 >conftest.err
5812 cat conftest.err >&5
5813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); } && {
5815 test -z "$ac_cxx_werror_flag" ||
5816 test ! -s conftest.err
5817 } && test -s conftest.$ac_objext; then
5818 ac_header_compiler=yes
5820 $as_echo "$as_me: failed program was:" >&5
5821 sed 's/^/| /' conftest.$ac_ext >&5
5823 ac_header_compiler=no
5826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5827 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5828 $as_echo "$ac_header_compiler" >&6; }
5830 # Is the header present?
5831 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5832 $as_echo_n "checking $ac_header presence... " >&6; }
5833 cat >conftest.$ac_ext <<_ACEOF
5836 cat confdefs.h >>conftest.$ac_ext
5837 cat >>conftest.$ac_ext <<_ACEOF
5838 /* end confdefs.h. */
5839 #include <$ac_header>
5841 if { (ac_try="$ac_cpp conftest.$ac_ext"
5843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5844 *) ac_try_echo=$ac_try;;
5846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5847 $as_echo "$ac_try_echo") >&5
5848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5850 grep -v '^ *+' conftest.er1 >conftest.err
5852 cat conftest.err >&5
5853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); } >/dev/null && {
5855 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5856 test ! -s conftest.err
5858 ac_header_preproc=yes
5860 $as_echo "$as_me: failed program was:" >&5
5861 sed 's/^/| /' conftest.$ac_ext >&5
5863 ac_header_preproc=no
5866 rm -f conftest.err conftest.$ac_ext
5867 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5868 $as_echo "$ac_header_preproc" >&6; }
5870 # So? What about this header?
5871 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5873 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5874 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5875 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5876 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5877 ac_header_preproc=yes
5880 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5881 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5882 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5883 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5884 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5885 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5886 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5887 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5888 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5889 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5890 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5891 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5893 ## ------------------------------ ##
5894 ## Report this to clustalw@ucd.ie ##
5895 ## ------------------------------ ##
5897 ) | sed "s/^/$as_me: WARNING: /" >&2
5900 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5901 $as_echo_n "checking for $ac_header... " >&6; }
5902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5903 $as_echo_n "(cached) " >&6
5905 eval "$as_ac_Header=\$ac_header_preproc"
5907 ac_res=`eval 'as_val=${'$as_ac_Header'}
5908 $as_echo "$as_val"'`
5909 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5910 $as_echo "$ac_res" >&6; }
5913 as_val=`eval 'as_val=${'$as_ac_Header'}
5914 $as_echo "$as_val"'`
5915 if test "x$as_val" = x""yes; then
5916 cat >>confdefs.h <<_ACEOF
5917 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5921 { { $as_echo "$as_me:$LINENO: error: mhash header not found" >&5
5922 $as_echo "$as_me: error: mhash header not found" >&2;}
5923 { (exit 1); exit 1; }; }
5932 # AC_OUTPUT indicates the name of the Makefile which will be generated.
5933 ### AC_CONFIG_FILES([ Makefile ])
5934 ac_config_files="$ac_config_files Makefile m4/Makefile src/Makefile src/clustalw_version.h"
5936 cat >confcache <<\_ACEOF
5937 # This file is a shell script that caches the results of configure
5938 # tests run on this system so they can be shared between configure
5939 # scripts and configure runs, see configure's option --config-cache.
5940 # It is not useful on other systems. If it contains results you don't
5941 # want to keep, you may remove or edit it.
5943 # config.status only pays attention to the cache file if you give it
5944 # the --recheck option to rerun configure.
5946 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5947 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5952 # The following way of writing the cache mishandles newlines in values,
5953 # but we know of no workaround that is simple, portable, and efficient.
5954 # So, we kill variables containing newlines.
5955 # Ultrix sh set writes to stderr and can't be redirected directly,
5956 # and sets the high bit in the cache file unless we assign to the vars.
5958 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5959 eval ac_val=\$$ac_var
5963 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
5964 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5967 _ | IFS | as_nl) ;; #(
5968 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5969 *) $as_unset $ac_var ;;
5975 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5976 *${as_nl}ac_space=\ *)
5977 # `set' does not quote correctly, so add quotes (double-quote
5978 # substitution turns \\\\ into \\, and sed turns \\ into \).
5981 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5984 # `set' quotes correctly as required by POSIX, so do not add quotes.
5985 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5994 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5996 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5998 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5999 if test -w "$cache_file"; then
6000 test "x$cache_file" != "x/dev/null" &&
6001 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
6002 $as_echo "$as_me: updating cache $cache_file" >&6;}
6003 cat confcache >$cache_file
6005 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6006 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6011 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6012 # Let make expand exec_prefix.
6013 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6015 DEFS=-DHAVE_CONFIG_H
6019 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6020 # 1. Remove the extension, and $U if already installed.
6021 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6022 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6023 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6024 # will be set to the directory where LIBOBJS objects are built.
6025 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6026 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6030 LTLIBOBJS=$ac_ltlibobjs
6033 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6034 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6035 Usually this means the macro was only invoked conditionally." >&5
6036 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
6037 Usually this means the macro was only invoked conditionally." >&2;}
6038 { (exit 1); exit 1; }; }
6040 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6041 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6042 Usually this means the macro was only invoked conditionally." >&5
6043 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6044 Usually this means the macro was only invoked conditionally." >&2;}
6045 { (exit 1); exit 1; }; }
6047 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6048 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
6049 Usually this means the macro was only invoked conditionally." >&5
6050 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
6051 Usually this means the macro was only invoked conditionally." >&2;}
6052 { (exit 1); exit 1; }; }
6055 : ${CONFIG_STATUS=./config.status}
6057 ac_clean_files_save=$ac_clean_files
6058 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6059 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6060 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6061 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6063 # Generated by $as_me.
6064 # Run this file to recreate the current configuration.
6065 # Compiler output produced by configure, useful for debugging
6066 # configure, is in config.log if it exists.
6071 SHELL=\${CONFIG_SHELL-$SHELL}
6074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6075 ## --------------------- ##
6076 ## M4sh Initialization. ##
6077 ## --------------------- ##
6079 # Be more Bourne compatible
6080 DUALCASE=1; export DUALCASE # for MKS sh
6081 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6084 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6085 # is contrary to our usage. Disable this feature.
6086 alias -g '${1+"$@"}'='"$@"'
6087 setopt NO_GLOB_SUBST
6089 case `(set -o) 2>/dev/null` in
6090 *posix*) set -o posix ;;
6099 # Avoid depending upon Character Ranges.
6100 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6101 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6102 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6103 as_cr_digits='0123456789'
6104 as_cr_alnum=$as_cr_Letters$as_cr_digits
6109 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6110 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6111 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6112 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6113 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6114 as_echo='printf %s\n'
6115 as_echo_n='printf %s'
6117 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6118 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6119 as_echo_n='/usr/ucb/echo -n'
6121 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6122 as_echo_n_body='eval
6126 expr "X$arg" : "X\\(.*\\)$as_nl";
6127 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6129 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6131 export as_echo_n_body
6132 as_echo_n='sh -c $as_echo_n_body as_echo'
6135 as_echo='sh -c $as_echo_body as_echo'
6138 # The user is always right.
6139 if test "${PATH_SEPARATOR+set}" != set; then
6141 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6142 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6147 # Support unset when possible.
6148 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6156 # We need space, tab and new line, in precisely that order. Quoting is
6157 # there to prevent editors from complaining about space-tab.
6158 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6159 # splitting by setting IFS to empty value.)
6162 # Find who we are. Look in the path if we contain no directory separator.
6164 *[\\/]* ) as_myself=$0 ;;
6165 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6169 test -z "$as_dir" && as_dir=.
6170 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6176 # We did not find ourselves, most probably we were run as `sh COMMAND'
6177 # in which case we are not to be found in the path.
6178 if test "x$as_myself" = x; then
6181 if test ! -f "$as_myself"; then
6182 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6183 { (exit 1); exit 1; }
6186 # Work around bugs in pre-3.0 UWIN ksh.
6187 for as_var in ENV MAIL MAILPATH
6188 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6200 # Required to use basename.
6201 if expr a : '\(a\)' >/dev/null 2>&1 &&
6202 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6208 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6209 as_basename=basename
6215 # Name of the executable.
6216 as_me=`$as_basename -- "$0" ||
6217 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6218 X"$0" : 'X\(//\)$' \| \
6219 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6221 sed '/^.*\/\([^/][^/]*\)\/*$/{
6242 test "x$as_lineno_1" != "x$as_lineno_2" &&
6243 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6245 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6246 # uniformly replaced by the line number. The first 'sed' inserts a
6247 # line-number line after each line using $LINENO; the second 'sed'
6248 # does the real work. The second script uses 'N' to pair each
6249 # line-number line with the line containing $LINENO, and appends
6250 # trailing '-' during substitution so that $LINENO is not a special
6252 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6253 # scripts with optimization help from Paolo Bonzini. Blame Lee
6254 # E. McMahon (1931-1989) for sed's syntax. :-)
6266 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6270 chmod +x "$as_me.lineno" ||
6271 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6272 { (exit 1); exit 1; }; }
6274 # Don't try to exec as it changes $[0], causing all sort of problems
6275 # (the dirname of $[0] is not the place where we might find the
6276 # original and so on. Autoconf is especially sensitive to this).
6278 # Exit status is that of the last command.
6283 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6289 ECHO_C= ECHO_N= ECHO_T=
6292 case `echo 'x\c'` in
6293 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6299 if expr a : '\(a\)' >/dev/null 2>&1 &&
6300 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6306 rm -f conf$$ conf$$.exe conf$$.file
6307 if test -d conf$$.dir; then
6308 rm -f conf$$.dir/conf$$.file
6311 mkdir conf$$.dir 2>/dev/null
6313 if (echo >conf$$.file) 2>/dev/null; then
6314 if ln -s conf$$.file conf$$ 2>/dev/null; then
6316 # ... but there are two gotchas:
6317 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6318 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6319 # In both cases, we have to default to `cp -p'.
6320 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6322 elif ln conf$$.file conf$$ 2>/dev/null; then
6330 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6331 rmdir conf$$.dir 2>/dev/null
6333 if mkdir -p . 2>/dev/null; then
6336 test -d ./-p && rmdir ./-p
6340 if test -x / >/dev/null 2>&1; then
6343 if ls -dL / >/dev/null 2>&1; then
6350 if test -d "$1"; then
6356 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6357 ???[sx]*):;;*)false;;esac;fi
6361 as_executable_p=$as_test_x
6363 # Sed expression to map a string onto a valid CPP name.
6364 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6366 # Sed expression to map a string onto a valid variable name.
6367 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6372 # Save the log message, to keep $[0] and so on meaningful, and to
6373 # report actual input values of CONFIG_FILES etc. instead of their
6374 # values after options handling.
6376 This file was extended by clustalw $as_me 2.0.12, which was
6377 generated by GNU Autoconf 2.63. Invocation command line was
6379 CONFIG_FILES = $CONFIG_FILES
6380 CONFIG_HEADERS = $CONFIG_HEADERS
6381 CONFIG_LINKS = $CONFIG_LINKS
6382 CONFIG_COMMANDS = $CONFIG_COMMANDS
6385 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6390 case $ac_config_files in *"
6391 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6394 case $ac_config_headers in *"
6395 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6400 # Files that config.status was made for.
6401 config_files="$ac_config_files"
6402 config_headers="$ac_config_headers"
6403 config_commands="$ac_config_commands"
6407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6409 \`$as_me' instantiates files from templates according to the
6410 current configuration.
6412 Usage: $0 [OPTION]... [FILE]...
6414 -h, --help print this help, then exit
6415 -V, --version print version number and configuration settings, then exit
6416 -q, --quiet, --silent
6417 do not print progress messages
6418 -d, --debug don't remove temporary files
6419 --recheck update $as_me by reconfiguring in the same conditions
6420 --file=FILE[:TEMPLATE]
6421 instantiate the configuration file FILE
6422 --header=FILE[:TEMPLATE]
6423 instantiate the configuration header FILE
6425 Configuration files:
6428 Configuration headers:
6431 Configuration commands:
6434 Report bugs to <bug-autoconf@gnu.org>."
6437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6439 clustalw config.status 2.0.12
6440 configured by $0, generated by GNU Autoconf 2.63,
6441 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6443 Copyright (C) 2008 Free Software Foundation, Inc.
6444 This config.status script is free software; the Free Software Foundation
6445 gives unlimited permission to copy, distribute and modify it."
6452 test -n "\$AWK" || AWK=awk
6455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6456 # The default lists apply if the user does not specify any file.
6462 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6463 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6474 # Handling of the options.
6475 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6477 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6478 $as_echo "$ac_cs_version"; exit ;;
6479 --debug | --debu | --deb | --de | --d | -d )
6481 --file | --fil | --fi | --f )
6484 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6486 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6487 ac_need_defaults=false;;
6488 --header | --heade | --head | --hea )
6491 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6493 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6494 ac_need_defaults=false;;
6496 # Conflict between --help and --header
6497 { $as_echo "$as_me: error: ambiguous option: $1
6498 Try \`$0 --help' for more information." >&2
6499 { (exit 1); exit 1; }; };;
6500 --help | --hel | -h )
6501 $as_echo "$ac_cs_usage"; exit ;;
6502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6503 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6507 -*) { $as_echo "$as_me: error: unrecognized option: $1
6508 Try \`$0 --help' for more information." >&2
6509 { (exit 1); exit 1; }; } ;;
6511 *) ac_config_targets="$ac_config_targets $1"
6512 ac_need_defaults=false ;;
6518 ac_configure_extra_args=
6520 if $ac_cs_silent; then
6522 ac_configure_extra_args="$ac_configure_extra_args --silent"
6526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6527 if \$ac_cs_recheck; then
6528 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6530 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6531 CONFIG_SHELL='$SHELL'
6537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6541 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6542 ## Running $as_me. ##
6548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6552 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6558 # Handling of arguments.
6559 for ac_config_target in $ac_config_targets
6561 case $ac_config_target in
6562 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6563 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
6564 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6565 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
6566 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6567 "src/clustalw_version.h") CONFIG_FILES="$CONFIG_FILES src/clustalw_version.h" ;;
6569 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6570 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6571 { (exit 1); exit 1; }; };;
6576 # If the user did not use the arguments to specify the items to instantiate,
6577 # then the envvar interface is used. Set only those that are not.
6578 # We use the long form for the default assignment because of an extremely
6579 # bizarre bug on SunOS 4.1.3.
6580 if $ac_need_defaults; then
6581 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6582 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6583 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6586 # Have a temporary directory for convenience. Make it in the build tree
6587 # simply because there is no reason against having it here, and in addition,
6588 # creating and moving files from /tmp can sometimes cause problems.
6589 # Hook for its removal unless debugging.
6590 # Note that there is a small window in which the directory will not be cleaned:
6591 # after its creation but before its name has been assigned to `$tmp'.
6595 trap 'exit_status=$?
6596 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6598 trap '{ (exit 1); exit 1; }' 1 2 13 15
6600 # Create a (secure) tmp directory for tmp files.
6603 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6604 test -n "$tmp" && test -d "$tmp"
6607 tmp=./conf$$-$RANDOM
6608 (umask 077 && mkdir "$tmp")
6611 $as_echo "$as_me: cannot create a temporary directory in ." >&2
6612 { (exit 1); exit 1; }
6615 # Set up the scripts for CONFIG_FILES section.
6616 # No need to generate them if there are no CONFIG_FILES.
6617 # This happens for instance with `./config.status config.h'.
6618 if test -n "$CONFIG_FILES"; then
6622 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6623 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6629 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6634 echo "cat >conf$$subs.awk <<_ACEOF" &&
6635 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6638 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6639 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6640 { (exit 1); exit 1; }; }
6641 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
6643 for ac_last_try in false false false false false :; do
6644 . ./conf$$subs.sh ||
6645 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6646 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6647 { (exit 1); exit 1; }; }
6649 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6650 if test $ac_delim_n = $ac_delim_num; then
6652 elif $ac_last_try; then
6653 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6654 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6655 { (exit 1); exit 1; }; }
6657 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6663 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6667 s/^/S["/; s/!.*/"]=/
6677 s/\(.\{148\}\).*/\1/
6679 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6684 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6691 s/\(.\{148\}\).*/\1/
6693 s/["\\]/\\&/g; s/^/"/; s/$/"/
6697 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6702 ' <conf$$subs.awk | sed '
6707 ' >>$CONFIG_STATUS || ac_write_fail=1
6708 rm -f conf$$subs.awk
6709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6711 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6712 for (key in S) S_is_set[key] = 1
6718 nfields = split(line, field, "@")
6720 len = length(field[1])
6721 for (i = 2; i < nfields; i++) {
6723 keylen = length(key)
6724 if (S_is_set[key]) {
6726 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6727 len += length(value) + length(field[++i])
6738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6739 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6740 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6743 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
6744 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
6745 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
6746 { (exit 1); exit 1; }; }
6749 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6750 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6751 # trailing colons and then remove the whole line if VPATH becomes empty
6752 # (actually we leave an empty line to preserve line numbers).
6753 if test "x$srcdir" = x.; then
6754 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6758 s/^\([^=]*=[ ]*\):*/\1/
6764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6765 fi # test -n "$CONFIG_FILES"
6767 # Set up the scripts for CONFIG_HEADERS section.
6768 # No need to generate them if there are no CONFIG_HEADERS.
6769 # This happens for instance with `./config.status Makefile'.
6770 if test -n "$CONFIG_HEADERS"; then
6771 cat >"$tmp/defines.awk" <<\_ACAWK ||
6775 # Transform confdefs.h into an awk script `defines.awk', embedded as
6776 # here-document in config.status, that substitutes the proper values into
6777 # config.h.in to produce config.h.
6779 # Create a delimiter string that does not exist in confdefs.h, to ease
6780 # handling of long lines.
6782 for ac_last_try in false false :; do
6783 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
6784 if test -z "$ac_t"; then
6786 elif $ac_last_try; then
6787 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
6788 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
6789 { (exit 1); exit 1; }; }
6791 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6795 # For the awk script, D is an array of macro values keyed by name,
6796 # likewise P contains macro parameters if any. Preserve backslash
6797 # newline sequences.
6799 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6801 s/.\{148\}/&'"$ac_delim"'/g
6804 s/^[ ]*#[ ]*define[ ][ ]*/ /
6811 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6813 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6817 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6818 D["\1"]=" \3\\\\\\n"\\/p
6820 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6825 s/.\{148\}/&'"$ac_delim"'/g
6830 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6833 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6835 ' <confdefs.h | sed '
6836 s/'"$ac_delim"'/"\\\
6837 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6840 for (key in D) D_is_set[key] = 1
6843 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6845 split(line, arg, " ")
6846 if (arg[1] == "#") {
6850 defundef = substr(arg[1], 2)
6853 split(mac1, mac2, "(") #)
6855 prefix = substr(line, 1, index(line, defundef) - 1)
6856 if (D_is_set[macro]) {
6857 # Preserve the white space surrounding the "#".
6858 print prefix "define", macro P[macro] D[macro]
6861 # Replace #undef with comments. This is necessary, for example,
6862 # in the case of _POSIX_SOURCE, which is predefined and required
6863 # on some systems where configure will not decide to define it.
6864 if (defundef == "undef") {
6865 print "/*", prefix defundef, macro, "*/"
6873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6874 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6875 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6876 { (exit 1); exit 1; }; }
6877 fi # test -n "$CONFIG_HEADERS"
6880 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6885 :[FHLC]) ac_mode=$ac_tag; continue;;
6887 case $ac_mode$ac_tag in
6889 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6890 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
6891 { (exit 1); exit 1; }; };;
6892 :[FH]-) ac_tag=-:-;;
6893 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6910 -) ac_f="$tmp/stdin";;
6911 *) # Look for the file first in the build tree, then in the source tree
6912 # (if the path is not absolute). The absolute path cannot be DOS-style,
6913 # because $ac_f cannot contain `:'.
6917 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6919 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6920 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6921 { (exit 1); exit 1; }; };;
6923 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6924 ac_file_inputs="$ac_file_inputs '$ac_f'"
6927 # Let's still pretend it is `configure' which instantiates (i.e., don't
6928 # use $as_me), people would be surprised to read:
6929 # /* config.h. Generated by config.status. */
6930 configure_input='Generated from '`
6931 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6933 if test x"$ac_file" != x-; then
6934 configure_input="$ac_file. $configure_input"
6935 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6936 $as_echo "$as_me: creating $ac_file" >&6;}
6938 # Neutralize special characters interpreted by sed in replacement strings.
6939 case $configure_input in #(
6940 *\&* | *\|* | *\\* )
6941 ac_sed_conf_input=`$as_echo "$configure_input" |
6942 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6943 *) ac_sed_conf_input=$configure_input;;
6947 *:-:* | *:-) cat >"$tmp/stdin" \
6948 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6949 $as_echo "$as_me: error: could not create $ac_file" >&2;}
6950 { (exit 1); exit 1; }; } ;;
6955 ac_dir=`$as_dirname -- "$ac_file" ||
6956 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6957 X"$ac_file" : 'X\(//\)[^/]' \| \
6958 X"$ac_file" : 'X\(//\)$' \| \
6959 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6960 $as_echo X"$ac_file" |
6961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6980 -*) as_dir=./$as_dir;;
6982 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6986 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6987 *) as_qdir=$as_dir;;
6989 as_dirs="'$as_qdir' $as_dirs"
6990 as_dir=`$as_dirname -- "$as_dir" ||
6991 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6992 X"$as_dir" : 'X\(//\)[^/]' \| \
6993 X"$as_dir" : 'X\(//\)$' \| \
6994 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6995 $as_echo X"$as_dir" |
6996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7013 test -d "$as_dir" && break
7015 test -z "$as_dirs" || eval "mkdir $as_dirs"
7016 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7017 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7018 { (exit 1); exit 1; }; }; }
7022 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7024 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7025 # A ".." for each directory in $ac_dir_suffix.
7026 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7027 case $ac_top_builddir_sub in
7028 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7029 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7032 ac_abs_top_builddir=$ac_pwd
7033 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7034 # for backward compatibility:
7035 ac_top_builddir=$ac_top_build_prefix
7038 .) # We are building in place.
7040 ac_top_srcdir=$ac_top_builddir_sub
7041 ac_abs_top_srcdir=$ac_pwd ;;
7042 [\\/]* | ?:[\\/]* ) # Absolute name.
7043 ac_srcdir=$srcdir$ac_dir_suffix;
7044 ac_top_srcdir=$srcdir
7045 ac_abs_top_srcdir=$srcdir ;;
7047 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7048 ac_top_srcdir=$ac_top_build_prefix$srcdir
7049 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7051 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7061 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7062 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7066 [\\/$]* | ?:[\\/]* ) ;;
7067 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7071 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7072 # If the template does not know about datarootdir, expand it.
7073 # FIXME: This hack should be removed a few years after 2.60.
7074 ac_datarootdir_hack=; ac_datarootdir_seen=
7087 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7088 *datarootdir*) ac_datarootdir_seen=yes;;
7089 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7090 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7091 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7094 ac_datarootdir_hack='
7095 s&@datadir@&$datadir&g
7096 s&@docdir@&$docdir&g
7097 s&@infodir@&$infodir&g
7098 s&@localedir@&$localedir&g
7099 s&@mandir@&$mandir&g
7100 s&\\\${datarootdir}&$datarootdir&g' ;;
7104 # Neutralize VPATH when `$srcdir' = `.'.
7105 # Shell code in configure.ac might set extrasub.
7106 # FIXME: do we really want to maintain this feature?
7107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7108 ac_sed_extra="$ac_vpsub
7111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7113 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7114 s|@configure_input@|$ac_sed_conf_input|;t t
7115 s&@top_builddir@&$ac_top_builddir_sub&;t t
7116 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7117 s&@srcdir@&$ac_srcdir&;t t
7118 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7119 s&@top_srcdir@&$ac_top_srcdir&;t t
7120 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7121 s&@builddir@&$ac_builddir&;t t
7122 s&@abs_builddir@&$ac_abs_builddir&;t t
7123 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7124 s&@INSTALL@&$ac_INSTALL&;t t
7125 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7126 $ac_datarootdir_hack
7128 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
7129 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7130 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7131 { (exit 1); exit 1; }; }
7133 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7134 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7135 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7136 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7137 which seems to be undefined. Please make sure it is defined." >&5
7138 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7139 which seems to be undefined. Please make sure it is defined." >&2;}
7143 -) cat "$tmp/out" && rm -f "$tmp/out";;
7144 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7146 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7147 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7148 { (exit 1); exit 1; }; }
7154 if test x"$ac_file" != x-; then
7156 $as_echo "/* $configure_input */" \
7157 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7158 } >"$tmp/config.h" \
7159 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7160 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7161 { (exit 1); exit 1; }; }
7162 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7163 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7164 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7167 mv "$tmp/config.h" "$ac_file" \
7168 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
7169 $as_echo "$as_me: error: could not create $ac_file" >&2;}
7170 { (exit 1); exit 1; }; }
7173 $as_echo "/* $configure_input */" \
7174 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7175 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
7176 $as_echo "$as_me: error: could not create -" >&2;}
7177 { (exit 1); exit 1; }; }
7179 # Compute "$ac_file"'s index in $config_headers.
7182 for _am_header in $config_headers :; do
7184 $_am_arg | $_am_arg:* )
7187 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7190 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7191 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7192 X"$_am_arg" : 'X\(//\)[^/]' \| \
7193 X"$_am_arg" : 'X\(//\)$' \| \
7194 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7195 $as_echo X"$_am_arg" |
7196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7212 s/.*/./; q'`/stamp-h$_am_stamp_count
7215 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
7216 $as_echo "$as_me: executing $ac_file commands" >&6;}
7221 case $ac_file$ac_mode in
7222 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7223 # Autoconf 2.62 quotes --file arguments for eval, but not when files
7224 # are listed without --file. Let's play safe and only enable the eval
7225 # if we detect the quoting.
7226 case $CONFIG_FILES in
7227 *\'*) eval set x "$CONFIG_FILES" ;;
7228 *) set x $CONFIG_FILES ;;
7233 # Strip MF so we end up with the name of the file.
7234 mf=`echo "$mf" | sed -e 's/:.*$//'`
7235 # Check whether this is an Automake generated Makefile or not.
7236 # We used to match only the files named `Makefile.in', but
7237 # some people rename them; so instead we look at the file content.
7238 # Grep'ing the first line is not enough: some people post-process
7239 # each Makefile.in and add a new line on top of each file to say so.
7240 # Grep'ing the whole file is not good either: AIX grep has a line
7241 # limit of 2048, but all sed's we know have understand at least 4000.
7242 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7243 dirpart=`$as_dirname -- "$mf" ||
7244 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7245 X"$mf" : 'X\(//\)[^/]' \| \
7246 X"$mf" : 'X\(//\)$' \| \
7247 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7249 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7269 # Extract the definition of DEPDIR, am__include, and am__quote
7270 # from the Makefile without running `make'.
7271 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7272 test -z "$DEPDIR" && continue
7273 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7274 test -z "am__include" && continue
7275 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7276 # When using ansi2knr, U may be empty or an underscore; expand it
7277 U=`sed -n 's/^U = //p' < "$mf"`
7278 # Find all dependency output files, they are included files with
7279 # $(DEPDIR) in their names. We invoke sed twice because it is the
7280 # simplest approach to changing $(DEPDIR) to its actual value in the
7282 for file in `sed -n "
7283 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7284 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7285 # Make sure the directory exists.
7286 test -f "$dirpart/$file" && continue
7287 fdir=`$as_dirname -- "$file" ||
7288 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7289 X"$file" : 'X\(//\)[^/]' \| \
7290 X"$file" : 'X\(//\)$' \| \
7291 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7293 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7310 { as_dir=$dirpart/$fdir
7312 -*) as_dir=./$as_dir;;
7314 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7318 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7319 *) as_qdir=$as_dir;;
7321 as_dirs="'$as_qdir' $as_dirs"
7322 as_dir=`$as_dirname -- "$as_dir" ||
7323 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7324 X"$as_dir" : 'X\(//\)[^/]' \| \
7325 X"$as_dir" : 'X\(//\)$' \| \
7326 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7327 $as_echo X"$as_dir" |
7328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7345 test -d "$as_dir" && break
7347 test -z "$as_dirs" || eval "mkdir $as_dirs"
7348 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7349 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
7350 { (exit 1); exit 1; }; }; }
7351 # echo "creating $dirpart/$file"
7352 echo '# dummy' > "$dirpart/$file"
7362 { (exit 0); exit 0; }
7364 chmod +x $CONFIG_STATUS
7365 ac_clean_files=$ac_clean_files_save
7367 test $ac_write_fail = 0 ||
7368 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
7369 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
7370 { (exit 1); exit 1; }; }
7373 # configure is writing to config.log, and then calls config.status.
7374 # config.status does its own redirection, appending to config.log.
7375 # Unfortunately, on DOS this fails, as config.log is still kept open
7376 # by configure, so config.status won't be able to write to it; its
7377 # output is simply discarded. So we exec the FD to /dev/null,
7378 # effectively closing config.log, so it can be properly (re)opened and
7379 # appended to by config.status. When coming back to configure, we
7380 # need to make the FD available again.
7381 if test "$no_create" != yes; then
7383 ac_config_status_args=
7384 test "$silent" = yes &&
7385 ac_config_status_args="$ac_config_status_args --quiet"
7387 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7389 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7390 # would make configure fail if this is the last instruction.
7391 $ac_cs_success || { (exit 1); exit 1; }
7393 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7394 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7395 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}