Removed debug output.
[cadabra.git] / configure
blob5a30b796ae90e3b31a6917ee5894b024d823f034
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22 else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25 esac
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
44 chmod +x conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46 PATH_SEPARATOR=';'
47 else
48 PATH_SEPARATOR=:
50 rm -f conf$$.sh
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55 as_unset=unset
56 else
57 as_unset=false
61 # IFS
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
66 as_nl='
68 IFS=" "" $as_nl"
70 # Find who we are. Look in the path if we contain no directory separator.
71 case $0 in
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74 for as_dir in $PATH
76 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79 done
80 IFS=$as_save_IFS
83 esac
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
87 as_myself=$0
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; }
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97 done
98 PS1='$ '
99 PS2='> '
100 PS4='+ '
102 # NLS nuisances.
103 for as_var in \
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 LC_TELEPHONE LC_TIME
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
110 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 done
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr
119 else
120 as_expr=false
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124 as_basename=basename
125 else
126 as_basename=false
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/
140 /^X\/\(\/\/\)$/{
141 s//\1/
144 /^X\/\(\/\).*/{
145 s//\1/
148 s/.*/./; q'`
150 # CDPATH.
151 $as_unset CDPATH
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
156 as_have_required=yes
157 else
158 as_have_required=no
161 if test $as_have_required = yes && (eval ":
162 (as_func_return () {
163 (exit \$1)
165 as_func_success () {
166 as_func_return 0
168 as_func_failure () {
169 as_func_return 1
171 as_func_ret_success () {
172 return 0
174 as_func_ret_failure () {
175 return 1
178 exitcode=0
179 if as_func_success; then
181 else
182 exitcode=1
183 echo as_func_success failed.
186 if as_func_failure; then
187 exitcode=1
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
193 else
194 exitcode=1
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
199 exitcode=1
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 else
206 exitcode=1
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
213 as_lineno_1=\$LINENO
214 as_lineno_2=\$LINENO
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
219 else
220 as_candidate_shells=
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
224 IFS=$as_save_IFS
225 test -z "$as_dir" && as_dir=.
226 case $as_dir in
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230 done;;
231 esac
232 done
233 IFS=$as_save_IFS
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241 emulate sh
242 NULLCMD=:
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
246 setopt NO_GLOB_SUBST
247 else
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
250 esac
256 _ASEOF
257 }; then
258 CONFIG_SHELL=$as_shell
259 as_have_required=yes
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 (as_func_return () {
278 (exit $1)
280 as_func_success () {
281 as_func_return 0
283 as_func_failure () {
284 as_func_return 1
286 as_func_ret_success () {
287 return 0
289 as_func_ret_failure () {
290 return 1
293 exitcode=0
294 if as_func_success; then
296 else
297 exitcode=1
298 echo as_func_success failed.
301 if as_func_failure; then
302 exitcode=1
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
308 else
309 exitcode=1
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
314 exitcode=1
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
320 else
321 exitcode=1
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
328 as_lineno_1=$LINENO
329 as_lineno_2=$LINENO
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
333 _ASEOF
334 }; then
335 break
340 done
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345 done
346 export CONFIG_SHELL
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
367 (exit \$1)
369 as_func_success () {
370 as_func_return 0
372 as_func_failure () {
373 as_func_return 1
375 as_func_ret_success () {
376 return 0
378 as_func_ret_failure () {
379 return 1
382 exitcode=0
383 if as_func_success; then
385 else
386 exitcode=1
387 echo as_func_success failed.
390 if as_func_failure; then
391 exitcode=1
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
397 else
398 exitcode=1
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
403 exitcode=1
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
409 else
410 exitcode=1
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
418 echo message
423 as_lineno_1=$LINENO
424 as_lineno_2=$LINENO
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
434 # case at line end.
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n '
440 /[$]LINENO/=
441 ' <$as_myself |
442 sed '
443 s/[$]LINENO.*/&-/
444 t lineno
446 :lineno
448 :loop
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop
451 s/-\n.*//
452 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
460 . "./$as_me.lineno"
461 # Exit status is that of the last command.
462 exit
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467 as_dirname=dirname
468 else
469 as_dirname=false
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in
474 -n*)
475 case `echo 'x\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';;
478 esac;;
480 ECHO_N='-n';;
481 esac
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
485 as_expr=expr
486 else
487 as_expr=false
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
493 else
494 rm -f conf$$.dir
495 mkdir conf$$.dir
497 echo >conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s'
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505 as_ln_s='cp -p'
506 elif ln conf$$.file conf$$ 2>/dev/null; then
507 as_ln_s=ln
508 else
509 as_ln_s='cp -p'
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=:
516 else
517 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false
521 if test -x / >/dev/null 2>&1; then
522 as_test_x='test -x'
523 else
524 if ls -dL / >/dev/null 2>&1; then
525 as_ls_L_option=L
526 else
527 as_ls_L_option=
529 as_test_x='
530 eval sh -c '\''
531 if test -d "$1"; then
532 test -d "$1/.";
533 else
534 case $1 in
535 -*)set "./$1";;
536 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
554 # Name of the host.
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560 # Initializations.
562 ac_default_prefix=/usr/local
563 ac_clean_files=
564 ac_config_libobj_dir=.
565 LIBOBJS=
566 cross_compiling=no
567 subdirs=
568 MFLAGS=
569 MAKEFLAGS=
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME=
574 PACKAGE_TARNAME=
575 PACKAGE_VERSION=
576 PACKAGE_STRING=
577 PACKAGE_BUGREPORT=
579 ac_unique_file="src/storage.cc"
580 ac_default_prefix=/usr/local
581 # Factoring default headers for most tests.
582 ac_includes_default="\
583 #include <stdio.h>
584 #ifdef HAVE_SYS_TYPES_H
585 # include <sys/types.h>
586 #endif
587 #ifdef HAVE_SYS_STAT_H
588 # include <sys/stat.h>
589 #endif
590 #ifdef STDC_HEADERS
591 # include <stdlib.h>
592 # include <stddef.h>
593 #else
594 # ifdef HAVE_STDLIB_H
595 # include <stdlib.h>
596 # endif
597 #endif
598 #ifdef HAVE_STRING_H
599 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
600 # include <memory.h>
601 # endif
602 # include <string.h>
603 #endif
604 #ifdef HAVE_STRINGS_H
605 # include <strings.h>
606 #endif
607 #ifdef HAVE_INTTYPES_H
608 # include <inttypes.h>
609 #endif
610 #ifdef HAVE_STDINT_H
611 # include <stdint.h>
612 #endif
613 #ifdef HAVE_UNISTD_H
614 # include <unistd.h>
615 #endif"
617 ac_subst_vars='SHELL
618 PATH_SEPARATOR
619 PACKAGE_NAME
620 PACKAGE_TARNAME
621 PACKAGE_VERSION
622 PACKAGE_STRING
623 PACKAGE_BUGREPORT
624 exec_prefix
625 prefix
626 program_transform_name
627 bindir
628 sbindir
629 libexecdir
630 datarootdir
631 datadir
632 sysconfdir
633 sharedstatedir
634 localstatedir
635 includedir
636 oldincludedir
637 docdir
638 infodir
639 htmldir
640 dvidir
641 pdfdir
642 psdir
643 libdir
644 localedir
645 mandir
646 DEFS
647 ECHO_C
648 ECHO_N
649 ECHO_T
650 LIBS
651 build_alias
652 host_alias
653 target_alias
655 CFLAGS
656 LDFLAGS
657 CPPFLAGS
658 ac_ct_CC
659 EXEEXT
660 OBJEXT
662 CXXFLAGS
663 ac_ct_CXX
664 LN_S
665 SET_MAKE
666 INSTALL_PROGRAM
667 INSTALL_SCRIPT
668 INSTALL_DATA
669 install_flags
671 CXXCPP
672 GREP
673 EGREP
674 PKG_CONFIG
675 sigc_CFLAGS
676 sigc_LIBS
677 modglue_CFLAGS
678 modglue_LIBS
679 PTYWRAP
680 gtk_CFLAGS
681 gtk_LIBS
682 pango_CFLAGS
683 pango_LIBS
684 GTKMM_CFLAGS
685 GTKMM_LIBS
686 GLIBMM_CFLAGS
687 GLIBMM_LIBS
688 pangomm_CFLAGS
689 pangomm_LIBS
690 DVIPNG
691 LATEX
692 enable_gui
693 MAC_OS_X
694 pcrecpp
695 NESTED
696 GTKMM_VER
697 GLIBMM_VER
698 LIBOBJS
699 LTLIBOBJS'
700 ac_subst_files=''
701 ac_precious_vars='build_alias
702 host_alias
703 target_alias
705 CFLAGS
706 LDFLAGS
707 LIBS
708 CPPFLAGS
710 CXXFLAGS
712 CXXCPP
713 PKG_CONFIG
714 sigc_CFLAGS
715 sigc_LIBS
716 modglue_CFLAGS
717 modglue_LIBS
718 gtk_CFLAGS
719 gtk_LIBS
720 pango_CFLAGS
721 pango_LIBS
722 GTKMM_CFLAGS
723 GTKMM_LIBS
724 GLIBMM_CFLAGS
725 GLIBMM_LIBS
726 pangomm_CFLAGS
727 pangomm_LIBS'
730 # Initialize some variables set by options.
731 ac_init_help=
732 ac_init_version=false
733 # The variables have the same names as the options, with
734 # dashes changed to underlines.
735 cache_file=/dev/null
736 exec_prefix=NONE
737 no_create=
738 no_recursion=
739 prefix=NONE
740 program_prefix=NONE
741 program_suffix=NONE
742 program_transform_name=s,x,x,
743 silent=
744 site=
745 srcdir=
746 verbose=
747 x_includes=NONE
748 x_libraries=NONE
750 # Installation directory options.
751 # These are left unexpanded so users can "make install exec_prefix=/foo"
752 # and all the variables that are supposed to be based on exec_prefix
753 # by default will actually change.
754 # Use braces instead of parens because sh, perl, etc. also accept them.
755 # (The list follows the same order as the GNU Coding Standards.)
756 bindir='${exec_prefix}/bin'
757 sbindir='${exec_prefix}/sbin'
758 libexecdir='${exec_prefix}/libexec'
759 datarootdir='${prefix}/share'
760 datadir='${datarootdir}'
761 sysconfdir='${prefix}/etc'
762 sharedstatedir='${prefix}/com'
763 localstatedir='${prefix}/var'
764 includedir='${prefix}/include'
765 oldincludedir='/usr/include'
766 docdir='${datarootdir}/doc/${PACKAGE}'
767 infodir='${datarootdir}/info'
768 htmldir='${docdir}'
769 dvidir='${docdir}'
770 pdfdir='${docdir}'
771 psdir='${docdir}'
772 libdir='${exec_prefix}/lib'
773 localedir='${datarootdir}/locale'
774 mandir='${datarootdir}/man'
776 ac_prev=
777 ac_dashdash=
778 for ac_option
780 # If the previous option needs an argument, assign it.
781 if test -n "$ac_prev"; then
782 eval $ac_prev=\$ac_option
783 ac_prev=
784 continue
787 case $ac_option in
788 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
789 *) ac_optarg=yes ;;
790 esac
792 # Accept the important Cygnus configure options, so we can diagnose typos.
794 case $ac_dashdash$ac_option in
796 ac_dashdash=yes ;;
798 -bindir | --bindir | --bindi | --bind | --bin | --bi)
799 ac_prev=bindir ;;
800 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
801 bindir=$ac_optarg ;;
803 -build | --build | --buil | --bui | --bu)
804 ac_prev=build_alias ;;
805 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
806 build_alias=$ac_optarg ;;
808 -cache-file | --cache-file | --cache-fil | --cache-fi \
809 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
810 ac_prev=cache_file ;;
811 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
812 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
813 cache_file=$ac_optarg ;;
815 --config-cache | -C)
816 cache_file=config.cache ;;
818 -datadir | --datadir | --datadi | --datad)
819 ac_prev=datadir ;;
820 -datadir=* | --datadir=* | --datadi=* | --datad=*)
821 datadir=$ac_optarg ;;
823 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
824 | --dataroo | --dataro | --datar)
825 ac_prev=datarootdir ;;
826 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
827 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
828 datarootdir=$ac_optarg ;;
830 -disable-* | --disable-*)
831 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
832 # Reject names that are not valid shell variable names.
833 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
834 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
835 { (exit 1); exit 1; }; }
836 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
837 eval enable_$ac_feature=no ;;
839 -docdir | --docdir | --docdi | --doc | --do)
840 ac_prev=docdir ;;
841 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
842 docdir=$ac_optarg ;;
844 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
845 ac_prev=dvidir ;;
846 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
847 dvidir=$ac_optarg ;;
849 -enable-* | --enable-*)
850 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
851 # Reject names that are not valid shell variable names.
852 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
853 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
854 { (exit 1); exit 1; }; }
855 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
856 eval enable_$ac_feature=\$ac_optarg ;;
858 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
859 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
860 | --exec | --exe | --ex)
861 ac_prev=exec_prefix ;;
862 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
863 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
864 | --exec=* | --exe=* | --ex=*)
865 exec_prefix=$ac_optarg ;;
867 -gas | --gas | --ga | --g)
868 # Obsolete; use --with-gas.
869 with_gas=yes ;;
871 -help | --help | --hel | --he | -h)
872 ac_init_help=long ;;
873 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
874 ac_init_help=recursive ;;
875 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
876 ac_init_help=short ;;
878 -host | --host | --hos | --ho)
879 ac_prev=host_alias ;;
880 -host=* | --host=* | --hos=* | --ho=*)
881 host_alias=$ac_optarg ;;
883 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
884 ac_prev=htmldir ;;
885 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
886 | --ht=*)
887 htmldir=$ac_optarg ;;
889 -includedir | --includedir | --includedi | --included | --include \
890 | --includ | --inclu | --incl | --inc)
891 ac_prev=includedir ;;
892 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
893 | --includ=* | --inclu=* | --incl=* | --inc=*)
894 includedir=$ac_optarg ;;
896 -infodir | --infodir | --infodi | --infod | --info | --inf)
897 ac_prev=infodir ;;
898 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
899 infodir=$ac_optarg ;;
901 -libdir | --libdir | --libdi | --libd)
902 ac_prev=libdir ;;
903 -libdir=* | --libdir=* | --libdi=* | --libd=*)
904 libdir=$ac_optarg ;;
906 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
907 | --libexe | --libex | --libe)
908 ac_prev=libexecdir ;;
909 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
910 | --libexe=* | --libex=* | --libe=*)
911 libexecdir=$ac_optarg ;;
913 -localedir | --localedir | --localedi | --localed | --locale)
914 ac_prev=localedir ;;
915 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
916 localedir=$ac_optarg ;;
918 -localstatedir | --localstatedir | --localstatedi | --localstated \
919 | --localstate | --localstat | --localsta | --localst | --locals)
920 ac_prev=localstatedir ;;
921 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
922 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
923 localstatedir=$ac_optarg ;;
925 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
926 ac_prev=mandir ;;
927 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
928 mandir=$ac_optarg ;;
930 -nfp | --nfp | --nf)
931 # Obsolete; use --without-fp.
932 with_fp=no ;;
934 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
935 | --no-cr | --no-c | -n)
936 no_create=yes ;;
938 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
939 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
940 no_recursion=yes ;;
942 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
943 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
944 | --oldin | --oldi | --old | --ol | --o)
945 ac_prev=oldincludedir ;;
946 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
947 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
948 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
949 oldincludedir=$ac_optarg ;;
951 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
952 ac_prev=prefix ;;
953 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
954 prefix=$ac_optarg ;;
956 -program-prefix | --program-prefix | --program-prefi | --program-pref \
957 | --program-pre | --program-pr | --program-p)
958 ac_prev=program_prefix ;;
959 -program-prefix=* | --program-prefix=* | --program-prefi=* \
960 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
961 program_prefix=$ac_optarg ;;
963 -program-suffix | --program-suffix | --program-suffi | --program-suff \
964 | --program-suf | --program-su | --program-s)
965 ac_prev=program_suffix ;;
966 -program-suffix=* | --program-suffix=* | --program-suffi=* \
967 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
968 program_suffix=$ac_optarg ;;
970 -program-transform-name | --program-transform-name \
971 | --program-transform-nam | --program-transform-na \
972 | --program-transform-n | --program-transform- \
973 | --program-transform | --program-transfor \
974 | --program-transfo | --program-transf \
975 | --program-trans | --program-tran \
976 | --progr-tra | --program-tr | --program-t)
977 ac_prev=program_transform_name ;;
978 -program-transform-name=* | --program-transform-name=* \
979 | --program-transform-nam=* | --program-transform-na=* \
980 | --program-transform-n=* | --program-transform-=* \
981 | --program-transform=* | --program-transfor=* \
982 | --program-transfo=* | --program-transf=* \
983 | --program-trans=* | --program-tran=* \
984 | --progr-tra=* | --program-tr=* | --program-t=*)
985 program_transform_name=$ac_optarg ;;
987 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
988 ac_prev=pdfdir ;;
989 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
990 pdfdir=$ac_optarg ;;
992 -psdir | --psdir | --psdi | --psd | --ps)
993 ac_prev=psdir ;;
994 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
995 psdir=$ac_optarg ;;
997 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
998 | -silent | --silent | --silen | --sile | --sil)
999 silent=yes ;;
1001 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1002 ac_prev=sbindir ;;
1003 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1004 | --sbi=* | --sb=*)
1005 sbindir=$ac_optarg ;;
1007 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1008 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1009 | --sharedst | --shareds | --shared | --share | --shar \
1010 | --sha | --sh)
1011 ac_prev=sharedstatedir ;;
1012 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1013 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1014 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1015 | --sha=* | --sh=*)
1016 sharedstatedir=$ac_optarg ;;
1018 -site | --site | --sit)
1019 ac_prev=site ;;
1020 -site=* | --site=* | --sit=*)
1021 site=$ac_optarg ;;
1023 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1024 ac_prev=srcdir ;;
1025 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1026 srcdir=$ac_optarg ;;
1028 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1029 | --syscon | --sysco | --sysc | --sys | --sy)
1030 ac_prev=sysconfdir ;;
1031 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1032 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1033 sysconfdir=$ac_optarg ;;
1035 -target | --target | --targe | --targ | --tar | --ta | --t)
1036 ac_prev=target_alias ;;
1037 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1038 target_alias=$ac_optarg ;;
1040 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1041 verbose=yes ;;
1043 -version | --version | --versio | --versi | --vers | -V)
1044 ac_init_version=: ;;
1046 -with-* | --with-*)
1047 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1048 # Reject names that are not valid shell variable names.
1049 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1050 { echo "$as_me: error: invalid package name: $ac_package" >&2
1051 { (exit 1); exit 1; }; }
1052 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1053 eval with_$ac_package=\$ac_optarg ;;
1055 -without-* | --without-*)
1056 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1059 { echo "$as_me: error: invalid package name: $ac_package" >&2
1060 { (exit 1); exit 1; }; }
1061 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1062 eval with_$ac_package=no ;;
1064 --x)
1065 # Obsolete; use --with-x.
1066 with_x=yes ;;
1068 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1069 | --x-incl | --x-inc | --x-in | --x-i)
1070 ac_prev=x_includes ;;
1071 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1072 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1073 x_includes=$ac_optarg ;;
1075 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1076 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1077 ac_prev=x_libraries ;;
1078 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1079 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1080 x_libraries=$ac_optarg ;;
1082 -*) { echo "$as_me: error: unrecognized option: $ac_option
1083 Try \`$0 --help' for more information." >&2
1084 { (exit 1); exit 1; }; }
1087 *=*)
1088 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1089 # Reject names that are not valid shell variable names.
1090 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1091 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1092 { (exit 1); exit 1; }; }
1093 eval $ac_envvar=\$ac_optarg
1094 export $ac_envvar ;;
1097 # FIXME: should be removed in autoconf 3.0.
1098 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1099 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1100 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1101 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1104 esac
1105 done
1107 if test -n "$ac_prev"; then
1108 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1109 { echo "$as_me: error: missing argument to $ac_option" >&2
1110 { (exit 1); exit 1; }; }
1113 # Be sure to have absolute directory names.
1114 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1115 datadir sysconfdir sharedstatedir localstatedir includedir \
1116 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1117 libdir localedir mandir
1119 eval ac_val=\$$ac_var
1120 case $ac_val in
1121 [\\/$]* | ?:[\\/]* ) continue;;
1122 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1123 esac
1124 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1125 { (exit 1); exit 1; }; }
1126 done
1128 # There might be people who depend on the old broken behavior: `$host'
1129 # used to hold the argument of --host etc.
1130 # FIXME: To remove some day.
1131 build=$build_alias
1132 host=$host_alias
1133 target=$target_alias
1135 # FIXME: To remove some day.
1136 if test "x$host_alias" != x; then
1137 if test "x$build_alias" = x; then
1138 cross_compiling=maybe
1139 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1140 If a cross compiler is detected then cross compile mode will be used." >&2
1141 elif test "x$build_alias" != "x$host_alias"; then
1142 cross_compiling=yes
1146 ac_tool_prefix=
1147 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1149 test "$silent" = yes && exec 6>/dev/null
1152 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1153 ac_ls_di=`ls -di .` &&
1154 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1155 { echo "$as_me: error: Working directory cannot be determined" >&2
1156 { (exit 1); exit 1; }; }
1157 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1158 { echo "$as_me: error: pwd does not report name of working directory" >&2
1159 { (exit 1); exit 1; }; }
1162 # Find the source files, if location was not specified.
1163 if test -z "$srcdir"; then
1164 ac_srcdir_defaulted=yes
1165 # Try the directory containing this script, then the parent directory.
1166 ac_confdir=`$as_dirname -- "$0" ||
1167 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1168 X"$0" : 'X\(//\)[^/]' \| \
1169 X"$0" : 'X\(//\)$' \| \
1170 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1171 echo X"$0" |
1172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1173 s//\1/
1176 /^X\(\/\/\)[^/].*/{
1177 s//\1/
1180 /^X\(\/\/\)$/{
1181 s//\1/
1184 /^X\(\/\).*/{
1185 s//\1/
1188 s/.*/./; q'`
1189 srcdir=$ac_confdir
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1191 srcdir=..
1193 else
1194 ac_srcdir_defaulted=no
1196 if test ! -r "$srcdir/$ac_unique_file"; then
1197 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1198 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1199 { (exit 1); exit 1; }; }
1201 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1202 ac_abs_confdir=`(
1203 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1204 { (exit 1); exit 1; }; }
1205 pwd)`
1206 # When building in place, set srcdir=.
1207 if test "$ac_abs_confdir" = "$ac_pwd"; then
1208 srcdir=.
1210 # Remove unnecessary trailing slashes from srcdir.
1211 # Double slashes in file names in object file debugging info
1212 # mess up M-x gdb in Emacs.
1213 case $srcdir in
1214 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1215 esac
1216 for ac_var in $ac_precious_vars; do
1217 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1218 eval ac_env_${ac_var}_value=\$${ac_var}
1219 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1220 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1221 done
1224 # Report the --help message.
1226 if test "$ac_init_help" = "long"; then
1227 # Omit some internal or obsolete options to make the list less imposing.
1228 # This message is too long to be a string in the A/UX 3.1 sh.
1229 cat <<_ACEOF
1230 \`configure' configures this package to adapt to many kinds of systems.
1232 Usage: $0 [OPTION]... [VAR=VALUE]...
1234 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1235 VAR=VALUE. See below for descriptions of some of the useful variables.
1237 Defaults for the options are specified in brackets.
1239 Configuration:
1240 -h, --help display this help and exit
1241 --help=short display options specific to this package
1242 --help=recursive display the short help of all the included packages
1243 -V, --version display version information and exit
1244 -q, --quiet, --silent do not print \`checking...' messages
1245 --cache-file=FILE cache test results in FILE [disabled]
1246 -C, --config-cache alias for \`--cache-file=config.cache'
1247 -n, --no-create do not create output files
1248 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1250 Installation directories:
1251 --prefix=PREFIX install architecture-independent files in PREFIX
1252 [$ac_default_prefix]
1253 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1254 [PREFIX]
1256 By default, \`make install' will install all the files in
1257 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1258 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1259 for instance \`--prefix=\$HOME'.
1261 For better control, use the options below.
1263 Fine tuning of the installation directories:
1264 --bindir=DIR user executables [EPREFIX/bin]
1265 --sbindir=DIR system admin executables [EPREFIX/sbin]
1266 --libexecdir=DIR program executables [EPREFIX/libexec]
1267 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1268 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1269 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1270 --libdir=DIR object code libraries [EPREFIX/lib]
1271 --includedir=DIR C header files [PREFIX/include]
1272 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1273 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1274 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1275 --infodir=DIR info documentation [DATAROOTDIR/info]
1276 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1277 --mandir=DIR man documentation [DATAROOTDIR/man]
1278 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1279 --htmldir=DIR html documentation [DOCDIR]
1280 --dvidir=DIR dvi documentation [DOCDIR]
1281 --pdfdir=DIR pdf documentation [DOCDIR]
1282 --psdir=DIR ps documentation [DOCDIR]
1283 _ACEOF
1285 cat <<\_ACEOF
1286 _ACEOF
1289 if test -n "$ac_init_help"; then
1291 cat <<\_ACEOF
1293 Optional Features:
1294 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1295 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1296 --enable-runtime-dependency-check
1297 Enable check for runtime dependencies (default is
1298 yes)
1299 --enable-gui Enable building of the graphical front-end (default
1300 is yes)
1302 Some influential environment variables:
1303 CC C compiler command
1304 CFLAGS C compiler flags
1305 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1306 nonstandard directory <lib dir>
1307 LIBS libraries to pass to the linker, e.g. -l<library>
1308 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1309 you have headers in a nonstandard directory <include dir>
1310 CXX C++ compiler command
1311 CXXFLAGS C++ compiler flags
1312 CXXCPP C++ preprocessor
1313 PKG_CONFIG path to pkg-config utility
1314 sigc_CFLAGS C compiler flags for sigc, overriding pkg-config
1315 sigc_LIBS linker flags for sigc, overriding pkg-config
1316 modglue_CFLAGS
1317 C compiler flags for modglue, overriding pkg-config
1318 modglue_LIBS
1319 linker flags for modglue, overriding pkg-config
1320 gtk_CFLAGS C compiler flags for gtk, overriding pkg-config
1321 gtk_LIBS linker flags for gtk, overriding pkg-config
1322 pango_CFLAGS
1323 C compiler flags for pango, overriding pkg-config
1324 pango_LIBS linker flags for pango, overriding pkg-config
1325 GTKMM_CFLAGS
1326 C compiler flags for GTKMM, overriding pkg-config
1327 GTKMM_LIBS linker flags for GTKMM, overriding pkg-config
1328 GLIBMM_CFLAGS
1329 C compiler flags for GLIBMM, overriding pkg-config
1330 GLIBMM_LIBS linker flags for GLIBMM, overriding pkg-config
1331 pangomm_CFLAGS
1332 C compiler flags for pangomm, overriding pkg-config
1333 pangomm_LIBS
1334 linker flags for pangomm, overriding pkg-config
1336 Use these variables to override the choices made by `configure' or to help
1337 it to find libraries and programs with nonstandard names/locations.
1339 _ACEOF
1340 ac_status=$?
1343 if test "$ac_init_help" = "recursive"; then
1344 # If there are subdirs, report their specific --help.
1345 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1346 test -d "$ac_dir" || continue
1347 ac_builddir=.
1349 case "$ac_dir" in
1350 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1352 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1353 # A ".." for each directory in $ac_dir_suffix.
1354 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1355 case $ac_top_builddir_sub in
1356 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1357 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1358 esac ;;
1359 esac
1360 ac_abs_top_builddir=$ac_pwd
1361 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1362 # for backward compatibility:
1363 ac_top_builddir=$ac_top_build_prefix
1365 case $srcdir in
1366 .) # We are building in place.
1367 ac_srcdir=.
1368 ac_top_srcdir=$ac_top_builddir_sub
1369 ac_abs_top_srcdir=$ac_pwd ;;
1370 [\\/]* | ?:[\\/]* ) # Absolute name.
1371 ac_srcdir=$srcdir$ac_dir_suffix;
1372 ac_top_srcdir=$srcdir
1373 ac_abs_top_srcdir=$srcdir ;;
1374 *) # Relative name.
1375 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1376 ac_top_srcdir=$ac_top_build_prefix$srcdir
1377 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1378 esac
1379 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1381 cd "$ac_dir" || { ac_status=$?; continue; }
1382 # Check for guested configure.
1383 if test -f "$ac_srcdir/configure.gnu"; then
1384 echo &&
1385 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1386 elif test -f "$ac_srcdir/configure"; then
1387 echo &&
1388 $SHELL "$ac_srcdir/configure" --help=recursive
1389 else
1390 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1391 fi || ac_status=$?
1392 cd "$ac_pwd" || { ac_status=$?; break; }
1393 done
1396 test -n "$ac_init_help" && exit $ac_status
1397 if $ac_init_version; then
1398 cat <<\_ACEOF
1399 configure
1400 generated by GNU Autoconf 2.61
1402 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1403 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1404 This configure script is free software; the Free Software Foundation
1405 gives unlimited permission to copy, distribute and modify it.
1406 _ACEOF
1407 exit
1409 cat >config.log <<_ACEOF
1410 This file contains any messages produced by compilers while
1411 running configure, to aid debugging if configure makes a mistake.
1413 It was created by $as_me, which was
1414 generated by GNU Autoconf 2.61. Invocation command line was
1416 $ $0 $@
1418 _ACEOF
1419 exec 5>>config.log
1421 cat <<_ASUNAME
1422 ## --------- ##
1423 ## Platform. ##
1424 ## --------- ##
1426 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1427 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1428 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1429 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1430 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1432 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1433 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1435 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1436 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1437 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1438 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1439 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1440 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1441 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1443 _ASUNAME
1445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1446 for as_dir in $PATH
1448 IFS=$as_save_IFS
1449 test -z "$as_dir" && as_dir=.
1450 echo "PATH: $as_dir"
1451 done
1452 IFS=$as_save_IFS
1454 } >&5
1456 cat >&5 <<_ACEOF
1459 ## ----------- ##
1460 ## Core tests. ##
1461 ## ----------- ##
1463 _ACEOF
1466 # Keep a trace of the command line.
1467 # Strip out --no-create and --no-recursion so they do not pile up.
1468 # Strip out --silent because we don't want to record it for future runs.
1469 # Also quote any args containing shell meta-characters.
1470 # Make two passes to allow for proper duplicate-argument suppression.
1471 ac_configure_args=
1472 ac_configure_args0=
1473 ac_configure_args1=
1474 ac_must_keep_next=false
1475 for ac_pass in 1 2
1477 for ac_arg
1479 case $ac_arg in
1480 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1481 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1482 | -silent | --silent | --silen | --sile | --sil)
1483 continue ;;
1484 *\'*)
1485 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1486 esac
1487 case $ac_pass in
1488 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1490 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1491 if test $ac_must_keep_next = true; then
1492 ac_must_keep_next=false # Got value, back to normal.
1493 else
1494 case $ac_arg in
1495 *=* | --config-cache | -C | -disable-* | --disable-* \
1496 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1497 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1498 | -with-* | --with-* | -without-* | --without-* | --x)
1499 case "$ac_configure_args0 " in
1500 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1501 esac
1503 -* ) ac_must_keep_next=true ;;
1504 esac
1506 ac_configure_args="$ac_configure_args '$ac_arg'"
1508 esac
1509 done
1510 done
1511 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1512 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1514 # When interrupted or exit'd, cleanup temporary files, and complete
1515 # config.log. We remove comments because anyway the quotes in there
1516 # would cause problems or look ugly.
1517 # WARNING: Use '\'' to represent an apostrophe within the trap.
1518 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1519 trap 'exit_status=$?
1520 # Save into config.log some information that might help in debugging.
1522 echo
1524 cat <<\_ASBOX
1525 ## ---------------- ##
1526 ## Cache variables. ##
1527 ## ---------------- ##
1528 _ASBOX
1529 echo
1530 # The following way of writing the cache mishandles newlines in values,
1532 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1533 eval ac_val=\$$ac_var
1534 case $ac_val in #(
1535 *${as_nl}*)
1536 case $ac_var in #(
1537 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1538 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1539 esac
1540 case $ac_var in #(
1541 _ | IFS | as_nl) ;; #(
1542 *) $as_unset $ac_var ;;
1543 esac ;;
1544 esac
1545 done
1546 (set) 2>&1 |
1547 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1548 *${as_nl}ac_space=\ *)
1549 sed -n \
1550 "s/'\''/'\''\\\\'\'''\''/g;
1551 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1552 ;; #(
1554 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1556 esac |
1557 sort
1559 echo
1561 cat <<\_ASBOX
1562 ## ----------------- ##
1563 ## Output variables. ##
1564 ## ----------------- ##
1565 _ASBOX
1566 echo
1567 for ac_var in $ac_subst_vars
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
1577 if test -n "$ac_subst_files"; then
1578 cat <<\_ASBOX
1579 ## ------------------- ##
1580 ## File substitutions. ##
1581 ## ------------------- ##
1582 _ASBOX
1583 echo
1584 for ac_var in $ac_subst_files
1586 eval ac_val=\$$ac_var
1587 case $ac_val in
1588 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1589 esac
1590 echo "$ac_var='\''$ac_val'\''"
1591 done | sort
1592 echo
1595 if test -s confdefs.h; then
1596 cat <<\_ASBOX
1597 ## ----------- ##
1598 ## confdefs.h. ##
1599 ## ----------- ##
1600 _ASBOX
1601 echo
1602 cat confdefs.h
1603 echo
1605 test "$ac_signal" != 0 &&
1606 echo "$as_me: caught signal $ac_signal"
1607 echo "$as_me: exit $exit_status"
1608 } >&5
1609 rm -f core *.core core.conftest.* &&
1610 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1611 exit $exit_status
1613 for ac_signal in 1 2 13 15; do
1614 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1615 done
1616 ac_signal=0
1618 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1619 rm -f -r conftest* confdefs.h
1621 # Predefined preprocessor variables.
1623 cat >>confdefs.h <<_ACEOF
1624 #define PACKAGE_NAME "$PACKAGE_NAME"
1625 _ACEOF
1628 cat >>confdefs.h <<_ACEOF
1629 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1630 _ACEOF
1633 cat >>confdefs.h <<_ACEOF
1634 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1635 _ACEOF
1638 cat >>confdefs.h <<_ACEOF
1639 #define PACKAGE_STRING "$PACKAGE_STRING"
1640 _ACEOF
1643 cat >>confdefs.h <<_ACEOF
1644 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1645 _ACEOF
1648 # Let the site file select an alternate cache file if it wants to.
1649 # Prefer explicitly selected file to automatically selected ones.
1650 if test -n "$CONFIG_SITE"; then
1651 set x "$CONFIG_SITE"
1652 elif test "x$prefix" != xNONE; then
1653 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1654 else
1655 set x "$ac_default_prefix/share/config.site" \
1656 "$ac_default_prefix/etc/config.site"
1658 shift
1659 for ac_site_file
1661 if test -r "$ac_site_file"; then
1662 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1663 echo "$as_me: loading site script $ac_site_file" >&6;}
1664 sed 's/^/| /' "$ac_site_file" >&5
1665 . "$ac_site_file"
1667 done
1669 if test -r "$cache_file"; then
1670 # Some versions of bash will fail to source /dev/null (special
1671 # files actually), so we avoid doing that.
1672 if test -f "$cache_file"; then
1673 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1674 echo "$as_me: loading cache $cache_file" >&6;}
1675 case $cache_file in
1676 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1677 *) . "./$cache_file";;
1678 esac
1680 else
1681 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1682 echo "$as_me: creating cache $cache_file" >&6;}
1683 >$cache_file
1686 # Check that the precious variables saved in the cache have kept the same
1687 # value.
1688 ac_cache_corrupted=false
1689 for ac_var in $ac_precious_vars; do
1690 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1691 eval ac_new_set=\$ac_env_${ac_var}_set
1692 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1693 eval ac_new_val=\$ac_env_${ac_var}_value
1694 case $ac_old_set,$ac_new_set in
1695 set,)
1696 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1697 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1698 ac_cache_corrupted=: ;;
1699 ,set)
1700 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1701 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1702 ac_cache_corrupted=: ;;
1703 ,);;
1705 if test "x$ac_old_val" != "x$ac_new_val"; then
1706 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1707 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1708 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1709 echo "$as_me: former value: $ac_old_val" >&2;}
1710 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1711 echo "$as_me: current value: $ac_new_val" >&2;}
1712 ac_cache_corrupted=:
1713 fi;;
1714 esac
1715 # Pass precious variables to config.status.
1716 if test "$ac_new_set" = set; then
1717 case $ac_new_val in
1718 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1719 *) ac_arg=$ac_var=$ac_new_val ;;
1720 esac
1721 case " $ac_configure_args " in
1722 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1723 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1724 esac
1726 done
1727 if $ac_cache_corrupted; then
1728 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1729 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1730 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1731 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1732 { (exit 1); exit 1; }; }
1751 ac_ext=c
1752 ac_cpp='$CPP $CPPFLAGS'
1753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1758 ac_ext=c
1759 ac_cpp='$CPP $CPPFLAGS'
1760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1763 if test -n "$ac_tool_prefix"; then
1764 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1765 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1768 if test "${ac_cv_prog_CC+set}" = set; then
1769 echo $ECHO_N "(cached) $ECHO_C" >&6
1770 else
1771 if test -n "$CC"; then
1772 ac_cv_prog_CC="$CC" # Let the user override the test.
1773 else
1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1775 for as_dir in $PATH
1777 IFS=$as_save_IFS
1778 test -z "$as_dir" && as_dir=.
1779 for ac_exec_ext in '' $ac_executable_extensions; do
1780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1781 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1783 break 2
1785 done
1786 done
1787 IFS=$as_save_IFS
1791 CC=$ac_cv_prog_CC
1792 if test -n "$CC"; then
1793 { echo "$as_me:$LINENO: result: $CC" >&5
1794 echo "${ECHO_T}$CC" >&6; }
1795 else
1796 { echo "$as_me:$LINENO: result: no" >&5
1797 echo "${ECHO_T}no" >&6; }
1802 if test -z "$ac_cv_prog_CC"; then
1803 ac_ct_CC=$CC
1804 # Extract the first word of "gcc", so it can be a program name with args.
1805 set dummy gcc; ac_word=$2
1806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1808 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1809 echo $ECHO_N "(cached) $ECHO_C" >&6
1810 else
1811 if test -n "$ac_ct_CC"; then
1812 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1813 else
1814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1815 for as_dir in $PATH
1817 IFS=$as_save_IFS
1818 test -z "$as_dir" && as_dir=.
1819 for ac_exec_ext in '' $ac_executable_extensions; do
1820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1821 ac_cv_prog_ac_ct_CC="gcc"
1822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1823 break 2
1825 done
1826 done
1827 IFS=$as_save_IFS
1831 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1832 if test -n "$ac_ct_CC"; then
1833 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1834 echo "${ECHO_T}$ac_ct_CC" >&6; }
1835 else
1836 { echo "$as_me:$LINENO: result: no" >&5
1837 echo "${ECHO_T}no" >&6; }
1840 if test "x$ac_ct_CC" = x; then
1841 CC=""
1842 else
1843 case $cross_compiling:$ac_tool_warned in
1844 yes:)
1845 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1846 whose name does not start with the host triplet. If you think this
1847 configuration is useful to you, please write to autoconf@gnu.org." >&5
1848 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1849 whose name does not start with the host triplet. If you think this
1850 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1851 ac_tool_warned=yes ;;
1852 esac
1853 CC=$ac_ct_CC
1855 else
1856 CC="$ac_cv_prog_CC"
1859 if test -z "$CC"; then
1860 if test -n "$ac_tool_prefix"; then
1861 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1862 set dummy ${ac_tool_prefix}cc; ac_word=$2
1863 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1865 if test "${ac_cv_prog_CC+set}" = set; then
1866 echo $ECHO_N "(cached) $ECHO_C" >&6
1867 else
1868 if test -n "$CC"; then
1869 ac_cv_prog_CC="$CC" # Let the user override the test.
1870 else
1871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1872 for as_dir in $PATH
1874 IFS=$as_save_IFS
1875 test -z "$as_dir" && as_dir=.
1876 for ac_exec_ext in '' $ac_executable_extensions; do
1877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1878 ac_cv_prog_CC="${ac_tool_prefix}cc"
1879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1880 break 2
1882 done
1883 done
1884 IFS=$as_save_IFS
1888 CC=$ac_cv_prog_CC
1889 if test -n "$CC"; then
1890 { echo "$as_me:$LINENO: result: $CC" >&5
1891 echo "${ECHO_T}$CC" >&6; }
1892 else
1893 { echo "$as_me:$LINENO: result: no" >&5
1894 echo "${ECHO_T}no" >&6; }
1900 if test -z "$CC"; then
1901 # Extract the first word of "cc", so it can be a program name with args.
1902 set dummy cc; ac_word=$2
1903 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1905 if test "${ac_cv_prog_CC+set}" = set; then
1906 echo $ECHO_N "(cached) $ECHO_C" >&6
1907 else
1908 if test -n "$CC"; then
1909 ac_cv_prog_CC="$CC" # Let the user override the test.
1910 else
1911 ac_prog_rejected=no
1912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913 for as_dir in $PATH
1915 IFS=$as_save_IFS
1916 test -z "$as_dir" && as_dir=.
1917 for ac_exec_ext in '' $ac_executable_extensions; do
1918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1919 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1920 ac_prog_rejected=yes
1921 continue
1923 ac_cv_prog_CC="cc"
1924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1925 break 2
1927 done
1928 done
1929 IFS=$as_save_IFS
1931 if test $ac_prog_rejected = yes; then
1932 # We found a bogon in the path, so make sure we never use it.
1933 set dummy $ac_cv_prog_CC
1934 shift
1935 if test $# != 0; then
1936 # We chose a different compiler from the bogus one.
1937 # However, it has the same basename, so the bogon will be chosen
1938 # first if we set CC to just the basename; use the full file name.
1939 shift
1940 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1945 CC=$ac_cv_prog_CC
1946 if test -n "$CC"; then
1947 { echo "$as_me:$LINENO: result: $CC" >&5
1948 echo "${ECHO_T}$CC" >&6; }
1949 else
1950 { echo "$as_me:$LINENO: result: no" >&5
1951 echo "${ECHO_T}no" >&6; }
1956 if test -z "$CC"; then
1957 if test -n "$ac_tool_prefix"; then
1958 for ac_prog in cl.exe
1960 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1961 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1962 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1964 if test "${ac_cv_prog_CC+set}" = set; then
1965 echo $ECHO_N "(cached) $ECHO_C" >&6
1966 else
1967 if test -n "$CC"; then
1968 ac_cv_prog_CC="$CC" # Let the user override the test.
1969 else
1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971 for as_dir in $PATH
1973 IFS=$as_save_IFS
1974 test -z "$as_dir" && as_dir=.
1975 for ac_exec_ext in '' $ac_executable_extensions; do
1976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1977 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1979 break 2
1981 done
1982 done
1983 IFS=$as_save_IFS
1987 CC=$ac_cv_prog_CC
1988 if test -n "$CC"; then
1989 { echo "$as_me:$LINENO: result: $CC" >&5
1990 echo "${ECHO_T}$CC" >&6; }
1991 else
1992 { echo "$as_me:$LINENO: result: no" >&5
1993 echo "${ECHO_T}no" >&6; }
1997 test -n "$CC" && break
1998 done
2000 if test -z "$CC"; then
2001 ac_ct_CC=$CC
2002 for ac_prog in cl.exe
2004 # Extract the first word of "$ac_prog", so it can be a program name with args.
2005 set dummy $ac_prog; ac_word=$2
2006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2008 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2009 echo $ECHO_N "(cached) $ECHO_C" >&6
2010 else
2011 if test -n "$ac_ct_CC"; then
2012 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2013 else
2014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2015 for as_dir in $PATH
2017 IFS=$as_save_IFS
2018 test -z "$as_dir" && as_dir=.
2019 for ac_exec_ext in '' $ac_executable_extensions; do
2020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2021 ac_cv_prog_ac_ct_CC="$ac_prog"
2022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2023 break 2
2025 done
2026 done
2027 IFS=$as_save_IFS
2031 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2032 if test -n "$ac_ct_CC"; then
2033 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2034 echo "${ECHO_T}$ac_ct_CC" >&6; }
2035 else
2036 { echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6; }
2041 test -n "$ac_ct_CC" && break
2042 done
2044 if test "x$ac_ct_CC" = x; then
2045 CC=""
2046 else
2047 case $cross_compiling:$ac_tool_warned in
2048 yes:)
2049 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2050 whose name does not start with the host triplet. If you think this
2051 configuration is useful to you, please write to autoconf@gnu.org." >&5
2052 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2053 whose name does not start with the host triplet. If you think this
2054 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2055 ac_tool_warned=yes ;;
2056 esac
2057 CC=$ac_ct_CC
2064 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2065 See \`config.log' for more details." >&5
2066 echo "$as_me: error: no acceptable C compiler found in \$PATH
2067 See \`config.log' for more details." >&2;}
2068 { (exit 1); exit 1; }; }
2070 # Provide some information about the compiler.
2071 echo "$as_me:$LINENO: checking for C compiler version" >&5
2072 ac_compiler=`set X $ac_compile; echo $2`
2073 { (ac_try="$ac_compiler --version >&5"
2074 case "(($ac_try" in
2075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2076 *) ac_try_echo=$ac_try;;
2077 esac
2078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2079 (eval "$ac_compiler --version >&5") 2>&5
2080 ac_status=$?
2081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2082 (exit $ac_status); }
2083 { (ac_try="$ac_compiler -v >&5"
2084 case "(($ac_try" in
2085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2086 *) ac_try_echo=$ac_try;;
2087 esac
2088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2089 (eval "$ac_compiler -v >&5") 2>&5
2090 ac_status=$?
2091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2092 (exit $ac_status); }
2093 { (ac_try="$ac_compiler -V >&5"
2094 case "(($ac_try" in
2095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2096 *) ac_try_echo=$ac_try;;
2097 esac
2098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2099 (eval "$ac_compiler -V >&5") 2>&5
2100 ac_status=$?
2101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2102 (exit $ac_status); }
2104 cat >conftest.$ac_ext <<_ACEOF
2105 /* confdefs.h. */
2106 _ACEOF
2107 cat confdefs.h >>conftest.$ac_ext
2108 cat >>conftest.$ac_ext <<_ACEOF
2109 /* end confdefs.h. */
2112 main ()
2116 return 0;
2118 _ACEOF
2119 ac_clean_files_save=$ac_clean_files
2120 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2121 # Try to create an executable without -o first, disregard a.out.
2122 # It will help us diagnose broken compilers, and finding out an intuition
2123 # of exeext.
2124 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2125 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2126 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2128 # List of possible output files, starting from the most likely.
2129 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2130 # only as a last resort. b.out is created by i960 compilers.
2131 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2133 # The IRIX 6 linker writes into existing files which may not be
2134 # executable, retaining their permissions. Remove them first so a
2135 # subsequent execution test works.
2136 ac_rmfiles=
2137 for ac_file in $ac_files
2139 case $ac_file in
2140 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2141 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2142 esac
2143 done
2144 rm -f $ac_rmfiles
2146 if { (ac_try="$ac_link_default"
2147 case "(($ac_try" in
2148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2149 *) ac_try_echo=$ac_try;;
2150 esac
2151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2152 (eval "$ac_link_default") 2>&5
2153 ac_status=$?
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); }; then
2156 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2157 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2158 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2159 # so that the user can short-circuit this test for compilers unknown to
2160 # Autoconf.
2161 for ac_file in $ac_files ''
2163 test -f "$ac_file" || continue
2164 case $ac_file in
2165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2167 [ab].out )
2168 # We found the default executable, but exeext='' is most
2169 # certainly right.
2170 break;;
2171 *.* )
2172 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2173 then :; else
2174 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2176 # We set ac_cv_exeext here because the later test for it is not
2177 # safe: cross compilers may not add the suffix if given an `-o'
2178 # argument, so we may need to know it at that point already.
2179 # Even if this section looks crufty: it has the advantage of
2180 # actually working.
2181 break;;
2183 break;;
2184 esac
2185 done
2186 test "$ac_cv_exeext" = no && ac_cv_exeext=
2188 else
2189 ac_file=''
2192 { echo "$as_me:$LINENO: result: $ac_file" >&5
2193 echo "${ECHO_T}$ac_file" >&6; }
2194 if test -z "$ac_file"; then
2195 echo "$as_me: failed program was:" >&5
2196 sed 's/^/| /' conftest.$ac_ext >&5
2198 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2199 See \`config.log' for more details." >&5
2200 echo "$as_me: error: C compiler cannot create executables
2201 See \`config.log' for more details." >&2;}
2202 { (exit 77); exit 77; }; }
2205 ac_exeext=$ac_cv_exeext
2207 # Check that the compiler produces executables we can run. If not, either
2208 # the compiler is broken, or we cross compile.
2209 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2210 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2211 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2212 # If not cross compiling, check that we can run a simple program.
2213 if test "$cross_compiling" != yes; then
2214 if { ac_try='./$ac_file'
2215 { (case "(($ac_try" in
2216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2217 *) ac_try_echo=$ac_try;;
2218 esac
2219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2220 (eval "$ac_try") 2>&5
2221 ac_status=$?
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }; }; then
2224 cross_compiling=no
2225 else
2226 if test "$cross_compiling" = maybe; then
2227 cross_compiling=yes
2228 else
2229 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2230 If you meant to cross compile, use \`--host'.
2231 See \`config.log' for more details." >&5
2232 echo "$as_me: error: cannot run C compiled programs.
2233 If you meant to cross compile, use \`--host'.
2234 See \`config.log' for more details." >&2;}
2235 { (exit 1); exit 1; }; }
2239 { echo "$as_me:$LINENO: result: yes" >&5
2240 echo "${ECHO_T}yes" >&6; }
2242 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2243 ac_clean_files=$ac_clean_files_save
2244 # Check that the compiler produces executables we can run. If not, either
2245 # the compiler is broken, or we cross compile.
2246 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2247 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2248 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2249 echo "${ECHO_T}$cross_compiling" >&6; }
2251 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2252 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2253 if { (ac_try="$ac_link"
2254 case "(($ac_try" in
2255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2256 *) ac_try_echo=$ac_try;;
2257 esac
2258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2259 (eval "$ac_link") 2>&5
2260 ac_status=$?
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); }; then
2263 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2264 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2265 # work properly (i.e., refer to `conftest.exe'), while it won't with
2266 # `rm'.
2267 for ac_file in conftest.exe conftest conftest.*; do
2268 test -f "$ac_file" || continue
2269 case $ac_file in
2270 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2271 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2272 break;;
2273 * ) break;;
2274 esac
2275 done
2276 else
2277 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2278 See \`config.log' for more details." >&5
2279 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2280 See \`config.log' for more details." >&2;}
2281 { (exit 1); exit 1; }; }
2284 rm -f conftest$ac_cv_exeext
2285 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2286 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2288 rm -f conftest.$ac_ext
2289 EXEEXT=$ac_cv_exeext
2290 ac_exeext=$EXEEXT
2291 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2292 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2293 if test "${ac_cv_objext+set}" = set; then
2294 echo $ECHO_N "(cached) $ECHO_C" >&6
2295 else
2296 cat >conftest.$ac_ext <<_ACEOF
2297 /* confdefs.h. */
2298 _ACEOF
2299 cat confdefs.h >>conftest.$ac_ext
2300 cat >>conftest.$ac_ext <<_ACEOF
2301 /* end confdefs.h. */
2304 main ()
2308 return 0;
2310 _ACEOF
2311 rm -f conftest.o conftest.obj
2312 if { (ac_try="$ac_compile"
2313 case "(($ac_try" in
2314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2315 *) ac_try_echo=$ac_try;;
2316 esac
2317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2318 (eval "$ac_compile") 2>&5
2319 ac_status=$?
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); }; then
2322 for ac_file in conftest.o conftest.obj conftest.*; do
2323 test -f "$ac_file" || continue;
2324 case $ac_file in
2325 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2326 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2327 break;;
2328 esac
2329 done
2330 else
2331 echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.$ac_ext >&5
2334 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2335 See \`config.log' for more details." >&5
2336 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2337 See \`config.log' for more details." >&2;}
2338 { (exit 1); exit 1; }; }
2341 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2343 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2344 echo "${ECHO_T}$ac_cv_objext" >&6; }
2345 OBJEXT=$ac_cv_objext
2346 ac_objext=$OBJEXT
2347 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2348 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2349 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2350 echo $ECHO_N "(cached) $ECHO_C" >&6
2351 else
2352 cat >conftest.$ac_ext <<_ACEOF
2353 /* confdefs.h. */
2354 _ACEOF
2355 cat confdefs.h >>conftest.$ac_ext
2356 cat >>conftest.$ac_ext <<_ACEOF
2357 /* end confdefs.h. */
2360 main ()
2362 #ifndef __GNUC__
2363 choke me
2364 #endif
2367 return 0;
2369 _ACEOF
2370 rm -f conftest.$ac_objext
2371 if { (ac_try="$ac_compile"
2372 case "(($ac_try" in
2373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2374 *) ac_try_echo=$ac_try;;
2375 esac
2376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2377 (eval "$ac_compile") 2>conftest.er1
2378 ac_status=$?
2379 grep -v '^ *+' conftest.er1 >conftest.err
2380 rm -f conftest.er1
2381 cat conftest.err >&5
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); } && {
2384 test -z "$ac_c_werror_flag" ||
2385 test ! -s conftest.err
2386 } && test -s conftest.$ac_objext; then
2387 ac_compiler_gnu=yes
2388 else
2389 echo "$as_me: failed program was:" >&5
2390 sed 's/^/| /' conftest.$ac_ext >&5
2392 ac_compiler_gnu=no
2395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2396 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2399 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2400 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2401 GCC=`test $ac_compiler_gnu = yes && echo yes`
2402 ac_test_CFLAGS=${CFLAGS+set}
2403 ac_save_CFLAGS=$CFLAGS
2404 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2405 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2406 if test "${ac_cv_prog_cc_g+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409 ac_save_c_werror_flag=$ac_c_werror_flag
2410 ac_c_werror_flag=yes
2411 ac_cv_prog_cc_g=no
2412 CFLAGS="-g"
2413 cat >conftest.$ac_ext <<_ACEOF
2414 /* confdefs.h. */
2415 _ACEOF
2416 cat confdefs.h >>conftest.$ac_ext
2417 cat >>conftest.$ac_ext <<_ACEOF
2418 /* end confdefs.h. */
2421 main ()
2425 return 0;
2427 _ACEOF
2428 rm -f conftest.$ac_objext
2429 if { (ac_try="$ac_compile"
2430 case "(($ac_try" in
2431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2432 *) ac_try_echo=$ac_try;;
2433 esac
2434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2435 (eval "$ac_compile") 2>conftest.er1
2436 ac_status=$?
2437 grep -v '^ *+' conftest.er1 >conftest.err
2438 rm -f conftest.er1
2439 cat conftest.err >&5
2440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2441 (exit $ac_status); } && {
2442 test -z "$ac_c_werror_flag" ||
2443 test ! -s conftest.err
2444 } && test -s conftest.$ac_objext; then
2445 ac_cv_prog_cc_g=yes
2446 else
2447 echo "$as_me: failed program was:" >&5
2448 sed 's/^/| /' conftest.$ac_ext >&5
2450 CFLAGS=""
2451 cat >conftest.$ac_ext <<_ACEOF
2452 /* confdefs.h. */
2453 _ACEOF
2454 cat confdefs.h >>conftest.$ac_ext
2455 cat >>conftest.$ac_ext <<_ACEOF
2456 /* end confdefs.h. */
2459 main ()
2463 return 0;
2465 _ACEOF
2466 rm -f conftest.$ac_objext
2467 if { (ac_try="$ac_compile"
2468 case "(($ac_try" in
2469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2471 esac
2472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2473 (eval "$ac_compile") 2>conftest.er1
2474 ac_status=$?
2475 grep -v '^ *+' conftest.er1 >conftest.err
2476 rm -f conftest.er1
2477 cat conftest.err >&5
2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); } && {
2480 test -z "$ac_c_werror_flag" ||
2481 test ! -s conftest.err
2482 } && test -s conftest.$ac_objext; then
2484 else
2485 echo "$as_me: failed program was:" >&5
2486 sed 's/^/| /' conftest.$ac_ext >&5
2488 ac_c_werror_flag=$ac_save_c_werror_flag
2489 CFLAGS="-g"
2490 cat >conftest.$ac_ext <<_ACEOF
2491 /* confdefs.h. */
2492 _ACEOF
2493 cat confdefs.h >>conftest.$ac_ext
2494 cat >>conftest.$ac_ext <<_ACEOF
2495 /* end confdefs.h. */
2498 main ()
2502 return 0;
2504 _ACEOF
2505 rm -f conftest.$ac_objext
2506 if { (ac_try="$ac_compile"
2507 case "(($ac_try" in
2508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2509 *) ac_try_echo=$ac_try;;
2510 esac
2511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2512 (eval "$ac_compile") 2>conftest.er1
2513 ac_status=$?
2514 grep -v '^ *+' conftest.er1 >conftest.err
2515 rm -f conftest.er1
2516 cat conftest.err >&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); } && {
2519 test -z "$ac_c_werror_flag" ||
2520 test ! -s conftest.err
2521 } && test -s conftest.$ac_objext; then
2522 ac_cv_prog_cc_g=yes
2523 else
2524 echo "$as_me: failed program was:" >&5
2525 sed 's/^/| /' conftest.$ac_ext >&5
2530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2537 ac_c_werror_flag=$ac_save_c_werror_flag
2539 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2540 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2541 if test "$ac_test_CFLAGS" = set; then
2542 CFLAGS=$ac_save_CFLAGS
2543 elif test $ac_cv_prog_cc_g = yes; then
2544 if test "$GCC" = yes; then
2545 CFLAGS="-g -O2"
2546 else
2547 CFLAGS="-g"
2549 else
2550 if test "$GCC" = yes; then
2551 CFLAGS="-O2"
2552 else
2553 CFLAGS=
2556 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2557 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2558 if test "${ac_cv_prog_cc_c89+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 else
2561 ac_cv_prog_cc_c89=no
2562 ac_save_CC=$CC
2563 cat >conftest.$ac_ext <<_ACEOF
2564 /* confdefs.h. */
2565 _ACEOF
2566 cat confdefs.h >>conftest.$ac_ext
2567 cat >>conftest.$ac_ext <<_ACEOF
2568 /* end confdefs.h. */
2569 #include <stdarg.h>
2570 #include <stdio.h>
2571 #include <sys/types.h>
2572 #include <sys/stat.h>
2573 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2574 struct buf { int x; };
2575 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2576 static char *e (p, i)
2577 char **p;
2578 int i;
2580 return p[i];
2582 static char *f (char * (*g) (char **, int), char **p, ...)
2584 char *s;
2585 va_list v;
2586 va_start (v,p);
2587 s = g (p, va_arg (v,int));
2588 va_end (v);
2589 return s;
2592 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2593 function prototypes and stuff, but not '\xHH' hex character constants.
2594 These don't provoke an error unfortunately, instead are silently treated
2595 as 'x'. The following induces an error, until -std is added to get
2596 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2597 array size at least. It's necessary to write '\x00'==0 to get something
2598 that's true only with -std. */
2599 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2601 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2602 inside strings and character constants. */
2603 #define FOO(x) 'x'
2604 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2606 int test (int i, double x);
2607 struct s1 {int (*f) (int a);};
2608 struct s2 {int (*f) (double a);};
2609 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2610 int argc;
2611 char **argv;
2613 main ()
2615 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2617 return 0;
2619 _ACEOF
2620 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2621 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2623 CC="$ac_save_CC $ac_arg"
2624 rm -f conftest.$ac_objext
2625 if { (ac_try="$ac_compile"
2626 case "(($ac_try" in
2627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2628 *) ac_try_echo=$ac_try;;
2629 esac
2630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2631 (eval "$ac_compile") 2>conftest.er1
2632 ac_status=$?
2633 grep -v '^ *+' conftest.er1 >conftest.err
2634 rm -f conftest.er1
2635 cat conftest.err >&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); } && {
2638 test -z "$ac_c_werror_flag" ||
2639 test ! -s conftest.err
2640 } && test -s conftest.$ac_objext; then
2641 ac_cv_prog_cc_c89=$ac_arg
2642 else
2643 echo "$as_me: failed program was:" >&5
2644 sed 's/^/| /' conftest.$ac_ext >&5
2649 rm -f core conftest.err conftest.$ac_objext
2650 test "x$ac_cv_prog_cc_c89" != "xno" && break
2651 done
2652 rm -f conftest.$ac_ext
2653 CC=$ac_save_CC
2656 # AC_CACHE_VAL
2657 case "x$ac_cv_prog_cc_c89" in
2659 { echo "$as_me:$LINENO: result: none needed" >&5
2660 echo "${ECHO_T}none needed" >&6; } ;;
2661 xno)
2662 { echo "$as_me:$LINENO: result: unsupported" >&5
2663 echo "${ECHO_T}unsupported" >&6; } ;;
2665 CC="$CC $ac_cv_prog_cc_c89"
2666 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2667 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2668 esac
2671 ac_ext=c
2672 ac_cpp='$CPP $CPPFLAGS'
2673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2677 ac_ext=cpp
2678 ac_cpp='$CXXCPP $CPPFLAGS'
2679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2682 if test -z "$CXX"; then
2683 if test -n "$CCC"; then
2684 CXX=$CCC
2685 else
2686 if test -n "$ac_tool_prefix"; then
2687 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2689 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2690 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2693 if test "${ac_cv_prog_CXX+set}" = set; then
2694 echo $ECHO_N "(cached) $ECHO_C" >&6
2695 else
2696 if test -n "$CXX"; then
2697 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2698 else
2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700 for as_dir in $PATH
2702 IFS=$as_save_IFS
2703 test -z "$as_dir" && as_dir=.
2704 for ac_exec_ext in '' $ac_executable_extensions; do
2705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2708 break 2
2710 done
2711 done
2712 IFS=$as_save_IFS
2716 CXX=$ac_cv_prog_CXX
2717 if test -n "$CXX"; then
2718 { echo "$as_me:$LINENO: result: $CXX" >&5
2719 echo "${ECHO_T}$CXX" >&6; }
2720 else
2721 { echo "$as_me:$LINENO: result: no" >&5
2722 echo "${ECHO_T}no" >&6; }
2726 test -n "$CXX" && break
2727 done
2729 if test -z "$CXX"; then
2730 ac_ct_CXX=$CXX
2731 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2733 # Extract the first word of "$ac_prog", so it can be a program name with args.
2734 set dummy $ac_prog; ac_word=$2
2735 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2737 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2739 else
2740 if test -n "$ac_ct_CXX"; then
2741 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2742 else
2743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2744 for as_dir in $PATH
2746 IFS=$as_save_IFS
2747 test -z "$as_dir" && as_dir=.
2748 for ac_exec_ext in '' $ac_executable_extensions; do
2749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2750 ac_cv_prog_ac_ct_CXX="$ac_prog"
2751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 break 2
2754 done
2755 done
2756 IFS=$as_save_IFS
2760 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2761 if test -n "$ac_ct_CXX"; then
2762 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2763 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2764 else
2765 { echo "$as_me:$LINENO: result: no" >&5
2766 echo "${ECHO_T}no" >&6; }
2770 test -n "$ac_ct_CXX" && break
2771 done
2773 if test "x$ac_ct_CXX" = x; then
2774 CXX="g++"
2775 else
2776 case $cross_compiling:$ac_tool_warned in
2777 yes:)
2778 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2779 whose name does not start with the host triplet. If you think this
2780 configuration is useful to you, please write to autoconf@gnu.org." >&5
2781 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2782 whose name does not start with the host triplet. If you think this
2783 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2784 ac_tool_warned=yes ;;
2785 esac
2786 CXX=$ac_ct_CXX
2792 # Provide some information about the compiler.
2793 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2794 ac_compiler=`set X $ac_compile; echo $2`
2795 { (ac_try="$ac_compiler --version >&5"
2796 case "(($ac_try" in
2797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2799 esac
2800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2801 (eval "$ac_compiler --version >&5") 2>&5
2802 ac_status=$?
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }
2805 { (ac_try="$ac_compiler -v >&5"
2806 case "(($ac_try" in
2807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2809 esac
2810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2811 (eval "$ac_compiler -v >&5") 2>&5
2812 ac_status=$?
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }
2815 { (ac_try="$ac_compiler -V >&5"
2816 case "(($ac_try" in
2817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2818 *) ac_try_echo=$ac_try;;
2819 esac
2820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2821 (eval "$ac_compiler -V >&5") 2>&5
2822 ac_status=$?
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); }
2826 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2827 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2828 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2830 else
2831 cat >conftest.$ac_ext <<_ACEOF
2832 /* confdefs.h. */
2833 _ACEOF
2834 cat confdefs.h >>conftest.$ac_ext
2835 cat >>conftest.$ac_ext <<_ACEOF
2836 /* end confdefs.h. */
2839 main ()
2841 #ifndef __GNUC__
2842 choke me
2843 #endif
2846 return 0;
2848 _ACEOF
2849 rm -f conftest.$ac_objext
2850 if { (ac_try="$ac_compile"
2851 case "(($ac_try" in
2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853 *) ac_try_echo=$ac_try;;
2854 esac
2855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2856 (eval "$ac_compile") 2>conftest.er1
2857 ac_status=$?
2858 grep -v '^ *+' conftest.er1 >conftest.err
2859 rm -f conftest.er1
2860 cat conftest.err >&5
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); } && {
2863 test -z "$ac_cxx_werror_flag" ||
2864 test ! -s conftest.err
2865 } && test -s conftest.$ac_objext; then
2866 ac_compiler_gnu=yes
2867 else
2868 echo "$as_me: failed program was:" >&5
2869 sed 's/^/| /' conftest.$ac_ext >&5
2871 ac_compiler_gnu=no
2874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2875 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2878 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2879 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2880 GXX=`test $ac_compiler_gnu = yes && echo yes`
2881 ac_test_CXXFLAGS=${CXXFLAGS+set}
2882 ac_save_CXXFLAGS=$CXXFLAGS
2883 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2884 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
2885 if test "${ac_cv_prog_cxx_g+set}" = set; then
2886 echo $ECHO_N "(cached) $ECHO_C" >&6
2887 else
2888 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2889 ac_cxx_werror_flag=yes
2890 ac_cv_prog_cxx_g=no
2891 CXXFLAGS="-g"
2892 cat >conftest.$ac_ext <<_ACEOF
2893 /* confdefs.h. */
2894 _ACEOF
2895 cat confdefs.h >>conftest.$ac_ext
2896 cat >>conftest.$ac_ext <<_ACEOF
2897 /* end confdefs.h. */
2900 main ()
2904 return 0;
2906 _ACEOF
2907 rm -f conftest.$ac_objext
2908 if { (ac_try="$ac_compile"
2909 case "(($ac_try" in
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2912 esac
2913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2914 (eval "$ac_compile") 2>conftest.er1
2915 ac_status=$?
2916 grep -v '^ *+' conftest.er1 >conftest.err
2917 rm -f conftest.er1
2918 cat conftest.err >&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); } && {
2921 test -z "$ac_cxx_werror_flag" ||
2922 test ! -s conftest.err
2923 } && test -s conftest.$ac_objext; then
2924 ac_cv_prog_cxx_g=yes
2925 else
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2929 CXXFLAGS=""
2930 cat >conftest.$ac_ext <<_ACEOF
2931 /* confdefs.h. */
2932 _ACEOF
2933 cat confdefs.h >>conftest.$ac_ext
2934 cat >>conftest.$ac_ext <<_ACEOF
2935 /* end confdefs.h. */
2938 main ()
2942 return 0;
2944 _ACEOF
2945 rm -f conftest.$ac_objext
2946 if { (ac_try="$ac_compile"
2947 case "(($ac_try" in
2948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2949 *) ac_try_echo=$ac_try;;
2950 esac
2951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2952 (eval "$ac_compile") 2>conftest.er1
2953 ac_status=$?
2954 grep -v '^ *+' conftest.er1 >conftest.err
2955 rm -f conftest.er1
2956 cat conftest.err >&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); } && {
2959 test -z "$ac_cxx_werror_flag" ||
2960 test ! -s conftest.err
2961 } && test -s conftest.$ac_objext; then
2963 else
2964 echo "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2967 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2968 CXXFLAGS="-g"
2969 cat >conftest.$ac_ext <<_ACEOF
2970 /* confdefs.h. */
2971 _ACEOF
2972 cat confdefs.h >>conftest.$ac_ext
2973 cat >>conftest.$ac_ext <<_ACEOF
2974 /* end confdefs.h. */
2977 main ()
2981 return 0;
2983 _ACEOF
2984 rm -f conftest.$ac_objext
2985 if { (ac_try="$ac_compile"
2986 case "(($ac_try" in
2987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2988 *) ac_try_echo=$ac_try;;
2989 esac
2990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2991 (eval "$ac_compile") 2>conftest.er1
2992 ac_status=$?
2993 grep -v '^ *+' conftest.er1 >conftest.err
2994 rm -f conftest.er1
2995 cat conftest.err >&5
2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 (exit $ac_status); } && {
2998 test -z "$ac_cxx_werror_flag" ||
2999 test ! -s conftest.err
3000 } && test -s conftest.$ac_objext; then
3001 ac_cv_prog_cxx_g=yes
3002 else
3003 echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3016 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3018 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3019 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3020 if test "$ac_test_CXXFLAGS" = set; then
3021 CXXFLAGS=$ac_save_CXXFLAGS
3022 elif test $ac_cv_prog_cxx_g = yes; then
3023 if test "$GXX" = yes; then
3024 CXXFLAGS="-g -O2"
3025 else
3026 CXXFLAGS="-g"
3028 else
3029 if test "$GXX" = yes; then
3030 CXXFLAGS="-O2"
3031 else
3032 CXXFLAGS=
3035 ac_ext=c
3036 ac_cpp='$CPP $CPPFLAGS'
3037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3041 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
3042 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3043 LN_S=$as_ln_s
3044 if test "$LN_S" = "ln -s"; then
3045 { echo "$as_me:$LINENO: result: yes" >&5
3046 echo "${ECHO_T}yes" >&6; }
3047 else
3048 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3049 echo "${ECHO_T}no, using $LN_S" >&6; }
3052 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3053 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3054 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3055 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3056 echo $ECHO_N "(cached) $ECHO_C" >&6
3057 else
3058 cat >conftest.make <<\_ACEOF
3059 SHELL = /bin/sh
3060 all:
3061 @echo '@@@%%%=$(MAKE)=@@@%%%'
3062 _ACEOF
3063 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3064 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3065 *@@@%%%=?*=@@@%%%*)
3066 eval ac_cv_prog_make_${ac_make}_set=yes;;
3068 eval ac_cv_prog_make_${ac_make}_set=no;;
3069 esac
3070 rm -f conftest.make
3072 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3073 { echo "$as_me:$LINENO: result: yes" >&5
3074 echo "${ECHO_T}yes" >&6; }
3075 SET_MAKE=
3076 else
3077 { echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6; }
3079 SET_MAKE="MAKE=${MAKE-make}"
3082 ac_aux_dir=
3083 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3084 if test -f "$ac_dir/install-sh"; then
3085 ac_aux_dir=$ac_dir
3086 ac_install_sh="$ac_aux_dir/install-sh -c"
3087 break
3088 elif test -f "$ac_dir/install.sh"; then
3089 ac_aux_dir=$ac_dir
3090 ac_install_sh="$ac_aux_dir/install.sh -c"
3091 break
3092 elif test -f "$ac_dir/shtool"; then
3093 ac_aux_dir=$ac_dir
3094 ac_install_sh="$ac_aux_dir/shtool install -c"
3095 break
3097 done
3098 if test -z "$ac_aux_dir"; then
3099 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3100 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3101 { (exit 1); exit 1; }; }
3104 # These three variables are undocumented and unsupported,
3105 # and are intended to be withdrawn in a future Autoconf release.
3106 # They can cause serious problems if a builder's source tree is in a directory
3107 # whose full name contains unusual characters.
3108 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3109 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3110 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3113 # Find a good install program. We prefer a C program (faster),
3114 # so one script is as good as another. But avoid the broken or
3115 # incompatible versions:
3116 # SysV /etc/install, /usr/sbin/install
3117 # SunOS /usr/etc/install
3118 # IRIX /sbin/install
3119 # AIX /bin/install
3120 # AmigaOS /C/install, which installs bootblocks on floppy discs
3121 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3122 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3123 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3124 # OS/2's system install, which has a completely different semantic
3125 # ./install, which can be erroneously created by make from ./install.sh.
3126 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3127 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3128 if test -z "$INSTALL"; then
3129 if test "${ac_cv_path_install+set}" = set; then
3130 echo $ECHO_N "(cached) $ECHO_C" >&6
3131 else
3132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3133 for as_dir in $PATH
3135 IFS=$as_save_IFS
3136 test -z "$as_dir" && as_dir=.
3137 # Account for people who put trailing slashes in PATH elements.
3138 case $as_dir/ in
3139 ./ | .// | /cC/* | \
3140 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3141 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3142 /usr/ucb/* ) ;;
3144 # OSF1 and SCO ODT 3.0 have their own names for install.
3145 # Don't use installbsd from OSF since it installs stuff as root
3146 # by default.
3147 for ac_prog in ginstall scoinst install; do
3148 for ac_exec_ext in '' $ac_executable_extensions; do
3149 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3150 if test $ac_prog = install &&
3151 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3152 # AIX install. It has an incompatible calling convention.
3154 elif test $ac_prog = install &&
3155 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3156 # program-specific install script used by HP pwplus--don't use.
3158 else
3159 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3160 break 3
3163 done
3164 done
3166 esac
3167 done
3168 IFS=$as_save_IFS
3172 if test "${ac_cv_path_install+set}" = set; then
3173 INSTALL=$ac_cv_path_install
3174 else
3175 # As a last resort, use the slow shell script. Don't cache a
3176 # value for INSTALL within a source directory, because that will
3177 # break other packages using the cache if that directory is
3178 # removed, or if the value is a relative name.
3179 INSTALL=$ac_install_sh
3182 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3183 echo "${ECHO_T}$INSTALL" >&6; }
3185 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3186 # It thinks the first close brace ends the variable substitution.
3187 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3189 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3191 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3195 ac_config_headers="$ac_config_headers src/config.h"
3197 ac_ext=cpp
3198 ac_cpp='$CXXCPP $CPPFLAGS'
3199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3204 # Figure out how to turn on compiler warnings.
3212 { echo "$as_me:$LINENO: checking CFLAGS for maximum warnings" >&5
3213 echo $ECHO_N "checking CFLAGS for maximum warnings... $ECHO_C" >&6; }
3214 if test "${ac_cv_cflags_warn_all+set}" = set; then
3215 echo $ECHO_N "(cached) $ECHO_C" >&6
3216 else
3217 ac_cv_cflags_warn_all="no, unknown"
3219 ac_ext=c
3220 ac_cpp='$CPP $CPPFLAGS'
3221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3225 ac_save_CFLAGS="$CFLAGS"
3226 for ac_arg in "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" #
3227 do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
3228 cat >conftest.$ac_ext <<_ACEOF
3229 /* confdefs.h. */
3230 _ACEOF
3231 cat confdefs.h >>conftest.$ac_ext
3232 cat >>conftest.$ac_ext <<_ACEOF
3233 /* end confdefs.h. */
3236 main ()
3238 return 0;
3240 return 0;
3242 _ACEOF
3243 rm -f conftest.$ac_objext
3244 if { (ac_try="$ac_compile"
3245 case "(($ac_try" in
3246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3247 *) ac_try_echo=$ac_try;;
3248 esac
3249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3250 (eval "$ac_compile") 2>conftest.er1
3251 ac_status=$?
3252 grep -v '^ *+' conftest.er1 >conftest.err
3253 rm -f conftest.er1
3254 cat conftest.err >&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); } && {
3257 test -z "$ac_c_werror_flag" ||
3258 test ! -s conftest.err
3259 } && test -s conftest.$ac_objext; then
3260 ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
3261 else
3262 echo "$as_me: failed program was:" >&5
3263 sed 's/^/| /' conftest.$ac_ext >&5
3268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3269 done
3270 CFLAGS="$ac_save_CFLAGS"
3271 ac_ext=cpp
3272 ac_cpp='$CXXCPP $CPPFLAGS'
3273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3279 { echo "$as_me:$LINENO: result: $ac_cv_cflags_warn_all" >&5
3280 echo "${ECHO_T}$ac_cv_cflags_warn_all" >&6; }
3281 case ".$ac_cv_cflags_warn_all" in
3282 .ok|.ok,*) ;;
3283 .|.no|.no,*)
3286 if echo " $CFLAGS " | grep " $ac_cv_cflags_warn_all " 2>&1 >/dev/null
3287 then { (echo "$as_me:$LINENO: : CFLAGS does contain \$ac_cv_cflags_warn_all") >&5
3288 (: CFLAGS does contain $ac_cv_cflags_warn_all) 2>&5
3289 ac_status=$?
3290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); }
3292 else { (echo "$as_me:$LINENO: : CFLAGS=\"\$CFLAGS \$ac_cv_cflags_warn_all\"") >&5
3293 (: CFLAGS="$CFLAGS $ac_cv_cflags_warn_all") 2>&5
3294 ac_status=$?
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); }
3297 CFLAGS="$CFLAGS $ac_cv_cflags_warn_all"
3300 esac
3304 # Check whether --enable-runtime-dependency-check was given.
3305 if test "${enable_runtime_dependency_check+set}" = set; then
3306 enableval=$enable_runtime_dependency_check;
3307 else
3308 check_runtime_dependencies=yes
3312 if test "$check_runtime_dependencies" == "yes"
3313 then # Extract the first word of "lie", so it can be a program name with args.
3314 set dummy lie; ac_word=$2
3315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3317 if test "${ac_cv_prog_LIE+set}" = set; then
3318 echo $ECHO_N "(cached) $ECHO_C" >&6
3319 else
3320 if test -n "$LIE"; then
3321 ac_cv_prog_LIE="$LIE" # Let the user override the test.
3322 else
3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3324 for as_dir in $PATH
3326 IFS=$as_save_IFS
3327 test -z "$as_dir" && as_dir=.
3328 for ac_exec_ext in '' $ac_executable_extensions; do
3329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3330 ac_cv_prog_LIE="yes"
3331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 break 2
3334 done
3335 done
3336 IFS=$as_save_IFS
3338 test -z "$ac_cv_prog_LIE" && ac_cv_prog_LIE="no"
3341 LIE=$ac_cv_prog_LIE
3342 if test -n "$LIE"; then
3343 { echo "$as_me:$LINENO: result: $LIE" >&5
3344 echo "${ECHO_T}$LIE" >&6; }
3345 else
3346 { echo "$as_me:$LINENO: result: no" >&5
3347 echo "${ECHO_T}no" >&6; }
3351 if test "${LIE}" == "no"
3352 then { { echo "$as_me:$LINENO: error: Need the LiE program; get it from http://young.sp2mi.univ-poitiers.fr/~marc/LiE/ ." >&5
3353 echo "$as_me: error: Need the LiE program; get it from http://young.sp2mi.univ-poitiers.fr/~marc/LiE/ ." >&2;}
3354 { (exit 1); exit 1; }; }
3359 ac_ext=cpp
3360 ac_cpp='$CXXCPP $CPPFLAGS'
3361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3364 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3365 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
3366 if test -z "$CXXCPP"; then
3367 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
3369 else
3370 # Double quotes because CXXCPP needs to be expanded
3371 for CXXCPP in "$CXX -E" "/lib/cpp"
3373 ac_preproc_ok=false
3374 for ac_cxx_preproc_warn_flag in '' yes
3376 # Use a header file that comes with gcc, so configuring glibc
3377 # with a fresh cross-compiler works.
3378 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3379 # <limits.h> exists even on freestanding compilers.
3380 # On the NeXT, cc -E runs the code through the compiler's parser,
3381 # not just through cpp. "Syntax error" is here to catch this case.
3382 cat >conftest.$ac_ext <<_ACEOF
3383 /* confdefs.h. */
3384 _ACEOF
3385 cat confdefs.h >>conftest.$ac_ext
3386 cat >>conftest.$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3388 #ifdef __STDC__
3389 # include <limits.h>
3390 #else
3391 # include <assert.h>
3392 #endif
3393 Syntax error
3394 _ACEOF
3395 if { (ac_try="$ac_cpp conftest.$ac_ext"
3396 case "(($ac_try" in
3397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3398 *) ac_try_echo=$ac_try;;
3399 esac
3400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3401 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3402 ac_status=$?
3403 grep -v '^ *+' conftest.er1 >conftest.err
3404 rm -f conftest.er1
3405 cat conftest.err >&5
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); } >/dev/null && {
3408 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3409 test ! -s conftest.err
3410 }; then
3412 else
3413 echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.$ac_ext >&5
3416 # Broken: fails on valid input.
3417 continue
3420 rm -f conftest.err conftest.$ac_ext
3422 # OK, works on sane cases. Now check whether nonexistent headers
3423 # can be detected and how.
3424 cat >conftest.$ac_ext <<_ACEOF
3425 /* confdefs.h. */
3426 _ACEOF
3427 cat confdefs.h >>conftest.$ac_ext
3428 cat >>conftest.$ac_ext <<_ACEOF
3429 /* end confdefs.h. */
3430 #include <ac_nonexistent.h>
3431 _ACEOF
3432 if { (ac_try="$ac_cpp conftest.$ac_ext"
3433 case "(($ac_try" in
3434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3435 *) ac_try_echo=$ac_try;;
3436 esac
3437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3438 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3439 ac_status=$?
3440 grep -v '^ *+' conftest.er1 >conftest.err
3441 rm -f conftest.er1
3442 cat conftest.err >&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); } >/dev/null && {
3445 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3446 test ! -s conftest.err
3447 }; then
3448 # Broken: success on invalid input.
3449 continue
3450 else
3451 echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.$ac_ext >&5
3454 # Passes both tests.
3455 ac_preproc_ok=:
3456 break
3459 rm -f conftest.err conftest.$ac_ext
3461 done
3462 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3463 rm -f conftest.err conftest.$ac_ext
3464 if $ac_preproc_ok; then
3465 break
3468 done
3469 ac_cv_prog_CXXCPP=$CXXCPP
3472 CXXCPP=$ac_cv_prog_CXXCPP
3473 else
3474 ac_cv_prog_CXXCPP=$CXXCPP
3476 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
3477 echo "${ECHO_T}$CXXCPP" >&6; }
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
3571 else
3572 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3573 See \`config.log' for more details." >&5
3574 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3575 See \`config.log' for more details." >&2;}
3576 { (exit 1); exit 1; }; }
3579 ac_ext=cpp
3580 ac_cpp='$CXXCPP $CPPFLAGS'
3581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3586 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3587 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3588 if test "${ac_cv_path_GREP+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3590 else
3591 # Extract the first word of "grep ggrep" to use in msg output
3592 if test -z "$GREP"; then
3593 set dummy grep ggrep; ac_prog_name=$2
3594 if test "${ac_cv_path_GREP+set}" = set; then
3595 echo $ECHO_N "(cached) $ECHO_C" >&6
3596 else
3597 ac_path_GREP_found=false
3598 # Loop through the user's path and test for each of PROGNAME-LIST
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3602 IFS=$as_save_IFS
3603 test -z "$as_dir" && as_dir=.
3604 for ac_prog in grep ggrep; do
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3607 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3608 # Check for GNU ac_path_GREP and select it if it is found.
3609 # Check for GNU $ac_path_GREP
3610 case `"$ac_path_GREP" --version 2>&1` in
3611 *GNU*)
3612 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3614 ac_count=0
3615 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3616 while :
3618 cat "conftest.in" "conftest.in" >"conftest.tmp"
3619 mv "conftest.tmp" "conftest.in"
3620 cp "conftest.in" "conftest.nl"
3621 echo 'GREP' >> "conftest.nl"
3622 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3623 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3624 ac_count=`expr $ac_count + 1`
3625 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3626 # Best one so far, save it but keep looking for a better one
3627 ac_cv_path_GREP="$ac_path_GREP"
3628 ac_path_GREP_max=$ac_count
3630 # 10*(2^10) chars as input seems more than enough
3631 test $ac_count -gt 10 && break
3632 done
3633 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3634 esac
3637 $ac_path_GREP_found && break 3
3638 done
3639 done
3641 done
3642 IFS=$as_save_IFS
3647 GREP="$ac_cv_path_GREP"
3648 if test -z "$GREP"; then
3649 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3650 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3651 { (exit 1); exit 1; }; }
3654 else
3655 ac_cv_path_GREP=$GREP
3660 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3661 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3662 GREP="$ac_cv_path_GREP"
3665 { echo "$as_me:$LINENO: checking for egrep" >&5
3666 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3667 if test "${ac_cv_path_EGREP+set}" = set; then
3668 echo $ECHO_N "(cached) $ECHO_C" >&6
3669 else
3670 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3671 then ac_cv_path_EGREP="$GREP -E"
3672 else
3673 # Extract the first word of "egrep" to use in msg output
3674 if test -z "$EGREP"; then
3675 set dummy egrep; ac_prog_name=$2
3676 if test "${ac_cv_path_EGREP+set}" = set; then
3677 echo $ECHO_N "(cached) $ECHO_C" >&6
3678 else
3679 ac_path_EGREP_found=false
3680 # Loop through the user's path and test for each of PROGNAME-LIST
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3684 IFS=$as_save_IFS
3685 test -z "$as_dir" && as_dir=.
3686 for ac_prog in egrep; do
3687 for ac_exec_ext in '' $ac_executable_extensions; do
3688 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3689 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3690 # Check for GNU ac_path_EGREP and select it if it is found.
3691 # Check for GNU $ac_path_EGREP
3692 case `"$ac_path_EGREP" --version 2>&1` in
3693 *GNU*)
3694 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3696 ac_count=0
3697 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3698 while :
3700 cat "conftest.in" "conftest.in" >"conftest.tmp"
3701 mv "conftest.tmp" "conftest.in"
3702 cp "conftest.in" "conftest.nl"
3703 echo 'EGREP' >> "conftest.nl"
3704 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3705 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3706 ac_count=`expr $ac_count + 1`
3707 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3708 # Best one so far, save it but keep looking for a better one
3709 ac_cv_path_EGREP="$ac_path_EGREP"
3710 ac_path_EGREP_max=$ac_count
3712 # 10*(2^10) chars as input seems more than enough
3713 test $ac_count -gt 10 && break
3714 done
3715 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3716 esac
3719 $ac_path_EGREP_found && break 3
3720 done
3721 done
3723 done
3724 IFS=$as_save_IFS
3729 EGREP="$ac_cv_path_EGREP"
3730 if test -z "$EGREP"; then
3731 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3732 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3733 { (exit 1); exit 1; }; }
3736 else
3737 ac_cv_path_EGREP=$EGREP
3743 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3744 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3745 EGREP="$ac_cv_path_EGREP"
3748 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3749 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3750 if test "${ac_cv_header_stdc+set}" = set; then
3751 echo $ECHO_N "(cached) $ECHO_C" >&6
3752 else
3753 cat >conftest.$ac_ext <<_ACEOF
3754 /* confdefs.h. */
3755 _ACEOF
3756 cat confdefs.h >>conftest.$ac_ext
3757 cat >>conftest.$ac_ext <<_ACEOF
3758 /* end confdefs.h. */
3759 #include <stdlib.h>
3760 #include <stdarg.h>
3761 #include <string.h>
3762 #include <float.h>
3765 main ()
3769 return 0;
3771 _ACEOF
3772 rm -f conftest.$ac_objext
3773 if { (ac_try="$ac_compile"
3774 case "(($ac_try" in
3775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3776 *) ac_try_echo=$ac_try;;
3777 esac
3778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3779 (eval "$ac_compile") 2>conftest.er1
3780 ac_status=$?
3781 grep -v '^ *+' conftest.er1 >conftest.err
3782 rm -f conftest.er1
3783 cat conftest.err >&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); } && {
3786 test -z "$ac_cxx_werror_flag" ||
3787 test ! -s conftest.err
3788 } && test -s conftest.$ac_objext; then
3789 ac_cv_header_stdc=yes
3790 else
3791 echo "$as_me: failed program was:" >&5
3792 sed 's/^/| /' conftest.$ac_ext >&5
3794 ac_cv_header_stdc=no
3797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3799 if test $ac_cv_header_stdc = yes; then
3800 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3801 cat >conftest.$ac_ext <<_ACEOF
3802 /* confdefs.h. */
3803 _ACEOF
3804 cat confdefs.h >>conftest.$ac_ext
3805 cat >>conftest.$ac_ext <<_ACEOF
3806 /* end confdefs.h. */
3807 #include <string.h>
3809 _ACEOF
3810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3811 $EGREP "memchr" >/dev/null 2>&1; then
3813 else
3814 ac_cv_header_stdc=no
3816 rm -f conftest*
3820 if test $ac_cv_header_stdc = yes; then
3821 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3822 cat >conftest.$ac_ext <<_ACEOF
3823 /* confdefs.h. */
3824 _ACEOF
3825 cat confdefs.h >>conftest.$ac_ext
3826 cat >>conftest.$ac_ext <<_ACEOF
3827 /* end confdefs.h. */
3828 #include <stdlib.h>
3830 _ACEOF
3831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3832 $EGREP "free" >/dev/null 2>&1; then
3834 else
3835 ac_cv_header_stdc=no
3837 rm -f conftest*
3841 if test $ac_cv_header_stdc = yes; then
3842 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3843 if test "$cross_compiling" = yes; then
3845 else
3846 cat >conftest.$ac_ext <<_ACEOF
3847 /* confdefs.h. */
3848 _ACEOF
3849 cat confdefs.h >>conftest.$ac_ext
3850 cat >>conftest.$ac_ext <<_ACEOF
3851 /* end confdefs.h. */
3852 #include <ctype.h>
3853 #include <stdlib.h>
3854 #if ((' ' & 0x0FF) == 0x020)
3855 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3856 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3857 #else
3858 # define ISLOWER(c) \
3859 (('a' <= (c) && (c) <= 'i') \
3860 || ('j' <= (c) && (c) <= 'r') \
3861 || ('s' <= (c) && (c) <= 'z'))
3862 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3863 #endif
3865 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3867 main ()
3869 int i;
3870 for (i = 0; i < 256; i++)
3871 if (XOR (islower (i), ISLOWER (i))
3872 || toupper (i) != TOUPPER (i))
3873 return 2;
3874 return 0;
3876 _ACEOF
3877 rm -f conftest$ac_exeext
3878 if { (ac_try="$ac_link"
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_link") 2>&5
3885 ac_status=$?
3886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3888 { (case "(($ac_try" in
3889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3890 *) ac_try_echo=$ac_try;;
3891 esac
3892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3893 (eval "$ac_try") 2>&5
3894 ac_status=$?
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); }; }; then
3898 else
3899 echo "$as_me: program exited with status $ac_status" >&5
3900 echo "$as_me: failed program was:" >&5
3901 sed 's/^/| /' conftest.$ac_ext >&5
3903 ( exit $ac_status )
3904 ac_cv_header_stdc=no
3906 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3912 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3913 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3914 if test $ac_cv_header_stdc = yes; then
3916 cat >>confdefs.h <<\_ACEOF
3917 #define STDC_HEADERS 1
3918 _ACEOF
3922 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3932 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3933 inttypes.h stdint.h unistd.h
3935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3936 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3939 echo $ECHO_N "(cached) $ECHO_C" >&6
3940 else
3941 cat >conftest.$ac_ext <<_ACEOF
3942 /* confdefs.h. */
3943 _ACEOF
3944 cat confdefs.h >>conftest.$ac_ext
3945 cat >>conftest.$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3947 $ac_includes_default
3949 #include <$ac_header>
3950 _ACEOF
3951 rm -f conftest.$ac_objext
3952 if { (ac_try="$ac_compile"
3953 case "(($ac_try" in
3954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3955 *) ac_try_echo=$ac_try;;
3956 esac
3957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3958 (eval "$ac_compile") 2>conftest.er1
3959 ac_status=$?
3960 grep -v '^ *+' conftest.er1 >conftest.err
3961 rm -f conftest.er1
3962 cat conftest.err >&5
3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); } && {
3965 test -z "$ac_cxx_werror_flag" ||
3966 test ! -s conftest.err
3967 } && test -s conftest.$ac_objext; then
3968 eval "$as_ac_Header=yes"
3969 else
3970 echo "$as_me: failed program was:" >&5
3971 sed 's/^/| /' conftest.$ac_ext >&5
3973 eval "$as_ac_Header=no"
3976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3978 ac_res=`eval echo '${'$as_ac_Header'}'`
3979 { echo "$as_me:$LINENO: result: $ac_res" >&5
3980 echo "${ECHO_T}$ac_res" >&6; }
3981 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3982 cat >>confdefs.h <<_ACEOF
3983 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3984 _ACEOF
3988 done
3992 for ac_header in pcre.h
3994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3996 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3998 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3999 echo $ECHO_N "(cached) $ECHO_C" >&6
4001 ac_res=`eval echo '${'$as_ac_Header'}'`
4002 { echo "$as_me:$LINENO: result: $ac_res" >&5
4003 echo "${ECHO_T}$ac_res" >&6; }
4004 else
4005 # Is the header compilable?
4006 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4007 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4008 cat >conftest.$ac_ext <<_ACEOF
4009 /* confdefs.h. */
4010 _ACEOF
4011 cat confdefs.h >>conftest.$ac_ext
4012 cat >>conftest.$ac_ext <<_ACEOF
4013 /* end confdefs.h. */
4014 $ac_includes_default
4015 #include <$ac_header>
4016 _ACEOF
4017 rm -f conftest.$ac_objext
4018 if { (ac_try="$ac_compile"
4019 case "(($ac_try" in
4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4022 esac
4023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4024 (eval "$ac_compile") 2>conftest.er1
4025 ac_status=$?
4026 grep -v '^ *+' conftest.er1 >conftest.err
4027 rm -f conftest.er1
4028 cat conftest.err >&5
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); } && {
4031 test -z "$ac_cxx_werror_flag" ||
4032 test ! -s conftest.err
4033 } && test -s conftest.$ac_objext; then
4034 ac_header_compiler=yes
4035 else
4036 echo "$as_me: failed program was:" >&5
4037 sed 's/^/| /' conftest.$ac_ext >&5
4039 ac_header_compiler=no
4042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4043 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4044 echo "${ECHO_T}$ac_header_compiler" >&6; }
4046 # Is the header present?
4047 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4049 cat >conftest.$ac_ext <<_ACEOF
4050 /* confdefs.h. */
4051 _ACEOF
4052 cat confdefs.h >>conftest.$ac_ext
4053 cat >>conftest.$ac_ext <<_ACEOF
4054 /* end confdefs.h. */
4055 #include <$ac_header>
4056 _ACEOF
4057 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
4070 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4071 test ! -s conftest.err
4072 }; then
4073 ac_header_preproc=yes
4074 else
4075 echo "$as_me: failed program was:" >&5
4076 sed 's/^/| /' conftest.$ac_ext >&5
4078 ac_header_preproc=no
4081 rm -f conftest.err conftest.$ac_ext
4082 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4083 echo "${ECHO_T}$ac_header_preproc" >&6; }
4085 # So? What about this header?
4086 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4087 yes:no: )
4088 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4089 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4091 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4092 ac_header_preproc=yes
4094 no:yes:* )
4095 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4096 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4097 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4098 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4099 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4100 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4101 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4102 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4103 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4104 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4105 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4106 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4109 esac
4110 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4113 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 else
4115 eval "$as_ac_Header=\$ac_header_preproc"
4117 ac_res=`eval echo '${'$as_ac_Header'}'`
4118 { echo "$as_me:$LINENO: result: $ac_res" >&5
4119 echo "${ECHO_T}$ac_res" >&6; }
4122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4123 cat >>confdefs.h <<_ACEOF
4124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4125 _ACEOF
4129 done
4131 if test "${ac_cv_header_pcre_h}" == "no"
4132 then { { echo "$as_me:$LINENO: error: Need the pcre library; get it from http://www.pcre.org/ . Make sure to set CPPFLAGS if necessary." >&5
4133 echo "$as_me: error: Need the pcre library; get it from http://www.pcre.org/ . Make sure to set CPPFLAGS if necessary." >&2;}
4134 { (exit 1); exit 1; }; }
4138 for ac_header in gmpxx.h
4140 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4141 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4142 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4144 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4145 echo $ECHO_N "(cached) $ECHO_C" >&6
4147 ac_res=`eval echo '${'$as_ac_Header'}'`
4148 { echo "$as_me:$LINENO: result: $ac_res" >&5
4149 echo "${ECHO_T}$ac_res" >&6; }
4150 else
4151 # Is the header compilable?
4152 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4153 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4154 cat >conftest.$ac_ext <<_ACEOF
4155 /* confdefs.h. */
4156 _ACEOF
4157 cat confdefs.h >>conftest.$ac_ext
4158 cat >>conftest.$ac_ext <<_ACEOF
4159 /* end confdefs.h. */
4160 $ac_includes_default
4161 #include <$ac_header>
4162 _ACEOF
4163 rm -f conftest.$ac_objext
4164 if { (ac_try="$ac_compile"
4165 case "(($ac_try" in
4166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4167 *) ac_try_echo=$ac_try;;
4168 esac
4169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4170 (eval "$ac_compile") 2>conftest.er1
4171 ac_status=$?
4172 grep -v '^ *+' conftest.er1 >conftest.err
4173 rm -f conftest.er1
4174 cat conftest.err >&5
4175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4176 (exit $ac_status); } && {
4177 test -z "$ac_cxx_werror_flag" ||
4178 test ! -s conftest.err
4179 } && test -s conftest.$ac_objext; then
4180 ac_header_compiler=yes
4181 else
4182 echo "$as_me: failed program was:" >&5
4183 sed 's/^/| /' conftest.$ac_ext >&5
4185 ac_header_compiler=no
4188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4189 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4190 echo "${ECHO_T}$ac_header_compiler" >&6; }
4192 # Is the header present?
4193 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4194 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4195 cat >conftest.$ac_ext <<_ACEOF
4196 /* confdefs.h. */
4197 _ACEOF
4198 cat confdefs.h >>conftest.$ac_ext
4199 cat >>conftest.$ac_ext <<_ACEOF
4200 /* end confdefs.h. */
4201 #include <$ac_header>
4202 _ACEOF
4203 if { (ac_try="$ac_cpp conftest.$ac_ext"
4204 case "(($ac_try" in
4205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4207 esac
4208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4209 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4210 ac_status=$?
4211 grep -v '^ *+' conftest.er1 >conftest.err
4212 rm -f conftest.er1
4213 cat conftest.err >&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); } >/dev/null && {
4216 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4217 test ! -s conftest.err
4218 }; then
4219 ac_header_preproc=yes
4220 else
4221 echo "$as_me: failed program was:" >&5
4222 sed 's/^/| /' conftest.$ac_ext >&5
4224 ac_header_preproc=no
4227 rm -f conftest.err conftest.$ac_ext
4228 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4229 echo "${ECHO_T}$ac_header_preproc" >&6; }
4231 # So? What about this header?
4232 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4233 yes:no: )
4234 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4235 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4237 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4238 ac_header_preproc=yes
4240 no:yes:* )
4241 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4242 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4243 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4244 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4245 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4246 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4247 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4248 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4250 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4251 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4252 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4255 esac
4256 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4259 echo $ECHO_N "(cached) $ECHO_C" >&6
4260 else
4261 eval "$as_ac_Header=\$ac_header_preproc"
4263 ac_res=`eval echo '${'$as_ac_Header'}'`
4264 { echo "$as_me:$LINENO: result: $ac_res" >&5
4265 echo "${ECHO_T}$ac_res" >&6; }
4268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4269 cat >>confdefs.h <<_ACEOF
4270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4271 _ACEOF
4275 done
4277 if test "${ac_cv_header_gmpxx_h}" == "no"
4278 then { { echo "$as_me:$LINENO: error: Need the gmp and gmpxx library; get them from http://www.swox.com/gmp/ and configure them with --enable-cxx. Also make sure to set CPPFLAGS if necessary." >&5
4279 echo "$as_me: error: Need the gmp and gmpxx library; get them from http://www.swox.com/gmp/ and configure them with --enable-cxx. Also make sure to set CPPFLAGS if necessary." >&2;}
4280 { (exit 1); exit 1; }; }
4284 for ac_header in pcrecpp.h
4286 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4288 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4290 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4291 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 ac_res=`eval echo '${'$as_ac_Header'}'`
4294 { echo "$as_me:$LINENO: result: $ac_res" >&5
4295 echo "${ECHO_T}$ac_res" >&6; }
4296 else
4297 # Is the header compilable?
4298 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4299 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4300 cat >conftest.$ac_ext <<_ACEOF
4301 /* confdefs.h. */
4302 _ACEOF
4303 cat confdefs.h >>conftest.$ac_ext
4304 cat >>conftest.$ac_ext <<_ACEOF
4305 /* end confdefs.h. */
4306 $ac_includes_default
4307 #include <$ac_header>
4308 _ACEOF
4309 rm -f conftest.$ac_objext
4310 if { (ac_try="$ac_compile"
4311 case "(($ac_try" in
4312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4313 *) ac_try_echo=$ac_try;;
4314 esac
4315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4316 (eval "$ac_compile") 2>conftest.er1
4317 ac_status=$?
4318 grep -v '^ *+' conftest.er1 >conftest.err
4319 rm -f conftest.er1
4320 cat conftest.err >&5
4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4322 (exit $ac_status); } && {
4323 test -z "$ac_cxx_werror_flag" ||
4324 test ! -s conftest.err
4325 } && test -s conftest.$ac_objext; then
4326 ac_header_compiler=yes
4327 else
4328 echo "$as_me: failed program was:" >&5
4329 sed 's/^/| /' conftest.$ac_ext >&5
4331 ac_header_compiler=no
4334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4335 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4336 echo "${ECHO_T}$ac_header_compiler" >&6; }
4338 # Is the header present?
4339 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4340 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4341 cat >conftest.$ac_ext <<_ACEOF
4342 /* confdefs.h. */
4343 _ACEOF
4344 cat confdefs.h >>conftest.$ac_ext
4345 cat >>conftest.$ac_ext <<_ACEOF
4346 /* end confdefs.h. */
4347 #include <$ac_header>
4348 _ACEOF
4349 if { (ac_try="$ac_cpp conftest.$ac_ext"
4350 case "(($ac_try" in
4351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352 *) ac_try_echo=$ac_try;;
4353 esac
4354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4355 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4356 ac_status=$?
4357 grep -v '^ *+' conftest.er1 >conftest.err
4358 rm -f conftest.er1
4359 cat conftest.err >&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); } >/dev/null && {
4362 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4363 test ! -s conftest.err
4364 }; then
4365 ac_header_preproc=yes
4366 else
4367 echo "$as_me: failed program was:" >&5
4368 sed 's/^/| /' conftest.$ac_ext >&5
4370 ac_header_preproc=no
4373 rm -f conftest.err conftest.$ac_ext
4374 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4375 echo "${ECHO_T}$ac_header_preproc" >&6; }
4377 # So? What about this header?
4378 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4379 yes:no: )
4380 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4381 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4383 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4384 ac_header_preproc=yes
4386 no:yes:* )
4387 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4388 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4389 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4390 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4391 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4392 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4393 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4394 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4397 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4398 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4401 esac
4402 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4404 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4405 echo $ECHO_N "(cached) $ECHO_C" >&6
4406 else
4407 eval "$as_ac_Header=\$ac_header_preproc"
4409 ac_res=`eval echo '${'$as_ac_Header'}'`
4410 { echo "$as_me:$LINENO: result: $ac_res" >&5
4411 echo "${ECHO_T}$ac_res" >&6; }
4414 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4415 cat >>confdefs.h <<_ACEOF
4416 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4417 _ACEOF
4421 done
4423 if test "${ac_cv_header_pcrecpp_h}" == "no"
4424 then { { echo "$as_me:$LINENO: error: Need the pcrecpp library; get it from http://www.pcre.org . Make sure to set CPPFLAGS if necessary." >&5
4425 echo "$as_me: error: Need the pcrecpp library; get it from http://www.pcre.org . Make sure to set CPPFLAGS if necessary." >&2;}
4426 { (exit 1); exit 1; }; }
4431 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4432 if test -n "$ac_tool_prefix"; then
4433 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4434 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4437 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
4438 echo $ECHO_N "(cached) $ECHO_C" >&6
4439 else
4440 case $PKG_CONFIG in
4441 [\\/]* | ?:[\\/]*)
4442 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 for as_dir in $PATH
4448 IFS=$as_save_IFS
4449 test -z "$as_dir" && as_dir=.
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4452 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 break 2
4456 done
4457 done
4458 IFS=$as_save_IFS
4461 esac
4463 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4464 if test -n "$PKG_CONFIG"; then
4465 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
4466 echo "${ECHO_T}$PKG_CONFIG" >&6; }
4467 else
4468 { echo "$as_me:$LINENO: result: no" >&5
4469 echo "${ECHO_T}no" >&6; }
4474 if test -z "$ac_cv_path_PKG_CONFIG"; then
4475 ac_pt_PKG_CONFIG=$PKG_CONFIG
4476 # Extract the first word of "pkg-config", so it can be a program name with args.
4477 set dummy pkg-config; ac_word=$2
4478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4480 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4482 else
4483 case $ac_pt_PKG_CONFIG in
4484 [\\/]* | ?:[\\/]*)
4485 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4495 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4499 done
4500 done
4501 IFS=$as_save_IFS
4504 esac
4506 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4507 if test -n "$ac_pt_PKG_CONFIG"; then
4508 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4509 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
4510 else
4511 { echo "$as_me:$LINENO: result: no" >&5
4512 echo "${ECHO_T}no" >&6; }
4515 if test "x$ac_pt_PKG_CONFIG" = x; then
4516 PKG_CONFIG=""
4517 else
4518 case $cross_compiling:$ac_tool_warned in
4519 yes:)
4520 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4521 whose name does not start with the host triplet. If you think this
4522 configuration is useful to you, please write to autoconf@gnu.org." >&5
4523 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4524 whose name does not start with the host triplet. If you think this
4525 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4526 ac_tool_warned=yes ;;
4527 esac
4528 PKG_CONFIG=$ac_pt_PKG_CONFIG
4530 else
4531 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4535 if test -n "$PKG_CONFIG"; then
4536 _pkg_min_version=0.9.0
4537 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4538 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
4539 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4540 { echo "$as_me:$LINENO: result: yes" >&5
4541 echo "${ECHO_T}yes" >&6; }
4542 else
4543 { echo "$as_me:$LINENO: result: no" >&5
4544 echo "${ECHO_T}no" >&6; }
4545 PKG_CONFIG=""
4550 pkg_failed=no
4551 { echo "$as_me:$LINENO: checking for sigc" >&5
4552 echo $ECHO_N "checking for sigc... $ECHO_C" >&6; }
4554 if test -n "$PKG_CONFIG"; then
4555 if test -n "$sigc_CFLAGS"; then
4556 pkg_cv_sigc_CFLAGS="$sigc_CFLAGS"
4557 else
4558 if test -n "$PKG_CONFIG" && \
4559 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sigc++-2.0\"") >&5
4560 ($PKG_CONFIG --exists --print-errors "sigc++-2.0") 2>&5
4561 ac_status=$?
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); }; then
4564 pkg_cv_sigc_CFLAGS=`$PKG_CONFIG --cflags "sigc++-2.0" 2>/dev/null`
4565 else
4566 pkg_failed=yes
4569 else
4570 pkg_failed=untried
4572 if test -n "$PKG_CONFIG"; then
4573 if test -n "$sigc_LIBS"; then
4574 pkg_cv_sigc_LIBS="$sigc_LIBS"
4575 else
4576 if test -n "$PKG_CONFIG" && \
4577 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sigc++-2.0\"") >&5
4578 ($PKG_CONFIG --exists --print-errors "sigc++-2.0") 2>&5
4579 ac_status=$?
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; then
4582 pkg_cv_sigc_LIBS=`$PKG_CONFIG --libs "sigc++-2.0" 2>/dev/null`
4583 else
4584 pkg_failed=yes
4587 else
4588 pkg_failed=untried
4593 if test $pkg_failed = yes; then
4595 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4596 _pkg_short_errors_supported=yes
4597 else
4598 _pkg_short_errors_supported=no
4600 if test $_pkg_short_errors_supported = yes; then
4601 sigc_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sigc++-2.0"`
4602 else
4603 sigc_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sigc++-2.0"`
4605 # Put the nasty error message in config.log where it belongs
4606 echo "$sigc_PKG_ERRORS" >&5
4608 { { echo "$as_me:$LINENO: error: Package requirements (sigc++-2.0) were not met:
4610 $sigc_PKG_ERRORS
4612 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4613 installed software in a non-standard prefix.
4615 Alternatively, you may set the environment variables sigc_CFLAGS
4616 and sigc_LIBS to avoid the need to call pkg-config.
4617 See the pkg-config man page for more details.
4618 " >&5
4619 echo "$as_me: error: Package requirements (sigc++-2.0) were not met:
4621 $sigc_PKG_ERRORS
4623 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4624 installed software in a non-standard prefix.
4626 Alternatively, you may set the environment variables sigc_CFLAGS
4627 and sigc_LIBS to avoid the need to call pkg-config.
4628 See the pkg-config man page for more details.
4629 " >&2;}
4630 { (exit 1); exit 1; }; }
4631 elif test $pkg_failed = untried; then
4632 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4633 is in your PATH or set the PKG_CONFIG environment variable to the full
4634 path to pkg-config.
4636 Alternatively, you may set the environment variables sigc_CFLAGS
4637 and sigc_LIBS to avoid the need to call pkg-config.
4638 See the pkg-config man page for more details.
4640 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4641 See \`config.log' for more details." >&5
4642 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4643 is in your PATH or set the PKG_CONFIG environment variable to the full
4644 path to pkg-config.
4646 Alternatively, you may set the environment variables sigc_CFLAGS
4647 and sigc_LIBS to avoid the need to call pkg-config.
4648 See the pkg-config man page for more details.
4650 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4651 See \`config.log' for more details." >&2;}
4652 { (exit 1); exit 1; }; }
4653 else
4654 sigc_CFLAGS=$pkg_cv_sigc_CFLAGS
4655 sigc_LIBS=$pkg_cv_sigc_LIBS
4656 { echo "$as_me:$LINENO: result: yes" >&5
4657 echo "${ECHO_T}yes" >&6; }
4661 pkg_failed=no
4662 { echo "$as_me:$LINENO: checking for modglue" >&5
4663 echo $ECHO_N "checking for modglue... $ECHO_C" >&6; }
4665 if test -n "$PKG_CONFIG"; then
4666 if test -n "$modglue_CFLAGS"; then
4667 pkg_cv_modglue_CFLAGS="$modglue_CFLAGS"
4668 else
4669 if test -n "$PKG_CONFIG" && \
4670 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"modglue\"") >&5
4671 ($PKG_CONFIG --exists --print-errors "modglue") 2>&5
4672 ac_status=$?
4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674 (exit $ac_status); }; then
4675 pkg_cv_modglue_CFLAGS=`$PKG_CONFIG --cflags "modglue" 2>/dev/null`
4676 else
4677 pkg_failed=yes
4680 else
4681 pkg_failed=untried
4683 if test -n "$PKG_CONFIG"; then
4684 if test -n "$modglue_LIBS"; then
4685 pkg_cv_modglue_LIBS="$modglue_LIBS"
4686 else
4687 if test -n "$PKG_CONFIG" && \
4688 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"modglue\"") >&5
4689 ($PKG_CONFIG --exists --print-errors "modglue") 2>&5
4690 ac_status=$?
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); }; then
4693 pkg_cv_modglue_LIBS=`$PKG_CONFIG --libs "modglue" 2>/dev/null`
4694 else
4695 pkg_failed=yes
4698 else
4699 pkg_failed=untried
4704 if test $pkg_failed = yes; then
4706 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4707 _pkg_short_errors_supported=yes
4708 else
4709 _pkg_short_errors_supported=no
4711 if test $_pkg_short_errors_supported = yes; then
4712 modglue_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "modglue"`
4713 else
4714 modglue_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "modglue"`
4716 # Put the nasty error message in config.log where it belongs
4717 echo "$modglue_PKG_ERRORS" >&5
4719 { { echo "$as_me:$LINENO: error: Package requirements (modglue) were not met:
4721 $modglue_PKG_ERRORS
4723 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4724 installed software in a non-standard prefix.
4726 Alternatively, you may set the environment variables modglue_CFLAGS
4727 and modglue_LIBS to avoid the need to call pkg-config.
4728 See the pkg-config man page for more details.
4729 " >&5
4730 echo "$as_me: error: Package requirements (modglue) were not met:
4732 $modglue_PKG_ERRORS
4734 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4735 installed software in a non-standard prefix.
4737 Alternatively, you may set the environment variables modglue_CFLAGS
4738 and modglue_LIBS to avoid the need to call pkg-config.
4739 See the pkg-config man page for more details.
4740 " >&2;}
4741 { (exit 1); exit 1; }; }
4742 elif test $pkg_failed = untried; then
4743 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4744 is in your PATH or set the PKG_CONFIG environment variable to the full
4745 path to pkg-config.
4747 Alternatively, you may set the environment variables modglue_CFLAGS
4748 and modglue_LIBS to avoid the need to call pkg-config.
4749 See the pkg-config man page for more details.
4751 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4752 See \`config.log' for more details." >&5
4753 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4754 is in your PATH or set the PKG_CONFIG environment variable to the full
4755 path to pkg-config.
4757 Alternatively, you may set the environment variables modglue_CFLAGS
4758 and modglue_LIBS to avoid the need to call pkg-config.
4759 See the pkg-config man page for more details.
4761 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4762 See \`config.log' for more details." >&2;}
4763 { (exit 1); exit 1; }; }
4764 else
4765 modglue_CFLAGS=$pkg_cv_modglue_CFLAGS
4766 modglue_LIBS=$pkg_cv_modglue_LIBS
4767 { echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6; }
4771 if test "$check_runtime_dependencies" == "yes"
4772 then # Extract the first word of "ptywrap", so it can be a program name with args.
4773 set dummy ptywrap; ac_word=$2
4774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4776 if test "${ac_cv_prog_PTYWRAP+set}" = set; then
4777 echo $ECHO_N "(cached) $ECHO_C" >&6
4778 else
4779 if test -n "$PTYWRAP"; then
4780 ac_cv_prog_PTYWRAP="$PTYWRAP" # Let the user override the test.
4781 else
4782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4783 for as_dir in $PATH
4785 IFS=$as_save_IFS
4786 test -z "$as_dir" && as_dir=.
4787 for ac_exec_ext in '' $ac_executable_extensions; do
4788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4789 ac_cv_prog_PTYWRAP="yes"
4790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4791 break 2
4793 done
4794 done
4795 IFS=$as_save_IFS
4797 test -z "$ac_cv_prog_PTYWRAP" && ac_cv_prog_PTYWRAP="no"
4800 PTYWRAP=$ac_cv_prog_PTYWRAP
4801 if test -n "$PTYWRAP"; then
4802 { echo "$as_me:$LINENO: result: $PTYWRAP" >&5
4803 echo "${ECHO_T}$PTYWRAP" >&6; }
4804 else
4805 { echo "$as_me:$LINENO: result: no" >&5
4806 echo "${ECHO_T}no" >&6; }
4810 if test "${PTYWRAP}" == "no"
4811 then { { echo "$as_me:$LINENO: error: You have the modglue library, but the \"ptywrap\" tool which comes with it is not installed or executable." >&5
4812 echo "$as_me: error: You have the modglue library, but the \"ptywrap\" tool which comes with it is not installed or executable." >&2;}
4813 { (exit 1); exit 1; }; }
4817 MAC_OS_X=""
4818 if test "`uname`" == "Darwin"
4819 then MAC_OS_X="1"
4820 echo "checking system type... Darwin"
4821 else echo "checking system type... Unix"
4824 echo -n "Checking whether to use -fnested-functions..."
4825 echo "main() {};" > conftmp.c
4826 NESTED=-fnested-functions
4827 if gcc -fnested-functions -c -o conftmp.o conftmp.c 1>/dev/null 2>&1
4828 then echo " yes"
4829 else NESTED=""
4830 echo " no"
4832 rm -f conftmp.c conftmp.o
4834 { echo "$as_me:$LINENO: checking whether to build the GUI" >&5
4835 echo $ECHO_N "checking whether to build the GUI... $ECHO_C" >&6; }
4836 # Check whether --enable-gui was given.
4837 if test "${enable_gui+set}" = set; then
4838 enableval=$enable_gui;
4839 else
4840 enable_gui=yes
4843 if test "$enable_gui" == "no"
4844 then echo "no"
4845 else echo "yes"
4847 pkg_failed=no
4848 { echo "$as_me:$LINENO: checking for sigc" >&5
4849 echo $ECHO_N "checking for sigc... $ECHO_C" >&6; }
4851 if test -n "$PKG_CONFIG"; then
4852 if test -n "$sigc_CFLAGS"; then
4853 pkg_cv_sigc_CFLAGS="$sigc_CFLAGS"
4854 else
4855 if test -n "$PKG_CONFIG" && \
4856 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sigc++-2.0\"") >&5
4857 ($PKG_CONFIG --exists --print-errors "sigc++-2.0") 2>&5
4858 ac_status=$?
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); }; then
4861 pkg_cv_sigc_CFLAGS=`$PKG_CONFIG --cflags "sigc++-2.0" 2>/dev/null`
4862 else
4863 pkg_failed=yes
4866 else
4867 pkg_failed=untried
4869 if test -n "$PKG_CONFIG"; then
4870 if test -n "$sigc_LIBS"; then
4871 pkg_cv_sigc_LIBS="$sigc_LIBS"
4872 else
4873 if test -n "$PKG_CONFIG" && \
4874 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sigc++-2.0\"") >&5
4875 ($PKG_CONFIG --exists --print-errors "sigc++-2.0") 2>&5
4876 ac_status=$?
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); }; then
4879 pkg_cv_sigc_LIBS=`$PKG_CONFIG --libs "sigc++-2.0" 2>/dev/null`
4880 else
4881 pkg_failed=yes
4884 else
4885 pkg_failed=untried
4890 if test $pkg_failed = yes; then
4892 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4893 _pkg_short_errors_supported=yes
4894 else
4895 _pkg_short_errors_supported=no
4897 if test $_pkg_short_errors_supported = yes; then
4898 sigc_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sigc++-2.0"`
4899 else
4900 sigc_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sigc++-2.0"`
4902 # Put the nasty error message in config.log where it belongs
4903 echo "$sigc_PKG_ERRORS" >&5
4905 { { echo "$as_me:$LINENO: error: Package requirements (sigc++-2.0) were not met:
4907 $sigc_PKG_ERRORS
4909 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4910 installed software in a non-standard prefix.
4912 Alternatively, you may set the environment variables sigc_CFLAGS
4913 and sigc_LIBS to avoid the need to call pkg-config.
4914 See the pkg-config man page for more details.
4915 " >&5
4916 echo "$as_me: error: Package requirements (sigc++-2.0) were not met:
4918 $sigc_PKG_ERRORS
4920 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4921 installed software in a non-standard prefix.
4923 Alternatively, you may set the environment variables sigc_CFLAGS
4924 and sigc_LIBS to avoid the need to call pkg-config.
4925 See the pkg-config man page for more details.
4926 " >&2;}
4927 { (exit 1); exit 1; }; }
4928 elif test $pkg_failed = untried; then
4929 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
4930 is in your PATH or set the PKG_CONFIG environment variable to the full
4931 path to pkg-config.
4933 Alternatively, you may set the environment variables sigc_CFLAGS
4934 and sigc_LIBS to avoid the need to call pkg-config.
4935 See the pkg-config man page for more details.
4937 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4938 See \`config.log' for more details." >&5
4939 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
4940 is in your PATH or set the PKG_CONFIG environment variable to the full
4941 path to pkg-config.
4943 Alternatively, you may set the environment variables sigc_CFLAGS
4944 and sigc_LIBS to avoid the need to call pkg-config.
4945 See the pkg-config man page for more details.
4947 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4948 See \`config.log' for more details." >&2;}
4949 { (exit 1); exit 1; }; }
4950 else
4951 sigc_CFLAGS=$pkg_cv_sigc_CFLAGS
4952 sigc_LIBS=$pkg_cv_sigc_LIBS
4953 { echo "$as_me:$LINENO: result: yes" >&5
4954 echo "${ECHO_T}yes" >&6; }
4958 pkg_failed=no
4959 { echo "$as_me:$LINENO: checking for gtk" >&5
4960 echo $ECHO_N "checking for gtk... $ECHO_C" >&6; }
4962 if test -n "$PKG_CONFIG"; then
4963 if test -n "$gtk_CFLAGS"; then
4964 pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
4965 else
4966 if test -n "$PKG_CONFIG" && \
4967 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
4968 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
4969 ac_status=$?
4970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4971 (exit $ac_status); }; then
4972 pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
4973 else
4974 pkg_failed=yes
4977 else
4978 pkg_failed=untried
4980 if test -n "$PKG_CONFIG"; then
4981 if test -n "$gtk_LIBS"; then
4982 pkg_cv_gtk_LIBS="$gtk_LIBS"
4983 else
4984 if test -n "$PKG_CONFIG" && \
4985 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
4986 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
4987 ac_status=$?
4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 (exit $ac_status); }; then
4990 pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
4991 else
4992 pkg_failed=yes
4995 else
4996 pkg_failed=untried
5001 if test $pkg_failed = yes; then
5003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5004 _pkg_short_errors_supported=yes
5005 else
5006 _pkg_short_errors_supported=no
5008 if test $_pkg_short_errors_supported = yes; then
5009 gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
5010 else
5011 gtk_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
5013 # Put the nasty error message in config.log where it belongs
5014 echo "$gtk_PKG_ERRORS" >&5
5016 { { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
5018 $gtk_PKG_ERRORS
5020 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5021 installed software in a non-standard prefix.
5023 Alternatively, you may set the environment variables gtk_CFLAGS
5024 and gtk_LIBS to avoid the need to call pkg-config.
5025 See the pkg-config man page for more details.
5026 " >&5
5027 echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
5029 $gtk_PKG_ERRORS
5031 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5032 installed software in a non-standard prefix.
5034 Alternatively, you may set the environment variables gtk_CFLAGS
5035 and gtk_LIBS to avoid the need to call pkg-config.
5036 See the pkg-config man page for more details.
5037 " >&2;}
5038 { (exit 1); exit 1; }; }
5039 elif test $pkg_failed = untried; then
5040 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5041 is in your PATH or set the PKG_CONFIG environment variable to the full
5042 path to pkg-config.
5044 Alternatively, you may set the environment variables gtk_CFLAGS
5045 and gtk_LIBS to avoid the need to call pkg-config.
5046 See the pkg-config man page for more details.
5048 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5049 See \`config.log' for more details." >&5
5050 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5051 is in your PATH or set the PKG_CONFIG environment variable to the full
5052 path to pkg-config.
5054 Alternatively, you may set the environment variables gtk_CFLAGS
5055 and gtk_LIBS to avoid the need to call pkg-config.
5056 See the pkg-config man page for more details.
5058 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5059 See \`config.log' for more details." >&2;}
5060 { (exit 1); exit 1; }; }
5061 else
5062 gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
5063 gtk_LIBS=$pkg_cv_gtk_LIBS
5064 { echo "$as_me:$LINENO: result: yes" >&5
5065 echo "${ECHO_T}yes" >&6; }
5069 pkg_failed=no
5070 { echo "$as_me:$LINENO: checking for pango" >&5
5071 echo $ECHO_N "checking for pango... $ECHO_C" >&6; }
5073 if test -n "$PKG_CONFIG"; then
5074 if test -n "$pango_CFLAGS"; then
5075 pkg_cv_pango_CFLAGS="$pango_CFLAGS"
5076 else
5077 if test -n "$PKG_CONFIG" && \
5078 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango\"") >&5
5079 ($PKG_CONFIG --exists --print-errors "pango") 2>&5
5080 ac_status=$?
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); }; then
5083 pkg_cv_pango_CFLAGS=`$PKG_CONFIG --cflags "pango" 2>/dev/null`
5084 else
5085 pkg_failed=yes
5088 else
5089 pkg_failed=untried
5091 if test -n "$PKG_CONFIG"; then
5092 if test -n "$pango_LIBS"; then
5093 pkg_cv_pango_LIBS="$pango_LIBS"
5094 else
5095 if test -n "$PKG_CONFIG" && \
5096 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pango\"") >&5
5097 ($PKG_CONFIG --exists --print-errors "pango") 2>&5
5098 ac_status=$?
5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); }; then
5101 pkg_cv_pango_LIBS=`$PKG_CONFIG --libs "pango" 2>/dev/null`
5102 else
5103 pkg_failed=yes
5106 else
5107 pkg_failed=untried
5112 if test $pkg_failed = yes; then
5114 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5115 _pkg_short_errors_supported=yes
5116 else
5117 _pkg_short_errors_supported=no
5119 if test $_pkg_short_errors_supported = yes; then
5120 pango_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pango"`
5121 else
5122 pango_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pango"`
5124 # Put the nasty error message in config.log where it belongs
5125 echo "$pango_PKG_ERRORS" >&5
5127 { { echo "$as_me:$LINENO: error: Package requirements (pango) were not met:
5129 $pango_PKG_ERRORS
5131 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5132 installed software in a non-standard prefix.
5134 Alternatively, you may set the environment variables pango_CFLAGS
5135 and pango_LIBS to avoid the need to call pkg-config.
5136 See the pkg-config man page for more details.
5137 " >&5
5138 echo "$as_me: error: Package requirements (pango) were not met:
5140 $pango_PKG_ERRORS
5142 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5143 installed software in a non-standard prefix.
5145 Alternatively, you may set the environment variables pango_CFLAGS
5146 and pango_LIBS to avoid the need to call pkg-config.
5147 See the pkg-config man page for more details.
5148 " >&2;}
5149 { (exit 1); exit 1; }; }
5150 elif test $pkg_failed = untried; then
5151 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5152 is in your PATH or set the PKG_CONFIG environment variable to the full
5153 path to pkg-config.
5155 Alternatively, you may set the environment variables pango_CFLAGS
5156 and pango_LIBS to avoid the need to call pkg-config.
5157 See the pkg-config man page for more details.
5159 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5160 See \`config.log' for more details." >&5
5161 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5162 is in your PATH or set the PKG_CONFIG environment variable to the full
5163 path to pkg-config.
5165 Alternatively, you may set the environment variables pango_CFLAGS
5166 and pango_LIBS to avoid the need to call pkg-config.
5167 See the pkg-config man page for more details.
5169 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5170 See \`config.log' for more details." >&2;}
5171 { (exit 1); exit 1; }; }
5172 else
5173 pango_CFLAGS=$pkg_cv_pango_CFLAGS
5174 pango_LIBS=$pkg_cv_pango_LIBS
5175 { echo "$as_me:$LINENO: result: yes" >&5
5176 echo "${ECHO_T}yes" >&6; }
5180 pkg_failed=no
5181 { echo "$as_me:$LINENO: checking for GTKMM" >&5
5182 echo $ECHO_N "checking for GTKMM... $ECHO_C" >&6; }
5184 if test -n "$PKG_CONFIG"; then
5185 if test -n "$GTKMM_CFLAGS"; then
5186 pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
5187 else
5188 if test -n "$PKG_CONFIG" && \
5189 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.12.0\"") >&5
5190 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.12.0") 2>&5
5191 ac_status=$?
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); }; then
5194 pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4 >= 2.12.0" 2>/dev/null`
5195 else
5196 pkg_failed=yes
5199 else
5200 pkg_failed=untried
5202 if test -n "$PKG_CONFIG"; then
5203 if test -n "$GTKMM_LIBS"; then
5204 pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
5205 else
5206 if test -n "$PKG_CONFIG" && \
5207 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.12.0\"") >&5
5208 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.12.0") 2>&5
5209 ac_status=$?
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); }; then
5212 pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4 >= 2.12.0" 2>/dev/null`
5213 else
5214 pkg_failed=yes
5217 else
5218 pkg_failed=untried
5223 if test $pkg_failed = yes; then
5225 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5226 _pkg_short_errors_supported=yes
5227 else
5228 _pkg_short_errors_supported=no
5230 if test $_pkg_short_errors_supported = yes; then
5231 GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.12.0"`
5232 else
5233 GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.12.0"`
5235 # Put the nasty error message in config.log where it belongs
5236 echo "$GTKMM_PKG_ERRORS" >&5
5238 { echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6; }
5241 pkg_failed=no
5242 { echo "$as_me:$LINENO: checking for GTKMM" >&5
5243 echo $ECHO_N "checking for GTKMM... $ECHO_C" >&6; }
5245 if test -n "$PKG_CONFIG"; then
5246 if test -n "$GTKMM_CFLAGS"; then
5247 pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
5248 else
5249 if test -n "$PKG_CONFIG" && \
5250 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.8.0\"") >&5
5251 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.8.0") 2>&5
5252 ac_status=$?
5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254 (exit $ac_status); }; then
5255 pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4 >= 2.8.0" 2>/dev/null`
5256 else
5257 pkg_failed=yes
5260 else
5261 pkg_failed=untried
5263 if test -n "$PKG_CONFIG"; then
5264 if test -n "$GTKMM_LIBS"; then
5265 pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
5266 else
5267 if test -n "$PKG_CONFIG" && \
5268 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.8.0\"") >&5
5269 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.8.0") 2>&5
5270 ac_status=$?
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); }; then
5273 pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4 >= 2.8.0" 2>/dev/null`
5274 else
5275 pkg_failed=yes
5278 else
5279 pkg_failed=untried
5284 if test $pkg_failed = yes; then
5286 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5287 _pkg_short_errors_supported=yes
5288 else
5289 _pkg_short_errors_supported=no
5291 if test $_pkg_short_errors_supported = yes; then
5292 GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.8.0"`
5293 else
5294 GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.8.0"`
5296 # Put the nasty error message in config.log where it belongs
5297 echo "$GTKMM_PKG_ERRORS" >&5
5299 { echo "$as_me:$LINENO: result: no" >&5
5300 echo "${ECHO_T}no" >&6; }
5302 pkg_failed=no
5303 { echo "$as_me:$LINENO: checking for GTKMM" >&5
5304 echo $ECHO_N "checking for GTKMM... $ECHO_C" >&6; }
5306 if test -n "$PKG_CONFIG"; then
5307 if test -n "$GTKMM_CFLAGS"; then
5308 pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
5309 else
5310 if test -n "$PKG_CONFIG" && \
5311 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.6.0\"") >&5
5312 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.6.0") 2>&5
5313 ac_status=$?
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); }; then
5316 pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4 >= 2.6.0" 2>/dev/null`
5317 else
5318 pkg_failed=yes
5321 else
5322 pkg_failed=untried
5324 if test -n "$PKG_CONFIG"; then
5325 if test -n "$GTKMM_LIBS"; then
5326 pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
5327 else
5328 if test -n "$PKG_CONFIG" && \
5329 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.6.0\"") >&5
5330 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.6.0") 2>&5
5331 ac_status=$?
5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333 (exit $ac_status); }; then
5334 pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4 >= 2.6.0" 2>/dev/null`
5335 else
5336 pkg_failed=yes
5339 else
5340 pkg_failed=untried
5345 if test $pkg_failed = yes; then
5347 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5348 _pkg_short_errors_supported=yes
5349 else
5350 _pkg_short_errors_supported=no
5352 if test $_pkg_short_errors_supported = yes; then
5353 GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.6.0"`
5354 else
5355 GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.6.0"`
5357 # Put the nasty error message in config.log where it belongs
5358 echo "$GTKMM_PKG_ERRORS" >&5
5360 { { echo "$as_me:$LINENO: error: Package requirements (gtkmm-2.4 >= 2.6.0) were not met:
5362 $GTKMM_PKG_ERRORS
5364 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5365 installed software in a non-standard prefix.
5367 Alternatively, you may set the environment variables GTKMM_CFLAGS
5368 and GTKMM_LIBS to avoid the need to call pkg-config.
5369 See the pkg-config man page for more details.
5370 " >&5
5371 echo "$as_me: error: Package requirements (gtkmm-2.4 >= 2.6.0) were not met:
5373 $GTKMM_PKG_ERRORS
5375 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5376 installed software in a non-standard prefix.
5378 Alternatively, you may set the environment variables GTKMM_CFLAGS
5379 and GTKMM_LIBS to avoid the need to call pkg-config.
5380 See the pkg-config man page for more details.
5381 " >&2;}
5382 { (exit 1); exit 1; }; }
5383 elif test $pkg_failed = untried; then
5384 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5385 is in your PATH or set the PKG_CONFIG environment variable to the full
5386 path to pkg-config.
5388 Alternatively, you may set the environment variables GTKMM_CFLAGS
5389 and GTKMM_LIBS to avoid the need to call pkg-config.
5390 See the pkg-config man page for more details.
5392 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5393 See \`config.log' for more details." >&5
5394 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5395 is in your PATH or set the PKG_CONFIG environment variable to the full
5396 path to pkg-config.
5398 Alternatively, you may set the environment variables GTKMM_CFLAGS
5399 and GTKMM_LIBS to avoid the need to call pkg-config.
5400 See the pkg-config man page for more details.
5402 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5403 See \`config.log' for more details." >&2;}
5404 { (exit 1); exit 1; }; }
5405 else
5406 GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
5407 GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
5408 { echo "$as_me:$LINENO: result: yes" >&5
5409 echo "${ECHO_T}yes" >&6; }
5410 cat >>confdefs.h <<\_ACEOF
5411 #define GTKMM_VER 26
5412 _ACEOF
5415 elif test $pkg_failed = untried; then
5417 pkg_failed=no
5418 { echo "$as_me:$LINENO: checking for GTKMM" >&5
5419 echo $ECHO_N "checking for GTKMM... $ECHO_C" >&6; }
5421 if test -n "$PKG_CONFIG"; then
5422 if test -n "$GTKMM_CFLAGS"; then
5423 pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
5424 else
5425 if test -n "$PKG_CONFIG" && \
5426 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.6.0\"") >&5
5427 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.6.0") 2>&5
5428 ac_status=$?
5429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5430 (exit $ac_status); }; then
5431 pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4 >= 2.6.0" 2>/dev/null`
5432 else
5433 pkg_failed=yes
5436 else
5437 pkg_failed=untried
5439 if test -n "$PKG_CONFIG"; then
5440 if test -n "$GTKMM_LIBS"; then
5441 pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
5442 else
5443 if test -n "$PKG_CONFIG" && \
5444 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.6.0\"") >&5
5445 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.6.0") 2>&5
5446 ac_status=$?
5447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 (exit $ac_status); }; then
5449 pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4 >= 2.6.0" 2>/dev/null`
5450 else
5451 pkg_failed=yes
5454 else
5455 pkg_failed=untried
5460 if test $pkg_failed = yes; then
5462 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5463 _pkg_short_errors_supported=yes
5464 else
5465 _pkg_short_errors_supported=no
5467 if test $_pkg_short_errors_supported = yes; then
5468 GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.6.0"`
5469 else
5470 GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.6.0"`
5472 # Put the nasty error message in config.log where it belongs
5473 echo "$GTKMM_PKG_ERRORS" >&5
5475 { { echo "$as_me:$LINENO: error: Package requirements (gtkmm-2.4 >= 2.6.0) were not met:
5477 $GTKMM_PKG_ERRORS
5479 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5480 installed software in a non-standard prefix.
5482 Alternatively, you may set the environment variables GTKMM_CFLAGS
5483 and GTKMM_LIBS to avoid the need to call pkg-config.
5484 See the pkg-config man page for more details.
5485 " >&5
5486 echo "$as_me: error: Package requirements (gtkmm-2.4 >= 2.6.0) were not met:
5488 $GTKMM_PKG_ERRORS
5490 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5491 installed software in a non-standard prefix.
5493 Alternatively, you may set the environment variables GTKMM_CFLAGS
5494 and GTKMM_LIBS to avoid the need to call pkg-config.
5495 See the pkg-config man page for more details.
5496 " >&2;}
5497 { (exit 1); exit 1; }; }
5498 elif test $pkg_failed = untried; then
5499 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5500 is in your PATH or set the PKG_CONFIG environment variable to the full
5501 path to pkg-config.
5503 Alternatively, you may set the environment variables GTKMM_CFLAGS
5504 and GTKMM_LIBS to avoid the need to call pkg-config.
5505 See the pkg-config man page for more details.
5507 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5508 See \`config.log' for more details." >&5
5509 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5510 is in your PATH or set the PKG_CONFIG environment variable to the full
5511 path to pkg-config.
5513 Alternatively, you may set the environment variables GTKMM_CFLAGS
5514 and GTKMM_LIBS to avoid the need to call pkg-config.
5515 See the pkg-config man page for more details.
5517 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5518 See \`config.log' for more details." >&2;}
5519 { (exit 1); exit 1; }; }
5520 else
5521 GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
5522 GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
5523 { echo "$as_me:$LINENO: result: yes" >&5
5524 echo "${ECHO_T}yes" >&6; }
5525 cat >>confdefs.h <<\_ACEOF
5526 #define GTKMM_VER 26
5527 _ACEOF
5530 else
5531 GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
5532 GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
5533 { echo "$as_me:$LINENO: result: yes" >&5
5534 echo "${ECHO_T}yes" >&6; }
5535 cat >>confdefs.h <<\_ACEOF
5536 #define GTKMM_VER 28
5537 _ACEOF
5540 elif test $pkg_failed = untried; then
5542 pkg_failed=no
5543 { echo "$as_me:$LINENO: checking for GTKMM" >&5
5544 echo $ECHO_N "checking for GTKMM... $ECHO_C" >&6; }
5546 if test -n "$PKG_CONFIG"; then
5547 if test -n "$GTKMM_CFLAGS"; then
5548 pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
5549 else
5550 if test -n "$PKG_CONFIG" && \
5551 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.8.0\"") >&5
5552 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.8.0") 2>&5
5553 ac_status=$?
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); }; then
5556 pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4 >= 2.8.0" 2>/dev/null`
5557 else
5558 pkg_failed=yes
5561 else
5562 pkg_failed=untried
5564 if test -n "$PKG_CONFIG"; then
5565 if test -n "$GTKMM_LIBS"; then
5566 pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
5567 else
5568 if test -n "$PKG_CONFIG" && \
5569 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.8.0\"") >&5
5570 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.8.0") 2>&5
5571 ac_status=$?
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); }; then
5574 pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4 >= 2.8.0" 2>/dev/null`
5575 else
5576 pkg_failed=yes
5579 else
5580 pkg_failed=untried
5585 if test $pkg_failed = yes; then
5587 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5588 _pkg_short_errors_supported=yes
5589 else
5590 _pkg_short_errors_supported=no
5592 if test $_pkg_short_errors_supported = yes; then
5593 GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.8.0"`
5594 else
5595 GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.8.0"`
5597 # Put the nasty error message in config.log where it belongs
5598 echo "$GTKMM_PKG_ERRORS" >&5
5600 { echo "$as_me:$LINENO: result: no" >&5
5601 echo "${ECHO_T}no" >&6; }
5603 pkg_failed=no
5604 { echo "$as_me:$LINENO: checking for GTKMM" >&5
5605 echo $ECHO_N "checking for GTKMM... $ECHO_C" >&6; }
5607 if test -n "$PKG_CONFIG"; then
5608 if test -n "$GTKMM_CFLAGS"; then
5609 pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
5610 else
5611 if test -n "$PKG_CONFIG" && \
5612 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.6.0\"") >&5
5613 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.6.0") 2>&5
5614 ac_status=$?
5615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616 (exit $ac_status); }; then
5617 pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4 >= 2.6.0" 2>/dev/null`
5618 else
5619 pkg_failed=yes
5622 else
5623 pkg_failed=untried
5625 if test -n "$PKG_CONFIG"; then
5626 if test -n "$GTKMM_LIBS"; then
5627 pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
5628 else
5629 if test -n "$PKG_CONFIG" && \
5630 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.6.0\"") >&5
5631 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.6.0") 2>&5
5632 ac_status=$?
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); }; then
5635 pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4 >= 2.6.0" 2>/dev/null`
5636 else
5637 pkg_failed=yes
5640 else
5641 pkg_failed=untried
5646 if test $pkg_failed = yes; then
5648 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5649 _pkg_short_errors_supported=yes
5650 else
5651 _pkg_short_errors_supported=no
5653 if test $_pkg_short_errors_supported = yes; then
5654 GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.6.0"`
5655 else
5656 GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.6.0"`
5658 # Put the nasty error message in config.log where it belongs
5659 echo "$GTKMM_PKG_ERRORS" >&5
5661 { { echo "$as_me:$LINENO: error: Package requirements (gtkmm-2.4 >= 2.6.0) were not met:
5663 $GTKMM_PKG_ERRORS
5665 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5666 installed software in a non-standard prefix.
5668 Alternatively, you may set the environment variables GTKMM_CFLAGS
5669 and GTKMM_LIBS to avoid the need to call pkg-config.
5670 See the pkg-config man page for more details.
5671 " >&5
5672 echo "$as_me: error: Package requirements (gtkmm-2.4 >= 2.6.0) were not met:
5674 $GTKMM_PKG_ERRORS
5676 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5677 installed software in a non-standard prefix.
5679 Alternatively, you may set the environment variables GTKMM_CFLAGS
5680 and GTKMM_LIBS to avoid the need to call pkg-config.
5681 See the pkg-config man page for more details.
5682 " >&2;}
5683 { (exit 1); exit 1; }; }
5684 elif test $pkg_failed = untried; then
5685 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5686 is in your PATH or set the PKG_CONFIG environment variable to the full
5687 path to pkg-config.
5689 Alternatively, you may set the environment variables GTKMM_CFLAGS
5690 and GTKMM_LIBS to avoid the need to call pkg-config.
5691 See the pkg-config man page for more details.
5693 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5694 See \`config.log' for more details." >&5
5695 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5696 is in your PATH or set the PKG_CONFIG environment variable to the full
5697 path to pkg-config.
5699 Alternatively, you may set the environment variables GTKMM_CFLAGS
5700 and GTKMM_LIBS to avoid the need to call pkg-config.
5701 See the pkg-config man page for more details.
5703 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5704 See \`config.log' for more details." >&2;}
5705 { (exit 1); exit 1; }; }
5706 else
5707 GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
5708 GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
5709 { echo "$as_me:$LINENO: result: yes" >&5
5710 echo "${ECHO_T}yes" >&6; }
5711 cat >>confdefs.h <<\_ACEOF
5712 #define GTKMM_VER 26
5713 _ACEOF
5716 elif test $pkg_failed = untried; then
5718 pkg_failed=no
5719 { echo "$as_me:$LINENO: checking for GTKMM" >&5
5720 echo $ECHO_N "checking for GTKMM... $ECHO_C" >&6; }
5722 if test -n "$PKG_CONFIG"; then
5723 if test -n "$GTKMM_CFLAGS"; then
5724 pkg_cv_GTKMM_CFLAGS="$GTKMM_CFLAGS"
5725 else
5726 if test -n "$PKG_CONFIG" && \
5727 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.6.0\"") >&5
5728 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.6.0") 2>&5
5729 ac_status=$?
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); }; then
5732 pkg_cv_GTKMM_CFLAGS=`$PKG_CONFIG --cflags "gtkmm-2.4 >= 2.6.0" 2>/dev/null`
5733 else
5734 pkg_failed=yes
5737 else
5738 pkg_failed=untried
5740 if test -n "$PKG_CONFIG"; then
5741 if test -n "$GTKMM_LIBS"; then
5742 pkg_cv_GTKMM_LIBS="$GTKMM_LIBS"
5743 else
5744 if test -n "$PKG_CONFIG" && \
5745 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtkmm-2.4 >= 2.6.0\"") >&5
5746 ($PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= 2.6.0") 2>&5
5747 ac_status=$?
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); }; then
5750 pkg_cv_GTKMM_LIBS=`$PKG_CONFIG --libs "gtkmm-2.4 >= 2.6.0" 2>/dev/null`
5751 else
5752 pkg_failed=yes
5755 else
5756 pkg_failed=untried
5761 if test $pkg_failed = yes; then
5763 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5764 _pkg_short_errors_supported=yes
5765 else
5766 _pkg_short_errors_supported=no
5768 if test $_pkg_short_errors_supported = yes; then
5769 GTKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.6.0"`
5770 else
5771 GTKMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtkmm-2.4 >= 2.6.0"`
5773 # Put the nasty error message in config.log where it belongs
5774 echo "$GTKMM_PKG_ERRORS" >&5
5776 { { echo "$as_me:$LINENO: error: Package requirements (gtkmm-2.4 >= 2.6.0) were not met:
5778 $GTKMM_PKG_ERRORS
5780 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5781 installed software in a non-standard prefix.
5783 Alternatively, you may set the environment variables GTKMM_CFLAGS
5784 and GTKMM_LIBS to avoid the need to call pkg-config.
5785 See the pkg-config man page for more details.
5786 " >&5
5787 echo "$as_me: error: Package requirements (gtkmm-2.4 >= 2.6.0) were not met:
5789 $GTKMM_PKG_ERRORS
5791 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5792 installed software in a non-standard prefix.
5794 Alternatively, you may set the environment variables GTKMM_CFLAGS
5795 and GTKMM_LIBS to avoid the need to call pkg-config.
5796 See the pkg-config man page for more details.
5797 " >&2;}
5798 { (exit 1); exit 1; }; }
5799 elif test $pkg_failed = untried; then
5800 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5801 is in your PATH or set the PKG_CONFIG environment variable to the full
5802 path to pkg-config.
5804 Alternatively, you may set the environment variables GTKMM_CFLAGS
5805 and GTKMM_LIBS to avoid the need to call pkg-config.
5806 See the pkg-config man page for more details.
5808 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5809 See \`config.log' for more details." >&5
5810 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5811 is in your PATH or set the PKG_CONFIG environment variable to the full
5812 path to pkg-config.
5814 Alternatively, you may set the environment variables GTKMM_CFLAGS
5815 and GTKMM_LIBS to avoid the need to call pkg-config.
5816 See the pkg-config man page for more details.
5818 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5819 See \`config.log' for more details." >&2;}
5820 { (exit 1); exit 1; }; }
5821 else
5822 GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
5823 GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
5824 { echo "$as_me:$LINENO: result: yes" >&5
5825 echo "${ECHO_T}yes" >&6; }
5826 cat >>confdefs.h <<\_ACEOF
5827 #define GTKMM_VER 26
5828 _ACEOF
5831 else
5832 GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
5833 GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
5834 { echo "$as_me:$LINENO: result: yes" >&5
5835 echo "${ECHO_T}yes" >&6; }
5836 cat >>confdefs.h <<\_ACEOF
5837 #define GTKMM_VER 28
5838 _ACEOF
5841 else
5842 GTKMM_CFLAGS=$pkg_cv_GTKMM_CFLAGS
5843 GTKMM_LIBS=$pkg_cv_GTKMM_LIBS
5844 { echo "$as_me:$LINENO: result: yes" >&5
5845 echo "${ECHO_T}yes" >&6; }
5846 cat >>confdefs.h <<\_ACEOF
5847 #define GTKMM_VER 212
5848 _ACEOF
5853 pkg_failed=no
5854 { echo "$as_me:$LINENO: checking for GLIBMM" >&5
5855 echo $ECHO_N "checking for GLIBMM... $ECHO_C" >&6; }
5857 if test -n "$PKG_CONFIG"; then
5858 if test -n "$GLIBMM_CFLAGS"; then
5859 pkg_cv_GLIBMM_CFLAGS="$GLIBMM_CFLAGS"
5860 else
5861 if test -n "$PKG_CONFIG" && \
5862 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= 2.16.0\"") >&5
5863 ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= 2.16.0") 2>&5
5864 ac_status=$?
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); }; then
5867 pkg_cv_GLIBMM_CFLAGS=`$PKG_CONFIG --cflags "glibmm-2.4 >= 2.16.0" 2>/dev/null`
5868 else
5869 pkg_failed=yes
5872 else
5873 pkg_failed=untried
5875 if test -n "$PKG_CONFIG"; then
5876 if test -n "$GLIBMM_LIBS"; then
5877 pkg_cv_GLIBMM_LIBS="$GLIBMM_LIBS"
5878 else
5879 if test -n "$PKG_CONFIG" && \
5880 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glibmm-2.4 >= 2.16.0\"") >&5
5881 ($PKG_CONFIG --exists --print-errors "glibmm-2.4 >= 2.16.0") 2>&5
5882 ac_status=$?
5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); }; then
5885 pkg_cv_GLIBMM_LIBS=`$PKG_CONFIG --libs "glibmm-2.4 >= 2.16.0" 2>/dev/null`
5886 else
5887 pkg_failed=yes
5890 else
5891 pkg_failed=untried
5896 if test $pkg_failed = yes; then
5898 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5899 _pkg_short_errors_supported=yes
5900 else
5901 _pkg_short_errors_supported=no
5903 if test $_pkg_short_errors_supported = yes; then
5904 GLIBMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glibmm-2.4 >= 2.16.0"`
5905 else
5906 GLIBMM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glibmm-2.4 >= 2.16.0"`
5908 # Put the nasty error message in config.log where it belongs
5909 echo "$GLIBMM_PKG_ERRORS" >&5
5911 { echo "$as_me:$LINENO: result: no" >&5
5912 echo "${ECHO_T}no" >&6; }
5913 cat >>confdefs.h <<\_ACEOF
5914 #define GLIBMM_VER old
5915 _ACEOF
5917 echo "Using old glibmm"
5918 elif test $pkg_failed = untried; then
5919 cat >>confdefs.h <<\_ACEOF
5920 #define GLIBMM_VER old
5921 _ACEOF
5923 echo "Using old glibmm"
5924 else
5925 GLIBMM_CFLAGS=$pkg_cv_GLIBMM_CFLAGS
5926 GLIBMM_LIBS=$pkg_cv_GLIBMM_LIBS
5927 { echo "$as_me:$LINENO: result: yes" >&5
5928 echo "${ECHO_T}yes" >&6; }
5929 cat >>confdefs.h <<\_ACEOF
5930 #define GLIBMM_VER 216
5931 _ACEOF
5935 pkg_failed=no
5936 { echo "$as_me:$LINENO: checking for pangomm" >&5
5937 echo $ECHO_N "checking for pangomm... $ECHO_C" >&6; }
5939 if test -n "$PKG_CONFIG"; then
5940 if test -n "$pangomm_CFLAGS"; then
5941 pkg_cv_pangomm_CFLAGS="$pangomm_CFLAGS"
5942 else
5943 if test -n "$PKG_CONFIG" && \
5944 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangomm-1.4\"") >&5
5945 ($PKG_CONFIG --exists --print-errors "pangomm-1.4") 2>&5
5946 ac_status=$?
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); }; then
5949 pkg_cv_pangomm_CFLAGS=`$PKG_CONFIG --cflags "pangomm-1.4" 2>/dev/null`
5950 else
5951 pkg_failed=yes
5954 else
5955 pkg_failed=untried
5957 if test -n "$PKG_CONFIG"; then
5958 if test -n "$pangomm_LIBS"; then
5959 pkg_cv_pangomm_LIBS="$pangomm_LIBS"
5960 else
5961 if test -n "$PKG_CONFIG" && \
5962 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangomm-1.4\"") >&5
5963 ($PKG_CONFIG --exists --print-errors "pangomm-1.4") 2>&5
5964 ac_status=$?
5965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966 (exit $ac_status); }; then
5967 pkg_cv_pangomm_LIBS=`$PKG_CONFIG --libs "pangomm-1.4" 2>/dev/null`
5968 else
5969 pkg_failed=yes
5972 else
5973 pkg_failed=untried
5978 if test $pkg_failed = yes; then
5980 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5981 _pkg_short_errors_supported=yes
5982 else
5983 _pkg_short_errors_supported=no
5985 if test $_pkg_short_errors_supported = yes; then
5986 pangomm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangomm-1.4"`
5987 else
5988 pangomm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangomm-1.4"`
5990 # Put the nasty error message in config.log where it belongs
5991 echo "$pangomm_PKG_ERRORS" >&5
5993 { { echo "$as_me:$LINENO: error: Package requirements (pangomm-1.4) were not met:
5995 $pangomm_PKG_ERRORS
5997 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5998 installed software in a non-standard prefix.
6000 Alternatively, you may set the environment variables pangomm_CFLAGS
6001 and pangomm_LIBS to avoid the need to call pkg-config.
6002 See the pkg-config man page for more details.
6003 " >&5
6004 echo "$as_me: error: Package requirements (pangomm-1.4) were not met:
6006 $pangomm_PKG_ERRORS
6008 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6009 installed software in a non-standard prefix.
6011 Alternatively, you may set the environment variables pangomm_CFLAGS
6012 and pangomm_LIBS to avoid the need to call pkg-config.
6013 See the pkg-config man page for more details.
6014 " >&2;}
6015 { (exit 1); exit 1; }; }
6016 elif test $pkg_failed = untried; then
6017 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
6018 is in your PATH or set the PKG_CONFIG environment variable to the full
6019 path to pkg-config.
6021 Alternatively, you may set the environment variables pangomm_CFLAGS
6022 and pangomm_LIBS to avoid the need to call pkg-config.
6023 See the pkg-config man page for more details.
6025 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6026 See \`config.log' for more details." >&5
6027 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
6028 is in your PATH or set the PKG_CONFIG environment variable to the full
6029 path to pkg-config.
6031 Alternatively, you may set the environment variables pangomm_CFLAGS
6032 and pangomm_LIBS to avoid the need to call pkg-config.
6033 See the pkg-config man page for more details.
6035 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6036 See \`config.log' for more details." >&2;}
6037 { (exit 1); exit 1; }; }
6038 else
6039 pangomm_CFLAGS=$pkg_cv_pangomm_CFLAGS
6040 pangomm_LIBS=$pkg_cv_pangomm_LIBS
6041 { echo "$as_me:$LINENO: result: yes" >&5
6042 echo "${ECHO_T}yes" >&6; }
6045 if test "$check_runtime_dependencies" == "yes"
6046 then # Extract the first word of "dvipng", so it can be a program name with args.
6047 set dummy dvipng; ac_word=$2
6048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6050 if test "${ac_cv_prog_DVIPNG+set}" = set; then
6051 echo $ECHO_N "(cached) $ECHO_C" >&6
6052 else
6053 if test -n "$DVIPNG"; then
6054 ac_cv_prog_DVIPNG="$DVIPNG" # Let the user override the test.
6055 else
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6057 for as_dir in $PATH
6059 IFS=$as_save_IFS
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_DVIPNG="yes"
6064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 break 2
6067 done
6068 done
6069 IFS=$as_save_IFS
6071 test -z "$ac_cv_prog_DVIPNG" && ac_cv_prog_DVIPNG="no"
6074 DVIPNG=$ac_cv_prog_DVIPNG
6075 if test -n "$DVIPNG"; then
6076 { echo "$as_me:$LINENO: result: $DVIPNG" >&5
6077 echo "${ECHO_T}$DVIPNG" >&6; }
6078 else
6079 { echo "$as_me:$LINENO: result: no" >&5
6080 echo "${ECHO_T}no" >&6; }
6084 if test "${DVIPNG}" == "no"
6085 then { { echo "$as_me:$LINENO: error: Need the dvipng program; get it from http://sourceforge.net/projects/dvipng/ ." >&5
6086 echo "$as_me: error: Need the dvipng program; get it from http://sourceforge.net/projects/dvipng/ ." >&2;}
6087 { (exit 1); exit 1; }; }
6089 # Extract the first word of "latex", so it can be a program name with args.
6090 set dummy latex; ac_word=$2
6091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6093 if test "${ac_cv_prog_LATEX+set}" = set; then
6094 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 else
6096 if test -n "$LATEX"; then
6097 ac_cv_prog_LATEX="$LATEX" # Let the user override the test.
6098 else
6099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 for as_dir in $PATH
6102 IFS=$as_save_IFS
6103 test -z "$as_dir" && as_dir=.
6104 for ac_exec_ext in '' $ac_executable_extensions; do
6105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6106 ac_cv_prog_LATEX="yes"
6107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6108 break 2
6110 done
6111 done
6112 IFS=$as_save_IFS
6114 test -z "$ac_cv_prog_LATEX" && ac_cv_prog_LATEX="no"
6117 LATEX=$ac_cv_prog_LATEX
6118 if test -n "$LATEX"; then
6119 { echo "$as_me:$LINENO: result: $LATEX" >&5
6120 echo "${ECHO_T}$LATEX" >&6; }
6121 else
6122 { echo "$as_me:$LINENO: result: no" >&5
6123 echo "${ECHO_T}no" >&6; }
6127 if test "${LATEX}" == "no"
6128 then { { echo "$as_me:$LINENO: error: Need a working LaTeX installation." >&5
6129 echo "$as_me: error: Need a working LaTeX installation." >&2;}
6130 { (exit 1); exit 1; }; }
6132 printf '\\nonstopmode\\documentclass{article}\\usepackage{breqn}\\begin{document}\\begin{dmath*}x^2\\end{dmath*}\\end{document}\n' > conftmp.tex
6133 printf "checking for breqn package..."
6134 if latex conftmp.tex > /dev/null 2>&1
6135 then echo " yes"
6136 else echo " no"
6137 { { echo "$as_me:$LINENO: error: Need the breqn LaTeX package; get it from ftp://ftp.ams.org/pub/tex/ ." >&5
6138 echo "$as_me: error: Need the breqn LaTeX package; get it from ftp://ftp.ams.org/pub/tex/ ." >&2;}
6139 { (exit 1); exit 1; }; }
6141 rm -f conftmp.tex conftmp.log conftmp.dvi conftmp.aux
6153 ac_config_files="$ac_config_files Makefile src/Makefile src/modules/Makefile tests/Makefile gui/Makefile doc/Makefile"
6155 cat >confcache <<\_ACEOF
6156 # This file is a shell script that caches the results of configure
6157 # tests run on this system so they can be shared between configure
6158 # scripts and configure runs, see configure's option --config-cache.
6159 # It is not useful on other systems. If it contains results you don't
6160 # want to keep, you may remove or edit it.
6162 # config.status only pays attention to the cache file if you give it
6163 # the --recheck option to rerun configure.
6165 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6166 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6167 # following values.
6169 _ACEOF
6171 # The following way of writing the cache mishandles newlines in values,
6172 # but we know of no workaround that is simple, portable, and efficient.
6173 # So, we kill variables containing newlines.
6174 # Ultrix sh set writes to stderr and can't be redirected directly,
6175 # and sets the high bit in the cache file unless we assign to the vars.
6177 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6178 eval ac_val=\$$ac_var
6179 case $ac_val in #(
6180 *${as_nl}*)
6181 case $ac_var in #(
6182 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
6183 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
6184 esac
6185 case $ac_var in #(
6186 _ | IFS | as_nl) ;; #(
6187 *) $as_unset $ac_var ;;
6188 esac ;;
6189 esac
6190 done
6192 (set) 2>&1 |
6193 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6194 *${as_nl}ac_space=\ *)
6195 # `set' does not quote correctly, so add quotes (double-quote
6196 # substitution turns \\\\ into \\, and sed turns \\ into \).
6197 sed -n \
6198 "s/'/'\\\\''/g;
6199 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6200 ;; #(
6202 # `set' quotes correctly as required by POSIX, so do not add quotes.
6203 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6205 esac |
6206 sort
6208 sed '
6209 /^ac_cv_env_/b end
6210 t clear
6211 :clear
6212 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6213 t end
6214 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6215 :end' >>confcache
6216 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6217 if test -w "$cache_file"; then
6218 test "x$cache_file" != "x/dev/null" &&
6219 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
6220 echo "$as_me: updating cache $cache_file" >&6;}
6221 cat confcache >$cache_file
6222 else
6223 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
6224 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6227 rm -f confcache
6229 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6230 # Let make expand exec_prefix.
6231 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6233 DEFS=-DHAVE_CONFIG_H
6235 ac_libobjs=
6236 ac_ltlibobjs=
6237 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6238 # 1. Remove the extension, and $U if already installed.
6239 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6240 ac_i=`echo "$ac_i" | sed "$ac_script"`
6241 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6242 # will be set to the directory where LIBOBJS objects are built.
6243 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6244 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
6245 done
6246 LIBOBJS=$ac_libobjs
6248 LTLIBOBJS=$ac_ltlibobjs
6252 : ${CONFIG_STATUS=./config.status}
6253 ac_clean_files_save=$ac_clean_files
6254 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6255 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6256 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6257 cat >$CONFIG_STATUS <<_ACEOF
6258 #! $SHELL
6259 # Generated by $as_me.
6260 # Run this file to recreate the current configuration.
6261 # Compiler output produced by configure, useful for debugging
6262 # configure, is in config.log if it exists.
6264 debug=false
6265 ac_cs_recheck=false
6266 ac_cs_silent=false
6267 SHELL=\${CONFIG_SHELL-$SHELL}
6268 _ACEOF
6270 cat >>$CONFIG_STATUS <<\_ACEOF
6271 ## --------------------- ##
6272 ## M4sh Initialization. ##
6273 ## --------------------- ##
6275 # Be more Bourne compatible
6276 DUALCASE=1; export DUALCASE # for MKS sh
6277 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6278 emulate sh
6279 NULLCMD=:
6280 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6281 # is contrary to our usage. Disable this feature.
6282 alias -g '${1+"$@"}'='"$@"'
6283 setopt NO_GLOB_SUBST
6284 else
6285 case `(set -o) 2>/dev/null` in
6286 *posix*) set -o posix ;;
6287 esac
6294 # PATH needs CR
6295 # Avoid depending upon Character Ranges.
6296 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6297 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6298 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6299 as_cr_digits='0123456789'
6300 as_cr_alnum=$as_cr_Letters$as_cr_digits
6302 # The user is always right.
6303 if test "${PATH_SEPARATOR+set}" != set; then
6304 echo "#! /bin/sh" >conf$$.sh
6305 echo "exit 0" >>conf$$.sh
6306 chmod +x conf$$.sh
6307 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6308 PATH_SEPARATOR=';'
6309 else
6310 PATH_SEPARATOR=:
6312 rm -f conf$$.sh
6315 # Support unset when possible.
6316 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6317 as_unset=unset
6318 else
6319 as_unset=false
6323 # IFS
6324 # We need space, tab and new line, in precisely that order. Quoting is
6325 # there to prevent editors from complaining about space-tab.
6326 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6327 # splitting by setting IFS to empty value.)
6328 as_nl='
6330 IFS=" "" $as_nl"
6332 # Find who we are. Look in the path if we contain no directory separator.
6333 case $0 in
6334 *[\\/]* ) as_myself=$0 ;;
6335 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 for as_dir in $PATH
6338 IFS=$as_save_IFS
6339 test -z "$as_dir" && as_dir=.
6340 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6341 done
6342 IFS=$as_save_IFS
6345 esac
6346 # We did not find ourselves, most probably we were run as `sh COMMAND'
6347 # in which case we are not to be found in the path.
6348 if test "x$as_myself" = x; then
6349 as_myself=$0
6351 if test ! -f "$as_myself"; then
6352 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6353 { (exit 1); exit 1; }
6356 # Work around bugs in pre-3.0 UWIN ksh.
6357 for as_var in ENV MAIL MAILPATH
6358 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6359 done
6360 PS1='$ '
6361 PS2='> '
6362 PS4='+ '
6364 # NLS nuisances.
6365 for as_var in \
6366 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6367 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6368 LC_TELEPHONE LC_TIME
6370 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6371 eval $as_var=C; export $as_var
6372 else
6373 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
6375 done
6377 # Required to use basename.
6378 if expr a : '\(a\)' >/dev/null 2>&1 &&
6379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6380 as_expr=expr
6381 else
6382 as_expr=false
6385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6386 as_basename=basename
6387 else
6388 as_basename=false
6392 # Name of the executable.
6393 as_me=`$as_basename -- "$0" ||
6394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6395 X"$0" : 'X\(//\)$' \| \
6396 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6397 echo X/"$0" |
6398 sed '/^.*\/\([^/][^/]*\)\/*$/{
6399 s//\1/
6402 /^X\/\(\/\/\)$/{
6403 s//\1/
6406 /^X\/\(\/\).*/{
6407 s//\1/
6410 s/.*/./; q'`
6412 # CDPATH.
6413 $as_unset CDPATH
6417 as_lineno_1=$LINENO
6418 as_lineno_2=$LINENO
6419 test "x$as_lineno_1" != "x$as_lineno_2" &&
6420 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
6422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6423 # uniformly replaced by the line number. The first 'sed' inserts a
6424 # line-number line after each line using $LINENO; the second 'sed'
6425 # does the real work. The second script uses 'N' to pair each
6426 # line-number line with the line containing $LINENO, and appends
6427 # trailing '-' during substitution so that $LINENO is not a special
6428 # case at line end.
6429 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6430 # scripts with optimization help from Paolo Bonzini. Blame Lee
6431 # E. McMahon (1931-1989) for sed's syntax. :-)
6432 sed -n '
6434 /[$]LINENO/=
6435 ' <$as_myself |
6436 sed '
6437 s/[$]LINENO.*/&-/
6438 t lineno
6440 :lineno
6442 :loop
6443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
6444 t loop
6445 s/-\n.*//
6446 ' >$as_me.lineno &&
6447 chmod +x "$as_me.lineno" ||
6448 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
6449 { (exit 1); exit 1; }; }
6451 # Don't try to exec as it changes $[0], causing all sort of problems
6452 # (the dirname of $[0] is not the place where we might find the
6453 # original and so on. Autoconf is especially sensitive to this).
6454 . "./$as_me.lineno"
6455 # Exit status is that of the last command.
6456 exit
6460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6461 as_dirname=dirname
6462 else
6463 as_dirname=false
6466 ECHO_C= ECHO_N= ECHO_T=
6467 case `echo -n x` in
6468 -n*)
6469 case `echo 'x\c'` in
6470 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6471 *) ECHO_C='\c';;
6472 esac;;
6474 ECHO_N='-n';;
6475 esac
6477 if expr a : '\(a\)' >/dev/null 2>&1 &&
6478 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6479 as_expr=expr
6480 else
6481 as_expr=false
6484 rm -f conf$$ conf$$.exe conf$$.file
6485 if test -d conf$$.dir; then
6486 rm -f conf$$.dir/conf$$.file
6487 else
6488 rm -f conf$$.dir
6489 mkdir conf$$.dir
6491 echo >conf$$.file
6492 if ln -s conf$$.file conf$$ 2>/dev/null; then
6493 as_ln_s='ln -s'
6494 # ... but there are two gotchas:
6495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6497 # In both cases, we have to default to `cp -p'.
6498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6499 as_ln_s='cp -p'
6500 elif ln conf$$.file conf$$ 2>/dev/null; then
6501 as_ln_s=ln
6502 else
6503 as_ln_s='cp -p'
6505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6506 rmdir conf$$.dir 2>/dev/null
6508 if mkdir -p . 2>/dev/null; then
6509 as_mkdir_p=:
6510 else
6511 test -d ./-p && rmdir ./-p
6512 as_mkdir_p=false
6515 if test -x / >/dev/null 2>&1; then
6516 as_test_x='test -x'
6517 else
6518 if ls -dL / >/dev/null 2>&1; then
6519 as_ls_L_option=L
6520 else
6521 as_ls_L_option=
6523 as_test_x='
6524 eval sh -c '\''
6525 if test -d "$1"; then
6526 test -d "$1/.";
6527 else
6528 case $1 in
6529 -*)set "./$1";;
6530 esac;
6531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
6532 ???[sx]*):;;*)false;;esac;fi
6533 '\'' sh
6536 as_executable_p=$as_test_x
6538 # Sed expression to map a string onto a valid CPP name.
6539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6541 # Sed expression to map a string onto a valid variable name.
6542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6545 exec 6>&1
6547 # Save the log message, to keep $[0] and so on meaningful, and to
6548 # report actual input values of CONFIG_FILES etc. instead of their
6549 # values after options handling.
6550 ac_log="
6551 This file was extended by $as_me, which was
6552 generated by GNU Autoconf 2.61. Invocation command line was
6554 CONFIG_FILES = $CONFIG_FILES
6555 CONFIG_HEADERS = $CONFIG_HEADERS
6556 CONFIG_LINKS = $CONFIG_LINKS
6557 CONFIG_COMMANDS = $CONFIG_COMMANDS
6558 $ $0 $@
6560 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6563 _ACEOF
6565 cat >>$CONFIG_STATUS <<_ACEOF
6566 # Files that config.status was made for.
6567 config_files="$ac_config_files"
6568 config_headers="$ac_config_headers"
6570 _ACEOF
6572 cat >>$CONFIG_STATUS <<\_ACEOF
6573 ac_cs_usage="\
6574 \`$as_me' instantiates files from templates according to the
6575 current configuration.
6577 Usage: $0 [OPTIONS] [FILE]...
6579 -h, --help print this help, then exit
6580 -V, --version print version number and configuration settings, then exit
6581 -q, --quiet do not print progress messages
6582 -d, --debug don't remove temporary files
6583 --recheck update $as_me by reconfiguring in the same conditions
6584 --file=FILE[:TEMPLATE]
6585 instantiate the configuration file FILE
6586 --header=FILE[:TEMPLATE]
6587 instantiate the configuration header FILE
6589 Configuration files:
6590 $config_files
6592 Configuration headers:
6593 $config_headers
6595 Report bugs to <bug-autoconf@gnu.org>."
6597 _ACEOF
6598 cat >>$CONFIG_STATUS <<_ACEOF
6599 ac_cs_version="\\
6600 config.status
6601 configured by $0, generated by GNU Autoconf 2.61,
6602 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
6604 Copyright (C) 2006 Free Software Foundation, Inc.
6605 This config.status script is free software; the Free Software Foundation
6606 gives unlimited permission to copy, distribute and modify it."
6608 ac_pwd='$ac_pwd'
6609 srcdir='$srcdir'
6610 INSTALL='$INSTALL'
6611 _ACEOF
6613 cat >>$CONFIG_STATUS <<\_ACEOF
6614 # If no file are specified by the user, then we need to provide default
6615 # value. By we need to know if files were specified by the user.
6616 ac_need_defaults=:
6617 while test $# != 0
6619 case $1 in
6620 --*=*)
6621 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6622 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6623 ac_shift=:
6626 ac_option=$1
6627 ac_optarg=$2
6628 ac_shift=shift
6630 esac
6632 case $ac_option in
6633 # Handling of the options.
6634 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6635 ac_cs_recheck=: ;;
6636 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6637 echo "$ac_cs_version"; exit ;;
6638 --debug | --debu | --deb | --de | --d | -d )
6639 debug=: ;;
6640 --file | --fil | --fi | --f )
6641 $ac_shift
6642 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6643 ac_need_defaults=false;;
6644 --header | --heade | --head | --hea )
6645 $ac_shift
6646 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6647 ac_need_defaults=false;;
6648 --he | --h)
6649 # Conflict between --help and --header
6650 { echo "$as_me: error: ambiguous option: $1
6651 Try \`$0 --help' for more information." >&2
6652 { (exit 1); exit 1; }; };;
6653 --help | --hel | -h )
6654 echo "$ac_cs_usage"; exit ;;
6655 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6656 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6657 ac_cs_silent=: ;;
6659 # This is an error.
6660 -*) { echo "$as_me: error: unrecognized option: $1
6661 Try \`$0 --help' for more information." >&2
6662 { (exit 1); exit 1; }; } ;;
6664 *) ac_config_targets="$ac_config_targets $1"
6665 ac_need_defaults=false ;;
6667 esac
6668 shift
6669 done
6671 ac_configure_extra_args=
6673 if $ac_cs_silent; then
6674 exec 6>/dev/null
6675 ac_configure_extra_args="$ac_configure_extra_args --silent"
6678 _ACEOF
6679 cat >>$CONFIG_STATUS <<_ACEOF
6680 if \$ac_cs_recheck; then
6681 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6682 CONFIG_SHELL=$SHELL
6683 export CONFIG_SHELL
6684 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6687 _ACEOF
6688 cat >>$CONFIG_STATUS <<\_ACEOF
6689 exec 5>>config.log
6691 echo
6692 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6693 ## Running $as_me. ##
6694 _ASBOX
6695 echo "$ac_log"
6696 } >&5
6698 _ACEOF
6699 cat >>$CONFIG_STATUS <<_ACEOF
6700 _ACEOF
6702 cat >>$CONFIG_STATUS <<\_ACEOF
6704 # Handling of arguments.
6705 for ac_config_target in $ac_config_targets
6707 case $ac_config_target in
6708 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
6709 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6710 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
6711 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
6712 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
6713 "gui/Makefile") CONFIG_FILES="$CONFIG_FILES gui/Makefile" ;;
6714 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
6716 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6717 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6718 { (exit 1); exit 1; }; };;
6719 esac
6720 done
6723 # If the user did not use the arguments to specify the items to instantiate,
6724 # then the envvar interface is used. Set only those that are not.
6725 # We use the long form for the default assignment because of an extremely
6726 # bizarre bug on SunOS 4.1.3.
6727 if $ac_need_defaults; then
6728 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6729 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6732 # Have a temporary directory for convenience. Make it in the build tree
6733 # simply because there is no reason against having it here, and in addition,
6734 # creating and moving files from /tmp can sometimes cause problems.
6735 # Hook for its removal unless debugging.
6736 # Note that there is a small window in which the directory will not be cleaned:
6737 # after its creation but before its name has been assigned to `$tmp'.
6738 $debug ||
6740 tmp=
6741 trap 'exit_status=$?
6742 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
6744 trap '{ (exit 1); exit 1; }' 1 2 13 15
6746 # Create a (secure) tmp directory for tmp files.
6749 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6750 test -n "$tmp" && test -d "$tmp"
6751 } ||
6753 tmp=./conf$$-$RANDOM
6754 (umask 077 && mkdir "$tmp")
6755 } ||
6757 echo "$me: cannot create a temporary directory in ." >&2
6758 { (exit 1); exit 1; }
6762 # Set up the sed scripts for CONFIG_FILES section.
6765 # No need to generate the scripts if there are no CONFIG_FILES.
6766 # This happens for instance when ./config.status config.h
6767 if test -n "$CONFIG_FILES"; then
6769 _ACEOF
6773 ac_delim='%!_!# '
6774 for ac_last_try in false false false false false :; do
6775 cat >conf$$subs.sed <<_ACEOF
6776 SHELL!$SHELL$ac_delim
6777 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6778 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6779 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6780 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6781 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6782 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6783 exec_prefix!$exec_prefix$ac_delim
6784 prefix!$prefix$ac_delim
6785 program_transform_name!$program_transform_name$ac_delim
6786 bindir!$bindir$ac_delim
6787 sbindir!$sbindir$ac_delim
6788 libexecdir!$libexecdir$ac_delim
6789 datarootdir!$datarootdir$ac_delim
6790 datadir!$datadir$ac_delim
6791 sysconfdir!$sysconfdir$ac_delim
6792 sharedstatedir!$sharedstatedir$ac_delim
6793 localstatedir!$localstatedir$ac_delim
6794 includedir!$includedir$ac_delim
6795 oldincludedir!$oldincludedir$ac_delim
6796 docdir!$docdir$ac_delim
6797 infodir!$infodir$ac_delim
6798 htmldir!$htmldir$ac_delim
6799 dvidir!$dvidir$ac_delim
6800 pdfdir!$pdfdir$ac_delim
6801 psdir!$psdir$ac_delim
6802 libdir!$libdir$ac_delim
6803 localedir!$localedir$ac_delim
6804 mandir!$mandir$ac_delim
6805 DEFS!$DEFS$ac_delim
6806 ECHO_C!$ECHO_C$ac_delim
6807 ECHO_N!$ECHO_N$ac_delim
6808 ECHO_T!$ECHO_T$ac_delim
6809 LIBS!$LIBS$ac_delim
6810 build_alias!$build_alias$ac_delim
6811 host_alias!$host_alias$ac_delim
6812 target_alias!$target_alias$ac_delim
6813 CC!$CC$ac_delim
6814 CFLAGS!$CFLAGS$ac_delim
6815 LDFLAGS!$LDFLAGS$ac_delim
6816 CPPFLAGS!$CPPFLAGS$ac_delim
6817 ac_ct_CC!$ac_ct_CC$ac_delim
6818 EXEEXT!$EXEEXT$ac_delim
6819 OBJEXT!$OBJEXT$ac_delim
6820 CXX!$CXX$ac_delim
6821 CXXFLAGS!$CXXFLAGS$ac_delim
6822 ac_ct_CXX!$ac_ct_CXX$ac_delim
6823 LN_S!$LN_S$ac_delim
6824 SET_MAKE!$SET_MAKE$ac_delim
6825 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6826 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6827 INSTALL_DATA!$INSTALL_DATA$ac_delim
6828 install_flags!$install_flags$ac_delim
6829 LIE!$LIE$ac_delim
6830 CXXCPP!$CXXCPP$ac_delim
6831 GREP!$GREP$ac_delim
6832 EGREP!$EGREP$ac_delim
6833 PKG_CONFIG!$PKG_CONFIG$ac_delim
6834 sigc_CFLAGS!$sigc_CFLAGS$ac_delim
6835 sigc_LIBS!$sigc_LIBS$ac_delim
6836 modglue_CFLAGS!$modglue_CFLAGS$ac_delim
6837 modglue_LIBS!$modglue_LIBS$ac_delim
6838 PTYWRAP!$PTYWRAP$ac_delim
6839 gtk_CFLAGS!$gtk_CFLAGS$ac_delim
6840 gtk_LIBS!$gtk_LIBS$ac_delim
6841 pango_CFLAGS!$pango_CFLAGS$ac_delim
6842 pango_LIBS!$pango_LIBS$ac_delim
6843 GTKMM_CFLAGS!$GTKMM_CFLAGS$ac_delim
6844 GTKMM_LIBS!$GTKMM_LIBS$ac_delim
6845 GLIBMM_CFLAGS!$GLIBMM_CFLAGS$ac_delim
6846 GLIBMM_LIBS!$GLIBMM_LIBS$ac_delim
6847 pangomm_CFLAGS!$pangomm_CFLAGS$ac_delim
6848 pangomm_LIBS!$pangomm_LIBS$ac_delim
6849 DVIPNG!$DVIPNG$ac_delim
6850 LATEX!$LATEX$ac_delim
6851 enable_gui!$enable_gui$ac_delim
6852 MAC_OS_X!$MAC_OS_X$ac_delim
6853 pcrecpp!$pcrecpp$ac_delim
6854 NESTED!$NESTED$ac_delim
6855 GTKMM_VER!$GTKMM_VER$ac_delim
6856 GLIBMM_VER!$GLIBMM_VER$ac_delim
6857 LIBOBJS!$LIBOBJS$ac_delim
6858 LTLIBOBJS!$LTLIBOBJS$ac_delim
6859 _ACEOF
6861 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then
6862 break
6863 elif $ac_last_try; then
6864 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6865 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6866 { (exit 1); exit 1; }; }
6867 else
6868 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6870 done
6872 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6873 if test -n "$ac_eof"; then
6874 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6875 ac_eof=`expr $ac_eof + 1`
6878 cat >>$CONFIG_STATUS <<_ACEOF
6879 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6880 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6881 _ACEOF
6882 sed '
6883 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6884 s/^/s,@/; s/!/@,|#_!!_#|/
6887 s/'"$ac_delim"'$/,g/; t
6888 s/$/\\/; p
6889 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6890 ' >>$CONFIG_STATUS <conf$$subs.sed
6891 rm -f conf$$subs.sed
6892 cat >>$CONFIG_STATUS <<_ACEOF
6893 :end
6894 s/|#_!!_#|//g
6895 CEOF$ac_eof
6896 _ACEOF
6899 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6900 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6901 # trailing colons and then remove the whole line if VPATH becomes empty
6902 # (actually we leave an empty line to preserve line numbers).
6903 if test "x$srcdir" = x.; then
6904 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6905 s/:*\$(srcdir):*/:/
6906 s/:*\${srcdir}:*/:/
6907 s/:*@srcdir@:*/:/
6908 s/^\([^=]*=[ ]*\):*/\1/
6909 s/:*$//
6910 s/^[^=]*=[ ]*$//
6914 cat >>$CONFIG_STATUS <<\_ACEOF
6915 fi # test -n "$CONFIG_FILES"
6918 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
6920 case $ac_tag in
6921 :[FHLC]) ac_mode=$ac_tag; continue;;
6922 esac
6923 case $ac_mode$ac_tag in
6924 :[FHL]*:*);;
6925 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6926 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6927 { (exit 1); exit 1; }; };;
6928 :[FH]-) ac_tag=-:-;;
6929 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6930 esac
6931 ac_save_IFS=$IFS
6932 IFS=:
6933 set x $ac_tag
6934 IFS=$ac_save_IFS
6935 shift
6936 ac_file=$1
6937 shift
6939 case $ac_mode in
6940 :L) ac_source=$1;;
6941 :[FH])
6942 ac_file_inputs=
6943 for ac_f
6945 case $ac_f in
6946 -) ac_f="$tmp/stdin";;
6947 *) # Look for the file first in the build tree, then in the source tree
6948 # (if the path is not absolute). The absolute path cannot be DOS-style,
6949 # because $ac_f cannot contain `:'.
6950 test -f "$ac_f" ||
6951 case $ac_f in
6952 [\\/$]*) false;;
6953 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6954 esac ||
6955 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6956 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6957 { (exit 1); exit 1; }; };;
6958 esac
6959 ac_file_inputs="$ac_file_inputs $ac_f"
6960 done
6962 # Let's still pretend it is `configure' which instantiates (i.e., don't
6963 # use $as_me), people would be surprised to read:
6964 # /* config.h. Generated by config.status. */
6965 configure_input="Generated from "`IFS=:
6966 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6967 if test x"$ac_file" != x-; then
6968 configure_input="$ac_file. $configure_input"
6969 { echo "$as_me:$LINENO: creating $ac_file" >&5
6970 echo "$as_me: creating $ac_file" >&6;}
6973 case $ac_tag in
6974 *:-:* | *:-) cat >"$tmp/stdin";;
6975 esac
6977 esac
6979 ac_dir=`$as_dirname -- "$ac_file" ||
6980 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6981 X"$ac_file" : 'X\(//\)[^/]' \| \
6982 X"$ac_file" : 'X\(//\)$' \| \
6983 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6984 echo X"$ac_file" |
6985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6986 s//\1/
6989 /^X\(\/\/\)[^/].*/{
6990 s//\1/
6993 /^X\(\/\/\)$/{
6994 s//\1/
6997 /^X\(\/\).*/{
6998 s//\1/
7001 s/.*/./; q'`
7002 { as_dir="$ac_dir"
7003 case $as_dir in #(
7004 -*) as_dir=./$as_dir;;
7005 esac
7006 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7007 as_dirs=
7008 while :; do
7009 case $as_dir in #(
7010 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
7011 *) as_qdir=$as_dir;;
7012 esac
7013 as_dirs="'$as_qdir' $as_dirs"
7014 as_dir=`$as_dirname -- "$as_dir" ||
7015 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7016 X"$as_dir" : 'X\(//\)[^/]' \| \
7017 X"$as_dir" : 'X\(//\)$' \| \
7018 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7019 echo X"$as_dir" |
7020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7021 s//\1/
7024 /^X\(\/\/\)[^/].*/{
7025 s//\1/
7028 /^X\(\/\/\)$/{
7029 s//\1/
7032 /^X\(\/\).*/{
7033 s//\1/
7036 s/.*/./; q'`
7037 test -d "$as_dir" && break
7038 done
7039 test -z "$as_dirs" || eval "mkdir $as_dirs"
7040 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
7041 echo "$as_me: error: cannot create directory $as_dir" >&2;}
7042 { (exit 1); exit 1; }; }; }
7043 ac_builddir=.
7045 case "$ac_dir" in
7046 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7048 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7049 # A ".." for each directory in $ac_dir_suffix.
7050 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
7051 case $ac_top_builddir_sub in
7052 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7053 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7054 esac ;;
7055 esac
7056 ac_abs_top_builddir=$ac_pwd
7057 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7058 # for backward compatibility:
7059 ac_top_builddir=$ac_top_build_prefix
7061 case $srcdir in
7062 .) # We are building in place.
7063 ac_srcdir=.
7064 ac_top_srcdir=$ac_top_builddir_sub
7065 ac_abs_top_srcdir=$ac_pwd ;;
7066 [\\/]* | ?:[\\/]* ) # Absolute name.
7067 ac_srcdir=$srcdir$ac_dir_suffix;
7068 ac_top_srcdir=$srcdir
7069 ac_abs_top_srcdir=$srcdir ;;
7070 *) # Relative name.
7071 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7072 ac_top_srcdir=$ac_top_build_prefix$srcdir
7073 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7074 esac
7075 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7078 case $ac_mode in
7081 # CONFIG_FILE
7084 case $INSTALL in
7085 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7086 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7087 esac
7088 _ACEOF
7090 cat >>$CONFIG_STATUS <<\_ACEOF
7091 # If the template does not know about datarootdir, expand it.
7092 # FIXME: This hack should be removed a few years after 2.60.
7093 ac_datarootdir_hack=; ac_datarootdir_seen=
7095 case `sed -n '/datarootdir/ {
7099 /@datadir@/p
7100 /@docdir@/p
7101 /@infodir@/p
7102 /@localedir@/p
7103 /@mandir@/p
7104 ' $ac_file_inputs` in
7105 *datarootdir*) ac_datarootdir_seen=yes;;
7106 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7107 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7108 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7109 _ACEOF
7110 cat >>$CONFIG_STATUS <<_ACEOF
7111 ac_datarootdir_hack='
7112 s&@datadir@&$datadir&g
7113 s&@docdir@&$docdir&g
7114 s&@infodir@&$infodir&g
7115 s&@localedir@&$localedir&g
7116 s&@mandir@&$mandir&g
7117 s&\\\${datarootdir}&$datarootdir&g' ;;
7118 esac
7119 _ACEOF
7121 # Neutralize VPATH when `$srcdir' = `.'.
7122 # Shell code in configure.ac might set extrasub.
7123 # FIXME: do we really want to maintain this feature?
7124 cat >>$CONFIG_STATUS <<_ACEOF
7125 sed "$ac_vpsub
7126 $extrasub
7127 _ACEOF
7128 cat >>$CONFIG_STATUS <<\_ACEOF
7130 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7131 s&@configure_input@&$configure_input&;t t
7132 s&@top_builddir@&$ac_top_builddir_sub&;t t
7133 s&@srcdir@&$ac_srcdir&;t t
7134 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7135 s&@top_srcdir@&$ac_top_srcdir&;t t
7136 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7137 s&@builddir@&$ac_builddir&;t t
7138 s&@abs_builddir@&$ac_abs_builddir&;t t
7139 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7140 s&@INSTALL@&$ac_INSTALL&;t t
7141 $ac_datarootdir_hack
7142 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
7144 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7145 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7146 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7147 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7148 which seems to be undefined. Please make sure it is defined." >&5
7149 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7150 which seems to be undefined. Please make sure it is defined." >&2;}
7152 rm -f "$tmp/stdin"
7153 case $ac_file in
7154 -) cat "$tmp/out"; rm -f "$tmp/out";;
7155 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7156 esac
7160 # CONFIG_HEADER
7162 _ACEOF
7164 # Transform confdefs.h into a sed script `conftest.defines', that
7165 # substitutes the proper values into config.h.in to produce config.h.
7166 rm -f conftest.defines conftest.tail
7167 # First, append a space to every undef/define line, to ease matching.
7168 echo 's/$/ /' >conftest.defines
7169 # Then, protect against being on the right side of a sed subst, or in
7170 # an unquoted here document, in config.status. If some macros were
7171 # called several times there might be several #defines for the same
7172 # symbol, which is useless. But do not sort them, since the last
7173 # AC_DEFINE must be honored.
7174 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7175 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
7176 # NAME is the cpp macro being defined, VALUE is the value it is being given.
7177 # PARAMS is the parameter list in the macro definition--in most cases, it's
7178 # just an empty string.
7179 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
7180 ac_dB='\\)[ (].*,\\1define\\2'
7181 ac_dC=' '
7182 ac_dD=' ,'
7184 uniq confdefs.h |
7185 sed -n '
7186 t rset
7187 :rset
7188 s/^[ ]*#[ ]*define[ ][ ]*//
7189 t ok
7192 s/[\\&,]/\\&/g
7193 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
7194 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
7195 ' >>conftest.defines
7197 # Remove the space that was appended to ease matching.
7198 # Then replace #undef with comments. This is necessary, for
7199 # example, in the case of _POSIX_SOURCE, which is predefined and required
7200 # on some systems where configure will not decide to define it.
7201 # (The regexp can be short, since the line contains either #define or #undef.)
7202 echo 's/ $//
7203 s,^[ #]*u.*,/* & */,' >>conftest.defines
7205 # Break up conftest.defines:
7206 ac_max_sed_lines=50
7208 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
7209 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
7210 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
7211 # et cetera.
7212 ac_in='$ac_file_inputs'
7213 ac_out='"$tmp/out1"'
7214 ac_nxt='"$tmp/out2"'
7216 while :
7218 # Write a here document:
7219 cat >>$CONFIG_STATUS <<_ACEOF
7220 # First, check the format of the line:
7221 cat >"\$tmp/defines.sed" <<\\CEOF
7222 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
7223 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7225 :def
7226 _ACEOF
7227 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
7228 echo 'CEOF
7229 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
7230 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
7231 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
7232 grep . conftest.tail >/dev/null || break
7233 rm -f conftest.defines
7234 mv conftest.tail conftest.defines
7235 done
7236 rm -f conftest.defines conftest.tail
7238 echo "ac_result=$ac_in" >>$CONFIG_STATUS
7239 cat >>$CONFIG_STATUS <<\_ACEOF
7240 if test x"$ac_file" != x-; then
7241 echo "/* $configure_input */" >"$tmp/config.h"
7242 cat "$ac_result" >>"$tmp/config.h"
7243 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
7244 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7245 echo "$as_me: $ac_file is unchanged" >&6;}
7246 else
7247 rm -f $ac_file
7248 mv "$tmp/config.h" $ac_file
7250 else
7251 echo "/* $configure_input */"
7252 cat "$ac_result"
7254 rm -f "$tmp/out12"
7258 esac
7260 done # for ac_tag
7263 { (exit 0); exit 0; }
7264 _ACEOF
7265 chmod +x $CONFIG_STATUS
7266 ac_clean_files=$ac_clean_files_save
7269 # configure is writing to config.log, and then calls config.status.
7270 # config.status does its own redirection, appending to config.log.
7271 # Unfortunately, on DOS this fails, as config.log is still kept open
7272 # by configure, so config.status won't be able to write to it; its
7273 # output is simply discarded. So we exec the FD to /dev/null,
7274 # effectively closing config.log, so it can be properly (re)opened and
7275 # appended to by config.status. When coming back to configure, we
7276 # need to make the FD available again.
7277 if test "$no_create" != yes; then
7278 ac_cs_success=:
7279 ac_config_status_args=
7280 test "$silent" = yes &&
7281 ac_config_status_args="$ac_config_status_args --quiet"
7282 exec 5>/dev/null
7283 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7284 exec 5>>config.log
7285 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7286 # would make configure fail if this is the last instruction.
7287 $ac_cs_success || { (exit 1); exit 1; }