TreeEdges now connect to fixed anchors instead of closest anchors.
[av.git] / gtk / configure
blobcfae264b00500f429e1844b65abbb8979860ebec
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Alignment Visualization Tool alpha.
5 # Report bugs to <cs_snx@stu.ust.hk>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='Alignment Visualization Tool'
576 PACKAGE_TARNAME='alignment-visualization-tool'
577 PACKAGE_VERSION='alpha'
578 PACKAGE_STRING='Alignment Visualization Tool alpha'
579 PACKAGE_BUGREPORT='cs_snx@stu.ust.hk'
581 ac_unique_file="src/avt.cpp"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 INSTALL_PROGRAM
656 INSTALL_SCRIPT
657 INSTALL_DATA
658 am__isrc
659 CYGPATH_W
660 PACKAGE
661 VERSION
662 ACLOCAL
663 AUTOCONF
664 AUTOMAKE
665 AUTOHEADER
666 MAKEINFO
667 install_sh
668 STRIP
669 INSTALL_STRIP_PROGRAM
670 mkdir_p
672 SET_MAKE
673 am__leading_dot
674 AMTAR
675 am__tar
676 am__untar
678 CXXFLAGS
679 LDFLAGS
680 CPPFLAGS
681 ac_ct_CXX
682 EXEEXT
683 OBJEXT
684 DEPDIR
685 am__include
686 am__quote
687 AMDEP_TRUE
688 AMDEP_FALSE
689 AMDEPBACKSLASH
690 CXXDEPMODE
691 am__fastdepCXX_TRUE
692 am__fastdepCXX_FALSE
693 RANLIB
694 PKG_CONFIG
695 GTKMM_CFLAGS
696 GTKMM_LIBS
697 LIBGLADEMM_CFLAGS
698 LIBGLADEMM_LIBS
699 CXXCPP
700 GREP
701 EGREP
702 AVT_CFLAGS
703 AVT_LIBS
704 LIBOBJS
705 LTLIBOBJS'
706 ac_subst_files=''
707 ac_precious_vars='build_alias
708 host_alias
709 target_alias
711 CXXFLAGS
712 LDFLAGS
713 LIBS
714 CPPFLAGS
716 PKG_CONFIG
717 GTKMM_CFLAGS
718 GTKMM_LIBS
719 LIBGLADEMM_CFLAGS
720 LIBGLADEMM_LIBS
721 CXXCPP'
724 # Initialize some variables set by options.
725 ac_init_help=
726 ac_init_version=false
727 # The variables have the same names as the options, with
728 # dashes changed to underlines.
729 cache_file=/dev/null
730 exec_prefix=NONE
731 no_create=
732 no_recursion=
733 prefix=NONE
734 program_prefix=NONE
735 program_suffix=NONE
736 program_transform_name=s,x,x,
737 silent=
738 site=
739 srcdir=
740 verbose=
741 x_includes=NONE
742 x_libraries=NONE
744 # Installation directory options.
745 # These are left unexpanded so users can "make install exec_prefix=/foo"
746 # and all the variables that are supposed to be based on exec_prefix
747 # by default will actually change.
748 # Use braces instead of parens because sh, perl, etc. also accept them.
749 # (The list follows the same order as the GNU Coding Standards.)
750 bindir='${exec_prefix}/bin'
751 sbindir='${exec_prefix}/sbin'
752 libexecdir='${exec_prefix}/libexec'
753 datarootdir='${prefix}/share'
754 datadir='${datarootdir}'
755 sysconfdir='${prefix}/etc'
756 sharedstatedir='${prefix}/com'
757 localstatedir='${prefix}/var'
758 includedir='${prefix}/include'
759 oldincludedir='/usr/include'
760 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
761 infodir='${datarootdir}/info'
762 htmldir='${docdir}'
763 dvidir='${docdir}'
764 pdfdir='${docdir}'
765 psdir='${docdir}'
766 libdir='${exec_prefix}/lib'
767 localedir='${datarootdir}/locale'
768 mandir='${datarootdir}/man'
770 ac_prev=
771 ac_dashdash=
772 for ac_option
774 # If the previous option needs an argument, assign it.
775 if test -n "$ac_prev"; then
776 eval $ac_prev=\$ac_option
777 ac_prev=
778 continue
781 case $ac_option in
782 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
783 *) ac_optarg=yes ;;
784 esac
786 # Accept the important Cygnus configure options, so we can diagnose typos.
788 case $ac_dashdash$ac_option in
790 ac_dashdash=yes ;;
792 -bindir | --bindir | --bindi | --bind | --bin | --bi)
793 ac_prev=bindir ;;
794 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
795 bindir=$ac_optarg ;;
797 -build | --build | --buil | --bui | --bu)
798 ac_prev=build_alias ;;
799 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
800 build_alias=$ac_optarg ;;
802 -cache-file | --cache-file | --cache-fil | --cache-fi \
803 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
804 ac_prev=cache_file ;;
805 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
806 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
807 cache_file=$ac_optarg ;;
809 --config-cache | -C)
810 cache_file=config.cache ;;
812 -datadir | --datadir | --datadi | --datad)
813 ac_prev=datadir ;;
814 -datadir=* | --datadir=* | --datadi=* | --datad=*)
815 datadir=$ac_optarg ;;
817 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
818 | --dataroo | --dataro | --datar)
819 ac_prev=datarootdir ;;
820 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
821 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
822 datarootdir=$ac_optarg ;;
824 -disable-* | --disable-*)
825 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
826 # Reject names that are not valid shell variable names.
827 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
828 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
829 { (exit 1); exit 1; }; }
830 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
831 eval enable_$ac_feature=no ;;
833 -docdir | --docdir | --docdi | --doc | --do)
834 ac_prev=docdir ;;
835 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
836 docdir=$ac_optarg ;;
838 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
839 ac_prev=dvidir ;;
840 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
841 dvidir=$ac_optarg ;;
843 -enable-* | --enable-*)
844 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
845 # Reject names that are not valid shell variable names.
846 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
847 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
848 { (exit 1); exit 1; }; }
849 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
850 eval enable_$ac_feature=\$ac_optarg ;;
852 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
853 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
854 | --exec | --exe | --ex)
855 ac_prev=exec_prefix ;;
856 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
857 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
858 | --exec=* | --exe=* | --ex=*)
859 exec_prefix=$ac_optarg ;;
861 -gas | --gas | --ga | --g)
862 # Obsolete; use --with-gas.
863 with_gas=yes ;;
865 -help | --help | --hel | --he | -h)
866 ac_init_help=long ;;
867 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
868 ac_init_help=recursive ;;
869 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
870 ac_init_help=short ;;
872 -host | --host | --hos | --ho)
873 ac_prev=host_alias ;;
874 -host=* | --host=* | --hos=* | --ho=*)
875 host_alias=$ac_optarg ;;
877 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
878 ac_prev=htmldir ;;
879 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
880 | --ht=*)
881 htmldir=$ac_optarg ;;
883 -includedir | --includedir | --includedi | --included | --include \
884 | --includ | --inclu | --incl | --inc)
885 ac_prev=includedir ;;
886 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
887 | --includ=* | --inclu=* | --incl=* | --inc=*)
888 includedir=$ac_optarg ;;
890 -infodir | --infodir | --infodi | --infod | --info | --inf)
891 ac_prev=infodir ;;
892 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
893 infodir=$ac_optarg ;;
895 -libdir | --libdir | --libdi | --libd)
896 ac_prev=libdir ;;
897 -libdir=* | --libdir=* | --libdi=* | --libd=*)
898 libdir=$ac_optarg ;;
900 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
901 | --libexe | --libex | --libe)
902 ac_prev=libexecdir ;;
903 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
904 | --libexe=* | --libex=* | --libe=*)
905 libexecdir=$ac_optarg ;;
907 -localedir | --localedir | --localedi | --localed | --locale)
908 ac_prev=localedir ;;
909 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
910 localedir=$ac_optarg ;;
912 -localstatedir | --localstatedir | --localstatedi | --localstated \
913 | --localstate | --localstat | --localsta | --localst | --locals)
914 ac_prev=localstatedir ;;
915 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
916 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
917 localstatedir=$ac_optarg ;;
919 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
920 ac_prev=mandir ;;
921 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
922 mandir=$ac_optarg ;;
924 -nfp | --nfp | --nf)
925 # Obsolete; use --without-fp.
926 with_fp=no ;;
928 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
929 | --no-cr | --no-c | -n)
930 no_create=yes ;;
932 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
933 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
934 no_recursion=yes ;;
936 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
937 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
938 | --oldin | --oldi | --old | --ol | --o)
939 ac_prev=oldincludedir ;;
940 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
941 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
942 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
943 oldincludedir=$ac_optarg ;;
945 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
946 ac_prev=prefix ;;
947 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
948 prefix=$ac_optarg ;;
950 -program-prefix | --program-prefix | --program-prefi | --program-pref \
951 | --program-pre | --program-pr | --program-p)
952 ac_prev=program_prefix ;;
953 -program-prefix=* | --program-prefix=* | --program-prefi=* \
954 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
955 program_prefix=$ac_optarg ;;
957 -program-suffix | --program-suffix | --program-suffi | --program-suff \
958 | --program-suf | --program-su | --program-s)
959 ac_prev=program_suffix ;;
960 -program-suffix=* | --program-suffix=* | --program-suffi=* \
961 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
962 program_suffix=$ac_optarg ;;
964 -program-transform-name | --program-transform-name \
965 | --program-transform-nam | --program-transform-na \
966 | --program-transform-n | --program-transform- \
967 | --program-transform | --program-transfor \
968 | --program-transfo | --program-transf \
969 | --program-trans | --program-tran \
970 | --progr-tra | --program-tr | --program-t)
971 ac_prev=program_transform_name ;;
972 -program-transform-name=* | --program-transform-name=* \
973 | --program-transform-nam=* | --program-transform-na=* \
974 | --program-transform-n=* | --program-transform-=* \
975 | --program-transform=* | --program-transfor=* \
976 | --program-transfo=* | --program-transf=* \
977 | --program-trans=* | --program-tran=* \
978 | --progr-tra=* | --program-tr=* | --program-t=*)
979 program_transform_name=$ac_optarg ;;
981 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
982 ac_prev=pdfdir ;;
983 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
984 pdfdir=$ac_optarg ;;
986 -psdir | --psdir | --psdi | --psd | --ps)
987 ac_prev=psdir ;;
988 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
989 psdir=$ac_optarg ;;
991 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
992 | -silent | --silent | --silen | --sile | --sil)
993 silent=yes ;;
995 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
996 ac_prev=sbindir ;;
997 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
998 | --sbi=* | --sb=*)
999 sbindir=$ac_optarg ;;
1001 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1002 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1003 | --sharedst | --shareds | --shared | --share | --shar \
1004 | --sha | --sh)
1005 ac_prev=sharedstatedir ;;
1006 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1007 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1008 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1009 | --sha=* | --sh=*)
1010 sharedstatedir=$ac_optarg ;;
1012 -site | --site | --sit)
1013 ac_prev=site ;;
1014 -site=* | --site=* | --sit=*)
1015 site=$ac_optarg ;;
1017 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1018 ac_prev=srcdir ;;
1019 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1020 srcdir=$ac_optarg ;;
1022 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1023 | --syscon | --sysco | --sysc | --sys | --sy)
1024 ac_prev=sysconfdir ;;
1025 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1026 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1027 sysconfdir=$ac_optarg ;;
1029 -target | --target | --targe | --targ | --tar | --ta | --t)
1030 ac_prev=target_alias ;;
1031 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1032 target_alias=$ac_optarg ;;
1034 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1035 verbose=yes ;;
1037 -version | --version | --versio | --versi | --vers | -V)
1038 ac_init_version=: ;;
1040 -with-* | --with-*)
1041 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1044 { echo "$as_me: error: invalid package name: $ac_package" >&2
1045 { (exit 1); exit 1; }; }
1046 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1047 eval with_$ac_package=\$ac_optarg ;;
1049 -without-* | --without-*)
1050 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1051 # Reject names that are not valid shell variable names.
1052 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053 { echo "$as_me: error: invalid package name: $ac_package" >&2
1054 { (exit 1); exit 1; }; }
1055 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1056 eval with_$ac_package=no ;;
1058 --x)
1059 # Obsolete; use --with-x.
1060 with_x=yes ;;
1062 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1063 | --x-incl | --x-inc | --x-in | --x-i)
1064 ac_prev=x_includes ;;
1065 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1066 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1067 x_includes=$ac_optarg ;;
1069 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1070 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1071 ac_prev=x_libraries ;;
1072 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1073 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1074 x_libraries=$ac_optarg ;;
1076 -*) { echo "$as_me: error: unrecognized option: $ac_option
1077 Try \`$0 --help' for more information." >&2
1078 { (exit 1); exit 1; }; }
1081 *=*)
1082 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1083 # Reject names that are not valid shell variable names.
1084 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1085 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1086 { (exit 1); exit 1; }; }
1087 eval $ac_envvar=\$ac_optarg
1088 export $ac_envvar ;;
1091 # FIXME: should be removed in autoconf 3.0.
1092 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1093 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1094 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1095 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1098 esac
1099 done
1101 if test -n "$ac_prev"; then
1102 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1103 { echo "$as_me: error: missing argument to $ac_option" >&2
1104 { (exit 1); exit 1; }; }
1107 # Be sure to have absolute directory names.
1108 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1109 datadir sysconfdir sharedstatedir localstatedir includedir \
1110 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1111 libdir localedir mandir
1113 eval ac_val=\$$ac_var
1114 case $ac_val in
1115 [\\/$]* | ?:[\\/]* ) continue;;
1116 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1117 esac
1118 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1119 { (exit 1); exit 1; }; }
1120 done
1122 # There might be people who depend on the old broken behavior: `$host'
1123 # used to hold the argument of --host etc.
1124 # FIXME: To remove some day.
1125 build=$build_alias
1126 host=$host_alias
1127 target=$target_alias
1129 # FIXME: To remove some day.
1130 if test "x$host_alias" != x; then
1131 if test "x$build_alias" = x; then
1132 cross_compiling=maybe
1133 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1134 If a cross compiler is detected then cross compile mode will be used." >&2
1135 elif test "x$build_alias" != "x$host_alias"; then
1136 cross_compiling=yes
1140 ac_tool_prefix=
1141 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1143 test "$silent" = yes && exec 6>/dev/null
1146 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1147 ac_ls_di=`ls -di .` &&
1148 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1149 { echo "$as_me: error: Working directory cannot be determined" >&2
1150 { (exit 1); exit 1; }; }
1151 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1152 { echo "$as_me: error: pwd does not report name of working directory" >&2
1153 { (exit 1); exit 1; }; }
1156 # Find the source files, if location was not specified.
1157 if test -z "$srcdir"; then
1158 ac_srcdir_defaulted=yes
1159 # Try the directory containing this script, then the parent directory.
1160 ac_confdir=`$as_dirname -- "$0" ||
1161 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1162 X"$0" : 'X\(//\)[^/]' \| \
1163 X"$0" : 'X\(//\)$' \| \
1164 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1165 echo X"$0" |
1166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1167 s//\1/
1170 /^X\(\/\/\)[^/].*/{
1171 s//\1/
1174 /^X\(\/\/\)$/{
1175 s//\1/
1178 /^X\(\/\).*/{
1179 s//\1/
1182 s/.*/./; q'`
1183 srcdir=$ac_confdir
1184 if test ! -r "$srcdir/$ac_unique_file"; then
1185 srcdir=..
1187 else
1188 ac_srcdir_defaulted=no
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1191 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1192 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1193 { (exit 1); exit 1; }; }
1195 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1196 ac_abs_confdir=`(
1197 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1198 { (exit 1); exit 1; }; }
1199 pwd)`
1200 # When building in place, set srcdir=.
1201 if test "$ac_abs_confdir" = "$ac_pwd"; then
1202 srcdir=.
1204 # Remove unnecessary trailing slashes from srcdir.
1205 # Double slashes in file names in object file debugging info
1206 # mess up M-x gdb in Emacs.
1207 case $srcdir in
1208 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1209 esac
1210 for ac_var in $ac_precious_vars; do
1211 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1212 eval ac_env_${ac_var}_value=\$${ac_var}
1213 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1214 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1215 done
1218 # Report the --help message.
1220 if test "$ac_init_help" = "long"; then
1221 # Omit some internal or obsolete options to make the list less imposing.
1222 # This message is too long to be a string in the A/UX 3.1 sh.
1223 cat <<_ACEOF
1224 \`configure' configures Alignment Visualization Tool alpha to adapt to many kinds of systems.
1226 Usage: $0 [OPTION]... [VAR=VALUE]...
1228 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1229 VAR=VALUE. See below for descriptions of some of the useful variables.
1231 Defaults for the options are specified in brackets.
1233 Configuration:
1234 -h, --help display this help and exit
1235 --help=short display options specific to this package
1236 --help=recursive display the short help of all the included packages
1237 -V, --version display version information and exit
1238 -q, --quiet, --silent do not print \`checking...' messages
1239 --cache-file=FILE cache test results in FILE [disabled]
1240 -C, --config-cache alias for \`--cache-file=config.cache'
1241 -n, --no-create do not create output files
1242 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1244 Installation directories:
1245 --prefix=PREFIX install architecture-independent files in PREFIX
1246 [$ac_default_prefix]
1247 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1248 [PREFIX]
1250 By default, \`make install' will install all the files in
1251 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1252 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1253 for instance \`--prefix=\$HOME'.
1255 For better control, use the options below.
1257 Fine tuning of the installation directories:
1258 --bindir=DIR user executables [EPREFIX/bin]
1259 --sbindir=DIR system admin executables [EPREFIX/sbin]
1260 --libexecdir=DIR program executables [EPREFIX/libexec]
1261 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1262 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1263 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1264 --libdir=DIR object code libraries [EPREFIX/lib]
1265 --includedir=DIR C header files [PREFIX/include]
1266 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1267 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1268 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1269 --infodir=DIR info documentation [DATAROOTDIR/info]
1270 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1271 --mandir=DIR man documentation [DATAROOTDIR/man]
1272 --docdir=DIR documentation root [DATAROOTDIR/doc/alignment-visualization-tool]
1273 --htmldir=DIR html documentation [DOCDIR]
1274 --dvidir=DIR dvi documentation [DOCDIR]
1275 --pdfdir=DIR pdf documentation [DOCDIR]
1276 --psdir=DIR ps documentation [DOCDIR]
1277 _ACEOF
1279 cat <<\_ACEOF
1281 Program names:
1282 --program-prefix=PREFIX prepend PREFIX to installed program names
1283 --program-suffix=SUFFIX append SUFFIX to installed program names
1284 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1285 _ACEOF
1288 if test -n "$ac_init_help"; then
1289 case $ac_init_help in
1290 short | recursive ) echo "Configuration of Alignment Visualization Tool alpha:";;
1291 esac
1292 cat <<\_ACEOF
1294 Optional Features:
1295 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1296 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1297 --disable-dependency-tracking speeds up one-time build
1298 --enable-dependency-tracking do not reject slow dependency extractors
1300 Some influential environment variables:
1301 CXX C++ compiler command
1302 CXXFLAGS C++ compiler flags
1303 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1304 nonstandard directory <lib dir>
1305 LIBS libraries to pass to the linker, e.g. -l<library>
1306 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1307 you have headers in a nonstandard directory <include dir>
1308 PKG_CONFIG path to pkg-config utility
1309 GTKMM_CFLAGS
1310 C compiler flags for GTKMM, overriding pkg-config
1311 GTKMM_LIBS linker flags for GTKMM, overriding pkg-config
1312 LIBGLADEMM_CFLAGS
1313 C compiler flags for LIBGLADEMM, overriding pkg-config
1314 LIBGLADEMM_LIBS
1315 linker flags for LIBGLADEMM, overriding pkg-config
1316 CXXCPP C++ preprocessor
1318 Use these variables to override the choices made by `configure' or to help
1319 it to find libraries and programs with nonstandard names/locations.
1321 Report bugs to <cs_snx@stu.ust.hk>.
1322 _ACEOF
1323 ac_status=$?
1326 if test "$ac_init_help" = "recursive"; then
1327 # If there are subdirs, report their specific --help.
1328 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1329 test -d "$ac_dir" || continue
1330 ac_builddir=.
1332 case "$ac_dir" in
1333 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1335 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1336 # A ".." for each directory in $ac_dir_suffix.
1337 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1338 case $ac_top_builddir_sub in
1339 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1340 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1341 esac ;;
1342 esac
1343 ac_abs_top_builddir=$ac_pwd
1344 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1345 # for backward compatibility:
1346 ac_top_builddir=$ac_top_build_prefix
1348 case $srcdir in
1349 .) # We are building in place.
1350 ac_srcdir=.
1351 ac_top_srcdir=$ac_top_builddir_sub
1352 ac_abs_top_srcdir=$ac_pwd ;;
1353 [\\/]* | ?:[\\/]* ) # Absolute name.
1354 ac_srcdir=$srcdir$ac_dir_suffix;
1355 ac_top_srcdir=$srcdir
1356 ac_abs_top_srcdir=$srcdir ;;
1357 *) # Relative name.
1358 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1359 ac_top_srcdir=$ac_top_build_prefix$srcdir
1360 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1361 esac
1362 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1364 cd "$ac_dir" || { ac_status=$?; continue; }
1365 # Check for guested configure.
1366 if test -f "$ac_srcdir/configure.gnu"; then
1367 echo &&
1368 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1369 elif test -f "$ac_srcdir/configure"; then
1370 echo &&
1371 $SHELL "$ac_srcdir/configure" --help=recursive
1372 else
1373 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1374 fi || ac_status=$?
1375 cd "$ac_pwd" || { ac_status=$?; break; }
1376 done
1379 test -n "$ac_init_help" && exit $ac_status
1380 if $ac_init_version; then
1381 cat <<\_ACEOF
1382 Alignment Visualization Tool configure alpha
1383 generated by GNU Autoconf 2.61
1385 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1386 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1387 This configure script is free software; the Free Software Foundation
1388 gives unlimited permission to copy, distribute and modify it.
1389 _ACEOF
1390 exit
1392 cat >config.log <<_ACEOF
1393 This file contains any messages produced by compilers while
1394 running configure, to aid debugging if configure makes a mistake.
1396 It was created by Alignment Visualization Tool $as_me alpha, which was
1397 generated by GNU Autoconf 2.61. Invocation command line was
1399 $ $0 $@
1401 _ACEOF
1402 exec 5>>config.log
1404 cat <<_ASUNAME
1405 ## --------- ##
1406 ## Platform. ##
1407 ## --------- ##
1409 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1410 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1411 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1412 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1413 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1415 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1416 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1418 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1419 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1420 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1421 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1422 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1423 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1424 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1426 _ASUNAME
1428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1429 for as_dir in $PATH
1431 IFS=$as_save_IFS
1432 test -z "$as_dir" && as_dir=.
1433 echo "PATH: $as_dir"
1434 done
1435 IFS=$as_save_IFS
1437 } >&5
1439 cat >&5 <<_ACEOF
1442 ## ----------- ##
1443 ## Core tests. ##
1444 ## ----------- ##
1446 _ACEOF
1449 # Keep a trace of the command line.
1450 # Strip out --no-create and --no-recursion so they do not pile up.
1451 # Strip out --silent because we don't want to record it for future runs.
1452 # Also quote any args containing shell meta-characters.
1453 # Make two passes to allow for proper duplicate-argument suppression.
1454 ac_configure_args=
1455 ac_configure_args0=
1456 ac_configure_args1=
1457 ac_must_keep_next=false
1458 for ac_pass in 1 2
1460 for ac_arg
1462 case $ac_arg in
1463 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1464 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1465 | -silent | --silent | --silen | --sile | --sil)
1466 continue ;;
1467 *\'*)
1468 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1469 esac
1470 case $ac_pass in
1471 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1473 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1474 if test $ac_must_keep_next = true; then
1475 ac_must_keep_next=false # Got value, back to normal.
1476 else
1477 case $ac_arg in
1478 *=* | --config-cache | -C | -disable-* | --disable-* \
1479 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1480 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1481 | -with-* | --with-* | -without-* | --without-* | --x)
1482 case "$ac_configure_args0 " in
1483 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1484 esac
1486 -* ) ac_must_keep_next=true ;;
1487 esac
1489 ac_configure_args="$ac_configure_args '$ac_arg'"
1491 esac
1492 done
1493 done
1494 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1495 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1497 # When interrupted or exit'd, cleanup temporary files, and complete
1498 # config.log. We remove comments because anyway the quotes in there
1499 # would cause problems or look ugly.
1500 # WARNING: Use '\'' to represent an apostrophe within the trap.
1501 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1502 trap 'exit_status=$?
1503 # Save into config.log some information that might help in debugging.
1505 echo
1507 cat <<\_ASBOX
1508 ## ---------------- ##
1509 ## Cache variables. ##
1510 ## ---------------- ##
1511 _ASBOX
1512 echo
1513 # The following way of writing the cache mishandles newlines in values,
1515 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1516 eval ac_val=\$$ac_var
1517 case $ac_val in #(
1518 *${as_nl}*)
1519 case $ac_var in #(
1520 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1521 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1522 esac
1523 case $ac_var in #(
1524 _ | IFS | as_nl) ;; #(
1525 *) $as_unset $ac_var ;;
1526 esac ;;
1527 esac
1528 done
1529 (set) 2>&1 |
1530 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1531 *${as_nl}ac_space=\ *)
1532 sed -n \
1533 "s/'\''/'\''\\\\'\'''\''/g;
1534 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1535 ;; #(
1537 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1539 esac |
1540 sort
1542 echo
1544 cat <<\_ASBOX
1545 ## ----------------- ##
1546 ## Output variables. ##
1547 ## ----------------- ##
1548 _ASBOX
1549 echo
1550 for ac_var in $ac_subst_vars
1552 eval ac_val=\$$ac_var
1553 case $ac_val in
1554 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1555 esac
1556 echo "$ac_var='\''$ac_val'\''"
1557 done | sort
1558 echo
1560 if test -n "$ac_subst_files"; then
1561 cat <<\_ASBOX
1562 ## ------------------- ##
1563 ## File substitutions. ##
1564 ## ------------------- ##
1565 _ASBOX
1566 echo
1567 for ac_var in $ac_subst_files
1569 eval ac_val=\$$ac_var
1570 case $ac_val in
1571 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1572 esac
1573 echo "$ac_var='\''$ac_val'\''"
1574 done | sort
1575 echo
1578 if test -s confdefs.h; then
1579 cat <<\_ASBOX
1580 ## ----------- ##
1581 ## confdefs.h. ##
1582 ## ----------- ##
1583 _ASBOX
1584 echo
1585 cat confdefs.h
1586 echo
1588 test "$ac_signal" != 0 &&
1589 echo "$as_me: caught signal $ac_signal"
1590 echo "$as_me: exit $exit_status"
1591 } >&5
1592 rm -f core *.core core.conftest.* &&
1593 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1594 exit $exit_status
1596 for ac_signal in 1 2 13 15; do
1597 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1598 done
1599 ac_signal=0
1601 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1602 rm -f -r conftest* confdefs.h
1604 # Predefined preprocessor variables.
1606 cat >>confdefs.h <<_ACEOF
1607 #define PACKAGE_NAME "$PACKAGE_NAME"
1608 _ACEOF
1611 cat >>confdefs.h <<_ACEOF
1612 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1613 _ACEOF
1616 cat >>confdefs.h <<_ACEOF
1617 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1618 _ACEOF
1621 cat >>confdefs.h <<_ACEOF
1622 #define PACKAGE_STRING "$PACKAGE_STRING"
1623 _ACEOF
1626 cat >>confdefs.h <<_ACEOF
1627 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1628 _ACEOF
1631 # Let the site file select an alternate cache file if it wants to.
1632 # Prefer explicitly selected file to automatically selected ones.
1633 if test -n "$CONFIG_SITE"; then
1634 set x "$CONFIG_SITE"
1635 elif test "x$prefix" != xNONE; then
1636 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1637 else
1638 set x "$ac_default_prefix/share/config.site" \
1639 "$ac_default_prefix/etc/config.site"
1641 shift
1642 for ac_site_file
1644 if test -r "$ac_site_file"; then
1645 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1646 echo "$as_me: loading site script $ac_site_file" >&6;}
1647 sed 's/^/| /' "$ac_site_file" >&5
1648 . "$ac_site_file"
1650 done
1652 if test -r "$cache_file"; then
1653 # Some versions of bash will fail to source /dev/null (special
1654 # files actually), so we avoid doing that.
1655 if test -f "$cache_file"; then
1656 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1657 echo "$as_me: loading cache $cache_file" >&6;}
1658 case $cache_file in
1659 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1660 *) . "./$cache_file";;
1661 esac
1663 else
1664 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1665 echo "$as_me: creating cache $cache_file" >&6;}
1666 >$cache_file
1669 # Check that the precious variables saved in the cache have kept the same
1670 # value.
1671 ac_cache_corrupted=false
1672 for ac_var in $ac_precious_vars; do
1673 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1674 eval ac_new_set=\$ac_env_${ac_var}_set
1675 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1676 eval ac_new_val=\$ac_env_${ac_var}_value
1677 case $ac_old_set,$ac_new_set in
1678 set,)
1679 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1680 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1681 ac_cache_corrupted=: ;;
1682 ,set)
1683 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1684 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1685 ac_cache_corrupted=: ;;
1686 ,);;
1688 if test "x$ac_old_val" != "x$ac_new_val"; then
1689 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1690 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1691 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1692 echo "$as_me: former value: $ac_old_val" >&2;}
1693 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1694 echo "$as_me: current value: $ac_new_val" >&2;}
1695 ac_cache_corrupted=:
1696 fi;;
1697 esac
1698 # Pass precious variables to config.status.
1699 if test "$ac_new_set" = set; then
1700 case $ac_new_val in
1701 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1702 *) ac_arg=$ac_var=$ac_new_val ;;
1703 esac
1704 case " $ac_configure_args " in
1705 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1706 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1707 esac
1709 done
1710 if $ac_cache_corrupted; then
1711 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1712 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1713 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1714 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1715 { (exit 1); exit 1; }; }
1742 ac_ext=c
1743 ac_cpp='$CPP $CPPFLAGS'
1744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1750 am__api_version='1.10'
1752 ac_aux_dir=
1753 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1754 if test -f "$ac_dir/install-sh"; then
1755 ac_aux_dir=$ac_dir
1756 ac_install_sh="$ac_aux_dir/install-sh -c"
1757 break
1758 elif test -f "$ac_dir/install.sh"; then
1759 ac_aux_dir=$ac_dir
1760 ac_install_sh="$ac_aux_dir/install.sh -c"
1761 break
1762 elif test -f "$ac_dir/shtool"; then
1763 ac_aux_dir=$ac_dir
1764 ac_install_sh="$ac_aux_dir/shtool install -c"
1765 break
1767 done
1768 if test -z "$ac_aux_dir"; then
1769 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1770 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1771 { (exit 1); exit 1; }; }
1774 # These three variables are undocumented and unsupported,
1775 # and are intended to be withdrawn in a future Autoconf release.
1776 # They can cause serious problems if a builder's source tree is in a directory
1777 # whose full name contains unusual characters.
1778 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1779 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1780 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1783 # Find a good install program. We prefer a C program (faster),
1784 # so one script is as good as another. But avoid the broken or
1785 # incompatible versions:
1786 # SysV /etc/install, /usr/sbin/install
1787 # SunOS /usr/etc/install
1788 # IRIX /sbin/install
1789 # AIX /bin/install
1790 # AmigaOS /C/install, which installs bootblocks on floppy discs
1791 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1792 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1793 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1794 # OS/2's system install, which has a completely different semantic
1795 # ./install, which can be erroneously created by make from ./install.sh.
1796 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1797 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1798 if test -z "$INSTALL"; then
1799 if test "${ac_cv_path_install+set}" = set; then
1800 echo $ECHO_N "(cached) $ECHO_C" >&6
1801 else
1802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1803 for as_dir in $PATH
1805 IFS=$as_save_IFS
1806 test -z "$as_dir" && as_dir=.
1807 # Account for people who put trailing slashes in PATH elements.
1808 case $as_dir/ in
1809 ./ | .// | /cC/* | \
1810 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1811 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1812 /usr/ucb/* ) ;;
1814 # OSF1 and SCO ODT 3.0 have their own names for install.
1815 # Don't use installbsd from OSF since it installs stuff as root
1816 # by default.
1817 for ac_prog in ginstall scoinst install; do
1818 for ac_exec_ext in '' $ac_executable_extensions; do
1819 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1820 if test $ac_prog = install &&
1821 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1822 # AIX install. It has an incompatible calling convention.
1824 elif test $ac_prog = install &&
1825 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1826 # program-specific install script used by HP pwplus--don't use.
1828 else
1829 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1830 break 3
1833 done
1834 done
1836 esac
1837 done
1838 IFS=$as_save_IFS
1842 if test "${ac_cv_path_install+set}" = set; then
1843 INSTALL=$ac_cv_path_install
1844 else
1845 # As a last resort, use the slow shell script. Don't cache a
1846 # value for INSTALL within a source directory, because that will
1847 # break other packages using the cache if that directory is
1848 # removed, or if the value is a relative name.
1849 INSTALL=$ac_install_sh
1852 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1853 echo "${ECHO_T}$INSTALL" >&6; }
1855 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1856 # It thinks the first close brace ends the variable substitution.
1857 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1859 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1861 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1863 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1864 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1865 # Just in case
1866 sleep 1
1867 echo timestamp > conftest.file
1868 # Do `set' in a subshell so we don't clobber the current shell's
1869 # arguments. Must try -L first in case configure is actually a
1870 # symlink; some systems play weird games with the mod time of symlinks
1871 # (eg FreeBSD returns the mod time of the symlink's containing
1872 # directory).
1873 if (
1874 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1875 if test "$*" = "X"; then
1876 # -L didn't work.
1877 set X `ls -t $srcdir/configure conftest.file`
1879 rm -f conftest.file
1880 if test "$*" != "X $srcdir/configure conftest.file" \
1881 && test "$*" != "X conftest.file $srcdir/configure"; then
1883 # If neither matched, then we have a broken ls. This can happen
1884 # if, for instance, CONFIG_SHELL is bash and it inherits a
1885 # broken ls alias from the environment. This has actually
1886 # happened. Such a system could not be considered "sane".
1887 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1888 alias in your environment" >&5
1889 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1890 alias in your environment" >&2;}
1891 { (exit 1); exit 1; }; }
1894 test "$2" = conftest.file
1896 then
1897 # Ok.
1899 else
1900 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1901 Check your system clock" >&5
1902 echo "$as_me: error: newly created file is older than distributed files!
1903 Check your system clock" >&2;}
1904 { (exit 1); exit 1; }; }
1906 { echo "$as_me:$LINENO: result: yes" >&5
1907 echo "${ECHO_T}yes" >&6; }
1908 test "$program_prefix" != NONE &&
1909 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1910 # Use a double $ so make ignores it.
1911 test "$program_suffix" != NONE &&
1912 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1913 # Double any \ or $. echo might interpret backslashes.
1914 # By default was `s,x,x', remove it if useless.
1915 cat <<\_ACEOF >conftest.sed
1916 s/[\\$]/&&/g;s/;s,x,x,$//
1917 _ACEOF
1918 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1919 rm -f conftest.sed
1921 # expand $ac_aux_dir to an absolute path
1922 am_aux_dir=`cd $ac_aux_dir && pwd`
1924 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1925 # Use eval to expand $SHELL
1926 if eval "$MISSING --run true"; then
1927 am_missing_run="$MISSING --run "
1928 else
1929 am_missing_run=
1930 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1931 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1934 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1935 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1936 if test -z "$MKDIR_P"; then
1937 if test "${ac_cv_path_mkdir+set}" = set; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&6
1939 else
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1943 IFS=$as_save_IFS
1944 test -z "$as_dir" && as_dir=.
1945 for ac_prog in mkdir gmkdir; do
1946 for ac_exec_ext in '' $ac_executable_extensions; do
1947 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1948 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1949 'mkdir (GNU coreutils) '* | \
1950 'mkdir (coreutils) '* | \
1951 'mkdir (fileutils) '4.1*)
1952 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1953 break 3;;
1954 esac
1955 done
1956 done
1957 done
1958 IFS=$as_save_IFS
1962 if test "${ac_cv_path_mkdir+set}" = set; then
1963 MKDIR_P="$ac_cv_path_mkdir -p"
1964 else
1965 # As a last resort, use the slow shell script. Don't cache a
1966 # value for MKDIR_P within a source directory, because that will
1967 # break other packages using the cache if that directory is
1968 # removed, or if the value is a relative name.
1969 test -d ./--version && rmdir ./--version
1970 MKDIR_P="$ac_install_sh -d"
1973 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1974 echo "${ECHO_T}$MKDIR_P" >&6; }
1976 mkdir_p="$MKDIR_P"
1977 case $mkdir_p in
1978 [\\/$]* | ?:[\\/]*) ;;
1979 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1980 esac
1982 for ac_prog in gawk mawk nawk awk
1984 # Extract the first word of "$ac_prog", so it can be a program name with args.
1985 set dummy $ac_prog; ac_word=$2
1986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1988 if test "${ac_cv_prog_AWK+set}" = set; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1990 else
1991 if test -n "$AWK"; then
1992 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1993 else
1994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1995 for as_dir in $PATH
1997 IFS=$as_save_IFS
1998 test -z "$as_dir" && as_dir=.
1999 for ac_exec_ext in '' $ac_executable_extensions; do
2000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2001 ac_cv_prog_AWK="$ac_prog"
2002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2003 break 2
2005 done
2006 done
2007 IFS=$as_save_IFS
2011 AWK=$ac_cv_prog_AWK
2012 if test -n "$AWK"; then
2013 { echo "$as_me:$LINENO: result: $AWK" >&5
2014 echo "${ECHO_T}$AWK" >&6; }
2015 else
2016 { echo "$as_me:$LINENO: result: no" >&5
2017 echo "${ECHO_T}no" >&6; }
2021 test -n "$AWK" && break
2022 done
2024 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2025 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2026 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2027 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2028 echo $ECHO_N "(cached) $ECHO_C" >&6
2029 else
2030 cat >conftest.make <<\_ACEOF
2031 SHELL = /bin/sh
2032 all:
2033 @echo '@@@%%%=$(MAKE)=@@@%%%'
2034 _ACEOF
2035 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2036 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2037 *@@@%%%=?*=@@@%%%*)
2038 eval ac_cv_prog_make_${ac_make}_set=yes;;
2040 eval ac_cv_prog_make_${ac_make}_set=no;;
2041 esac
2042 rm -f conftest.make
2044 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2045 { echo "$as_me:$LINENO: result: yes" >&5
2046 echo "${ECHO_T}yes" >&6; }
2047 SET_MAKE=
2048 else
2049 { echo "$as_me:$LINENO: result: no" >&5
2050 echo "${ECHO_T}no" >&6; }
2051 SET_MAKE="MAKE=${MAKE-make}"
2054 rm -rf .tst 2>/dev/null
2055 mkdir .tst 2>/dev/null
2056 if test -d .tst; then
2057 am__leading_dot=.
2058 else
2059 am__leading_dot=_
2061 rmdir .tst 2>/dev/null
2063 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2064 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2065 # is not polluted with repeated "-I."
2066 am__isrc=' -I$(srcdir)'
2067 # test to see if srcdir already configured
2068 if test -f $srcdir/config.status; then
2069 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2070 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2071 { (exit 1); exit 1; }; }
2075 # test whether we have cygpath
2076 if test -z "$CYGPATH_W"; then
2077 if (cygpath --version) >/dev/null 2>/dev/null; then
2078 CYGPATH_W='cygpath -w'
2079 else
2080 CYGPATH_W=echo
2085 # Define the identity of the package.
2086 PACKAGE='alignment-visualization-tool'
2087 VERSION='alpha'
2090 cat >>confdefs.h <<_ACEOF
2091 #define PACKAGE "$PACKAGE"
2092 _ACEOF
2095 cat >>confdefs.h <<_ACEOF
2096 #define VERSION "$VERSION"
2097 _ACEOF
2099 # Some tools Automake needs.
2101 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2104 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2107 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2110 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2113 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2115 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2117 # Installed binaries are usually stripped using `strip' when the user
2118 # run `make install-strip'. However `strip' might not be the right
2119 # tool to use in cross-compilation environments, therefore Automake
2120 # will honor the `STRIP' environment variable to overrule this program.
2121 if test "$cross_compiling" != no; then
2122 if test -n "$ac_tool_prefix"; then
2123 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2124 set dummy ${ac_tool_prefix}strip; ac_word=$2
2125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2127 if test "${ac_cv_prog_STRIP+set}" = set; then
2128 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 else
2130 if test -n "$STRIP"; then
2131 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2132 else
2133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134 for as_dir in $PATH
2136 IFS=$as_save_IFS
2137 test -z "$as_dir" && as_dir=.
2138 for ac_exec_ext in '' $ac_executable_extensions; do
2139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2140 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2142 break 2
2144 done
2145 done
2146 IFS=$as_save_IFS
2150 STRIP=$ac_cv_prog_STRIP
2151 if test -n "$STRIP"; then
2152 { echo "$as_me:$LINENO: result: $STRIP" >&5
2153 echo "${ECHO_T}$STRIP" >&6; }
2154 else
2155 { echo "$as_me:$LINENO: result: no" >&5
2156 echo "${ECHO_T}no" >&6; }
2161 if test -z "$ac_cv_prog_STRIP"; then
2162 ac_ct_STRIP=$STRIP
2163 # Extract the first word of "strip", so it can be a program name with args.
2164 set dummy strip; ac_word=$2
2165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2167 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 else
2170 if test -n "$ac_ct_STRIP"; then
2171 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2172 else
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174 for as_dir in $PATH
2176 IFS=$as_save_IFS
2177 test -z "$as_dir" && as_dir=.
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2180 ac_cv_prog_ac_ct_STRIP="strip"
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2182 break 2
2184 done
2185 done
2186 IFS=$as_save_IFS
2190 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2191 if test -n "$ac_ct_STRIP"; then
2192 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2193 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2194 else
2195 { echo "$as_me:$LINENO: result: no" >&5
2196 echo "${ECHO_T}no" >&6; }
2199 if test "x$ac_ct_STRIP" = x; then
2200 STRIP=":"
2201 else
2202 case $cross_compiling:$ac_tool_warned in
2203 yes:)
2204 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2205 whose name does not start with the host triplet. If you think this
2206 configuration is useful to you, please write to autoconf@gnu.org." >&5
2207 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2208 whose name does not start with the host triplet. If you think this
2209 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2210 ac_tool_warned=yes ;;
2211 esac
2212 STRIP=$ac_ct_STRIP
2214 else
2215 STRIP="$ac_cv_prog_STRIP"
2219 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2221 # We need awk for the "check" target. The system "awk" is bad on
2222 # some platforms.
2223 # Always define AMTAR for backward compatibility.
2225 AMTAR=${AMTAR-"${am_missing_run}tar"}
2227 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2234 # Checks for programs.
2235 ac_ext=cpp
2236 ac_cpp='$CXXCPP $CPPFLAGS'
2237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2241 ac_ext=cpp
2242 ac_cpp='$CXXCPP $CPPFLAGS'
2243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2246 if test -z "$CXX"; then
2247 if test -n "$CCC"; then
2248 CXX=$CCC
2249 else
2250 if test -n "$ac_tool_prefix"; then
2251 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2253 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2254 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2257 if test "${ac_cv_prog_CXX+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2259 else
2260 if test -n "$CXX"; then
2261 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2262 else
2263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2264 for as_dir in $PATH
2266 IFS=$as_save_IFS
2267 test -z "$as_dir" && as_dir=.
2268 for ac_exec_ext in '' $ac_executable_extensions; do
2269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2270 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2272 break 2
2274 done
2275 done
2276 IFS=$as_save_IFS
2280 CXX=$ac_cv_prog_CXX
2281 if test -n "$CXX"; then
2282 { echo "$as_me:$LINENO: result: $CXX" >&5
2283 echo "${ECHO_T}$CXX" >&6; }
2284 else
2285 { echo "$as_me:$LINENO: result: no" >&5
2286 echo "${ECHO_T}no" >&6; }
2290 test -n "$CXX" && break
2291 done
2293 if test -z "$CXX"; then
2294 ac_ct_CXX=$CXX
2295 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
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 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2301 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 else
2304 if test -n "$ac_ct_CXX"; then
2305 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
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_ac_ct_CXX="$ac_prog"
2315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 break 2
2318 done
2319 done
2320 IFS=$as_save_IFS
2324 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2325 if test -n "$ac_ct_CXX"; then
2326 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2327 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2328 else
2329 { echo "$as_me:$LINENO: result: no" >&5
2330 echo "${ECHO_T}no" >&6; }
2334 test -n "$ac_ct_CXX" && break
2335 done
2337 if test "x$ac_ct_CXX" = x; then
2338 CXX="g++"
2339 else
2340 case $cross_compiling:$ac_tool_warned in
2341 yes:)
2342 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2343 whose name does not start with the host triplet. If you think this
2344 configuration is useful to you, please write to autoconf@gnu.org." >&5
2345 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2346 whose name does not start with the host triplet. If you think this
2347 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2348 ac_tool_warned=yes ;;
2349 esac
2350 CXX=$ac_ct_CXX
2356 # Provide some information about the compiler.
2357 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2358 ac_compiler=`set X $ac_compile; echo $2`
2359 { (ac_try="$ac_compiler --version >&5"
2360 case "(($ac_try" in
2361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2362 *) ac_try_echo=$ac_try;;
2363 esac
2364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2365 (eval "$ac_compiler --version >&5") 2>&5
2366 ac_status=$?
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }
2369 { (ac_try="$ac_compiler -v >&5"
2370 case "(($ac_try" in
2371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2372 *) ac_try_echo=$ac_try;;
2373 esac
2374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2375 (eval "$ac_compiler -v >&5") 2>&5
2376 ac_status=$?
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); }
2379 { (ac_try="$ac_compiler -V >&5"
2380 case "(($ac_try" in
2381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2382 *) ac_try_echo=$ac_try;;
2383 esac
2384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2385 (eval "$ac_compiler -V >&5") 2>&5
2386 ac_status=$?
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); }
2390 cat >conftest.$ac_ext <<_ACEOF
2391 /* confdefs.h. */
2392 _ACEOF
2393 cat confdefs.h >>conftest.$ac_ext
2394 cat >>conftest.$ac_ext <<_ACEOF
2395 /* end confdefs.h. */
2398 main ()
2402 return 0;
2404 _ACEOF
2405 ac_clean_files_save=$ac_clean_files
2406 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2407 # Try to create an executable without -o first, disregard a.out.
2408 # It will help us diagnose broken compilers, and finding out an intuition
2409 # of exeext.
2410 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2411 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2412 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2414 # List of possible output files, starting from the most likely.
2415 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2416 # only as a last resort. b.out is created by i960 compilers.
2417 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2419 # The IRIX 6 linker writes into existing files which may not be
2420 # executable, retaining their permissions. Remove them first so a
2421 # subsequent execution test works.
2422 ac_rmfiles=
2423 for ac_file in $ac_files
2425 case $ac_file in
2426 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2427 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2428 esac
2429 done
2430 rm -f $ac_rmfiles
2432 if { (ac_try="$ac_link_default"
2433 case "(($ac_try" in
2434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2435 *) ac_try_echo=$ac_try;;
2436 esac
2437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2438 (eval "$ac_link_default") 2>&5
2439 ac_status=$?
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); }; then
2442 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2443 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2444 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2445 # so that the user can short-circuit this test for compilers unknown to
2446 # Autoconf.
2447 for ac_file in $ac_files ''
2449 test -f "$ac_file" || continue
2450 case $ac_file in
2451 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2453 [ab].out )
2454 # We found the default executable, but exeext='' is most
2455 # certainly right.
2456 break;;
2457 *.* )
2458 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2459 then :; else
2460 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2462 # We set ac_cv_exeext here because the later test for it is not
2463 # safe: cross compilers may not add the suffix if given an `-o'
2464 # argument, so we may need to know it at that point already.
2465 # Even if this section looks crufty: it has the advantage of
2466 # actually working.
2467 break;;
2469 break;;
2470 esac
2471 done
2472 test "$ac_cv_exeext" = no && ac_cv_exeext=
2474 else
2475 ac_file=''
2478 { echo "$as_me:$LINENO: result: $ac_file" >&5
2479 echo "${ECHO_T}$ac_file" >&6; }
2480 if test -z "$ac_file"; then
2481 echo "$as_me: failed program was:" >&5
2482 sed 's/^/| /' conftest.$ac_ext >&5
2484 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2485 See \`config.log' for more details." >&5
2486 echo "$as_me: error: C++ compiler cannot create executables
2487 See \`config.log' for more details." >&2;}
2488 { (exit 77); exit 77; }; }
2491 ac_exeext=$ac_cv_exeext
2493 # Check that the compiler produces executables we can run. If not, either
2494 # the compiler is broken, or we cross compile.
2495 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2496 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2497 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2498 # If not cross compiling, check that we can run a simple program.
2499 if test "$cross_compiling" != yes; then
2500 if { ac_try='./$ac_file'
2501 { (case "(($ac_try" in
2502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2503 *) ac_try_echo=$ac_try;;
2504 esac
2505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2506 (eval "$ac_try") 2>&5
2507 ac_status=$?
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; }; then
2510 cross_compiling=no
2511 else
2512 if test "$cross_compiling" = maybe; then
2513 cross_compiling=yes
2514 else
2515 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2516 If you meant to cross compile, use \`--host'.
2517 See \`config.log' for more details." >&5
2518 echo "$as_me: error: cannot run C++ compiled programs.
2519 If you meant to cross compile, use \`--host'.
2520 See \`config.log' for more details." >&2;}
2521 { (exit 1); exit 1; }; }
2525 { echo "$as_me:$LINENO: result: yes" >&5
2526 echo "${ECHO_T}yes" >&6; }
2528 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2529 ac_clean_files=$ac_clean_files_save
2530 # Check that the compiler produces executables we can run. If not, either
2531 # the compiler is broken, or we cross compile.
2532 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2533 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2534 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2535 echo "${ECHO_T}$cross_compiling" >&6; }
2537 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2538 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2539 if { (ac_try="$ac_link"
2540 case "(($ac_try" in
2541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2542 *) ac_try_echo=$ac_try;;
2543 esac
2544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2545 (eval "$ac_link") 2>&5
2546 ac_status=$?
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; then
2549 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2550 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2551 # work properly (i.e., refer to `conftest.exe'), while it won't with
2552 # `rm'.
2553 for ac_file in conftest.exe conftest conftest.*; do
2554 test -f "$ac_file" || continue
2555 case $ac_file in
2556 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2557 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2558 break;;
2559 * ) break;;
2560 esac
2561 done
2562 else
2563 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2564 See \`config.log' for more details." >&5
2565 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2566 See \`config.log' for more details." >&2;}
2567 { (exit 1); exit 1; }; }
2570 rm -f conftest$ac_cv_exeext
2571 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2572 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2574 rm -f conftest.$ac_ext
2575 EXEEXT=$ac_cv_exeext
2576 ac_exeext=$EXEEXT
2577 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2578 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2579 if test "${ac_cv_objext+set}" = set; then
2580 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 else
2582 cat >conftest.$ac_ext <<_ACEOF
2583 /* confdefs.h. */
2584 _ACEOF
2585 cat confdefs.h >>conftest.$ac_ext
2586 cat >>conftest.$ac_ext <<_ACEOF
2587 /* end confdefs.h. */
2590 main ()
2594 return 0;
2596 _ACEOF
2597 rm -f conftest.o conftest.obj
2598 if { (ac_try="$ac_compile"
2599 case "(($ac_try" in
2600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2601 *) ac_try_echo=$ac_try;;
2602 esac
2603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2604 (eval "$ac_compile") 2>&5
2605 ac_status=$?
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }; then
2608 for ac_file in conftest.o conftest.obj conftest.*; do
2609 test -f "$ac_file" || continue;
2610 case $ac_file in
2611 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2612 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2613 break;;
2614 esac
2615 done
2616 else
2617 echo "$as_me: failed program was:" >&5
2618 sed 's/^/| /' conftest.$ac_ext >&5
2620 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2621 See \`config.log' for more details." >&5
2622 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2623 See \`config.log' for more details." >&2;}
2624 { (exit 1); exit 1; }; }
2627 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2629 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2630 echo "${ECHO_T}$ac_cv_objext" >&6; }
2631 OBJEXT=$ac_cv_objext
2632 ac_objext=$OBJEXT
2633 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2634 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2635 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2636 echo $ECHO_N "(cached) $ECHO_C" >&6
2637 else
2638 cat >conftest.$ac_ext <<_ACEOF
2639 /* confdefs.h. */
2640 _ACEOF
2641 cat confdefs.h >>conftest.$ac_ext
2642 cat >>conftest.$ac_ext <<_ACEOF
2643 /* end confdefs.h. */
2646 main ()
2648 #ifndef __GNUC__
2649 choke me
2650 #endif
2653 return 0;
2655 _ACEOF
2656 rm -f conftest.$ac_objext
2657 if { (ac_try="$ac_compile"
2658 case "(($ac_try" in
2659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2660 *) ac_try_echo=$ac_try;;
2661 esac
2662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2663 (eval "$ac_compile") 2>conftest.er1
2664 ac_status=$?
2665 grep -v '^ *+' conftest.er1 >conftest.err
2666 rm -f conftest.er1
2667 cat conftest.err >&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); } && {
2670 test -z "$ac_cxx_werror_flag" ||
2671 test ! -s conftest.err
2672 } && test -s conftest.$ac_objext; then
2673 ac_compiler_gnu=yes
2674 else
2675 echo "$as_me: failed program was:" >&5
2676 sed 's/^/| /' conftest.$ac_ext >&5
2678 ac_compiler_gnu=no
2681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2682 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2685 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2686 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2687 GXX=`test $ac_compiler_gnu = yes && echo yes`
2688 ac_test_CXXFLAGS=${CXXFLAGS+set}
2689 ac_save_CXXFLAGS=$CXXFLAGS
2690 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2691 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
2692 if test "${ac_cv_prog_cxx_g+set}" = set; then
2693 echo $ECHO_N "(cached) $ECHO_C" >&6
2694 else
2695 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2696 ac_cxx_werror_flag=yes
2697 ac_cv_prog_cxx_g=no
2698 CXXFLAGS="-g"
2699 cat >conftest.$ac_ext <<_ACEOF
2700 /* confdefs.h. */
2701 _ACEOF
2702 cat confdefs.h >>conftest.$ac_ext
2703 cat >>conftest.$ac_ext <<_ACEOF
2704 /* end confdefs.h. */
2707 main ()
2711 return 0;
2713 _ACEOF
2714 rm -f conftest.$ac_objext
2715 if { (ac_try="$ac_compile"
2716 case "(($ac_try" in
2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2719 esac
2720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2721 (eval "$ac_compile") 2>conftest.er1
2722 ac_status=$?
2723 grep -v '^ *+' conftest.er1 >conftest.err
2724 rm -f conftest.er1
2725 cat conftest.err >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); } && {
2728 test -z "$ac_cxx_werror_flag" ||
2729 test ! -s conftest.err
2730 } && test -s conftest.$ac_objext; then
2731 ac_cv_prog_cxx_g=yes
2732 else
2733 echo "$as_me: failed program was:" >&5
2734 sed 's/^/| /' conftest.$ac_ext >&5
2736 CXXFLAGS=""
2737 cat >conftest.$ac_ext <<_ACEOF
2738 /* confdefs.h. */
2739 _ACEOF
2740 cat confdefs.h >>conftest.$ac_ext
2741 cat >>conftest.$ac_ext <<_ACEOF
2742 /* end confdefs.h. */
2745 main ()
2749 return 0;
2751 _ACEOF
2752 rm -f conftest.$ac_objext
2753 if { (ac_try="$ac_compile"
2754 case "(($ac_try" in
2755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2757 esac
2758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2759 (eval "$ac_compile") 2>conftest.er1
2760 ac_status=$?
2761 grep -v '^ *+' conftest.er1 >conftest.err
2762 rm -f conftest.er1
2763 cat conftest.err >&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); } && {
2766 test -z "$ac_cxx_werror_flag" ||
2767 test ! -s conftest.err
2768 } && test -s conftest.$ac_objext; then
2770 else
2771 echo "$as_me: failed program was:" >&5
2772 sed 's/^/| /' conftest.$ac_ext >&5
2774 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2775 CXXFLAGS="-g"
2776 cat >conftest.$ac_ext <<_ACEOF
2777 /* confdefs.h. */
2778 _ACEOF
2779 cat confdefs.h >>conftest.$ac_ext
2780 cat >>conftest.$ac_ext <<_ACEOF
2781 /* end confdefs.h. */
2784 main ()
2788 return 0;
2790 _ACEOF
2791 rm -f conftest.$ac_objext
2792 if { (ac_try="$ac_compile"
2793 case "(($ac_try" in
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795 *) ac_try_echo=$ac_try;;
2796 esac
2797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2798 (eval "$ac_compile") 2>conftest.er1
2799 ac_status=$?
2800 grep -v '^ *+' conftest.er1 >conftest.err
2801 rm -f conftest.er1
2802 cat conftest.err >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); } && {
2805 test -z "$ac_cxx_werror_flag" ||
2806 test ! -s conftest.err
2807 } && test -s conftest.$ac_objext; then
2808 ac_cv_prog_cxx_g=yes
2809 else
2810 echo "$as_me: failed program was:" >&5
2811 sed 's/^/| /' conftest.$ac_ext >&5
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2823 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2825 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2826 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
2827 if test "$ac_test_CXXFLAGS" = set; then
2828 CXXFLAGS=$ac_save_CXXFLAGS
2829 elif test $ac_cv_prog_cxx_g = yes; then
2830 if test "$GXX" = yes; then
2831 CXXFLAGS="-g -O2"
2832 else
2833 CXXFLAGS="-g"
2835 else
2836 if test "$GXX" = yes; then
2837 CXXFLAGS="-O2"
2838 else
2839 CXXFLAGS=
2842 ac_ext=cpp
2843 ac_cpp='$CXXCPP $CPPFLAGS'
2844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2847 DEPDIR="${am__leading_dot}deps"
2849 ac_config_commands="$ac_config_commands depfiles"
2852 am_make=${MAKE-make}
2853 cat > confinc << 'END'
2854 am__doit:
2855 @echo done
2856 .PHONY: am__doit
2858 # If we don't find an include directive, just comment out the code.
2859 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2860 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2861 am__include="#"
2862 am__quote=
2863 _am_result=none
2864 # First try GNU make style include.
2865 echo "include confinc" > confmf
2866 # We grep out `Entering directory' and `Leaving directory'
2867 # messages which can occur if `w' ends up in MAKEFLAGS.
2868 # In particular we don't look at `^make:' because GNU make might
2869 # be invoked under some other name (usually "gmake"), in which
2870 # case it prints its new name instead of `make'.
2871 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2872 am__include=include
2873 am__quote=
2874 _am_result=GNU
2876 # Now try BSD make style include.
2877 if test "$am__include" = "#"; then
2878 echo '.include "confinc"' > confmf
2879 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2880 am__include=.include
2881 am__quote="\""
2882 _am_result=BSD
2887 { echo "$as_me:$LINENO: result: $_am_result" >&5
2888 echo "${ECHO_T}$_am_result" >&6; }
2889 rm -f confinc confmf
2891 # Check whether --enable-dependency-tracking was given.
2892 if test "${enable_dependency_tracking+set}" = set; then
2893 enableval=$enable_dependency_tracking;
2896 if test "x$enable_dependency_tracking" != xno; then
2897 am_depcomp="$ac_aux_dir/depcomp"
2898 AMDEPBACKSLASH='\'
2900 if test "x$enable_dependency_tracking" != xno; then
2901 AMDEP_TRUE=
2902 AMDEP_FALSE='#'
2903 else
2904 AMDEP_TRUE='#'
2905 AMDEP_FALSE=
2910 depcc="$CXX" am_compiler_list=
2912 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2913 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2914 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2915 echo $ECHO_N "(cached) $ECHO_C" >&6
2916 else
2917 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2918 # We make a subdir and do the tests there. Otherwise we can end up
2919 # making bogus files that we don't know about and never remove. For
2920 # instance it was reported that on HP-UX the gcc test will end up
2921 # making a dummy file named `D' -- because `-MD' means `put the output
2922 # in D'.
2923 mkdir conftest.dir
2924 # Copy depcomp to subdir because otherwise we won't find it if we're
2925 # using a relative directory.
2926 cp "$am_depcomp" conftest.dir
2927 cd conftest.dir
2928 # We will build objects and dependencies in a subdirectory because
2929 # it helps to detect inapplicable dependency modes. For instance
2930 # both Tru64's cc and ICC support -MD to output dependencies as a
2931 # side effect of compilation, but ICC will put the dependencies in
2932 # the current directory while Tru64 will put them in the object
2933 # directory.
2934 mkdir sub
2936 am_cv_CXX_dependencies_compiler_type=none
2937 if test "$am_compiler_list" = ""; then
2938 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2940 for depmode in $am_compiler_list; do
2941 # Setup a source with many dependencies, because some compilers
2942 # like to wrap large dependency lists on column 80 (with \), and
2943 # we should not choose a depcomp mode which is confused by this.
2945 # We need to recreate these files for each test, as the compiler may
2946 # overwrite some of them when testing with obscure command lines.
2947 # This happens at least with the AIX C compiler.
2948 : > sub/conftest.c
2949 for i in 1 2 3 4 5 6; do
2950 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2951 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2952 # Solaris 8's {/usr,}/bin/sh.
2953 touch sub/conftst$i.h
2954 done
2955 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2957 case $depmode in
2958 nosideeffect)
2959 # after this tag, mechanisms are not by side-effect, so they'll
2960 # only be used when explicitly requested
2961 if test "x$enable_dependency_tracking" = xyes; then
2962 continue
2963 else
2964 break
2967 none) break ;;
2968 esac
2969 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2970 # mode. It turns out that the SunPro C++ compiler does not properly
2971 # handle `-M -o', and we need to detect this.
2972 if depmode=$depmode \
2973 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2974 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2975 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2976 >/dev/null 2>conftest.err &&
2977 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2978 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2979 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2980 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2981 # icc doesn't choke on unknown options, it will just issue warnings
2982 # or remarks (even with -Werror). So we grep stderr for any message
2983 # that says an option was ignored or not supported.
2984 # When given -MP, icc 7.0 and 7.1 complain thusly:
2985 # icc: Command line warning: ignoring option '-M'; no argument required
2986 # The diagnosis changed in icc 8.0:
2987 # icc: Command line remark: option '-MP' not supported
2988 if (grep 'ignoring option' conftest.err ||
2989 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2990 am_cv_CXX_dependencies_compiler_type=$depmode
2991 break
2994 done
2996 cd ..
2997 rm -rf conftest.dir
2998 else
2999 am_cv_CXX_dependencies_compiler_type=none
3003 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3004 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3005 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3008 test "x$enable_dependency_tracking" != xno \
3009 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3010 am__fastdepCXX_TRUE=
3011 am__fastdepCXX_FALSE='#'
3012 else
3013 am__fastdepCXX_TRUE='#'
3014 am__fastdepCXX_FALSE=
3018 if test -n "$ac_tool_prefix"; then
3019 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3020 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3023 if test "${ac_cv_prog_RANLIB+set}" = set; then
3024 echo $ECHO_N "(cached) $ECHO_C" >&6
3025 else
3026 if test -n "$RANLIB"; then
3027 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3028 else
3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030 for as_dir in $PATH
3032 IFS=$as_save_IFS
3033 test -z "$as_dir" && as_dir=.
3034 for ac_exec_ext in '' $ac_executable_extensions; do
3035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3038 break 2
3040 done
3041 done
3042 IFS=$as_save_IFS
3046 RANLIB=$ac_cv_prog_RANLIB
3047 if test -n "$RANLIB"; then
3048 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3049 echo "${ECHO_T}$RANLIB" >&6; }
3050 else
3051 { echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6; }
3057 if test -z "$ac_cv_prog_RANLIB"; then
3058 ac_ct_RANLIB=$RANLIB
3059 # Extract the first word of "ranlib", so it can be a program name with args.
3060 set dummy ranlib; ac_word=$2
3061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3063 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
3065 else
3066 if test -n "$ac_ct_RANLIB"; then
3067 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3068 else
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070 for as_dir in $PATH
3072 IFS=$as_save_IFS
3073 test -z "$as_dir" && as_dir=.
3074 for ac_exec_ext in '' $ac_executable_extensions; do
3075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3076 ac_cv_prog_ac_ct_RANLIB="ranlib"
3077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3078 break 2
3080 done
3081 done
3082 IFS=$as_save_IFS
3086 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3087 if test -n "$ac_ct_RANLIB"; then
3088 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3089 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3090 else
3091 { echo "$as_me:$LINENO: result: no" >&5
3092 echo "${ECHO_T}no" >&6; }
3095 if test "x$ac_ct_RANLIB" = x; then
3096 RANLIB=":"
3097 else
3098 case $cross_compiling:$ac_tool_warned in
3099 yes:)
3100 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3101 whose name does not start with the host triplet. If you think this
3102 configuration is useful to you, please write to autoconf@gnu.org." >&5
3103 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3104 whose name does not start with the host triplet. If you think this
3105 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3106 ac_tool_warned=yes ;;
3107 esac
3108 RANLIB=$ac_ct_RANLIB
3110 else
3111 RANLIB="$ac_cv_prog_RANLIB"
3114 CXXFLAGS="$CXXFLAGS -Wall -g"
3116 # Checks for libraries.
3119 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3120 if test -n "$ac_tool_prefix"; then
3121 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3122 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3125 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3126 echo $ECHO_N "(cached) $ECHO_C" >&6
3127 else
3128 case $PKG_CONFIG in
3129 [\\/]* | ?:[\\/]*)
3130 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3134 for as_dir in $PATH
3136 IFS=$as_save_IFS
3137 test -z "$as_dir" && as_dir=.
3138 for ac_exec_ext in '' $ac_executable_extensions; do
3139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3140 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3142 break 2
3144 done
3145 done
3146 IFS=$as_save_IFS
3149 esac
3151 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3152 if test -n "$PKG_CONFIG"; then
3153 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3154 echo "${ECHO_T}$PKG_CONFIG" >&6; }
3155 else
3156 { echo "$as_me:$LINENO: result: no" >&5
3157 echo "${ECHO_T}no" >&6; }
3162 if test -z "$ac_cv_path_PKG_CONFIG"; then
3163 ac_pt_PKG_CONFIG=$PKG_CONFIG
3164 # Extract the first word of "pkg-config", so it can be a program name with args.
3165 set dummy pkg-config; ac_word=$2
3166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3168 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3169 echo $ECHO_N "(cached) $ECHO_C" >&6
3170 else
3171 case $ac_pt_PKG_CONFIG in
3172 [\\/]* | ?:[\\/]*)
3173 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3177 for as_dir in $PATH
3179 IFS=$as_save_IFS
3180 test -z "$as_dir" && as_dir=.
3181 for ac_exec_ext in '' $ac_executable_extensions; do
3182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3183 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3185 break 2
3187 done
3188 done
3189 IFS=$as_save_IFS
3192 esac
3194 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3195 if test -n "$ac_pt_PKG_CONFIG"; then
3196 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3197 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3198 else
3199 { echo "$as_me:$LINENO: result: no" >&5
3200 echo "${ECHO_T}no" >&6; }
3203 if test "x$ac_pt_PKG_CONFIG" = x; then
3204 PKG_CONFIG=""
3205 else
3206 case $cross_compiling:$ac_tool_warned in
3207 yes:)
3208 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3209 whose name does not start with the host triplet. If you think this
3210 configuration is useful to you, please write to autoconf@gnu.org." >&5
3211 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3212 whose name does not start with the host triplet. If you think this
3213 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3214 ac_tool_warned=yes ;;
3215 esac
3216 PKG_CONFIG=$ac_pt_PKG_CONFIG
3218 else
3219 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3223 if test -n "$PKG_CONFIG"; then
3224 _pkg_min_version=0.9.0
3225 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3226 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3227 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3228 { echo "$as_me:$LINENO: result: yes" >&5
3229 echo "${ECHO_T}yes" >&6; }
3230 else
3231 { echo "$as_me:$LINENO: result: no" >&5
3232 echo "${ECHO_T}no" >&6; }
3233 PKG_CONFIG=""
3238 pkg_failed=no
3239 { echo "$as_me:$LINENO: checking for GTKMM" >&5
3240 echo $ECHO_N "checking for GTKMM... $ECHO_C" >&6; }
3242 if test -n "$PKG_CONFIG"; then
3243 if test -n "$GTKMM_CFLAGS"; then
3244 pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
3245 else
3246 if test -n "$PKG_CONFIG" && \
3247 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.8.0\"") >&5
3248 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.8.0") 2>&5
3249 ac_status=$?
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); }; then
3252 pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4 >= 2.8.0" 2>/dev/null`
3253 else
3254 pkg_failed=yes
3257 else
3258 pkg_failed=untried
3260 if test -n "$PKG_CONFIG"; then
3261 if test -n "$GTKMM_LIBS"; then
3262 pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
3263 else
3264 if test -n "$PKG_CONFIG" && \
3265 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.8.0\"") >&5
3266 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.8.0") 2>&5
3267 ac_status=$?
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); }; then
3270 pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4 >= 2.8.0" 2>/dev/null`
3271 else
3272 pkg_failed=yes
3275 else
3276 pkg_failed=untried
3281 if test $pkg_failed = yes; then
3283 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3284 _pkg_short_errors_supported=yes
3285 else
3286 _pkg_short_errors_supported=no
3288 if test $_pkg_short_errors_supported = yes; then
3289 GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.8.0"`
3290 else
3291 GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.8.0"`
3293 # Put the nasty error message in config.log where it belongs
3294 echo "$GTKMM_PKG_ERRORS" >&5
3296 { { echo "$as_me:$LINENO: error: Package requirements (gtkmm-2.4 >= 2.8.0) were not met:
3298 $GTKMM_PKG_ERRORS
3300 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3301 installed software in a non-standard prefix.
3303 Alternatively, you may set the environment variables GTKMM_CFLAGS
3304 and GTKMM_LIBS to avoid the need to call pkg-config.
3305 See the pkg-config man page for more details.
3306 " >&5
3307 echo "$as_me: error: Package requirements (gtkmm-2.4 >= 2.8.0) were not met:
3309 $GTKMM_PKG_ERRORS
3311 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3312 installed software in a non-standard prefix.
3314 Alternatively, you may set the environment variables GTKMM_CFLAGS
3315 and GTKMM_LIBS to avoid the need to call pkg-config.
3316 See the pkg-config man page for more details.
3317 " >&2;}
3318 { (exit 1); exit 1; }; }
3319 elif test $pkg_failed = untried; then
3320 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
3321 is in your PATH or set the PKG_CONFIG environment variable to the full
3322 path to pkg-config.
3324 Alternatively, you may set the environment variables GTKMM_CFLAGS
3325 and GTKMM_LIBS to avoid the need to call pkg-config.
3326 See the pkg-config man page for more details.
3328 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3329 See \`config.log' for more details." >&5
3330 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
3331 is in your PATH or set the PKG_CONFIG environment variable to the full
3332 path to pkg-config.
3334 Alternatively, you may set the environment variables GTKMM_CFLAGS
3335 and GTKMM_LIBS to avoid the need to call pkg-config.
3336 See the pkg-config man page for more details.
3338 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3339 See \`config.log' for more details." >&2;}
3340 { (exit 1); exit 1; }; }
3341 else
3342 GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
3343 GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
3344 { echo "$as_me:$LINENO: result: yes" >&5
3345 echo "${ECHO_T}yes" >&6; }
3349 pkg_failed=no
3350 { echo "$as_me:$LINENO: checking for LIBGLADEMM" >&5
3351 echo $ECHO_N "checking for LIBGLADEMM... $ECHO_C" >&6; }
3353 if test -n "$PKG_CONFIG"; then
3354 if test -n "$LIBGLADEMM_CFLAGS"; then
3355 pkg_cv_LIBGLADEMM_CFLAGS="$LIBGLADEMM_CFLAGS"
3356 else
3357 if test -n "$PKG_CONFIG" && \
3358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglademm-2.4\"") >&5
3359 ($PKG_CONFIG --exists --print-errors "libglademm-2.4") 2>&5
3360 ac_status=$?
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; then
3363 pkg_cv_LIBGLADEMM_CFLAGS=`$PKG_CONFIG --cflags "libglademm-2.4" 2>/dev/null`
3364 else
3365 pkg_failed=yes
3368 else
3369 pkg_failed=untried
3371 if test -n "$PKG_CONFIG"; then
3372 if test -n "$LIBGLADEMM_LIBS"; then
3373 pkg_cv_LIBGLADEMM_LIBS="$LIBGLADEMM_LIBS"
3374 else
3375 if test -n "$PKG_CONFIG" && \
3376 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglademm-2.4\"") >&5
3377 ($PKG_CONFIG --exists --print-errors "libglademm-2.4") 2>&5
3378 ac_status=$?
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); }; then
3381 pkg_cv_LIBGLADEMM_LIBS=`$PKG_CONFIG --libs "libglademm-2.4" 2>/dev/null`
3382 else
3383 pkg_failed=yes
3386 else
3387 pkg_failed=untried
3392 if test $pkg_failed = yes; then
3394 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3395 _pkg_short_errors_supported=yes
3396 else
3397 _pkg_short_errors_supported=no
3399 if test $_pkg_short_errors_supported = yes; then
3400 LIBGLADEMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libglademm-2.4"`
3401 else
3402 LIBGLADEMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libglademm-2.4"`
3404 # Put the nasty error message in config.log where it belongs
3405 echo "$LIBGLADEMM_PKG_ERRORS" >&5
3407 { { echo "$as_me:$LINENO: error: Package requirements (libglademm-2.4) were not met:
3409 $LIBGLADEMM_PKG_ERRORS
3411 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3412 installed software in a non-standard prefix.
3414 Alternatively, you may set the environment variables LIBGLADEMM_CFLAGS
3415 and LIBGLADEMM_LIBS to avoid the need to call pkg-config.
3416 See the pkg-config man page for more details.
3417 " >&5
3418 echo "$as_me: error: Package requirements (libglademm-2.4) were not met:
3420 $LIBGLADEMM_PKG_ERRORS
3422 Consider adjusting the PKG_CONFIG_PATH environment variable if you
3423 installed software in a non-standard prefix.
3425 Alternatively, you may set the environment variables LIBGLADEMM_CFLAGS
3426 and LIBGLADEMM_LIBS to avoid the need to call pkg-config.
3427 See the pkg-config man page for more details.
3428 " >&2;}
3429 { (exit 1); exit 1; }; }
3430 elif test $pkg_failed = untried; then
3431 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
3432 is in your PATH or set the PKG_CONFIG environment variable to the full
3433 path to pkg-config.
3435 Alternatively, you may set the environment variables LIBGLADEMM_CFLAGS
3436 and LIBGLADEMM_LIBS to avoid the need to call pkg-config.
3437 See the pkg-config man page for more details.
3439 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3440 See \`config.log' for more details." >&5
3441 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
3442 is in your PATH or set the PKG_CONFIG environment variable to the full
3443 path to pkg-config.
3445 Alternatively, you may set the environment variables LIBGLADEMM_CFLAGS
3446 and LIBGLADEMM_LIBS to avoid the need to call pkg-config.
3447 See the pkg-config man page for more details.
3449 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
3450 See \`config.log' for more details." >&2;}
3451 { (exit 1); exit 1; }; }
3452 else
3453 LIBGLADEMM_CFLAGS=$pkg_cv_LIBGLADEMM_CFLAGS
3454 LIBGLADEMM_LIBS=$pkg_cv_LIBGLADEMM_LIBS
3455 { echo "$as_me:$LINENO: result: yes" >&5
3456 echo "${ECHO_T}yes" >&6; }
3460 # Checks for header files.
3462 # Checks for typedefs, structures, and compiler characteristics.
3464 ac_ext=cpp
3465 ac_cpp='$CXXCPP $CPPFLAGS'
3466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3469 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3470 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
3471 if test -z "$CXXCPP"; then
3472 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3473 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 else
3475 # Double quotes because CXXCPP needs to be expanded
3476 for CXXCPP in "$CXX -E" "/lib/cpp"
3478 ac_preproc_ok=false
3479 for ac_cxx_preproc_warn_flag in '' yes
3481 # Use a header file that comes with gcc, so configuring glibc
3482 # with a fresh cross-compiler works.
3483 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3484 # <limits.h> exists even on freestanding compilers.
3485 # On the NeXT, cc -E runs the code through the compiler's parser,
3486 # not just through cpp. "Syntax error" is here to catch this case.
3487 cat >conftest.$ac_ext <<_ACEOF
3488 /* confdefs.h. */
3489 _ACEOF
3490 cat confdefs.h >>conftest.$ac_ext
3491 cat >>conftest.$ac_ext <<_ACEOF
3492 /* end confdefs.h. */
3493 #ifdef __STDC__
3494 # include <limits.h>
3495 #else
3496 # include <assert.h>
3497 #endif
3498 Syntax error
3499 _ACEOF
3500 if { (ac_try="$ac_cpp conftest.$ac_ext"
3501 case "(($ac_try" in
3502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3503 *) ac_try_echo=$ac_try;;
3504 esac
3505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3506 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3507 ac_status=$?
3508 grep -v '^ *+' conftest.er1 >conftest.err
3509 rm -f conftest.er1
3510 cat conftest.err >&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); } >/dev/null && {
3513 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3514 test ! -s conftest.err
3515 }; then
3517 else
3518 echo "$as_me: failed program was:" >&5
3519 sed 's/^/| /' conftest.$ac_ext >&5
3521 # Broken: fails on valid input.
3522 continue
3525 rm -f conftest.err conftest.$ac_ext
3527 # OK, works on sane cases. Now check whether nonexistent headers
3528 # can be detected and how.
3529 cat >conftest.$ac_ext <<_ACEOF
3530 /* confdefs.h. */
3531 _ACEOF
3532 cat confdefs.h >>conftest.$ac_ext
3533 cat >>conftest.$ac_ext <<_ACEOF
3534 /* end confdefs.h. */
3535 #include <ac_nonexistent.h>
3536 _ACEOF
3537 if { (ac_try="$ac_cpp conftest.$ac_ext"
3538 case "(($ac_try" in
3539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3540 *) ac_try_echo=$ac_try;;
3541 esac
3542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3544 ac_status=$?
3545 grep -v '^ *+' conftest.er1 >conftest.err
3546 rm -f conftest.er1
3547 cat conftest.err >&5
3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); } >/dev/null && {
3550 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3551 test ! -s conftest.err
3552 }; then
3553 # Broken: success on invalid input.
3554 continue
3555 else
3556 echo "$as_me: failed program was:" >&5
3557 sed 's/^/| /' conftest.$ac_ext >&5
3559 # Passes both tests.
3560 ac_preproc_ok=:
3561 break
3564 rm -f conftest.err conftest.$ac_ext
3566 done
3567 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3568 rm -f conftest.err conftest.$ac_ext
3569 if $ac_preproc_ok; then
3570 break
3573 done
3574 ac_cv_prog_CXXCPP=$CXXCPP
3577 CXXCPP=$ac_cv_prog_CXXCPP
3578 else
3579 ac_cv_prog_CXXCPP=$CXXCPP
3581 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
3582 echo "${ECHO_T}$CXXCPP" >&6; }
3583 ac_preproc_ok=false
3584 for ac_cxx_preproc_warn_flag in '' yes
3586 # Use a header file that comes with gcc, so configuring glibc
3587 # with a fresh cross-compiler works.
3588 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3589 # <limits.h> exists even on freestanding compilers.
3590 # On the NeXT, cc -E runs the code through the compiler's parser,
3591 # not just through cpp. "Syntax error" is here to catch this case.
3592 cat >conftest.$ac_ext <<_ACEOF
3593 /* confdefs.h. */
3594 _ACEOF
3595 cat confdefs.h >>conftest.$ac_ext
3596 cat >>conftest.$ac_ext <<_ACEOF
3597 /* end confdefs.h. */
3598 #ifdef __STDC__
3599 # include <limits.h>
3600 #else
3601 # include <assert.h>
3602 #endif
3603 Syntax error
3604 _ACEOF
3605 if { (ac_try="$ac_cpp conftest.$ac_ext"
3606 case "(($ac_try" in
3607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3608 *) ac_try_echo=$ac_try;;
3609 esac
3610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3611 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3612 ac_status=$?
3613 grep -v '^ *+' conftest.er1 >conftest.err
3614 rm -f conftest.er1
3615 cat conftest.err >&5
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); } >/dev/null && {
3618 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3619 test ! -s conftest.err
3620 }; then
3622 else
3623 echo "$as_me: failed program was:" >&5
3624 sed 's/^/| /' conftest.$ac_ext >&5
3626 # Broken: fails on valid input.
3627 continue
3630 rm -f conftest.err conftest.$ac_ext
3632 # OK, works on sane cases. Now check whether nonexistent headers
3633 # can be detected and how.
3634 cat >conftest.$ac_ext <<_ACEOF
3635 /* confdefs.h. */
3636 _ACEOF
3637 cat confdefs.h >>conftest.$ac_ext
3638 cat >>conftest.$ac_ext <<_ACEOF
3639 /* end confdefs.h. */
3640 #include <ac_nonexistent.h>
3641 _ACEOF
3642 if { (ac_try="$ac_cpp conftest.$ac_ext"
3643 case "(($ac_try" in
3644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3645 *) ac_try_echo=$ac_try;;
3646 esac
3647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3648 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3649 ac_status=$?
3650 grep -v '^ *+' conftest.er1 >conftest.err
3651 rm -f conftest.er1
3652 cat conftest.err >&5
3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654 (exit $ac_status); } >/dev/null && {
3655 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3656 test ! -s conftest.err
3657 }; then
3658 # Broken: success on invalid input.
3659 continue
3660 else
3661 echo "$as_me: failed program was:" >&5
3662 sed 's/^/| /' conftest.$ac_ext >&5
3664 # Passes both tests.
3665 ac_preproc_ok=:
3666 break
3669 rm -f conftest.err conftest.$ac_ext
3671 done
3672 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3673 rm -f conftest.err conftest.$ac_ext
3674 if $ac_preproc_ok; then
3676 else
3677 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3678 See \`config.log' for more details." >&5
3679 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3680 See \`config.log' for more details." >&2;}
3681 { (exit 1); exit 1; }; }
3684 ac_ext=cpp
3685 ac_cpp='$CXXCPP $CPPFLAGS'
3686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3691 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3692 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3693 if test "${ac_cv_path_GREP+set}" = set; then
3694 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 else
3696 # Extract the first word of "grep ggrep" to use in msg output
3697 if test -z "$GREP"; then
3698 set dummy grep ggrep; ac_prog_name=$2
3699 if test "${ac_cv_path_GREP+set}" = set; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3701 else
3702 ac_path_GREP_found=false
3703 # Loop through the user's path and test for each of PROGNAME-LIST
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3707 IFS=$as_save_IFS
3708 test -z "$as_dir" && as_dir=.
3709 for ac_prog in grep ggrep; do
3710 for ac_exec_ext in '' $ac_executable_extensions; do
3711 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3712 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3713 # Check for GNU ac_path_GREP and select it if it is found.
3714 # Check for GNU $ac_path_GREP
3715 case `"$ac_path_GREP" --version 2>&1` in
3716 *GNU*)
3717 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3719 ac_count=0
3720 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3721 while :
3723 cat "conftest.in" "conftest.in" >"conftest.tmp"
3724 mv "conftest.tmp" "conftest.in"
3725 cp "conftest.in" "conftest.nl"
3726 echo 'GREP' >> "conftest.nl"
3727 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3728 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3729 ac_count=`expr $ac_count + 1`
3730 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3731 # Best one so far, save it but keep looking for a better one
3732 ac_cv_path_GREP="$ac_path_GREP"
3733 ac_path_GREP_max=$ac_count
3735 # 10*(2^10) chars as input seems more than enough
3736 test $ac_count -gt 10 && break
3737 done
3738 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3739 esac
3742 $ac_path_GREP_found && break 3
3743 done
3744 done
3746 done
3747 IFS=$as_save_IFS
3752 GREP="$ac_cv_path_GREP"
3753 if test -z "$GREP"; then
3754 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3755 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3756 { (exit 1); exit 1; }; }
3759 else
3760 ac_cv_path_GREP=$GREP
3765 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3766 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3767 GREP="$ac_cv_path_GREP"
3770 { echo "$as_me:$LINENO: checking for egrep" >&5
3771 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3772 if test "${ac_cv_path_EGREP+set}" = set; then
3773 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 else
3775 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3776 then ac_cv_path_EGREP="$GREP -E"
3777 else
3778 # Extract the first word of "egrep" to use in msg output
3779 if test -z "$EGREP"; then
3780 set dummy egrep; ac_prog_name=$2
3781 if test "${ac_cv_path_EGREP+set}" = set; then
3782 echo $ECHO_N "(cached) $ECHO_C" >&6
3783 else
3784 ac_path_EGREP_found=false
3785 # Loop through the user's path and test for each of PROGNAME-LIST
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3789 IFS=$as_save_IFS
3790 test -z "$as_dir" && as_dir=.
3791 for ac_prog in egrep; do
3792 for ac_exec_ext in '' $ac_executable_extensions; do
3793 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3794 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3795 # Check for GNU ac_path_EGREP and select it if it is found.
3796 # Check for GNU $ac_path_EGREP
3797 case `"$ac_path_EGREP" --version 2>&1` in
3798 *GNU*)
3799 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3801 ac_count=0
3802 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3803 while :
3805 cat "conftest.in" "conftest.in" >"conftest.tmp"
3806 mv "conftest.tmp" "conftest.in"
3807 cp "conftest.in" "conftest.nl"
3808 echo 'EGREP' >> "conftest.nl"
3809 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3810 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3811 ac_count=`expr $ac_count + 1`
3812 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3813 # Best one so far, save it but keep looking for a better one
3814 ac_cv_path_EGREP="$ac_path_EGREP"
3815 ac_path_EGREP_max=$ac_count
3817 # 10*(2^10) chars as input seems more than enough
3818 test $ac_count -gt 10 && break
3819 done
3820 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3821 esac
3824 $ac_path_EGREP_found && break 3
3825 done
3826 done
3828 done
3829 IFS=$as_save_IFS
3834 EGREP="$ac_cv_path_EGREP"
3835 if test -z "$EGREP"; then
3836 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3837 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3838 { (exit 1); exit 1; }; }
3841 else
3842 ac_cv_path_EGREP=$EGREP
3848 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3849 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3850 EGREP="$ac_cv_path_EGREP"
3853 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3854 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3855 if test "${ac_cv_header_stdc+set}" = set; then
3856 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 else
3858 cat >conftest.$ac_ext <<_ACEOF
3859 /* confdefs.h. */
3860 _ACEOF
3861 cat confdefs.h >>conftest.$ac_ext
3862 cat >>conftest.$ac_ext <<_ACEOF
3863 /* end confdefs.h. */
3864 #include <stdlib.h>
3865 #include <stdarg.h>
3866 #include <string.h>
3867 #include <float.h>
3870 main ()
3874 return 0;
3876 _ACEOF
3877 rm -f conftest.$ac_objext
3878 if { (ac_try="$ac_compile"
3879 case "(($ac_try" in
3880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3881 *) ac_try_echo=$ac_try;;
3882 esac
3883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3884 (eval "$ac_compile") 2>conftest.er1
3885 ac_status=$?
3886 grep -v '^ *+' conftest.er1 >conftest.err
3887 rm -f conftest.er1
3888 cat conftest.err >&5
3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); } && {
3891 test -z "$ac_cxx_werror_flag" ||
3892 test ! -s conftest.err
3893 } && test -s conftest.$ac_objext; then
3894 ac_cv_header_stdc=yes
3895 else
3896 echo "$as_me: failed program was:" >&5
3897 sed 's/^/| /' conftest.$ac_ext >&5
3899 ac_cv_header_stdc=no
3902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3904 if test $ac_cv_header_stdc = yes; then
3905 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3906 cat >conftest.$ac_ext <<_ACEOF
3907 /* confdefs.h. */
3908 _ACEOF
3909 cat confdefs.h >>conftest.$ac_ext
3910 cat >>conftest.$ac_ext <<_ACEOF
3911 /* end confdefs.h. */
3912 #include <string.h>
3914 _ACEOF
3915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3916 $EGREP "memchr" >/dev/null 2>&1; then
3918 else
3919 ac_cv_header_stdc=no
3921 rm -f conftest*
3925 if test $ac_cv_header_stdc = yes; then
3926 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3927 cat >conftest.$ac_ext <<_ACEOF
3928 /* confdefs.h. */
3929 _ACEOF
3930 cat confdefs.h >>conftest.$ac_ext
3931 cat >>conftest.$ac_ext <<_ACEOF
3932 /* end confdefs.h. */
3933 #include <stdlib.h>
3935 _ACEOF
3936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3937 $EGREP "free" >/dev/null 2>&1; then
3939 else
3940 ac_cv_header_stdc=no
3942 rm -f conftest*
3946 if test $ac_cv_header_stdc = yes; then
3947 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3948 if test "$cross_compiling" = yes; then
3950 else
3951 cat >conftest.$ac_ext <<_ACEOF
3952 /* confdefs.h. */
3953 _ACEOF
3954 cat confdefs.h >>conftest.$ac_ext
3955 cat >>conftest.$ac_ext <<_ACEOF
3956 /* end confdefs.h. */
3957 #include <ctype.h>
3958 #include <stdlib.h>
3959 #if ((' ' & 0x0FF) == 0x020)
3960 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3961 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3962 #else
3963 # define ISLOWER(c) \
3964 (('a' <= (c) && (c) <= 'i') \
3965 || ('j' <= (c) && (c) <= 'r') \
3966 || ('s' <= (c) && (c) <= 'z'))
3967 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3968 #endif
3970 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3972 main ()
3974 int i;
3975 for (i = 0; i < 256; i++)
3976 if (XOR (islower (i), ISLOWER (i))
3977 || toupper (i) != TOUPPER (i))
3978 return 2;
3979 return 0;
3981 _ACEOF
3982 rm -f conftest$ac_exeext
3983 if { (ac_try="$ac_link"
3984 case "(($ac_try" in
3985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3986 *) ac_try_echo=$ac_try;;
3987 esac
3988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3989 (eval "$ac_link") 2>&5
3990 ac_status=$?
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3993 { (case "(($ac_try" in
3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3996 esac
3997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3998 (eval "$ac_try") 2>&5
3999 ac_status=$?
4000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001 (exit $ac_status); }; }; then
4003 else
4004 echo "$as_me: program exited with status $ac_status" >&5
4005 echo "$as_me: failed program was:" >&5
4006 sed 's/^/| /' conftest.$ac_ext >&5
4008 ( exit $ac_status )
4009 ac_cv_header_stdc=no
4011 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4017 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4018 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4019 if test $ac_cv_header_stdc = yes; then
4021 cat >>confdefs.h <<\_ACEOF
4022 #define STDC_HEADERS 1
4023 _ACEOF
4027 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4037 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4038 inttypes.h stdint.h unistd.h
4040 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4041 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4043 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4044 echo $ECHO_N "(cached) $ECHO_C" >&6
4045 else
4046 cat >conftest.$ac_ext <<_ACEOF
4047 /* confdefs.h. */
4048 _ACEOF
4049 cat confdefs.h >>conftest.$ac_ext
4050 cat >>conftest.$ac_ext <<_ACEOF
4051 /* end confdefs.h. */
4052 $ac_includes_default
4054 #include <$ac_header>
4055 _ACEOF
4056 rm -f conftest.$ac_objext
4057 if { (ac_try="$ac_compile"
4058 case "(($ac_try" in
4059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4060 *) ac_try_echo=$ac_try;;
4061 esac
4062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4063 (eval "$ac_compile") 2>conftest.er1
4064 ac_status=$?
4065 grep -v '^ *+' conftest.er1 >conftest.err
4066 rm -f conftest.er1
4067 cat conftest.err >&5
4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); } && {
4070 test -z "$ac_cxx_werror_flag" ||
4071 test ! -s conftest.err
4072 } && test -s conftest.$ac_objext; then
4073 eval "$as_ac_Header=yes"
4074 else
4075 echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.$ac_ext >&5
4078 eval "$as_ac_Header=no"
4081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4083 ac_res=`eval echo '${'$as_ac_Header'}'`
4084 { echo "$as_me:$LINENO: result: $ac_res" >&5
4085 echo "${ECHO_T}$ac_res" >&6; }
4086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4087 cat >>confdefs.h <<_ACEOF
4088 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4089 _ACEOF
4093 done
4096 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
4097 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
4098 if test "${ac_cv_header_stdbool_h+set}" = set; then
4099 echo $ECHO_N "(cached) $ECHO_C" >&6
4100 else
4101 cat >conftest.$ac_ext <<_ACEOF
4102 /* confdefs.h. */
4103 _ACEOF
4104 cat confdefs.h >>conftest.$ac_ext
4105 cat >>conftest.$ac_ext <<_ACEOF
4106 /* end confdefs.h. */
4108 #include <stdbool.h>
4109 #ifndef bool
4110 "error: bool is not defined"
4111 #endif
4112 #ifndef false
4113 "error: false is not defined"
4114 #endif
4115 #if false
4116 "error: false is not 0"
4117 #endif
4118 #ifndef true
4119 "error: true is not defined"
4120 #endif
4121 #if true != 1
4122 "error: true is not 1"
4123 #endif
4124 #ifndef __bool_true_false_are_defined
4125 "error: __bool_true_false_are_defined is not defined"
4126 #endif
4128 struct s { _Bool s: 1; _Bool t; } s;
4130 char a[true == 1 ? 1 : -1];
4131 char b[false == 0 ? 1 : -1];
4132 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
4133 char d[(bool) 0.5 == true ? 1 : -1];
4134 bool e = &s;
4135 char f[(_Bool) 0.0 == false ? 1 : -1];
4136 char g[true];
4137 char h[sizeof (_Bool)];
4138 char i[sizeof s.t];
4139 enum { j = false, k = true, l = false * true, m = true * 256 };
4140 _Bool n[m];
4141 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
4142 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
4143 # if defined __xlc__ || defined __GNUC__
4144 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
4145 reported by James Lemley on 2005-10-05; see
4146 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
4147 This test is not quite right, since xlc is allowed to
4148 reject this program, as the initializer for xlcbug is
4149 not one of the forms that C requires support for.
4150 However, doing the test right would require a runtime
4151 test, and that would make cross-compilation harder.
4152 Let us hope that IBM fixes the xlc bug, and also adds
4153 support for this kind of constant expression. In the
4154 meantime, this test will reject xlc, which is OK, since
4155 our stdbool.h substitute should suffice. We also test
4156 this with GCC, where it should work, to detect more
4157 quickly whether someone messes up the test in the
4158 future. */
4159 char digs[] = "0123456789";
4160 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
4161 # endif
4162 /* Catch a bug in an HP-UX C compiler. See
4163 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
4164 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
4166 _Bool q = true;
4167 _Bool *pq = &q;
4170 main ()
4173 *pq |= q;
4174 *pq |= ! q;
4175 /* Refer to every declared value, to avoid compiler optimizations. */
4176 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
4177 + !m + !n + !o + !p + !q + !pq);
4180 return 0;
4182 _ACEOF
4183 rm -f conftest.$ac_objext
4184 if { (ac_try="$ac_compile"
4185 case "(($ac_try" in
4186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4187 *) ac_try_echo=$ac_try;;
4188 esac
4189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4190 (eval "$ac_compile") 2>conftest.er1
4191 ac_status=$?
4192 grep -v '^ *+' conftest.er1 >conftest.err
4193 rm -f conftest.er1
4194 cat conftest.err >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } && {
4197 test -z "$ac_cxx_werror_flag" ||
4198 test ! -s conftest.err
4199 } && test -s conftest.$ac_objext; then
4200 ac_cv_header_stdbool_h=yes
4201 else
4202 echo "$as_me: failed program was:" >&5
4203 sed 's/^/| /' conftest.$ac_ext >&5
4205 ac_cv_header_stdbool_h=no
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4210 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
4211 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
4212 { echo "$as_me:$LINENO: checking for _Bool" >&5
4213 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
4214 if test "${ac_cv_type__Bool+set}" = set; then
4215 echo $ECHO_N "(cached) $ECHO_C" >&6
4216 else
4217 cat >conftest.$ac_ext <<_ACEOF
4218 /* confdefs.h. */
4219 _ACEOF
4220 cat confdefs.h >>conftest.$ac_ext
4221 cat >>conftest.$ac_ext <<_ACEOF
4222 /* end confdefs.h. */
4223 $ac_includes_default
4224 typedef _Bool ac__type_new_;
4226 main ()
4228 if ((ac__type_new_ *) 0)
4229 return 0;
4230 if (sizeof (ac__type_new_))
4231 return 0;
4233 return 0;
4235 _ACEOF
4236 rm -f conftest.$ac_objext
4237 if { (ac_try="$ac_compile"
4238 case "(($ac_try" in
4239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4240 *) ac_try_echo=$ac_try;;
4241 esac
4242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4243 (eval "$ac_compile") 2>conftest.er1
4244 ac_status=$?
4245 grep -v '^ *+' conftest.er1 >conftest.err
4246 rm -f conftest.er1
4247 cat conftest.err >&5
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); } && {
4250 test -z "$ac_cxx_werror_flag" ||
4251 test ! -s conftest.err
4252 } && test -s conftest.$ac_objext; then
4253 ac_cv_type__Bool=yes
4254 else
4255 echo "$as_me: failed program was:" >&5
4256 sed 's/^/| /' conftest.$ac_ext >&5
4258 ac_cv_type__Bool=no
4261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4263 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
4264 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
4265 if test $ac_cv_type__Bool = yes; then
4267 cat >>confdefs.h <<_ACEOF
4268 #define HAVE__BOOL 1
4269 _ACEOF
4274 if test $ac_cv_header_stdbool_h = yes; then
4276 cat >>confdefs.h <<\_ACEOF
4277 #define HAVE_STDBOOL_H 1
4278 _ACEOF
4282 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4283 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4284 if test "${ac_cv_c_const+set}" = set; then
4285 echo $ECHO_N "(cached) $ECHO_C" >&6
4286 else
4287 cat >conftest.$ac_ext <<_ACEOF
4288 /* confdefs.h. */
4289 _ACEOF
4290 cat confdefs.h >>conftest.$ac_ext
4291 cat >>conftest.$ac_ext <<_ACEOF
4292 /* end confdefs.h. */
4295 main ()
4297 /* FIXME: Include the comments suggested by Paul. */
4298 #ifndef __cplusplus
4299 /* Ultrix mips cc rejects this. */
4300 typedef int charset[2];
4301 const charset cs;
4302 /* SunOS 4.1.1 cc rejects this. */
4303 char const *const *pcpcc;
4304 char **ppc;
4305 /* NEC SVR4.0.2 mips cc rejects this. */
4306 struct point {int x, y;};
4307 static struct point const zero = {0,0};
4308 /* AIX XL C 1.02.0.0 rejects this.
4309 It does not let you subtract one const X* pointer from another in
4310 an arm of an if-expression whose if-part is not a constant
4311 expression */
4312 const char *g = "string";
4313 pcpcc = &g + (g ? g-g : 0);
4314 /* HPUX 7.0 cc rejects these. */
4315 ++pcpcc;
4316 ppc = (char**) pcpcc;
4317 pcpcc = (char const *const *) ppc;
4318 { /* SCO 3.2v4 cc rejects this. */
4319 char *t;
4320 char const *s = 0 ? (char *) 0 : (char const *) 0;
4322 *t++ = 0;
4323 if (s) return 0;
4325 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4326 int x[] = {25, 17};
4327 const int *foo = &x[0];
4328 ++foo;
4330 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4331 typedef const int *iptr;
4332 iptr p = 0;
4333 ++p;
4335 { /* AIX XL C 1.02.0.0 rejects this saying
4336 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4337 struct s { int j; const int *ap[3]; };
4338 struct s *b; b->j = 5;
4340 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4341 const int foo = 10;
4342 if (!foo) return 0;
4344 return !cs[0] && !zero.x;
4345 #endif
4348 return 0;
4350 _ACEOF
4351 rm -f conftest.$ac_objext
4352 if { (ac_try="$ac_compile"
4353 case "(($ac_try" in
4354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4355 *) ac_try_echo=$ac_try;;
4356 esac
4357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4358 (eval "$ac_compile") 2>conftest.er1
4359 ac_status=$?
4360 grep -v '^ *+' conftest.er1 >conftest.err
4361 rm -f conftest.er1
4362 cat conftest.err >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } && {
4365 test -z "$ac_cxx_werror_flag" ||
4366 test ! -s conftest.err
4367 } && test -s conftest.$ac_objext; then
4368 ac_cv_c_const=yes
4369 else
4370 echo "$as_me: failed program was:" >&5
4371 sed 's/^/| /' conftest.$ac_ext >&5
4373 ac_cv_c_const=no
4376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4378 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4379 echo "${ECHO_T}$ac_cv_c_const" >&6; }
4380 if test $ac_cv_c_const = no; then
4382 cat >>confdefs.h <<\_ACEOF
4383 #define const
4384 _ACEOF
4388 { echo "$as_me:$LINENO: checking for inline" >&5
4389 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
4390 if test "${ac_cv_c_inline+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 else
4393 ac_cv_c_inline=no
4394 for ac_kw in inline __inline__ __inline; do
4395 cat >conftest.$ac_ext <<_ACEOF
4396 /* confdefs.h. */
4397 _ACEOF
4398 cat confdefs.h >>conftest.$ac_ext
4399 cat >>conftest.$ac_ext <<_ACEOF
4400 /* end confdefs.h. */
4401 #ifndef __cplusplus
4402 typedef int foo_t;
4403 static $ac_kw foo_t static_foo () {return 0; }
4404 $ac_kw foo_t foo () {return 0; }
4405 #endif
4407 _ACEOF
4408 rm -f conftest.$ac_objext
4409 if { (ac_try="$ac_compile"
4410 case "(($ac_try" in
4411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4412 *) ac_try_echo=$ac_try;;
4413 esac
4414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4415 (eval "$ac_compile") 2>conftest.er1
4416 ac_status=$?
4417 grep -v '^ *+' conftest.er1 >conftest.err
4418 rm -f conftest.er1
4419 cat conftest.err >&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); } && {
4422 test -z "$ac_cxx_werror_flag" ||
4423 test ! -s conftest.err
4424 } && test -s conftest.$ac_objext; then
4425 ac_cv_c_inline=$ac_kw
4426 else
4427 echo "$as_me: failed program was:" >&5
4428 sed 's/^/| /' conftest.$ac_ext >&5
4433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4434 test "$ac_cv_c_inline" != no && break
4435 done
4438 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4439 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
4442 case $ac_cv_c_inline in
4443 inline | yes) ;;
4445 case $ac_cv_c_inline in
4446 no) ac_val=;;
4447 *) ac_val=$ac_cv_c_inline;;
4448 esac
4449 cat >>confdefs.h <<_ACEOF
4450 #ifndef __cplusplus
4451 #define inline $ac_val
4452 #endif
4453 _ACEOF
4455 esac
4458 AVT_CFLAGS="$GTKMM_CFLAGS $LIBGLADEMM_CFLAGS"
4459 AVT_LIBS="$GTKMM_LIBS $LIBGLADEMM_LIBS"
4464 ac_config_files="$ac_config_files Makefile glade/Makefile src/Makefile src/core/Makefile src/core/parser/Makefile src/core/parser/json_spirit/Makefile"
4466 cat >confcache <<\_ACEOF
4467 # This file is a shell script that caches the results of configure
4468 # tests run on this system so they can be shared between configure
4469 # scripts and configure runs, see configure's option --config-cache.
4470 # It is not useful on other systems. If it contains results you don't
4471 # want to keep, you may remove or edit it.
4473 # config.status only pays attention to the cache file if you give it
4474 # the --recheck option to rerun configure.
4476 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4477 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4478 # following values.
4480 _ACEOF
4482 # The following way of writing the cache mishandles newlines in values,
4483 # but we know of no workaround that is simple, portable, and efficient.
4484 # So, we kill variables containing newlines.
4485 # Ultrix sh set writes to stderr and can't be redirected directly,
4486 # and sets the high bit in the cache file unless we assign to the vars.
4488 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4489 eval ac_val=\$$ac_var
4490 case $ac_val in #(
4491 *${as_nl}*)
4492 case $ac_var in #(
4493 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4494 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4495 esac
4496 case $ac_var in #(
4497 _ | IFS | as_nl) ;; #(
4498 *) $as_unset $ac_var ;;
4499 esac ;;
4500 esac
4501 done
4503 (set) 2>&1 |
4504 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4505 *${as_nl}ac_space=\ *)
4506 # `set' does not quote correctly, so add quotes (double-quote
4507 # substitution turns \\\\ into \\, and sed turns \\ into \).
4508 sed -n \
4509 "s/'/'\\\\''/g;
4510 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4511 ;; #(
4513 # `set' quotes correctly as required by POSIX, so do not add quotes.
4514 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4516 esac |
4517 sort
4519 sed '
4520 /^ac_cv_env_/b end
4521 t clear
4522 :clear
4523 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4524 t end
4525 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4526 :end' >>confcache
4527 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4528 if test -w "$cache_file"; then
4529 test "x$cache_file" != "x/dev/null" &&
4530 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4531 echo "$as_me: updating cache $cache_file" >&6;}
4532 cat confcache >$cache_file
4533 else
4534 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4535 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4538 rm -f confcache
4540 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4541 # Let make expand exec_prefix.
4542 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4544 # Transform confdefs.h into DEFS.
4545 # Protect against shell expansion while executing Makefile rules.
4546 # Protect against Makefile macro expansion.
4548 # If the first sed substitution is executed (which looks for macros that
4549 # take arguments), then branch to the quote section. Otherwise,
4550 # look for a macro that doesn't take arguments.
4551 ac_script='
4552 t clear
4553 :clear
4554 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4555 t quote
4556 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4557 t quote
4558 b any
4559 :quote
4560 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4561 s/\[/\\&/g
4562 s/\]/\\&/g
4563 s/\$/$$/g
4565 :any
4568 s/^\n//
4569 s/\n/ /g
4573 DEFS=`sed -n "$ac_script" confdefs.h`
4576 ac_libobjs=
4577 ac_ltlibobjs=
4578 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4579 # 1. Remove the extension, and $U if already installed.
4580 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4581 ac_i=`echo "$ac_i" | sed "$ac_script"`
4582 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4583 # will be set to the directory where LIBOBJS objects are built.
4584 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4585 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4586 done
4587 LIBOBJS=$ac_libobjs
4589 LTLIBOBJS=$ac_ltlibobjs
4592 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4593 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4594 Usually this means the macro was only invoked conditionally." >&5
4595 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4596 Usually this means the macro was only invoked conditionally." >&2;}
4597 { (exit 1); exit 1; }; }
4599 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
4600 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
4601 Usually this means the macro was only invoked conditionally." >&5
4602 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
4603 Usually this means the macro was only invoked conditionally." >&2;}
4604 { (exit 1); exit 1; }; }
4607 : ${CONFIG_STATUS=./config.status}
4608 ac_clean_files_save=$ac_clean_files
4609 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4610 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4611 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4612 cat >$CONFIG_STATUS <<_ACEOF
4613 #! $SHELL
4614 # Generated by $as_me.
4615 # Run this file to recreate the current configuration.
4616 # Compiler output produced by configure, useful for debugging
4617 # configure, is in config.log if it exists.
4619 debug=false
4620 ac_cs_recheck=false
4621 ac_cs_silent=false
4622 SHELL=\${CONFIG_SHELL-$SHELL}
4623 _ACEOF
4625 cat >>$CONFIG_STATUS <<\_ACEOF
4626 ## --------------------- ##
4627 ## M4sh Initialization. ##
4628 ## --------------------- ##
4630 # Be more Bourne compatible
4631 DUALCASE=1; export DUALCASE # for MKS sh
4632 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4633 emulate sh
4634 NULLCMD=:
4635 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4636 # is contrary to our usage. Disable this feature.
4637 alias -g '${1+"$@"}'='"$@"'
4638 setopt NO_GLOB_SUBST
4639 else
4640 case `(set -o) 2>/dev/null` in
4641 *posix*) set -o posix ;;
4642 esac
4649 # PATH needs CR
4650 # Avoid depending upon Character Ranges.
4651 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4652 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4653 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4654 as_cr_digits='0123456789'
4655 as_cr_alnum=$as_cr_Letters$as_cr_digits
4657 # The user is always right.
4658 if test "${PATH_SEPARATOR+set}" != set; then
4659 echo "#! /bin/sh" >conf$$.sh
4660 echo "exit 0" >>conf$$.sh
4661 chmod +x conf$$.sh
4662 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4663 PATH_SEPARATOR=';'
4664 else
4665 PATH_SEPARATOR=:
4667 rm -f conf$$.sh
4670 # Support unset when possible.
4671 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4672 as_unset=unset
4673 else
4674 as_unset=false
4678 # IFS
4679 # We need space, tab and new line, in precisely that order. Quoting is
4680 # there to prevent editors from complaining about space-tab.
4681 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4682 # splitting by setting IFS to empty value.)
4683 as_nl='
4685 IFS=" "" $as_nl"
4687 # Find who we are. Look in the path if we contain no directory separator.
4688 case $0 in
4689 *[\\/]* ) as_myself=$0 ;;
4690 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4691 for as_dir in $PATH
4693 IFS=$as_save_IFS
4694 test -z "$as_dir" && as_dir=.
4695 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4696 done
4697 IFS=$as_save_IFS
4700 esac
4701 # We did not find ourselves, most probably we were run as `sh COMMAND'
4702 # in which case we are not to be found in the path.
4703 if test "x$as_myself" = x; then
4704 as_myself=$0
4706 if test ! -f "$as_myself"; then
4707 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4708 { (exit 1); exit 1; }
4711 # Work around bugs in pre-3.0 UWIN ksh.
4712 for as_var in ENV MAIL MAILPATH
4713 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4714 done
4715 PS1='$ '
4716 PS2='> '
4717 PS4='+ '
4719 # NLS nuisances.
4720 for as_var in \
4721 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4722 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4723 LC_TELEPHONE LC_TIME
4725 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4726 eval $as_var=C; export $as_var
4727 else
4728 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4730 done
4732 # Required to use basename.
4733 if expr a : '\(a\)' >/dev/null 2>&1 &&
4734 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4735 as_expr=expr
4736 else
4737 as_expr=false
4740 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4741 as_basename=basename
4742 else
4743 as_basename=false
4747 # Name of the executable.
4748 as_me=`$as_basename -- "$0" ||
4749 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4750 X"$0" : 'X\(//\)$' \| \
4751 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4752 echo X/"$0" |
4753 sed '/^.*\/\([^/][^/]*\)\/*$/{
4754 s//\1/
4757 /^X\/\(\/\/\)$/{
4758 s//\1/
4761 /^X\/\(\/\).*/{
4762 s//\1/
4765 s/.*/./; q'`
4767 # CDPATH.
4768 $as_unset CDPATH
4772 as_lineno_1=$LINENO
4773 as_lineno_2=$LINENO
4774 test "x$as_lineno_1" != "x$as_lineno_2" &&
4775 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4777 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4778 # uniformly replaced by the line number. The first 'sed' inserts a
4779 # line-number line after each line using $LINENO; the second 'sed'
4780 # does the real work. The second script uses 'N' to pair each
4781 # line-number line with the line containing $LINENO, and appends
4782 # trailing '-' during substitution so that $LINENO is not a special
4783 # case at line end.
4784 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4785 # scripts with optimization help from Paolo Bonzini. Blame Lee
4786 # E. McMahon (1931-1989) for sed's syntax. :-)
4787 sed -n '
4789 /[$]LINENO/=
4790 ' <$as_myself |
4791 sed '
4792 s/[$]LINENO.*/&-/
4793 t lineno
4795 :lineno
4797 :loop
4798 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4799 t loop
4800 s/-\n.*//
4801 ' >$as_me.lineno &&
4802 chmod +x "$as_me.lineno" ||
4803 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4804 { (exit 1); exit 1; }; }
4806 # Don't try to exec as it changes $[0], causing all sort of problems
4807 # (the dirname of $[0] is not the place where we might find the
4808 # original and so on. Autoconf is especially sensitive to this).
4809 . "./$as_me.lineno"
4810 # Exit status is that of the last command.
4811 exit
4815 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4816 as_dirname=dirname
4817 else
4818 as_dirname=false
4821 ECHO_C= ECHO_N= ECHO_T=
4822 case `echo -n x` in
4823 -n*)
4824 case `echo 'x\c'` in
4825 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4826 *) ECHO_C='\c';;
4827 esac;;
4829 ECHO_N='-n';;
4830 esac
4832 if expr a : '\(a\)' >/dev/null 2>&1 &&
4833 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4834 as_expr=expr
4835 else
4836 as_expr=false
4839 rm -f conf$$ conf$$.exe conf$$.file
4840 if test -d conf$$.dir; then
4841 rm -f conf$$.dir/conf$$.file
4842 else
4843 rm -f conf$$.dir
4844 mkdir conf$$.dir
4846 echo >conf$$.file
4847 if ln -s conf$$.file conf$$ 2>/dev/null; then
4848 as_ln_s='ln -s'
4849 # ... but there are two gotchas:
4850 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4851 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4852 # In both cases, we have to default to `cp -p'.
4853 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4854 as_ln_s='cp -p'
4855 elif ln conf$$.file conf$$ 2>/dev/null; then
4856 as_ln_s=ln
4857 else
4858 as_ln_s='cp -p'
4860 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4861 rmdir conf$$.dir 2>/dev/null
4863 if mkdir -p . 2>/dev/null; then
4864 as_mkdir_p=:
4865 else
4866 test -d ./-p && rmdir ./-p
4867 as_mkdir_p=false
4870 if test -x / >/dev/null 2>&1; then
4871 as_test_x='test -x'
4872 else
4873 if ls -dL / >/dev/null 2>&1; then
4874 as_ls_L_option=L
4875 else
4876 as_ls_L_option=
4878 as_test_x='
4879 eval sh -c '\''
4880 if test -d "$1"; then
4881 test -d "$1/.";
4882 else
4883 case $1 in
4884 -*)set "./$1";;
4885 esac;
4886 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4887 ???[sx]*):;;*)false;;esac;fi
4888 '\'' sh
4891 as_executable_p=$as_test_x
4893 # Sed expression to map a string onto a valid CPP name.
4894 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4896 # Sed expression to map a string onto a valid variable name.
4897 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4900 exec 6>&1
4902 # Save the log message, to keep $[0] and so on meaningful, and to
4903 # report actual input values of CONFIG_FILES etc. instead of their
4904 # values after options handling.
4905 ac_log="
4906 This file was extended by Alignment Visualization Tool $as_me alpha, which was
4907 generated by GNU Autoconf 2.61. Invocation command line was
4909 CONFIG_FILES = $CONFIG_FILES
4910 CONFIG_HEADERS = $CONFIG_HEADERS
4911 CONFIG_LINKS = $CONFIG_LINKS
4912 CONFIG_COMMANDS = $CONFIG_COMMANDS
4913 $ $0 $@
4915 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4918 _ACEOF
4920 cat >>$CONFIG_STATUS <<_ACEOF
4921 # Files that config.status was made for.
4922 config_files="$ac_config_files"
4923 config_commands="$ac_config_commands"
4925 _ACEOF
4927 cat >>$CONFIG_STATUS <<\_ACEOF
4928 ac_cs_usage="\
4929 \`$as_me' instantiates files from templates according to the
4930 current configuration.
4932 Usage: $0 [OPTIONS] [FILE]...
4934 -h, --help print this help, then exit
4935 -V, --version print version number and configuration settings, then exit
4936 -q, --quiet do not print progress messages
4937 -d, --debug don't remove temporary files
4938 --recheck update $as_me by reconfiguring in the same conditions
4939 --file=FILE[:TEMPLATE]
4940 instantiate the configuration file FILE
4942 Configuration files:
4943 $config_files
4945 Configuration commands:
4946 $config_commands
4948 Report bugs to <bug-autoconf@gnu.org>."
4950 _ACEOF
4951 cat >>$CONFIG_STATUS <<_ACEOF
4952 ac_cs_version="\\
4953 Alignment Visualization Tool config.status alpha
4954 configured by $0, generated by GNU Autoconf 2.61,
4955 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4957 Copyright (C) 2006 Free Software Foundation, Inc.
4958 This config.status script is free software; the Free Software Foundation
4959 gives unlimited permission to copy, distribute and modify it."
4961 ac_pwd='$ac_pwd'
4962 srcdir='$srcdir'
4963 INSTALL='$INSTALL'
4964 MKDIR_P='$MKDIR_P'
4965 _ACEOF
4967 cat >>$CONFIG_STATUS <<\_ACEOF
4968 # If no file are specified by the user, then we need to provide default
4969 # value. By we need to know if files were specified by the user.
4970 ac_need_defaults=:
4971 while test $# != 0
4973 case $1 in
4974 --*=*)
4975 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4976 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4977 ac_shift=:
4980 ac_option=$1
4981 ac_optarg=$2
4982 ac_shift=shift
4984 esac
4986 case $ac_option in
4987 # Handling of the options.
4988 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4989 ac_cs_recheck=: ;;
4990 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4991 echo "$ac_cs_version"; exit ;;
4992 --debug | --debu | --deb | --de | --d | -d )
4993 debug=: ;;
4994 --file | --fil | --fi | --f )
4995 $ac_shift
4996 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4997 ac_need_defaults=false;;
4998 --he | --h | --help | --hel | -h )
4999 echo "$ac_cs_usage"; exit ;;
5000 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5001 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5002 ac_cs_silent=: ;;
5004 # This is an error.
5005 -*) { echo "$as_me: error: unrecognized option: $1
5006 Try \`$0 --help' for more information." >&2
5007 { (exit 1); exit 1; }; } ;;
5009 *) ac_config_targets="$ac_config_targets $1"
5010 ac_need_defaults=false ;;
5012 esac
5013 shift
5014 done
5016 ac_configure_extra_args=
5018 if $ac_cs_silent; then
5019 exec 6>/dev/null
5020 ac_configure_extra_args="$ac_configure_extra_args --silent"
5023 _ACEOF
5024 cat >>$CONFIG_STATUS <<_ACEOF
5025 if \$ac_cs_recheck; then
5026 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5027 CONFIG_SHELL=$SHELL
5028 export CONFIG_SHELL
5029 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5032 _ACEOF
5033 cat >>$CONFIG_STATUS <<\_ACEOF
5034 exec 5>>config.log
5036 echo
5037 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5038 ## Running $as_me. ##
5039 _ASBOX
5040 echo "$ac_log"
5041 } >&5
5043 _ACEOF
5044 cat >>$CONFIG_STATUS <<_ACEOF
5046 # INIT-COMMANDS
5048 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5050 _ACEOF
5052 cat >>$CONFIG_STATUS <<\_ACEOF
5054 # Handling of arguments.
5055 for ac_config_target in $ac_config_targets
5057 case $ac_config_target in
5058 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5059 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5060 "glade/Makefile") CONFIG_FILES="$CONFIG_FILES glade/Makefile" ;;
5061 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5062 "src/core/Makefile") CONFIG_FILES="$CONFIG_FILES src/core/Makefile" ;;
5063 "src/core/parser/Makefile") CONFIG_FILES="$CONFIG_FILES src/core/parser/Makefile" ;;
5064 "src/core/parser/json_spirit/Makefile") CONFIG_FILES="$CONFIG_FILES src/core/parser/json_spirit/Makefile" ;;
5066 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5067 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5068 { (exit 1); exit 1; }; };;
5069 esac
5070 done
5073 # If the user did not use the arguments to specify the items to instantiate,
5074 # then the envvar interface is used. Set only those that are not.
5075 # We use the long form for the default assignment because of an extremely
5076 # bizarre bug on SunOS 4.1.3.
5077 if $ac_need_defaults; then
5078 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5079 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5082 # Have a temporary directory for convenience. Make it in the build tree
5083 # simply because there is no reason against having it here, and in addition,
5084 # creating and moving files from /tmp can sometimes cause problems.
5085 # Hook for its removal unless debugging.
5086 # Note that there is a small window in which the directory will not be cleaned:
5087 # after its creation but before its name has been assigned to `$tmp'.
5088 $debug ||
5090 tmp=
5091 trap 'exit_status=$?
5092 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5094 trap '{ (exit 1); exit 1; }' 1 2 13 15
5096 # Create a (secure) tmp directory for tmp files.
5099 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5100 test -n "$tmp" && test -d "$tmp"
5101 } ||
5103 tmp=./conf$$-$RANDOM
5104 (umask 077 && mkdir "$tmp")
5105 } ||
5107 echo "$me: cannot create a temporary directory in ." >&2
5108 { (exit 1); exit 1; }
5112 # Set up the sed scripts for CONFIG_FILES section.
5115 # No need to generate the scripts if there are no CONFIG_FILES.
5116 # This happens for instance when ./config.status config.h
5117 if test -n "$CONFIG_FILES"; then
5119 _ACEOF
5123 ac_delim='%!_!# '
5124 for ac_last_try in false false false false false :; do
5125 cat >conf$$subs.sed <<_ACEOF
5126 SHELL!$SHELL$ac_delim
5127 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5128 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5129 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5130 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5131 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5132 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5133 exec_prefix!$exec_prefix$ac_delim
5134 prefix!$prefix$ac_delim
5135 program_transform_name!$program_transform_name$ac_delim
5136 bindir!$bindir$ac_delim
5137 sbindir!$sbindir$ac_delim
5138 libexecdir!$libexecdir$ac_delim
5139 datarootdir!$datarootdir$ac_delim
5140 datadir!$datadir$ac_delim
5141 sysconfdir!$sysconfdir$ac_delim
5142 sharedstatedir!$sharedstatedir$ac_delim
5143 localstatedir!$localstatedir$ac_delim
5144 includedir!$includedir$ac_delim
5145 oldincludedir!$oldincludedir$ac_delim
5146 docdir!$docdir$ac_delim
5147 infodir!$infodir$ac_delim
5148 htmldir!$htmldir$ac_delim
5149 dvidir!$dvidir$ac_delim
5150 pdfdir!$pdfdir$ac_delim
5151 psdir!$psdir$ac_delim
5152 libdir!$libdir$ac_delim
5153 localedir!$localedir$ac_delim
5154 mandir!$mandir$ac_delim
5155 DEFS!$DEFS$ac_delim
5156 ECHO_C!$ECHO_C$ac_delim
5157 ECHO_N!$ECHO_N$ac_delim
5158 ECHO_T!$ECHO_T$ac_delim
5159 LIBS!$LIBS$ac_delim
5160 build_alias!$build_alias$ac_delim
5161 host_alias!$host_alias$ac_delim
5162 target_alias!$target_alias$ac_delim
5163 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5164 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5165 INSTALL_DATA!$INSTALL_DATA$ac_delim
5166 am__isrc!$am__isrc$ac_delim
5167 CYGPATH_W!$CYGPATH_W$ac_delim
5168 PACKAGE!$PACKAGE$ac_delim
5169 VERSION!$VERSION$ac_delim
5170 ACLOCAL!$ACLOCAL$ac_delim
5171 AUTOCONF!$AUTOCONF$ac_delim
5172 AUTOMAKE!$AUTOMAKE$ac_delim
5173 AUTOHEADER!$AUTOHEADER$ac_delim
5174 MAKEINFO!$MAKEINFO$ac_delim
5175 install_sh!$install_sh$ac_delim
5176 STRIP!$STRIP$ac_delim
5177 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5178 mkdir_p!$mkdir_p$ac_delim
5179 AWK!$AWK$ac_delim
5180 SET_MAKE!$SET_MAKE$ac_delim
5181 am__leading_dot!$am__leading_dot$ac_delim
5182 AMTAR!$AMTAR$ac_delim
5183 am__tar!$am__tar$ac_delim
5184 am__untar!$am__untar$ac_delim
5185 CXX!$CXX$ac_delim
5186 CXXFLAGS!$CXXFLAGS$ac_delim
5187 LDFLAGS!$LDFLAGS$ac_delim
5188 CPPFLAGS!$CPPFLAGS$ac_delim
5189 ac_ct_CXX!$ac_ct_CXX$ac_delim
5190 EXEEXT!$EXEEXT$ac_delim
5191 OBJEXT!$OBJEXT$ac_delim
5192 DEPDIR!$DEPDIR$ac_delim
5193 am__include!$am__include$ac_delim
5194 am__quote!$am__quote$ac_delim
5195 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5196 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5197 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5198 CXXDEPMODE!$CXXDEPMODE$ac_delim
5199 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
5200 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
5201 RANLIB!$RANLIB$ac_delim
5202 PKG_CONFIG!$PKG_CONFIG$ac_delim
5203 GTKMM_CFLAGS!$GTKMM_CFLAGS$ac_delim
5204 GTKMM_LIBS!$GTKMM_LIBS$ac_delim
5205 LIBGLADEMM_CFLAGS!$LIBGLADEMM_CFLAGS$ac_delim
5206 LIBGLADEMM_LIBS!$LIBGLADEMM_LIBS$ac_delim
5207 CXXCPP!$CXXCPP$ac_delim
5208 GREP!$GREP$ac_delim
5209 EGREP!$EGREP$ac_delim
5210 AVT_CFLAGS!$AVT_CFLAGS$ac_delim
5211 AVT_LIBS!$AVT_LIBS$ac_delim
5212 LIBOBJS!$LIBOBJS$ac_delim
5213 LTLIBOBJS!$LTLIBOBJS$ac_delim
5214 _ACEOF
5216 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then
5217 break
5218 elif $ac_last_try; then
5219 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5220 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5221 { (exit 1); exit 1; }; }
5222 else
5223 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5225 done
5227 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5228 if test -n "$ac_eof"; then
5229 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5230 ac_eof=`expr $ac_eof + 1`
5233 cat >>$CONFIG_STATUS <<_ACEOF
5234 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5235 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5236 _ACEOF
5237 sed '
5238 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5239 s/^/s,@/; s/!/@,|#_!!_#|/
5242 s/'"$ac_delim"'$/,g/; t
5243 s/$/\\/; p
5244 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5245 ' >>$CONFIG_STATUS <conf$$subs.sed
5246 rm -f conf$$subs.sed
5247 cat >>$CONFIG_STATUS <<_ACEOF
5248 :end
5249 s/|#_!!_#|//g
5250 CEOF$ac_eof
5251 _ACEOF
5254 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5255 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5256 # trailing colons and then remove the whole line if VPATH becomes empty
5257 # (actually we leave an empty line to preserve line numbers).
5258 if test "x$srcdir" = x.; then
5259 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5260 s/:*\$(srcdir):*/:/
5261 s/:*\${srcdir}:*/:/
5262 s/:*@srcdir@:*/:/
5263 s/^\([^=]*=[ ]*\):*/\1/
5264 s/:*$//
5265 s/^[^=]*=[ ]*$//
5269 cat >>$CONFIG_STATUS <<\_ACEOF
5270 fi # test -n "$CONFIG_FILES"
5273 for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
5275 case $ac_tag in
5276 :[FHLC]) ac_mode=$ac_tag; continue;;
5277 esac
5278 case $ac_mode$ac_tag in
5279 :[FHL]*:*);;
5280 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5281 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5282 { (exit 1); exit 1; }; };;
5283 :[FH]-) ac_tag=-:-;;
5284 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5285 esac
5286 ac_save_IFS=$IFS
5287 IFS=:
5288 set x $ac_tag
5289 IFS=$ac_save_IFS
5290 shift
5291 ac_file=$1
5292 shift
5294 case $ac_mode in
5295 :L) ac_source=$1;;
5296 :[FH])
5297 ac_file_inputs=
5298 for ac_f
5300 case $ac_f in
5301 -) ac_f="$tmp/stdin";;
5302 *) # Look for the file first in the build tree, then in the source tree
5303 # (if the path is not absolute). The absolute path cannot be DOS-style,
5304 # because $ac_f cannot contain `:'.
5305 test -f "$ac_f" ||
5306 case $ac_f in
5307 [\\/$]*) false;;
5308 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5309 esac ||
5310 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5311 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5312 { (exit 1); exit 1; }; };;
5313 esac
5314 ac_file_inputs="$ac_file_inputs $ac_f"
5315 done
5317 # Let's still pretend it is `configure' which instantiates (i.e., don't
5318 # use $as_me), people would be surprised to read:
5319 # /* config.h. Generated by config.status. */
5320 configure_input="Generated from "`IFS=:
5321 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5322 if test x"$ac_file" != x-; then
5323 configure_input="$ac_file. $configure_input"
5324 { echo "$as_me:$LINENO: creating $ac_file" >&5
5325 echo "$as_me: creating $ac_file" >&6;}
5328 case $ac_tag in
5329 *:-:* | *:-) cat >"$tmp/stdin";;
5330 esac
5332 esac
5334 ac_dir=`$as_dirname -- "$ac_file" ||
5335 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5336 X"$ac_file" : 'X\(//\)[^/]' \| \
5337 X"$ac_file" : 'X\(//\)$' \| \
5338 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5339 echo X"$ac_file" |
5340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5341 s//\1/
5344 /^X\(\/\/\)[^/].*/{
5345 s//\1/
5348 /^X\(\/\/\)$/{
5349 s//\1/
5352 /^X\(\/\).*/{
5353 s//\1/
5356 s/.*/./; q'`
5357 { as_dir="$ac_dir"
5358 case $as_dir in #(
5359 -*) as_dir=./$as_dir;;
5360 esac
5361 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5362 as_dirs=
5363 while :; do
5364 case $as_dir in #(
5365 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5366 *) as_qdir=$as_dir;;
5367 esac
5368 as_dirs="'$as_qdir' $as_dirs"
5369 as_dir=`$as_dirname -- "$as_dir" ||
5370 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5371 X"$as_dir" : 'X\(//\)[^/]' \| \
5372 X"$as_dir" : 'X\(//\)$' \| \
5373 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5374 echo X"$as_dir" |
5375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5376 s//\1/
5379 /^X\(\/\/\)[^/].*/{
5380 s//\1/
5383 /^X\(\/\/\)$/{
5384 s//\1/
5387 /^X\(\/\).*/{
5388 s//\1/
5391 s/.*/./; q'`
5392 test -d "$as_dir" && break
5393 done
5394 test -z "$as_dirs" || eval "mkdir $as_dirs"
5395 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5396 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5397 { (exit 1); exit 1; }; }; }
5398 ac_builddir=.
5400 case "$ac_dir" in
5401 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5403 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5404 # A ".." for each directory in $ac_dir_suffix.
5405 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5406 case $ac_top_builddir_sub in
5407 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5408 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5409 esac ;;
5410 esac
5411 ac_abs_top_builddir=$ac_pwd
5412 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5413 # for backward compatibility:
5414 ac_top_builddir=$ac_top_build_prefix
5416 case $srcdir in
5417 .) # We are building in place.
5418 ac_srcdir=.
5419 ac_top_srcdir=$ac_top_builddir_sub
5420 ac_abs_top_srcdir=$ac_pwd ;;
5421 [\\/]* | ?:[\\/]* ) # Absolute name.
5422 ac_srcdir=$srcdir$ac_dir_suffix;
5423 ac_top_srcdir=$srcdir
5424 ac_abs_top_srcdir=$srcdir ;;
5425 *) # Relative name.
5426 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5427 ac_top_srcdir=$ac_top_build_prefix$srcdir
5428 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5429 esac
5430 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5433 case $ac_mode in
5436 # CONFIG_FILE
5439 case $INSTALL in
5440 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5441 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5442 esac
5443 ac_MKDIR_P=$MKDIR_P
5444 case $MKDIR_P in
5445 [\\/$]* | ?:[\\/]* ) ;;
5446 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5447 esac
5448 _ACEOF
5450 cat >>$CONFIG_STATUS <<\_ACEOF
5451 # If the template does not know about datarootdir, expand it.
5452 # FIXME: This hack should be removed a few years after 2.60.
5453 ac_datarootdir_hack=; ac_datarootdir_seen=
5455 case `sed -n '/datarootdir/ {
5459 /@datadir@/p
5460 /@docdir@/p
5461 /@infodir@/p
5462 /@localedir@/p
5463 /@mandir@/p
5464 ' $ac_file_inputs` in
5465 *datarootdir*) ac_datarootdir_seen=yes;;
5466 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5467 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5468 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5469 _ACEOF
5470 cat >>$CONFIG_STATUS <<_ACEOF
5471 ac_datarootdir_hack='
5472 s&@datadir@&$datadir&g
5473 s&@docdir@&$docdir&g
5474 s&@infodir@&$infodir&g
5475 s&@localedir@&$localedir&g
5476 s&@mandir@&$mandir&g
5477 s&\\\${datarootdir}&$datarootdir&g' ;;
5478 esac
5479 _ACEOF
5481 # Neutralize VPATH when `$srcdir' = `.'.
5482 # Shell code in configure.ac might set extrasub.
5483 # FIXME: do we really want to maintain this feature?
5484 cat >>$CONFIG_STATUS <<_ACEOF
5485 sed "$ac_vpsub
5486 $extrasub
5487 _ACEOF
5488 cat >>$CONFIG_STATUS <<\_ACEOF
5490 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5491 s&@configure_input@&$configure_input&;t t
5492 s&@top_builddir@&$ac_top_builddir_sub&;t t
5493 s&@srcdir@&$ac_srcdir&;t t
5494 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5495 s&@top_srcdir@&$ac_top_srcdir&;t t
5496 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5497 s&@builddir@&$ac_builddir&;t t
5498 s&@abs_builddir@&$ac_abs_builddir&;t t
5499 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5500 s&@INSTALL@&$ac_INSTALL&;t t
5501 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5502 $ac_datarootdir_hack
5503 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5505 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5506 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5507 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5508 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5509 which seems to be undefined. Please make sure it is defined." >&5
5510 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5511 which seems to be undefined. Please make sure it is defined." >&2;}
5513 rm -f "$tmp/stdin"
5514 case $ac_file in
5515 -) cat "$tmp/out"; rm -f "$tmp/out";;
5516 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5517 esac
5521 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5522 echo "$as_me: executing $ac_file commands" >&6;}
5524 esac
5527 case $ac_file$ac_mode in
5528 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5529 # Strip MF so we end up with the name of the file.
5530 mf=`echo "$mf" | sed -e 's/:.*$//'`
5531 # Check whether this is an Automake generated Makefile or not.
5532 # We used to match only the files named `Makefile.in', but
5533 # some people rename them; so instead we look at the file content.
5534 # Grep'ing the first line is not enough: some people post-process
5535 # each Makefile.in and add a new line on top of each file to say so.
5536 # Grep'ing the whole file is not good either: AIX grep has a line
5537 # limit of 2048, but all sed's we know have understand at least 4000.
5538 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
5539 dirpart=`$as_dirname -- "$mf" ||
5540 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5541 X"$mf" : 'X\(//\)[^/]' \| \
5542 X"$mf" : 'X\(//\)$' \| \
5543 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5544 echo X"$mf" |
5545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5546 s//\1/
5549 /^X\(\/\/\)[^/].*/{
5550 s//\1/
5553 /^X\(\/\/\)$/{
5554 s//\1/
5557 /^X\(\/\).*/{
5558 s//\1/
5561 s/.*/./; q'`
5562 else
5563 continue
5565 # Extract the definition of DEPDIR, am__include, and am__quote
5566 # from the Makefile without running `make'.
5567 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5568 test -z "$DEPDIR" && continue
5569 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5570 test -z "am__include" && continue
5571 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5572 # When using ansi2knr, U may be empty or an underscore; expand it
5573 U=`sed -n 's/^U = //p' < "$mf"`
5574 # Find all dependency output files, they are included files with
5575 # $(DEPDIR) in their names. We invoke sed twice because it is the
5576 # simplest approach to changing $(DEPDIR) to its actual value in the
5577 # expansion.
5578 for file in `sed -n "
5579 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5580 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5581 # Make sure the directory exists.
5582 test -f "$dirpart/$file" && continue
5583 fdir=`$as_dirname -- "$file" ||
5584 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5585 X"$file" : 'X\(//\)[^/]' \| \
5586 X"$file" : 'X\(//\)$' \| \
5587 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5588 echo X"$file" |
5589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5590 s//\1/
5593 /^X\(\/\/\)[^/].*/{
5594 s//\1/
5597 /^X\(\/\/\)$/{
5598 s//\1/
5601 /^X\(\/\).*/{
5602 s//\1/
5605 s/.*/./; q'`
5606 { as_dir=$dirpart/$fdir
5607 case $as_dir in #(
5608 -*) as_dir=./$as_dir;;
5609 esac
5610 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5611 as_dirs=
5612 while :; do
5613 case $as_dir in #(
5614 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5615 *) as_qdir=$as_dir;;
5616 esac
5617 as_dirs="'$as_qdir' $as_dirs"
5618 as_dir=`$as_dirname -- "$as_dir" ||
5619 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5620 X"$as_dir" : 'X\(//\)[^/]' \| \
5621 X"$as_dir" : 'X\(//\)$' \| \
5622 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5623 echo X"$as_dir" |
5624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5625 s//\1/
5628 /^X\(\/\/\)[^/].*/{
5629 s//\1/
5632 /^X\(\/\/\)$/{
5633 s//\1/
5636 /^X\(\/\).*/{
5637 s//\1/
5640 s/.*/./; q'`
5641 test -d "$as_dir" && break
5642 done
5643 test -z "$as_dirs" || eval "mkdir $as_dirs"
5644 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5645 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5646 { (exit 1); exit 1; }; }; }
5647 # echo "creating $dirpart/$file"
5648 echo '# dummy' > "$dirpart/$file"
5649 done
5650 done
5653 esac
5654 done # for ac_tag
5657 { (exit 0); exit 0; }
5658 _ACEOF
5659 chmod +x $CONFIG_STATUS
5660 ac_clean_files=$ac_clean_files_save
5663 # configure is writing to config.log, and then calls config.status.
5664 # config.status does its own redirection, appending to config.log.
5665 # Unfortunately, on DOS this fails, as config.log is still kept open
5666 # by configure, so config.status won't be able to write to it; its
5667 # output is simply discarded. So we exec the FD to /dev/null,
5668 # effectively closing config.log, so it can be properly (re)opened and
5669 # appended to by config.status. When coming back to configure, we
5670 # need to make the FD available again.
5671 if test "$no_create" != yes; then
5672 ac_cs_success=:
5673 ac_config_status_args=
5674 test "$silent" = yes &&
5675 ac_config_status_args="$ac_config_status_args --quiet"
5676 exec 5>/dev/null
5677 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5678 exec 5>>config.log
5679 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5680 # would make configure fail if this is the last instruction.
5681 $ac_cs_success || { (exit 1); exit 1; }