Next version of JABA
[jabaws.git] / binaries / src / clustalw / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for clustalw 2.0.12.
4 #
5 # Report bugs to <clustalw@ucd.ie>.
6 #
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 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18   emulate sh
19   NULLCMD=:
20   # 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+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in
26   *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 as_nl='
43 '
44 export as_nl
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
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
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'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85   as_unset=unset
86 else
87   as_unset=false
88 fi
89
90
91 # IFS
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.)
96 IFS=" ""        $as_nl"
97
98 # Find who we are.  Look in the path if we contain no directory separator.
99 case $0 in
100   *[\\/]* ) as_myself=$0 ;;
101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
103 do
104   IFS=$as_save_IFS
105   test -z "$as_dir" && as_dir=.
106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
109
110      ;;
111 esac
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
115   as_myself=$0
116 fi
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; }
120 fi
121
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
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
139   as_expr=expr
140 else
141   as_expr=false
142 fi
143
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145   as_basename=basename
146 else
147   as_basename=false
148 fi
149
150
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 ||
156 $as_echo X/"$0" |
157     sed '/^.*\/\([^/][^/]*\)\/*$/{
158             s//\1/
159             q
160           }
161           /^X\/\(\/\/\)$/{
162             s//\1/
163             q
164           }
165           /^X\/\(\/\).*/{
166             s//\1/
167             q
168           }
169           s/.*/./; q'`
170
171 # CDPATH.
172 $as_unset CDPATH
173
174
175 if test "x$CONFIG_SHELL" = x; then
176   if (eval ":") 2>/dev/null; then
177   as_have_required=yes
178 else
179   as_have_required=no
180 fi
181
182   if test $as_have_required = yes &&     (eval ":
183 (as_func_return () {
184   (exit \$1)
185 }
186 as_func_success () {
187   as_func_return 0
188 }
189 as_func_failure () {
190   as_func_return 1
191 }
192 as_func_ret_success () {
193   return 0
194 }
195 as_func_ret_failure () {
196   return 1
197 }
198
199 exitcode=0
200 if as_func_success; then
201   :
202 else
203   exitcode=1
204   echo as_func_success failed.
205 fi
206
207 if as_func_failure; then
208   exitcode=1
209   echo as_func_failure succeeded.
210 fi
211
212 if as_func_ret_success; then
213   :
214 else
215   exitcode=1
216   echo as_func_ret_success failed.
217 fi
218
219 if as_func_ret_failure; then
220   exitcode=1
221   echo as_func_ret_failure succeeded.
222 fi
223
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225   :
226 else
227   exitcode=1
228   echo positional parameters were not saved.
229 fi
230
231 test \$exitcode = 0) || { (exit 1); exit 1; }
232
233 (
234   as_lineno_1=\$LINENO
235   as_lineno_2=\$LINENO
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
239   :
240 else
241   as_candidate_shells=
242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244 do
245   IFS=$as_save_IFS
246   test -z "$as_dir" && as_dir=.
247   case $as_dir in
248          /*)
249            for as_base in sh bash ksh sh5; do
250              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251            done;;
252        esac
253 done
254 IFS=$as_save_IFS
255
256
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
262   emulate sh
263   NULLCMD=:
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+"$@"}'='"$@"'
267   setopt NO_GLOB_SUBST
268 else
269   case `(set -o) 2>/dev/null` in
270   *posix*) set -o posix ;;
271 esac
272
273 fi
274
275
276 :
277 _ASEOF
278 }; then
279   CONFIG_SHELL=$as_shell
280                as_have_required=yes
281                if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283   emulate sh
284   NULLCMD=:
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+"$@"}'='"$@"'
288   setopt NO_GLOB_SUBST
289 else
290   case `(set -o) 2>/dev/null` in
291   *posix*) set -o posix ;;
292 esac
293
294 fi
295
296
297 :
298 (as_func_return () {
299   (exit $1)
300 }
301 as_func_success () {
302   as_func_return 0
303 }
304 as_func_failure () {
305   as_func_return 1
306 }
307 as_func_ret_success () {
308   return 0
309 }
310 as_func_ret_failure () {
311   return 1
312 }
313
314 exitcode=0
315 if as_func_success; then
316   :
317 else
318   exitcode=1
319   echo as_func_success failed.
320 fi
321
322 if as_func_failure; then
323   exitcode=1
324   echo as_func_failure succeeded.
325 fi
326
327 if as_func_ret_success; then
328   :
329 else
330   exitcode=1
331   echo as_func_ret_success failed.
332 fi
333
334 if as_func_ret_failure; then
335   exitcode=1
336   echo as_func_ret_failure succeeded.
337 fi
338
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
340   :
341 else
342   exitcode=1
343   echo positional parameters were not saved.
344 fi
345
346 test $exitcode = 0) || { (exit 1); exit 1; }
347
348 (
349   as_lineno_1=$LINENO
350   as_lineno_2=$LINENO
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; }
353
354 _ASEOF
355 }; then
356   break
357 fi
358
359 fi
360
361       done
362
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
366         done
367         export CONFIG_SHELL
368         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369 fi
370
371
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; }
378 fi
379
380
381 fi
382
383 fi
384
385
386
387 (eval "as_func_return () {
388   (exit \$1)
389 }
390 as_func_success () {
391   as_func_return 0
392 }
393 as_func_failure () {
394   as_func_return 1
395 }
396 as_func_ret_success () {
397   return 0
398 }
399 as_func_ret_failure () {
400   return 1
401 }
402
403 exitcode=0
404 if as_func_success; then
405   :
406 else
407   exitcode=1
408   echo as_func_success failed.
409 fi
410
411 if as_func_failure; then
412   exitcode=1
413   echo as_func_failure succeeded.
414 fi
415
416 if as_func_ret_success; then
417   :
418 else
419   exitcode=1
420   echo as_func_ret_success failed.
421 fi
422
423 if as_func_ret_failure; then
424   exitcode=1
425   echo as_func_ret_failure succeeded.
426 fi
427
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429   :
430 else
431   exitcode=1
432   echo positional parameters were not saved.
433 fi
434
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.
441 }
442
443
444
445   as_lineno_1=$LINENO
446   as_lineno_2=$LINENO
447   test "x$as_lineno_1" != "x$as_lineno_2" &&
448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
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
456   # case at line end.
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.  :-)
460   sed -n '
461     p
462     /[$]LINENO/=
463   ' <$as_myself |
464     sed '
465       s/[$]LINENO.*/&-/
466       t lineno
467       b
468       :lineno
469       N
470       :loop
471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472       t loop
473       s/-\n.*//
474     ' >$as_me.lineno &&
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; }; }
478
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).
482   . "./$as_me.lineno"
483   # Exit status is that of the last command.
484   exit
485 }
486
487
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489   as_dirname=dirname
490 else
491   as_dirname=false
492 fi
493
494 ECHO_C= ECHO_N= ECHO_T=
495 case `echo -n x` in
496 -n*)
497   case `echo 'x\c'` in
498   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499   *)   ECHO_C='\c';;
500   esac;;
501 *)
502   ECHO_N='-n';;
503 esac
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
506   as_expr=expr
507 else
508   as_expr=false
509 fi
510
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513   rm -f conf$$.dir/conf$$.file
514 else
515   rm -f conf$$.dir
516   mkdir conf$$.dir 2>/dev/null
517 fi
518 if (echo >conf$$.file) 2>/dev/null; then
519   if ln -s conf$$.file conf$$ 2>/dev/null; then
520     as_ln_s='ln -s'
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 ||
526       as_ln_s='cp -p'
527   elif ln conf$$.file conf$$ 2>/dev/null; then
528     as_ln_s=ln
529   else
530     as_ln_s='cp -p'
531   fi
532 else
533   as_ln_s='cp -p'
534 fi
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
537
538 if mkdir -p . 2>/dev/null; then
539   as_mkdir_p=:
540 else
541   test -d ./-p && rmdir ./-p
542   as_mkdir_p=false
543 fi
544
545 if test -x / >/dev/null 2>&1; then
546   as_test_x='test -x'
547 else
548   if ls -dL / >/dev/null 2>&1; then
549     as_ls_L_option=L
550   else
551     as_ls_L_option=
552   fi
553   as_test_x='
554     eval sh -c '\''
555       if test -d "$1"; then
556         test -d "$1/.";
557       else
558         case $1 in
559         -*)set "./$1";;
560         esac;
561         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562         ???[sx]*):;;*)false;;esac;fi
563     '\'' sh
564   '
565 fi
566 as_executable_p=$as_test_x
567
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'"
570
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'"
573
574
575
576 exec 7<&0 </dev/null 6>&1
577
578 # Name of the host.
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`
582
583 #
584 # Initializations.
585 #
586 ac_default_prefix=/usr/local
587 ac_clean_files=
588 ac_config_libobj_dir=.
589 LIBOBJS=
590 cross_compiling=no
591 subdirs=
592 MFLAGS=
593 MAKEFLAGS=
594 SHELL=${CONFIG_SHELL-/bin/sh}
595
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'
602
603 # Factoring default headers for most tests.
604 ac_includes_default="\
605 #include <stdio.h>
606 #ifdef HAVE_SYS_TYPES_H
607 # include <sys/types.h>
608 #endif
609 #ifdef HAVE_SYS_STAT_H
610 # include <sys/stat.h>
611 #endif
612 #ifdef STDC_HEADERS
613 # include <stdlib.h>
614 # include <stddef.h>
615 #else
616 # ifdef HAVE_STDLIB_H
617 #  include <stdlib.h>
618 # endif
619 #endif
620 #ifdef HAVE_STRING_H
621 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #  include <memory.h>
623 # endif
624 # include <string.h>
625 #endif
626 #ifdef HAVE_STRINGS_H
627 # include <strings.h>
628 #endif
629 #ifdef HAVE_INTTYPES_H
630 # include <inttypes.h>
631 #endif
632 #ifdef HAVE_STDINT_H
633 # include <stdint.h>
634 #endif
635 #ifdef HAVE_UNISTD_H
636 # include <unistd.h>
637 #endif"
638
639 ac_subst_vars='LTLIBOBJS
640 LIBOBJS
641 EGREP
642 GREP
643 CXXCPP
644 RANLIB
645 am__fastdepCXX_FALSE
646 am__fastdepCXX_TRUE
647 CXXDEPMODE
648 ac_ct_CXX
649 CXXFLAGS
650 CXX
651 am__fastdepCC_FALSE
652 am__fastdepCC_TRUE
653 CCDEPMODE
654 AMDEPBACKSLASH
655 AMDEP_FALSE
656 AMDEP_TRUE
657 am__quote
658 am__include
659 DEPDIR
660 OBJEXT
661 EXEEXT
662 ac_ct_CC
663 CPPFLAGS
664 LDFLAGS
665 CFLAGS
666 CC
667 am__untar
668 am__tar
669 AMTAR
670 am__leading_dot
671 SET_MAKE
672 AWK
673 mkdir_p
674 MKDIR_P
675 INSTALL_STRIP_PROGRAM
676 STRIP
677 install_sh
678 MAKEINFO
679 AUTOHEADER
680 AUTOMAKE
681 AUTOCONF
682 ACLOCAL
683 VERSION
684 PACKAGE
685 CYGPATH_W
686 am__isrc
687 INSTALL_DATA
688 INSTALL_SCRIPT
689 INSTALL_PROGRAM
690 CLUSTALW_NAME
691 CLUSTALW_VERSION
692 target_os
693 target_vendor
694 target_cpu
695 target
696 host_os
697 host_vendor
698 host_cpu
699 host
700 build_os
701 build_vendor
702 build_cpu
703 build
704 target_alias
705 host_alias
706 build_alias
707 LIBS
708 ECHO_T
709 ECHO_N
710 ECHO_C
711 DEFS
712 mandir
713 localedir
714 libdir
715 psdir
716 pdfdir
717 dvidir
718 htmldir
719 infodir
720 docdir
721 oldincludedir
722 includedir
723 localstatedir
724 sharedstatedir
725 sysconfdir
726 datadir
727 datarootdir
728 libexecdir
729 sbindir
730 bindir
731 program_transform_name
732 prefix
733 exec_prefix
734 PACKAGE_BUGREPORT
735 PACKAGE_STRING
736 PACKAGE_VERSION
737 PACKAGE_TARNAME
738 PACKAGE_NAME
739 PATH_SEPARATOR
740 SHELL'
741 ac_subst_files=''
742 ac_user_opts='
743 enable_option_checking
744 enable_dependency_tracking
745 with_mhash
746 '
747       ac_precious_vars='build_alias
748 host_alias
749 target_alias
750 CC
751 CFLAGS
752 LDFLAGS
753 LIBS
754 CPPFLAGS
755 CXX
756 CXXFLAGS
757 CCC
758 CXXCPP'
759
760
761 # Initialize some variables set by options.
762 ac_init_help=
763 ac_init_version=false
764 ac_unrecognized_opts=
765 ac_unrecognized_sep=
766 # The variables have the same names as the options, with
767 # dashes changed to underlines.
768 cache_file=/dev/null
769 exec_prefix=NONE
770 no_create=
771 no_recursion=
772 prefix=NONE
773 program_prefix=NONE
774 program_suffix=NONE
775 program_transform_name=s,x,x,
776 silent=
777 site=
778 srcdir=
779 verbose=
780 x_includes=NONE
781 x_libraries=NONE
782
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'
801 htmldir='${docdir}'
802 dvidir='${docdir}'
803 pdfdir='${docdir}'
804 psdir='${docdir}'
805 libdir='${exec_prefix}/lib'
806 localedir='${datarootdir}/locale'
807 mandir='${datarootdir}/man'
808
809 ac_prev=
810 ac_dashdash=
811 for ac_option
812 do
813   # If the previous option needs an argument, assign it.
814   if test -n "$ac_prev"; then
815     eval $ac_prev=\$ac_option
816     ac_prev=
817     continue
818   fi
819
820   case $ac_option in
821   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
822   *)    ac_optarg=yes ;;
823   esac
824
825   # Accept the important Cygnus configure options, so we can diagnose typos.
826
827   case $ac_dashdash$ac_option in
828   --)
829     ac_dashdash=yes ;;
830
831   -bindir | --bindir | --bindi | --bind | --bin | --bi)
832     ac_prev=bindir ;;
833   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
834     bindir=$ac_optarg ;;
835
836   -build | --build | --buil | --bui | --bu)
837     ac_prev=build_alias ;;
838   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
839     build_alias=$ac_optarg ;;
840
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 ;;
847
848   --config-cache | -C)
849     cache_file=config.cache ;;
850
851   -datadir | --datadir | --datadi | --datad)
852     ac_prev=datadir ;;
853   -datadir=* | --datadir=* | --datadi=* | --datad=*)
854     datadir=$ac_optarg ;;
855
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 ;;
862
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
872       *"
873 "enable_$ac_useropt"
874 "*) ;;
875       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
876          ac_unrecognized_sep=', ';;
877     esac
878     eval enable_$ac_useropt=no ;;
879
880   -docdir | --docdir | --docdi | --doc | --do)
881     ac_prev=docdir ;;
882   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
883     docdir=$ac_optarg ;;
884
885   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
886     ac_prev=dvidir ;;
887   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
888     dvidir=$ac_optarg ;;
889
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
899       *"
900 "enable_$ac_useropt"
901 "*) ;;
902       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903          ac_unrecognized_sep=', ';;
904     esac
905     eval enable_$ac_useropt=\$ac_optarg ;;
906
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 ;;
915
916   -gas | --gas | --ga | --g)
917     # Obsolete; use --with-gas.
918     with_gas=yes ;;
919
920   -help | --help | --hel | --he | -h)
921     ac_init_help=long ;;
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 ;;
926
927   -host | --host | --hos | --ho)
928     ac_prev=host_alias ;;
929   -host=* | --host=* | --hos=* | --ho=*)
930     host_alias=$ac_optarg ;;
931
932   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
933     ac_prev=htmldir ;;
934   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
935   | --ht=*)
936     htmldir=$ac_optarg ;;
937
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 ;;
944
945   -infodir | --infodir | --infodi | --infod | --info | --inf)
946     ac_prev=infodir ;;
947   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
948     infodir=$ac_optarg ;;
949
950   -libdir | --libdir | --libdi | --libd)
951     ac_prev=libdir ;;
952   -libdir=* | --libdir=* | --libdi=* | --libd=*)
953     libdir=$ac_optarg ;;
954
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 ;;
961
962   -localedir | --localedir | --localedi | --localed | --locale)
963     ac_prev=localedir ;;
964   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
965     localedir=$ac_optarg ;;
966
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 ;;
973
974   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
975     ac_prev=mandir ;;
976   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
977     mandir=$ac_optarg ;;
978
979   -nfp | --nfp | --nf)
980     # Obsolete; use --without-fp.
981     with_fp=no ;;
982
983   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
984   | --no-cr | --no-c | -n)
985     no_create=yes ;;
986
987   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
988   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
989     no_recursion=yes ;;
990
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 ;;
999
1000   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1001     ac_prev=prefix ;;
1002   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1003     prefix=$ac_optarg ;;
1004
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 ;;
1011
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 ;;
1018
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 ;;
1035
1036   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1037     ac_prev=pdfdir ;;
1038   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1039     pdfdir=$ac_optarg ;;
1040
1041   -psdir | --psdir | --psdi | --psd | --ps)
1042     ac_prev=psdir ;;
1043   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1044     psdir=$ac_optarg ;;
1045
1046   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1047   | -silent | --silent | --silen | --sile | --sil)
1048     silent=yes ;;
1049
1050   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1051     ac_prev=sbindir ;;
1052   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1053   | --sbi=* | --sb=*)
1054     sbindir=$ac_optarg ;;
1055
1056   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1057   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1058   | --sharedst | --shareds | --shared | --share | --shar \
1059   | --sha | --sh)
1060     ac_prev=sharedstatedir ;;
1061   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1062   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1063   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1064   | --sha=* | --sh=*)
1065     sharedstatedir=$ac_optarg ;;
1066
1067   -site | --site | --sit)
1068     ac_prev=site ;;
1069   -site=* | --site=* | --sit=*)
1070     site=$ac_optarg ;;
1071
1072   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1073     ac_prev=srcdir ;;
1074   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1075     srcdir=$ac_optarg ;;
1076
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 ;;
1083
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 ;;
1088
1089   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1090     verbose=yes ;;
1091
1092   -version | --version | --versio | --versi | --vers | -V)
1093     ac_init_version=: ;;
1094
1095   -with-* | --with-*)
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
1104       *"
1105 "with_$ac_useropt"
1106 "*) ;;
1107       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1108          ac_unrecognized_sep=', ';;
1109     esac
1110     eval with_$ac_useropt=\$ac_optarg ;;
1111
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
1121       *"
1122 "with_$ac_useropt"
1123 "*) ;;
1124       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1125          ac_unrecognized_sep=', ';;
1126     esac
1127     eval with_$ac_useropt=no ;;
1128
1129   --x)
1130     # Obsolete; use --with-x.
1131     with_x=yes ;;
1132
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 ;;
1139
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 ;;
1146
1147   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1148 Try \`$0 --help' for more information." >&2
1149    { (exit 1); exit 1; }; }
1150     ;;
1151
1152   *=*)
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 ;;
1160
1161   *)
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}
1167     ;;
1168
1169   esac
1170 done
1171
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; }; }
1176 fi
1177
1178 if test -n "$ac_unrecognized_opts"; then
1179   case $enable_option_checking in
1180     no) ;;
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 ;;
1184   esac
1185 fi
1186
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
1192 do
1193   eval ac_val=\$$ac_var
1194   # Remove trailing slashes.
1195   case $ac_val in
1196     */ )
1197       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1198       eval $ac_var=\$ac_val;;
1199   esac
1200   # Be sure to have absolute directory names.
1201   case $ac_val in
1202     [\\/$]* | ?:[\\/]* )  continue;;
1203     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1204   esac
1205   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1206    { (exit 1); exit 1; }; }
1207 done
1208
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.
1212 build=$build_alias
1213 host=$host_alias
1214 target=$target_alias
1215
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
1223     cross_compiling=yes
1224   fi
1225 fi
1226
1227 ac_tool_prefix=
1228 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1229
1230 test "$silent" = yes && exec 6>/dev/null
1231
1232
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; }; }
1241
1242
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1254             s//\1/
1255             q
1256           }
1257           /^X\(\/\/\)[^/].*/{
1258             s//\1/
1259             q
1260           }
1261           /^X\(\/\/\)$/{
1262             s//\1/
1263             q
1264           }
1265           /^X\(\/\).*/{
1266             s//\1/
1267             q
1268           }
1269           s/.*/./; q'`
1270   srcdir=$ac_confdir
1271   if test ! -r "$srcdir/$ac_unique_file"; then
1272     srcdir=..
1273   fi
1274 else
1275   ac_srcdir_defaulted=no
1276 fi
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; }; }
1281 fi
1282 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1283 ac_abs_confdir=`(
1284         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1285    { (exit 1); exit 1; }; }
1286         pwd)`
1287 # When building in place, set srcdir=.
1288 if test "$ac_abs_confdir" = "$ac_pwd"; then
1289   srcdir=.
1290 fi
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.
1294 case $srcdir in
1295 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1296 esac
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}
1302 done
1303
1304 #
1305 # Report the --help message.
1306 #
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.
1310   cat <<_ACEOF
1311 \`configure' configures clustalw 2.0.12 to adapt to many kinds of systems.
1312
1313 Usage: $0 [OPTION]... [VAR=VALUE]...
1314
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.
1317
1318 Defaults for the options are specified in brackets.
1319
1320 Configuration:
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 \`..']
1330
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
1335                           [PREFIX]
1336
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'.
1341
1342 For better control, use the options below.
1343
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]
1364 _ACEOF
1365
1366   cat <<\_ACEOF
1367
1368 Program names:
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
1372
1373 System types:
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]
1377 _ACEOF
1378 fi
1379
1380 if test -n "$ac_init_help"; then
1381   case $ac_init_help in
1382      short | recursive ) echo "Configuration of clustalw 2.0.12:";;
1383    esac
1384   cat <<\_ACEOF
1385
1386 Optional Features:
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
1392
1393 Optional Packages:
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
1397
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
1409
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.
1412
1413 Report bugs to <clustalw@ucd.ie>.
1414 _ACEOF
1415 ac_status=$?
1416 fi
1417
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"; } ||
1423       continue
1424     ac_builddir=.
1425
1426 case "$ac_dir" in
1427 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1428 *)
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/ ;;
1435   esac ;;
1436 esac
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
1441
1442 case $srcdir in
1443   .)  # We are building in place.
1444     ac_srcdir=.
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 ;;
1451   *) # Relative name.
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 ;;
1455 esac
1456 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1457
1458     cd "$ac_dir" || { ac_status=$?; continue; }
1459     # Check for guested configure.
1460     if test -f "$ac_srcdir/configure.gnu"; then
1461       echo &&
1462       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1463     elif test -f "$ac_srcdir/configure"; then
1464       echo &&
1465       $SHELL "$ac_srcdir/configure" --help=recursive
1466     else
1467       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1468     fi || ac_status=$?
1469     cd "$ac_pwd" || { ac_status=$?; break; }
1470   done
1471 fi
1472
1473 test -n "$ac_init_help" && exit $ac_status
1474 if $ac_init_version; then
1475   cat <<\_ACEOF
1476 clustalw configure 2.0.12
1477 generated by GNU Autoconf 2.63
1478
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.
1483 _ACEOF
1484   exit
1485 fi
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.
1489
1490 It was created by clustalw $as_me 2.0.12, which was
1491 generated by GNU Autoconf 2.63.  Invocation command line was
1492
1493   $ $0 $@
1494
1495 _ACEOF
1496 exec 5>>config.log
1497 {
1498 cat <<_ASUNAME
1499 ## --------- ##
1500 ## Platform. ##
1501 ## --------- ##
1502
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`
1508
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`
1511
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`
1519
1520 _ASUNAME
1521
1522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1523 for as_dir in $PATH
1524 do
1525   IFS=$as_save_IFS
1526   test -z "$as_dir" && as_dir=.
1527   $as_echo "PATH: $as_dir"
1528 done
1529 IFS=$as_save_IFS
1530
1531 } >&5
1532
1533 cat >&5 <<_ACEOF
1534
1535
1536 ## ----------- ##
1537 ## Core tests. ##
1538 ## ----------- ##
1539
1540 _ACEOF
1541
1542
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.
1548 ac_configure_args=
1549 ac_configure_args0=
1550 ac_configure_args1=
1551 ac_must_keep_next=false
1552 for ac_pass in 1 2
1553 do
1554   for ac_arg
1555   do
1556     case $ac_arg in
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)
1560       continue ;;
1561     *\'*)
1562       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1563     esac
1564     case $ac_pass in
1565     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1566     2)
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.
1570       else
1571         case $ac_arg in
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 ;;
1578             esac
1579             ;;
1580           -* ) ac_must_keep_next=true ;;
1581         esac
1582       fi
1583       ac_configure_args="$ac_configure_args '$ac_arg'"
1584       ;;
1585     esac
1586   done
1587 done
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; }
1590
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.
1598   {
1599     echo
1600
1601     cat <<\_ASBOX
1602 ## ---------------- ##
1603 ## Cache variables. ##
1604 ## ---------------- ##
1605 _ASBOX
1606     echo
1607     # The following way of writing the cache mishandles newlines in values,
1608 (
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
1611     case $ac_val in #(
1612     *${as_nl}*)
1613       case $ac_var in #(
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;} ;;
1616       esac
1617       case $ac_var in #(
1618       _ | IFS | as_nl) ;; #(
1619       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1620       *) $as_unset $ac_var ;;
1621       esac ;;
1622     esac
1623   done
1624   (set) 2>&1 |
1625     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1626     *${as_nl}ac_space=\ *)
1627       sed -n \
1628         "s/'\''/'\''\\\\'\'''\''/g;
1629           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1630       ;; #(
1631     *)
1632       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1633       ;;
1634     esac |
1635     sort
1636 )
1637     echo
1638
1639     cat <<\_ASBOX
1640 ## ----------------- ##
1641 ## Output variables. ##
1642 ## ----------------- ##
1643 _ASBOX
1644     echo
1645     for ac_var in $ac_subst_vars
1646     do
1647       eval ac_val=\$$ac_var
1648       case $ac_val in
1649       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1650       esac
1651       $as_echo "$ac_var='\''$ac_val'\''"
1652     done | sort
1653     echo
1654
1655     if test -n "$ac_subst_files"; then
1656       cat <<\_ASBOX
1657 ## ------------------- ##
1658 ## File substitutions. ##
1659 ## ------------------- ##
1660 _ASBOX
1661       echo
1662       for ac_var in $ac_subst_files
1663       do
1664         eval ac_val=\$$ac_var
1665         case $ac_val in
1666         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1667         esac
1668         $as_echo "$ac_var='\''$ac_val'\''"
1669       done | sort
1670       echo
1671     fi
1672
1673     if test -s confdefs.h; then
1674       cat <<\_ASBOX
1675 ## ----------- ##
1676 ## confdefs.h. ##
1677 ## ----------- ##
1678 _ASBOX
1679       echo
1680       cat confdefs.h
1681       echo
1682     fi
1683     test "$ac_signal" != 0 &&
1684       $as_echo "$as_me: caught signal $ac_signal"
1685     $as_echo "$as_me: exit $exit_status"
1686   } >&5
1687   rm -f core *.core core.conftest.* &&
1688     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1689     exit $exit_status
1690 ' 0
1691 for ac_signal in 1 2 13 15; do
1692   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1693 done
1694 ac_signal=0
1695
1696 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1697 rm -f -r conftest* confdefs.h
1698
1699 # Predefined preprocessor variables.
1700
1701 cat >>confdefs.h <<_ACEOF
1702 #define PACKAGE_NAME "$PACKAGE_NAME"
1703 _ACEOF
1704
1705
1706 cat >>confdefs.h <<_ACEOF
1707 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1708 _ACEOF
1709
1710
1711 cat >>confdefs.h <<_ACEOF
1712 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1713 _ACEOF
1714
1715
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_STRING "$PACKAGE_STRING"
1718 _ACEOF
1719
1720
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1723 _ACEOF
1724
1725
1726 # Let the site file select an alternate cache file if it wants to.
1727 # Prefer an explicitly selected file to automatically selected ones.
1728 ac_site_file1=NONE
1729 ac_site_file2=NONE
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
1735 else
1736   ac_site_file1=$ac_default_prefix/share/config.site
1737   ac_site_file2=$ac_default_prefix/etc/config.site
1738 fi
1739 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1740 do
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
1746     . "$ac_site_file"
1747   fi
1748 done
1749
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;}
1756     case $cache_file in
1757       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1758       *)                      . "./$cache_file";;
1759     esac
1760   fi
1761 else
1762   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1763 $as_echo "$as_me: creating cache $cache_file" >&6;}
1764   >$cache_file
1765 fi
1766
1767 # Check that the precious variables saved in the cache have kept the same
1768 # value.
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
1776     set,)
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=: ;;
1780     ,set)
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=: ;;
1784     ,);;
1785     *)
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=:
1794         else
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
1798         fi
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;}
1803       fi;;
1804   esac
1805   # Pass precious variables to config.status.
1806   if test "$ac_new_set" = set; then
1807     case $ac_new_val in
1808     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1809     *) ac_arg=$ac_var=$ac_new_val ;;
1810     esac
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'" ;;
1814     esac
1815   fi
1816 done
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; }; }
1825 fi
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851 ac_ext=c
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
1856
1857
1858 #
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
1868
1869
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
1874 ac_aux_dir=
1875 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1876   if test -f "$ac_dir/install-sh"; then
1877     ac_aux_dir=$ac_dir
1878     ac_install_sh="$ac_aux_dir/install-sh -c"
1879     break
1880   elif test -f "$ac_dir/install.sh"; then
1881     ac_aux_dir=$ac_dir
1882     ac_install_sh="$ac_aux_dir/install.sh -c"
1883     break
1884   elif test -f "$ac_dir/shtool"; then
1885     ac_aux_dir=$ac_dir
1886     ac_install_sh="$ac_aux_dir/shtool install -c"
1887     break
1888   fi
1889 done
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; }; }
1894 fi
1895
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.
1903
1904
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; }; }
1910
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
1915 else
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; }; }
1927
1928 fi
1929 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1930 $as_echo "$ac_cv_build" >&6; }
1931 case $ac_cv_build in
1932 *-*-*) ;;
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; }; };;
1936 esac
1937 build=$ac_cv_build
1938 ac_save_IFS=$IFS; IFS='-'
1939 set x $ac_cv_build
1940 shift
1941 build_cpu=$1
1942 build_vendor=$2
1943 shift; shift
1944 # Remember, the first character of IFS is used to create $*,
1945 # except with old shells:
1946 build_os=$*
1947 IFS=$ac_save_IFS
1948 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1949
1950
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
1955 else
1956   if test "x$host_alias" = x; then
1957   ac_cv_host=$ac_cv_build
1958 else
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; }; }
1963 fi
1964
1965 fi
1966 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1967 $as_echo "$ac_cv_host" >&6; }
1968 case $ac_cv_host in
1969 *-*-*) ;;
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; }; };;
1973 esac
1974 host=$ac_cv_host
1975 ac_save_IFS=$IFS; IFS='-'
1976 set x $ac_cv_host
1977 shift
1978 host_cpu=$1
1979 host_vendor=$2
1980 shift; shift
1981 # Remember, the first character of IFS is used to create $*,
1982 # except with old shells:
1983 host_os=$*
1984 IFS=$ac_save_IFS
1985 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1986
1987
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
1992 else
1993   if test "x$target_alias" = x; then
1994   ac_cv_target=$ac_cv_host
1995 else
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; }; }
2000 fi
2001
2002 fi
2003 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2004 $as_echo "$ac_cv_target" >&6; }
2005 case $ac_cv_target in
2006 *-*-*) ;;
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; }; };;
2010 esac
2011 target=$ac_cv_target
2012 ac_save_IFS=$IFS; IFS='-'
2013 set x $ac_cv_target
2014 shift
2015 target_cpu=$1
2016 target_vendor=$2
2017 shift; shift
2018 # Remember, the first character of IFS is used to create $*,
2019 # except with old shells:
2020 target_os=$*
2021 IFS=$ac_save_IFS
2022 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2023
2024
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" = \
2029     NONENONEs,x,x, &&
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"
2033 case $target_os in
2034    *linux*|*solaris*|*bsd*)
2035
2036 cat >>confdefs.h <<\_ACEOF
2037 #define OS_UNIX 1
2038 _ACEOF
2039
2040         ;;
2041    *darwin*)
2042
2043 cat >>confdefs.h <<\_ACEOF
2044 #define OS_MAC 1
2045 _ACEOF
2046
2047
2048 cat >>confdefs.h <<\_ACEOF
2049 #define OS_UNIX 1
2050 _ACEOF
2051
2052         ;;
2053    *cygwin*|*mingw*)
2054
2055 cat >>confdefs.h <<\_ACEOF
2056 #define OS_WINDOWS 1
2057 _ACEOF
2058
2059         ;;
2060    *)
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;};
2063
2064 cat >>confdefs.h <<\_ACEOF
2065 #define OS_UNIX 1
2066 _ACEOF
2067
2068         ;;
2069 esac
2070 echo "building for $target_os"
2071
2072
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}"
2077
2078 CLUSTALW_NAME="ClustalW"
2079
2080
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'
2085
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
2092 # AIX /bin/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
2105 else
2106   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2107 for as_dir in $PATH
2108 do
2109   IFS=$as_save_IFS
2110   test -z "$as_dir" && as_dir=.
2111   # Account for people who put trailing slashes in PATH elements.
2112 case $as_dir/ in
2113   ./ | .// | /cC/* | \
2114   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2115   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2116   /usr/ucb/* ) ;;
2117   *)
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
2120     # by default.
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.
2127             :
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.
2131             :
2132           else
2133             rm -rf conftest.one conftest.two conftest.dir
2134             echo one > conftest.one
2135             echo two > conftest.two
2136             mkdir conftest.dir
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
2141             then
2142               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2143               break 3
2144             fi
2145           fi
2146         fi
2147       done
2148     done
2149     ;;
2150 esac
2151
2152 done
2153 IFS=$as_save_IFS
2154
2155 rm -rf conftest.one conftest.two conftest.dir
2156
2157 fi
2158   if test "${ac_cv_path_install+set}" = set; then
2159     INSTALL=$ac_cv_path_install
2160   else
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
2166   fi
2167 fi
2168 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2169 $as_echo "$INSTALL" >&6; }
2170
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}'
2174
2175 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2176
2177 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2178
2179 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2180 $as_echo_n "checking whether build environment is sane... " >&6; }
2181 # Just in case
2182 sleep 1
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
2188 # directory).
2189 if (
2190    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2191    if test "$*" = "X"; then
2192       # -L didn't work.
2193       set X `ls -t $srcdir/configure conftest.file`
2194    fi
2195    rm -f conftest.file
2196    if test "$*" != "X $srcdir/configure conftest.file" \
2197       && test "$*" != "X conftest.file $srcdir/configure"; then
2198
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; }; }
2208    fi
2209
2210    test "$2" = conftest.file
2211    )
2212 then
2213    # Ok.
2214    :
2215 else
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; }; }
2221 fi
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"`
2233
2234 # expand $ac_aux_dir to an absolute path
2235 am_aux_dir=`cd $ac_aux_dir && pwd`
2236
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 "
2241 else
2242   am_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;}
2245 fi
2246
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
2252 else
2253   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2255 do
2256   IFS=$as_save_IFS
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
2266                break 3;;
2267            esac
2268          done
2269        done
2270 done
2271 IFS=$as_save_IFS
2272
2273 fi
2274
2275   if test "${ac_cv_path_mkdir+set}" = set; then
2276     MKDIR_P="$ac_cv_path_mkdir -p"
2277   else
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"
2284   fi
2285 fi
2286 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2287 $as_echo "$MKDIR_P" >&6; }
2288
2289 mkdir_p="$MKDIR_P"
2290 case $mkdir_p in
2291   [\\/$]* | ?:[\\/]*) ;;
2292   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2293 esac
2294
2295 for ac_prog in gawk mawk nawk awk
2296 do
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
2303 else
2304   if test -n "$AWK"; then
2305   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2309 do
2310   IFS=$as_save_IFS
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
2316     break 2
2317   fi
2318 done
2319 done
2320 IFS=$as_save_IFS
2321
2322 fi
2323 fi
2324 AWK=$ac_cv_prog_AWK
2325 if test -n "$AWK"; then
2326   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2327 $as_echo "$AWK" >&6; }
2328 else
2329   { $as_echo "$as_me:$LINENO: result: no" >&5
2330 $as_echo "no" >&6; }
2331 fi
2332
2333
2334   test -n "$AWK" && break
2335 done
2336
2337 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2338 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2339 set x ${MAKE-make}
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
2343 else
2344   cat >conftest.make <<\_ACEOF
2345 SHELL = /bin/sh
2346 all:
2347         @echo '@@@%%%=$(MAKE)=@@@%%%'
2348 _ACEOF
2349 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2350 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2351   *@@@%%%=?*=@@@%%%*)
2352     eval ac_cv_prog_make_${ac_make}_set=yes;;
2353   *)
2354     eval ac_cv_prog_make_${ac_make}_set=no;;
2355 esac
2356 rm -f conftest.make
2357 fi
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; }
2361   SET_MAKE=
2362 else
2363   { $as_echo "$as_me:$LINENO: result: no" >&5
2364 $as_echo "no" >&6; }
2365   SET_MAKE="MAKE=${MAKE-make}"
2366 fi
2367
2368 rm -rf .tst 2>/dev/null
2369 mkdir .tst 2>/dev/null
2370 if test -d .tst; then
2371   am__leading_dot=.
2372 else
2373   am__leading_dot=_
2374 fi
2375 rmdir .tst 2>/dev/null
2376
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; }; }
2386   fi
2387 fi
2388
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'
2393   else
2394     CYGPATH_W=echo
2395   fi
2396 fi
2397
2398
2399 # Define the identity of the package.
2400  PACKAGE='clustalw'
2401  VERSION='2.0.12'
2402
2403
2404 cat >>confdefs.h <<_ACEOF
2405 #define PACKAGE "$PACKAGE"
2406 _ACEOF
2407
2408
2409 cat >>confdefs.h <<_ACEOF
2410 #define VERSION "$VERSION"
2411 _ACEOF
2412
2413 # Some tools Automake needs.
2414
2415 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2416
2417
2418 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2419
2420
2421 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2422
2423
2424 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2425
2426
2427 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2428
2429 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2430
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
2443 else
2444   if test -n "$STRIP"; then
2445   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2446 else
2447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2448 for as_dir in $PATH
2449 do
2450   IFS=$as_save_IFS
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
2456     break 2
2457   fi
2458 done
2459 done
2460 IFS=$as_save_IFS
2461
2462 fi
2463 fi
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; }
2468 else
2469   { $as_echo "$as_me:$LINENO: result: no" >&5
2470 $as_echo "no" >&6; }
2471 fi
2472
2473
2474 fi
2475 if test -z "$ac_cv_prog_STRIP"; then
2476   ac_ct_STRIP=$STRIP
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
2483 else
2484   if test -n "$ac_ct_STRIP"; then
2485   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2486 else
2487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488 for as_dir in $PATH
2489 do
2490   IFS=$as_save_IFS
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
2496     break 2
2497   fi
2498 done
2499 done
2500 IFS=$as_save_IFS
2501
2502 fi
2503 fi
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; }
2508 else
2509   { $as_echo "$as_me:$LINENO: result: no" >&5
2510 $as_echo "no" >&6; }
2511 fi
2512
2513   if test "x$ac_ct_STRIP" = x; then
2514     STRIP=":"
2515   else
2516     case $cross_compiling:$ac_tool_warned in
2517 yes:)
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 ;;
2521 esac
2522     STRIP=$ac_ct_STRIP
2523   fi
2524 else
2525   STRIP="$ac_cv_prog_STRIP"
2526 fi
2527
2528 fi
2529 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2530
2531 # We need awk for the "check" target.  The system "awk" is bad on
2532 # some platforms.
2533 # Always define AMTAR for backward compatibility.
2534
2535 AMTAR=${AMTAR-"${am_missing_run}tar"}
2536
2537 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2538
2539
2540
2541
2542
2543
2544 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2545 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2546 set x ${MAKE-make}
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
2550 else
2551   cat >conftest.make <<\_ACEOF
2552 SHELL = /bin/sh
2553 all:
2554         @echo '@@@%%%=$(MAKE)=@@@%%%'
2555 _ACEOF
2556 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2557 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2558   *@@@%%%=?*=@@@%%%*)
2559     eval ac_cv_prog_make_${ac_make}_set=yes;;
2560   *)
2561     eval ac_cv_prog_make_${ac_make}_set=no;;
2562 esac
2563 rm -f conftest.make
2564 fi
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; }
2568   SET_MAKE=
2569 else
2570   { $as_echo "$as_me:$LINENO: result: no" >&5
2571 $as_echo "no" >&6; }
2572   SET_MAKE="MAKE=${MAKE-make}"
2573 fi
2574
2575
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.
2578 ac_ext=c
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
2590 else
2591   if test -n "$CC"; then
2592   ac_cv_prog_CC="$CC" # Let the user override the test.
2593 else
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 for as_dir in $PATH
2596 do
2597   IFS=$as_save_IFS
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
2603     break 2
2604   fi
2605 done
2606 done
2607 IFS=$as_save_IFS
2608
2609 fi
2610 fi
2611 CC=$ac_cv_prog_CC
2612 if test -n "$CC"; then
2613   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2614 $as_echo "$CC" >&6; }
2615 else
2616   { $as_echo "$as_me:$LINENO: result: no" >&5
2617 $as_echo "no" >&6; }
2618 fi
2619
2620
2621 fi
2622 if test -z "$ac_cv_prog_CC"; then
2623   ac_ct_CC=$CC
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
2630 else
2631   if test -n "$ac_ct_CC"; then
2632   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2633 else
2634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2635 for as_dir in $PATH
2636 do
2637   IFS=$as_save_IFS
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
2643     break 2
2644   fi
2645 done
2646 done
2647 IFS=$as_save_IFS
2648
2649 fi
2650 fi
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; }
2655 else
2656   { $as_echo "$as_me:$LINENO: result: no" >&5
2657 $as_echo "no" >&6; }
2658 fi
2659
2660   if test "x$ac_ct_CC" = x; then
2661     CC=""
2662   else
2663     case $cross_compiling:$ac_tool_warned in
2664 yes:)
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 ;;
2668 esac
2669     CC=$ac_ct_CC
2670   fi
2671 else
2672   CC="$ac_cv_prog_CC"
2673 fi
2674
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
2683 else
2684   if test -n "$CC"; then
2685   ac_cv_prog_CC="$CC" # Let the user override the test.
2686 else
2687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2688 for as_dir in $PATH
2689 do
2690   IFS=$as_save_IFS
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
2696     break 2
2697   fi
2698 done
2699 done
2700 IFS=$as_save_IFS
2701
2702 fi
2703 fi
2704 CC=$ac_cv_prog_CC
2705 if test -n "$CC"; then
2706   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2707 $as_echo "$CC" >&6; }
2708 else
2709   { $as_echo "$as_me:$LINENO: result: no" >&5
2710 $as_echo "no" >&6; }
2711 fi
2712
2713
2714   fi
2715 fi
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
2723 else
2724   if test -n "$CC"; then
2725   ac_cv_prog_CC="$CC" # Let the user override the test.
2726 else
2727   ac_prog_rejected=no
2728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2729 for as_dir in $PATH
2730 do
2731   IFS=$as_save_IFS
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
2737        continue
2738      fi
2739     ac_cv_prog_CC="cc"
2740     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2741     break 2
2742   fi
2743 done
2744 done
2745 IFS=$as_save_IFS
2746
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
2750   shift
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.
2755     shift
2756     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2757   fi
2758 fi
2759 fi
2760 fi
2761 CC=$ac_cv_prog_CC
2762 if test -n "$CC"; then
2763   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2764 $as_echo "$CC" >&6; }
2765 else
2766   { $as_echo "$as_me:$LINENO: result: no" >&5
2767 $as_echo "no" >&6; }
2768 fi
2769
2770
2771 fi
2772 if test -z "$CC"; then
2773   if test -n "$ac_tool_prefix"; then
2774   for ac_prog in cl.exe
2775   do
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
2782 else
2783   if test -n "$CC"; then
2784   ac_cv_prog_CC="$CC" # Let the user override the test.
2785 else
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 for as_dir in $PATH
2788 do
2789   IFS=$as_save_IFS
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
2795     break 2
2796   fi
2797 done
2798 done
2799 IFS=$as_save_IFS
2800
2801 fi
2802 fi
2803 CC=$ac_cv_prog_CC
2804 if test -n "$CC"; then
2805   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2806 $as_echo "$CC" >&6; }
2807 else
2808   { $as_echo "$as_me:$LINENO: result: no" >&5
2809 $as_echo "no" >&6; }
2810 fi
2811
2812
2813     test -n "$CC" && break
2814   done
2815 fi
2816 if test -z "$CC"; then
2817   ac_ct_CC=$CC
2818   for ac_prog in cl.exe
2819 do
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
2826 else
2827   if test -n "$ac_ct_CC"; then
2828   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2829 else
2830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2831 for as_dir in $PATH
2832 do
2833   IFS=$as_save_IFS
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
2839     break 2
2840   fi
2841 done
2842 done
2843 IFS=$as_save_IFS
2844
2845 fi
2846 fi
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; }
2851 else
2852   { $as_echo "$as_me:$LINENO: result: no" >&5
2853 $as_echo "no" >&6; }
2854 fi
2855
2856
2857   test -n "$ac_ct_CC" && break
2858 done
2859
2860   if test "x$ac_ct_CC" = x; then
2861     CC=""
2862   else
2863     case $cross_compiling:$ac_tool_warned in
2864 yes:)
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 ;;
2868 esac
2869     CC=$ac_ct_CC
2870   fi
2871 fi
2872
2873 fi
2874
2875
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; }; }; }
2883
2884 # Provide some information about the compiler.
2885 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2886 set X $ac_compile
2887 ac_compiler=$2
2888 { (ac_try="$ac_compiler --version >&5"
2889 case "(($ac_try" in
2890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2891   *) ac_try_echo=$ac_try;;
2892 esac
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
2896   ac_status=$?
2897   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898   (exit $ac_status); }
2899 { (ac_try="$ac_compiler -v >&5"
2900 case "(($ac_try" in
2901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902   *) ac_try_echo=$ac_try;;
2903 esac
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
2907   ac_status=$?
2908   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909   (exit $ac_status); }
2910 { (ac_try="$ac_compiler -V >&5"
2911 case "(($ac_try" in
2912   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2913   *) ac_try_echo=$ac_try;;
2914 esac
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
2918   ac_status=$?
2919   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920   (exit $ac_status); }
2921
2922 cat >conftest.$ac_ext <<_ACEOF
2923 /* confdefs.h.  */
2924 _ACEOF
2925 cat confdefs.h >>conftest.$ac_ext
2926 cat >>conftest.$ac_ext <<_ACEOF
2927 /* end confdefs.h.  */
2928
2929 int
2930 main ()
2931 {
2932
2933   ;
2934   return 0;
2935 }
2936 _ACEOF
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
2941 # of exeext.
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[^ ]*//'`
2945
2946 # The possible output files:
2947 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2948
2949 ac_rmfiles=
2950 for ac_file in $ac_files
2951 do
2952   case $ac_file in
2953     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2954     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2955   esac
2956 done
2957 rm -f $ac_rmfiles
2958
2959 if { (ac_try="$ac_link_default"
2960 case "(($ac_try" in
2961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2962   *) ac_try_echo=$ac_try;;
2963 esac
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
2967   ac_status=$?
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
2974 # Autoconf.
2975 for ac_file in $ac_files ''
2976 do
2977   test -f "$ac_file" || continue
2978   case $ac_file in
2979     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2980         ;;
2981     [ab].out )
2982         # We found the default executable, but exeext='' is most
2983         # certainly right.
2984         break;;
2985     *.* )
2986         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2987         then :; else
2988            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2989         fi
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
2994         # actually working.
2995         break;;
2996     * )
2997         break;;
2998   esac
2999 done
3000 test "$ac_cv_exeext" = no && ac_cv_exeext=
3001
3002 else
3003   ac_file=''
3004 fi
3005
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
3011
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; }; }; }
3019 fi
3020
3021 ac_exeext=$ac_cv_exeext
3022
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;;
3034 esac
3035 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3036 $as_echo "$ac_try_echo") >&5
3037   (eval "$ac_try") 2>&5
3038   ac_status=$?
3039   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040   (exit $ac_status); }; }; then
3041     cross_compiling=no
3042   else
3043     if test "$cross_compiling" = maybe; then
3044         cross_compiling=yes
3045     else
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; }; }; }
3055     fi
3056   fi
3057 fi
3058 { $as_echo "$as_me:$LINENO: result: yes" >&5
3059 $as_echo "yes" >&6; }
3060
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; }
3069
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"
3073 case "(($ac_try" in
3074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3075   *) ac_try_echo=$ac_try;;
3076 esac
3077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3078 $as_echo "$ac_try_echo") >&5
3079   (eval "$ac_link") 2>&5
3080   ac_status=$?
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
3086 # `rm'.
3087 for ac_file in conftest.exe conftest conftest.*; do
3088   test -f "$ac_file" || continue
3089   case $ac_file in
3090     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3091     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3092           break;;
3093     * ) break;;
3094   esac
3095 done
3096 else
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; }; }; }
3104 fi
3105
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; }
3109
3110 rm -f conftest.$ac_ext
3111 EXEEXT=$ac_cv_exeext
3112 ac_exeext=$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
3117 else
3118   cat >conftest.$ac_ext <<_ACEOF
3119 /* confdefs.h.  */
3120 _ACEOF
3121 cat confdefs.h >>conftest.$ac_ext
3122 cat >>conftest.$ac_ext <<_ACEOF
3123 /* end confdefs.h.  */
3124
3125 int
3126 main ()
3127 {
3128
3129   ;
3130   return 0;
3131 }
3132 _ACEOF
3133 rm -f conftest.o conftest.obj
3134 if { (ac_try="$ac_compile"
3135 case "(($ac_try" in
3136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137   *) ac_try_echo=$ac_try;;
3138 esac
3139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3140 $as_echo "$ac_try_echo") >&5
3141   (eval "$ac_compile") 2>&5
3142   ac_status=$?
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;
3147   case $ac_file in
3148     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3149     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3150        break;;
3151   esac
3152 done
3153 else
3154   $as_echo "$as_me: failed program was:" >&5
3155 sed 's/^/| /' conftest.$ac_ext >&5
3156
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; }; }; }
3164 fi
3165
3166 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3167 fi
3168 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3169 $as_echo "$ac_cv_objext" >&6; }
3170 OBJEXT=$ac_cv_objext
3171 ac_objext=$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
3176 else
3177   cat >conftest.$ac_ext <<_ACEOF
3178 /* confdefs.h.  */
3179 _ACEOF
3180 cat confdefs.h >>conftest.$ac_ext
3181 cat >>conftest.$ac_ext <<_ACEOF
3182 /* end confdefs.h.  */
3183
3184 int
3185 main ()
3186 {
3187 #ifndef __GNUC__
3188        choke me
3189 #endif
3190
3191   ;
3192   return 0;
3193 }
3194 _ACEOF
3195 rm -f conftest.$ac_objext
3196 if { (ac_try="$ac_compile"
3197 case "(($ac_try" in
3198   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3199   *) ac_try_echo=$ac_try;;
3200 esac
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
3204   ac_status=$?
3205   grep -v '^ *+' conftest.er1 >conftest.err
3206   rm -f conftest.er1
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
3213   ac_compiler_gnu=yes
3214 else
3215   $as_echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3217
3218         ac_compiler_gnu=no
3219 fi
3220
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3223
3224 fi
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
3228   GCC=yes
3229 else
3230   GCC=
3231 fi
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
3238 else
3239   ac_save_c_werror_flag=$ac_c_werror_flag
3240    ac_c_werror_flag=yes
3241    ac_cv_prog_cc_g=no
3242    CFLAGS="-g"
3243    cat >conftest.$ac_ext <<_ACEOF
3244 /* confdefs.h.  */
3245 _ACEOF
3246 cat confdefs.h >>conftest.$ac_ext
3247 cat >>conftest.$ac_ext <<_ACEOF
3248 /* end confdefs.h.  */
3249
3250 int
3251 main ()
3252 {
3253
3254   ;
3255   return 0;
3256 }
3257 _ACEOF
3258 rm -f conftest.$ac_objext
3259 if { (ac_try="$ac_compile"
3260 case "(($ac_try" in
3261   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3262   *) ac_try_echo=$ac_try;;
3263 esac
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
3267   ac_status=$?
3268   grep -v '^ *+' conftest.er1 >conftest.err
3269   rm -f conftest.er1
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
3276   ac_cv_prog_cc_g=yes
3277 else
3278   $as_echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.$ac_ext >&5
3280
3281         CFLAGS=""
3282       cat >conftest.$ac_ext <<_ACEOF
3283 /* confdefs.h.  */
3284 _ACEOF
3285 cat confdefs.h >>conftest.$ac_ext
3286 cat >>conftest.$ac_ext <<_ACEOF
3287 /* end confdefs.h.  */
3288
3289 int
3290 main ()
3291 {
3292
3293   ;
3294   return 0;
3295 }
3296 _ACEOF
3297 rm -f conftest.$ac_objext
3298 if { (ac_try="$ac_compile"
3299 case "(($ac_try" in
3300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301   *) ac_try_echo=$ac_try;;
3302 esac
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
3306   ac_status=$?
3307   grep -v '^ *+' conftest.er1 >conftest.err
3308   rm -f conftest.er1
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
3315   :
3316 else
3317   $as_echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3319
3320         ac_c_werror_flag=$ac_save_c_werror_flag
3321          CFLAGS="-g"
3322          cat >conftest.$ac_ext <<_ACEOF
3323 /* confdefs.h.  */
3324 _ACEOF
3325 cat confdefs.h >>conftest.$ac_ext
3326 cat >>conftest.$ac_ext <<_ACEOF
3327 /* end confdefs.h.  */
3328
3329 int
3330 main ()
3331 {
3332
3333   ;
3334   return 0;
3335 }
3336 _ACEOF
3337 rm -f conftest.$ac_objext
3338 if { (ac_try="$ac_compile"
3339 case "(($ac_try" in
3340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3341   *) ac_try_echo=$ac_try;;
3342 esac
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
3346   ac_status=$?
3347   grep -v '^ *+' conftest.er1 >conftest.err
3348   rm -f conftest.er1
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
3355   ac_cv_prog_cc_g=yes
3356 else
3357   $as_echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.$ac_ext >&5
3359
3360
3361 fi
3362
3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364 fi
3365
3366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 fi
3368
3369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370    ac_c_werror_flag=$ac_save_c_werror_flag
3371 fi
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
3378     CFLAGS="-g -O2"
3379   else
3380     CFLAGS="-g"
3381   fi
3382 else
3383   if test "$GCC" = yes; then
3384     CFLAGS="-O2"
3385   else
3386     CFLAGS=
3387   fi
3388 fi
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
3393 else
3394   ac_cv_prog_cc_c89=no
3395 ac_save_CC=$CC
3396 cat >conftest.$ac_ext <<_ACEOF
3397 /* confdefs.h.  */
3398 _ACEOF
3399 cat confdefs.h >>conftest.$ac_ext
3400 cat >>conftest.$ac_ext <<_ACEOF
3401 /* end confdefs.h.  */
3402 #include <stdarg.h>
3403 #include <stdio.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)
3410      char **p;
3411      int i;
3412 {
3413   return p[i];
3414 }
3415 static char *f (char * (*g) (char **, int), char **p, ...)
3416 {
3417   char *s;
3418   va_list v;
3419   va_start (v,p);
3420   s = g (p, va_arg (v,int));
3421   va_end (v);
3422   return s;
3423 }
3424
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];
3433
3434 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3435    inside strings and character constants.  */
3436 #define FOO(x) 'x'
3437 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3438
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);
3443 int argc;
3444 char **argv;
3445 int
3446 main ()
3447 {
3448 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3449   ;
3450   return 0;
3451 }
3452 _ACEOF
3453 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3454         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3455 do
3456   CC="$ac_save_CC $ac_arg"
3457   rm -f conftest.$ac_objext
3458 if { (ac_try="$ac_compile"
3459 case "(($ac_try" in
3460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3461   *) ac_try_echo=$ac_try;;
3462 esac
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
3466   ac_status=$?
3467   grep -v '^ *+' conftest.er1 >conftest.err
3468   rm -f conftest.er1
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
3476 else
3477   $as_echo "$as_me: failed program was:" >&5
3478 sed 's/^/| /' conftest.$ac_ext >&5
3479
3480
3481 fi
3482
3483 rm -f core conftest.err conftest.$ac_objext
3484   test "x$ac_cv_prog_cc_c89" != "xno" && break
3485 done
3486 rm -f conftest.$ac_ext
3487 CC=$ac_save_CC
3488
3489 fi
3490 # AC_CACHE_VAL
3491 case "x$ac_cv_prog_cc_c89" in
3492   x)
3493     { $as_echo "$as_me:$LINENO: result: none needed" >&5
3494 $as_echo "none needed" >&6; } ;;
3495   xno)
3496     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3497 $as_echo "unsupported" >&6; } ;;
3498   *)
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; } ;;
3502 esac
3503
3504
3505 ac_ext=c
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"
3511
3512 ac_config_commands="$ac_config_commands depfiles"
3513
3514
3515 am_make=${MAKE-make}
3516 cat > confinc << 'END'
3517 am__doit:
3518         @echo done
3519 .PHONY: am__doit
3520 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; }
3524 am__include="#"
3525 am__quote=
3526 _am_result=none
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
3535    am__include=include
3536    am__quote=
3537    _am_result=GNU
3538 fi
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
3544       am__quote="\""
3545       _am_result=BSD
3546    fi
3547 fi
3548
3549
3550 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3551 $as_echo "$_am_result" >&6; }
3552 rm -f confinc confmf
3553
3554 # Check whether --enable-dependency-tracking was given.
3555 if test "${enable_dependency_tracking+set}" = set; then
3556   enableval=$enable_dependency_tracking;
3557 fi
3558
3559 if test "x$enable_dependency_tracking" != xno; then
3560   am_depcomp="$ac_aux_dir/depcomp"
3561   AMDEPBACKSLASH='\'
3562 fi
3563  if test "x$enable_dependency_tracking" != xno; then
3564   AMDEP_TRUE=
3565   AMDEP_FALSE='#'
3566 else
3567   AMDEP_TRUE='#'
3568   AMDEP_FALSE=
3569 fi
3570
3571
3572
3573 depcc="$CC"   am_compiler_list=
3574
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
3579 else
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
3585   # in D'.
3586   mkdir conftest.dir
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
3590   cd 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
3596   # directory.
3597   mkdir sub
3598
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`
3602   fi
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.
3607     #
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.
3611     : > sub/conftest.c
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
3617     done
3618     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3619
3620     case $depmode in
3621     nosideeffect)
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
3625         continue
3626       else
3627         break
3628       fi
3629       ;;
3630     none) break ;;
3631     esac
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
3654         break
3655       fi
3656     fi
3657   done
3658
3659   cd ..
3660   rm -rf conftest.dir
3661 else
3662   am_cv_CC_dependencies_compiler_type=none
3663 fi
3664
3665 fi
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
3669
3670  if
3671   test "x$enable_dependency_tracking" != xno \
3672   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3673   am__fastdepCC_TRUE=
3674   am__fastdepCC_FALSE='#'
3675 else
3676   am__fastdepCC_TRUE='#'
3677   am__fastdepCC_FALSE=
3678 fi
3679
3680
3681 ac_ext=cpp
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
3688     CXX=$CCC
3689   else
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
3692   do
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
3699 else
3700   if test -n "$CXX"; then
3701   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3702 else
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3704 for as_dir in $PATH
3705 do
3706   IFS=$as_save_IFS
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
3712     break 2
3713   fi
3714 done
3715 done
3716 IFS=$as_save_IFS
3717
3718 fi
3719 fi
3720 CXX=$ac_cv_prog_CXX
3721 if test -n "$CXX"; then
3722   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3723 $as_echo "$CXX" >&6; }
3724 else
3725   { $as_echo "$as_me:$LINENO: result: no" >&5
3726 $as_echo "no" >&6; }
3727 fi
3728
3729
3730     test -n "$CXX" && break
3731   done
3732 fi
3733 if test -z "$CXX"; then
3734   ac_ct_CXX=$CXX
3735   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3736 do
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
3743 else
3744   if test -n "$ac_ct_CXX"; then
3745   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3746 else
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3748 for as_dir in $PATH
3749 do
3750   IFS=$as_save_IFS
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
3756     break 2
3757   fi
3758 done
3759 done
3760 IFS=$as_save_IFS
3761
3762 fi
3763 fi
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; }
3768 else
3769   { $as_echo "$as_me:$LINENO: result: no" >&5
3770 $as_echo "no" >&6; }
3771 fi
3772
3773
3774   test -n "$ac_ct_CXX" && break
3775 done
3776
3777   if test "x$ac_ct_CXX" = x; then
3778     CXX="g++"
3779   else
3780     case $cross_compiling:$ac_tool_warned in
3781 yes:)
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 ;;
3785 esac
3786     CXX=$ac_ct_CXX
3787   fi
3788 fi
3789
3790   fi
3791 fi
3792 # Provide some information about the compiler.
3793 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3794 set X $ac_compile
3795 ac_compiler=$2
3796 { (ac_try="$ac_compiler --version >&5"
3797 case "(($ac_try" in
3798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3799   *) ac_try_echo=$ac_try;;
3800 esac
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
3804   ac_status=$?
3805   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806   (exit $ac_status); }
3807 { (ac_try="$ac_compiler -v >&5"
3808 case "(($ac_try" in
3809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3810   *) ac_try_echo=$ac_try;;
3811 esac
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
3815   ac_status=$?
3816   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817   (exit $ac_status); }
3818 { (ac_try="$ac_compiler -V >&5"
3819 case "(($ac_try" in
3820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3821   *) ac_try_echo=$ac_try;;
3822 esac
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
3826   ac_status=$?
3827   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3828   (exit $ac_status); }
3829
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
3834 else
3835   cat >conftest.$ac_ext <<_ACEOF
3836 /* confdefs.h.  */
3837 _ACEOF
3838 cat confdefs.h >>conftest.$ac_ext
3839 cat >>conftest.$ac_ext <<_ACEOF
3840 /* end confdefs.h.  */
3841
3842 int
3843 main ()
3844 {
3845 #ifndef __GNUC__
3846        choke me
3847 #endif
3848
3849   ;
3850   return 0;
3851 }
3852 _ACEOF
3853 rm -f conftest.$ac_objext
3854 if { (ac_try="$ac_compile"
3855 case "(($ac_try" in
3856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3857   *) ac_try_echo=$ac_try;;
3858 esac
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
3862   ac_status=$?
3863   grep -v '^ *+' conftest.er1 >conftest.err
3864   rm -f conftest.er1
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
3871   ac_compiler_gnu=yes
3872 else
3873   $as_echo "$as_me: failed program was:" >&5
3874 sed 's/^/| /' conftest.$ac_ext >&5
3875
3876         ac_compiler_gnu=no
3877 fi
3878
3879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3880 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3881
3882 fi
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
3886   GXX=yes
3887 else
3888   GXX=
3889 fi
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
3896 else
3897   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3898    ac_cxx_werror_flag=yes
3899    ac_cv_prog_cxx_g=no
3900    CXXFLAGS="-g"
3901    cat >conftest.$ac_ext <<_ACEOF
3902 /* confdefs.h.  */
3903 _ACEOF
3904 cat confdefs.h >>conftest.$ac_ext
3905 cat >>conftest.$ac_ext <<_ACEOF
3906 /* end confdefs.h.  */
3907
3908 int
3909 main ()
3910 {
3911
3912   ;
3913   return 0;
3914 }
3915 _ACEOF
3916 rm -f conftest.$ac_objext
3917 if { (ac_try="$ac_compile"
3918 case "(($ac_try" in
3919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3920   *) ac_try_echo=$ac_try;;
3921 esac
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
3925   ac_status=$?
3926   grep -v '^ *+' conftest.er1 >conftest.err
3927   rm -f conftest.er1
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
3935 else
3936   $as_echo "$as_me: failed program was:" >&5
3937 sed 's/^/| /' conftest.$ac_ext >&5
3938
3939         CXXFLAGS=""
3940       cat >conftest.$ac_ext <<_ACEOF
3941 /* confdefs.h.  */
3942 _ACEOF
3943 cat confdefs.h >>conftest.$ac_ext
3944 cat >>conftest.$ac_ext <<_ACEOF
3945 /* end confdefs.h.  */
3946
3947 int
3948 main ()
3949 {
3950
3951   ;
3952   return 0;
3953 }
3954 _ACEOF
3955 rm -f conftest.$ac_objext
3956 if { (ac_try="$ac_compile"
3957 case "(($ac_try" in
3958   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959   *) ac_try_echo=$ac_try;;
3960 esac
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
3964   ac_status=$?
3965   grep -v '^ *+' conftest.er1 >conftest.err
3966   rm -f conftest.er1
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
3973   :
3974 else
3975   $as_echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.$ac_ext >&5
3977
3978         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3979          CXXFLAGS="-g"
3980          cat >conftest.$ac_ext <<_ACEOF
3981 /* confdefs.h.  */
3982 _ACEOF
3983 cat confdefs.h >>conftest.$ac_ext
3984 cat >>conftest.$ac_ext <<_ACEOF
3985 /* end confdefs.h.  */
3986
3987 int
3988 main ()
3989 {
3990
3991   ;
3992   return 0;
3993 }
3994 _ACEOF
3995 rm -f conftest.$ac_objext
3996 if { (ac_try="$ac_compile"
3997 case "(($ac_try" in
3998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3999   *) ac_try_echo=$ac_try;;
4000 esac
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
4004   ac_status=$?
4005   grep -v '^ *+' conftest.er1 >conftest.err
4006   rm -f conftest.er1
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
4014 else
4015   $as_echo "$as_me: failed program was:" >&5
4016 sed 's/^/| /' conftest.$ac_ext >&5
4017
4018
4019 fi
4020
4021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4022 fi
4023
4024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4025 fi
4026
4027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4028    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4029 fi
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
4036     CXXFLAGS="-g -O2"
4037   else
4038     CXXFLAGS="-g"
4039   fi
4040 else
4041   if test "$GXX" = yes; then
4042     CXXFLAGS="-O2"
4043   else
4044     CXXFLAGS=
4045   fi
4046 fi
4047 ac_ext=c
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
4052
4053 depcc="$CXX"  am_compiler_list=
4054
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
4059 else
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
4065   # in D'.
4066   mkdir conftest.dir
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
4070   cd 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
4076   # directory.
4077   mkdir sub
4078
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`
4082   fi
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.
4087     #
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.
4091     : > sub/conftest.c
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
4097     done
4098     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4099
4100     case $depmode in
4101     nosideeffect)
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
4105         continue
4106       else
4107         break
4108       fi
4109       ;;
4110     none) break ;;
4111     esac
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
4134         break
4135       fi
4136     fi
4137   done
4138
4139   cd ..
4140   rm -rf conftest.dir
4141 else
4142   am_cv_CXX_dependencies_compiler_type=none
4143 fi
4144
4145 fi
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
4149
4150  if
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='#'
4155 else
4156   am__fastdepCXX_TRUE='#'
4157   am__fastdepCXX_FALSE=
4158 fi
4159
4160
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
4163 # the code.
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
4171 else
4172   if test -n "$RANLIB"; then
4173   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4174 else
4175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4176 for as_dir in $PATH
4177 do
4178   IFS=$as_save_IFS
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
4184     break 2
4185   fi
4186 done
4187 done
4188 IFS=$as_save_IFS
4189
4190 fi
4191 fi
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; }
4196 else
4197   { $as_echo "$as_me:$LINENO: result: no" >&5
4198 $as_echo "no" >&6; }
4199 fi
4200
4201
4202 fi
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
4211 else
4212   if test -n "$ac_ct_RANLIB"; then
4213   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4214 else
4215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4216 for as_dir in $PATH
4217 do
4218   IFS=$as_save_IFS
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
4224     break 2
4225   fi
4226 done
4227 done
4228 IFS=$as_save_IFS
4229
4230 fi
4231 fi
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; }
4236 else
4237   { $as_echo "$as_me:$LINENO: result: no" >&5
4238 $as_echo "no" >&6; }
4239 fi
4240
4241   if test "x$ac_ct_RANLIB" = x; then
4242     RANLIB=":"
4243   else
4244     case $cross_compiling:$ac_tool_warned in
4245 yes:)
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 ;;
4249 esac
4250     RANLIB=$ac_ct_RANLIB
4251   fi
4252 else
4253   RANLIB="$ac_cv_prog_RANLIB"
4254 fi
4255
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
4264 # AIX /bin/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
4277 else
4278   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4279 for as_dir in $PATH
4280 do
4281   IFS=$as_save_IFS
4282   test -z "$as_dir" && as_dir=.
4283   # Account for people who put trailing slashes in PATH elements.
4284 case $as_dir/ in
4285   ./ | .// | /cC/* | \
4286   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4287   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4288   /usr/ucb/* ) ;;
4289   *)
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
4292     # by default.
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.
4299             :
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.
4303             :
4304           else
4305             rm -rf conftest.one conftest.two conftest.dir
4306             echo one > conftest.one
4307             echo two > conftest.two
4308             mkdir conftest.dir
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
4313             then
4314               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4315               break 3
4316             fi
4317           fi
4318         fi
4319       done
4320     done
4321     ;;
4322 esac
4323
4324 done
4325 IFS=$as_save_IFS
4326
4327 rm -rf conftest.one conftest.two conftest.dir
4328
4329 fi
4330   if test "${ac_cv_path_install+set}" = set; then
4331     INSTALL=$ac_cv_path_install
4332   else
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
4338   fi
4339 fi
4340 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4341 $as_echo "$INSTALL" >&6; }
4342
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}'
4346
4347 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4348
4349 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4350
4351
4352 # use C++ compiler and linker
4353 ac_ext=cpp
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
4358
4359
4360
4361 # Checks for header files.
4362
4363 ac_ext=cpp
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
4373 else
4374       # Double quotes because CXXCPP needs to be expanded
4375     for CXXCPP in "$CXX -E" "/lib/cpp"
4376     do
4377       ac_preproc_ok=false
4378 for ac_cxx_preproc_warn_flag in '' yes
4379 do
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
4387 /* confdefs.h.  */
4388 _ACEOF
4389 cat confdefs.h >>conftest.$ac_ext
4390 cat >>conftest.$ac_ext <<_ACEOF
4391 /* end confdefs.h.  */
4392 #ifdef __STDC__
4393 # include <limits.h>
4394 #else
4395 # include <assert.h>
4396 #endif
4397                      Syntax error
4398 _ACEOF
4399 if { (ac_try="$ac_cpp conftest.$ac_ext"
4400 case "(($ac_try" in
4401   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4402   *) ac_try_echo=$ac_try;;
4403 esac
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
4407   ac_status=$?
4408   grep -v '^ *+' conftest.er1 >conftest.err
4409   rm -f conftest.er1
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
4415        }; then
4416   :
4417 else
4418   $as_echo "$as_me: failed program was:" >&5
4419 sed 's/^/| /' conftest.$ac_ext >&5
4420
4421   # Broken: fails on valid input.
4422 continue
4423 fi
4424
4425 rm -f conftest.err conftest.$ac_ext
4426
4427   # OK, works on sane cases.  Now check whether nonexistent headers
4428   # can be detected and how.
4429   cat >conftest.$ac_ext <<_ACEOF
4430 /* confdefs.h.  */
4431 _ACEOF
4432 cat confdefs.h >>conftest.$ac_ext
4433 cat >>conftest.$ac_ext <<_ACEOF
4434 /* end confdefs.h.  */
4435 #include <ac_nonexistent.h>
4436 _ACEOF
4437 if { (ac_try="$ac_cpp conftest.$ac_ext"
4438 case "(($ac_try" in
4439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4440   *) ac_try_echo=$ac_try;;
4441 esac
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
4445   ac_status=$?
4446   grep -v '^ *+' conftest.er1 >conftest.err
4447   rm -f conftest.er1
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
4453        }; then
4454   # Broken: success on invalid input.
4455 continue
4456 else
4457   $as_echo "$as_me: failed program was:" >&5
4458 sed 's/^/| /' conftest.$ac_ext >&5
4459
4460   # Passes both tests.
4461 ac_preproc_ok=:
4462 break
4463 fi
4464
4465 rm -f conftest.err conftest.$ac_ext
4466
4467 done
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
4471   break
4472 fi
4473
4474     done
4475     ac_cv_prog_CXXCPP=$CXXCPP
4476
4477 fi
4478   CXXCPP=$ac_cv_prog_CXXCPP
4479 else
4480   ac_cv_prog_CXXCPP=$CXXCPP
4481 fi
4482 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
4483 $as_echo "$CXXCPP" >&6; }
4484 ac_preproc_ok=false
4485 for ac_cxx_preproc_warn_flag in '' yes
4486 do
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
4494 /* confdefs.h.  */
4495 _ACEOF
4496 cat confdefs.h >>conftest.$ac_ext
4497 cat >>conftest.$ac_ext <<_ACEOF
4498 /* end confdefs.h.  */
4499 #ifdef __STDC__
4500 # include <limits.h>
4501 #else
4502 # include <assert.h>
4503 #endif
4504                      Syntax error
4505 _ACEOF
4506 if { (ac_try="$ac_cpp conftest.$ac_ext"
4507 case "(($ac_try" in
4508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4509   *) ac_try_echo=$ac_try;;
4510 esac
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
4514   ac_status=$?
4515   grep -v '^ *+' conftest.er1 >conftest.err
4516   rm -f conftest.er1
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
4522        }; then
4523   :
4524 else
4525   $as_echo "$as_me: failed program was:" >&5
4526 sed 's/^/| /' conftest.$ac_ext >&5
4527
4528   # Broken: fails on valid input.
4529 continue
4530 fi
4531
4532 rm -f conftest.err conftest.$ac_ext
4533
4534   # OK, works on sane cases.  Now check whether nonexistent headers
4535   # can be detected and how.
4536   cat >conftest.$ac_ext <<_ACEOF
4537 /* confdefs.h.  */
4538 _ACEOF
4539 cat confdefs.h >>conftest.$ac_ext
4540 cat >>conftest.$ac_ext <<_ACEOF
4541 /* end confdefs.h.  */
4542 #include <ac_nonexistent.h>
4543 _ACEOF
4544 if { (ac_try="$ac_cpp conftest.$ac_ext"
4545 case "(($ac_try" in
4546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4547   *) ac_try_echo=$ac_try;;
4548 esac
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
4552   ac_status=$?
4553   grep -v '^ *+' conftest.er1 >conftest.err
4554   rm -f conftest.er1
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
4560        }; then
4561   # Broken: success on invalid input.
4562 continue
4563 else
4564   $as_echo "$as_me: failed program was:" >&5
4565 sed 's/^/| /' conftest.$ac_ext >&5
4566
4567   # Passes both tests.
4568 ac_preproc_ok=:
4569 break
4570 fi
4571
4572 rm -f conftest.err conftest.$ac_ext
4573
4574 done
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
4578   :
4579 else
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; }; }; }
4587 fi
4588
4589 ac_ext=cpp
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
4594
4595
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
4600 else
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
4606 do
4607   IFS=$as_save_IFS
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
4616 *GNU*)
4617   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4618 *)
4619   ac_count=0
4620   $as_echo_n 0123456789 >"conftest.in"
4621   while :
4622   do
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
4634     fi
4635     # 10*(2^10) chars as input seems more than enough
4636     test $ac_count -gt 10 && break
4637   done
4638   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4639 esac
4640
4641       $ac_path_GREP_found && break 3
4642     done
4643   done
4644 done
4645 IFS=$as_save_IFS
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; }; }
4650   fi
4651 else
4652   ac_cv_path_GREP=$GREP
4653 fi
4654
4655 fi
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"
4659
4660
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
4665 else
4666   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4667    then ac_cv_path_EGREP="$GREP -E"
4668    else
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
4674 do
4675   IFS=$as_save_IFS
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
4684 *GNU*)
4685   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4686 *)
4687   ac_count=0
4688   $as_echo_n 0123456789 >"conftest.in"
4689   while :
4690   do
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
4702     fi
4703     # 10*(2^10) chars as input seems more than enough
4704     test $ac_count -gt 10 && break
4705   done
4706   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4707 esac
4708
4709       $ac_path_EGREP_found && break 3
4710     done
4711   done
4712 done
4713 IFS=$as_save_IFS
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; }; }
4718   fi
4719 else
4720   ac_cv_path_EGREP=$EGREP
4721 fi
4722
4723    fi
4724 fi
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"
4728
4729
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
4734 else
4735   cat >conftest.$ac_ext <<_ACEOF
4736 /* confdefs.h.  */
4737 _ACEOF
4738 cat confdefs.h >>conftest.$ac_ext
4739 cat >>conftest.$ac_ext <<_ACEOF
4740 /* end confdefs.h.  */
4741 #include <stdlib.h>
4742 #include <stdarg.h>
4743 #include <string.h>
4744 #include <float.h>
4745
4746 int
4747 main ()
4748 {
4749
4750   ;
4751   return 0;
4752 }
4753 _ACEOF
4754 rm -f conftest.$ac_objext
4755 if { (ac_try="$ac_compile"
4756 case "(($ac_try" in
4757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758   *) ac_try_echo=$ac_try;;
4759 esac
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
4763   ac_status=$?
4764   grep -v '^ *+' conftest.er1 >conftest.err
4765   rm -f conftest.er1
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
4773 else
4774   $as_echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.$ac_ext >&5
4776
4777         ac_cv_header_stdc=no
4778 fi
4779
4780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4781
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
4785 /* confdefs.h.  */
4786 _ACEOF
4787 cat confdefs.h >>conftest.$ac_ext
4788 cat >>conftest.$ac_ext <<_ACEOF
4789 /* end confdefs.h.  */
4790 #include <string.h>
4791
4792 _ACEOF
4793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4794   $EGREP "memchr" >/dev/null 2>&1; then
4795   :
4796 else
4797   ac_cv_header_stdc=no
4798 fi
4799 rm -f conftest*
4800
4801 fi
4802
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
4806 /* confdefs.h.  */
4807 _ACEOF
4808 cat confdefs.h >>conftest.$ac_ext
4809 cat >>conftest.$ac_ext <<_ACEOF
4810 /* end confdefs.h.  */
4811 #include <stdlib.h>
4812
4813 _ACEOF
4814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4815   $EGREP "free" >/dev/null 2>&1; then
4816   :
4817 else
4818   ac_cv_header_stdc=no
4819 fi
4820 rm -f conftest*
4821
4822 fi
4823
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
4827   :
4828 else
4829   cat >conftest.$ac_ext <<_ACEOF
4830 /* confdefs.h.  */
4831 _ACEOF
4832 cat confdefs.h >>conftest.$ac_ext
4833 cat >>conftest.$ac_ext <<_ACEOF
4834 /* end confdefs.h.  */
4835 #include <ctype.h>
4836 #include <stdlib.h>
4837 #if ((' ' & 0x0FF) == 0x020)
4838 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4839 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4840 #else
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))
4846 #endif
4847
4848 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4849 int
4850 main ()
4851 {
4852   int i;
4853   for (i = 0; i < 256; i++)
4854     if (XOR (islower (i), ISLOWER (i))
4855         || toupper (i) != TOUPPER (i))
4856       return 2;
4857   return 0;
4858 }
4859 _ACEOF
4860 rm -f conftest$ac_exeext
4861 if { (ac_try="$ac_link"
4862 case "(($ac_try" in
4863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4864   *) ac_try_echo=$ac_try;;
4865 esac
4866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4867 $as_echo "$ac_try_echo") >&5
4868   (eval "$ac_link") 2>&5
4869   ac_status=$?
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;;
4875 esac
4876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4877 $as_echo "$ac_try_echo") >&5
4878   (eval "$ac_try") 2>&5
4879   ac_status=$?
4880   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881   (exit $ac_status); }; }; then
4882   :
4883 else
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
4887
4888 ( exit $ac_status )
4889 ac_cv_header_stdc=no
4890 fi
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
4893 fi
4894
4895
4896 fi
4897 fi
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
4901
4902 cat >>confdefs.h <<\_ACEOF
4903 #define STDC_HEADERS 1
4904 _ACEOF
4905
4906 fi
4907
4908 # AC_CHECK_HEADERS([a.h b.h])
4909
4910 # Checks for typedefs, structures, and compiler characteristics.
4911 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4912
4913
4914
4915
4916
4917
4918
4919
4920
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
4923 do
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
4929 else
4930   cat >conftest.$ac_ext <<_ACEOF
4931 /* confdefs.h.  */
4932 _ACEOF
4933 cat confdefs.h >>conftest.$ac_ext
4934 cat >>conftest.$ac_ext <<_ACEOF
4935 /* end confdefs.h.  */
4936 $ac_includes_default
4937
4938 #include <$ac_header>
4939 _ACEOF
4940 rm -f conftest.$ac_objext
4941 if { (ac_try="$ac_compile"
4942 case "(($ac_try" in
4943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4944   *) ac_try_echo=$ac_try;;
4945 esac
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
4949   ac_status=$?
4950   grep -v '^ *+' conftest.er1 >conftest.err
4951   rm -f conftest.er1
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"
4959 else
4960   $as_echo "$as_me: failed program was:" >&5
4961 sed 's/^/| /' conftest.$ac_ext >&5
4962
4963         eval "$as_ac_Header=no"
4964 fi
4965
4966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4967 fi
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
4977 _ACEOF
4978
4979 fi
4980
4981 done
4982
4983
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
4988 else
4989   cat >conftest.$ac_ext <<_ACEOF
4990 /* confdefs.h.  */
4991 _ACEOF
4992 cat confdefs.h >>conftest.$ac_ext
4993 cat >>conftest.$ac_ext <<_ACEOF
4994 /* end confdefs.h.  */
4995
4996 #include <stdbool.h>
4997 #ifndef bool
4998  "error: bool is not defined"
4999 #endif
5000 #ifndef false
5001  "error: false is not defined"
5002 #endif
5003 #if false
5004  "error: false is not 0"
5005 #endif
5006 #ifndef true
5007  "error: true is not defined"
5008 #endif
5009 #if true != 1
5010  "error: true is not 1"
5011 #endif
5012 #ifndef __bool_true_false_are_defined
5013  "error: __bool_true_false_are_defined is not defined"
5014 #endif
5015
5016         struct s { _Bool s: 1; _Bool t; } s;
5017
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];
5022         bool e = &s;
5023         char f[(_Bool) 0.0 == false ? 1 : -1];
5024         char g[true];
5025         char h[sizeof (_Bool)];
5026         char i[sizeof s.t];
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]. */
5030         _Bool n[m];
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
5048             future.  */
5049          char digs[] = "0123456789";
5050          int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
5051 #       endif
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
5055          */
5056         _Bool q = true;
5057         _Bool *pq = &q;
5058
5059 int
5060 main ()
5061 {
5062
5063         *pq |= q;
5064         *pq |= ! q;
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);
5068
5069   ;
5070   return 0;
5071 }
5072 _ACEOF
5073 rm -f conftest.$ac_objext
5074 if { (ac_try="$ac_compile"
5075 case "(($ac_try" in
5076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5077   *) ac_try_echo=$ac_try;;
5078 esac
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
5082   ac_status=$?
5083   grep -v '^ *+' conftest.er1 >conftest.err
5084   rm -f conftest.er1
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
5092 else
5093   $as_echo "$as_me: failed program was:" >&5
5094 sed 's/^/| /' conftest.$ac_ext >&5
5095
5096         ac_cv_header_stdbool_h=no
5097 fi
5098
5099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5100 fi
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
5107 else
5108   ac_cv_type__Bool=no
5109 cat >conftest.$ac_ext <<_ACEOF
5110 /* confdefs.h.  */
5111 _ACEOF
5112 cat confdefs.h >>conftest.$ac_ext
5113 cat >>conftest.$ac_ext <<_ACEOF
5114 /* end confdefs.h.  */
5115 $ac_includes_default
5116 int
5117 main ()
5118 {
5119 if (sizeof (_Bool))
5120        return 0;
5121   ;
5122   return 0;
5123 }
5124 _ACEOF
5125 rm -f conftest.$ac_objext
5126 if { (ac_try="$ac_compile"
5127 case "(($ac_try" in
5128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5129   *) ac_try_echo=$ac_try;;
5130 esac
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
5134   ac_status=$?
5135   grep -v '^ *+' conftest.er1 >conftest.err
5136   rm -f conftest.er1
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
5144 /* confdefs.h.  */
5145 _ACEOF
5146 cat confdefs.h >>conftest.$ac_ext
5147 cat >>conftest.$ac_ext <<_ACEOF
5148 /* end confdefs.h.  */
5149 $ac_includes_default
5150 int
5151 main ()
5152 {
5153 if (sizeof ((_Bool)))
5154           return 0;
5155   ;
5156   return 0;
5157 }
5158 _ACEOF
5159 rm -f conftest.$ac_objext
5160 if { (ac_try="$ac_compile"
5161 case "(($ac_try" in
5162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5163   *) ac_try_echo=$ac_try;;
5164 esac
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
5168   ac_status=$?
5169   grep -v '^ *+' conftest.er1 >conftest.err
5170   rm -f conftest.er1
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
5177   :
5178 else
5179   $as_echo "$as_me: failed program was:" >&5
5180 sed 's/^/| /' conftest.$ac_ext >&5
5181
5182         ac_cv_type__Bool=yes
5183 fi
5184
5185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5186 else
5187   $as_echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.$ac_ext >&5
5189
5190
5191 fi
5192
5193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5194 fi
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
5198
5199 cat >>confdefs.h <<_ACEOF
5200 #define HAVE__BOOL 1
5201 _ACEOF
5202
5203
5204 fi
5205
5206 if test $ac_cv_header_stdbool_h = yes; then
5207
5208 cat >>confdefs.h <<\_ACEOF
5209 #define HAVE_STDBOOL_H 1
5210 _ACEOF
5211
5212 fi
5213
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
5218 else
5219   cat >conftest.$ac_ext <<_ACEOF
5220 /* confdefs.h.  */
5221 _ACEOF
5222 cat confdefs.h >>conftest.$ac_ext
5223 cat >>conftest.$ac_ext <<_ACEOF
5224 /* end confdefs.h.  */
5225
5226 int
5227 main ()
5228 {
5229 /* FIXME: Include the comments suggested by Paul. */
5230 #ifndef __cplusplus
5231   /* Ultrix mips cc rejects this.  */
5232   typedef int charset[2];
5233   const charset cs;
5234   /* SunOS 4.1.1 cc rejects this.  */
5235   char const *const *pcpcc;
5236   char **ppc;
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
5243      expression */
5244   const char *g = "string";
5245   pcpcc = &g + (g ? g-g : 0);
5246   /* HPUX 7.0 cc rejects these. */
5247   ++pcpcc;
5248   ppc = (char**) pcpcc;
5249   pcpcc = (char const *const *) ppc;
5250   { /* SCO 3.2v4 cc rejects this.  */
5251     char *t;
5252     char const *s = 0 ? (char *) 0 : (char const *) 0;
5253
5254     *t++ = 0;
5255     if (s) return 0;
5256   }
5257   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
5258     int x[] = {25, 17};
5259     const int *foo = &x[0];
5260     ++foo;
5261   }
5262   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5263     typedef const int *iptr;
5264     iptr p = 0;
5265     ++p;
5266   }
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;
5271   }
5272   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5273     const int foo = 10;
5274     if (!foo) return 0;
5275   }
5276   return !cs[0] && !zero.x;
5277 #endif
5278
5279   ;
5280   return 0;
5281 }
5282 _ACEOF
5283 rm -f conftest.$ac_objext
5284 if { (ac_try="$ac_compile"
5285 case "(($ac_try" in
5286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5287   *) ac_try_echo=$ac_try;;
5288 esac
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
5292   ac_status=$?
5293   grep -v '^ *+' conftest.er1 >conftest.err
5294   rm -f conftest.er1
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
5301   ac_cv_c_const=yes
5302 else
5303   $as_echo "$as_me: failed program was:" >&5
5304 sed 's/^/| /' conftest.$ac_ext >&5
5305
5306         ac_cv_c_const=no
5307 fi
5308
5309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5310 fi
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
5314
5315 cat >>confdefs.h <<\_ACEOF
5316 #define const /**/
5317 _ACEOF
5318
5319 fi
5320
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
5325 else
5326   ac_cv_type_size_t=no
5327 cat >conftest.$ac_ext <<_ACEOF
5328 /* confdefs.h.  */
5329 _ACEOF
5330 cat confdefs.h >>conftest.$ac_ext
5331 cat >>conftest.$ac_ext <<_ACEOF
5332 /* end confdefs.h.  */
5333 $ac_includes_default
5334 int
5335 main ()
5336 {
5337 if (sizeof (size_t))
5338        return 0;
5339   ;
5340   return 0;
5341 }
5342 _ACEOF
5343 rm -f conftest.$ac_objext
5344 if { (ac_try="$ac_compile"
5345 case "(($ac_try" in
5346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5347   *) ac_try_echo=$ac_try;;
5348 esac
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
5352   ac_status=$?
5353   grep -v '^ *+' conftest.er1 >conftest.err
5354   rm -f conftest.er1
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
5362 /* confdefs.h.  */
5363 _ACEOF
5364 cat confdefs.h >>conftest.$ac_ext
5365 cat >>conftest.$ac_ext <<_ACEOF
5366 /* end confdefs.h.  */
5367 $ac_includes_default
5368 int
5369 main ()
5370 {
5371 if (sizeof ((size_t)))
5372           return 0;
5373   ;
5374   return 0;
5375 }
5376 _ACEOF
5377 rm -f conftest.$ac_objext
5378 if { (ac_try="$ac_compile"
5379 case "(($ac_try" in
5380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5381   *) ac_try_echo=$ac_try;;
5382 esac
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
5386   ac_status=$?
5387   grep -v '^ *+' conftest.er1 >conftest.err
5388   rm -f conftest.er1
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
5395   :
5396 else
5397   $as_echo "$as_me: failed program was:" >&5
5398 sed 's/^/| /' conftest.$ac_ext >&5
5399
5400         ac_cv_type_size_t=yes
5401 fi
5402
5403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5404 else
5405   $as_echo "$as_me: failed program was:" >&5
5406 sed 's/^/| /' conftest.$ac_ext >&5
5407
5408
5409 fi
5410
5411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5412 fi
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
5416   :
5417 else
5418
5419 cat >>confdefs.h <<_ACEOF
5420 #define size_t unsigned int
5421 _ACEOF
5422
5423 fi
5424
5425
5426
5427
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"
5436
5437
5438
5439 for ac_header in stdlib.h
5440 do
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
5447 fi
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; }
5452 else
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
5457 /* confdefs.h.  */
5458 _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>
5464 _ACEOF
5465 rm -f conftest.$ac_objext
5466 if { (ac_try="$ac_compile"
5467 case "(($ac_try" in
5468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5469   *) ac_try_echo=$ac_try;;
5470 esac
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
5474   ac_status=$?
5475   grep -v '^ *+' conftest.er1 >conftest.err
5476   rm -f conftest.er1
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
5484 else
5485   $as_echo "$as_me: failed program was:" >&5
5486 sed 's/^/| /' conftest.$ac_ext >&5
5487
5488         ac_header_compiler=no
5489 fi
5490
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; }
5494
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
5499 /* confdefs.h.  */
5500 _ACEOF
5501 cat confdefs.h >>conftest.$ac_ext
5502 cat >>conftest.$ac_ext <<_ACEOF
5503 /* end confdefs.h.  */
5504 #include <$ac_header>
5505 _ACEOF
5506 if { (ac_try="$ac_cpp conftest.$ac_ext"
5507 case "(($ac_try" in
5508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5509   *) ac_try_echo=$ac_try;;
5510 esac
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
5514   ac_status=$?
5515   grep -v '^ *+' conftest.er1 >conftest.err
5516   rm -f conftest.er1
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
5522        }; then
5523   ac_header_preproc=yes
5524 else
5525   $as_echo "$as_me: failed program was:" >&5
5526 sed 's/^/| /' conftest.$ac_ext >&5
5527
5528   ac_header_preproc=no
5529 fi
5530
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; }
5534
5535 # So?  What about this header?
5536 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5537   yes:no: )
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
5543     ;;
5544   no: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;}
5557     ( cat <<\_ASBOX
5558 ## ------------------------------ ##
5559 ## Report this to clustalw@ucd.ie ##
5560 ## ------------------------------ ##
5561 _ASBOX
5562      ) | sed "s/^/$as_me: WARNING:     /" >&2
5563     ;;
5564 esac
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
5569 else
5570   eval "$as_ac_Header=\$ac_header_preproc"
5571 fi
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; }
5576
5577 fi
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
5583 _ACEOF
5584
5585 fi
5586
5587 done
5588
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
5593 else
5594   if test "$cross_compiling" = yes; then
5595   ac_cv_func_malloc_0_nonnull=no
5596 else
5597   cat >conftest.$ac_ext <<_ACEOF
5598 /* confdefs.h.  */
5599 _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>
5605 #else
5606 char *malloc ();
5607 #endif
5608
5609 int
5610 main ()
5611 {
5612 return ! malloc (0);
5613   ;
5614   return 0;
5615 }
5616 _ACEOF
5617 rm -f conftest$ac_exeext
5618 if { (ac_try="$ac_link"
5619 case "(($ac_try" in
5620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5621   *) ac_try_echo=$ac_try;;
5622 esac
5623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5624 $as_echo "$ac_try_echo") >&5
5625   (eval "$ac_link") 2>&5
5626   ac_status=$?
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;;
5632 esac
5633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5634 $as_echo "$ac_try_echo") >&5
5635   (eval "$ac_try") 2>&5
5636   ac_status=$?
5637   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638   (exit $ac_status); }; }; then
5639   ac_cv_func_malloc_0_nonnull=yes
5640 else
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
5644
5645 ( exit $ac_status )
5646 ac_cv_func_malloc_0_nonnull=no
5647 fi
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
5650 fi
5651
5652
5653 fi
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
5657
5658 cat >>confdefs.h <<\_ACEOF
5659 #define HAVE_MALLOC 1
5660 _ACEOF
5661
5662 else
5663   cat >>confdefs.h <<\_ACEOF
5664 #define HAVE_MALLOC 0
5665 _ACEOF
5666
5667    case " $LIBOBJS " in
5668   *" malloc.$ac_objext "* ) ;;
5669   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5670  ;;
5671 esac
5672
5673
5674 cat >>confdefs.h <<\_ACEOF
5675 #define malloc rpl_malloc
5676 _ACEOF
5677
5678 fi
5679
5680
5681
5682
5683 # enable hashing if requested (--with-mhash)
5684 # will set HAVE_MHASH_H only
5685
5686 # Check whether --with-mhash was given.
5687 if test "${with_mhash+set}" = set; then
5688   withval=$with_mhash; with_mhash=$withval
5689 else
5690   with_mhash=no
5691 fi
5692
5693 if test "$with_mhash" = "yes"; then
5694
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
5699 else
5700   ac_check_lib_save_LIBS=$LIBS
5701 LIBS="-lmhash  $LIBS"
5702 cat >conftest.$ac_ext <<_ACEOF
5703 /* confdefs.h.  */
5704 _ACEOF
5705 cat confdefs.h >>conftest.$ac_ext
5706 cat >>conftest.$ac_ext <<_ACEOF
5707 /* end confdefs.h.  */
5708
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.  */
5712 #ifdef __cplusplus
5713 extern "C"
5714 #endif
5715 char mhash_init ();
5716 int
5717 main ()
5718 {
5719 return mhash_init ();
5720   ;
5721   return 0;
5722 }
5723 _ACEOF
5724 rm -f conftest.$ac_objext conftest$ac_exeext
5725 if { (ac_try="$ac_link"
5726 case "(($ac_try" in
5727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5728   *) ac_try_echo=$ac_try;;
5729 esac
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
5733   ac_status=$?
5734   grep -v '^ *+' conftest.er1 >conftest.err
5735   rm -f conftest.er1
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
5744        }; then
5745   ac_cv_lib_mhash_mhash_init=yes
5746 else
5747   $as_echo "$as_me: failed program was:" >&5
5748 sed 's/^/| /' conftest.$ac_ext >&5
5749
5750         ac_cv_lib_mhash_mhash_init=no
5751 fi
5752
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
5757 fi
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
5763 _ACEOF
5764
5765   LIBS="-lmhash $LIBS"
5766
5767 else
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; }; }
5771 fi
5772
5773
5774 for ac_header in mhash.h
5775 do
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
5782 fi
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; }
5787 else
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
5792 /* confdefs.h.  */
5793 _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>
5799 _ACEOF
5800 rm -f conftest.$ac_objext
5801 if { (ac_try="$ac_compile"
5802 case "(($ac_try" in
5803   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5804   *) ac_try_echo=$ac_try;;
5805 esac
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
5809   ac_status=$?
5810   grep -v '^ *+' conftest.er1 >conftest.err
5811   rm -f conftest.er1
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
5819 else
5820   $as_echo "$as_me: failed program was:" >&5
5821 sed 's/^/| /' conftest.$ac_ext >&5
5822
5823         ac_header_compiler=no
5824 fi
5825
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; }
5829
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
5834 /* confdefs.h.  */
5835 _ACEOF
5836 cat confdefs.h >>conftest.$ac_ext
5837 cat >>conftest.$ac_ext <<_ACEOF
5838 /* end confdefs.h.  */
5839 #include <$ac_header>
5840 _ACEOF
5841 if { (ac_try="$ac_cpp conftest.$ac_ext"
5842 case "(($ac_try" in
5843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5844   *) ac_try_echo=$ac_try;;
5845 esac
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
5849   ac_status=$?
5850   grep -v '^ *+' conftest.er1 >conftest.err
5851   rm -f conftest.er1
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
5857        }; then
5858   ac_header_preproc=yes
5859 else
5860   $as_echo "$as_me: failed program was:" >&5
5861 sed 's/^/| /' conftest.$ac_ext >&5
5862
5863   ac_header_preproc=no
5864 fi
5865
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; }
5869
5870 # So?  What about this header?
5871 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5872   yes:no: )
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
5878     ;;
5879   no: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;}
5892     ( cat <<\_ASBOX
5893 ## ------------------------------ ##
5894 ## Report this to clustalw@ucd.ie ##
5895 ## ------------------------------ ##
5896 _ASBOX
5897      ) | sed "s/^/$as_me: WARNING:     /" >&2
5898     ;;
5899 esac
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
5904 else
5905   eval "$as_ac_Header=\$ac_header_preproc"
5906 fi
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; }
5911
5912 fi
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
5918 _ACEOF
5919
5920 else
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; }; }
5924 fi
5925
5926 done
5927
5928
5929 fi
5930
5931
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"
5935
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.
5942 #
5943 # config.status only pays attention to the cache file if you give it
5944 # the --recheck option to rerun configure.
5945 #
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
5948 # following values.
5949
5950 _ACEOF
5951
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.
5957 (
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
5960     case $ac_val in #(
5961     *${as_nl}*)
5962       case $ac_var in #(
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;} ;;
5965       esac
5966       case $ac_var in #(
5967       _ | IFS | as_nl) ;; #(
5968       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5969       *) $as_unset $ac_var ;;
5970       esac ;;
5971     esac
5972   done
5973
5974   (set) 2>&1 |
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 \).
5979       sed -n \
5980         "s/'/'\\\\''/g;
5981           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5982       ;; #(
5983     *)
5984       # `set' quotes correctly as required by POSIX, so do not add quotes.
5985       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5986       ;;
5987     esac |
5988     sort
5989 ) |
5990   sed '
5991      /^ac_cv_env_/b end
5992      t clear
5993      :clear
5994      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5995      t end
5996      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5997      :end' >>confcache
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
6004   else
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;}
6007   fi
6008 fi
6009 rm -f confcache
6010
6011 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6012 # Let make expand exec_prefix.
6013 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6014
6015 DEFS=-DHAVE_CONFIG_H
6016
6017 ac_libobjs=
6018 ac_ltlibobjs=
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'
6027 done
6028 LIBOBJS=$ac_libobjs
6029
6030 LTLIBOBJS=$ac_ltlibobjs
6031
6032
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; }; }
6039 fi
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; }; }
6046 fi
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; }; }
6053 fi
6054
6055 : ${CONFIG_STATUS=./config.status}
6056 ac_write_fail=0
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
6062 #! $SHELL
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.
6067
6068 debug=false
6069 ac_cs_recheck=false
6070 ac_cs_silent=false
6071 SHELL=\${CONFIG_SHELL-$SHELL}
6072 _ACEOF
6073
6074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6075 ## --------------------- ##
6076 ## M4sh Initialization.  ##
6077 ## --------------------- ##
6078
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
6082   emulate sh
6083   NULLCMD=:
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
6088 else
6089   case `(set -o) 2>/dev/null` in
6090   *posix*) set -o posix ;;
6091 esac
6092
6093 fi
6094
6095
6096
6097
6098 # PATH needs CR
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
6105
6106 as_nl='
6107 '
6108 export as_nl
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'
6116 else
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'
6120   else
6121     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6122     as_echo_n_body='eval
6123       arg=$1;
6124       case $arg in
6125       *"$as_nl"*)
6126         expr "X$arg" : "X\\(.*\\)$as_nl";
6127         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6128       esac;
6129       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6130     '
6131     export as_echo_n_body
6132     as_echo_n='sh -c $as_echo_n_body as_echo'
6133   fi
6134   export as_echo_body
6135   as_echo='sh -c $as_echo_body as_echo'
6136 fi
6137
6138 # The user is always right.
6139 if test "${PATH_SEPARATOR+set}" != set; then
6140   PATH_SEPARATOR=:
6141   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6142     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6143       PATH_SEPARATOR=';'
6144   }
6145 fi
6146
6147 # Support unset when possible.
6148 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6149   as_unset=unset
6150 else
6151   as_unset=false
6152 fi
6153
6154
6155 # IFS
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.)
6160 IFS=" ""        $as_nl"
6161
6162 # Find who we are.  Look in the path if we contain no directory separator.
6163 case $0 in
6164   *[\\/]* ) as_myself=$0 ;;
6165   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6166 for as_dir in $PATH
6167 do
6168   IFS=$as_save_IFS
6169   test -z "$as_dir" && as_dir=.
6170   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6171 done
6172 IFS=$as_save_IFS
6173
6174      ;;
6175 esac
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
6179   as_myself=$0
6180 fi
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; }
6184 fi
6185
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
6189 done
6190 PS1='$ '
6191 PS2='> '
6192 PS4='+ '
6193
6194 # NLS nuisances.
6195 LC_ALL=C
6196 export LC_ALL
6197 LANGUAGE=C
6198 export LANGUAGE
6199
6200 # Required to use basename.
6201 if expr a : '\(a\)' >/dev/null 2>&1 &&
6202    test "X`expr 00001 : '.*\(...\)'`" = X001; then
6203   as_expr=expr
6204 else
6205   as_expr=false
6206 fi
6207
6208 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6209   as_basename=basename
6210 else
6211   as_basename=false
6212 fi
6213
6214
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 ||
6220 $as_echo X/"$0" |
6221     sed '/^.*\/\([^/][^/]*\)\/*$/{
6222             s//\1/
6223             q
6224           }
6225           /^X\/\(\/\/\)$/{
6226             s//\1/
6227             q
6228           }
6229           /^X\/\(\/\).*/{
6230             s//\1/
6231             q
6232           }
6233           s/.*/./; q'`
6234
6235 # CDPATH.
6236 $as_unset CDPATH
6237
6238
6239
6240   as_lineno_1=$LINENO
6241   as_lineno_2=$LINENO
6242   test "x$as_lineno_1" != "x$as_lineno_2" &&
6243   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6244
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
6251   # case at line end.
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.  :-)
6255   sed -n '
6256     p
6257     /[$]LINENO/=
6258   ' <$as_myself |
6259     sed '
6260       s/[$]LINENO.*/&-/
6261       t lineno
6262       b
6263       :lineno
6264       N
6265       :loop
6266       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6267       t loop
6268       s/-\n.*//
6269     ' >$as_me.lineno &&
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; }; }
6273
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).
6277   . "./$as_me.lineno"
6278   # Exit status is that of the last command.
6279   exit
6280 }
6281
6282
6283 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6284   as_dirname=dirname
6285 else
6286   as_dirname=false
6287 fi
6288
6289 ECHO_C= ECHO_N= ECHO_T=
6290 case `echo -n x` in
6291 -n*)
6292   case `echo 'x\c'` in
6293   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
6294   *)   ECHO_C='\c';;
6295   esac;;
6296 *)
6297   ECHO_N='-n';;
6298 esac
6299 if expr a : '\(a\)' >/dev/null 2>&1 &&
6300    test "X`expr 00001 : '.*\(...\)'`" = X001; then
6301   as_expr=expr
6302 else
6303   as_expr=false
6304 fi
6305
6306 rm -f conf$$ conf$$.exe conf$$.file
6307 if test -d conf$$.dir; then
6308   rm -f conf$$.dir/conf$$.file
6309 else
6310   rm -f conf$$.dir
6311   mkdir conf$$.dir 2>/dev/null
6312 fi
6313 if (echo >conf$$.file) 2>/dev/null; then
6314   if ln -s conf$$.file conf$$ 2>/dev/null; then
6315     as_ln_s='ln -s'
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 ||
6321       as_ln_s='cp -p'
6322   elif ln conf$$.file conf$$ 2>/dev/null; then
6323     as_ln_s=ln
6324   else
6325     as_ln_s='cp -p'
6326   fi
6327 else
6328   as_ln_s='cp -p'
6329 fi
6330 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6331 rmdir conf$$.dir 2>/dev/null
6332
6333 if mkdir -p . 2>/dev/null; then
6334   as_mkdir_p=:
6335 else
6336   test -d ./-p && rmdir ./-p
6337   as_mkdir_p=false
6338 fi
6339
6340 if test -x / >/dev/null 2>&1; then
6341   as_test_x='test -x'
6342 else
6343   if ls -dL / >/dev/null 2>&1; then
6344     as_ls_L_option=L
6345   else
6346     as_ls_L_option=
6347   fi
6348   as_test_x='
6349     eval sh -c '\''
6350       if test -d "$1"; then
6351         test -d "$1/.";
6352       else
6353         case $1 in
6354         -*)set "./$1";;
6355         esac;
6356         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6357         ???[sx]*):;;*)false;;esac;fi
6358     '\'' sh
6359   '
6360 fi
6361 as_executable_p=$as_test_x
6362
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'"
6365
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'"
6368
6369
6370 exec 6>&1
6371
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.
6375 ac_log="
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
6378
6379   CONFIG_FILES    = $CONFIG_FILES
6380   CONFIG_HEADERS  = $CONFIG_HEADERS
6381   CONFIG_LINKS    = $CONFIG_LINKS
6382   CONFIG_COMMANDS = $CONFIG_COMMANDS
6383   $ $0 $@
6384
6385 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6386 "
6387
6388 _ACEOF
6389
6390 case $ac_config_files in *"
6391 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6392 esac
6393
6394 case $ac_config_headers in *"
6395 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6396 esac
6397
6398
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"
6404
6405 _ACEOF
6406
6407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6408 ac_cs_usage="\
6409 \`$as_me' instantiates files from templates according to the
6410 current configuration.
6411
6412 Usage: $0 [OPTION]... [FILE]...
6413
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
6424
6425 Configuration files:
6426 $config_files
6427
6428 Configuration headers:
6429 $config_headers
6430
6431 Configuration commands:
6432 $config_commands
6433
6434 Report bugs to <bug-autoconf@gnu.org>."
6435
6436 _ACEOF
6437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6438 ac_cs_version="\\
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'`\\"
6442
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."
6446
6447 ac_pwd='$ac_pwd'
6448 srcdir='$srcdir'
6449 INSTALL='$INSTALL'
6450 MKDIR_P='$MKDIR_P'
6451 AWK='$AWK'
6452 test -n "\$AWK" || AWK=awk
6453 _ACEOF
6454
6455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6456 # The default lists apply if the user does not specify any file.
6457 ac_need_defaults=:
6458 while test $# != 0
6459 do
6460   case $1 in
6461   --*=*)
6462     ac_option=`expr "X$1" : 'X\([^=]*\)='`
6463     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6464     ac_shift=:
6465     ;;
6466   *)
6467     ac_option=$1
6468     ac_optarg=$2
6469     ac_shift=shift
6470     ;;
6471   esac
6472
6473   case $ac_option in
6474   # Handling of the options.
6475   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6476     ac_cs_recheck=: ;;
6477   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6478     $as_echo "$ac_cs_version"; exit ;;
6479   --debug | --debu | --deb | --de | --d | -d )
6480     debug=: ;;
6481   --file | --fil | --fi | --f )
6482     $ac_shift
6483     case $ac_optarg in
6484     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6485     esac
6486     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
6487     ac_need_defaults=false;;
6488   --header | --heade | --head | --hea )
6489     $ac_shift
6490     case $ac_optarg in
6491     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6492     esac
6493     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
6494     ac_need_defaults=false;;
6495   --he | --h)
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)
6504     ac_cs_silent=: ;;
6505
6506   # This is an error.
6507   -*) { $as_echo "$as_me: error: unrecognized option: $1
6508 Try \`$0 --help' for more information." >&2
6509    { (exit 1); exit 1; }; } ;;
6510
6511   *) ac_config_targets="$ac_config_targets $1"
6512      ac_need_defaults=false ;;
6513
6514   esac
6515   shift
6516 done
6517
6518 ac_configure_extra_args=
6519
6520 if $ac_cs_silent; then
6521   exec 6>/dev/null
6522   ac_configure_extra_args="$ac_configure_extra_args --silent"
6523 fi
6524
6525 _ACEOF
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
6529   shift
6530   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6531   CONFIG_SHELL='$SHELL'
6532   export CONFIG_SHELL
6533   exec "\$@"
6534 fi
6535
6536 _ACEOF
6537 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6538 exec 5>>config.log
6539 {
6540   echo
6541   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6542 ## Running $as_me. ##
6543 _ASBOX
6544   $as_echo "$ac_log"
6545 } >&5
6546
6547 _ACEOF
6548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6549 #
6550 # INIT-COMMANDS
6551 #
6552 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6553
6554 _ACEOF
6555
6556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6557
6558 # Handling of arguments.
6559 for ac_config_target in $ac_config_targets
6560 do
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" ;;
6568
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; }; };;
6572   esac
6573 done
6574
6575
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
6584 fi
6585
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'.
6592 $debug ||
6593 {
6594   tmp=
6595   trap 'exit_status=$?
6596   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6597 ' 0
6598   trap '{ (exit 1); exit 1; }' 1 2 13 15
6599 }
6600 # Create a (secure) tmp directory for tmp files.
6601
6602 {
6603   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6604   test -n "$tmp" && test -d "$tmp"
6605 }  ||
6606 {
6607   tmp=./conf$$-$RANDOM
6608   (umask 077 && mkdir "$tmp")
6609 } ||
6610 {
6611    $as_echo "$as_me: cannot create a temporary directory in ." >&2
6612    { (exit 1); exit 1; }
6613 }
6614
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
6619
6620
6621 ac_cr='\r'
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
6624   ac_cs_awk_cr='\\r'
6625 else
6626   ac_cs_awk_cr=$ac_cr
6627 fi
6628
6629 echo 'BEGIN {' >"$tmp/subs1.awk" &&
6630 _ACEOF
6631
6632
6633 {
6634   echo "cat >conf$$subs.awk <<_ACEOF" &&
6635   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6636   echo "_ACEOF"
6637 } >conf$$subs.sh ||
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 '$'`
6642 ac_delim='%!_!# '
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; }; }
6648
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
6651     break
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; }; }
6656   else
6657     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6658   fi
6659 done
6660 rm -f conf$$subs.sh
6661
6662 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6663 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
6664 _ACEOF
6665 sed -n '
6666 h
6667 s/^/S["/; s/!.*/"]=/
6668 p
6669 g
6670 s/^[^!]*!//
6671 :repl
6672 t repl
6673 s/'"$ac_delim"'$//
6674 t delim
6675 :nl
6676 h
6677 s/\(.\{148\}\).*/\1/
6678 t more1
6679 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6680 p
6681 n
6682 b repl
6683 :more1
6684 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6685 p
6686 g
6687 s/.\{148\}//
6688 t nl
6689 :delim
6690 h
6691 s/\(.\{148\}\).*/\1/
6692 t more2
6693 s/["\\]/\\&/g; s/^/"/; s/$/"/
6694 p
6695 b
6696 :more2
6697 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6698 p
6699 g
6700 s/.\{148\}//
6701 t delim
6702 ' <conf$$subs.awk | sed '
6703 /^[^""]/{
6704   N
6705   s/\n//
6706 }
6707 ' >>$CONFIG_STATUS || ac_write_fail=1
6708 rm -f conf$$subs.awk
6709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6710 _ACAWK
6711 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
6712   for (key in S) S_is_set[key] = 1
6713   FS = "\a"
6714
6715 }
6716 {
6717   line = $ 0
6718   nfields = split(line, field, "@")
6719   substed = 0
6720   len = length(field[1])
6721   for (i = 2; i < nfields; i++) {
6722     key = field[i]
6723     keylen = length(key)
6724     if (S_is_set[key]) {
6725       value = S[key]
6726       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6727       len += length(value) + length(field[++i])
6728       substed = 1
6729     } else
6730       len += 1 + keylen
6731   }
6732
6733   print line
6734 }
6735
6736 _ACAWK
6737 _ACEOF
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"
6741 else
6742   cat
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; }; }
6747 _ACEOF
6748
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[        ]*=/{
6755 s/:*\$(srcdir):*/:/
6756 s/:*\${srcdir}:*/:/
6757 s/:*@srcdir@:*/:/
6758 s/^\([^=]*=[     ]*\):*/\1/
6759 s/:*$//
6760 s/^[^=]*=[       ]*$//
6761 }'
6762 fi
6763
6764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6765 fi # test -n "$CONFIG_FILES"
6766
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 ||
6772 BEGIN {
6773 _ACEOF
6774
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.
6778
6779 # Create a delimiter string that does not exist in confdefs.h, to ease
6780 # handling of long lines.
6781 ac_delim='%!_!# '
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
6785     break
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; }; }
6790   else
6791     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6792   fi
6793 done
6794
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.
6798
6799 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6800 sed -n '
6801 s/.\{148\}/&'"$ac_delim"'/g
6802 t rset
6803 :rset
6804 s/^[     ]*#[    ]*define[       ][      ]*/ /
6805 t def
6806 d
6807 :def
6808 s/\\$//
6809 t bsnl
6810 s/["\\]/\\&/g
6811 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6812 D["\1"]=" \3"/p
6813 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
6814 d
6815 :bsnl
6816 s/["\\]/\\&/g
6817 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
6818 D["\1"]=" \3\\\\\\n"\\/p
6819 t cont
6820 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6821 t cont
6822 d
6823 :cont
6824 n
6825 s/.\{148\}/&'"$ac_delim"'/g
6826 t clear
6827 :clear
6828 s/\\$//
6829 t bsnlc
6830 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6831 d
6832 :bsnlc
6833 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6834 b cont
6835 ' <confdefs.h | sed '
6836 s/'"$ac_delim"'/"\\\
6837 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6838
6839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6840   for (key in D) D_is_set[key] = 1
6841   FS = "\a"
6842 }
6843 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6844   line = \$ 0
6845   split(line, arg, " ")
6846   if (arg[1] == "#") {
6847     defundef = arg[2]
6848     mac1 = arg[3]
6849   } else {
6850     defundef = substr(arg[1], 2)
6851     mac1 = arg[2]
6852   }
6853   split(mac1, mac2, "(") #)
6854   macro = mac2[1]
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]
6859     next
6860   } else {
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, "*/"
6866       next
6867     }
6868   }
6869 }
6870 { print }
6871 _ACAWK
6872 _ACEOF
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"
6878
6879
6880 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6881 shift
6882 for ac_tag
6883 do
6884   case $ac_tag in
6885   :[FHLC]) ac_mode=$ac_tag; continue;;
6886   esac
6887   case $ac_mode$ac_tag in
6888   :[FHL]*:*);;
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;;
6894   esac
6895   ac_save_IFS=$IFS
6896   IFS=:
6897   set x $ac_tag
6898   IFS=$ac_save_IFS
6899   shift
6900   ac_file=$1
6901   shift
6902
6903   case $ac_mode in
6904   :L) ac_source=$1;;
6905   :[FH])
6906     ac_file_inputs=
6907     for ac_f
6908     do
6909       case $ac_f 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 `:'.
6914          test -f "$ac_f" ||
6915            case $ac_f in
6916            [\\/$]*) false;;
6917            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6918            esac ||
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; }; };;
6922       esac
6923       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6924       ac_file_inputs="$ac_file_inputs '$ac_f'"
6925     done
6926
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'
6932         `' by configure.'
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;}
6937     fi
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;;
6944     esac
6945
6946     case $ac_tag in
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; }; } ;;
6951     esac
6952     ;;
6953   esac
6954
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6962             s//\1/
6963             q
6964           }
6965           /^X\(\/\/\)[^/].*/{
6966             s//\1/
6967             q
6968           }
6969           /^X\(\/\/\)$/{
6970             s//\1/
6971             q
6972           }
6973           /^X\(\/\).*/{
6974             s//\1/
6975             q
6976           }
6977           s/.*/./; q'`
6978   { as_dir="$ac_dir"
6979   case $as_dir in #(
6980   -*) as_dir=./$as_dir;;
6981   esac
6982   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6983     as_dirs=
6984     while :; do
6985       case $as_dir in #(
6986       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6987       *) as_qdir=$as_dir;;
6988       esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6997             s//\1/
6998             q
6999           }
7000           /^X\(\/\/\)[^/].*/{
7001             s//\1/
7002             q
7003           }
7004           /^X\(\/\/\)$/{
7005             s//\1/
7006             q
7007           }
7008           /^X\(\/\).*/{
7009             s//\1/
7010             q
7011           }
7012           s/.*/./; q'`
7013       test -d "$as_dir" && break
7014     done
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; }; }; }
7019   ac_builddir=.
7020
7021 case "$ac_dir" in
7022 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7023 *)
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/ ;;
7030   esac ;;
7031 esac
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
7036
7037 case $srcdir in
7038   .)  # We are building in place.
7039     ac_srcdir=.
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 ;;
7046   *) # Relative name.
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 ;;
7050 esac
7051 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7052
7053
7054   case $ac_mode in
7055   :F)
7056   #
7057   # CONFIG_FILE
7058   #
7059
7060   case $INSTALL in
7061   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7062   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7063   esac
7064   ac_MKDIR_P=$MKDIR_P
7065   case $MKDIR_P in
7066   [\\/$]* | ?:[\\/]* ) ;;
7067   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7068   esac
7069 _ACEOF
7070
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=
7075
7076 ac_sed_dataroot='
7077 /datarootdir/ {
7078   p
7079   q
7080 }
7081 /@datadir@/p
7082 /@docdir@/p
7083 /@infodir@/p
7084 /@localedir@/p
7085 /@mandir@/p
7086 '
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;}
7092 _ACEOF
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' ;;
7101 esac
7102 _ACEOF
7103
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
7109 $extrasub
7110 _ACEOF
7111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7112 :t
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
7127 "
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; }; }
7132
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;}
7140
7141   rm -f "$tmp/stdin"
7142   case $ac_file in
7143   -) cat "$tmp/out" && rm -f "$tmp/out";;
7144   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7145   esac \
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; }; }
7149  ;;
7150   :H)
7151   #
7152   # CONFIG_HEADER
7153   #
7154   if test x"$ac_file" != x-; then
7155     {
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;}
7165     else
7166       rm -f "$ac_file"
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; }; }
7171     fi
7172   else
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; }; }
7178   fi
7179 # Compute "$ac_file"'s index in $config_headers.
7180 _am_arg="$ac_file"
7181 _am_stamp_count=1
7182 for _am_header in $config_headers :; do
7183   case $_am_header in
7184     $_am_arg | $_am_arg:* )
7185       break ;;
7186     * )
7187       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7188   esac
7189 done
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7197             s//\1/
7198             q
7199           }
7200           /^X\(\/\/\)[^/].*/{
7201             s//\1/
7202             q
7203           }
7204           /^X\(\/\/\)$/{
7205             s//\1/
7206             q
7207           }
7208           /^X\(\/\).*/{
7209             s//\1/
7210             q
7211           }
7212           s/.*/./; q'`/stamp-h$_am_stamp_count
7213  ;;
7214
7215   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
7216 $as_echo "$as_me: executing $ac_file commands" >&6;}
7217  ;;
7218   esac
7219
7220
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 ;;
7229   esac
7230   shift
7231   for mf
7232   do
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 ||
7248 $as_echo X"$mf" |
7249     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7250             s//\1/
7251             q
7252           }
7253           /^X\(\/\/\)[^/].*/{
7254             s//\1/
7255             q
7256           }
7257           /^X\(\/\/\)$/{
7258             s//\1/
7259             q
7260           }
7261           /^X\(\/\).*/{
7262             s//\1/
7263             q
7264           }
7265           s/.*/./; q'`
7266     else
7267       continue
7268     fi
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
7281     # expansion.
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 ||
7292 $as_echo X"$file" |
7293     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7294             s//\1/
7295             q
7296           }
7297           /^X\(\/\/\)[^/].*/{
7298             s//\1/
7299             q
7300           }
7301           /^X\(\/\/\)$/{
7302             s//\1/
7303             q
7304           }
7305           /^X\(\/\).*/{
7306             s//\1/
7307             q
7308           }
7309           s/.*/./; q'`
7310       { as_dir=$dirpart/$fdir
7311   case $as_dir in #(
7312   -*) as_dir=./$as_dir;;
7313   esac
7314   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7315     as_dirs=
7316     while :; do
7317       case $as_dir in #(
7318       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7319       *) as_qdir=$as_dir;;
7320       esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7329             s//\1/
7330             q
7331           }
7332           /^X\(\/\/\)[^/].*/{
7333             s//\1/
7334             q
7335           }
7336           /^X\(\/\/\)$/{
7337             s//\1/
7338             q
7339           }
7340           /^X\(\/\).*/{
7341             s//\1/
7342             q
7343           }
7344           s/.*/./; q'`
7345       test -d "$as_dir" && break
7346     done
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"
7353     done
7354   done
7355 }
7356  ;;
7357
7358   esac
7359 done # for ac_tag
7360
7361
7362 { (exit 0); exit 0; }
7363 _ACEOF
7364 chmod +x $CONFIG_STATUS
7365 ac_clean_files=$ac_clean_files_save
7366
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; }; }
7371
7372
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
7382   ac_cs_success=:
7383   ac_config_status_args=
7384   test "$silent" = yes &&
7385     ac_config_status_args="$ac_config_status_args --quiet"
7386   exec 5>/dev/null
7387   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7388   exec 5>>config.log
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; }
7392 fi
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;}
7396 fi
7397