2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for gpiv 0.6.0.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x
; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var
in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
144 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me
=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x
; then
176 if (eval ":") 2>/dev
/null
; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev
/null
; then
242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
243 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir
=.
249 for as_base
in sh bash ksh sh5
; do
250 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
257 for as_shell
in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
279 CONFIG_SHELL
=$as_shell
281 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix
*) set -o posix
;;
307 as_func_ret_success
() {
310 as_func_ret_failure
() {
315 if as_func_success
; then
319 echo as_func_success failed.
322 if as_func_failure
; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success
; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure
; then
336 echo as_func_ret_failure succeeded.
339 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) ||
{ (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x
; then
364 for as_var
in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no
; then
373 echo This
script requires a shell
more modern than all the
374 echo shells that I found on your system. Please
install a
375 echo modern shell
, or manually run the
script under such a
376 echo shell
if you
do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") ||
{
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system
,
438 echo including any error possibly output before this message.
439 echo This can
help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x
"$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
494 ECHO_C
= ECHO_N
= ECHO_T
=
498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
504 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
511 rm -f conf$$ conf$$.exe conf$$.
file
512 if test -d conf$$.dir
; then
513 rm -f conf$$.dir
/conf$$.
file
516 mkdir conf$$.dir
2>/dev
/null
518 if (echo >conf$$.
file) 2>/dev
/null
; then
519 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
527 elif ln conf$$.
file conf$$
2>/dev
/null
; then
535 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
536 rmdir conf$$.dir
2>/dev
/null
538 if mkdir
-p .
2>/dev
/null
; then
541 test -d .
/-p && rmdir .
/-p
545 if test -x / >/dev
/null
2>&1; then
548 if ls -dL / >/dev
/null
2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p
=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev
/null
6>&1
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 ac_default_prefix
=/usr
/local
588 ac_config_libobj_dir
=.
594 SHELL
=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
598 PACKAGE_TARNAME
='gpiv'
599 PACKAGE_VERSION
='0.6.0'
600 PACKAGE_STRING
='gpiv 0.6.0'
601 PACKAGE_BUGREPORT
='http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv'
603 # Factoring default headers for most tests.
604 ac_includes_default
="\
606 #ifdef HAVE_SYS_TYPES_H
607 # include <sys/types.h>
609 #ifdef HAVE_SYS_STAT_H
610 # include <sys/stat.h>
616 # ifdef HAVE_STDLIB_H
621 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
626 #ifdef HAVE_STRINGS_H
627 # include <strings.h>
629 #ifdef HAVE_INTTYPES_H
630 # include <inttypes.h>
639 ac_subst_vars
='LTLIBOBJS
643 OVERRIDE_IMAGE_HEIGHT_MAX
644 OVERRIDE_IMAGE_WIDTH_MAX
660 INTLTOOL_SERVICE_RULE
662 INTLTOOL_SCHEMAS_RULE
664 INTLTOOL_XML_NOMERGE_RULE
669 INTLTOOL_SOUNDLIST_RULE
676 INTLTOOL_DIRECTORY_RULE
677 INTLTOOL_DESKTOP_RULE
725 MAINTAINER_MODE_FALSE
735 INSTALL_STRIP_PROGRAM
777 program_transform_name
789 enable_option_checking
790 enable_maintainer_mode
791 enable_dependency_tracking
803 ac_precious_vars
='build_alias
821 # Initialize some variables set by options.
823 ac_init_version
=false
824 ac_unrecognized_opts
=
826 # The variables have the same names as the options, with
827 # dashes changed to underlines.
835 program_transform_name
=s
,x
,x
,
843 # Installation directory options.
844 # These are left unexpanded so users can "make install exec_prefix=/foo"
845 # and all the variables that are supposed to be based on exec_prefix
846 # by default will actually change.
847 # Use braces instead of parens because sh, perl, etc. also accept them.
848 # (The list follows the same order as the GNU Coding Standards.)
849 bindir
='${exec_prefix}/bin'
850 sbindir
='${exec_prefix}/sbin'
851 libexecdir
='${exec_prefix}/libexec'
852 datarootdir
='${prefix}/share'
853 datadir
='${datarootdir}'
854 sysconfdir
='${prefix}/etc'
855 sharedstatedir
='${prefix}/com'
856 localstatedir
='${prefix}/var'
857 includedir
='${prefix}/include'
858 oldincludedir
='/usr/include'
859 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
860 infodir
='${datarootdir}/info'
865 libdir
='${exec_prefix}/lib'
866 localedir
='${datarootdir}/locale'
867 mandir
='${datarootdir}/man'
873 # If the previous option needs an argument, assign it.
874 if test -n "$ac_prev"; then
875 eval $ac_prev=\
$ac_option
881 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
885 # Accept the important Cygnus configure options, so we can diagnose typos.
887 case $ac_dashdash$ac_option in
891 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
893 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
896 -build |
--build |
--buil |
--bui |
--bu)
897 ac_prev
=build_alias
;;
898 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
899 build_alias
=$ac_optarg ;;
901 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
902 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
903 ac_prev
=cache_file
;;
904 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
905 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
906 cache_file
=$ac_optarg ;;
909 cache_file
=config.cache
;;
911 -datadir |
--datadir |
--datadi |
--datad)
913 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
914 datadir
=$ac_optarg ;;
916 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
917 |
--dataroo |
--dataro |
--datar)
918 ac_prev
=datarootdir
;;
919 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
920 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
921 datarootdir
=$ac_optarg ;;
923 -disable-* |
--disable-*)
924 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
925 # Reject names that are not valid shell variable names.
926 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
927 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
928 { (exit 1); exit 1; }; }
929 ac_useropt_orig
=$ac_useropt
930 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
931 case $ac_user_opts in
935 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
936 ac_unrecognized_sep
=', ';;
938 eval enable_
$ac_useropt=no
;;
940 -docdir |
--docdir |
--docdi |
--doc |
--do)
942 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
945 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
947 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
950 -enable-* |
--enable-*)
951 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
952 # Reject names that are not valid shell variable names.
953 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
954 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
955 { (exit 1); exit 1; }; }
956 ac_useropt_orig
=$ac_useropt
957 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
958 case $ac_user_opts in
962 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
963 ac_unrecognized_sep
=', ';;
965 eval enable_
$ac_useropt=\
$ac_optarg ;;
967 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
968 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
969 |
--exec |
--exe |
--ex)
970 ac_prev
=exec_prefix
;;
971 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
972 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
973 |
--exec=* |
--exe=* |
--ex=*)
974 exec_prefix
=$ac_optarg ;;
976 -gas |
--gas |
--ga |
--g)
977 # Obsolete; use --with-gas.
980 -help |
--help |
--hel |
--he |
-h)
982 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
983 ac_init_help
=recursive
;;
984 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
985 ac_init_help
=short
;;
987 -host |
--host |
--hos |
--ho)
988 ac_prev
=host_alias
;;
989 -host=* |
--host=* |
--hos=* |
--ho=*)
990 host_alias
=$ac_optarg ;;
992 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
994 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
996 htmldir
=$ac_optarg ;;
998 -includedir |
--includedir |
--includedi |
--included |
--include \
999 |
--includ |
--inclu |
--incl |
--inc)
1000 ac_prev
=includedir
;;
1001 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1002 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1003 includedir
=$ac_optarg ;;
1005 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1007 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1008 infodir
=$ac_optarg ;;
1010 -libdir |
--libdir |
--libdi |
--libd)
1012 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1013 libdir
=$ac_optarg ;;
1015 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1016 |
--libexe |
--libex |
--libe)
1017 ac_prev
=libexecdir
;;
1018 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1019 |
--libexe=* |
--libex=* |
--libe=*)
1020 libexecdir
=$ac_optarg ;;
1022 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1023 ac_prev
=localedir
;;
1024 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1025 localedir
=$ac_optarg ;;
1027 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1028 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1029 ac_prev
=localstatedir
;;
1030 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1031 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1032 localstatedir
=$ac_optarg ;;
1034 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1036 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1037 mandir
=$ac_optarg ;;
1039 -nfp |
--nfp |
--nf)
1040 # Obsolete; use --without-fp.
1043 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1044 |
--no-cr |
--no-c |
-n)
1047 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1048 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1051 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1052 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1053 |
--oldin |
--oldi |
--old |
--ol |
--o)
1054 ac_prev
=oldincludedir
;;
1055 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1056 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1057 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1058 oldincludedir
=$ac_optarg ;;
1060 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1062 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1063 prefix
=$ac_optarg ;;
1065 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1066 |
--program-pre |
--program-pr |
--program-p)
1067 ac_prev
=program_prefix
;;
1068 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1069 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1070 program_prefix
=$ac_optarg ;;
1072 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1073 |
--program-suf |
--program-su |
--program-s)
1074 ac_prev
=program_suffix
;;
1075 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1076 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1077 program_suffix
=$ac_optarg ;;
1079 -program-transform-name |
--program-transform-name \
1080 |
--program-transform-nam |
--program-transform-na \
1081 |
--program-transform-n |
--program-transform- \
1082 |
--program-transform |
--program-transfor \
1083 |
--program-transfo |
--program-transf \
1084 |
--program-trans |
--program-tran \
1085 |
--progr-tra |
--program-tr |
--program-t)
1086 ac_prev
=program_transform_name
;;
1087 -program-transform-name=* |
--program-transform-name=* \
1088 |
--program-transform-nam=* |
--program-transform-na=* \
1089 |
--program-transform-n=* |
--program-transform-=* \
1090 |
--program-transform=* |
--program-transfor=* \
1091 |
--program-transfo=* |
--program-transf=* \
1092 |
--program-trans=* |
--program-tran=* \
1093 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1094 program_transform_name
=$ac_optarg ;;
1096 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1098 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1099 pdfdir
=$ac_optarg ;;
1101 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1103 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1106 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1107 |
-silent |
--silent |
--silen |
--sile |
--sil)
1110 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1112 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1114 sbindir
=$ac_optarg ;;
1116 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1117 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1118 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1120 ac_prev
=sharedstatedir
;;
1121 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1122 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1123 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1125 sharedstatedir
=$ac_optarg ;;
1127 -site |
--site |
--sit)
1129 -site=* |
--site=* |
--sit=*)
1132 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1134 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1135 srcdir
=$ac_optarg ;;
1137 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1138 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1139 ac_prev
=sysconfdir
;;
1140 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1141 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1142 sysconfdir
=$ac_optarg ;;
1144 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1145 ac_prev
=target_alias
;;
1146 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1147 target_alias
=$ac_optarg ;;
1149 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1152 -version |
--version |
--versio |
--versi |
--vers |
-V)
1153 ac_init_version
=: ;;
1156 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1159 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1160 { (exit 1); exit 1; }; }
1161 ac_useropt_orig
=$ac_useropt
1162 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1163 case $ac_user_opts in
1167 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1168 ac_unrecognized_sep
=', ';;
1170 eval with_
$ac_useropt=\
$ac_optarg ;;
1172 -without-* |
--without-*)
1173 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1176 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1177 { (exit 1); exit 1; }; }
1178 ac_useropt_orig
=$ac_useropt
1179 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1180 case $ac_user_opts in
1184 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1185 ac_unrecognized_sep
=', ';;
1187 eval with_
$ac_useropt=no
;;
1190 # Obsolete; use --with-x.
1193 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1194 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1195 ac_prev
=x_includes
;;
1196 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1197 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1198 x_includes
=$ac_optarg ;;
1200 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1201 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1202 ac_prev
=x_libraries
;;
1203 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1204 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1205 x_libraries
=$ac_optarg ;;
1207 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1208 Try \`$0 --help' for more information." >&2
1209 { (exit 1); exit 1; }; }
1213 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1216 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1217 { (exit 1); exit 1; }; }
1218 eval $ac_envvar=\
$ac_optarg
1219 export $ac_envvar ;;
1222 # FIXME: should be removed in autoconf 3.0.
1223 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1224 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1225 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1226 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1232 if test -n "$ac_prev"; then
1233 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1234 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1235 { (exit 1); exit 1; }; }
1238 if test -n "$ac_unrecognized_opts"; then
1239 case $enable_option_checking in
1241 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1242 { (exit 1); exit 1; }; } ;;
1243 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1247 # Check all directory arguments for consistency.
1248 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1249 datadir sysconfdir sharedstatedir localstatedir includedir \
1250 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1251 libdir localedir mandir
1253 eval ac_val
=\$
$ac_var
1254 # Remove trailing slashes.
1257 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1258 eval $ac_var=\
$ac_val;;
1260 # Be sure to have absolute directory names.
1262 [\\/$
]* | ?
:[\\/]* ) continue;;
1263 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1265 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1266 { (exit 1); exit 1; }; }
1269 # There might be people who depend on the old broken behavior: `$host'
1270 # used to hold the argument of --host etc.
1271 # FIXME: To remove some day.
1274 target
=$target_alias
1276 # FIXME: To remove some day.
1277 if test "x$host_alias" != x
; then
1278 if test "x$build_alias" = x
; then
1279 cross_compiling
=maybe
1280 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1281 If a cross compiler is detected then cross compile mode will be used." >&2
1282 elif test "x$build_alias" != "x$host_alias"; then
1288 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1290 test "$silent" = yes && exec 6>/dev
/null
1293 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1294 ac_ls_di
=`ls -di .` &&
1295 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1296 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1297 { (exit 1); exit 1; }; }
1298 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1299 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1300 { (exit 1); exit 1; }; }
1303 # Find the source files, if location was not specified.
1304 if test -z "$srcdir"; then
1305 ac_srcdir_defaulted
=yes
1306 # Try the directory containing this script, then the parent directory.
1307 ac_confdir
=`$as_dirname -- "$as_myself" ||
1308 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1309 X"$as_myself" : 'X\(//\)[^/]' \| \
1310 X"$as_myself" : 'X\(//\)$' \| \
1311 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1312 $as_echo X"$as_myself" |
1313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1331 if test ! -r "$srcdir/$ac_unique_file"; then
1335 ac_srcdir_defaulted
=no
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1338 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1339 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1340 { (exit 1); exit 1; }; }
1342 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1344 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1345 { (exit 1); exit 1; }; }
1347 # When building in place, set srcdir=.
1348 if test "$ac_abs_confdir" = "$ac_pwd"; then
1351 # Remove unnecessary trailing slashes from srcdir.
1352 # Double slashes in file names in object file debugging info
1353 # mess up M-x gdb in Emacs.
1355 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1357 for ac_var
in $ac_precious_vars; do
1358 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1359 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1360 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1361 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1365 # Report the --help message.
1367 if test "$ac_init_help" = "long"; then
1368 # Omit some internal or obsolete options to make the list less imposing.
1369 # This message is too long to be a string in the A/UX 3.1 sh.
1371 \`configure' configures gpiv 0.6.0 to adapt to many kinds of systems.
1373 Usage: $0 [OPTION]... [VAR=VALUE]...
1375 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1376 VAR=VALUE. See below for descriptions of some of the useful variables.
1378 Defaults for the options are specified in brackets.
1381 -h, --help display this help and exit
1382 --help=short display options specific to this package
1383 --help=recursive display the short help of all the included packages
1384 -V, --version display version information and exit
1385 -q, --quiet, --silent do not print \`checking...' messages
1386 --cache-file=FILE cache test results in FILE [disabled]
1387 -C, --config-cache alias for \`--cache-file=config.cache'
1388 -n, --no-create do not create output files
1389 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1391 Installation directories:
1392 --prefix=PREFIX install architecture-independent files in PREFIX
1393 [$ac_default_prefix]
1394 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1397 By default, \`make install' will install all the files in
1398 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1399 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1400 for instance \`--prefix=\$HOME'.
1402 For better control, use the options below.
1404 Fine tuning of the installation directories:
1405 --bindir=DIR user executables [EPREFIX/bin]
1406 --sbindir=DIR system admin executables [EPREFIX/sbin]
1407 --libexecdir=DIR program executables [EPREFIX/libexec]
1408 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1409 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1410 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1411 --libdir=DIR object code libraries [EPREFIX/lib]
1412 --includedir=DIR C header files [PREFIX/include]
1413 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1414 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1415 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1416 --infodir=DIR info documentation [DATAROOTDIR/info]
1417 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1418 --mandir=DIR man documentation [DATAROOTDIR/man]
1419 --docdir=DIR documentation root [DATAROOTDIR/doc/gpiv]
1420 --htmldir=DIR html documentation [DOCDIR]
1421 --dvidir=DIR dvi documentation [DOCDIR]
1422 --pdfdir=DIR pdf documentation [DOCDIR]
1423 --psdir=DIR ps documentation [DOCDIR]
1429 --program-prefix=PREFIX prepend PREFIX to installed program names
1430 --program-suffix=SUFFIX append SUFFIX to installed program names
1431 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1435 if test -n "$ac_init_help"; then
1436 case $ac_init_help in
1437 short | recursive
) echo "Configuration of gpiv 0.6.0:";;
1442 --disable-option-checking ignore unrecognized
--enable/--with options
1443 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1444 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1445 --enable-maintainer-mode enable make rules and dependencies not useful
1446 (and sometimes confusing
) to the casual installer
1447 --disable-dependency-tracking speeds up one-time build
1448 --enable-dependency-tracking do not reject slow dependency extractors
1449 --disable-nls do not use Native Language Support
1450 --enable-mpi enable Message Protocol Interface
(MPI
)
1451 --enable-cam enable data acquisition
1452 --enable-trig enable (realtime
) triggering
1453 --enable-rta=RTA_DIR place where the RTAI code resides
1454 (default
/usr
/lib
/realtime
)
1455 --enable-k=K_DIR place where the installed kernel
1457 (default
/usr
/src
/kernel-headers-2.4
.27-adeos)
1458 --enable-img-width=WIDTH maximum image width to be used
(default SVGA
)
1459 --enable-img-height=HEIGHT maximum image height to be used
(default SVGA
)
1460 --enable-canvas-aa Use Anti Aliased canvas
for viewer
; slower but
1461 better displaying of image and resulting data
1462 --enable-debug debug version
(more verbose
)
1464 Some influential environment variables
:
1465 CC C compiler
command
1466 CFLAGS C compiler flags
1467 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1468 nonstandard directory
<lib dir
>
1469 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1470 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1471 you have headers
in a nonstandard directory
<include dir
>
1473 PKG_CONFIG path to pkg-config utility
1475 C compiler flags
for GPIV_UI
, overriding pkg-config
1477 linker flags
for GPIV_UI
, overriding pkg-config
1479 C compiler flags
for GPIV_PRINT
, overriding pkg-config
1481 linker flags
for GPIV_PRINT
, overriding pkg-config
1482 GPIV_CFLAGS C compiler flags
for GPIV
, overriding pkg-config
1483 GPIV_LIBS linker flags
for GPIV
, overriding pkg-config
1485 Use these variables to override the choices made by
`configure' or to help
1486 it to find libraries and programs with nonstandard names/locations.
1488 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv>.
1493 if test "$ac_init_help" = "recursive"; then
1494 # If there are subdirs, report their specific --help.
1495 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1496 test -d "$ac_dir" ||
1497 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1502 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1504 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1505 # A ".." for each directory in $ac_dir_suffix.
1506 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1507 case $ac_top_builddir_sub in
1508 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1509 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1512 ac_abs_top_builddir=$ac_pwd
1513 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1514 # for backward compatibility:
1515 ac_top_builddir=$ac_top_build_prefix
1518 .) # We are building in place.
1520 ac_top_srcdir=$ac_top_builddir_sub
1521 ac_abs_top_srcdir=$ac_pwd ;;
1522 [\\/]* | ?:[\\/]* ) # Absolute name.
1523 ac_srcdir=$srcdir$ac_dir_suffix;
1524 ac_top_srcdir=$srcdir
1525 ac_abs_top_srcdir=$srcdir ;;
1527 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1528 ac_top_srcdir=$ac_top_build_prefix$srcdir
1529 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1531 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1533 cd "$ac_dir" || { ac_status=$?; continue; }
1534 # Check for guested configure.
1535 if test -f "$ac_srcdir/configure.gnu"; then
1537 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1538 elif test -f "$ac_srcdir/configure"; then
1540 $SHELL "$ac_srcdir/configure" --help=recursive
1542 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1544 cd "$ac_pwd" || { ac_status=$?; break; }
1548 test -n "$ac_init_help" && exit $ac_status
1549 if $ac_init_version; then
1551 gpiv configure 0.6.0
1552 generated by GNU Autoconf 2.63
1554 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1555 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1556 This configure script is free software; the Free Software Foundation
1557 gives unlimited permission to copy, distribute and modify it.
1561 cat >config.log <<_ACEOF
1562 This file contains any messages produced by compilers while
1563 running configure, to aid debugging if configure makes a mistake.
1565 It was created by gpiv $as_me 0.6.0, which was
1566 generated by GNU Autoconf 2.63. Invocation command line was
1578 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1579 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1580 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1581 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1582 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1584 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1585 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1587 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1588 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1589 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1590 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1591 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1592 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1593 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601 test -z "$as_dir" && as_dir=.
1602 $as_echo "PATH: $as_dir"
1618 # Keep a trace of the command line.
1619 # Strip out --no-create and --no-recursion so they do not pile up.
1620 # Strip out --silent because we don't want to record it for future runs.
1621 # Also quote any args containing shell meta-characters.
1622 # Make two passes to allow for proper duplicate-argument suppression.
1626 ac_must_keep_next=false
1632 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1633 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1634 | -silent | --silent | --silen | --sile | --sil)
1637 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1640 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1642 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1643 if test $ac_must_keep_next = true; then
1644 ac_must_keep_next=false # Got value, back to normal.
1647 *=* | --config-cache | -C | -disable-* | --disable-* \
1648 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1649 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1650 | -with-* | --with-* | -without-* | --without-* | --x)
1651 case "$ac_configure_args0 " in
1652 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1655 -* ) ac_must_keep_next=true ;;
1658 ac_configure_args="$ac_configure_args '$ac_arg'"
1663 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1664 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1666 # When interrupted or exit'd, cleanup temporary files, and complete
1667 # config.log. We remove comments because anyway the quotes in there
1668 # would cause problems or look ugly.
1669 # WARNING: Use '\'' to represent an apostrophe within the trap.
1670 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1671 trap 'exit_status=$?
1672 # Save into config.log some information that might help in debugging.
1677 ## ---------------- ##
1678 ## Cache variables. ##
1679 ## ---------------- ##
1682 # The following way of writing the cache mishandles newlines in values,
1684 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1685 eval ac_val=\$$ac_var
1689 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1690 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1693 _ | IFS | as_nl) ;; #(
1694 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1695 *) $as_unset $ac_var ;;
1700 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1701 *${as_nl}ac_space=\ *)
1703 "s/'\''/'\''\\\\'\'''\''/g;
1704 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1707 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1715 ## ----------------- ##
1716 ## Output variables. ##
1717 ## ----------------- ##
1720 for ac_var in $ac_subst_vars
1722 eval ac_val=\$$ac_var
1724 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1726 $as_echo "$ac_var='\''$ac_val'\''"
1730 if test -n "$ac_subst_files"; then
1732 ## ------------------- ##
1733 ## File substitutions. ##
1734 ## ------------------- ##
1737 for ac_var in $ac_subst_files
1739 eval ac_val=\$$ac_var
1741 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1743 $as_echo "$ac_var='\''$ac_val'\''"
1748 if test -s confdefs.h; then
1758 test "$ac_signal" != 0 &&
1759 $as_echo "$as_me: caught signal $ac_signal"
1760 $as_echo "$as_me: exit $exit_status"
1762 rm -f core *.core core.conftest.* &&
1763 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1766 for ac_signal in 1 2 13 15; do
1767 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1771 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1772 rm -f -r conftest* confdefs.h
1774 # Predefined preprocessor variables.
1776 cat >>confdefs.h <<_ACEOF
1777 #define PACKAGE_NAME "$PACKAGE_NAME"
1781 cat >>confdefs.h <<_ACEOF
1782 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1786 cat >>confdefs.h <<_ACEOF
1787 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1791 cat >>confdefs.h <<_ACEOF
1792 #define PACKAGE_STRING "$PACKAGE_STRING"
1796 cat >>confdefs.h <<_ACEOF
1797 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1801 # Let the site file select an alternate cache file if it wants to.
1802 # Prefer an explicitly selected file to automatically selected ones.
1805 if test -n "$CONFIG_SITE"; then
1806 ac_site_file1=$CONFIG_SITE
1807 elif test "x$prefix" != xNONE; then
1808 ac_site_file1=$prefix/share/config.site
1809 ac_site_file2=$prefix/etc/config.site
1811 ac_site_file1=$ac_default_prefix/share/config.site
1812 ac_site_file2=$ac_default_prefix/etc/config.site
1814 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1816 test "x$ac_site_file" = xNONE && continue
1817 if test -r "$ac_site_file"; then
1818 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1819 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1820 sed 's/^/| /' "$ac_site_file" >&5
1825 if test -r "$cache_file"; then
1826 # Some versions of bash will fail to source /dev/null (special
1827 # files actually), so we avoid doing that.
1828 if test -f "$cache_file"; then
1829 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1830 $as_echo "$as_me: loading cache $cache_file" >&6;}
1832 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1833 *) . "./$cache_file";;
1837 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1838 $as_echo "$as_me: creating cache $cache_file" >&6;}
1842 # Check that the precious variables saved in the cache have kept the same
1844 ac_cache_corrupted=false
1845 for ac_var in $ac_precious_vars; do
1846 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1847 eval ac_new_set=\$ac_env_${ac_var}_set
1848 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1849 eval ac_new_val=\$ac_env_${ac_var}_value
1850 case $ac_old_set,$ac_new_set in
1852 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1853 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1854 ac_cache_corrupted=: ;;
1856 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1857 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1858 ac_cache_corrupted=: ;;
1861 if test "x$ac_old_val" != "x$ac_new_val"; then
1862 # differences in whitespace do not lead to failure.
1863 ac_old_val_w=`echo x
$ac_old_val`
1864 ac_new_val_w=`echo x
$ac_new_val`
1865 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1866 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1867 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1868 ac_cache_corrupted=:
1870 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1871 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1872 eval $ac_var=\$ac_old_val
1874 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1875 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1876 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1877 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1880 # Pass precious variables to config.status.
1881 if test "$ac_new_set" = set; then
1883 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1884 *) ac_arg=$ac_var=$ac_new_val ;;
1886 case " $ac_configure_args " in
1887 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1888 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1892 if $ac_cache_corrupted; then
1893 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1895 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1896 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1897 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1898 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1899 { (exit 1); exit 1; }; }
1927 ac_cpp='$CPP $CPPFLAGS'
1928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1933 am__api_version='1.10'
1936 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
1937 if test -f "$ac_dir/install-sh
"; then
1939 ac_install_sh="$ac_aux_dir/install-sh
-c"
1941 elif test -f "$ac_dir/install.sh
"; then
1943 ac_install_sh="$ac_aux_dir/install.sh
-c"
1945 elif test -f "$ac_dir/shtool
"; then
1947 ac_install_sh="$ac_aux_dir/shtool
install -c"
1951 if test -z "$ac_aux_dir"; then
1952 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
1953 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
1954 { (exit 1); exit 1; }; }
1957 # These three variables are undocumented and unsupported,
1958 # and are intended to be withdrawn in a future Autoconf release.
1959 # They can cause serious problems if a builder's source tree is in a directory
1960 # whose full name contains unusual characters.
1961 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
1962 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
1963 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
1966 # Find a good install program. We prefer a C program (faster),
1967 # so one script is as good as another. But avoid the broken or
1968 # incompatible versions:
1969 # SysV /etc/install, /usr/sbin/install
1970 # SunOS /usr/etc/install
1971 # IRIX /sbin/install
1973 # AmigaOS /C/install, which installs bootblocks on floppy discs
1974 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1975 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1976 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1977 # OS/2's system install, which has a completely different semantic
1978 # ./install, which can be erroneously created by make from ./install.sh.
1979 # Reject install programs that cannot install multiple files.
1980 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
1981 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
1982 if test -z "$INSTALL"; then
1983 if test "${ac_cv_path_install+set}" = set; then
1984 $as_echo_n "(cached
) " >&6
1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990 test -z "$as_dir" && as_dir=.
1991 # Account for people who put trailing slashes in PATH elements.
1993 ./ | .// | /cC/* | \
1994 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1995 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1998 # OSF1 and SCO ODT 3.0 have their own names for install.
1999 # Don't use installbsd from OSF since it installs stuff as root
2001 for ac_prog in ginstall scoinst install; do
2002 for ac_exec_ext in '' $ac_executable_extensions; do
2003 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2004 if test $ac_prog = install &&
2005 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2006 # AIX install. It has an incompatible calling convention.
2008 elif test $ac_prog = install &&
2009 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2010 # program-specific install script used by HP pwplus--don't use.
2013 rm -rf conftest.one conftest.two conftest.dir
2014 echo one > conftest.one
2015 echo two > conftest.two
2017 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2018 test -s conftest.one && test -s conftest.two &&
2019 test -s conftest.dir/conftest.one &&
2020 test -s conftest.dir/conftest.two
2022 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2035 rm -rf conftest.one conftest.two conftest.dir
2038 if test "${ac_cv_path_install+set}" = set; then
2039 INSTALL=$ac_cv_path_install
2041 # As a last resort, use the slow shell script. Don't cache a
2042 # value for INSTALL within a source directory, because that will
2043 # break other packages using the cache if that directory is
2044 # removed, or if the value is a relative name.
2045 INSTALL=$ac_install_sh
2048 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2049 $as_echo "$INSTALL" >&6; }
2051 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2052 # It thinks the first close brace ends the variable substitution.
2053 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2055 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2057 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2059 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2060 $as_echo_n "checking whether build environment is sane...
" >&6; }
2063 echo timestamp > conftest.file
2064 # Do `set' in a subshell so we don't clobber the current shell's
2065 # arguments. Must try -L first in case configure is actually a
2066 # symlink; some systems play weird games with the mod time of symlinks
2067 # (eg FreeBSD returns the mod time of the symlink's containing
2070 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2071 if test "$
*" = "X
"; then
2073 set X `ls -t $srcdir/configure conftest.file`
2076 if test "$
*" != "X
$srcdir/configure conftest.
file" \
2077 && test "$
*" != "X conftest.
file $srcdir/configure
"; then
2079 # If neither matched, then we have a broken ls. This can happen
2080 # if, for instance, CONFIG_SHELL is bash and it inherits a
2081 # broken ls alias from the environment. This has actually
2082 # happened. Such a system could not be considered "sane
".
2083 { { $as_echo "$as_me:$LINENO: error
: ls -t appears to fail. Make sure there is not a broken
2084 alias in your environment
" >&5
2085 $as_echo "$as_me: error
: ls -t appears to fail. Make sure there is not a broken
2086 alias in your environment
" >&2;}
2087 { (exit 1); exit 1; }; }
2090 test "$2" = conftest.file
2096 { { $as_echo "$as_me:$LINENO: error
: newly created
file is older than distributed files
!
2097 Check your system
clock" >&5
2098 $as_echo "$as_me: error
: newly created
file is older than distributed files
!
2099 Check your system
clock" >&2;}
2100 { (exit 1); exit 1; }; }
2102 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2103 $as_echo "yes" >&6; }
2104 test "$program_prefix" != NONE &&
2105 program_transform_name="s
&^
&$program_prefix&;$program_transform_name"
2106 # Use a double $ so make ignores it.
2107 test "$program_suffix" != NONE &&
2108 program_transform_name="s
&\$
&$program_suffix&;$program_transform_name"
2109 # Double any \ or $.
2110 # By default was `s,x,x', remove it if useless.
2111 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2112 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2114 # expand $ac_aux_dir to an absolute path
2115 am_aux_dir=`cd $ac_aux_dir && pwd`
2117 test x"${MISSING+set}" = xset || MISSING="\
${SHELL} $am_aux_dir/missing
"
2118 # Use eval to expand $SHELL
2119 if eval "$MISSING --run true
"; then
2120 am_missing_run="$MISSING --run "
2123 { $as_echo "$as_me:$LINENO: WARNING
: \
`missing' script is too old or missing" >&5
2124 $as_echo "$as_me: WARNING: \`missing
' script is too old or missing" >&2;}
2127 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2128 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2129 if test -z "$MKDIR_P"; then
2130 if test "${ac_cv_path_mkdir+set}" = set; then
2131 $as_echo_n "(cached) " >&6
2133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2137 test -z "$as_dir" && as_dir=.
2138 for ac_prog in mkdir gmkdir; do
2139 for ac_exec_ext in '' $ac_executable_extensions; do
2140 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2141 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2142 'mkdir
(GNU coreutils
) '* | \
2143 'mkdir
(coreutils
) '* | \
2144 'mkdir
(fileutils
) '4.1*)
2145 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2155 if test "${ac_cv_path_mkdir+set}" = set; then
2156 MKDIR_P="$ac_cv_path_mkdir -p"
2158 # As a last resort, use the slow shell script. Don't cache a
2159 # value for MKDIR_P within a source directory, because that will
2160 # break other packages using the cache if that directory is
2161 # removed, or if the value is a relative name.
2162 test -d .
/--version && rmdir .
/--version
2163 MKDIR_P
="$ac_install_sh -d"
2166 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2167 $as_echo "$MKDIR_P" >&6; }
2171 [\\/$
]* | ?
:[\\/]*) ;;
2172 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2175 for ac_prog
in gawk mawk nawk
awk
2177 # Extract the first word of "$ac_prog", so it can be a program name with args.
2178 set dummy
$ac_prog; ac_word
=$2
2179 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2180 $as_echo_n "checking for $ac_word... " >&6; }
2181 if test "${ac_cv_prog_AWK+set}" = set; then
2182 $as_echo_n "(cached) " >&6
2184 if test -n "$AWK"; then
2185 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2191 test -z "$as_dir" && as_dir
=.
2192 for ac_exec_ext
in '' $ac_executable_extensions; do
2193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2194 ac_cv_prog_AWK
="$ac_prog"
2195 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 if test -n "$AWK"; then
2206 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2207 $as_echo "$AWK" >&6; }
2209 { $as_echo "$as_me:$LINENO: result: no" >&5
2210 $as_echo "no" >&6; }
2214 test -n "$AWK" && break
2217 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2218 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2220 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2221 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2222 $as_echo_n "(cached) " >&6
2224 cat >conftest.
make <<\_ACEOF
2227 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2229 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2230 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2232 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2234 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2238 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2239 { $as_echo "$as_me:$LINENO: result: yes" >&5
2240 $as_echo "yes" >&6; }
2243 { $as_echo "$as_me:$LINENO: result: no" >&5
2244 $as_echo "no" >&6; }
2245 SET_MAKE
="MAKE=${MAKE-make}"
2248 rm -rf .tst
2>/dev
/null
2249 mkdir .tst
2>/dev
/null
2250 if test -d .tst
; then
2255 rmdir .tst
2>/dev
/null
2257 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2258 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2259 # is not polluted with repeated "-I."
2260 am__isrc
=' -I$(srcdir)'
2261 # test to see if srcdir already configured
2262 if test -f $srcdir/config.status
; then
2263 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2264 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2265 { (exit 1); exit 1; }; }
2269 # test whether we have cygpath
2270 if test -z "$CYGPATH_W"; then
2271 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2272 CYGPATH_W
='cygpath -w'
2279 # Define the identity of the package.
2284 cat >>confdefs.h
<<_ACEOF
2285 #define PACKAGE "$PACKAGE"
2289 cat >>confdefs.h
<<_ACEOF
2290 #define VERSION "$VERSION"
2293 # Some tools Automake needs.
2295 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2298 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2301 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2304 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2307 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2309 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2311 # Installed binaries are usually stripped using `strip' when the user
2312 # run `make install-strip'. However `strip' might not be the right
2313 # tool to use in cross-compilation environments, therefore Automake
2314 # will honor the `STRIP' environment variable to overrule this program.
2315 if test "$cross_compiling" != no
; then
2316 if test -n "$ac_tool_prefix"; then
2317 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2318 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2319 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2320 $as_echo_n "checking for $ac_word... " >&6; }
2321 if test "${ac_cv_prog_STRIP+set}" = set; then
2322 $as_echo_n "(cached) " >&6
2324 if test -n "$STRIP"; then
2325 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2331 test -z "$as_dir" && as_dir
=.
2332 for ac_exec_ext
in '' $ac_executable_extensions; do
2333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2334 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2335 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 STRIP
=$ac_cv_prog_STRIP
2345 if test -n "$STRIP"; then
2346 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2347 $as_echo "$STRIP" >&6; }
2349 { $as_echo "$as_me:$LINENO: result: no" >&5
2350 $as_echo "no" >&6; }
2355 if test -z "$ac_cv_prog_STRIP"; then
2357 # Extract the first word of "strip", so it can be a program name with args.
2358 set dummy strip
; ac_word
=$2
2359 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2360 $as_echo_n "checking for $ac_word... " >&6; }
2361 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2362 $as_echo_n "(cached) " >&6
2364 if test -n "$ac_ct_STRIP"; then
2365 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2371 test -z "$as_dir" && as_dir
=.
2372 for ac_exec_ext
in '' $ac_executable_extensions; do
2373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2374 ac_cv_prog_ac_ct_STRIP
="strip"
2375 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2384 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2385 if test -n "$ac_ct_STRIP"; then
2386 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2387 $as_echo "$ac_ct_STRIP" >&6; }
2389 { $as_echo "$as_me:$LINENO: result: no" >&5
2390 $as_echo "no" >&6; }
2393 if test "x$ac_ct_STRIP" = x
; then
2396 case $cross_compiling:$ac_tool_warned in
2398 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2400 ac_tool_warned
=yes ;;
2405 STRIP
="$ac_cv_prog_STRIP"
2409 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2411 # We need awk for the "check" target. The system "awk" is bad on
2413 # Always define AMTAR for backward compatibility.
2415 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2417 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2423 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2424 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2425 # Check whether --enable-maintainer-mode was given.
2426 if test "${enable_maintainer_mode+set}" = set; then
2427 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2429 USE_MAINTAINER_MODE
=no
2432 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2433 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2434 if test $USE_MAINTAINER_MODE = yes; then
2435 MAINTAINER_MODE_TRUE
=
2436 MAINTAINER_MODE_FALSE
='#'
2438 MAINTAINER_MODE_TRUE
='#'
2439 MAINTAINER_MODE_FALSE
=
2442 MAINT
=$MAINTAINER_MODE_TRUE
2447 DEPDIR
="${am__leading_dot}deps"
2449 ac_config_commands
="$ac_config_commands depfiles"
2452 am_make
=${MAKE-make}
2453 cat > confinc
<< 'END'
2458 # If we don't find an include directive, just comment out the code.
2459 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2460 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2464 # First try GNU make style include.
2465 echo "include confinc" > confmf
2466 # We grep out `Entering directory' and `Leaving directory'
2467 # messages which can occur if `w' ends up in MAKEFLAGS.
2468 # In particular we don't look at `^make:' because GNU make might
2469 # be invoked under some other name (usually "gmake"), in which
2470 # case it prints its new name instead of `make'.
2471 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2476 # Now try BSD make style include.
2477 if test "$am__include" = "#"; then
2478 echo '.include "confinc"' > confmf
2479 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2480 am__include
=.include
2487 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2488 $as_echo "$_am_result" >&6; }
2489 rm -f confinc confmf
2491 # Check whether --enable-dependency-tracking was given.
2492 if test "${enable_dependency_tracking+set}" = set; then
2493 enableval
=$enable_dependency_tracking;
2496 if test "x$enable_dependency_tracking" != xno
; then
2497 am_depcomp
="$ac_aux_dir/depcomp"
2500 if test "x$enable_dependency_tracking" != xno; then
2510 ac_cpp
='$CPP $CPPFLAGS'
2511 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2512 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2513 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2514 if test -n "$ac_tool_prefix"; then
2515 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2516 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2517 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2518 $as_echo_n "checking for $ac_word... " >&6; }
2519 if test "${ac_cv_prog_CC+set}" = set; then
2520 $as_echo_n "(cached) " >&6
2522 if test -n "$CC"; then
2523 ac_cv_prog_CC
="$CC" # Let the user override the test.
2525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2529 test -z "$as_dir" && as_dir
=.
2530 for ac_exec_ext
in '' $ac_executable_extensions; do
2531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2533 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 if test -n "$CC"; then
2544 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2545 $as_echo "$CC" >&6; }
2547 { $as_echo "$as_me:$LINENO: result: no" >&5
2548 $as_echo "no" >&6; }
2553 if test -z "$ac_cv_prog_CC"; then
2555 # Extract the first word of "gcc", so it can be a program name with args.
2556 set dummy gcc
; ac_word
=$2
2557 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2558 $as_echo_n "checking for $ac_word... " >&6; }
2559 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2560 $as_echo_n "(cached) " >&6
2562 if test -n "$ac_ct_CC"; then
2563 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2569 test -z "$as_dir" && as_dir
=.
2570 for ac_exec_ext
in '' $ac_executable_extensions; do
2571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2572 ac_cv_prog_ac_ct_CC
="gcc"
2573 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2582 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2583 if test -n "$ac_ct_CC"; then
2584 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2585 $as_echo "$ac_ct_CC" >&6; }
2587 { $as_echo "$as_me:$LINENO: result: no" >&5
2588 $as_echo "no" >&6; }
2591 if test "x$ac_ct_CC" = x
; then
2594 case $cross_compiling:$ac_tool_warned in
2596 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2597 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2598 ac_tool_warned
=yes ;;
2606 if test -z "$CC"; then
2607 if test -n "$ac_tool_prefix"; then
2608 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2609 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2610 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2611 $as_echo_n "checking for $ac_word... " >&6; }
2612 if test "${ac_cv_prog_CC+set}" = set; then
2613 $as_echo_n "(cached) " >&6
2615 if test -n "$CC"; then
2616 ac_cv_prog_CC
="$CC" # Let the user override the test.
2618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2622 test -z "$as_dir" && as_dir
=.
2623 for ac_exec_ext
in '' $ac_executable_extensions; do
2624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2625 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2626 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2636 if test -n "$CC"; then
2637 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2638 $as_echo "$CC" >&6; }
2640 { $as_echo "$as_me:$LINENO: result: no" >&5
2641 $as_echo "no" >&6; }
2647 if test -z "$CC"; then
2648 # Extract the first word of "cc", so it can be a program name with args.
2649 set dummy cc
; ac_word
=$2
2650 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2651 $as_echo_n "checking for $ac_word... " >&6; }
2652 if test "${ac_cv_prog_CC+set}" = set; then
2653 $as_echo_n "(cached) " >&6
2655 if test -n "$CC"; then
2656 ac_cv_prog_CC
="$CC" # Let the user override the test.
2659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2663 test -z "$as_dir" && as_dir
=.
2664 for ac_exec_ext
in '' $ac_executable_extensions; do
2665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2666 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2667 ac_prog_rejected
=yes
2671 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2678 if test $ac_prog_rejected = yes; then
2679 # We found a bogon in the path, so make sure we never use it.
2680 set dummy
$ac_cv_prog_CC
2682 if test $# != 0; then
2683 # We chose a different compiler from the bogus one.
2684 # However, it has the same basename, so the bogon will be chosen
2685 # first if we set CC to just the basename; use the full file name.
2687 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2693 if test -n "$CC"; then
2694 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2695 $as_echo "$CC" >&6; }
2697 { $as_echo "$as_me:$LINENO: result: no" >&5
2698 $as_echo "no" >&6; }
2703 if test -z "$CC"; then
2704 if test -n "$ac_tool_prefix"; then
2705 for ac_prog
in cl.exe
2707 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2708 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2709 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2710 $as_echo_n "checking for $ac_word... " >&6; }
2711 if test "${ac_cv_prog_CC+set}" = set; then
2712 $as_echo_n "(cached) " >&6
2714 if test -n "$CC"; then
2715 ac_cv_prog_CC
="$CC" # Let the user override the test.
2717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2721 test -z "$as_dir" && as_dir
=.
2722 for ac_exec_ext
in '' $ac_executable_extensions; do
2723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2724 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2725 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2735 if test -n "$CC"; then
2736 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2737 $as_echo "$CC" >&6; }
2739 { $as_echo "$as_me:$LINENO: result: no" >&5
2740 $as_echo "no" >&6; }
2744 test -n "$CC" && break
2747 if test -z "$CC"; then
2749 for ac_prog
in cl.exe
2751 # Extract the first word of "$ac_prog", so it can be a program name with args.
2752 set dummy
$ac_prog; ac_word
=$2
2753 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2754 $as_echo_n "checking for $ac_word... " >&6; }
2755 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2756 $as_echo_n "(cached) " >&6
2758 if test -n "$ac_ct_CC"; then
2759 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2765 test -z "$as_dir" && as_dir
=.
2766 for ac_exec_ext
in '' $ac_executable_extensions; do
2767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2768 ac_cv_prog_ac_ct_CC
="$ac_prog"
2769 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2778 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2779 if test -n "$ac_ct_CC"; then
2780 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2781 $as_echo "$ac_ct_CC" >&6; }
2783 { $as_echo "$as_me:$LINENO: result: no" >&5
2784 $as_echo "no" >&6; }
2788 test -n "$ac_ct_CC" && break
2791 if test "x$ac_ct_CC" = x
; then
2794 case $cross_compiling:$ac_tool_warned in
2796 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2798 ac_tool_warned
=yes ;;
2807 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2809 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2810 See \`config.log' for more details." >&5
2811 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2812 See \`config.log' for more details." >&2;}
2813 { (exit 1); exit 1; }; }; }
2815 # Provide some information about the compiler.
2816 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2819 { (ac_try
="$ac_compiler --version >&5"
2821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2825 $as_echo "$ac_try_echo") >&5
2826 (eval "$ac_compiler --version >&5") 2>&5
2828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); }
2830 { (ac_try="$ac_compiler -v >&5"
2832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2833 *) ac_try_echo
=$ac_try;;
2835 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2836 $as_echo "$ac_try_echo") >&5
2837 (eval "$ac_compiler -v >&5") 2>&5
2839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }
2841 { (ac_try
="$ac_compiler -V >&5"
2843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2847 $as_echo "$ac_try_echo") >&5
2848 (eval "$ac_compiler -V >&5") 2>&5
2850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }
2853 cat >conftest.$ac_ext <<_ACEOF
2856 cat confdefs.h >>conftest.$ac_ext
2857 cat >>conftest.$ac_ext <<_ACEOF
2858 /* end confdefs.h. */
2868 ac_clean_files_save=$ac_clean_files
2869 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2870 # Try to create an executable without -o first, disregard a.out.
2871 # It will help us diagnose broken compilers, and finding out an intuition
2873 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2874 $as_echo_n "checking for C compiler default output file name... " >&6; }
2875 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2877 # The possible output files:
2878 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2881 for ac_file in $ac_files
2884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2885 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2890 if { (ac_try="$ac_link_default"
2892 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2893 *) ac_try_echo
=$ac_try;;
2895 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2896 $as_echo "$ac_try_echo") >&5
2897 (eval "$ac_link_default") 2>&5
2899 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; then
2901 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2902 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2903 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2904 # so that the user can short-circuit this test for compilers unknown to
2906 for ac_file
in $ac_files ''
2908 test -f "$ac_file" ||
continue
2910 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2913 # We found the default executable, but exeext='' is most
2917 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2919 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2921 # We set ac_cv_exeext here because the later test for it is not
2922 # safe: cross compilers may not add the suffix if given an `-o'
2923 # argument, so we may need to know it at that point already.
2924 # Even if this section looks crufty: it has the advantage of
2931 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2937 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2938 $as_echo "$ac_file" >&6; }
2939 if test -z "$ac_file"; then
2940 $as_echo "$as_me: failed program was:" >&5
2941 sed 's/^/| /' conftest.
$ac_ext >&5
2943 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2945 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2946 See \`config.log' for more details." >&5
2947 $as_echo "$as_me: error: C compiler cannot create executables
2948 See \`config.log' for more details." >&2;}
2949 { (exit 77); exit 77; }; }; }
2952 ac_exeext
=$ac_cv_exeext
2954 # Check that the compiler produces executables we can run. If not, either
2955 # the compiler is broken, or we cross compile.
2956 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2957 $as_echo_n "checking whether the C compiler works... " >&6; }
2958 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2959 # If not cross compiling, check that we can run a simple program.
2960 if test "$cross_compiling" != yes; then
2961 if { ac_try
='./$ac_file'
2962 { (case "(($ac_try" in
2963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2967 $as_echo "$ac_try_echo") >&5
2968 (eval "$ac_try") 2>&5
2970 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); }; }; then
2974 if test "$cross_compiling" = maybe; then
2977 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2979 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2980 If you meant to cross compile
, use \
`--host'.
2981 See \`config.log
' for more details." >&5
2982 $as_echo "$as_me: error: cannot run C compiled programs.
2983 If you meant to cross compile, use \`--host'.
2984 See \
`config.log' for more details." >&2;}
2985 { (exit 1); exit 1; }; }; }
2989 { $as_echo "$as_me:$LINENO: result: yes" >&5
2990 $as_echo "yes" >&6; }
2992 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2993 ac_clean_files=$ac_clean_files_save
2994 # Check that the compiler produces executables we can run. If not, either
2995 # the compiler is broken, or we cross compile.
2996 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2997 $as_echo_n "checking whether we are cross compiling... " >&6; }
2998 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2999 $as_echo "$cross_compiling" >&6; }
3001 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3002 $as_echo_n "checking for suffix of executables... " >&6; }
3003 if { (ac_try="$ac_link"
3005 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3006 *) ac_try_echo
=$ac_try;;
3008 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3009 $as_echo "$ac_try_echo") >&5
3010 (eval "$ac_link") 2>&5
3012 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); }; then
3014 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3015 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3016 # work properly (i.e., refer to `conftest.exe'), while it won't with
3018 for ac_file
in conftest.exe conftest conftest.
*; do
3019 test -f "$ac_file" ||
continue
3021 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3022 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3028 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3030 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3031 See \`config.log' for more details." >&5
3032 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3033 See \`config.log' for more details." >&2;}
3034 { (exit 1); exit 1; }; }; }
3037 rm -f conftest
$ac_cv_exeext
3038 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3039 $as_echo "$ac_cv_exeext" >&6; }
3041 rm -f conftest.
$ac_ext
3042 EXEEXT
=$ac_cv_exeext
3044 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3045 $as_echo_n "checking for suffix of object files... " >&6; }
3046 if test "${ac_cv_objext+set}" = set; then
3047 $as_echo_n "(cached) " >&6
3049 cat >conftest.
$ac_ext <<_ACEOF
3052 cat confdefs.h
>>conftest.
$ac_ext
3053 cat >>conftest.
$ac_ext <<_ACEOF
3054 /* end confdefs.h. */
3064 rm -f conftest.o conftest.obj
3065 if { (ac_try
="$ac_compile"
3067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3068 *) ac_try_echo=$ac_try;;
3070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3071 $as_echo "$ac_try_echo") >&5
3072 (eval "$ac_compile") 2>&5
3074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3075 (exit $ac_status); }; then
3076 for ac_file in conftest.o conftest.obj conftest.*; do
3077 test -f "$ac_file" || continue;
3079 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3080 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3085 $as_echo "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.$ac_ext >&5
3088 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3089 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3090 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3091 See \
`config.log' for more details." >&5
3092 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3093 See \`config.log
' for more details." >&2;}
3094 { (exit 1); exit 1; }; }; }
3097 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3099 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3100 $as_echo "$ac_cv_objext" >&6; }
3101 OBJEXT=$ac_cv_objext
3103 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3104 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3105 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3106 $as_echo_n "(cached) " >&6
3108 cat >conftest.$ac_ext <<_ACEOF
3111 cat confdefs.h >>conftest.$ac_ext
3112 cat >>conftest.$ac_ext <<_ACEOF
3113 /* end confdefs.h. */
3126 rm -f conftest.$ac_objext
3127 if { (ac_try="$ac_compile"
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3133 $as_echo "$ac_try_echo") >&5
3134 (eval "$ac_compile") 2>conftest.er1
3136 grep -v '^
*+' conftest.er1 >conftest.err
3138 cat conftest.err >&5
3139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } && {
3141 test -z "$ac_c_werror_flag" ||
3142 test ! -s conftest.err
3143 } && test -s conftest.$ac_objext; then
3146 $as_echo "$as_me: failed program was:" >&5
3147 sed 's
/^
/|
/' conftest.$ac_ext >&5
3152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3153 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3156 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3157 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3158 if test $ac_compiler_gnu = yes; then
3163 ac_test_CFLAGS=${CFLAGS+set}
3164 ac_save_CFLAGS=$CFLAGS
3165 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3166 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3167 if test "${ac_cv_prog_cc_g+set}" = set; then
3168 $as_echo_n "(cached) " >&6
3170 ac_save_c_werror_flag=$ac_c_werror_flag
3171 ac_c_werror_flag=yes
3174 cat >conftest.$ac_ext <<_ACEOF
3177 cat confdefs.h >>conftest.$ac_ext
3178 cat >>conftest.$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3189 rm -f conftest.$ac_objext
3190 if { (ac_try="$ac_compile"
3192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193 *) ac_try_echo=$ac_try;;
3195 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3196 $as_echo "$ac_try_echo") >&5
3197 (eval "$ac_compile") 2>conftest.er1
3199 grep -v '^
*+' conftest.er1 >conftest.err
3201 cat conftest.err >&5
3202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); } && {
3204 test -z "$ac_c_werror_flag" ||
3205 test ! -s conftest.err
3206 } && test -s conftest.$ac_objext; then
3209 $as_echo "$as_me: failed program was:" >&5
3210 sed 's
/^
/|
/' conftest.$ac_ext >&5
3213 cat >conftest.$ac_ext <<_ACEOF
3216 cat confdefs.h >>conftest.$ac_ext
3217 cat >>conftest.$ac_ext <<_ACEOF
3218 /* end confdefs.h. */
3228 rm -f conftest.$ac_objext
3229 if { (ac_try="$ac_compile"
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3235 $as_echo "$ac_try_echo") >&5
3236 (eval "$ac_compile") 2>conftest.er1
3238 grep -v '^
*+' conftest.er1 >conftest.err
3240 cat conftest.err >&5
3241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } && {
3243 test -z "$ac_c_werror_flag" ||
3244 test ! -s conftest.err
3245 } && test -s conftest.$ac_objext; then
3248 $as_echo "$as_me: failed program was:" >&5
3249 sed 's
/^
/|
/' conftest.$ac_ext >&5
3251 ac_c_werror_flag=$ac_save_c_werror_flag
3253 cat >conftest.$ac_ext <<_ACEOF
3256 cat confdefs.h >>conftest.$ac_ext
3257 cat >>conftest.$ac_ext <<_ACEOF
3258 /* end confdefs.h. */
3268 rm -f conftest.$ac_objext
3269 if { (ac_try="$ac_compile"
3271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3272 *) ac_try_echo=$ac_try;;
3274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3275 $as_echo "$ac_try_echo") >&5
3276 (eval "$ac_compile") 2>conftest.er1
3278 grep -v '^
*+' conftest.er1 >conftest.err
3280 cat conftest.err >&5
3281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); } && {
3283 test -z "$ac_c_werror_flag" ||
3284 test ! -s conftest.err
3285 } && test -s conftest.$ac_objext; then
3288 $as_echo "$as_me: failed program was:" >&5
3289 sed 's
/^
/|
/' conftest.$ac_ext >&5
3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3301 ac_c_werror_flag=$ac_save_c_werror_flag
3303 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3304 $as_echo "$ac_cv_prog_cc_g" >&6; }
3305 if test "$ac_test_CFLAGS" = set; then
3306 CFLAGS=$ac_save_CFLAGS
3307 elif test $ac_cv_prog_cc_g = yes; then
3308 if test "$GCC" = yes; then
3314 if test "$GCC" = yes; then
3320 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3321 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3322 if test "${ac_cv_prog_cc_c89+set}" = set; then
3323 $as_echo_n "(cached) " >&6
3325 ac_cv_prog_cc_c89=no
3327 cat >conftest.$ac_ext <<_ACEOF
3330 cat confdefs.h >>conftest.$ac_ext
3331 cat >>conftest.$ac_ext <<_ACEOF
3332 /* end confdefs.h. */
3335 #include <sys/types.h>
3336 #include <sys/stat.h>
3337 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3338 struct buf
{ int x
; };
3339 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3340 static char
*e
(p
, i
)
3346 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3351 s
= g
(p
, va_arg
(v
,int
));
3356 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3357 function prototypes and stuff
, but not
'\xHH' hex character constants.
3358 These don
't provoke an error unfortunately, instead are silently treated
3359 as 'x
'. The following induces an error, until -std is added to get
3360 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3361 array size at least. It's necessary to
write '\x00'==0 to get something
3362 that
's true only with -std. */
3363 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3365 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3366 inside strings and character constants. */
3368 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3370 int test (int i, double x);
3371 struct s1 {int (*f) (int a);};
3372 struct s2 {int (*f) (double a);};
3373 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3379 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3384 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3385 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3387 CC="$ac_save_CC $ac_arg"
3388 rm -f conftest.$ac_objext
3389 if { (ac_try="$ac_compile"
3391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392 *) ac_try_echo=$ac_try;;
3394 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3395 $as_echo "$ac_try_echo") >&5
3396 (eval "$ac_compile") 2>conftest.er1
3398 grep -v '^
*+' conftest.er1 >conftest.err
3400 cat conftest.err >&5
3401 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); } && {
3403 test -z "$ac_c_werror_flag" ||
3404 test ! -s conftest.err
3405 } && test -s conftest.$ac_objext; then
3406 ac_cv_prog_cc_c89=$ac_arg
3408 $as_echo "$as_me: failed program was:" >&5
3409 sed 's
/^
/|
/' conftest.$ac_ext >&5
3414 rm -f core conftest.err conftest.$ac_objext
3415 test "x$ac_cv_prog_cc_c89" != "xno" && break
3417 rm -f conftest.$ac_ext
3422 case "x$ac_cv_prog_cc_c89" in
3424 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3425 $as_echo "none needed" >&6; } ;;
3427 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3428 $as_echo "unsupported" >&6; } ;;
3430 CC="$CC $ac_cv_prog_cc_c89"
3431 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3432 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3437 ac_cpp='$CPP $CPPFLAGS'
3438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3439 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3442 depcc="$CC" am_compiler_list=
3444 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3445 $as_echo_n "checking dependency style of $depcc... " >&6; }
3446 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3447 $as_echo_n "(cached) " >&6
3449 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3450 # We make a subdir and do the tests there. Otherwise we can end up
3451 # making bogus files that we don't know about and never remove. For
3452 # instance it was reported that on HP-UX the gcc test will end up
3453 # making a dummy file named `D' -- because `-MD' means `put the output
3456 # Copy depcomp to subdir because otherwise we won't find it if we're
3457 # using a relative directory.
3458 cp "$am_depcomp" conftest.dir
3460 # We will build objects and dependencies in a subdirectory because
3461 # it helps to detect inapplicable dependency modes. For instance
3462 # both Tru64's cc and ICC support -MD to output dependencies as a
3463 # side effect of compilation, but ICC will put the dependencies in
3464 # the current directory while Tru64 will put them in the object
3468 am_cv_CC_dependencies_compiler_type
=none
3469 if test "$am_compiler_list" = ""; then
3470 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3472 for depmode
in $am_compiler_list; do
3473 # Setup a source with many dependencies, because some compilers
3474 # like to wrap large dependency lists on column 80 (with \), and
3475 # we should not choose a depcomp mode which is confused by this.
3477 # We need to recreate these files for each test, as the compiler may
3478 # overwrite some of them when testing with obscure command lines.
3479 # This happens at least with the AIX C compiler.
3481 for i
in 1 2 3 4 5 6; do
3482 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3483 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3484 # Solaris 8's {/usr,}/bin/sh.
3485 touch sub
/conftst
$i.h
3487 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3491 # after this tag, mechanisms are not by side-effect, so they'll
3492 # only be used when explicitly requested
3493 if test "x$enable_dependency_tracking" = xyes
; then
3501 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3502 # mode. It turns out that the SunPro C++ compiler does not properly
3503 # handle `-M -o', and we need to detect this.
3504 if depmode
=$depmode \
3505 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3506 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3507 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3508 >/dev
/null
2>conftest.err
&&
3509 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3510 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3511 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3512 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3513 # icc doesn't choke on unknown options, it will just issue warnings
3514 # or remarks (even with -Werror). So we grep stderr for any message
3515 # that says an option was ignored or not supported.
3516 # When given -MP, icc 7.0 and 7.1 complain thusly:
3517 # icc: Command line warning: ignoring option '-M'; no argument required
3518 # The diagnosis changed in icc 8.0:
3519 # icc: Command line remark: option '-MP' not supported
3520 if (grep 'ignoring option' conftest.err ||
3521 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3522 am_cv_CC_dependencies_compiler_type
=$depmode
3531 am_cv_CC_dependencies_compiler_type
=none
3535 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3536 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3537 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3540 test "x$enable_dependency_tracking" != xno \
3541 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3543 am__fastdepCC_FALSE
='#'
3545 am__fastdepCC_TRUE
='#'
3546 am__fastdepCC_FALSE
=
3551 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
3552 $as_echo_n "checking for library containing strerror... " >&6; }
3553 if test "${ac_cv_search_strerror+set}" = set; then
3554 $as_echo_n "(cached) " >&6
3556 ac_func_search_save_LIBS
=$LIBS
3557 cat >conftest.
$ac_ext <<_ACEOF
3560 cat confdefs.h
>>conftest.
$ac_ext
3561 cat >>conftest.
$ac_ext <<_ACEOF
3562 /* end confdefs.h. */
3564 /* Override any GCC internal prototype to avoid an error.
3565 Use char because int might match the return type of a GCC
3566 builtin and then its argument prototype would still apply. */
3579 for ac_lib
in '' cposix
; do
3580 if test -z "$ac_lib"; then
3581 ac_res
="none required"
3584 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3586 rm -f conftest.
$ac_objext conftest
$ac_exeext
3587 if { (ac_try
="$ac_link"
3589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3590 *) ac_try_echo=$ac_try;;
3592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3593 $as_echo "$ac_try_echo") >&5
3594 (eval "$ac_link") 2>conftest.er1
3596 grep -v '^ *+' conftest.er1 >conftest.err
3598 cat conftest.err >&5
3599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); } && {
3601 test -z "$ac_c_werror_flag" ||
3602 test ! -s conftest.err
3603 } && test -s conftest$ac_exeext && {
3604 test "$cross_compiling" = yes ||
3605 $as_test_x conftest$ac_exeext
3607 ac_cv_search_strerror=$ac_res
3609 $as_echo "$as_me: failed program was:" >&5
3610 sed 's/^/| /' conftest.$ac_ext >&5
3615 rm -rf conftest.dSYM
3616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3618 if test "${ac_cv_search_strerror+set}" = set; then
3622 if test "${ac_cv_search_strerror+set}" = set; then
3625 ac_cv_search_strerror=no
3628 LIBS=$ac_func_search_save_LIBS
3630 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3631 $as_echo "$ac_cv_search_strerror" >&6; }
3632 ac_res=$ac_cv_search_strerror
3633 if test "$ac_res" != no; then
3634 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3639 ac_cpp='$CPP $CPPFLAGS'
3640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3643 if test -n "$ac_tool_prefix"; then
3644 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3645 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3646 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if test "${ac_cv_prog_CC+set}" = set; then
3649 $as_echo_n "(cached) " >&6
3651 if test -n "$CC"; then
3652 ac_cv_prog_CC="$CC" # Let the user override the test.
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 test -z "$as_dir" && as_dir=.
3659 for ac_exec_ext in '' $ac_executable_extensions; do
3660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3661 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3662 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 if test -n "$CC"; then
3673 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3674 $as_echo "$CC" >&6; }
3676 { $as_echo "$as_me:$LINENO: result: no" >&5
3677 $as_echo "no" >&6; }
3682 if test -z "$ac_cv_prog_CC"; then
3684 # Extract the first word of "gcc", so it can be a program name with args.
3685 set dummy gcc; ac_word=$2
3686 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3687 $as_echo_n "checking for $ac_word... " >&6; }
3688 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3689 $as_echo_n "(cached) " >&6
3691 if test -n "$ac_ct_CC"; then
3692 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3698 test -z "$as_dir" && as_dir=.
3699 for ac_exec_ext in '' $ac_executable_extensions; do
3700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3701 ac_cv_prog_ac_ct_CC="gcc"
3702 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3711 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3712 if test -n "$ac_ct_CC"; then
3713 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3714 $as_echo "$ac_ct_CC" >&6; }
3716 { $as_echo "$as_me:$LINENO: result: no" >&5
3717 $as_echo "no" >&6; }
3720 if test "x$ac_ct_CC" = x; then
3723 case $cross_compiling:$ac_tool_warned in
3725 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3727 ac_tool_warned=yes ;;
3735 if test -z "$CC"; then
3736 if test -n "$ac_tool_prefix"; then
3737 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3738 set dummy ${ac_tool_prefix}cc; ac_word=$2
3739 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if test "${ac_cv_prog_CC+set}" = set; then
3742 $as_echo_n "(cached) " >&6
3744 if test -n "$CC"; then
3745 ac_cv_prog_CC="$CC" # Let the user override the test.
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3751 test -z "$as_dir" && as_dir=.
3752 for ac_exec_ext in '' $ac_executable_extensions; do
3753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3754 ac_cv_prog_CC="${ac_tool_prefix}cc"
3755 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 if test -n "$CC"; then
3766 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3767 $as_echo "$CC" >&6; }
3769 { $as_echo "$as_me:$LINENO: result: no" >&5
3770 $as_echo "no" >&6; }
3776 if test -z "$CC"; then
3777 # Extract the first word of "cc", so it can be a program name with args.
3778 set dummy cc; ac_word=$2
3779 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3780 $as_echo_n "checking for $ac_word... " >&6; }
3781 if test "${ac_cv_prog_CC+set}" = set; then
3782 $as_echo_n "(cached) " >&6
3784 if test -n "$CC"; then
3785 ac_cv_prog_CC="$CC" # Let the user override the test.
3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3792 test -z "$as_dir" && as_dir=.
3793 for ac_exec_ext in '' $ac_executable_extensions; do
3794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3795 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3796 ac_prog_rejected=yes
3800 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3807 if test $ac_prog_rejected = yes; then
3808 # We found a bogon in the path, so make sure we never use it.
3809 set dummy $ac_cv_prog_CC
3811 if test $# != 0; then
3812 # We chose a different compiler from the bogus one.
3813 # However, it has the same basename, so the bogon will be chosen
3814 # first if we set CC to just the basename; use the full file name.
3816 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3822 if test -n "$CC"; then
3823 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3824 $as_echo "$CC" >&6; }
3826 { $as_echo "$as_me:$LINENO: result: no" >&5
3827 $as_echo "no" >&6; }
3832 if test -z "$CC"; then
3833 if test -n "$ac_tool_prefix"; then
3834 for ac_prog in cl.exe
3836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3837 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3838 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3839 $as_echo_n "checking for $ac_word... " >&6; }
3840 if test "${ac_cv_prog_CC+set}" = set; then
3841 $as_echo_n "(cached) " >&6
3843 if test -n "$CC"; then
3844 ac_cv_prog_CC="$CC" # Let the user override the test.
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3850 test -z "$as_dir" && as_dir=.
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3853 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3854 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3864 if test -n "$CC"; then
3865 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3866 $as_echo "$CC" >&6; }
3868 { $as_echo "$as_me:$LINENO: result: no" >&5
3869 $as_echo "no" >&6; }
3873 test -n "$CC" && break
3876 if test -z "$CC"; then
3878 for ac_prog in cl.exe
3880 # Extract the first word of "$ac_prog", so it can be a program name with args.
3881 set dummy $ac_prog; ac_word=$2
3882 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3883 $as_echo_n "checking for $ac_word... " >&6; }
3884 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3885 $as_echo_n "(cached) " >&6
3887 if test -n "$ac_ct_CC"; then
3888 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3894 test -z "$as_dir" && as_dir=.
3895 for ac_exec_ext in '' $ac_executable_extensions; do
3896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3897 ac_cv_prog_ac_ct_CC="$ac_prog"
3898 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3907 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3908 if test -n "$ac_ct_CC"; then
3909 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3910 $as_echo "$ac_ct_CC" >&6; }
3912 { $as_echo "$as_me:$LINENO: result: no" >&5
3913 $as_echo "no" >&6; }
3917 test -n "$ac_ct_CC" && break
3920 if test "x$ac_ct_CC" = x; then
3923 case $cross_compiling:$ac_tool_warned in
3925 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3927 ac_tool_warned=yes ;;
3936 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3938 { { $as_echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
3939 See \
`config.log' for more details." >&5
3940 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3941 See \`config.log
' for more details." >&2;}
3942 { (exit 1); exit 1; }; }; }
3944 # Provide some information about the compiler.
3945 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3948 { (ac_try="$ac_compiler --version >&5"
3950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3951 *) ac_try_echo=$ac_try;;
3953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3954 $as_echo "$ac_try_echo") >&5
3955 (eval "$ac_compiler --version >&5") 2>&5
3957 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3958 (exit $ac_status); }
3959 { (ac_try="$ac_compiler -v >&5"
3961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
3964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3965 $as_echo "$ac_try_echo") >&5
3966 (eval "$ac_compiler -v >&5") 2>&5
3968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); }
3970 { (ac_try="$ac_compiler -V >&5"
3972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3973 *) ac_try_echo=$ac_try;;
3975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3976 $as_echo "$ac_try_echo") >&5
3977 (eval "$ac_compiler -V >&5") 2>&5
3979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980 (exit $ac_status); }
3982 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3983 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3984 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3985 $as_echo_n "(cached) " >&6
3987 cat >conftest.$ac_ext <<_ACEOF
3990 cat confdefs.h >>conftest.$ac_ext
3991 cat >>conftest.$ac_ext <<_ACEOF
3992 /* end confdefs.h. */
4005 rm -f conftest.$ac_objext
4006 if { (ac_try="$ac_compile"
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4012 $as_echo "$ac_try_echo") >&5
4013 (eval "$ac_compile") 2>conftest.er1
4015 grep -v '^
*+' conftest.er1 >conftest.err
4017 cat conftest.err >&5
4018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); } && {
4020 test -z "$ac_c_werror_flag" ||
4021 test ! -s conftest.err
4022 } && test -s conftest.$ac_objext; then
4025 $as_echo "$as_me: failed program was:" >&5
4026 sed 's
/^
/|
/' conftest.$ac_ext >&5
4031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4032 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4035 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4036 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4037 if test $ac_compiler_gnu = yes; then
4042 ac_test_CFLAGS=${CFLAGS+set}
4043 ac_save_CFLAGS=$CFLAGS
4044 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4045 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4046 if test "${ac_cv_prog_cc_g+set}" = set; then
4047 $as_echo_n "(cached) " >&6
4049 ac_save_c_werror_flag=$ac_c_werror_flag
4050 ac_c_werror_flag=yes
4053 cat >conftest.$ac_ext <<_ACEOF
4056 cat confdefs.h >>conftest.$ac_ext
4057 cat >>conftest.$ac_ext <<_ACEOF
4058 /* end confdefs.h. */
4068 rm -f conftest.$ac_objext
4069 if { (ac_try="$ac_compile"
4071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4072 *) ac_try_echo=$ac_try;;
4074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4075 $as_echo "$ac_try_echo") >&5
4076 (eval "$ac_compile") 2>conftest.er1
4078 grep -v '^
*+' conftest.er1 >conftest.err
4080 cat conftest.err >&5
4081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); } && {
4083 test -z "$ac_c_werror_flag" ||
4084 test ! -s conftest.err
4085 } && test -s conftest.$ac_objext; then
4088 $as_echo "$as_me: failed program was:" >&5
4089 sed 's
/^
/|
/' conftest.$ac_ext >&5
4092 cat >conftest.$ac_ext <<_ACEOF
4095 cat confdefs.h >>conftest.$ac_ext
4096 cat >>conftest.$ac_ext <<_ACEOF
4097 /* end confdefs.h. */
4107 rm -f conftest.$ac_objext
4108 if { (ac_try="$ac_compile"
4110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4111 *) ac_try_echo=$ac_try;;
4113 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4114 $as_echo "$ac_try_echo") >&5
4115 (eval "$ac_compile") 2>conftest.er1
4117 grep -v '^
*+' conftest.er1 >conftest.err
4119 cat conftest.err >&5
4120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4121 (exit $ac_status); } && {
4122 test -z "$ac_c_werror_flag" ||
4123 test ! -s conftest.err
4124 } && test -s conftest.$ac_objext; then
4127 $as_echo "$as_me: failed program was:" >&5
4128 sed 's
/^
/|
/' conftest.$ac_ext >&5
4130 ac_c_werror_flag=$ac_save_c_werror_flag
4132 cat >conftest.$ac_ext <<_ACEOF
4135 cat confdefs.h >>conftest.$ac_ext
4136 cat >>conftest.$ac_ext <<_ACEOF
4137 /* end confdefs.h. */
4147 rm -f conftest.$ac_objext
4148 if { (ac_try="$ac_compile"
4150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4151 *) ac_try_echo=$ac_try;;
4153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4154 $as_echo "$ac_try_echo") >&5
4155 (eval "$ac_compile") 2>conftest.er1
4157 grep -v '^
*+' conftest.er1 >conftest.err
4159 cat conftest.err >&5
4160 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161 (exit $ac_status); } && {
4162 test -z "$ac_c_werror_flag" ||
4163 test ! -s conftest.err
4164 } && test -s conftest.$ac_objext; then
4167 $as_echo "$as_me: failed program was:" >&5
4168 sed 's
/^
/|
/' conftest.$ac_ext >&5
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180 ac_c_werror_flag=$ac_save_c_werror_flag
4182 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4183 $as_echo "$ac_cv_prog_cc_g" >&6; }
4184 if test "$ac_test_CFLAGS" = set; then
4185 CFLAGS=$ac_save_CFLAGS
4186 elif test $ac_cv_prog_cc_g = yes; then
4187 if test "$GCC" = yes; then
4193 if test "$GCC" = yes; then
4199 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4200 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4201 if test "${ac_cv_prog_cc_c89+set}" = set; then
4202 $as_echo_n "(cached) " >&6
4204 ac_cv_prog_cc_c89=no
4206 cat >conftest.$ac_ext <<_ACEOF
4209 cat confdefs.h >>conftest.$ac_ext
4210 cat >>conftest.$ac_ext <<_ACEOF
4211 /* end confdefs.h. */
4214 #include <sys/types.h>
4215 #include <sys/stat.h>
4216 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4217 struct buf
{ int x
; };
4218 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4219 static char
*e
(p
, i
)
4225 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4230 s
= g
(p
, va_arg
(v
,int
));
4235 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
4236 function prototypes and stuff
, but not
'\xHH' hex character constants.
4237 These don
't provoke an error unfortunately, instead are silently treated
4238 as 'x
'. The following induces an error, until -std is added to get
4239 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4240 array size at least. It's necessary to
write '\x00'==0 to get something
4241 that
's true only with -std. */
4242 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4244 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4245 inside strings and character constants. */
4247 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4249 int test (int i, double x);
4250 struct s1 {int (*f) (int a);};
4251 struct s2 {int (*f) (double a);};
4252 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4258 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4263 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4264 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4266 CC="$ac_save_CC $ac_arg"
4267 rm -f conftest.$ac_objext
4268 if { (ac_try="$ac_compile"
4270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4271 *) ac_try_echo=$ac_try;;
4273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4274 $as_echo "$ac_try_echo") >&5
4275 (eval "$ac_compile") 2>conftest.er1
4277 grep -v '^
*+' conftest.er1 >conftest.err
4279 cat conftest.err >&5
4280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281 (exit $ac_status); } && {
4282 test -z "$ac_c_werror_flag" ||
4283 test ! -s conftest.err
4284 } && test -s conftest.$ac_objext; then
4285 ac_cv_prog_cc_c89=$ac_arg
4287 $as_echo "$as_me: failed program was:" >&5
4288 sed 's
/^
/|
/' conftest.$ac_ext >&5
4293 rm -f core conftest.err conftest.$ac_objext
4294 test "x$ac_cv_prog_cc_c89" != "xno" && break
4296 rm -f conftest.$ac_ext
4301 case "x$ac_cv_prog_cc_c89" in
4303 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4304 $as_echo "none needed" >&6; } ;;
4306 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4307 $as_echo "unsupported" >&6; } ;;
4309 CC="$CC $ac_cv_prog_cc_c89"
4310 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4311 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4316 ac_cpp='$CPP $CPPFLAGS'
4317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4318 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4321 depcc="$CC" am_compiler_list=
4323 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4324 $as_echo_n "checking dependency style of $depcc... " >&6; }
4325 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4326 $as_echo_n "(cached) " >&6
4328 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4329 # We make a subdir and do the tests there. Otherwise we can end up
4330 # making bogus files that we don't know about and never remove. For
4331 # instance it was reported that on HP-UX the gcc test will end up
4332 # making a dummy file named `D' -- because `-MD' means `put the output
4335 # Copy depcomp to subdir because otherwise we won't find it if we're
4336 # using a relative directory.
4337 cp "$am_depcomp" conftest.dir
4339 # We will build objects and dependencies in a subdirectory because
4340 # it helps to detect inapplicable dependency modes. For instance
4341 # both Tru64's cc and ICC support -MD to output dependencies as a
4342 # side effect of compilation, but ICC will put the dependencies in
4343 # the current directory while Tru64 will put them in the object
4347 am_cv_CC_dependencies_compiler_type
=none
4348 if test "$am_compiler_list" = ""; then
4349 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4351 for depmode
in $am_compiler_list; do
4352 # Setup a source with many dependencies, because some compilers
4353 # like to wrap large dependency lists on column 80 (with \), and
4354 # we should not choose a depcomp mode which is confused by this.
4356 # We need to recreate these files for each test, as the compiler may
4357 # overwrite some of them when testing with obscure command lines.
4358 # This happens at least with the AIX C compiler.
4360 for i
in 1 2 3 4 5 6; do
4361 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4362 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4363 # Solaris 8's {/usr,}/bin/sh.
4364 touch sub
/conftst
$i.h
4366 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4370 # after this tag, mechanisms are not by side-effect, so they'll
4371 # only be used when explicitly requested
4372 if test "x$enable_dependency_tracking" = xyes
; then
4380 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4381 # mode. It turns out that the SunPro C++ compiler does not properly
4382 # handle `-M -o', and we need to detect this.
4383 if depmode
=$depmode \
4384 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4385 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4386 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4387 >/dev
/null
2>conftest.err
&&
4388 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4389 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4390 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4391 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4392 # icc doesn't choke on unknown options, it will just issue warnings
4393 # or remarks (even with -Werror). So we grep stderr for any message
4394 # that says an option was ignored or not supported.
4395 # When given -MP, icc 7.0 and 7.1 complain thusly:
4396 # icc: Command line warning: ignoring option '-M'; no argument required
4397 # The diagnosis changed in icc 8.0:
4398 # icc: Command line remark: option '-MP' not supported
4399 if (grep 'ignoring option' conftest.err ||
4400 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4401 am_cv_CC_dependencies_compiler_type
=$depmode
4410 am_cv_CC_dependencies_compiler_type
=none
4414 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4415 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4416 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4419 test "x$enable_dependency_tracking" != xno \
4420 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4422 am__fastdepCC_FALSE
='#'
4424 am__fastdepCC_TRUE
='#'
4425 am__fastdepCC_FALSE
=
4430 ac_cpp
='$CPP $CPPFLAGS'
4431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4434 if test -n "$ac_tool_prefix"; then
4435 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4436 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4437 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4438 $as_echo_n "checking for $ac_word... " >&6; }
4439 if test "${ac_cv_prog_CC+set}" = set; then
4440 $as_echo_n "(cached) " >&6
4442 if test -n "$CC"; then
4443 ac_cv_prog_CC
="$CC" # Let the user override the test.
4445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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_prog_CC
="${ac_tool_prefix}gcc"
4453 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4463 if test -n "$CC"; then
4464 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4465 $as_echo "$CC" >&6; }
4467 { $as_echo "$as_me:$LINENO: result: no" >&5
4468 $as_echo "no" >&6; }
4473 if test -z "$ac_cv_prog_CC"; then
4475 # Extract the first word of "gcc", so it can be a program name with args.
4476 set dummy gcc
; ac_word
=$2
4477 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4478 $as_echo_n "checking for $ac_word... " >&6; }
4479 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4480 $as_echo_n "(cached) " >&6
4482 if test -n "$ac_ct_CC"; then
4483 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4489 test -z "$as_dir" && as_dir
=.
4490 for ac_exec_ext
in '' $ac_executable_extensions; do
4491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4492 ac_cv_prog_ac_ct_CC
="gcc"
4493 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4502 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4503 if test -n "$ac_ct_CC"; then
4504 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4505 $as_echo "$ac_ct_CC" >&6; }
4507 { $as_echo "$as_me:$LINENO: result: no" >&5
4508 $as_echo "no" >&6; }
4511 if test "x$ac_ct_CC" = x
; then
4514 case $cross_compiling:$ac_tool_warned in
4516 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4518 ac_tool_warned
=yes ;;
4526 if test -z "$CC"; then
4527 if test -n "$ac_tool_prefix"; then
4528 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4529 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4530 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4531 $as_echo_n "checking for $ac_word... " >&6; }
4532 if test "${ac_cv_prog_CC+set}" = set; then
4533 $as_echo_n "(cached) " >&6
4535 if test -n "$CC"; then
4536 ac_cv_prog_CC
="$CC" # Let the user override the test.
4538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4542 test -z "$as_dir" && as_dir
=.
4543 for ac_exec_ext
in '' $ac_executable_extensions; do
4544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4545 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4546 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4556 if test -n "$CC"; then
4557 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4558 $as_echo "$CC" >&6; }
4560 { $as_echo "$as_me:$LINENO: result: no" >&5
4561 $as_echo "no" >&6; }
4567 if test -z "$CC"; then
4568 # Extract the first word of "cc", so it can be a program name with args.
4569 set dummy cc
; ac_word
=$2
4570 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4571 $as_echo_n "checking for $ac_word... " >&6; }
4572 if test "${ac_cv_prog_CC+set}" = set; then
4573 $as_echo_n "(cached) " >&6
4575 if test -n "$CC"; then
4576 ac_cv_prog_CC
="$CC" # Let the user override the test.
4579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4583 test -z "$as_dir" && as_dir
=.
4584 for ac_exec_ext
in '' $ac_executable_extensions; do
4585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4586 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4587 ac_prog_rejected
=yes
4591 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4598 if test $ac_prog_rejected = yes; then
4599 # We found a bogon in the path, so make sure we never use it.
4600 set dummy
$ac_cv_prog_CC
4602 if test $# != 0; then
4603 # We chose a different compiler from the bogus one.
4604 # However, it has the same basename, so the bogon will be chosen
4605 # first if we set CC to just the basename; use the full file name.
4607 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4613 if test -n "$CC"; then
4614 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4615 $as_echo "$CC" >&6; }
4617 { $as_echo "$as_me:$LINENO: result: no" >&5
4618 $as_echo "no" >&6; }
4623 if test -z "$CC"; then
4624 if test -n "$ac_tool_prefix"; then
4625 for ac_prog
in cl.exe
4627 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4628 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4629 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4630 $as_echo_n "checking for $ac_word... " >&6; }
4631 if test "${ac_cv_prog_CC+set}" = set; then
4632 $as_echo_n "(cached) " >&6
4634 if test -n "$CC"; then
4635 ac_cv_prog_CC
="$CC" # Let the user override the test.
4637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4641 test -z "$as_dir" && as_dir
=.
4642 for ac_exec_ext
in '' $ac_executable_extensions; do
4643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4644 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4645 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4655 if test -n "$CC"; then
4656 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4657 $as_echo "$CC" >&6; }
4659 { $as_echo "$as_me:$LINENO: result: no" >&5
4660 $as_echo "no" >&6; }
4664 test -n "$CC" && break
4667 if test -z "$CC"; then
4669 for ac_prog
in cl.exe
4671 # Extract the first word of "$ac_prog", so it can be a program name with args.
4672 set dummy
$ac_prog; ac_word
=$2
4673 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4674 $as_echo_n "checking for $ac_word... " >&6; }
4675 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4676 $as_echo_n "(cached) " >&6
4678 if test -n "$ac_ct_CC"; then
4679 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4685 test -z "$as_dir" && as_dir
=.
4686 for ac_exec_ext
in '' $ac_executable_extensions; do
4687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4688 ac_cv_prog_ac_ct_CC
="$ac_prog"
4689 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4698 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4699 if test -n "$ac_ct_CC"; then
4700 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4701 $as_echo "$ac_ct_CC" >&6; }
4703 { $as_echo "$as_me:$LINENO: result: no" >&5
4704 $as_echo "no" >&6; }
4708 test -n "$ac_ct_CC" && break
4711 if test "x$ac_ct_CC" = x
; then
4714 case $cross_compiling:$ac_tool_warned in
4716 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4718 ac_tool_warned
=yes ;;
4727 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4729 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4730 See \`config.log' for more details." >&5
4731 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4732 See \`config.log' for more details." >&2;}
4733 { (exit 1); exit 1; }; }; }
4735 # Provide some information about the compiler.
4736 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4739 { (ac_try
="$ac_compiler --version >&5"
4741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4742 *) ac_try_echo=$ac_try;;
4744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4745 $as_echo "$ac_try_echo") >&5
4746 (eval "$ac_compiler --version >&5") 2>&5
4748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); }
4750 { (ac_try="$ac_compiler -v >&5"
4752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4753 *) ac_try_echo
=$ac_try;;
4755 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4756 $as_echo "$ac_try_echo") >&5
4757 (eval "$ac_compiler -v >&5") 2>&5
4759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760 (exit $ac_status); }
4761 { (ac_try
="$ac_compiler -V >&5"
4763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4764 *) ac_try_echo=$ac_try;;
4766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4767 $as_echo "$ac_try_echo") >&5
4768 (eval "$ac_compiler -V >&5") 2>&5
4770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); }
4773 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4774 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4775 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4776 $as_echo_n "(cached) " >&6
4778 cat >conftest.$ac_ext <<_ACEOF
4781 cat confdefs.h >>conftest.$ac_ext
4782 cat >>conftest.$ac_ext <<_ACEOF
4783 /* end confdefs.h. */
4796 rm -f conftest.$ac_objext
4797 if { (ac_try="$ac_compile"
4799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4800 *) ac_try_echo
=$ac_try;;
4802 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4803 $as_echo "$ac_try_echo") >&5
4804 (eval "$ac_compile") 2>conftest.er1
4806 grep -v '^ *+' conftest.er1
>conftest.err
4808 cat conftest.err
>&5
4809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); } && {
4811 test -z "$ac_c_werror_flag" ||
4812 test ! -s conftest.err
4813 } && test -s conftest.
$ac_objext; then
4816 $as_echo "$as_me: failed program was:" >&5
4817 sed 's/^/| /' conftest.
$ac_ext >&5
4822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4823 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4826 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4827 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4828 if test $ac_compiler_gnu = yes; then
4833 ac_test_CFLAGS
=${CFLAGS+set}
4834 ac_save_CFLAGS
=$CFLAGS
4835 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4836 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4837 if test "${ac_cv_prog_cc_g+set}" = set; then
4838 $as_echo_n "(cached) " >&6
4840 ac_save_c_werror_flag
=$ac_c_werror_flag
4841 ac_c_werror_flag
=yes
4844 cat >conftest.
$ac_ext <<_ACEOF
4847 cat confdefs.h
>>conftest.
$ac_ext
4848 cat >>conftest.
$ac_ext <<_ACEOF
4849 /* end confdefs.h. */
4859 rm -f conftest.
$ac_objext
4860 if { (ac_try
="$ac_compile"
4862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4863 *) ac_try_echo=$ac_try;;
4865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4866 $as_echo "$ac_try_echo") >&5
4867 (eval "$ac_compile") 2>conftest.er1
4869 grep -v '^ *+' conftest.er1 >conftest.err
4871 cat conftest.err >&5
4872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); } && {
4874 test -z "$ac_c_werror_flag" ||
4875 test ! -s conftest.err
4876 } && test -s conftest.$ac_objext; then
4879 $as_echo "$as_me: failed program was:" >&5
4880 sed 's/^/| /' conftest.$ac_ext >&5
4883 cat >conftest.$ac_ext <<_ACEOF
4886 cat confdefs.h >>conftest.$ac_ext
4887 cat >>conftest.$ac_ext <<_ACEOF
4888 /* end confdefs.h. */
4898 rm -f conftest.$ac_objext
4899 if { (ac_try="$ac_compile"
4901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4902 *) ac_try_echo
=$ac_try;;
4904 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4905 $as_echo "$ac_try_echo") >&5
4906 (eval "$ac_compile") 2>conftest.er1
4908 grep -v '^ *+' conftest.er1
>conftest.err
4910 cat conftest.err
>&5
4911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); } && {
4913 test -z "$ac_c_werror_flag" ||
4914 test ! -s conftest.err
4915 } && test -s conftest.
$ac_objext; then
4918 $as_echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.
$ac_ext >&5
4921 ac_c_werror_flag
=$ac_save_c_werror_flag
4923 cat >conftest.
$ac_ext <<_ACEOF
4926 cat confdefs.h
>>conftest.
$ac_ext
4927 cat >>conftest.
$ac_ext <<_ACEOF
4928 /* end confdefs.h. */
4938 rm -f conftest.
$ac_objext
4939 if { (ac_try
="$ac_compile"
4941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4942 *) ac_try_echo=$ac_try;;
4944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4945 $as_echo "$ac_try_echo") >&5
4946 (eval "$ac_compile") 2>conftest.er1
4948 grep -v '^ *+' conftest.er1 >conftest.err
4950 cat conftest.err >&5
4951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); } && {
4953 test -z "$ac_c_werror_flag" ||
4954 test ! -s conftest.err
4955 } && test -s conftest.$ac_objext; then
4958 $as_echo "$as_me: failed program was:" >&5
4959 sed 's/^/| /' conftest.$ac_ext >&5
4964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4971 ac_c_werror_flag=$ac_save_c_werror_flag
4973 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4974 $as_echo "$ac_cv_prog_cc_g" >&6; }
4975 if test "$ac_test_CFLAGS" = set; then
4976 CFLAGS=$ac_save_CFLAGS
4977 elif test $ac_cv_prog_cc_g = yes; then
4978 if test "$GCC" = yes; then
4984 if test "$GCC" = yes; then
4990 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4991 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4992 if test "${ac_cv_prog_cc_c89+set}" = set; then
4993 $as_echo_n "(cached) " >&6
4995 ac_cv_prog_cc_c89=no
4997 cat >conftest.$ac_ext <<_ACEOF
5000 cat confdefs.h >>conftest.$ac_ext
5001 cat >>conftest.$ac_ext <<_ACEOF
5002 /* end confdefs.h. */
5005 #include <sys/types.h>
5006 #include <sys/stat.h>
5007 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5008 struct buf { int x; };
5009 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5010 static char *e (p, i)
5016 static char *f (char * (*g) (char **, int), char **p, ...)
5021 s = g (p, va_arg (v,int));
5026 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5027 function prototypes and stuff, but not '\xHH' hex character constants.
5028 These don't provoke an error unfortunately, instead are silently treated
5029 as 'x'. The following induces an error, until -std is added to get
5030 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5031 array size at least. It's necessary to write '\x00'==0 to get something
5032 that's true only with -std. */
5033 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5035 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5036 inside strings and character constants. */
5038 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5040 int test (int i, double x);
5041 struct s1 {int (*f) (int a);};
5042 struct s2 {int (*f) (double a);};
5043 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5049 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5054 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5055 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5057 CC="$ac_save_CC $ac_arg"
5058 rm -f conftest.$ac_objext
5059 if { (ac_try="$ac_compile"
5061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5062 *) ac_try_echo
=$ac_try;;
5064 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5065 $as_echo "$ac_try_echo") >&5
5066 (eval "$ac_compile") 2>conftest.er1
5068 grep -v '^ *+' conftest.er1
>conftest.err
5070 cat conftest.err
>&5
5071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072 (exit $ac_status); } && {
5073 test -z "$ac_c_werror_flag" ||
5074 test ! -s conftest.err
5075 } && test -s conftest.
$ac_objext; then
5076 ac_cv_prog_cc_c89
=$ac_arg
5078 $as_echo "$as_me: failed program was:" >&5
5079 sed 's/^/| /' conftest.
$ac_ext >&5
5084 rm -f core conftest.err conftest.
$ac_objext
5085 test "x$ac_cv_prog_cc_c89" != "xno" && break
5087 rm -f conftest.
$ac_ext
5092 case "x$ac_cv_prog_cc_c89" in
5094 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5095 $as_echo "none needed" >&6; } ;;
5097 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5098 $as_echo "unsupported" >&6; } ;;
5100 CC
="$CC $ac_cv_prog_cc_c89"
5101 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5102 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5107 ac_cpp
='$CPP $CPPFLAGS'
5108 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5109 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5110 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5112 depcc
="$CC" am_compiler_list
=
5114 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5115 $as_echo_n "checking dependency style of $depcc... " >&6; }
5116 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5117 $as_echo_n "(cached) " >&6
5119 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5120 # We make a subdir and do the tests there. Otherwise we can end up
5121 # making bogus files that we don't know about and never remove. For
5122 # instance it was reported that on HP-UX the gcc test will end up
5123 # making a dummy file named `D' -- because `-MD' means `put the output
5126 # Copy depcomp to subdir because otherwise we won't find it if we're
5127 # using a relative directory.
5128 cp "$am_depcomp" conftest.dir
5130 # We will build objects and dependencies in a subdirectory because
5131 # it helps to detect inapplicable dependency modes. For instance
5132 # both Tru64's cc and ICC support -MD to output dependencies as a
5133 # side effect of compilation, but ICC will put the dependencies in
5134 # the current directory while Tru64 will put them in the object
5138 am_cv_CC_dependencies_compiler_type
=none
5139 if test "$am_compiler_list" = ""; then
5140 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5142 for depmode
in $am_compiler_list; do
5143 # Setup a source with many dependencies, because some compilers
5144 # like to wrap large dependency lists on column 80 (with \), and
5145 # we should not choose a depcomp mode which is confused by this.
5147 # We need to recreate these files for each test, as the compiler may
5148 # overwrite some of them when testing with obscure command lines.
5149 # This happens at least with the AIX C compiler.
5151 for i
in 1 2 3 4 5 6; do
5152 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5153 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5154 # Solaris 8's {/usr,}/bin/sh.
5155 touch sub
/conftst
$i.h
5157 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5161 # after this tag, mechanisms are not by side-effect, so they'll
5162 # only be used when explicitly requested
5163 if test "x$enable_dependency_tracking" = xyes
; then
5171 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5172 # mode. It turns out that the SunPro C++ compiler does not properly
5173 # handle `-M -o', and we need to detect this.
5174 if depmode
=$depmode \
5175 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5176 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5177 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5178 >/dev
/null
2>conftest.err
&&
5179 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5180 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5181 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5182 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5183 # icc doesn't choke on unknown options, it will just issue warnings
5184 # or remarks (even with -Werror). So we grep stderr for any message
5185 # that says an option was ignored or not supported.
5186 # When given -MP, icc 7.0 and 7.1 complain thusly:
5187 # icc: Command line warning: ignoring option '-M'; no argument required
5188 # The diagnosis changed in icc 8.0:
5189 # icc: Command line remark: option '-MP' not supported
5190 if (grep 'ignoring option' conftest.err ||
5191 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5192 am_cv_CC_dependencies_compiler_type
=$depmode
5201 am_cv_CC_dependencies_compiler_type
=none
5205 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5206 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5207 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5210 test "x$enable_dependency_tracking" != xno \
5211 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5213 am__fastdepCC_FALSE
='#'
5215 am__fastdepCC_TRUE
='#'
5216 am__fastdepCC_FALSE
=
5221 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
5224 ac_cpp
='$CPP $CPPFLAGS'
5225 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5226 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5227 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5228 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5229 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5230 # On Suns, sometimes $CPP names a directory.
5231 if test -n "$CPP" && test -d "$CPP"; then
5234 if test -z "$CPP"; then
5235 if test "${ac_cv_prog_CPP+set}" = set; then
5236 $as_echo_n "(cached) " >&6
5238 # Double quotes because CPP needs to be expanded
5239 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5242 for ac_c_preproc_warn_flag
in '' yes
5244 # Use a header file that comes with gcc, so configuring glibc
5245 # with a fresh cross-compiler works.
5246 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5247 # <limits.h> exists even on freestanding compilers.
5248 # On the NeXT, cc -E runs the code through the compiler's parser,
5249 # not just through cpp. "Syntax error" is here to catch this case.
5250 cat >conftest.
$ac_ext <<_ACEOF
5253 cat confdefs.h
>>conftest.
$ac_ext
5254 cat >>conftest.
$ac_ext <<_ACEOF
5255 /* end confdefs.h. */
5257 # include <limits.h>
5259 # include <assert.h>
5263 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5266 *) ac_try_echo=$ac_try;;
5268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5269 $as_echo "$ac_try_echo") >&5
5270 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5272 grep -v '^ *+' conftest.er1 >conftest.err
5274 cat conftest.err >&5
5275 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); } >/dev/null && {
5277 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5278 test ! -s conftest.err
5282 $as_echo "$as_me: failed program was:" >&5
5283 sed 's/^/| /' conftest.$ac_ext >&5
5285 # Broken: fails on valid input.
5289 rm -f conftest.err conftest.$ac_ext
5291 # OK, works on sane cases. Now check whether nonexistent headers
5292 # can be detected and how.
5293 cat >conftest.$ac_ext <<_ACEOF
5296 cat confdefs.h >>conftest.$ac_ext
5297 cat >>conftest.$ac_ext <<_ACEOF
5298 /* end confdefs.h. */
5299 #include <ac_nonexistent.h>
5301 if { (ac_try="$ac_cpp conftest.$ac_ext"
5303 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5304 *) ac_try_echo
=$ac_try;;
5306 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5307 $as_echo "$ac_try_echo") >&5
5308 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5310 grep -v '^ *+' conftest.er1
>conftest.err
5312 cat conftest.err
>&5
5313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); } >/dev
/null
&& {
5315 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5316 test ! -s conftest.err
5318 # Broken: success on invalid input.
5321 $as_echo "$as_me: failed program was:" >&5
5322 sed 's/^/| /' conftest.
$ac_ext >&5
5324 # Passes both tests.
5329 rm -f conftest.err conftest.
$ac_ext
5332 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5333 rm -f conftest.err conftest.
$ac_ext
5334 if $ac_preproc_ok; then
5346 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5347 $as_echo "$CPP" >&6; }
5349 for ac_c_preproc_warn_flag
in '' yes
5351 # Use a header file that comes with gcc, so configuring glibc
5352 # with a fresh cross-compiler works.
5353 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5354 # <limits.h> exists even on freestanding compilers.
5355 # On the NeXT, cc -E runs the code through the compiler's parser,
5356 # not just through cpp. "Syntax error" is here to catch this case.
5357 cat >conftest.
$ac_ext <<_ACEOF
5360 cat confdefs.h
>>conftest.
$ac_ext
5361 cat >>conftest.
$ac_ext <<_ACEOF
5362 /* end confdefs.h. */
5364 # include <limits.h>
5366 # include <assert.h>
5370 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5373 *) ac_try_echo=$ac_try;;
5375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5376 $as_echo "$ac_try_echo") >&5
5377 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5379 grep -v '^ *+' conftest.er1 >conftest.err
5381 cat conftest.err >&5
5382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); } >/dev/null && {
5384 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5385 test ! -s conftest.err
5389 $as_echo "$as_me: failed program was:" >&5
5390 sed 's/^/| /' conftest.$ac_ext >&5
5392 # Broken: fails on valid input.
5396 rm -f conftest.err conftest.$ac_ext
5398 # OK, works on sane cases. Now check whether nonexistent headers
5399 # can be detected and how.
5400 cat >conftest.$ac_ext <<_ACEOF
5403 cat confdefs.h >>conftest.$ac_ext
5404 cat >>conftest.$ac_ext <<_ACEOF
5405 /* end confdefs.h. */
5406 #include <ac_nonexistent.h>
5408 if { (ac_try="$ac_cpp conftest.$ac_ext"
5410 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5411 *) ac_try_echo
=$ac_try;;
5413 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5414 $as_echo "$ac_try_echo") >&5
5415 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5417 grep -v '^ *+' conftest.er1
>conftest.err
5419 cat conftest.err
>&5
5420 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5421 (exit $ac_status); } >/dev
/null
&& {
5422 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5423 test ! -s conftest.err
5425 # Broken: success on invalid input.
5428 $as_echo "$as_me: failed program was:" >&5
5429 sed 's/^/| /' conftest.
$ac_ext >&5
5431 # Passes both tests.
5436 rm -f conftest.err conftest.
$ac_ext
5439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5440 rm -f conftest.err conftest.
$ac_ext
5441 if $ac_preproc_ok; then
5444 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5446 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5447 See \`config.log' for more details." >&5
5448 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5449 See \`config.log' for more details." >&2;}
5450 { (exit 1); exit 1; }; }; }
5454 ac_cpp
='$CPP $CPPFLAGS'
5455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5460 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5461 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5462 if test "${ac_cv_path_GREP+set}" = set; then
5463 $as_echo_n "(cached) " >&6
5465 if test -z "$GREP"; then
5466 ac_path_GREP_found
=false
5467 # Loop through the user's path and test for each of PROGNAME-LIST
5468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5469 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5472 test -z "$as_dir" && as_dir
=.
5473 for ac_prog
in grep ggrep
; do
5474 for ac_exec_ext
in '' $ac_executable_extensions; do
5475 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5476 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5477 # Check for GNU ac_path_GREP and select it if it is found.
5478 # Check for GNU $ac_path_GREP
5479 case `"$ac_path_GREP" --version 2>&1` in
5481 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5484 $as_echo_n 0123456789 >"conftest.in"
5487 cat "conftest.in" "conftest.in" >"conftest.tmp"
5488 mv "conftest.tmp" "conftest.in"
5489 cp "conftest.in" "conftest.nl"
5490 $as_echo 'GREP' >> "conftest.nl"
5491 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5492 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5493 ac_count
=`expr $ac_count + 1`
5494 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5495 # Best one so far, save it but keep looking for a better one
5496 ac_cv_path_GREP
="$ac_path_GREP"
5497 ac_path_GREP_max
=$ac_count
5499 # 10*(2^10) chars as input seems more than enough
5500 test $ac_count -gt 10 && break
5502 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5505 $ac_path_GREP_found && break 3
5510 if test -z "$ac_cv_path_GREP"; then
5511 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5512 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5513 { (exit 1); exit 1; }; }
5516 ac_cv_path_GREP
=$GREP
5520 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5521 $as_echo "$ac_cv_path_GREP" >&6; }
5522 GREP
="$ac_cv_path_GREP"
5525 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5526 $as_echo_n "checking for egrep... " >&6; }
5527 if test "${ac_cv_path_EGREP+set}" = set; then
5528 $as_echo_n "(cached) " >&6
5530 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5531 then ac_cv_path_EGREP
="$GREP -E"
5533 if test -z "$EGREP"; then
5534 ac_path_EGREP_found
=false
5535 # Loop through the user's path and test for each of PROGNAME-LIST
5536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5537 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5540 test -z "$as_dir" && as_dir
=.
5541 for ac_prog
in egrep; do
5542 for ac_exec_ext
in '' $ac_executable_extensions; do
5543 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5544 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5545 # Check for GNU ac_path_EGREP and select it if it is found.
5546 # Check for GNU $ac_path_EGREP
5547 case `"$ac_path_EGREP" --version 2>&1` in
5549 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5552 $as_echo_n 0123456789 >"conftest.in"
5555 cat "conftest.in" "conftest.in" >"conftest.tmp"
5556 mv "conftest.tmp" "conftest.in"
5557 cp "conftest.in" "conftest.nl"
5558 $as_echo 'EGREP' >> "conftest.nl"
5559 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5560 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5561 ac_count
=`expr $ac_count + 1`
5562 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5563 # Best one so far, save it but keep looking for a better one
5564 ac_cv_path_EGREP
="$ac_path_EGREP"
5565 ac_path_EGREP_max
=$ac_count
5567 # 10*(2^10) chars as input seems more than enough
5568 test $ac_count -gt 10 && break
5570 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5573 $ac_path_EGREP_found && break 3
5578 if test -z "$ac_cv_path_EGREP"; then
5579 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5580 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5581 { (exit 1); exit 1; }; }
5584 ac_cv_path_EGREP
=$EGREP
5589 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5590 $as_echo "$ac_cv_path_EGREP" >&6; }
5591 EGREP
="$ac_cv_path_EGREP"
5594 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5595 $as_echo_n "checking for ANSI C header files... " >&6; }
5596 if test "${ac_cv_header_stdc+set}" = set; then
5597 $as_echo_n "(cached) " >&6
5599 cat >conftest.
$ac_ext <<_ACEOF
5602 cat confdefs.h
>>conftest.
$ac_ext
5603 cat >>conftest.
$ac_ext <<_ACEOF
5604 /* end confdefs.h. */
5618 rm -f conftest.
$ac_objext
5619 if { (ac_try
="$ac_compile"
5621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5622 *) ac_try_echo=$ac_try;;
5624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5625 $as_echo "$ac_try_echo") >&5
5626 (eval "$ac_compile") 2>conftest.er1
5628 grep -v '^ *+' conftest.er1 >conftest.err
5630 cat conftest.err >&5
5631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632 (exit $ac_status); } && {
5633 test -z "$ac_c_werror_flag" ||
5634 test ! -s conftest.err
5635 } && test -s conftest.$ac_objext; then
5636 ac_cv_header_stdc=yes
5638 $as_echo "$as_me: failed program was:" >&5
5639 sed 's/^/| /' conftest.$ac_ext >&5
5641 ac_cv_header_stdc=no
5644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5646 if test $ac_cv_header_stdc = yes; then
5647 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5648 cat >conftest.$ac_ext <<_ACEOF
5651 cat confdefs.h >>conftest.$ac_ext
5652 cat >>conftest.$ac_ext <<_ACEOF
5653 /* end confdefs.h. */
5657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5658 $EGREP "memchr" >/dev/null 2>&1; then
5661 ac_cv_header_stdc=no
5667 if test $ac_cv_header_stdc = yes; then
5668 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5669 cat >conftest.$ac_ext <<_ACEOF
5672 cat confdefs.h >>conftest.$ac_ext
5673 cat >>conftest.$ac_ext <<_ACEOF
5674 /* end confdefs.h. */
5678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5679 $EGREP "free" >/dev/null 2>&1; then
5682 ac_cv_header_stdc=no
5688 if test $ac_cv_header_stdc = yes; then
5689 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5690 if test "$cross_compiling" = yes; then
5693 cat >conftest.$ac_ext <<_ACEOF
5696 cat confdefs.h >>conftest.$ac_ext
5697 cat >>conftest.$ac_ext <<_ACEOF
5698 /* end confdefs.h. */
5701 #if ((' ' & 0x0FF) == 0x020)
5702 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5703 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5705 # define ISLOWER(c) \
5706 (('a' <= (c) && (c) <= 'i') \
5707 || ('j' <= (c) && (c) <= 'r') \
5708 || ('s' <= (c) && (c) <= 'z'))
5709 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5712 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5717 for (i = 0; i < 256; i++)
5718 if (XOR (islower (i), ISLOWER (i))
5719 || toupper (i) != TOUPPER (i))
5724 rm -f conftest$ac_exeext
5725 if { (ac_try="$ac_link"
5727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5728 *) ac_try_echo
=$ac_try;;
5730 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5731 $as_echo "$ac_try_echo") >&5
5732 (eval "$ac_link") 2>&5
5734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5736 { (case "(($ac_try" in
5737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5738 *) ac_try_echo=$ac_try;;
5740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5741 $as_echo "$ac_try_echo") >&5
5742 (eval "$ac_try") 2>&5
5744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 (exit $ac_status); }; }; then
5748 $as_echo "$as_me: program exited with status $ac_status" >&5
5749 $as_echo "$as_me: failed program was:" >&5
5750 sed 's/^/| /' conftest.$ac_ext >&5
5753 ac_cv_header_stdc=no
5755 rm -rf conftest.dSYM
5756 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5762 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5763 $as_echo "$ac_cv_header_stdc" >&6; }
5764 if test $ac_cv_header_stdc = yes; then
5766 cat >>confdefs.h <<\_ACEOF
5767 #define STDC_HEADERS 1
5774 # ============ Switched off:
5780 GNOME_COMPILE_WARNINGS
5782 #------------------------------------------------------------------------------
5784 # The gnomeui library is required but the gnomeprint and gnomeprintui libraries
5785 # are optional. First we verify the gnomeui library is present. Then we check
5786 # for the presence of the gnomeprint libraries and set a flag to indicate the
5787 # print libraries are present. Finally, we run pkg-config to get the compile and
5788 # link flags for the combined set of libraries to eliminate duplications in
5790 ## GNOME_MODULES="libgnomeui-2 >= 2.0.0"
5791 GNOME_PRINT="libgnomeprint-2.2 >= 2.2.0 libgnomeprintui-2.2 >=2.2.0"
5794 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5795 if test -n "$ac_tool_prefix"; then
5796 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5797 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5798 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5799 $as_echo_n "checking for $ac_word... " >&6; }
5800 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5801 $as_echo_n "(cached) " >&6
5805 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 test -z "$as_dir" && as_dir=.
5813 for ac_exec_ext in '' $ac_executable_extensions; do
5814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5815 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5816 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5827 if test -n "$PKG_CONFIG"; then
5828 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5829 $as_echo "$PKG_CONFIG" >&6; }
5831 { $as_echo "$as_me:$LINENO: result: no" >&5
5832 $as_echo "no" >&6; }
5837 if test -z "$ac_cv_path_PKG_CONFIG"; then
5838 ac_pt_PKG_CONFIG=$PKG_CONFIG
5839 # Extract the first word of "pkg-config", so it can be a program name with args.
5840 set dummy pkg-config; ac_word=$2
5841 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5842 $as_echo_n "checking for $ac_word... " >&6; }
5843 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5844 $as_echo_n "(cached) " >&6
5846 case $ac_pt_PKG_CONFIG in
5848 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5855 test -z "$as_dir" && as_dir=.
5856 for ac_exec_ext in '' $ac_executable_extensions; do
5857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5858 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5859 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5869 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5870 if test -n "$ac_pt_PKG_CONFIG"; then
5871 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5872 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5874 { $as_echo "$as_me:$LINENO: result: no" >&5
5875 $as_echo "no" >&6; }
5878 if test "x$ac_pt_PKG_CONFIG" = x; then
5881 case $cross_compiling:$ac_tool_warned in
5883 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5885 ac_tool_warned=yes ;;
5887 PKG_CONFIG=$ac_pt_PKG_CONFIG
5890 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5894 if test -n "$PKG_CONFIG"; then
5895 _pkg_min_version=0.9.0
5896 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5897 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5898 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5899 { $as_echo "$as_me:$LINENO: result: yes" >&5
5900 $as_echo "yes" >&6; }
5902 { $as_echo "$as_me:$LINENO: result: no" >&5
5903 $as_echo "no" >&6; }
5910 { $as_echo "$as_me:$LINENO: checking for GPIV_UI" >&5
5911 $as_echo_n "checking for GPIV_UI... " >&6; }
5913 if test -n "$PKG_CONFIG"; then
5914 if test -n "$GPIV_UI_CFLAGS"; then
5915 pkg_cv_GPIV_UI_CFLAGS="$GPIV_UI_CFLAGS"
5917 if test -n "$PKG_CONFIG" && \
5918 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0\"") >&5
5919 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0") 2>&5
5921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5922 (exit $ac_status); }; then
5923 pkg_cv_GPIV_UI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0" 2>/dev
/null
`
5931 if test -n "$PKG_CONFIG"; then
5932 if test -n "$GPIV_UI_LIBS"; then
5933 pkg_cv_GPIV_UI_LIBS="$GPIV_UI_LIBS"
5935 if test -n "$PKG_CONFIG" && \
5936 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0\"") >&5
5937 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0") 2>&5
5939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; then
5941 pkg_cv_GPIV_UI_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0" 2>/dev
/null
`
5952 if test $pkg_failed = yes; then
5954 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5955 _pkg_short_errors_supported=yes
5957 _pkg_short_errors_supported=no
5959 if test $_pkg_short_errors_supported = yes; then
5960 GPIV_UI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0"`
5962 GPIV_UI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0"`
5964 # Put the nasty error message in config.log where it belongs
5965 echo "$GPIV_UI_PKG_ERRORS" >&5
5967 { { $as_echo "$as_me:$LINENO: error: Package requirements (libgnomeui-2.0) were not met:
5971 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5972 installed software in a non-standard prefix.
5974 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5975 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5976 See the pkg-config man page for more details.
5978 $as_echo "$as_me: error: Package requirements (libgnomeui-2.0) were not met:
5982 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5983 installed software in a non-standard prefix.
5985 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5986 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5987 See the pkg-config man page for more details.
5989 { (exit 1); exit 1; }; }
5990 elif test $pkg_failed = untried; then
5991 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5992 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5993 { { $as_echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
5994 is
in your PATH or
set the PKG_CONFIG environment variable to the full
5997 Alternatively
, you may
set the environment variables GPIV_UI_CFLAGS
5998 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5999 See the pkg-config man page
for more details.
6001 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
6002 See \
`config.log' for more details." >&5
6003 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
6004 is in your PATH or set the PKG_CONFIG environment variable to the full
6007 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
6008 and GPIV_UI_LIBS to avoid the need to call pkg-config.
6009 See the pkg-config man page for more details.
6011 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6012 See \`config.log
' for more details." >&2;}
6013 { (exit 1); exit 1; }; }; }
6015 GPIV_UI_CFLAGS=$pkg_cv_GPIV_UI_CFLAGS
6016 GPIV_UI_LIBS=$pkg_cv_GPIV_UI_LIBS
6017 { $as_echo "$as_me:$LINENO: result: yes" >&5
6018 $as_echo "yes" >&6; }
6023 { $as_echo "$as_me:$LINENO: checking for GPIV_PRINT" >&5
6024 $as_echo_n "checking for GPIV_PRINT... " >&6; }
6026 if test -n "$PKG_CONFIG"; then
6027 if test -n "$GPIV_PRINT_CFLAGS"; then
6028 pkg_cv_GPIV_PRINT_CFLAGS="$GPIV_PRINT_CFLAGS"
6030 if test -n "$PKG_CONFIG" && \
6031 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprint-2.2 libgnomeprintui-2.2\"") >&5
6032 ($PKG_CONFIG --exists --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2") 2>&5
6034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6035 (exit $ac_status); }; then
6036 pkg_cv_GPIV_PRINT_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprint-2.2 libgnomeprintui-2.2" 2>/dev/null`
6044 if test -n "$PKG_CONFIG"; then
6045 if test -n "$GPIV_PRINT_LIBS"; then
6046 pkg_cv_GPIV_PRINT_LIBS="$GPIV_PRINT_LIBS"
6048 if test -n "$PKG_CONFIG" && \
6049 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprint-2.2 libgnomeprintui-2.2\"") >&5
6050 ($PKG_CONFIG --exists --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2") 2>&5
6052 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); }; then
6054 pkg_cv_GPIV_PRINT_LIBS=`$PKG_CONFIG --libs "libgnomeprint-2.2 libgnomeprintui-2.2" 2>/dev/null`
6065 if test $pkg_failed = yes; then
6067 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6068 _pkg_short_errors_supported=yes
6070 _pkg_short_errors_supported=no
6072 if test $_pkg_short_errors_supported = yes; then
6073 GPIV_PRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2"`
6075 GPIV_PRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2"`
6077 # Put the nasty error message in config.log where it belongs
6078 echo "$GPIV_PRINT_PKG_ERRORS" >&5
6080 { $as_echo "$as_me:$LINENO: result: no" >&5
6081 $as_echo "no" >&6; }
6082 echo "gnomeprint libraries are not available."
6083 elif test $pkg_failed = untried; then
6084 echo "gnomeprint libraries are not available."
6086 GPIV_PRINT_CFLAGS=$pkg_cv_GPIV_PRINT_CFLAGS
6087 GPIV_PRINT_LIBS=$pkg_cv_GPIV_PRINT_LIBS
6088 { $as_echo "$as_me:$LINENO: result: yes" >&5
6089 $as_echo "yes" >&6; }
6090 gpiv_have_gnome_print=1
6093 if test "x$gpiv_have_gnome_print" = "x1"; then
6094 echo "gnomeprint IS available"
6095 cat >>confdefs.h <<\_ACEOF
6096 #define HAVE_GNOME_PRINT "1"
6099 GPIV_GNOME_LIBS="libgnomeui-2.0 libgnomeprint-2.2 libgnomeprintui-2.2"
6101 echo "gnomeprint NOT available"
6102 GPIV_GNOME_LIBS="libgnomeui-2.0"
6105 echo "configuring with libraries: " $gpiv_gnome_libs
6108 { $as_echo "$as_me:$LINENO: checking for GPIV" >&5
6109 $as_echo_n "checking for GPIV... " >&6; }
6111 if test -n "$PKG_CONFIG"; then
6112 if test -n "$GPIV_CFLAGS"; then
6113 pkg_cv_GPIV_CFLAGS="$GPIV_CFLAGS"
6115 if test -n "$PKG_CONFIG" && \
6116 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$GPIV_GNOME_LIBS\"") >&5
6117 ($PKG_CONFIG --exists --print-errors "$GPIV_GNOME_LIBS") 2>&5
6119 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 (exit $ac_status); }; then
6121 pkg_cv_GPIV_CFLAGS=`$PKG_CONFIG --cflags "$GPIV_GNOME_LIBS" 2>/dev/null`
6129 if test -n "$PKG_CONFIG"; then
6130 if test -n "$GPIV_LIBS"; then
6131 pkg_cv_GPIV_LIBS="$GPIV_LIBS"
6133 if test -n "$PKG_CONFIG" && \
6134 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$GPIV_GNOME_LIBS\"") >&5
6135 ($PKG_CONFIG --exists --print-errors "$GPIV_GNOME_LIBS") 2>&5
6137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); }; then
6139 pkg_cv_GPIV_LIBS=`$PKG_CONFIG --libs "$GPIV_GNOME_LIBS" 2>/dev/null`
6150 if test $pkg_failed = yes; then
6152 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6153 _pkg_short_errors_supported=yes
6155 _pkg_short_errors_supported=no
6157 if test $_pkg_short_errors_supported = yes; then
6158 GPIV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GPIV_GNOME_LIBS"`
6160 GPIV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GPIV_GNOME_LIBS"`
6162 # Put the nasty error message in config.log where it belongs
6163 echo "$GPIV_PKG_ERRORS" >&5
6165 { { $as_echo "$as_me:$LINENO: error: Package requirements ($GPIV_GNOME_LIBS) were not met:
6169 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6170 installed software in a non-standard prefix.
6172 Alternatively, you may set the environment variables GPIV_CFLAGS
6173 and GPIV_LIBS to avoid the need to call pkg-config.
6174 See the pkg-config man page for more details.
6176 $as_echo "$as_me: error: Package requirements ($GPIV_GNOME_LIBS) were not met:
6180 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6181 installed software in a non-standard prefix.
6183 Alternatively, you may set the environment variables GPIV_CFLAGS
6184 and GPIV_LIBS to avoid the need to call pkg-config.
6185 See the pkg-config man page for more details.
6187 { (exit 1); exit 1; }; }
6188 elif test $pkg_failed = untried; then
6189 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6190 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
6191 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
6192 is in your PATH or set the PKG_CONFIG environment variable to the full
6195 Alternatively, you may set the environment variables GPIV_CFLAGS
6196 and GPIV_LIBS to avoid the need to call pkg-config.
6197 See the pkg-config man page for more details.
6199 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6200 See \`config.log
' for more details." >&5
6201 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
6202 is in your PATH or set the PKG_CONFIG environment variable to the full
6205 Alternatively, you may set the environment variables GPIV_CFLAGS
6206 and GPIV_LIBS to avoid the need to call pkg-config.
6207 See the pkg-config man page for more details.
6209 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6210 See \`config.log' for more details.
" >&2;}
6211 { (exit 1); exit 1; }; }; }
6213 GPIV_CFLAGS=$pkg_cv_GPIV_CFLAGS
6214 GPIV_LIBS=$pkg_cv_GPIV_LIBS
6215 { $as_echo "$as_me:$LINENO: result
: yes" >&5
6216 $as_echo "yes" >&6; }
6223 GETTEXT_PACKAGE=gpiv
6225 cat >>confdefs.h <<_ACEOF
6226 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6229 ALL_LINGUAS="ca de
nl"
6230 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6240 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6241 inttypes.h stdint.h unistd.h
6243 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6244 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
6245 $as_echo_n "checking
for $ac_header...
" >&6; }
6246 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6247 $as_echo_n "(cached
) " >&6
6249 cat >conftest.$ac_ext <<_ACEOF
6252 cat confdefs.h >>conftest.$ac_ext
6253 cat >>conftest.$ac_ext <<_ACEOF
6254 /* end confdefs.h. */
6255 $ac_includes_default
6257 #include <$ac_header>
6259 rm -f conftest.$ac_objext
6260 if { (ac_try="$ac_compile"
6262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6263 *) ac_try_echo=$ac_try;;
6265 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6266 $as_echo "$ac_try_echo") >&5
6267 (eval "$ac_compile") 2>conftest.er1
6269 grep -v '^ *+' conftest.er1 >conftest.err
6271 cat conftest.err >&5
6272 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6273 (exit $ac_status); } && {
6274 test -z "$ac_c_werror_flag" ||
6275 test ! -s conftest.err
6276 } && test -s conftest.$ac_objext; then
6277 eval "$as_ac_Header=yes"
6279 $as_echo "$as_me: failed program was
:" >&5
6280 sed 's/^/| /' conftest.$ac_ext >&5
6282 eval "$as_ac_Header=no
"
6285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6287 ac_res=`eval 'as_val=${'$as_ac_Header'}
6288 $as_echo "$as_val"'`
6289 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
6290 $as_echo "$ac_res" >&6; }
6291 as_val=`eval 'as_val=${'$as_ac_Header'}
6292 $as_echo "$as_val"'`
6293 if test "x
$as_val" = x""yes; then
6294 cat >>confdefs.h <<_ACEOF
6295 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6305 for ac_header in locale.h
6307 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6308 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6309 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
6310 $as_echo_n "checking
for $ac_header...
" >&6; }
6311 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6312 $as_echo_n "(cached
) " >&6
6314 ac_res=`eval 'as_val=${'$as_ac_Header'}
6315 $as_echo "$as_val"'`
6316 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
6317 $as_echo "$ac_res" >&6; }
6319 # Is the header compilable?
6320 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
6321 $as_echo_n "checking
$ac_header usability...
" >&6; }
6322 cat >conftest.$ac_ext <<_ACEOF
6325 cat confdefs.h >>conftest.$ac_ext
6326 cat >>conftest.$ac_ext <<_ACEOF
6327 /* end confdefs.h. */
6328 $ac_includes_default
6329 #include <$ac_header>
6331 rm -f conftest.$ac_objext
6332 if { (ac_try="$ac_compile"
6334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6335 *) ac_try_echo=$ac_try;;
6337 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6338 $as_echo "$ac_try_echo") >&5
6339 (eval "$ac_compile") 2>conftest.er1
6341 grep -v '^ *+' conftest.er1 >conftest.err
6343 cat conftest.err >&5
6344 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6345 (exit $ac_status); } && {
6346 test -z "$ac_c_werror_flag" ||
6347 test ! -s conftest.err
6348 } && test -s conftest.$ac_objext; then
6349 ac_header_compiler=yes
6351 $as_echo "$as_me: failed program was
:" >&5
6352 sed 's/^/| /' conftest.$ac_ext >&5
6354 ac_header_compiler=no
6357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6358 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
6359 $as_echo "$ac_header_compiler" >&6; }
6361 # Is the header present?
6362 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
6363 $as_echo_n "checking
$ac_header presence...
" >&6; }
6364 cat >conftest.$ac_ext <<_ACEOF
6367 cat confdefs.h >>conftest.$ac_ext
6368 cat >>conftest.$ac_ext <<_ACEOF
6369 /* end confdefs.h. */
6370 #include <$ac_header>
6372 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6375 *) ac_try_echo=$ac_try;;
6377 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6378 $as_echo "$ac_try_echo") >&5
6379 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6381 grep -v '^ *+' conftest.er1 >conftest.err
6383 cat conftest.err >&5
6384 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6385 (exit $ac_status); } >/dev/null && {
6386 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6387 test ! -s conftest.err
6389 ac_header_preproc=yes
6391 $as_echo "$as_me: failed program was
:" >&5
6392 sed 's/^/| /' conftest.$ac_ext >&5
6394 ac_header_preproc=no
6397 rm -f conftest.err conftest.$ac_ext
6398 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
6399 $as_echo "$ac_header_preproc" >&6; }
6401 # So? What about this header?
6402 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6404 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
6405 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
6406 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
6407 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
6408 ac_header_preproc=yes
6411 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
6412 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
6413 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
6414 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
6415 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
6416 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
6417 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
6418 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
6419 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
6420 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
6421 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
6422 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
6424 ## ------------------------------------------------------------------- ##
6425 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
6426 ## ------------------------------------------------------------------- ##
6428 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
6431 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
6432 $as_echo_n "checking
for $ac_header...
" >&6; }
6433 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6434 $as_echo_n "(cached
) " >&6
6436 eval "$as_ac_Header=\
$ac_header_preproc"
6438 ac_res=`eval 'as_val=${'$as_ac_Header'}
6439 $as_echo "$as_val"'`
6440 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
6441 $as_echo "$ac_res" >&6; }
6444 as_val=`eval 'as_val=${'$as_ac_Header'}
6445 $as_echo "$as_val"'`
6446 if test "x
$as_val" = x""yes; then
6447 cat >>confdefs.h <<_ACEOF
6448 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6455 if test $ac_cv_header_locale_h = yes; then
6456 { $as_echo "$as_me:$LINENO: checking
for LC_MESSAGES
" >&5
6457 $as_echo_n "checking
for LC_MESSAGES...
" >&6; }
6458 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6459 $as_echo_n "(cached
) " >&6
6461 cat >conftest.$ac_ext <<_ACEOF
6464 cat confdefs.h >>conftest.$ac_ext
6465 cat >>conftest.$ac_ext <<_ACEOF
6466 /* end confdefs.h. */
6476 rm -f conftest.$ac_objext conftest$ac_exeext
6477 if { (ac_try="$ac_link"
6479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6480 *) ac_try_echo=$ac_try;;
6482 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6483 $as_echo "$ac_try_echo") >&5
6484 (eval "$ac_link") 2>conftest.er1
6486 grep -v '^ *+' conftest.er1 >conftest.err
6488 cat conftest.err >&5
6489 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6490 (exit $ac_status); } && {
6491 test -z "$ac_c_werror_flag" ||
6492 test ! -s conftest.err
6493 } && test -s conftest$ac_exeext && {
6494 test "$cross_compiling" = yes ||
6495 $as_test_x conftest$ac_exeext
6497 am_cv_val_LC_MESSAGES=yes
6499 $as_echo "$as_me: failed program was
:" >&5
6500 sed 's/^/| /' conftest.$ac_ext >&5
6502 am_cv_val_LC_MESSAGES=no
6505 rm -rf conftest.dSYM
6506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6507 conftest$ac_exeext conftest.$ac_ext
6509 { $as_echo "$as_me:$LINENO: result
: $am_cv_val_LC_MESSAGES" >&5
6510 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
6511 if test $am_cv_val_LC_MESSAGES = yes; then
6513 cat >>confdefs.h <<\_ACEOF
6514 #define HAVE_LC_MESSAGES 1
6522 gt_cv_have_gettext=no
6528 if test "${ac_cv_header_libintl_h+set}" = set; then
6529 { $as_echo "$as_me:$LINENO: checking
for libintl.h
" >&5
6530 $as_echo_n "checking
for libintl.h...
" >&6; }
6531 if test "${ac_cv_header_libintl_h+set}" = set; then
6532 $as_echo_n "(cached
) " >&6
6534 { $as_echo "$as_me:$LINENO: result
: $ac_cv_header_libintl_h" >&5
6535 $as_echo "$ac_cv_header_libintl_h" >&6; }
6537 # Is the header compilable?
6538 { $as_echo "$as_me:$LINENO: checking libintl.h usability
" >&5
6539 $as_echo_n "checking libintl.h usability...
" >&6; }
6540 cat >conftest.$ac_ext <<_ACEOF
6543 cat confdefs.h >>conftest.$ac_ext
6544 cat >>conftest.$ac_ext <<_ACEOF
6545 /* end confdefs.h. */
6546 $ac_includes_default
6547 #include <libintl.h>
6549 rm -f conftest.$ac_objext
6550 if { (ac_try="$ac_compile"
6552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6553 *) ac_try_echo=$ac_try;;
6555 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6556 $as_echo "$ac_try_echo") >&5
6557 (eval "$ac_compile") 2>conftest.er1
6559 grep -v '^ *+' conftest.er1 >conftest.err
6561 cat conftest.err >&5
6562 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6563 (exit $ac_status); } && {
6564 test -z "$ac_c_werror_flag" ||
6565 test ! -s conftest.err
6566 } && test -s conftest.$ac_objext; then
6567 ac_header_compiler=yes
6569 $as_echo "$as_me: failed program was
:" >&5
6570 sed 's/^/| /' conftest.$ac_ext >&5
6572 ac_header_compiler=no
6575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6576 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
6577 $as_echo "$ac_header_compiler" >&6; }
6579 # Is the header present?
6580 { $as_echo "$as_me:$LINENO: checking libintl.h presence
" >&5
6581 $as_echo_n "checking libintl.h presence...
" >&6; }
6582 cat >conftest.$ac_ext <<_ACEOF
6585 cat confdefs.h >>conftest.$ac_ext
6586 cat >>conftest.$ac_ext <<_ACEOF
6587 /* end confdefs.h. */
6588 #include <libintl.h>
6590 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6593 *) ac_try_echo=$ac_try;;
6595 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6596 $as_echo "$ac_try_echo") >&5
6597 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6599 grep -v '^ *+' conftest.er1 >conftest.err
6601 cat conftest.err >&5
6602 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6603 (exit $ac_status); } >/dev/null && {
6604 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6605 test ! -s conftest.err
6607 ac_header_preproc=yes
6609 $as_echo "$as_me: failed program was
:" >&5
6610 sed 's/^/| /' conftest.$ac_ext >&5
6612 ac_header_preproc=no
6615 rm -f conftest.err conftest.$ac_ext
6616 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
6617 $as_echo "$ac_header_preproc" >&6; }
6619 # So? What about this header?
6620 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6622 { $as_echo "$as_me:$LINENO: WARNING
: libintl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
6623 $as_echo "$as_me: WARNING
: libintl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
6624 { $as_echo "$as_me:$LINENO: WARNING
: libintl.h
: proceeding with the compiler
's result" >&5
6625 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result
" >&2;}
6626 ac_header_preproc=yes
6629 { $as_echo "$as_me:$LINENO: WARNING
: libintl.h
: present but cannot be compiled
" >&5
6630 $as_echo "$as_me: WARNING
: libintl.h
: present but cannot be compiled
" >&2;}
6631 { $as_echo "$as_me:$LINENO: WARNING
: libintl.h
: check
for missing prerequisite headers?
" >&5
6632 $as_echo "$as_me: WARNING
: libintl.h
: check
for missing prerequisite headers?
" >&2;}
6633 { $as_echo "$as_me:$LINENO: WARNING
: libintl.h
: see the Autoconf documentation
" >&5
6634 $as_echo "$as_me: WARNING
: libintl.h
: see the Autoconf documentation
" >&2;}
6635 { $as_echo "$as_me:$LINENO: WARNING
: libintl.h
: section
\"Present But Cannot Be Compiled
\"" >&5
6636 $as_echo "$as_me: WARNING
: libintl.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
6637 { $as_echo "$as_me:$LINENO: WARNING
: libintl.h
: proceeding with the preprocessor
's result" >&5
6638 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result
" >&2;}
6639 { $as_echo "$as_me:$LINENO: WARNING
: libintl.h
: in the future
, the compiler will take precedence
" >&5
6640 $as_echo "$as_me: WARNING
: libintl.h
: in the future
, the compiler will take precedence
" >&2;}
6642 ## ------------------------------------------------------------------- ##
6643 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
6644 ## ------------------------------------------------------------------- ##
6646 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
6649 { $as_echo "$as_me:$LINENO: checking
for libintl.h
" >&5
6650 $as_echo_n "checking
for libintl.h...
" >&6; }
6651 if test "${ac_cv_header_libintl_h+set}" = set; then
6652 $as_echo_n "(cached
) " >&6
6654 ac_cv_header_libintl_h=$ac_header_preproc
6656 { $as_echo "$as_me:$LINENO: result
: $ac_cv_header_libintl_h" >&5
6657 $as_echo "$ac_cv_header_libintl_h" >&6; }
6660 if test "x
$ac_cv_header_libintl_h" = x""yes; then
6661 gt_cv_func_dgettext_libintl="no
"
6662 libintl_extra_libs=""
6665 # First check in libc
6667 { $as_echo "$as_me:$LINENO: checking
for ngettext
in libc
" >&5
6668 $as_echo_n "checking
for ngettext
in libc...
" >&6; }
6669 if test "${gt_cv_func_ngettext_libc+set}" = set; then
6670 $as_echo_n "(cached
) " >&6
6672 cat >conftest.$ac_ext <<_ACEOF
6675 cat confdefs.h >>conftest.$ac_ext
6676 cat >>conftest.$ac_ext <<_ACEOF
6677 /* end confdefs.h. */
6679 #include <libintl.h>
6684 return !ngettext ("","", 1)
6689 rm -f conftest.$ac_objext conftest$ac_exeext
6690 if { (ac_try="$ac_link"
6692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6693 *) ac_try_echo=$ac_try;;
6695 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6696 $as_echo "$ac_try_echo") >&5
6697 (eval "$ac_link") 2>conftest.er1
6699 grep -v '^ *+' conftest.er1 >conftest.err
6701 cat conftest.err >&5
6702 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6703 (exit $ac_status); } && {
6704 test -z "$ac_c_werror_flag" ||
6705 test ! -s conftest.err
6706 } && test -s conftest$ac_exeext && {
6707 test "$cross_compiling" = yes ||
6708 $as_test_x conftest$ac_exeext
6710 gt_cv_func_ngettext_libc=yes
6712 $as_echo "$as_me: failed program was
:" >&5
6713 sed 's/^/| /' conftest.$ac_ext >&5
6715 gt_cv_func_ngettext_libc=no
6718 rm -rf conftest.dSYM
6719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6720 conftest$ac_exeext conftest.$ac_ext
6723 { $as_echo "$as_me:$LINENO: result
: $gt_cv_func_ngettext_libc" >&5
6724 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
6726 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6727 { $as_echo "$as_me:$LINENO: checking
for dgettext
in libc
" >&5
6728 $as_echo_n "checking
for dgettext
in libc...
" >&6; }
6729 if test "${gt_cv_func_dgettext_libc+set}" = set; then
6730 $as_echo_n "(cached
) " >&6
6732 cat >conftest.$ac_ext <<_ACEOF
6735 cat confdefs.h >>conftest.$ac_ext
6736 cat >>conftest.$ac_ext <<_ACEOF
6737 /* end confdefs.h. */
6739 #include <libintl.h>
6744 return !dgettext ("","")
6749 rm -f conftest.$ac_objext conftest$ac_exeext
6750 if { (ac_try="$ac_link"
6752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6753 *) ac_try_echo=$ac_try;;
6755 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6756 $as_echo "$ac_try_echo") >&5
6757 (eval "$ac_link") 2>conftest.er1
6759 grep -v '^ *+' conftest.er1 >conftest.err
6761 cat conftest.err >&5
6762 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6763 (exit $ac_status); } && {
6764 test -z "$ac_c_werror_flag" ||
6765 test ! -s conftest.err
6766 } && test -s conftest$ac_exeext && {
6767 test "$cross_compiling" = yes ||
6768 $as_test_x conftest$ac_exeext
6770 gt_cv_func_dgettext_libc=yes
6772 $as_echo "$as_me: failed program was
:" >&5
6773 sed 's/^/| /' conftest.$ac_ext >&5
6775 gt_cv_func_dgettext_libc=no
6778 rm -rf conftest.dSYM
6779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6780 conftest$ac_exeext conftest.$ac_ext
6783 { $as_echo "$as_me:$LINENO: result
: $gt_cv_func_dgettext_libc" >&5
6784 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
6787 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6789 for ac_func in bind_textdomain_codeset
6791 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
6792 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
6793 $as_echo_n "checking
for $ac_func...
" >&6; }
6794 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
6795 $as_echo_n "(cached
) " >&6
6797 cat >conftest.$ac_ext <<_ACEOF
6800 cat confdefs.h >>conftest.$ac_ext
6801 cat >>conftest.$ac_ext <<_ACEOF
6802 /* end confdefs.h. */
6803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6805 #define $ac_func innocuous_$ac_func
6807 /* System header to define __stub macros and hopefully few prototypes,
6808 which can conflict with char $ac_func (); below.
6809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6810 <limits.h> exists even on freestanding compilers. */
6813 # include <limits.h>
6815 # include <assert.h>
6820 /* Override any GCC internal prototype to avoid an error.
6821 Use char because int might match the return type of a GCC
6822 builtin and then its argument prototype would still apply. */
6827 /* The GNU C library defines this for functions which it implements
6828 to always fail with ENOSYS. Some functions are actually named
6829 something starting with __ and the normal name is an alias. */
6830 #if defined __stub_$ac_func || defined __stub___$ac_func
6842 rm -f conftest.$ac_objext conftest$ac_exeext
6843 if { (ac_try="$ac_link"
6845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6846 *) ac_try_echo=$ac_try;;
6848 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6849 $as_echo "$ac_try_echo") >&5
6850 (eval "$ac_link") 2>conftest.er1
6852 grep -v '^ *+' conftest.er1 >conftest.err
6854 cat conftest.err >&5
6855 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6856 (exit $ac_status); } && {
6857 test -z "$ac_c_werror_flag" ||
6858 test ! -s conftest.err
6859 } && test -s conftest$ac_exeext && {
6860 test "$cross_compiling" = yes ||
6861 $as_test_x conftest$ac_exeext
6863 eval "$as_ac_var=yes"
6865 $as_echo "$as_me: failed program was
:" >&5
6866 sed 's/^/| /' conftest.$ac_ext >&5
6868 eval "$as_ac_var=no
"
6871 rm -rf conftest.dSYM
6872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6873 conftest$ac_exeext conftest.$ac_ext
6875 ac_res=`eval 'as_val=${'$as_ac_var'}
6876 $as_echo "$as_val"'`
6877 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
6878 $as_echo "$ac_res" >&6; }
6879 as_val=`eval 'as_val=${'$as_ac_var'}
6880 $as_echo "$as_val"'`
6881 if test "x
$as_val" = x""yes; then
6882 cat >>confdefs.h <<_ACEOF
6883 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
6892 # If we don't have everything we want, check in libintl
6894 if test "$gt_cv_func_dgettext_libc" != "yes" \
6895 || test "$gt_cv_func_ngettext_libc" != "yes" \
6896 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6898 { $as_echo "$as_me:$LINENO: checking
for bindtextdomain
in -lintl" >&5
6899 $as_echo_n "checking
for bindtextdomain
in -lintl...
" >&6; }
6900 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
6901 $as_echo_n "(cached
) " >&6
6903 ac_check_lib_save_LIBS=$LIBS
6905 cat >conftest.$ac_ext <<_ACEOF
6908 cat confdefs.h >>conftest.$ac_ext
6909 cat >>conftest.$ac_ext <<_ACEOF
6910 /* end confdefs.h. */
6912 /* Override any GCC internal prototype to avoid an error.
6913 Use char because int might match the return type of a GCC
6914 builtin and then its argument prototype would still apply. */
6918 char bindtextdomain ();
6922 return bindtextdomain ();
6927 rm -f conftest.$ac_objext conftest$ac_exeext
6928 if { (ac_try="$ac_link"
6930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6931 *) ac_try_echo=$ac_try;;
6933 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6934 $as_echo "$ac_try_echo") >&5
6935 (eval "$ac_link") 2>conftest.er1
6937 grep -v '^ *+' conftest.er1 >conftest.err
6939 cat conftest.err >&5
6940 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6941 (exit $ac_status); } && {
6942 test -z "$ac_c_werror_flag" ||
6943 test ! -s conftest.err
6944 } && test -s conftest$ac_exeext && {
6945 test "$cross_compiling" = yes ||
6946 $as_test_x conftest$ac_exeext
6948 ac_cv_lib_intl_bindtextdomain=yes
6950 $as_echo "$as_me: failed program was
:" >&5
6951 sed 's/^/| /' conftest.$ac_ext >&5
6953 ac_cv_lib_intl_bindtextdomain=no
6956 rm -rf conftest.dSYM
6957 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6958 conftest$ac_exeext conftest.$ac_ext
6959 LIBS=$ac_check_lib_save_LIBS
6961 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_bindtextdomain" >&5
6962 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
6963 if test "x
$ac_cv_lib_intl_bindtextdomain" = x""yes; then
6964 { $as_echo "$as_me:$LINENO: checking
for ngettext
in -lintl" >&5
6965 $as_echo_n "checking
for ngettext
in -lintl...
" >&6; }
6966 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6967 $as_echo_n "(cached
) " >&6
6969 ac_check_lib_save_LIBS=$LIBS
6971 cat >conftest.$ac_ext <<_ACEOF
6974 cat confdefs.h >>conftest.$ac_ext
6975 cat >>conftest.$ac_ext <<_ACEOF
6976 /* end confdefs.h. */
6978 /* Override any GCC internal prototype to avoid an error.
6979 Use char because int might match the return type of a GCC
6980 builtin and then its argument prototype would still apply. */
6993 rm -f conftest.$ac_objext conftest$ac_exeext
6994 if { (ac_try="$ac_link"
6996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6997 *) ac_try_echo=$ac_try;;
6999 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7000 $as_echo "$ac_try_echo") >&5
7001 (eval "$ac_link") 2>conftest.er1
7003 grep -v '^ *+' conftest.er1 >conftest.err
7005 cat conftest.err >&5
7006 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7007 (exit $ac_status); } && {
7008 test -z "$ac_c_werror_flag" ||
7009 test ! -s conftest.err
7010 } && test -s conftest$ac_exeext && {
7011 test "$cross_compiling" = yes ||
7012 $as_test_x conftest$ac_exeext
7014 ac_cv_lib_intl_ngettext=yes
7016 $as_echo "$as_me: failed program was
:" >&5
7017 sed 's/^/| /' conftest.$ac_ext >&5
7019 ac_cv_lib_intl_ngettext=no
7022 rm -rf conftest.dSYM
7023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7024 conftest$ac_exeext conftest.$ac_ext
7025 LIBS=$ac_check_lib_save_LIBS
7027 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_ngettext" >&5
7028 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
7029 if test "x
$ac_cv_lib_intl_ngettext" = x""yes; then
7030 { $as_echo "$as_me:$LINENO: checking
for dgettext
in -lintl" >&5
7031 $as_echo_n "checking
for dgettext
in -lintl...
" >&6; }
7032 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
7033 $as_echo_n "(cached
) " >&6
7035 ac_check_lib_save_LIBS=$LIBS
7037 cat >conftest.$ac_ext <<_ACEOF
7040 cat confdefs.h >>conftest.$ac_ext
7041 cat >>conftest.$ac_ext <<_ACEOF
7042 /* end confdefs.h. */
7044 /* Override any GCC internal prototype to avoid an error.
7045 Use char because int might match the return type of a GCC
7046 builtin and then its argument prototype would still apply. */
7059 rm -f conftest.$ac_objext conftest$ac_exeext
7060 if { (ac_try="$ac_link"
7062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7063 *) ac_try_echo=$ac_try;;
7065 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7066 $as_echo "$ac_try_echo") >&5
7067 (eval "$ac_link") 2>conftest.er1
7069 grep -v '^ *+' conftest.er1 >conftest.err
7071 cat conftest.err >&5
7072 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7073 (exit $ac_status); } && {
7074 test -z "$ac_c_werror_flag" ||
7075 test ! -s conftest.err
7076 } && test -s conftest$ac_exeext && {
7077 test "$cross_compiling" = yes ||
7078 $as_test_x conftest$ac_exeext
7080 ac_cv_lib_intl_dgettext=yes
7082 $as_echo "$as_me: failed program was
:" >&5
7083 sed 's/^/| /' conftest.$ac_ext >&5
7085 ac_cv_lib_intl_dgettext=no
7088 rm -rf conftest.dSYM
7089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7090 conftest$ac_exeext conftest.$ac_ext
7091 LIBS=$ac_check_lib_save_LIBS
7093 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_dgettext" >&5
7094 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
7095 if test "x
$ac_cv_lib_intl_dgettext" = x""yes; then
7096 gt_cv_func_dgettext_libintl=yes
7104 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
7105 { $as_echo "$as_me:$LINENO: checking
if -liconv is needed to use
gettext" >&5
7106 $as_echo_n "checking
if -liconv is needed to use
gettext...
" >&6; }
7107 { $as_echo "$as_me:$LINENO: result
: " >&5
7109 { $as_echo "$as_me:$LINENO: checking
for ngettext
in -lintl" >&5
7110 $as_echo_n "checking
for ngettext
in -lintl...
" >&6; }
7111 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
7112 $as_echo_n "(cached
) " >&6
7114 ac_check_lib_save_LIBS=$LIBS
7115 LIBS="-lintl -liconv $LIBS"
7116 cat >conftest.$ac_ext <<_ACEOF
7119 cat confdefs.h >>conftest.$ac_ext
7120 cat >>conftest.$ac_ext <<_ACEOF
7121 /* end confdefs.h. */
7123 /* Override any GCC internal prototype to avoid an error.
7124 Use char because int might match the return type of a GCC
7125 builtin and then its argument prototype would still apply. */
7138 rm -f conftest.$ac_objext conftest$ac_exeext
7139 if { (ac_try="$ac_link"
7141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7142 *) ac_try_echo=$ac_try;;
7144 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7145 $as_echo "$ac_try_echo") >&5
7146 (eval "$ac_link") 2>conftest.er1
7148 grep -v '^ *+' conftest.er1 >conftest.err
7150 cat conftest.err >&5
7151 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7152 (exit $ac_status); } && {
7153 test -z "$ac_c_werror_flag" ||
7154 test ! -s conftest.err
7155 } && test -s conftest$ac_exeext && {
7156 test "$cross_compiling" = yes ||
7157 $as_test_x conftest$ac_exeext
7159 ac_cv_lib_intl_ngettext=yes
7161 $as_echo "$as_me: failed program was
:" >&5
7162 sed 's/^/| /' conftest.$ac_ext >&5
7164 ac_cv_lib_intl_ngettext=no
7167 rm -rf conftest.dSYM
7168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7169 conftest$ac_exeext conftest.$ac_ext
7170 LIBS=$ac_check_lib_save_LIBS
7172 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_ngettext" >&5
7173 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
7174 if test "x
$ac_cv_lib_intl_ngettext" = x""yes; then
7175 { $as_echo "$as_me:$LINENO: checking
for dcgettext
in -lintl" >&5
7176 $as_echo_n "checking
for dcgettext
in -lintl...
" >&6; }
7177 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
7178 $as_echo_n "(cached
) " >&6
7180 ac_check_lib_save_LIBS=$LIBS
7181 LIBS="-lintl -liconv $LIBS"
7182 cat >conftest.$ac_ext <<_ACEOF
7185 cat confdefs.h >>conftest.$ac_ext
7186 cat >>conftest.$ac_ext <<_ACEOF
7187 /* end confdefs.h. */
7189 /* Override any GCC internal prototype to avoid an error.
7190 Use char because int might match the return type of a GCC
7191 builtin and then its argument prototype would still apply. */
7199 return dcgettext ();
7204 rm -f conftest.$ac_objext conftest$ac_exeext
7205 if { (ac_try="$ac_link"
7207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7208 *) ac_try_echo=$ac_try;;
7210 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7211 $as_echo "$ac_try_echo") >&5
7212 (eval "$ac_link") 2>conftest.er1
7214 grep -v '^ *+' conftest.er1 >conftest.err
7216 cat conftest.err >&5
7217 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7218 (exit $ac_status); } && {
7219 test -z "$ac_c_werror_flag" ||
7220 test ! -s conftest.err
7221 } && test -s conftest$ac_exeext && {
7222 test "$cross_compiling" = yes ||
7223 $as_test_x conftest$ac_exeext
7225 ac_cv_lib_intl_dcgettext=yes
7227 $as_echo "$as_me: failed program was
:" >&5
7228 sed 's/^/| /' conftest.$ac_ext >&5
7230 ac_cv_lib_intl_dcgettext=no
7233 rm -rf conftest.dSYM
7234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7235 conftest$ac_exeext conftest.$ac_ext
7236 LIBS=$ac_check_lib_save_LIBS
7238 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_dcgettext" >&5
7239 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
7240 if test "x
$ac_cv_lib_intl_dcgettext" = x""yes; then
7241 gt_cv_func_dgettext_libintl=yes
7242 libintl_extra_libs=-liconv
7254 # If we found libintl, then check in it for bind_textdomain_codeset();
7255 # we'll prefer libc if neither have bind_textdomain_codeset(),
7256 # and both have dgettext and ngettext
7258 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
7259 glib_save_LIBS="$LIBS"
7260 LIBS="$LIBS -lintl $libintl_extra_libs"
7261 unset ac_cv_func_bind_textdomain_codeset
7263 for ac_func in bind_textdomain_codeset
7265 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
7266 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
7267 $as_echo_n "checking
for $ac_func...
" >&6; }
7268 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
7269 $as_echo_n "(cached
) " >&6
7271 cat >conftest.$ac_ext <<_ACEOF
7274 cat confdefs.h >>conftest.$ac_ext
7275 cat >>conftest.$ac_ext <<_ACEOF
7276 /* end confdefs.h. */
7277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7279 #define $ac_func innocuous_$ac_func
7281 /* System header to define __stub macros and hopefully few prototypes,
7282 which can conflict with char $ac_func (); below.
7283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7284 <limits.h> exists even on freestanding compilers. */
7287 # include <limits.h>
7289 # include <assert.h>
7294 /* Override any GCC internal prototype to avoid an error.
7295 Use char because int might match the return type of a GCC
7296 builtin and then its argument prototype would still apply. */
7301 /* The GNU C library defines this for functions which it implements
7302 to always fail with ENOSYS. Some functions are actually named
7303 something starting with __ and the normal name is an alias. */
7304 #if defined __stub_$ac_func || defined __stub___$ac_func
7316 rm -f conftest.$ac_objext conftest$ac_exeext
7317 if { (ac_try="$ac_link"
7319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7320 *) ac_try_echo=$ac_try;;
7322 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7323 $as_echo "$ac_try_echo") >&5
7324 (eval "$ac_link") 2>conftest.er1
7326 grep -v '^ *+' conftest.er1 >conftest.err
7328 cat conftest.err >&5
7329 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7330 (exit $ac_status); } && {
7331 test -z "$ac_c_werror_flag" ||
7332 test ! -s conftest.err
7333 } && test -s conftest$ac_exeext && {
7334 test "$cross_compiling" = yes ||
7335 $as_test_x conftest$ac_exeext
7337 eval "$as_ac_var=yes"
7339 $as_echo "$as_me: failed program was
:" >&5
7340 sed 's/^/| /' conftest.$ac_ext >&5
7342 eval "$as_ac_var=no
"
7345 rm -rf conftest.dSYM
7346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7347 conftest$ac_exeext conftest.$ac_ext
7349 ac_res=`eval 'as_val=${'$as_ac_var'}
7350 $as_echo "$as_val"'`
7351 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7352 $as_echo "$ac_res" >&6; }
7353 as_val=`eval 'as_val=${'$as_ac_var'}
7354 $as_echo "$as_val"'`
7355 if test "x
$as_val" = x""yes; then
7356 cat >>confdefs.h <<_ACEOF
7357 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
7363 LIBS="$glib_save_LIBS"
7365 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
7366 gt_cv_func_dgettext_libc=no
7368 if test "$gt_cv_func_dgettext_libc" = "yes" \
7369 && test "$gt_cv_func_ngettext_libc" = "yes"; then
7370 gt_cv_func_dgettext_libintl=no
7376 if test "$gt_cv_func_dgettext_libc" = "yes" \
7377 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
7378 gt_cv_have_gettext=yes
7381 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
7382 INTLLIBS="-lintl $libintl_extra_libs"
7385 if test "$gt_cv_have_gettext" = "yes"; then
7387 cat >>confdefs.h <<\_ACEOF
7388 #define HAVE_GETTEXT 1
7391 # Extract the first word of "msgfmt
", so it can be a program name with args.
7392 set dummy msgfmt; ac_word=$2
7393 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7394 $as_echo_n "checking
for $ac_word...
" >&6; }
7395 if test "${ac_cv_path_MSGFMT+set}" = set; then
7396 $as_echo_n "(cached
) " >&6
7400 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7403 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7404 for ac_dir in $PATH; do
7405 test -z "$ac_dir" && ac_dir=.
7406 if test -f $ac_dir/$ac_word; then
7407 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7408 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
7414 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no
"
7418 MSGFMT="$ac_cv_path_MSGFMT"
7419 if test "$MSGFMT" != "no
"; then
7420 { $as_echo "$as_me:$LINENO: result
: $MSGFMT" >&5
7421 $as_echo "$MSGFMT" >&6; }
7423 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7424 $as_echo "no
" >&6; }
7426 if test "$MSGFMT" != "no
"; then
7427 glib_save_LIBS="$LIBS"
7428 LIBS="$LIBS $INTLLIBS"
7430 for ac_func in dcgettext
7432 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
7433 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
7434 $as_echo_n "checking
for $ac_func...
" >&6; }
7435 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
7436 $as_echo_n "(cached
) " >&6
7438 cat >conftest.$ac_ext <<_ACEOF
7441 cat confdefs.h >>conftest.$ac_ext
7442 cat >>conftest.$ac_ext <<_ACEOF
7443 /* end confdefs.h. */
7444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7446 #define $ac_func innocuous_$ac_func
7448 /* System header to define __stub macros and hopefully few prototypes,
7449 which can conflict with char $ac_func (); below.
7450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7451 <limits.h> exists even on freestanding compilers. */
7454 # include <limits.h>
7456 # include <assert.h>
7461 /* Override any GCC internal prototype to avoid an error.
7462 Use char because int might match the return type of a GCC
7463 builtin and then its argument prototype would still apply. */
7468 /* The GNU C library defines this for functions which it implements
7469 to always fail with ENOSYS. Some functions are actually named
7470 something starting with __ and the normal name is an alias. */
7471 #if defined __stub_$ac_func || defined __stub___$ac_func
7483 rm -f conftest.$ac_objext conftest$ac_exeext
7484 if { (ac_try="$ac_link"
7486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7487 *) ac_try_echo=$ac_try;;
7489 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7490 $as_echo "$ac_try_echo") >&5
7491 (eval "$ac_link") 2>conftest.er1
7493 grep -v '^ *+' conftest.er1 >conftest.err
7495 cat conftest.err >&5
7496 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7497 (exit $ac_status); } && {
7498 test -z "$ac_c_werror_flag" ||
7499 test ! -s conftest.err
7500 } && test -s conftest$ac_exeext && {
7501 test "$cross_compiling" = yes ||
7502 $as_test_x conftest$ac_exeext
7504 eval "$as_ac_var=yes"
7506 $as_echo "$as_me: failed program was
:" >&5
7507 sed 's/^/| /' conftest.$ac_ext >&5
7509 eval "$as_ac_var=no
"
7512 rm -rf conftest.dSYM
7513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7514 conftest$ac_exeext conftest.$ac_ext
7516 ac_res=`eval 'as_val=${'$as_ac_var'}
7517 $as_echo "$as_val"'`
7518 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7519 $as_echo "$ac_res" >&6; }
7520 as_val=`eval 'as_val=${'$as_ac_var'}
7521 $as_echo "$as_val"'`
7522 if test "x
$as_val" = x""yes; then
7523 cat >>confdefs.h <<_ACEOF
7524 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
7531 { $as_echo "$as_me:$LINENO: checking
if msgfmt accepts
-c" >&5
7532 $as_echo_n "checking
if msgfmt accepts
-c...
" >&6; }
7533 cat >conftest.foo <<_ACEOF
7537 "Content-Type
: text
/plain
; charset
=UTF-8
\n"
7538 "Project-Id-Version
: test 1.0\n"
7539 "PO-Revision-Date
: 2007-02-15 12:01+0100\n"
7540 "Last-Translator
: test <foo@bar.xx
>\n"
7541 "Language-Team
: C
<LL@li.org
>\n"
7542 "MIME-Version
: 1.0\n"
7543 "Content-Transfer-Encoding
: 8bit
\n"
7546 if { ($as_echo "$as_me:$LINENO: \
$MSGFMT -c -o /dev
/null conftest.foo
") >&5
7547 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
7549 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7550 (exit $ac_status); }; then
7551 MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result
: yes" >&5
7552 $as_echo "yes" >&6; }
7553 else { $as_echo "$as_me:$LINENO: result
: no
" >&5
7554 $as_echo "no
" >&6; }
7555 echo "$as_me: failed input was
:" >&5
7556 sed 's/^/| /' conftest.foo >&5
7559 # Extract the first word of "gmsgfmt
", so it can be a program name with args.
7560 set dummy gmsgfmt; ac_word=$2
7561 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7562 $as_echo_n "checking
for $ac_word...
" >&6; }
7563 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7564 $as_echo_n "(cached
) " >&6
7568 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7575 test -z "$as_dir" && as_dir=.
7576 for ac_exec_ext in '' $ac_executable_extensions; do
7577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7578 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7579 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7586 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7590 GMSGFMT=$ac_cv_path_GMSGFMT
7591 if test -n "$GMSGFMT"; then
7592 { $as_echo "$as_me:$LINENO: result
: $GMSGFMT" >&5
7593 $as_echo "$GMSGFMT" >&6; }
7595 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7596 $as_echo "no
" >&6; }
7600 # Extract the first word of "xgettext
", so it can be a program name with args.
7601 set dummy xgettext; ac_word=$2
7602 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7603 $as_echo_n "checking
for $ac_word...
" >&6; }
7604 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7605 $as_echo_n "(cached
) " >&6
7609 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7612 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7613 for ac_dir in $PATH; do
7614 test -z "$ac_dir" && ac_dir=.
7615 if test -f $ac_dir/$ac_word; then
7616 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7617 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
7623 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7627 XGETTEXT="$ac_cv_path_XGETTEXT"
7628 if test "$XGETTEXT" != ":"; then
7629 { $as_echo "$as_me:$LINENO: result
: $XGETTEXT" >&5
7630 $as_echo "$XGETTEXT" >&6; }
7632 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7633 $as_echo "no
" >&6; }
7636 cat >conftest.$ac_ext <<_ACEOF
7639 cat confdefs.h >>conftest.$ac_ext
7640 cat >>conftest.$ac_ext <<_ACEOF
7641 /* end confdefs.h. */
7646 extern int _nl_msg_cat_cntr;
7647 return _nl_msg_cat_cntr
7652 rm -f conftest.$ac_objext conftest$ac_exeext
7653 if { (ac_try="$ac_link"
7655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7656 *) ac_try_echo=$ac_try;;
7658 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7659 $as_echo "$ac_try_echo") >&5
7660 (eval "$ac_link") 2>conftest.er1
7662 grep -v '^ *+' conftest.er1 >conftest.err
7664 cat conftest.err >&5
7665 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7666 (exit $ac_status); } && {
7667 test -z "$ac_c_werror_flag" ||
7668 test ! -s conftest.err
7669 } && test -s conftest$ac_exeext && {
7670 test "$cross_compiling" = yes ||
7671 $as_test_x conftest$ac_exeext
7676 $as_echo "$as_me: failed program was
:" >&5
7677 sed 's/^/| /' conftest.$ac_ext >&5
7681 { $as_echo "$as_me:$LINENO: checking
for bind_textdomain_codeset
" >&5
7682 $as_echo_n "checking
for bind_textdomain_codeset...
" >&6; }
7683 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7684 $as_echo_n "(cached
) " >&6
7686 cat >conftest.$ac_ext <<_ACEOF
7689 cat confdefs.h >>conftest.$ac_ext
7690 cat >>conftest.$ac_ext <<_ACEOF
7691 /* end confdefs.h. */
7692 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7694 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7696 /* System header to define __stub macros and hopefully few prototypes,
7697 which can conflict with char bind_textdomain_codeset (); below.
7698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7699 <limits.h> exists even on freestanding compilers. */
7702 # include <limits.h>
7704 # include <assert.h>
7707 #undef bind_textdomain_codeset
7709 /* Override any GCC internal prototype to avoid an error.
7710 Use char because int might match the return type of a GCC
7711 builtin and then its argument prototype would still apply. */
7715 char bind_textdomain_codeset ();
7716 /* The GNU C library defines this for functions which it implements
7717 to always fail with ENOSYS. Some functions are actually named
7718 something starting with __ and the normal name is an alias. */
7719 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7726 return bind_textdomain_codeset ();
7731 rm -f conftest.$ac_objext conftest$ac_exeext
7732 if { (ac_try="$ac_link"
7734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7735 *) ac_try_echo=$ac_try;;
7737 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7738 $as_echo "$ac_try_echo") >&5
7739 (eval "$ac_link") 2>conftest.er1
7741 grep -v '^ *+' conftest.er1 >conftest.err
7743 cat conftest.err >&5
7744 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7745 (exit $ac_status); } && {
7746 test -z "$ac_c_werror_flag" ||
7747 test ! -s conftest.err
7748 } && test -s conftest$ac_exeext && {
7749 test "$cross_compiling" = yes ||
7750 $as_test_x conftest$ac_exeext
7752 ac_cv_func_bind_textdomain_codeset=yes
7754 $as_echo "$as_me: failed program was
:" >&5
7755 sed 's/^/| /' conftest.$ac_ext >&5
7757 ac_cv_func_bind_textdomain_codeset=no
7760 rm -rf conftest.dSYM
7761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7762 conftest$ac_exeext conftest.$ac_ext
7764 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_bind_textdomain_codeset" >&5
7765 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
7766 if test "x
$ac_cv_func_bind_textdomain_codeset" = x""yes; then
7782 rm -rf conftest.dSYM
7783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7784 conftest$ac_exeext conftest.$ac_ext
7785 LIBS="$glib_save_LIBS"
7788 gt_cv_have_gettext=no
7796 if test "$gt_cv_have_gettext" = "yes" ; then
7798 cat >>confdefs.h <<\_ACEOF
7799 #define ENABLE_NLS 1
7804 if test "$XGETTEXT" != ":"; then
7805 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7808 { $as_echo "$as_me:$LINENO: result
: found xgettext program is not GNU xgettext
; ignore it
" >&5
7809 $as_echo "found xgettext program is not GNU xgettext
; ignore it
" >&6; }
7814 # We need to process the po/ directory.
7817 ac_config_commands="$ac_config_commands default-1
"
7820 for lang in $ALL_LINGUAS; do
7821 GMOFILES="$GMOFILES $lang.gmo
"
7822 POFILES="$POFILES $lang.po
"
7837 if test "$gt_cv_have_gettext" = "yes"; then
7838 if test "x
$ALL_LINGUAS" = "x
"; then
7841 { $as_echo "$as_me:$LINENO: checking
for catalogs to be installed
" >&5
7842 $as_echo_n "checking
for catalogs to be installed...
" >&6; }
7844 for presentlang in $ALL_LINGUAS; do
7846 if test "%UNSET
%" != "${LINGUAS-%UNSET%}"; then
7847 desiredlanguages="$LINGUAS"
7849 desiredlanguages="$ALL_LINGUAS"
7851 for desiredlang in $desiredlanguages; do
7852 # Use the presentlang catalog if desiredlang is
7853 # a. equal to presentlang, or
7854 # b. a variant of presentlang (because in this case,
7855 # presentlang can be used as a fallback for messages
7856 # which are not translated in the desiredlang catalog).
7857 case "$desiredlang" in
7858 "$presentlang"*) useit=yes;;
7861 if test $useit = yes; then
7862 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
7865 LINGUAS=$NEW_LINGUAS
7866 { $as_echo "$as_me:$LINENO: result
: $LINGUAS" >&5
7867 $as_echo "$LINGUAS" >&6; }
7870 if test -n "$LINGUAS"; then
7871 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
7876 if test -n "$ac_aux_dir"; then
7877 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs
"
7879 if test -z "$MKINSTALLDIRS"; then
7880 MKINSTALLDIRS="\$
(top_srcdir
)/mkinstalldirs
"
7884 test -d po || mkdir po
7885 if test "x
$srcdir" != "x.
"; then
7886 if test "x
`echo $srcdir | sed 's@/.*@@'`" = "x
"; then
7887 posrcprefix="$srcdir/"
7889 posrcprefix="..
/$srcdir/"
7895 sed -e "/^
#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7896 < $srcdir/po
/POTFILES.
in > po
/POTFILES
7901 { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7902 $as_echo_n "checking whether NLS is requested... " >&6; }
7903 # Check whether --enable-nls was given.
7904 if test "${enable_nls+set}" = set; then
7905 enableval
=$enable_nls; USE_NLS
=$enableval
7910 { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
7911 $as_echo "$USE_NLS" >&6; }
7916 case "$am__api_version" in
7918 { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
7919 $as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
7920 { (exit 1); exit 1; }; }
7927 { $as_echo "$as_me:$LINENO: checking for intltool >= " >&5
7928 $as_echo_n "checking for intltool >= ... " >&6; }
7930 INTLTOOL_REQUIRED_VERSION_AS_INT
=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7931 INTLTOOL_APPLIED_VERSION
=`intltool-update --version | head -1 | cut -d" " -f3`
7932 INTLTOOL_APPLIED_VERSION_AS_INT
=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7934 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
7935 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
7936 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
7937 { { $as_echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool or later." >&5
7938 $as_echo "$as_me: error: Your intltool is too old. You need intltool or later." >&2;}
7939 { (exit 1); exit 1; }; }
7942 # Extract the first word of "intltool-update", so it can be a program name with args.
7943 set dummy intltool-update
; ac_word
=$2
7944 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7945 $as_echo_n "checking for $ac_word... " >&6; }
7946 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
7947 $as_echo_n "(cached) " >&6
7949 case $INTLTOOL_UPDATE in
7951 ac_cv_path_INTLTOOL_UPDATE
="$INTLTOOL_UPDATE" # Let the user override the test with a path.
7954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7958 test -z "$as_dir" && as_dir
=.
7959 for ac_exec_ext
in '' $ac_executable_extensions; do
7960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7961 ac_cv_path_INTLTOOL_UPDATE
="$as_dir/$ac_word$ac_exec_ext"
7962 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7972 INTLTOOL_UPDATE
=$ac_cv_path_INTLTOOL_UPDATE
7973 if test -n "$INTLTOOL_UPDATE"; then
7974 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
7975 $as_echo "$INTLTOOL_UPDATE" >&6; }
7977 { $as_echo "$as_me:$LINENO: result: no" >&5
7978 $as_echo "no" >&6; }
7982 # Extract the first word of "intltool-merge", so it can be a program name with args.
7983 set dummy intltool-merge
; ac_word
=$2
7984 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7985 $as_echo_n "checking for $ac_word... " >&6; }
7986 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
7987 $as_echo_n "(cached) " >&6
7989 case $INTLTOOL_MERGE in
7991 ac_cv_path_INTLTOOL_MERGE
="$INTLTOOL_MERGE" # Let the user override the test with a path.
7994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7998 test -z "$as_dir" && as_dir
=.
7999 for ac_exec_ext
in '' $ac_executable_extensions; do
8000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8001 ac_cv_path_INTLTOOL_MERGE
="$as_dir/$ac_word$ac_exec_ext"
8002 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8012 INTLTOOL_MERGE
=$ac_cv_path_INTLTOOL_MERGE
8013 if test -n "$INTLTOOL_MERGE"; then
8014 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
8015 $as_echo "$INTLTOOL_MERGE" >&6; }
8017 { $as_echo "$as_me:$LINENO: result: no" >&5
8018 $as_echo "no" >&6; }
8022 # Extract the first word of "intltool-extract", so it can be a program name with args.
8023 set dummy intltool-extract
; ac_word
=$2
8024 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8025 $as_echo_n "checking for $ac_word... " >&6; }
8026 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
8027 $as_echo_n "(cached) " >&6
8029 case $INTLTOOL_EXTRACT in
8031 ac_cv_path_INTLTOOL_EXTRACT
="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
8034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8038 test -z "$as_dir" && as_dir
=.
8039 for ac_exec_ext
in '' $ac_executable_extensions; do
8040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8041 ac_cv_path_INTLTOOL_EXTRACT
="$as_dir/$ac_word$ac_exec_ext"
8042 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8052 INTLTOOL_EXTRACT
=$ac_cv_path_INTLTOOL_EXTRACT
8053 if test -n "$INTLTOOL_EXTRACT"; then
8054 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
8055 $as_echo "$INTLTOOL_EXTRACT" >&6; }
8057 { $as_echo "$as_me:$LINENO: result: no" >&5
8058 $as_echo "no" >&6; }
8062 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
8063 { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
8064 $as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
8065 { (exit 1); exit 1; }; }
8068 INTLTOOL_DESKTOP_RULE
='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8069 INTLTOOL_DIRECTORY_RULE
='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8070 INTLTOOL_KEYS_RULE
='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8071 INTLTOOL_PROP_RULE
='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8072 INTLTOOL_OAF_RULE
='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
8073 INTLTOOL_PONG_RULE
='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8074 INTLTOOL_SERVER_RULE
='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8075 INTLTOOL_SHEET_RULE
='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8076 INTLTOOL_SOUNDLIST_RULE
='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8077 INTLTOOL_UI_RULE
='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8078 INTLTOOL_XML_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8079 INTLTOOL_XML_NOMERGE_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
8080 INTLTOOL_XAM_RULE
='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8081 INTLTOOL_KBD_RULE
='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8082 INTLTOOL_CAVES_RULE
='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8083 INTLTOOL_SCHEMAS_RULE
='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8084 INTLTOOL_THEME_RULE
='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8085 INTLTOOL_SERVICE_RULE
='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8086 INTLTOOL_POLICY_RULE
='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8184 # Check the gettext tools to make sure they are GNU
8185 # Extract the first word of "xgettext", so it can be a program name with args.
8186 set dummy xgettext
; ac_word
=$2
8187 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8188 $as_echo_n "checking for $ac_word... " >&6; }
8189 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8190 $as_echo_n "(cached) " >&6
8194 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8201 test -z "$as_dir" && as_dir
=.
8202 for ac_exec_ext
in '' $ac_executable_extensions; do
8203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8204 ac_cv_path_XGETTEXT
="$as_dir/$ac_word$ac_exec_ext"
8205 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8215 XGETTEXT
=$ac_cv_path_XGETTEXT
8216 if test -n "$XGETTEXT"; then
8217 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8218 $as_echo "$XGETTEXT" >&6; }
8220 { $as_echo "$as_me:$LINENO: result: no" >&5
8221 $as_echo "no" >&6; }
8225 # Extract the first word of "msgmerge", so it can be a program name with args.
8226 set dummy msgmerge
; ac_word
=$2
8227 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8228 $as_echo_n "checking for $ac_word... " >&6; }
8229 if test "${ac_cv_path_MSGMERGE+set}" = set; then
8230 $as_echo_n "(cached) " >&6
8234 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
8237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8241 test -z "$as_dir" && as_dir
=.
8242 for ac_exec_ext
in '' $ac_executable_extensions; do
8243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8244 ac_cv_path_MSGMERGE
="$as_dir/$ac_word$ac_exec_ext"
8245 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8255 MSGMERGE
=$ac_cv_path_MSGMERGE
8256 if test -n "$MSGMERGE"; then
8257 { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
8258 $as_echo "$MSGMERGE" >&6; }
8260 { $as_echo "$as_me:$LINENO: result: no" >&5
8261 $as_echo "no" >&6; }
8265 # Extract the first word of "msgfmt", so it can be a program name with args.
8266 set dummy msgfmt
; ac_word
=$2
8267 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8268 $as_echo_n "checking for $ac_word... " >&6; }
8269 if test "${ac_cv_path_MSGFMT+set}" = set; then
8270 $as_echo_n "(cached) " >&6
8274 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8281 test -z "$as_dir" && as_dir
=.
8282 for ac_exec_ext
in '' $ac_executable_extensions; do
8283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8284 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8285 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8295 MSGFMT
=$ac_cv_path_MSGFMT
8296 if test -n "$MSGFMT"; then
8297 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
8298 $as_echo "$MSGFMT" >&6; }
8300 { $as_echo "$as_me:$LINENO: result: no" >&5
8301 $as_echo "no" >&6; }
8305 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8306 set dummy gmsgfmt
; ac_word
=$2
8307 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8308 $as_echo_n "checking for $ac_word... " >&6; }
8309 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8310 $as_echo_n "(cached) " >&6
8314 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8321 test -z "$as_dir" && as_dir
=.
8322 for ac_exec_ext
in '' $ac_executable_extensions; do
8323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8324 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8325 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8332 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8336 GMSGFMT
=$ac_cv_path_GMSGFMT
8337 if test -n "$GMSGFMT"; then
8338 { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8339 $as_echo "$GMSGFMT" >&6; }
8341 { $as_echo "$as_me:$LINENO: result: no" >&5
8342 $as_echo "no" >&6; }
8346 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
8347 { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
8348 $as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
8349 { (exit 1); exit 1; }; }
8351 xgversion
="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
8352 mmversion
="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
8353 mfversion
="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
8354 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
8355 { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
8356 $as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
8357 { (exit 1); exit 1; }; }
8360 # Extract the first word of "perl", so it can be a program name with args.
8361 set dummy perl
; ac_word
=$2
8362 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8363 $as_echo_n "checking for $ac_word... " >&6; }
8364 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
8365 $as_echo_n "(cached) " >&6
8367 case $INTLTOOL_PERL in
8369 ac_cv_path_INTLTOOL_PERL
="$INTLTOOL_PERL" # Let the user override the test with a path.
8372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8376 test -z "$as_dir" && as_dir
=.
8377 for ac_exec_ext
in '' $ac_executable_extensions; do
8378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8379 ac_cv_path_INTLTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
8380 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8390 INTLTOOL_PERL
=$ac_cv_path_INTLTOOL_PERL
8391 if test -n "$INTLTOOL_PERL"; then
8392 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
8393 $as_echo "$INTLTOOL_PERL" >&6; }
8395 { $as_echo "$as_me:$LINENO: result: no" >&5
8396 $as_echo "no" >&6; }
8400 if test -z "$INTLTOOL_PERL"; then
8401 { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
8402 $as_echo "$as_me: error: perl not found" >&2;}
8403 { (exit 1); exit 1; }; }
8405 { $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
8406 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
8407 $INTLTOOL_PERL -e "use 5.8.1;" > /dev
/null
2>&1
8408 if test $?
-ne 0; then
8409 { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
8410 $as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
8411 { (exit 1); exit 1; }; }
8413 IT_PERL_VERSION
="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
8414 { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
8415 $as_echo "$IT_PERL_VERSION" >&6; }
8417 if test "x" != "xno-xml"; then
8418 { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
8419 $as_echo_n "checking for XML::Parser... " >&6; }
8420 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
8421 { $as_echo "$as_me:$LINENO: result: ok" >&5
8422 $as_echo "ok" >&6; }
8424 { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
8425 $as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
8426 { (exit 1); exit 1; }; }
8430 # Substitute ALL_LINGUAS so we can use it in po/Makefile
8433 # Set DATADIRNAME correctly if it is not set yet
8434 # (copied from glib-gettext.m4)
8435 if test -z "$DATADIRNAME"; then
8436 cat >conftest.
$ac_ext <<_ACEOF
8439 cat confdefs.h
>>conftest.
$ac_ext
8440 cat >>conftest.
$ac_ext <<_ACEOF
8441 /* end confdefs.h. */
8446 extern int _nl_msg_cat_cntr;
8447 return _nl_msg_cat_cntr
8452 rm -f conftest.
$ac_objext conftest
$ac_exeext
8453 if { (ac_try
="$ac_link"
8455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8456 *) ac_try_echo=$ac_try;;
8458 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8459 $as_echo "$ac_try_echo") >&5
8460 (eval "$ac_link") 2>conftest.er1
8462 grep -v '^ *+' conftest.er1 >conftest.err
8464 cat conftest.err >&5
8465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 (exit $ac_status); } && {
8467 test -z "$ac_c_werror_flag" ||
8468 test ! -s conftest.err
8469 } && test -s conftest$ac_exeext && {
8470 test "$cross_compiling" = yes ||
8471 $as_test_x conftest$ac_exeext
8475 $as_echo "$as_me: failed program was:" >&5
8476 sed 's/^/| /' conftest.$ac_ext >&5
8480 { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
8481 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
8482 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
8483 $as_echo_n "(cached) " >&6
8485 cat >conftest.$ac_ext <<_ACEOF
8488 cat confdefs.h >>conftest.$ac_ext
8489 cat >>conftest.$ac_ext <<_ACEOF
8490 /* end confdefs.h. */
8491 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
8492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8493 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
8495 /* System header to define __stub macros and hopefully few prototypes,
8496 which can conflict with char bind_textdomain_codeset (); below.
8497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8498 <limits.h> exists even on freestanding compilers. */
8501 # include <limits.h>
8503 # include <assert.h>
8506 #undef bind_textdomain_codeset
8508 /* Override any GCC internal prototype to avoid an error.
8509 Use char because int might match the return type of a GCC
8510 builtin and then its argument prototype would still apply. */
8514 char bind_textdomain_codeset ();
8515 /* The GNU C library defines this for functions which it implements
8516 to always fail with ENOSYS. Some functions are actually named
8517 something starting with __ and the normal name is an alias. */
8518 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
8525 return bind_textdomain_codeset ();
8530 rm -f conftest.$ac_objext conftest$ac_exeext
8531 if { (ac_try="$ac_link"
8533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8534 *) ac_try_echo
=$ac_try;;
8536 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8537 $as_echo "$ac_try_echo") >&5
8538 (eval "$ac_link") 2>conftest.er1
8540 grep -v '^ *+' conftest.er1
>conftest.err
8542 cat conftest.err
>&5
8543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); } && {
8545 test -z "$ac_c_werror_flag" ||
8546 test ! -s conftest.err
8547 } && test -s conftest
$ac_exeext && {
8548 test "$cross_compiling" = yes ||
8549 $as_test_x conftest
$ac_exeext
8551 ac_cv_func_bind_textdomain_codeset
=yes
8553 $as_echo "$as_me: failed program was:" >&5
8554 sed 's/^/| /' conftest.
$ac_ext >&5
8556 ac_cv_func_bind_textdomain_codeset
=no
8559 rm -rf conftest.dSYM
8560 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8561 conftest
$ac_exeext conftest.
$ac_ext
8563 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
8564 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
8565 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then
8578 rm -rf conftest.dSYM
8579 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8580 conftest
$ac_exeext conftest.
$ac_ext
8590 { $as_echo "$as_me:$LINENO: checking for g_malloc0 in -lglib-2.0" >&5
8591 $as_echo_n "checking for g_malloc0 in -lglib-2.0... " >&6; }
8592 if test "${ac_cv_lib_glib_2_0_g_malloc0+set}" = set; then
8593 $as_echo_n "(cached) " >&6
8595 ac_check_lib_save_LIBS
=$LIBS
8596 LIBS
="-lglib-2.0 $LIBS"
8597 cat >conftest.
$ac_ext <<_ACEOF
8600 cat confdefs.h
>>conftest.
$ac_ext
8601 cat >>conftest.
$ac_ext <<_ACEOF
8602 /* end confdefs.h. */
8604 /* Override any GCC internal prototype to avoid an error.
8605 Use char because int might match the return type of a GCC
8606 builtin and then its argument prototype would still apply. */
8614 return g_malloc0 ();
8619 rm -f conftest.
$ac_objext conftest
$ac_exeext
8620 if { (ac_try
="$ac_link"
8622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8623 *) ac_try_echo=$ac_try;;
8625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8626 $as_echo "$ac_try_echo") >&5
8627 (eval "$ac_link") 2>conftest.er1
8629 grep -v '^ *+' conftest.er1 >conftest.err
8631 cat conftest.err >&5
8632 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); } && {
8634 test -z "$ac_c_werror_flag" ||
8635 test ! -s conftest.err
8636 } && test -s conftest$ac_exeext && {
8637 test "$cross_compiling" = yes ||
8638 $as_test_x conftest$ac_exeext
8640 ac_cv_lib_glib_2_0_g_malloc0=yes
8642 $as_echo "$as_me: failed program was:" >&5
8643 sed 's/^/| /' conftest.$ac_ext >&5
8645 ac_cv_lib_glib_2_0_g_malloc0=no
8648 rm -rf conftest.dSYM
8649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8650 conftest$ac_exeext conftest.$ac_ext
8651 LIBS=$ac_check_lib_save_LIBS
8653 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_glib_2_0_g_malloc0" >&5
8654 $as_echo "$ac_cv_lib_glib_2_0_g_malloc0" >&6; }
8655 if test "x$ac_cv_lib_glib_2_0_g_malloc0" = x""yes; then
8656 cat >>confdefs.h <<_ACEOF
8657 #define HAVE_LIBGLIB_2_0 1
8660 LIBS="-lglib-2.0 $LIBS"
8663 { { $as_echo "$as_me:$LINENO: error: \"libglib not installed\"" >&5
8664 $as_echo "$as_me: error: \"libglib not installed\"" >&2;}
8665 { (exit 1); exit 1; }; }
8672 { $as_echo "$as_me:$LINENO: checking for fftw_plan_dft_r2c_2d in -lfftw3" >&5
8673 $as_echo_n "checking for fftw_plan_dft_r2c_2d in -lfftw3... " >&6; }
8674 if test "${ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d+set}" = set; then
8675 $as_echo_n "(cached) " >&6
8677 ac_check_lib_save_LIBS=$LIBS
8678 LIBS="-lfftw3 $LIBS"
8679 cat >conftest.$ac_ext <<_ACEOF
8682 cat confdefs.h >>conftest.$ac_ext
8683 cat >>conftest.$ac_ext <<_ACEOF
8684 /* end confdefs.h. */
8686 /* Override any GCC internal prototype to avoid an error.
8687 Use char because int might match the return type of a GCC
8688 builtin and then its argument prototype would still apply. */
8692 char fftw_plan_dft_r2c_2d ();
8696 return fftw_plan_dft_r2c_2d ();
8701 rm -f conftest.$ac_objext conftest$ac_exeext
8702 if { (ac_try="$ac_link"
8704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8705 *) ac_try_echo
=$ac_try;;
8707 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8708 $as_echo "$ac_try_echo") >&5
8709 (eval "$ac_link") 2>conftest.er1
8711 grep -v '^ *+' conftest.er1
>conftest.err
8713 cat conftest.err
>&5
8714 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); } && {
8716 test -z "$ac_c_werror_flag" ||
8717 test ! -s conftest.err
8718 } && test -s conftest
$ac_exeext && {
8719 test "$cross_compiling" = yes ||
8720 $as_test_x conftest
$ac_exeext
8722 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d
=yes
8724 $as_echo "$as_me: failed program was:" >&5
8725 sed 's/^/| /' conftest.
$ac_ext >&5
8727 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d
=no
8730 rm -rf conftest.dSYM
8731 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8732 conftest
$ac_exeext conftest.
$ac_ext
8733 LIBS
=$ac_check_lib_save_LIBS
8735 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&5
8736 $as_echo "$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&6; }
8737 if test "x$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" = x
""yes; then
8738 cat >>confdefs.h
<<_ACEOF
8739 #define HAVE_LIBFFTW3 1
8742 LIBS
="-lfftw3 $LIBS"
8745 { { $as_echo "$as_me:$LINENO: error: \"libfftw3 not installed\"" >&5
8746 $as_echo "$as_me: error: \"libfftw3 not installed\"" >&2;}
8747 { (exit 1); exit 1; }; }
8752 { $as_echo "$as_me:$LINENO: checking for main in -lgslcblas" >&5
8753 $as_echo_n "checking for main in -lgslcblas... " >&6; }
8754 if test "${ac_cv_lib_gslcblas_main+set}" = set; then
8755 $as_echo_n "(cached) " >&6
8757 ac_check_lib_save_LIBS
=$LIBS
8758 LIBS
="-lgslcblas $LIBS"
8759 cat >conftest.
$ac_ext <<_ACEOF
8762 cat confdefs.h
>>conftest.
$ac_ext
8763 cat >>conftest.
$ac_ext <<_ACEOF
8764 /* end confdefs.h. */
8775 rm -f conftest.
$ac_objext conftest
$ac_exeext
8776 if { (ac_try
="$ac_link"
8778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8779 *) ac_try_echo=$ac_try;;
8781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8782 $as_echo "$ac_try_echo") >&5
8783 (eval "$ac_link") 2>conftest.er1
8785 grep -v '^ *+' conftest.er1 >conftest.err
8787 cat conftest.err >&5
8788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789 (exit $ac_status); } && {
8790 test -z "$ac_c_werror_flag" ||
8791 test ! -s conftest.err
8792 } && test -s conftest$ac_exeext && {
8793 test "$cross_compiling" = yes ||
8794 $as_test_x conftest$ac_exeext
8796 ac_cv_lib_gslcblas_main=yes
8798 $as_echo "$as_me: failed program was:" >&5
8799 sed 's/^/| /' conftest.$ac_ext >&5
8801 ac_cv_lib_gslcblas_main=no
8804 rm -rf conftest.dSYM
8805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8806 conftest$ac_exeext conftest.$ac_ext
8807 LIBS=$ac_check_lib_save_LIBS
8809 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gslcblas_main" >&5
8810 $as_echo "$ac_cv_lib_gslcblas_main" >&6; }
8811 if test "x$ac_cv_lib_gslcblas_main" = x""yes; then
8812 cat >>confdefs.h <<_ACEOF
8813 #define HAVE_LIBGSLCBLAS 1
8816 LIBS="-lgslcblas $LIBS"
8819 { { $as_echo "$as_me:$LINENO: error: \"libgslcblas not installed\"" >&5
8820 $as_echo "$as_me: error: \"libgslcblas not installed\"" >&2;}
8821 { (exit 1); exit 1; }; }
8826 { $as_echo "$as_me:$LINENO: checking for main in -lgsl" >&5
8827 $as_echo_n "checking for main in -lgsl... " >&6; }
8828 if test "${ac_cv_lib_gsl_main+set}" = set; then
8829 $as_echo_n "(cached) " >&6
8831 ac_check_lib_save_LIBS=$LIBS
8833 cat >conftest.$ac_ext <<_ACEOF
8836 cat confdefs.h >>conftest.$ac_ext
8837 cat >>conftest.$ac_ext <<_ACEOF
8838 /* end confdefs.h. */
8849 rm -f conftest.$ac_objext conftest$ac_exeext
8850 if { (ac_try="$ac_link"
8852 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8853 *) ac_try_echo
=$ac_try;;
8855 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8856 $as_echo "$ac_try_echo") >&5
8857 (eval "$ac_link") 2>conftest.er1
8859 grep -v '^ *+' conftest.er1
>conftest.err
8861 cat conftest.err
>&5
8862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 (exit $ac_status); } && {
8864 test -z "$ac_c_werror_flag" ||
8865 test ! -s conftest.err
8866 } && test -s conftest
$ac_exeext && {
8867 test "$cross_compiling" = yes ||
8868 $as_test_x conftest
$ac_exeext
8870 ac_cv_lib_gsl_main
=yes
8872 $as_echo "$as_me: failed program was:" >&5
8873 sed 's/^/| /' conftest.
$ac_ext >&5
8875 ac_cv_lib_gsl_main
=no
8878 rm -rf conftest.dSYM
8879 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8880 conftest
$ac_exeext conftest.
$ac_ext
8881 LIBS
=$ac_check_lib_save_LIBS
8883 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gsl_main" >&5
8884 $as_echo "$ac_cv_lib_gsl_main" >&6; }
8885 if test "x$ac_cv_lib_gsl_main" = x
""yes; then
8886 cat >>confdefs.h
<<_ACEOF
8887 #define HAVE_LIBGSL 1
8893 { { $as_echo "$as_me:$LINENO: error: \"libgsl not installed\"" >&5
8894 $as_echo "$as_me: error: \"libgsl not installed\"" >&2;}
8895 { (exit 1); exit 1; }; }
8900 # Check whether --enable-mpi was given.
8901 if test "${enable_mpi+set}" = set; then
8902 enableval
=$enable_mpi; ENABLE_MPI
="-DENABLE_MPI"
8908 if test "${ENABLE_MPI}" == '-DENABLE_MPI'; then
8910 # Extract the first word of "mpirun", so it can be a program name with args.
8911 set dummy mpirun
; ac_word
=$2
8912 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8913 $as_echo_n "checking for $ac_word... " >&6; }
8914 if test "${ac_cv_prog_MPIRUN+set}" = set; then
8915 $as_echo_n "(cached) " >&6
8917 if test -n "$MPIRUN"; then
8918 ac_cv_prog_MPIRUN
="$MPIRUN" # Let the user override the test.
8920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8924 test -z "$as_dir" && as_dir
=.
8925 for ac_exec_ext
in '' $ac_executable_extensions; do
8926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8927 ac_cv_prog_MPIRUN
="true"
8928 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8935 test -z "$ac_cv_prog_MPIRUN" && ac_cv_prog_MPIRUN
="false"
8938 MPIRUN
=$ac_cv_prog_MPIRUN
8939 if test -n "$MPIRUN"; then
8940 { $as_echo "$as_me:$LINENO: result: $MPIRUN" >&5
8941 $as_echo "$MPIRUN" >&6; }
8943 { $as_echo "$as_me:$LINENO: result: no" >&5
8944 $as_echo "no" >&6; }
8948 if test x
$MPIRUN = xfalse
; then
8949 { { $as_echo "$as_me:$LINENO: error: \"missing mpirun \
8950 Needed by gpiv when --enable-mpi\"" >&5
8951 $as_echo "$as_me: error: \"missing mpirun \
8952 Needed by gpiv when --enable-mpi\"" >&2;}
8953 { (exit 1); exit 1; }; }
8956 # Extract the first word of "gpiv_rr", so it can be a program name with args.
8957 set dummy gpiv_rr
; ac_word
=$2
8958 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8959 $as_echo_n "checking for $ac_word... " >&6; }
8960 if test "${ac_cv_prog_RR+set}" = set; then
8961 $as_echo_n "(cached) " >&6
8963 if test -n "$RR"; then
8964 ac_cv_prog_RR
="$RR" # Let the user override the test.
8966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8970 test -z "$as_dir" && as_dir
=.
8971 for ac_exec_ext
in '' $ac_executable_extensions; do
8972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8973 ac_cv_prog_RR
="true"
8974 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8981 test -z "$ac_cv_prog_RR" && ac_cv_prog_RR
="false"
8985 if test -n "$RR"; then
8986 { $as_echo "$as_me:$LINENO: result: $RR" >&5
8987 $as_echo "$RR" >&6; }
8989 { $as_echo "$as_me:$LINENO: result: no" >&5
8990 $as_echo "no" >&6; }
8994 if test x
$RR = xfalse
; then
8995 { { $as_echo "$as_me:$LINENO: error: \"missing mpi-enabled gpiv_rr from gpivtools. \
8996 Needed by gpiv when --enable-mpi\"" >&5
8997 $as_echo "$as_me: error: \"missing mpi-enabled gpiv_rr from gpivtools. \
8998 Needed by gpiv when --enable-mpi\"" >&2;}
8999 { (exit 1); exit 1; }; }
9003 { $as_echo "$as_me:$LINENO: checking for gpiv_piv_mpi_bcast_pivpar in -lgpiv_mpi" >&5
9004 $as_echo_n "checking for gpiv_piv_mpi_bcast_pivpar in -lgpiv_mpi... " >&6; }
9005 if test "${ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar+set}" = set; then
9006 $as_echo_n "(cached) " >&6
9008 ac_check_lib_save_LIBS
=$LIBS
9009 LIBS
="-lgpiv_mpi $LIBS"
9010 cat >conftest.
$ac_ext <<_ACEOF
9013 cat confdefs.h
>>conftest.
$ac_ext
9014 cat >>conftest.
$ac_ext <<_ACEOF
9015 /* end confdefs.h. */
9017 /* Override any GCC internal prototype to avoid an error.
9018 Use char because int might match the return type of a GCC
9019 builtin and then its argument prototype would still apply. */
9023 char gpiv_piv_mpi_bcast_pivpar ();
9027 return gpiv_piv_mpi_bcast_pivpar ();
9032 rm -f conftest.
$ac_objext conftest
$ac_exeext
9033 if { (ac_try
="$ac_link"
9035 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9036 *) ac_try_echo=$ac_try;;
9038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9039 $as_echo "$ac_try_echo") >&5
9040 (eval "$ac_link") 2>conftest.er1
9042 grep -v '^ *+' conftest.er1 >conftest.err
9044 cat conftest.err >&5
9045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); } && {
9047 test -z "$ac_c_werror_flag" ||
9048 test ! -s conftest.err
9049 } && test -s conftest$ac_exeext && {
9050 test "$cross_compiling" = yes ||
9051 $as_test_x conftest$ac_exeext
9053 ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar=yes
9055 $as_echo "$as_me: failed program was:" >&5
9056 sed 's/^/| /' conftest.$ac_ext >&5
9058 ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar=no
9061 rm -rf conftest.dSYM
9062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9063 conftest$ac_exeext conftest.$ac_ext
9064 LIBS=$ac_check_lib_save_LIBS
9066 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar" >&5
9067 $as_echo "$ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar" >&6; }
9068 if test "x$ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar" = x""yes; then
9069 cat >>confdefs.h <<_ACEOF
9070 #define HAVE_LIBGPIV_MPI 1
9073 LIBS="-lgpiv_mpi $LIBS"
9076 { { $as_echo "$as_me:$LINENO: error: \"gpiv_piv_mpi_bcast_pivpar is not working in libgpiv_mpi. \
9077 Enable MPI in libgpiv or disable it here by leaving out --enable-mpi during ./configure\"" >&5
9078 $as_echo "$as_me: error: \"gpiv_piv_mpi_bcast_pivpar is not working in libgpiv_mpi. \
9079 Enable MPI in libgpiv or disable it here by leaving out --enable-mpi during ./configure\"" >&2;}
9080 { (exit 1); exit 1; }; }
9086 { $as_echo "$as_me:$LINENO: checking for gpiv_piv_interrogate_img in -lgpiv" >&5
9087 $as_echo_n "checking for gpiv_piv_interrogate_img in -lgpiv... " >&6; }
9088 if test "${ac_cv_lib_gpiv_gpiv_piv_interrogate_img+set}" = set; then
9089 $as_echo_n "(cached) " >&6
9091 ac_check_lib_save_LIBS=$LIBS
9093 cat >conftest.$ac_ext <<_ACEOF
9096 cat confdefs.h >>conftest.$ac_ext
9097 cat >>conftest.$ac_ext <<_ACEOF
9098 /* end confdefs.h. */
9100 /* Override any GCC internal prototype to avoid an error.
9101 Use char because int might match the return type of a GCC
9102 builtin and then its argument prototype would still apply. */
9106 char gpiv_piv_interrogate_img ();
9110 return gpiv_piv_interrogate_img ();
9115 rm -f conftest.$ac_objext conftest$ac_exeext
9116 if { (ac_try="$ac_link"
9118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9119 *) ac_try_echo
=$ac_try;;
9121 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9122 $as_echo "$ac_try_echo") >&5
9123 (eval "$ac_link") 2>conftest.er1
9125 grep -v '^ *+' conftest.er1
>conftest.err
9127 cat conftest.err
>&5
9128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9129 (exit $ac_status); } && {
9130 test -z "$ac_c_werror_flag" ||
9131 test ! -s conftest.err
9132 } && test -s conftest
$ac_exeext && {
9133 test "$cross_compiling" = yes ||
9134 $as_test_x conftest
$ac_exeext
9136 ac_cv_lib_gpiv_gpiv_piv_interrogate_img
=yes
9138 $as_echo "$as_me: failed program was:" >&5
9139 sed 's/^/| /' conftest.
$ac_ext >&5
9141 ac_cv_lib_gpiv_gpiv_piv_interrogate_img
=no
9144 rm -rf conftest.dSYM
9145 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9146 conftest
$ac_exeext conftest.
$ac_ext
9147 LIBS
=$ac_check_lib_save_LIBS
9149 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_piv_interrogate_img" >&5
9150 $as_echo "$ac_cv_lib_gpiv_gpiv_piv_interrogate_img" >&6; }
9151 if test "x$ac_cv_lib_gpiv_gpiv_piv_interrogate_img" = x
""yes; then
9152 cat >>confdefs.h
<<_ACEOF
9153 #define HAVE_LIBGPIV 1
9159 { { $as_echo "$as_me:$LINENO: error: libgpiv has not been installed" >&5
9160 $as_echo "$as_me: error: libgpiv has not been installed" >&2;}
9161 { (exit 1); exit 1; }; }
9172 for ac_header
in stdlib.h string.h unistd.h fftw3.h gpiv.h
9174 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9175 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9176 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9177 $as_echo_n "checking for $ac_header... " >&6; }
9178 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9179 $as_echo_n "(cached) " >&6
9181 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9182 $as_echo "$as_val"'`
9183 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9184 $as_echo "$ac_res" >&6; }
9186 # Is the header compilable?
9187 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9188 $as_echo_n "checking $ac_header usability... " >&6; }
9189 cat >conftest.
$ac_ext <<_ACEOF
9192 cat confdefs.h
>>conftest.
$ac_ext
9193 cat >>conftest.
$ac_ext <<_ACEOF
9194 /* end confdefs.h. */
9195 $ac_includes_default
9196 #include <$ac_header>
9198 rm -f conftest.
$ac_objext
9199 if { (ac_try
="$ac_compile"
9201 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9202 *) ac_try_echo=$ac_try;;
9204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9205 $as_echo "$ac_try_echo") >&5
9206 (eval "$ac_compile") 2>conftest.er1
9208 grep -v '^ *+' conftest.er1 >conftest.err
9210 cat conftest.err >&5
9211 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212 (exit $ac_status); } && {
9213 test -z "$ac_c_werror_flag" ||
9214 test ! -s conftest.err
9215 } && test -s conftest.$ac_objext; then
9216 ac_header_compiler=yes
9218 $as_echo "$as_me: failed program was:" >&5
9219 sed 's/^/| /' conftest.$ac_ext >&5
9221 ac_header_compiler=no
9224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9225 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9226 $as_echo "$ac_header_compiler" >&6; }
9228 # Is the header present?
9229 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9230 $as_echo_n "checking $ac_header presence... " >&6; }
9231 cat >conftest.$ac_ext <<_ACEOF
9234 cat confdefs.h >>conftest.$ac_ext
9235 cat >>conftest.$ac_ext <<_ACEOF
9236 /* end confdefs.h. */
9237 #include <$ac_header>
9239 if { (ac_try="$ac_cpp conftest.$ac_ext"
9241 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9242 *) ac_try_echo
=$ac_try;;
9244 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9245 $as_echo "$ac_try_echo") >&5
9246 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9248 grep -v '^ *+' conftest.er1
>conftest.err
9250 cat conftest.err
>&5
9251 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); } >/dev
/null
&& {
9253 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9254 test ! -s conftest.err
9256 ac_header_preproc
=yes
9258 $as_echo "$as_me: failed program was:" >&5
9259 sed 's/^/| /' conftest.
$ac_ext >&5
9261 ac_header_preproc
=no
9264 rm -f conftest.err conftest.
$ac_ext
9265 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9266 $as_echo "$ac_header_preproc" >&6; }
9268 # So? What about this header?
9269 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9271 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9272 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9273 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9274 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9275 ac_header_preproc
=yes
9278 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9279 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9280 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9281 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9282 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9283 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9284 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9285 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9286 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9287 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9288 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9289 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9291 ## ------------------------------------------------------------------- ##
9292 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
9293 ## ------------------------------------------------------------------- ##
9295 ) |
sed "s/^/$as_me: WARNING: /" >&2
9298 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9299 $as_echo_n "checking for $ac_header... " >&6; }
9300 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9301 $as_echo_n "(cached) " >&6
9303 eval "$as_ac_Header=\$ac_header_preproc"
9305 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9306 $as_echo "$as_val"'`
9307 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9308 $as_echo "$ac_res" >&6; }
9311 as_val
=`eval 'as_val=${'$as_ac_Header'}
9312 $as_echo "$as_val"'`
9313 if test "x$as_val" = x
""yes; then
9314 cat >>confdefs.h
<<_ACEOF
9315 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9323 # Check whether --enable-cam was given.
9324 if test "${enable_cam+set}" = set; then
9325 enableval
=$enable_cam; ENABLE_CAM
="-DENABLE_CAM"
9332 # Check whether --enable-trig was given.
9333 if test "${enable_trig+set}" = set; then
9334 enableval
=$enable_trig; ENABLE_TRIG
="-DENABLE_TRIG"
9341 if test $ENABLE_CAM ||
test $ENABLE_TRIG; then
9342 ENABLE_DAC
="-DENABLE_DAC"
9346 if test "${ENABLE_CAM}" == '-DENABLE_CAM'; then
9348 { $as_echo "$as_me:$LINENO: checking for gpiv_cam_get_camvar in -lgpiv" >&5
9349 $as_echo_n "checking for gpiv_cam_get_camvar in -lgpiv... " >&6; }
9350 if test "${ac_cv_lib_gpiv_gpiv_cam_get_camvar+set}" = set; then
9351 $as_echo_n "(cached) " >&6
9353 ac_check_lib_save_LIBS
=$LIBS
9355 cat >conftest.
$ac_ext <<_ACEOF
9358 cat confdefs.h
>>conftest.
$ac_ext
9359 cat >>conftest.
$ac_ext <<_ACEOF
9360 /* end confdefs.h. */
9362 /* Override any GCC internal prototype to avoid an error.
9363 Use char because int might match the return type of a GCC
9364 builtin and then its argument prototype would still apply. */
9368 char gpiv_cam_get_camvar ();
9372 return gpiv_cam_get_camvar ();
9377 rm -f conftest.
$ac_objext conftest
$ac_exeext
9378 if { (ac_try
="$ac_link"
9380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9381 *) ac_try_echo=$ac_try;;
9383 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9384 $as_echo "$ac_try_echo") >&5
9385 (eval "$ac_link") 2>conftest.er1
9387 grep -v '^ *+' conftest.er1 >conftest.err
9389 cat conftest.err >&5
9390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 (exit $ac_status); } && {
9392 test -z "$ac_c_werror_flag" ||
9393 test ! -s conftest.err
9394 } && test -s conftest$ac_exeext && {
9395 test "$cross_compiling" = yes ||
9396 $as_test_x conftest$ac_exeext
9398 ac_cv_lib_gpiv_gpiv_cam_get_camvar=yes
9400 $as_echo "$as_me: failed program was:" >&5
9401 sed 's/^/| /' conftest.$ac_ext >&5
9403 ac_cv_lib_gpiv_gpiv_cam_get_camvar=no
9406 rm -rf conftest.dSYM
9407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9408 conftest$ac_exeext conftest.$ac_ext
9409 LIBS=$ac_check_lib_save_LIBS
9411 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&5
9412 $as_echo "$ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&6; }
9413 if test "x$ac_cv_lib_gpiv_gpiv_cam_get_camvar" = x""yes; then
9414 cat >>confdefs.h <<_ACEOF
9415 #define HAVE_LIBGPIV 1
9421 { { $as_echo "$as_me:$LINENO: error: \"(IEEE-1394) camera is not working in libgpiv. \
9422 Enable (IEEE-1394) camera in libgpiv or disable it here by leaving out --enable-cam during ./configure\"" >&5
9423 $as_echo "$as_me: error: \"(IEEE-1394) camera is not working in libgpiv. \
9424 Enable (IEEE-1394) camera in libgpiv or disable it here by leaving out --enable-cam during ./configure\"" >&2;}
9425 { (exit 1); exit 1; }; }
9430 { $as_echo "$as_me:$LINENO: checking for raw1394_destroy_handle in -lraw1394" >&5
9431 $as_echo_n "checking for raw1394_destroy_handle in -lraw1394... " >&6; }
9432 if test "${ac_cv_lib_raw1394_raw1394_destroy_handle+set}" = set; then
9433 $as_echo_n "(cached) " >&6
9435 ac_check_lib_save_LIBS=$LIBS
9436 LIBS="-lraw1394 $LIBS"
9437 cat >conftest.$ac_ext <<_ACEOF
9440 cat confdefs.h >>conftest.$ac_ext
9441 cat >>conftest.$ac_ext <<_ACEOF
9442 /* end confdefs.h. */
9444 /* Override any GCC internal prototype to avoid an error.
9445 Use char because int might match the return type of a GCC
9446 builtin and then its argument prototype would still apply. */
9450 char raw1394_destroy_handle ();
9454 return raw1394_destroy_handle ();
9459 rm -f conftest.$ac_objext conftest$ac_exeext
9460 if { (ac_try="$ac_link"
9462 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9463 *) ac_try_echo
=$ac_try;;
9465 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9466 $as_echo "$ac_try_echo") >&5
9467 (eval "$ac_link") 2>conftest.er1
9469 grep -v '^ *+' conftest.er1
>conftest.err
9471 cat conftest.err
>&5
9472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9473 (exit $ac_status); } && {
9474 test -z "$ac_c_werror_flag" ||
9475 test ! -s conftest.err
9476 } && test -s conftest
$ac_exeext && {
9477 test "$cross_compiling" = yes ||
9478 $as_test_x conftest
$ac_exeext
9480 ac_cv_lib_raw1394_raw1394_destroy_handle
=yes
9482 $as_echo "$as_me: failed program was:" >&5
9483 sed 's/^/| /' conftest.
$ac_ext >&5
9485 ac_cv_lib_raw1394_raw1394_destroy_handle
=no
9488 rm -rf conftest.dSYM
9489 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9490 conftest
$ac_exeext conftest.
$ac_ext
9491 LIBS
=$ac_check_lib_save_LIBS
9493 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_raw1394_raw1394_destroy_handle" >&5
9494 $as_echo "$ac_cv_lib_raw1394_raw1394_destroy_handle" >&6; }
9495 if test "x$ac_cv_lib_raw1394_raw1394_destroy_handle" = x
""yes; then
9496 cat >>confdefs.h
<<_ACEOF
9497 #define HAVE_LIBRAW1394 1
9500 LIBS
="-lraw1394 $LIBS"
9503 { { $as_echo "$as_me:$LINENO: error: \"libraw1394 not installed\"" >&5
9504 $as_echo "$as_me: error: \"libraw1394 not installed\"" >&2;}
9505 { (exit 1); exit 1; }; }
9510 { $as_echo "$as_me:$LINENO: checking for dc1394_create_handle in -ldc1394_control" >&5
9511 $as_echo_n "checking for dc1394_create_handle in -ldc1394_control... " >&6; }
9512 if test "${ac_cv_lib_dc1394_control_dc1394_create_handle+set}" = set; then
9513 $as_echo_n "(cached) " >&6
9515 ac_check_lib_save_LIBS
=$LIBS
9516 LIBS
="-ldc1394_control $LIBS"
9517 cat >conftest.
$ac_ext <<_ACEOF
9520 cat confdefs.h
>>conftest.
$ac_ext
9521 cat >>conftest.
$ac_ext <<_ACEOF
9522 /* end confdefs.h. */
9524 /* Override any GCC internal prototype to avoid an error.
9525 Use char because int might match the return type of a GCC
9526 builtin and then its argument prototype would still apply. */
9530 char dc1394_create_handle ();
9534 return dc1394_create_handle ();
9539 rm -f conftest.
$ac_objext conftest
$ac_exeext
9540 if { (ac_try
="$ac_link"
9542 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9543 *) ac_try_echo=$ac_try;;
9545 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9546 $as_echo "$ac_try_echo") >&5
9547 (eval "$ac_link") 2>conftest.er1
9549 grep -v '^ *+' conftest.er1 >conftest.err
9551 cat conftest.err >&5
9552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); } && {
9554 test -z "$ac_c_werror_flag" ||
9555 test ! -s conftest.err
9556 } && test -s conftest$ac_exeext && {
9557 test "$cross_compiling" = yes ||
9558 $as_test_x conftest$ac_exeext
9560 ac_cv_lib_dc1394_control_dc1394_create_handle=yes
9562 $as_echo "$as_me: failed program was:" >&5
9563 sed 's/^/| /' conftest.$ac_ext >&5
9565 ac_cv_lib_dc1394_control_dc1394_create_handle=no
9568 rm -rf conftest.dSYM
9569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9570 conftest$ac_exeext conftest.$ac_ext
9571 LIBS=$ac_check_lib_save_LIBS
9573 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dc1394_control_dc1394_create_handle" >&5
9574 $as_echo "$ac_cv_lib_dc1394_control_dc1394_create_handle" >&6; }
9575 if test "x$ac_cv_lib_dc1394_control_dc1394_create_handle" = x""yes; then
9576 cat >>confdefs.h <<_ACEOF
9577 #define HAVE_LIBDC1394_CONTROL 1
9580 LIBS="-ldc1394_control $LIBS"
9583 { { $as_echo "$as_me:$LINENO: error: \"libdc1394_control not installed\"" >&5
9584 $as_echo "$as_me: error: \"libdc1394_control not installed\"" >&2;}
9585 { (exit 1); exit 1; }; }
9589 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
9590 { $as_echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
9591 $as_echo_n "checking for libdc1394/dc1394_control.h... " >&6; }
9592 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
9593 $as_echo_n "(cached) " >&6
9595 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
9596 $as_echo "$ac_cv_header_libdc1394_dc1394_control_h" >&6; }
9598 # Is the header compilable?
9599 { $as_echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h usability" >&5
9600 $as_echo_n "checking libdc1394/dc1394_control.h usability... " >&6; }
9601 cat >conftest.$ac_ext <<_ACEOF
9604 cat confdefs.h >>conftest.$ac_ext
9605 cat >>conftest.$ac_ext <<_ACEOF
9606 /* end confdefs.h. */
9607 $ac_includes_default
9608 #include <libdc1394/dc1394_control.h>
9610 rm -f conftest.$ac_objext
9611 if { (ac_try="$ac_compile"
9613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9614 *) ac_try_echo
=$ac_try;;
9616 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9617 $as_echo "$ac_try_echo") >&5
9618 (eval "$ac_compile") 2>conftest.er1
9620 grep -v '^ *+' conftest.er1
>conftest.err
9622 cat conftest.err
>&5
9623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9624 (exit $ac_status); } && {
9625 test -z "$ac_c_werror_flag" ||
9626 test ! -s conftest.err
9627 } && test -s conftest.
$ac_objext; then
9628 ac_header_compiler
=yes
9630 $as_echo "$as_me: failed program was:" >&5
9631 sed 's/^/| /' conftest.
$ac_ext >&5
9633 ac_header_compiler
=no
9636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9637 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9638 $as_echo "$ac_header_compiler" >&6; }
9640 # Is the header present?
9641 { $as_echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h presence" >&5
9642 $as_echo_n "checking libdc1394/dc1394_control.h presence... " >&6; }
9643 cat >conftest.
$ac_ext <<_ACEOF
9646 cat confdefs.h
>>conftest.
$ac_ext
9647 cat >>conftest.
$ac_ext <<_ACEOF
9648 /* end confdefs.h. */
9649 #include <libdc1394/dc1394_control.h>
9651 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9654 *) ac_try_echo=$ac_try;;
9656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9657 $as_echo "$ac_try_echo") >&5
9658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9660 grep -v '^ *+' conftest.er1 >conftest.err
9662 cat conftest.err >&5
9663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9664 (exit $ac_status); } >/dev/null && {
9665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9666 test ! -s conftest.err
9668 ac_header_preproc=yes
9670 $as_echo "$as_me: failed program was:" >&5
9671 sed 's/^/| /' conftest.$ac_ext >&5
9673 ac_header_preproc=no
9676 rm -f conftest.err conftest.$ac_ext
9677 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9678 $as_echo "$ac_header_preproc" >&6; }
9680 # So? What about this header?
9681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9683 { $as_echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&5
9684 $as_echo "$as_me: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9685 { $as_echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&5
9686 $as_echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&2;}
9687 ac_header_preproc=yes
9690 { $as_echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&5
9691 $as_echo "$as_me: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&2;}
9692 { $as_echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&5
9693 $as_echo "$as_me: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&2;}
9694 { $as_echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&5
9695 $as_echo "$as_me: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&2;}
9696 { $as_echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&5
9697 $as_echo "$as_me: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&2;}
9698 { $as_echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&5
9699 $as_echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&2;}
9700 { $as_echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&5
9701 $as_echo "$as_me: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&2;}
9703 ## ------------------------------------------------------------------- ##
9704 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
9705 ## ------------------------------------------------------------------- ##
9707 ) | sed "s/^/$as_me: WARNING: /" >&2
9710 { $as_echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
9711 $as_echo_n "checking for libdc1394/dc1394_control.h... " >&6; }
9712 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
9713 $as_echo_n "(cached) " >&6
9715 ac_cv_header_libdc1394_dc1394_control_h=$ac_header_preproc
9717 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
9718 $as_echo "$ac_cv_header_libdc1394_dc1394_control_h" >&6; }
9721 if test "x$ac_cv_header_libdc1394_dc1394_control_h" = x""yes; then
9724 { { $as_echo "$as_me:$LINENO: error: \"missing dc1394_control.h\"" >&5
9725 $as_echo "$as_me: error: \"missing dc1394_control.h\"" >&2;}
9726 { (exit 1); exit 1; }; }
9731 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9732 { $as_echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
9733 $as_echo_n "checking for libraw1394/raw1394.h... " >&6; }
9734 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9735 $as_echo_n "(cached) " >&6
9737 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
9738 $as_echo "$ac_cv_header_libraw1394_raw1394_h" >&6; }
9740 # Is the header compilable?
9741 { $as_echo "$as_me:$LINENO: checking libraw1394/raw1394.h usability" >&5
9742 $as_echo_n "checking libraw1394/raw1394.h usability... " >&6; }
9743 cat >conftest.$ac_ext <<_ACEOF
9746 cat confdefs.h >>conftest.$ac_ext
9747 cat >>conftest.$ac_ext <<_ACEOF
9748 /* end confdefs.h. */
9749 $ac_includes_default
9750 #include <libraw1394/raw1394.h>
9752 rm -f conftest.$ac_objext
9753 if { (ac_try="$ac_compile"
9755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9756 *) ac_try_echo
=$ac_try;;
9758 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9759 $as_echo "$ac_try_echo") >&5
9760 (eval "$ac_compile") 2>conftest.er1
9762 grep -v '^ *+' conftest.er1
>conftest.err
9764 cat conftest.err
>&5
9765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); } && {
9767 test -z "$ac_c_werror_flag" ||
9768 test ! -s conftest.err
9769 } && test -s conftest.
$ac_objext; then
9770 ac_header_compiler
=yes
9772 $as_echo "$as_me: failed program was:" >&5
9773 sed 's/^/| /' conftest.
$ac_ext >&5
9775 ac_header_compiler
=no
9778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9779 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9780 $as_echo "$ac_header_compiler" >&6; }
9782 # Is the header present?
9783 { $as_echo "$as_me:$LINENO: checking libraw1394/raw1394.h presence" >&5
9784 $as_echo_n "checking libraw1394/raw1394.h presence... " >&6; }
9785 cat >conftest.
$ac_ext <<_ACEOF
9788 cat confdefs.h
>>conftest.
$ac_ext
9789 cat >>conftest.
$ac_ext <<_ACEOF
9790 /* end confdefs.h. */
9791 #include <libraw1394/raw1394.h>
9793 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9796 *) ac_try_echo=$ac_try;;
9798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9799 $as_echo "$ac_try_echo") >&5
9800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9802 grep -v '^ *+' conftest.er1 >conftest.err
9804 cat conftest.err >&5
9805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9806 (exit $ac_status); } >/dev/null && {
9807 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9808 test ! -s conftest.err
9810 ac_header_preproc=yes
9812 $as_echo "$as_me: failed program was:" >&5
9813 sed 's/^/| /' conftest.$ac_ext >&5
9815 ac_header_preproc=no
9818 rm -f conftest.err conftest.$ac_ext
9819 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9820 $as_echo "$ac_header_preproc" >&6; }
9822 # So? What about this header?
9823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9825 { $as_echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&5
9826 $as_echo "$as_me: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9827 { $as_echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&5
9828 $as_echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&2;}
9829 ac_header_preproc=yes
9832 { $as_echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&5
9833 $as_echo "$as_me: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&2;}
9834 { $as_echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&5
9835 $as_echo "$as_me: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&2;}
9836 { $as_echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&5
9837 $as_echo "$as_me: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&2;}
9838 { $as_echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&5
9839 $as_echo "$as_me: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&2;}
9840 { $as_echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&5
9841 $as_echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&2;}
9842 { $as_echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&5
9843 $as_echo "$as_me: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&2;}
9845 ## ------------------------------------------------------------------- ##
9846 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
9847 ## ------------------------------------------------------------------- ##
9849 ) | sed "s/^/$as_me: WARNING: /" >&2
9852 { $as_echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
9853 $as_echo_n "checking for libraw1394/raw1394.h... " >&6; }
9854 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9855 $as_echo_n "(cached) " >&6
9857 ac_cv_header_libraw1394_raw1394_h=$ac_header_preproc
9859 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
9860 $as_echo "$ac_cv_header_libraw1394_raw1394_h" >&6; }
9863 if test "x$ac_cv_header_libraw1394_raw1394_h" = x""yes; then
9866 { { $as_echo "$as_me:$LINENO: error: \"missing raw1394.h\"" >&5
9867 $as_echo "$as_me: error: \"missing raw1394.h\"" >&2;}
9868 { (exit 1); exit 1; }; }
9875 if test "${ENABLE_TRIG}" == '-DENABLE_TRIG'; then
9877 { $as_echo "$as_me:$LINENO: checking for gpiv_trig_openrtfs in -lgpiv" >&5
9878 $as_echo_n "checking for gpiv_trig_openrtfs in -lgpiv... " >&6; }
9879 if test "${ac_cv_lib_gpiv_gpiv_trig_openrtfs+set}" = set; then
9880 $as_echo_n "(cached) " >&6
9882 ac_check_lib_save_LIBS=$LIBS
9884 cat >conftest.$ac_ext <<_ACEOF
9887 cat confdefs.h >>conftest.$ac_ext
9888 cat >>conftest.$ac_ext <<_ACEOF
9889 /* end confdefs.h. */
9891 /* Override any GCC internal prototype to avoid an error.
9892 Use char because int might match the return type of a GCC
9893 builtin and then its argument prototype would still apply. */
9897 char gpiv_trig_openrtfs ();
9901 return gpiv_trig_openrtfs ();
9906 rm -f conftest.$ac_objext conftest$ac_exeext
9907 if { (ac_try="$ac_link"
9909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9910 *) ac_try_echo
=$ac_try;;
9912 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9913 $as_echo "$ac_try_echo") >&5
9914 (eval "$ac_link") 2>conftest.er1
9916 grep -v '^ *+' conftest.er1
>conftest.err
9918 cat conftest.err
>&5
9919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9920 (exit $ac_status); } && {
9921 test -z "$ac_c_werror_flag" ||
9922 test ! -s conftest.err
9923 } && test -s conftest
$ac_exeext && {
9924 test "$cross_compiling" = yes ||
9925 $as_test_x conftest
$ac_exeext
9927 ac_cv_lib_gpiv_gpiv_trig_openrtfs
=yes
9929 $as_echo "$as_me: failed program was:" >&5
9930 sed 's/^/| /' conftest.
$ac_ext >&5
9932 ac_cv_lib_gpiv_gpiv_trig_openrtfs
=no
9935 rm -rf conftest.dSYM
9936 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9937 conftest
$ac_exeext conftest.
$ac_ext
9938 LIBS
=$ac_check_lib_save_LIBS
9940 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&5
9941 $as_echo "$ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&6; }
9942 if test "x$ac_cv_lib_gpiv_gpiv_trig_openrtfs" = x
""yes; then
9943 cat >>confdefs.h
<<_ACEOF
9944 #define HAVE_LIBGPIV 1
9950 { { $as_echo "$as_me:$LINENO: error: \"(Realtime) triggering is not working in libgpiv. \
9951 Enable (realtime) triggering in libgpiv or disable it here by leaving out --enable-trig during ./configure\"" >&5
9952 $as_echo "$as_me: error: \"(Realtime) triggering is not working in libgpiv. \
9953 Enable (realtime) triggering in libgpiv or disable it here by leaving out --enable-trig during ./configure\"" >&2;}
9954 { (exit 1); exit 1; }; }
9960 # Extract the first word of "gpiv_control", so it can be a program name with args.
9961 set dummy gpiv_control
; ac_word
=$2
9962 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9963 $as_echo_n "checking for $ac_word... " >&6; }
9964 if test "${ac_cv_prog_CONTROL+set}" = set; then
9965 $as_echo_n "(cached) " >&6
9967 if test -n "$CONTROL"; then
9968 ac_cv_prog_CONTROL
="$CONTROL" # Let the user override the test.
9970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9974 test -z "$as_dir" && as_dir
=.
9975 for ac_exec_ext
in '' $ac_executable_extensions; do
9976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9977 ac_cv_prog_CONTROL
="true"
9978 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9985 test -z "$ac_cv_prog_CONTROL" && ac_cv_prog_CONTROL
="false"
9988 CONTROL
=$ac_cv_prog_CONTROL
9989 if test -n "$CONTROL"; then
9990 { $as_echo "$as_me:$LINENO: result: $CONTROL" >&5
9991 $as_echo "$CONTROL" >&6; }
9993 { $as_echo "$as_me:$LINENO: result: no" >&5
9994 $as_echo "no" >&6; }
10000 HAVE_CONTROL_FALSE
='#'
10002 HAVE_CONTROL_TRUE
='#'
10003 HAVE_CONTROL_FALSE
=
10007 # Check whether --enable-rta was given.
10008 if test "${enable_rta+set}" = set; then
10009 enableval
=$enable_rta; RTA_TOPDIR
="$enableval"
10011 RTA_TOPDIR
="/usr/lib/realtime"
10018 # Check whether --enable-k was given.
10019 if test "${enable_k+set}" = set; then
10020 enableval
=$enable_k; K_TOPDIR
="$enableval"
10022 K_TOPDIR
="/usr/src/kernel-headers-2.4.27-adeos"
10029 # Check whether --enable-img-width was given.
10030 if test "${enable_img_width+set}" = set; then
10031 enableval
=$enable_img_width; OVERRIDE_IMAGE_WIDTH_MAX
="-DIMAGE_WIDTH_MAX=$enableval"
10039 # Check whether --enable-img-height was given.
10040 if test "${enable_img_height+set}" = set; then
10041 enableval
=$enable_img_height; OVERRIDE_IMAGE_HEIGHT_MAX
="-DIMAGE_HEIGHT_MAX=$enableval"
10048 # Check whether --enable-canvas_aa was given.
10049 if test "${enable_canvas_aa+set}" = set; then
10050 enableval
=$enable_canvas_aa; CANVAS_AA
="-DCANVAS_AA"
10057 # Check whether --enable-debug was given.
10058 if test "${enable_debug+set}" = set; then
10059 enableval
=$enable_debug; DEBUG
="-DDEBUG"
10069 ac_config_files
="$ac_config_files Makefile doc/Makefile doc/C/Makefile doc/C/figures/Makefile src/Makefile po/Makefile.in man/Makefile pixmaps/Makefile"
10071 cat >confcache
<<\_ACEOF
10072 # This file is a shell script that caches the results of configure
10073 # tests run on this system so they can be shared between configure
10074 # scripts and configure runs, see configure's option --config-cache.
10075 # It is not useful on other systems. If it contains results you don't
10076 # want to keep, you may remove or edit it.
10078 # config.status only pays attention to the cache file if you give it
10079 # the --recheck option to rerun configure.
10081 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10082 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10083 # following values.
10087 # The following way of writing the cache mishandles newlines in values,
10088 # but we know of no workaround that is simple, portable, and efficient.
10089 # So, we kill variables containing newlines.
10090 # Ultrix sh set writes to stderr and can't be redirected directly,
10091 # and sets the high bit in the cache file unless we assign to the vars.
10093 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10094 eval ac_val
=\$
$ac_var
10098 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
10099 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10102 _ | IFS | as_nl
) ;; #(
10103 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
10104 *) $as_unset $ac_var ;;
10110 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10111 *${as_nl}ac_space
=\
*)
10112 # `set' does not quote correctly, so add quotes (double-quote
10113 # substitution turns \\\\ into \\, and sed turns \\ into \).
10116 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10119 # `set' quotes correctly as required by POSIX, so do not add quotes.
10120 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10129 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10131 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10133 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10134 if test -w "$cache_file"; then
10135 test "x$cache_file" != "x/dev/null" &&
10136 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
10137 $as_echo "$as_me: updating cache $cache_file" >&6;}
10138 cat confcache
>$cache_file
10140 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10141 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10146 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10147 # Let make expand exec_prefix.
10148 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10150 # Transform confdefs.h into DEFS.
10151 # Protect against shell expansion while executing Makefile rules.
10152 # Protect against Makefile macro expansion.
10154 # If the first sed substitution is executed (which looks for macros that
10155 # take arguments), then branch to the quote section. Otherwise,
10156 # look for a macro that doesn't take arguments.
10166 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
10168 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
10172 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
10185 DEFS
=`sed -n "$ac_script" confdefs.h`
10190 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10191 # 1. Remove the extension, and $U if already installed.
10192 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10193 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
10194 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10195 # will be set to the directory where LIBOBJS objects are built.
10196 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10197 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10199 LIBOBJS
=$ac_libobjs
10201 LTLIBOBJS
=$ac_ltlibobjs
10204 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10205 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10206 Usually this means the macro was only invoked conditionally." >&5
10207 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10208 Usually this means the macro was only invoked conditionally." >&2;}
10209 { (exit 1); exit 1; }; }
10211 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10212 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10213 Usually this means the macro was only invoked conditionally." >&5
10214 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
10215 Usually this means the macro was only invoked conditionally." >&2;}
10216 { (exit 1); exit 1; }; }
10218 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10219 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10220 Usually this means the macro was only invoked conditionally." >&5
10221 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10222 Usually this means the macro was only invoked conditionally." >&2;}
10223 { (exit 1); exit 1; }; }
10225 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10226 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10227 Usually this means the macro was only invoked conditionally." >&5
10228 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10229 Usually this means the macro was only invoked conditionally." >&2;}
10230 { (exit 1); exit 1; }; }
10232 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10233 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10234 Usually this means the macro was only invoked conditionally." >&5
10235 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10236 Usually this means the macro was only invoked conditionally." >&2;}
10237 { (exit 1); exit 1; }; }
10240 ac_config_commands
="$ac_config_commands po/stamp-it"
10243 if test -z "${HAVE_CONTROL_TRUE}" && test -z "${HAVE_CONTROL_FALSE}"; then
10244 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CONTROL\" was never defined.
10245 Usually this means the macro was only invoked conditionally." >&5
10246 $as_echo "$as_me: error: conditional \"HAVE_CONTROL\" was never defined.
10247 Usually this means the macro was only invoked conditionally." >&2;}
10248 { (exit 1); exit 1; }; }
10251 : ${CONFIG_STATUS=./config.status}
10253 ac_clean_files_save
=$ac_clean_files
10254 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10255 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10256 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10257 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10259 # Generated by $as_me.
10260 # Run this file to recreate the current configuration.
10261 # Compiler output produced by configure, useful for debugging
10262 # configure, is in config.log if it exists.
10265 ac_cs_recheck=false
10267 SHELL=\${CONFIG_SHELL-$SHELL}
10270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10271 ## --------------------- ##
10272 ## M4sh Initialization. ##
10273 ## --------------------- ##
10275 # Be more Bourne compatible
10276 DUALCASE
=1; export DUALCASE
# for MKS sh
10277 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10280 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10281 # is contrary to our usage. Disable this feature.
10282 alias -g '${1+"$@"}'='"$@"'
10283 setopt NO_GLOB_SUBST
10285 case `(set -o) 2>/dev/null` in
10286 *posix
*) set -o posix
;;
10295 # Avoid depending upon Character Ranges.
10296 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10297 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10298 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10299 as_cr_digits
='0123456789'
10300 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10305 # Printing a long string crashes Solaris 7 /usr/bin/printf.
10306 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10307 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
10308 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
10309 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
10310 as_echo='printf %s
\n'
10311 as_echo_n='printf %s
'
10313 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
10314 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
10315 as_echo_n='/usr
/ucb
/echo -n'
10317 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
10318 as_echo_n_body='eval
10322 expr "X$arg" : "X\\(.*\\)$as_nl";
10323 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
10325 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
10327 export as_echo_n_body
10328 as_echo_n='sh
-c $as_echo_n_body as_echo
'
10330 export as_echo_body
10331 as_echo='sh
-c $as_echo_body as_echo
'
10334 # The user is always right.
10335 if test "${PATH_SEPARATOR+set}" != set; then
10337 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10338 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10343 # Support unset when possible.
10344 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10352 # We need space, tab and new line, in precisely that order. Quoting is
10353 # there to prevent editors from complaining about space-tab.
10354 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10355 # splitting by setting IFS to empty value.)
10358 # Find who we are. Look in the path if we contain no directory separator.
10360 *[\\/]* ) as_myself=$0 ;;
10361 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10362 for as_dir in $PATH
10365 test -z "$as_dir" && as_dir=.
10366 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10372 # We did not find ourselves, most probably we were run as `sh COMMAND'
10373 # in which case we are not to be found in the path.
10374 if test "x$as_myself" = x
; then
10377 if test ! -f "$as_myself"; then
10378 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10379 { (exit 1); exit 1; }
10382 # Work around bugs in pre-3.0 UWIN ksh.
10383 for as_var
in ENV MAIL MAILPATH
10384 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10396 # Required to use basename.
10397 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10398 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10404 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10405 as_basename
=basename
10411 # Name of the executable.
10412 as_me
=`$as_basename -- "$0" ||
10413 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10414 X"$0" : 'X\(//\)$' \| \
10415 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10417 sed '/^.*\/\([^/][^/]*\)\/*$/{
10436 as_lineno_1
=$LINENO
10437 as_lineno_2
=$LINENO
10438 test "x$as_lineno_1" != "x$as_lineno_2" &&
10439 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
10441 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10442 # uniformly replaced by the line number. The first 'sed' inserts a
10443 # line-number line after each line using $LINENO; the second 'sed'
10444 # does the real work. The second script uses 'N' to pair each
10445 # line-number line with the line containing $LINENO, and appends
10446 # trailing '-' during substitution so that $LINENO is not a special
10447 # case at line end.
10448 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10449 # scripts with optimization help from Paolo Bonzini. Blame Lee
10450 # E. McMahon (1931-1989) for sed's syntax. :-)
10462 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10465 ' >$as_me.lineno
&&
10466 chmod +x
"$as_me.lineno" ||
10467 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10468 { (exit 1); exit 1; }; }
10470 # Don't try to exec as it changes $[0], causing all sort of problems
10471 # (the dirname of $[0] is not the place where we might find the
10472 # original and so on. Autoconf is especially sensitive to this).
10473 .
"./$as_me.lineno"
10474 # Exit status is that of the last command.
10479 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10485 ECHO_C
= ECHO_N
= ECHO_T
=
10486 case `echo -n x` in
10488 case `echo 'x\c'` in
10489 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10495 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10496 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10502 rm -f conf$$ conf$$.exe conf$$.
file
10503 if test -d conf$$.dir
; then
10504 rm -f conf$$.dir
/conf$$.
file
10507 mkdir conf$$.dir
2>/dev
/null
10509 if (echo >conf$$.
file) 2>/dev
/null
; then
10510 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10512 # ... but there are two gotchas:
10513 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10514 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10515 # In both cases, we have to default to `cp -p'.
10516 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
10518 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10526 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10527 rmdir conf$$.dir
2>/dev
/null
10529 if mkdir
-p .
2>/dev
/null
; then
10532 test -d .
/-p && rmdir .
/-p
10536 if test -x / >/dev
/null
2>&1; then
10537 as_test_x
='test -x'
10539 if ls -dL / >/dev
/null
2>&1; then
10546 if test -d "$1"; then
10552 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10553 ???[sx]*):;;*)false;;esac;fi
10557 as_executable_p
=$as_test_x
10559 # Sed expression to map a string onto a valid CPP name.
10560 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10562 # Sed expression to map a string onto a valid variable name.
10563 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10568 # Save the log message, to keep $[0] and so on meaningful, and to
10569 # report actual input values of CONFIG_FILES etc. instead of their
10570 # values after options handling.
10572 This file was extended by gpiv $as_me 0.6.0, which was
10573 generated by GNU Autoconf 2.63. Invocation command line was
10575 CONFIG_FILES = $CONFIG_FILES
10576 CONFIG_HEADERS = $CONFIG_HEADERS
10577 CONFIG_LINKS = $CONFIG_LINKS
10578 CONFIG_COMMANDS = $CONFIG_COMMANDS
10581 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10586 case $ac_config_files in *"
10587 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
10592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10593 # Files that config.status was made for.
10594 config_files="$ac_config_files"
10595 config_commands="$ac_config_commands"
10599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10601 \`$as_me' instantiates files from templates according to the
10602 current configuration.
10604 Usage: $0 [OPTION]... [FILE]...
10606 -h, --help print this help, then exit
10607 -V, --version print version number and configuration settings, then exit
10608 -q, --quiet, --silent
10609 do not print progress messages
10610 -d, --debug don't remove temporary files
10611 --recheck update $as_me by reconfiguring in the same conditions
10612 --file=FILE[:TEMPLATE]
10613 instantiate the configuration file FILE
10615 Configuration files:
10618 Configuration commands:
10621 Report bugs to <bug-autoconf@gnu.org>."
10624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10626 gpiv config.status 0.6.0
10627 configured by $0, generated by GNU Autoconf 2.63,
10628 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10630 Copyright (C) 2008 Free Software Foundation, Inc.
10631 This config.status script is free software; the Free Software Foundation
10632 gives unlimited permission to copy, distribute and modify it."
10639 test -n "\$AWK" || AWK=awk
10642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10643 # The default lists apply if the user does not specify any file.
10649 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10650 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10661 # Handling of the options.
10662 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10664 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10665 $as_echo "$ac_cs_version"; exit ;;
10666 --debug |
--debu |
--deb |
--de |
--d |
-d )
10668 --file |
--fil |
--fi |
--f )
10671 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10673 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
10674 ac_need_defaults
=false
;;
10675 --he |
--h |
--help |
--hel |
-h )
10676 $as_echo "$ac_cs_usage"; exit ;;
10677 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10678 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10681 # This is an error.
10682 -*) { $as_echo "$as_me: error: unrecognized option: $1
10683 Try \`$0 --help' for more information." >&2
10684 { (exit 1); exit 1; }; } ;;
10686 *) ac_config_targets
="$ac_config_targets $1"
10687 ac_need_defaults
=false
;;
10693 ac_configure_extra_args
=
10695 if $ac_cs_silent; then
10697 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10702 if \$ac_cs_recheck; then
10703 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10705 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10706 CONFIG_SHELL='$SHELL'
10707 export CONFIG_SHELL
10712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10716 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10717 ## Running $as_me. ##
10723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10727 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10734 # Handling of arguments.
10735 for ac_config_target
in $ac_config_targets
10737 case $ac_config_target in
10738 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10739 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
10740 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10741 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
10742 "doc/C/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/C/Makefile" ;;
10743 "doc/C/figures/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/C/figures/Makefile" ;;
10744 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
10745 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
10746 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
10747 "pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES pixmaps/Makefile" ;;
10748 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
10750 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10751 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10752 { (exit 1); exit 1; }; };;
10757 # If the user did not use the arguments to specify the items to instantiate,
10758 # then the envvar interface is used. Set only those that are not.
10759 # We use the long form for the default assignment because of an extremely
10760 # bizarre bug on SunOS 4.1.3.
10761 if $ac_need_defaults; then
10762 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10763 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10766 # Have a temporary directory for convenience. Make it in the build tree
10767 # simply because there is no reason against having it here, and in addition,
10768 # creating and moving files from /tmp can sometimes cause problems.
10769 # Hook for its removal unless debugging.
10770 # Note that there is a small window in which the directory will not be cleaned:
10771 # after its creation but before its name has been assigned to `$tmp'.
10775 trap 'exit_status=$?
10776 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10778 trap '{ (exit 1); exit 1; }' 1 2 13 15
10780 # Create a (secure) tmp directory for tmp files.
10783 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10784 test -n "$tmp" && test -d "$tmp"
10787 tmp
=.
/conf$$
-$RANDOM
10788 (umask 077 && mkdir
"$tmp")
10791 $as_echo "$as_me: cannot create a temporary directory in ." >&2
10792 { (exit 1); exit 1; }
10795 # Set up the scripts for CONFIG_FILES section.
10796 # No need to generate them if there are no CONFIG_FILES.
10797 # This happens for instance with `./config.status config.h'.
10798 if test -n "$CONFIG_FILES"; then
10802 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10803 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10806 ac_cs_awk_cr
=$ac_cr
10809 echo 'BEGIN {' >"$tmp/subs1.awk" &&
10814 echo "cat >conf$$subs.awk <<_ACEOF" &&
10815 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10817 } >conf$$subs.sh ||
10818 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
10819 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
10820 { (exit 1); exit 1; }; }
10821 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
10823 for ac_last_try in false false false false false :; do
10824 . ./conf$$subs.sh ||
10825 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
10826 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
10827 { (exit 1); exit 1; }; }
10829 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
10830 if test $ac_delim_n = $ac_delim_num; then
10832 elif $ac_last_try; then
10833 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
10834 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
10835 { (exit 1); exit 1; }; }
10837 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
10840 rm -f conf$$subs.sh
10842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10843 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
10847 s/^/S["/; s
/!.
*/"]=/
10857 s/\(.\{148\}\).*/\1/
10859 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
10864 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10871 s/\(.\{148\}\).*/\1/
10873 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
10877 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10882 ' <conf$$subs.awk | sed '
10887 ' >>$CONFIG_STATUS || ac_write_fail=1
10888 rm -f conf$$subs.awk
10889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10891 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
10892 for (key in S) S_is_set[key] = 1
10898 nfields = split(line, field, "@
")
10900 len = length(field[1])
10901 for (i = 2; i < nfields; i++) {
10903 keylen = length(key)
10904 if (S_is_set[key]) {
10906 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10907 len += length(value) + length(field[++i])
10918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10919 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10920 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
10923 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
10924 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
10925 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
10926 { (exit 1); exit 1; }; }
10929 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10930 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
10931 # trailing colons and then remove the whole line if VPATH becomes empty
10932 # (actually we leave an empty line to preserve line numbers).
10933 if test "x
$srcdir" = x.; then
10934 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10935 s/:*\$(srcdir):*/:/
10936 s/:*\${srcdir}:*/:/
10938 s/^\([^=]*=[ ]*\):*/\1/
10944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10945 fi # test -n "$CONFIG_FILES"
10948 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
10953 :[FHLC]) ac_mode=$ac_tag; continue;;
10955 case $ac_mode$ac_tag in
10957 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error
: invalid tag
$ac_tag" >&5
10958 $as_echo "$as_me: error
: invalid tag
$ac_tag" >&2;}
10959 { (exit 1); exit 1; }; };;
10960 :[FH]-) ac_tag=-:-;;
10961 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
10978 -) ac_f="$tmp/stdin
";;
10979 *) # Look for the file first in the build tree, then in the source tree
10980 # (if the path is not absolute). The absolute path cannot be DOS-style,
10981 # because $ac_f cannot contain `:'.
10985 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
10987 { { $as_echo "$as_me:$LINENO: error
: cannot
find input
file: $ac_f" >&5
10988 $as_echo "$as_me: error
: cannot
find input
file: $ac_f" >&2;}
10989 { (exit 1); exit 1; }; };;
10991 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
10992 ac_file_inputs="$ac_file_inputs '$ac_f'"
10995 # Let's still pretend it is `configure' which instantiates (i.e., don't
10996 # use $as_me), people would be surprised to read:
10997 # /* config.h. Generated by config.status. */
10998 configure_input='Generated from '`
10999 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11001 if test x"$ac_file" != x-; then
11002 configure_input="$ac_file.
$configure_input"
11003 { $as_echo "$as_me:$LINENO: creating
$ac_file" >&5
11004 $as_echo "$as_me: creating
$ac_file" >&6;}
11006 # Neutralize special characters interpreted by sed in replacement strings.
11007 case $configure_input in #(
11008 *\&* | *\|* | *\\* )
11009 ac_sed_conf_input=`$as_echo "$configure_input" |
11010 sed 's/[\\\\&|]/\\\\&/g'`;; #(
11011 *) ac_sed_conf_input=$configure_input;;
11015 *:-:* | *:-) cat >"$tmp/stdin
" \
11016 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
11017 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
11018 { (exit 1); exit 1; }; } ;;
11023 ac_dir=`$as_dirname -- "$ac_file" ||
11024 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11025 X"$ac_file" : 'X\(//\)[^/]' \| \
11026 X"$ac_file" : 'X\(//\)$' \| \
11027 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11028 $as_echo X"$ac_file" |
11029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11033 /^X\(\/\/\)[^/].*/{
11048 -*) as_dir=./$as_dir;;
11050 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11054 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
11055 *) as_qdir=$as_dir;;
11057 as_dirs="'$as_qdir' $as_dirs"
11058 as_dir=`$as_dirname -- "$as_dir" ||
11059 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11060 X"$as_dir" : 'X\(//\)[^/]' \| \
11061 X"$as_dir" : 'X\(//\)$' \| \
11062 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11063 $as_echo X"$as_dir" |
11064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11068 /^X\(\/\/\)[^/].*/{
11081 test -d "$as_dir" && break
11083 test -z "$as_dirs" || eval "mkdir
$as_dirs"
11084 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error
: cannot create directory
$as_dir" >&5
11085 $as_echo "$as_me: error
: cannot create directory
$as_dir" >&2;}
11086 { (exit 1); exit 1; }; }; }
11090 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11092 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11093 # A "..
" for each directory in $ac_dir_suffix.
11094 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11095 case $ac_top_builddir_sub in
11096 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11097 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11100 ac_abs_top_builddir=$ac_pwd
11101 ac_abs_builddir=$ac_pwd$ac_dir_suffix
11102 # for backward compatibility:
11103 ac_top_builddir=$ac_top_build_prefix
11106 .) # We are building in place.
11108 ac_top_srcdir=$ac_top_builddir_sub
11109 ac_abs_top_srcdir=$ac_pwd ;;
11110 [\\/]* | ?:[\\/]* ) # Absolute name.
11111 ac_srcdir=$srcdir$ac_dir_suffix;
11112 ac_top_srcdir=$srcdir
11113 ac_abs_top_srcdir=$srcdir ;;
11114 *) # Relative name.
11115 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11116 ac_top_srcdir=$ac_top_build_prefix$srcdir
11117 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11119 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11129 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11130 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11132 ac_MKDIR_P=$MKDIR_P
11134 [\\/$]* | ?:[\\/]* ) ;;
11135 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
11139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11140 # If the template does not know about datarootdir, expand it.
11141 # FIXME: This hack should be removed a few years after 2.60.
11142 ac_datarootdir_hack=; ac_datarootdir_seen=
11155 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
11156 *datarootdir*) ac_datarootdir_seen=yes;;
11157 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
11158 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
11159 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
11161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11162 ac_datarootdir_hack='
11163 s&@datadir@&$datadir&g
11164 s&@docdir@&$docdir&g
11165 s&@infodir@&$infodir&g
11166 s&@localedir@&$localedir&g
11167 s&@mandir@&$mandir&g
11168 s&\\\${datarootdir}&$datarootdir&g' ;;
11172 # Neutralize VPATH when `$srcdir' = `.'.
11173 # Shell code in configure.ac might set extrasub.
11174 # FIXME: do we really want to maintain this feature?
11175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11176 ac_sed_extra="$ac_vpsub
11179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11181 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11182 s|@configure_input@|
$ac_sed_conf_input|
;t t
11183 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11184 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
11185 s
&@srcdir@
&$ac_srcdir&;t t
11186 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11187 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11188 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11189 s
&@builddir@
&$ac_builddir&;t t
11190 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11191 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11192 s
&@INSTALL@
&$ac_INSTALL&;t t
11193 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
11194 $ac_datarootdir_hack
11196 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
11197 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
11198 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
11199 { (exit 1); exit 1; }; }
11201 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11202 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11203 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11204 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11205 which seems to be undefined. Please make sure it is defined." >&5
11206 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11207 which seems to be undefined. Please make sure it is defined." >&2;}
11211 -) cat "$tmp/out" && rm -f "$tmp/out";;
11212 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11214 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
11215 $as_echo "$as_me: error: could not create $ac_file" >&2;}
11216 { (exit 1); exit 1; }; }
11220 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
11221 $as_echo "$as_me: executing $ac_file commands" >&6;}
11226 case $ac_file$ac_mode in
11227 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
11228 # Strip MF so we end up with the name of the file.
11229 mf=`echo "$mf" | sed -e 's
/:.
*$
//'`
11230 # Check whether this is an Automake generated Makefile or not.
11231 # We used to match only the files named `Makefile.in', but
11232 # some people rename them; so instead we look at the file content.
11233 # Grep'ing the first line is not enough: some people post-process
11234 # each Makefile.in and add a new line on top of each file to say so.
11235 # Grep'ing the whole file is not good either: AIX grep has a line
11236 # limit of 2048, but all sed's we know have understand at least 4000.
11237 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
11238 dirpart
=`$as_dirname -- "$mf" ||
11239 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11240 X"$mf" : 'X\(//\)[^/]' \| \
11241 X"$mf" : 'X\(//\)$' \| \
11242 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11244 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11248 /^X\(\/\/\)[^/].*/{
11264 # Extract the definition of DEPDIR, am__include, and am__quote
11265 # from the Makefile without running `make'.
11266 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
11267 test -z "$DEPDIR" && continue
11268 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
11269 test -z "am__include" && continue
11270 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
11271 # When using ansi2knr, U may be empty or an underscore; expand it
11272 U
=`sed -n 's/^U = //p' < "$mf"`
11273 # Find all dependency output files, they are included files with
11274 # $(DEPDIR) in their names. We invoke sed twice because it is the
11275 # simplest approach to changing $(DEPDIR) to its actual value in the
11277 for file in `sed -n "
11278 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11279 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11280 # Make sure the directory exists.
11281 test -f "$dirpart/$file" && continue
11282 fdir
=`$as_dirname -- "$file" ||
11283 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11284 X"$file" : 'X\(//\)[^/]' \| \
11285 X"$file" : 'X\(//\)$' \| \
11286 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11287 $as_echo X"$file" |
11288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11292 /^X\(\/\/\)[^/].*/{
11305 { as_dir
=$dirpart/$fdir
11307 -*) as_dir
=.
/$as_dir;;
11309 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11313 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11314 *) as_qdir
=$as_dir;;
11316 as_dirs
="'$as_qdir' $as_dirs"
11317 as_dir
=`$as_dirname -- "$as_dir" ||
11318 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11319 X"$as_dir" : 'X\(//\)[^/]' \| \
11320 X"$as_dir" : 'X\(//\)$' \| \
11321 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11322 $as_echo X"$as_dir" |
11323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11327 /^X\(\/\/\)[^/].*/{
11340 test -d "$as_dir" && break
11342 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11343 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11344 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
11345 { (exit 1); exit 1; }; }; }
11346 # echo "creating $dirpart/$file"
11347 echo '# dummy' > "$dirpart/$file"
11351 "default-1":C
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
11352 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
11355 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev
/null
; then
11356 { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
11357 $as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
11358 { (exit 1); exit 1; }; }
11360 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
11365 '"s|^| $ac_top_srcdir/|" \
11366 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
11368 sed '/^POTFILES =/,/[^\\]$/ {
11372 ' "po/Makefile.in" >"po/Makefile"
11373 rm -f "po/Makefile.tmp"
11374 mv "po/stamp-it.tmp" "po/stamp-it"
11381 { (exit 0); exit 0; }
11383 chmod +x
$CONFIG_STATUS
11384 ac_clean_files
=$ac_clean_files_save
11386 test $ac_write_fail = 0 ||
11387 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
11388 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
11389 { (exit 1); exit 1; }; }
11392 # configure is writing to config.log, and then calls config.status.
11393 # config.status does its own redirection, appending to config.log.
11394 # Unfortunately, on DOS this fails, as config.log is still kept open
11395 # by configure, so config.status won't be able to write to it; its
11396 # output is simply discarded. So we exec the FD to /dev/null,
11397 # effectively closing config.log, so it can be properly (re)opened and
11398 # appended to by config.status. When coming back to configure, we
11399 # need to make the FD available again.
11400 if test "$no_create" != yes; then
11402 ac_config_status_args
=
11403 test "$silent" = yes &&
11404 ac_config_status_args
="$ac_config_status_args --quiet"
11406 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11408 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11409 # would make configure fail if this is the last instruction.
11410 $ac_cs_success ||
{ (exit 1); exit 1; }
11412 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
11413 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11414 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11419 echo "===================================================================="
11420 echo "Configuration succesfully finished"
11421 if test $HAVE_GNOME_PRINT; then
11422 echo "with gnomeprint"
11424 echo "without gnomeprint"
11427 if test $ENABLE_CAM; then
11428 echo "with (IEEE-1394) camera enabled"
11431 if test $ENABLE_TRIG; then
11432 echo "with (realtime) triggering enabled."
11434 if test x
$CONTROL = xfalse
; then
11435 echo "Gpiv_control has not been found on this system, and probably gpivtrig-rtl isn't"
11436 echo "resident as well. This script eases to install and uninstall the gpivtrig-rtl"
11437 echo "and RTAI kernel modules that are needed for the triggering of camera and lasers"
11442 if test $ENABLE_MPI; then
11443 echo "Using Message Passing Interface (MPI)"
11444 echo "for processing on distributed memory systems"
11447 echo "Type 'make' and 'make install' to build and install gpiv"
11448 echo "===================================================================="