2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for gpiv 0.6.1.
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.1'
600 PACKAGE_STRING
='gpiv 0.6.1'
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
661 INTLTOOL_SERVICE_RULE
663 INTLTOOL_SCHEMAS_RULE
665 INTLTOOL_XML_NOMERGE_RULE
670 INTLTOOL_SOUNDLIST_RULE
677 INTLTOOL_DIRECTORY_RULE
678 INTLTOOL_DESKTOP_RULE
724 MAINTAINER_MODE_FALSE
734 INSTALL_STRIP_PROGRAM
776 program_transform_name
788 enable_option_checking
789 enable_maintainer_mode
790 enable_dependency_tracking
803 ac_precious_vars
='build_alias
819 # Initialize some variables set by options.
821 ac_init_version
=false
822 ac_unrecognized_opts
=
824 # The variables have the same names as the options, with
825 # dashes changed to underlines.
833 program_transform_name
=s
,x
,x
,
841 # Installation directory options.
842 # These are left unexpanded so users can "make install exec_prefix=/foo"
843 # and all the variables that are supposed to be based on exec_prefix
844 # by default will actually change.
845 # Use braces instead of parens because sh, perl, etc. also accept them.
846 # (The list follows the same order as the GNU Coding Standards.)
847 bindir
='${exec_prefix}/bin'
848 sbindir
='${exec_prefix}/sbin'
849 libexecdir
='${exec_prefix}/libexec'
850 datarootdir
='${prefix}/share'
851 datadir
='${datarootdir}'
852 sysconfdir
='${prefix}/etc'
853 sharedstatedir
='${prefix}/com'
854 localstatedir
='${prefix}/var'
855 includedir
='${prefix}/include'
856 oldincludedir
='/usr/include'
857 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
858 infodir
='${datarootdir}/info'
863 libdir
='${exec_prefix}/lib'
864 localedir
='${datarootdir}/locale'
865 mandir
='${datarootdir}/man'
871 # If the previous option needs an argument, assign it.
872 if test -n "$ac_prev"; then
873 eval $ac_prev=\
$ac_option
879 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
883 # Accept the important Cygnus configure options, so we can diagnose typos.
885 case $ac_dashdash$ac_option in
889 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
891 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
894 -build |
--build |
--buil |
--bui |
--bu)
895 ac_prev
=build_alias
;;
896 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
897 build_alias
=$ac_optarg ;;
899 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
900 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
901 ac_prev
=cache_file
;;
902 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
903 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
904 cache_file
=$ac_optarg ;;
907 cache_file
=config.cache
;;
909 -datadir |
--datadir |
--datadi |
--datad)
911 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
912 datadir
=$ac_optarg ;;
914 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
915 |
--dataroo |
--dataro |
--datar)
916 ac_prev
=datarootdir
;;
917 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
918 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
919 datarootdir
=$ac_optarg ;;
921 -disable-* |
--disable-*)
922 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
925 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
926 { (exit 1); exit 1; }; }
927 ac_useropt_orig
=$ac_useropt
928 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929 case $ac_user_opts in
933 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
934 ac_unrecognized_sep
=', ';;
936 eval enable_
$ac_useropt=no
;;
938 -docdir |
--docdir |
--docdi |
--doc |
--do)
940 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
943 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
945 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
948 -enable-* |
--enable-*)
949 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
952 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
953 { (exit 1); exit 1; }; }
954 ac_useropt_orig
=$ac_useropt
955 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
960 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
961 ac_unrecognized_sep
=', ';;
963 eval enable_
$ac_useropt=\
$ac_optarg ;;
965 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
966 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
967 |
--exec |
--exe |
--ex)
968 ac_prev
=exec_prefix
;;
969 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
970 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
971 |
--exec=* |
--exe=* |
--ex=*)
972 exec_prefix
=$ac_optarg ;;
974 -gas |
--gas |
--ga |
--g)
975 # Obsolete; use --with-gas.
978 -help |
--help |
--hel |
--he |
-h)
980 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
981 ac_init_help
=recursive
;;
982 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
983 ac_init_help
=short
;;
985 -host |
--host |
--hos |
--ho)
986 ac_prev
=host_alias
;;
987 -host=* |
--host=* |
--hos=* |
--ho=*)
988 host_alias
=$ac_optarg ;;
990 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
992 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
994 htmldir
=$ac_optarg ;;
996 -includedir |
--includedir |
--includedi |
--included |
--include \
997 |
--includ |
--inclu |
--incl |
--inc)
998 ac_prev
=includedir
;;
999 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1000 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1001 includedir
=$ac_optarg ;;
1003 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1005 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1006 infodir
=$ac_optarg ;;
1008 -libdir |
--libdir |
--libdi |
--libd)
1010 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1011 libdir
=$ac_optarg ;;
1013 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1014 |
--libexe |
--libex |
--libe)
1015 ac_prev
=libexecdir
;;
1016 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1017 |
--libexe=* |
--libex=* |
--libe=*)
1018 libexecdir
=$ac_optarg ;;
1020 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1021 ac_prev
=localedir
;;
1022 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1023 localedir
=$ac_optarg ;;
1025 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1026 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1027 ac_prev
=localstatedir
;;
1028 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1029 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1030 localstatedir
=$ac_optarg ;;
1032 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1034 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1035 mandir
=$ac_optarg ;;
1037 -nfp |
--nfp |
--nf)
1038 # Obsolete; use --without-fp.
1041 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1042 |
--no-cr |
--no-c |
-n)
1045 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1046 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1049 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1050 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1051 |
--oldin |
--oldi |
--old |
--ol |
--o)
1052 ac_prev
=oldincludedir
;;
1053 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1054 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1055 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1056 oldincludedir
=$ac_optarg ;;
1058 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1060 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1061 prefix
=$ac_optarg ;;
1063 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1064 |
--program-pre |
--program-pr |
--program-p)
1065 ac_prev
=program_prefix
;;
1066 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1067 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1068 program_prefix
=$ac_optarg ;;
1070 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1071 |
--program-suf |
--program-su |
--program-s)
1072 ac_prev
=program_suffix
;;
1073 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1074 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1075 program_suffix
=$ac_optarg ;;
1077 -program-transform-name |
--program-transform-name \
1078 |
--program-transform-nam |
--program-transform-na \
1079 |
--program-transform-n |
--program-transform- \
1080 |
--program-transform |
--program-transfor \
1081 |
--program-transfo |
--program-transf \
1082 |
--program-trans |
--program-tran \
1083 |
--progr-tra |
--program-tr |
--program-t)
1084 ac_prev
=program_transform_name
;;
1085 -program-transform-name=* |
--program-transform-name=* \
1086 |
--program-transform-nam=* |
--program-transform-na=* \
1087 |
--program-transform-n=* |
--program-transform-=* \
1088 |
--program-transform=* |
--program-transfor=* \
1089 |
--program-transfo=* |
--program-transf=* \
1090 |
--program-trans=* |
--program-tran=* \
1091 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1092 program_transform_name
=$ac_optarg ;;
1094 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1096 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1097 pdfdir
=$ac_optarg ;;
1099 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1101 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1104 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1105 |
-silent |
--silent |
--silen |
--sile |
--sil)
1108 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1110 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1112 sbindir
=$ac_optarg ;;
1114 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1115 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1116 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1118 ac_prev
=sharedstatedir
;;
1119 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1120 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1121 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1123 sharedstatedir
=$ac_optarg ;;
1125 -site |
--site |
--sit)
1127 -site=* |
--site=* |
--sit=*)
1130 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1132 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1133 srcdir
=$ac_optarg ;;
1135 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1136 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1137 ac_prev
=sysconfdir
;;
1138 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1139 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1140 sysconfdir
=$ac_optarg ;;
1142 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1143 ac_prev
=target_alias
;;
1144 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1145 target_alias
=$ac_optarg ;;
1147 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1150 -version |
--version |
--versio |
--versi |
--vers |
-V)
1151 ac_init_version
=: ;;
1154 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1157 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1158 { (exit 1); exit 1; }; }
1159 ac_useropt_orig
=$ac_useropt
1160 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161 case $ac_user_opts in
1165 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1166 ac_unrecognized_sep
=', ';;
1168 eval with_
$ac_useropt=\
$ac_optarg ;;
1170 -without-* |
--without-*)
1171 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1174 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1175 { (exit 1); exit 1; }; }
1176 ac_useropt_orig
=$ac_useropt
1177 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178 case $ac_user_opts in
1182 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1183 ac_unrecognized_sep
=', ';;
1185 eval with_
$ac_useropt=no
;;
1188 # Obsolete; use --with-x.
1191 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1192 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1193 ac_prev
=x_includes
;;
1194 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1195 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1196 x_includes
=$ac_optarg ;;
1198 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1199 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1200 ac_prev
=x_libraries
;;
1201 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1202 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1203 x_libraries
=$ac_optarg ;;
1205 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1206 Try \`$0 --help' for more information." >&2
1207 { (exit 1); exit 1; }; }
1211 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1212 # Reject names that are not valid shell variable names.
1213 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1214 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1215 { (exit 1); exit 1; }; }
1216 eval $ac_envvar=\
$ac_optarg
1217 export $ac_envvar ;;
1220 # FIXME: should be removed in autoconf 3.0.
1221 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1222 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1223 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1224 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1230 if test -n "$ac_prev"; then
1231 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1232 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1233 { (exit 1); exit 1; }; }
1236 if test -n "$ac_unrecognized_opts"; then
1237 case $enable_option_checking in
1239 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1240 { (exit 1); exit 1; }; } ;;
1241 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1245 # Check all directory arguments for consistency.
1246 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1247 datadir sysconfdir sharedstatedir localstatedir includedir \
1248 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1249 libdir localedir mandir
1251 eval ac_val
=\$
$ac_var
1252 # Remove trailing slashes.
1255 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1256 eval $ac_var=\
$ac_val;;
1258 # Be sure to have absolute directory names.
1260 [\\/$
]* | ?
:[\\/]* ) continue;;
1261 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1263 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1264 { (exit 1); exit 1; }; }
1267 # There might be people who depend on the old broken behavior: `$host'
1268 # used to hold the argument of --host etc.
1269 # FIXME: To remove some day.
1272 target
=$target_alias
1274 # FIXME: To remove some day.
1275 if test "x$host_alias" != x
; then
1276 if test "x$build_alias" = x
; then
1277 cross_compiling
=maybe
1278 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1279 If a cross compiler is detected then cross compile mode will be used." >&2
1280 elif test "x$build_alias" != "x$host_alias"; then
1286 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1288 test "$silent" = yes && exec 6>/dev
/null
1291 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1292 ac_ls_di
=`ls -di .` &&
1293 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1294 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1295 { (exit 1); exit 1; }; }
1296 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1297 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1298 { (exit 1); exit 1; }; }
1301 # Find the source files, if location was not specified.
1302 if test -z "$srcdir"; then
1303 ac_srcdir_defaulted
=yes
1304 # Try the directory containing this script, then the parent directory.
1305 ac_confdir
=`$as_dirname -- "$as_myself" ||
1306 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1307 X"$as_myself" : 'X\(//\)[^/]' \| \
1308 X"$as_myself" : 'X\(//\)$' \| \
1309 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1310 $as_echo X"$as_myself" |
1311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1329 if test ! -r "$srcdir/$ac_unique_file"; then
1333 ac_srcdir_defaulted
=no
1335 if test ! -r "$srcdir/$ac_unique_file"; then
1336 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1337 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1338 { (exit 1); exit 1; }; }
1340 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1342 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1343 { (exit 1); exit 1; }; }
1345 # When building in place, set srcdir=.
1346 if test "$ac_abs_confdir" = "$ac_pwd"; then
1349 # Remove unnecessary trailing slashes from srcdir.
1350 # Double slashes in file names in object file debugging info
1351 # mess up M-x gdb in Emacs.
1353 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1355 for ac_var
in $ac_precious_vars; do
1356 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1357 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1358 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1359 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1363 # Report the --help message.
1365 if test "$ac_init_help" = "long"; then
1366 # Omit some internal or obsolete options to make the list less imposing.
1367 # This message is too long to be a string in the A/UX 3.1 sh.
1369 \`configure' configures gpiv 0.6.1 to adapt to many kinds of systems.
1371 Usage: $0 [OPTION]... [VAR=VALUE]...
1373 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1374 VAR=VALUE. See below for descriptions of some of the useful variables.
1376 Defaults for the options are specified in brackets.
1379 -h, --help display this help and exit
1380 --help=short display options specific to this package
1381 --help=recursive display the short help of all the included packages
1382 -V, --version display version information and exit
1383 -q, --quiet, --silent do not print \`checking...' messages
1384 --cache-file=FILE cache test results in FILE [disabled]
1385 -C, --config-cache alias for \`--cache-file=config.cache'
1386 -n, --no-create do not create output files
1387 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1389 Installation directories:
1390 --prefix=PREFIX install architecture-independent files in PREFIX
1391 [$ac_default_prefix]
1392 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1395 By default, \`make install' will install all the files in
1396 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1397 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1398 for instance \`--prefix=\$HOME'.
1400 For better control, use the options below.
1402 Fine tuning of the installation directories:
1403 --bindir=DIR user executables [EPREFIX/bin]
1404 --sbindir=DIR system admin executables [EPREFIX/sbin]
1405 --libexecdir=DIR program executables [EPREFIX/libexec]
1406 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1407 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1408 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1409 --libdir=DIR object code libraries [EPREFIX/lib]
1410 --includedir=DIR C header files [PREFIX/include]
1411 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1412 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1413 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1414 --infodir=DIR info documentation [DATAROOTDIR/info]
1415 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1416 --mandir=DIR man documentation [DATAROOTDIR/man]
1417 --docdir=DIR documentation root [DATAROOTDIR/doc/gpiv]
1418 --htmldir=DIR html documentation [DOCDIR]
1419 --dvidir=DIR dvi documentation [DOCDIR]
1420 --pdfdir=DIR pdf documentation [DOCDIR]
1421 --psdir=DIR ps documentation [DOCDIR]
1427 --program-prefix=PREFIX prepend PREFIX to installed program names
1428 --program-suffix=SUFFIX append SUFFIX to installed program names
1429 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1433 if test -n "$ac_init_help"; then
1434 case $ac_init_help in
1435 short | recursive
) echo "Configuration of gpiv 0.6.1:";;
1440 --disable-option-checking ignore unrecognized
--enable/--with options
1441 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1442 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1443 --enable-maintainer-mode enable make rules and dependencies not useful
1444 (and sometimes confusing
) to the casual installer
1445 --disable-dependency-tracking speeds up one-time build
1446 --enable-dependency-tracking do not reject slow dependency extractors
1447 --disable-nls do not use Native Language Support
1448 --enable-mpi enable Message Protocol Interface
(MPI
)
1449 --enable-rr checks also
for MPI-enabled gpiv_rr
1450 --enable-cam enable data acquisition
1451 --enable-trig enable (realtime
) triggering
1452 --enable-rta=RTA_DIR place where the RTAI code resides
1453 (default
/usr
/lib
/realtime
)
1454 --enable-k=K_DIR place where the installed kernel
1456 (default
/usr
/src
/kernel-headers-2.4
.27-adeos)
1457 --enable-img-width=WIDTH maximum image width to be used
(default SVGA
)
1458 --enable-img-height=HEIGHT maximum image height to be used
(default SVGA
)
1459 --enable-canvas-aa Use Anti Aliased canvas
for viewer
; slower but
1460 better displaying of image and resulting data
1461 --enable-debug debug version
(more verbose
)
1463 Some influential environment variables
:
1464 CC C compiler
command
1465 CFLAGS C compiler flags
1466 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1467 nonstandard directory
<lib dir
>
1468 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1469 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1470 you have headers
in a nonstandard directory
<include dir
>
1472 PKG_CONFIG path to pkg-config utility
1474 C compiler flags
for GPIV_UI
, overriding pkg-config
1476 linker flags
for GPIV_UI
, overriding pkg-config
1477 GPIV_CFLAGS C compiler flags
for GPIV
, overriding pkg-config
1478 GPIV_LIBS linker flags
for GPIV
, overriding pkg-config
1480 Use these variables to override the choices made by
`configure' or to help
1481 it to find libraries and programs with nonstandard names/locations.
1483 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv>.
1488 if test "$ac_init_help" = "recursive"; then
1489 # If there are subdirs, report their specific --help.
1490 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1491 test -d "$ac_dir" ||
1492 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1497 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1499 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1500 # A ".." for each directory in $ac_dir_suffix.
1501 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1502 case $ac_top_builddir_sub in
1503 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1504 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1507 ac_abs_top_builddir=$ac_pwd
1508 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1509 # for backward compatibility:
1510 ac_top_builddir=$ac_top_build_prefix
1513 .) # We are building in place.
1515 ac_top_srcdir=$ac_top_builddir_sub
1516 ac_abs_top_srcdir=$ac_pwd ;;
1517 [\\/]* | ?:[\\/]* ) # Absolute name.
1518 ac_srcdir=$srcdir$ac_dir_suffix;
1519 ac_top_srcdir=$srcdir
1520 ac_abs_top_srcdir=$srcdir ;;
1522 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1523 ac_top_srcdir=$ac_top_build_prefix$srcdir
1524 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1526 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1528 cd "$ac_dir" || { ac_status=$?; continue; }
1529 # Check for guested configure.
1530 if test -f "$ac_srcdir/configure.gnu"; then
1532 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1533 elif test -f "$ac_srcdir/configure"; then
1535 $SHELL "$ac_srcdir/configure" --help=recursive
1537 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1539 cd "$ac_pwd" || { ac_status=$?; break; }
1543 test -n "$ac_init_help" && exit $ac_status
1544 if $ac_init_version; then
1546 gpiv configure 0.6.1
1547 generated by GNU Autoconf 2.63
1549 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1550 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1551 This configure script is free software; the Free Software Foundation
1552 gives unlimited permission to copy, distribute and modify it.
1556 cat >config.log <<_ACEOF
1557 This file contains any messages produced by compilers while
1558 running configure, to aid debugging if configure makes a mistake.
1560 It was created by gpiv $as_me 0.6.1, which was
1561 generated by GNU Autoconf 2.63. Invocation command line was
1573 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1574 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1575 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1576 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1577 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1579 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1580 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1582 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1583 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1584 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1585 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1586 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1587 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1588 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1596 test -z "$as_dir" && as_dir=.
1597 $as_echo "PATH: $as_dir"
1613 # Keep a trace of the command line.
1614 # Strip out --no-create and --no-recursion so they do not pile up.
1615 # Strip out --silent because we don't want to record it for future runs.
1616 # Also quote any args containing shell meta-characters.
1617 # Make two passes to allow for proper duplicate-argument suppression.
1621 ac_must_keep_next=false
1627 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1628 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1629 | -silent | --silent | --silen | --sile | --sil)
1632 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1635 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1637 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1638 if test $ac_must_keep_next = true; then
1639 ac_must_keep_next=false # Got value, back to normal.
1642 *=* | --config-cache | -C | -disable-* | --disable-* \
1643 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1644 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1645 | -with-* | --with-* | -without-* | --without-* | --x)
1646 case "$ac_configure_args0 " in
1647 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1650 -* ) ac_must_keep_next=true ;;
1653 ac_configure_args="$ac_configure_args '$ac_arg'"
1658 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1659 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1661 # When interrupted or exit'd, cleanup temporary files, and complete
1662 # config.log. We remove comments because anyway the quotes in there
1663 # would cause problems or look ugly.
1664 # WARNING: Use '\'' to represent an apostrophe within the trap.
1665 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1666 trap 'exit_status=$?
1667 # Save into config.log some information that might help in debugging.
1672 ## ---------------- ##
1673 ## Cache variables. ##
1674 ## ---------------- ##
1677 # The following way of writing the cache mishandles newlines in values,
1679 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1680 eval ac_val=\$$ac_var
1684 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1685 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1688 _ | IFS | as_nl) ;; #(
1689 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1690 *) $as_unset $ac_var ;;
1695 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1696 *${as_nl}ac_space=\ *)
1698 "s/'\''/'\''\\\\'\'''\''/g;
1699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1702 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1710 ## ----------------- ##
1711 ## Output variables. ##
1712 ## ----------------- ##
1715 for ac_var in $ac_subst_vars
1717 eval ac_val=\$$ac_var
1719 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1721 $as_echo "$ac_var='\''$ac_val'\''"
1725 if test -n "$ac_subst_files"; then
1727 ## ------------------- ##
1728 ## File substitutions. ##
1729 ## ------------------- ##
1732 for ac_var in $ac_subst_files
1734 eval ac_val=\$$ac_var
1736 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1738 $as_echo "$ac_var='\''$ac_val'\''"
1743 if test -s confdefs.h; then
1753 test "$ac_signal" != 0 &&
1754 $as_echo "$as_me: caught signal $ac_signal"
1755 $as_echo "$as_me: exit $exit_status"
1757 rm -f core *.core core.conftest.* &&
1758 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1761 for ac_signal in 1 2 13 15; do
1762 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1766 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1767 rm -f -r conftest* confdefs.h
1769 # Predefined preprocessor variables.
1771 cat >>confdefs.h <<_ACEOF
1772 #define PACKAGE_NAME "$PACKAGE_NAME"
1776 cat >>confdefs.h <<_ACEOF
1777 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1781 cat >>confdefs.h <<_ACEOF
1782 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1786 cat >>confdefs.h <<_ACEOF
1787 #define PACKAGE_STRING "$PACKAGE_STRING"
1791 cat >>confdefs.h <<_ACEOF
1792 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1796 # Let the site file select an alternate cache file if it wants to.
1797 # Prefer an explicitly selected file to automatically selected ones.
1800 if test -n "$CONFIG_SITE"; then
1801 ac_site_file1=$CONFIG_SITE
1802 elif test "x$prefix" != xNONE; then
1803 ac_site_file1=$prefix/share/config.site
1804 ac_site_file2=$prefix/etc/config.site
1806 ac_site_file1=$ac_default_prefix/share/config.site
1807 ac_site_file2=$ac_default_prefix/etc/config.site
1809 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1811 test "x$ac_site_file" = xNONE && continue
1812 if test -r "$ac_site_file"; then
1813 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1814 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1815 sed 's/^/| /' "$ac_site_file" >&5
1820 if test -r "$cache_file"; then
1821 # Some versions of bash will fail to source /dev/null (special
1822 # files actually), so we avoid doing that.
1823 if test -f "$cache_file"; then
1824 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1825 $as_echo "$as_me: loading cache $cache_file" >&6;}
1827 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1828 *) . "./$cache_file";;
1832 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1833 $as_echo "$as_me: creating cache $cache_file" >&6;}
1837 # Check that the precious variables saved in the cache have kept the same
1839 ac_cache_corrupted=false
1840 for ac_var in $ac_precious_vars; do
1841 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1842 eval ac_new_set=\$ac_env_${ac_var}_set
1843 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1844 eval ac_new_val=\$ac_env_${ac_var}_value
1845 case $ac_old_set,$ac_new_set in
1847 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1848 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1849 ac_cache_corrupted=: ;;
1851 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1852 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1853 ac_cache_corrupted=: ;;
1856 if test "x$ac_old_val" != "x$ac_new_val"; then
1857 # differences in whitespace do not lead to failure.
1858 ac_old_val_w=`echo x
$ac_old_val`
1859 ac_new_val_w=`echo x
$ac_new_val`
1860 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1861 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1862 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1863 ac_cache_corrupted=:
1865 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1866 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1867 eval $ac_var=\$ac_old_val
1869 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1870 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1871 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1872 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1875 # Pass precious variables to config.status.
1876 if test "$ac_new_set" = set; then
1878 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1879 *) ac_arg=$ac_var=$ac_new_val ;;
1881 case " $ac_configure_args " in
1882 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1883 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1887 if $ac_cache_corrupted; then
1888 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1890 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1891 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1892 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1893 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1894 { (exit 1); exit 1; }; }
1922 ac_cpp='$CPP $CPPFLAGS'
1923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1928 am__api_version='1.10'
1931 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
1932 if test -f "$ac_dir/install-sh
"; then
1934 ac_install_sh="$ac_aux_dir/install-sh
-c"
1936 elif test -f "$ac_dir/install.sh
"; then
1938 ac_install_sh="$ac_aux_dir/install.sh
-c"
1940 elif test -f "$ac_dir/shtool
"; then
1942 ac_install_sh="$ac_aux_dir/shtool
install -c"
1946 if test -z "$ac_aux_dir"; then
1947 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
1948 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
1949 { (exit 1); exit 1; }; }
1952 # These three variables are undocumented and unsupported,
1953 # and are intended to be withdrawn in a future Autoconf release.
1954 # They can cause serious problems if a builder's source tree is in a directory
1955 # whose full name contains unusual characters.
1956 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
1957 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
1958 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
1961 # Find a good install program. We prefer a C program (faster),
1962 # so one script is as good as another. But avoid the broken or
1963 # incompatible versions:
1964 # SysV /etc/install, /usr/sbin/install
1965 # SunOS /usr/etc/install
1966 # IRIX /sbin/install
1968 # AmigaOS /C/install, which installs bootblocks on floppy discs
1969 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1970 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1971 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1972 # OS/2's system install, which has a completely different semantic
1973 # ./install, which can be erroneously created by make from ./install.sh.
1974 # Reject install programs that cannot install multiple files.
1975 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
1976 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
1977 if test -z "$INSTALL"; then
1978 if test "${ac_cv_path_install+set}" = set; then
1979 $as_echo_n "(cached
) " >&6
1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 test -z "$as_dir" && as_dir=.
1986 # Account for people who put trailing slashes in PATH elements.
1988 ./ | .// | /cC/* | \
1989 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1990 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1993 # OSF1 and SCO ODT 3.0 have their own names for install.
1994 # Don't use installbsd from OSF since it installs stuff as root
1996 for ac_prog in ginstall scoinst install; do
1997 for ac_exec_ext in '' $ac_executable_extensions; do
1998 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1999 if test $ac_prog = install &&
2000 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2001 # AIX install. It has an incompatible calling convention.
2003 elif test $ac_prog = install &&
2004 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2005 # program-specific install script used by HP pwplus--don't use.
2008 rm -rf conftest.one conftest.two conftest.dir
2009 echo one > conftest.one
2010 echo two > conftest.two
2012 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2013 test -s conftest.one && test -s conftest.two &&
2014 test -s conftest.dir/conftest.one &&
2015 test -s conftest.dir/conftest.two
2017 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2030 rm -rf conftest.one conftest.two conftest.dir
2033 if test "${ac_cv_path_install+set}" = set; then
2034 INSTALL=$ac_cv_path_install
2036 # As a last resort, use the slow shell script. Don't cache a
2037 # value for INSTALL within a source directory, because that will
2038 # break other packages using the cache if that directory is
2039 # removed, or if the value is a relative name.
2040 INSTALL=$ac_install_sh
2043 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2044 $as_echo "$INSTALL" >&6; }
2046 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2047 # It thinks the first close brace ends the variable substitution.
2048 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2050 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2052 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2054 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2055 $as_echo_n "checking whether build environment is sane...
" >&6; }
2058 echo timestamp > conftest.file
2059 # Do `set' in a subshell so we don't clobber the current shell's
2060 # arguments. Must try -L first in case configure is actually a
2061 # symlink; some systems play weird games with the mod time of symlinks
2062 # (eg FreeBSD returns the mod time of the symlink's containing
2065 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2066 if test "$
*" = "X
"; then
2068 set X `ls -t $srcdir/configure conftest.file`
2071 if test "$
*" != "X
$srcdir/configure conftest.
file" \
2072 && test "$
*" != "X conftest.
file $srcdir/configure
"; then
2074 # If neither matched, then we have a broken ls. This can happen
2075 # if, for instance, CONFIG_SHELL is bash and it inherits a
2076 # broken ls alias from the environment. This has actually
2077 # happened. Such a system could not be considered "sane
".
2078 { { $as_echo "$as_me:$LINENO: error
: ls -t appears to fail. Make sure there is not a broken
2079 alias in your environment
" >&5
2080 $as_echo "$as_me: error
: ls -t appears to fail. Make sure there is not a broken
2081 alias in your environment
" >&2;}
2082 { (exit 1); exit 1; }; }
2085 test "$2" = conftest.file
2091 { { $as_echo "$as_me:$LINENO: error
: newly created
file is older than distributed files
!
2092 Check your system
clock" >&5
2093 $as_echo "$as_me: error
: newly created
file is older than distributed files
!
2094 Check your system
clock" >&2;}
2095 { (exit 1); exit 1; }; }
2097 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2098 $as_echo "yes" >&6; }
2099 test "$program_prefix" != NONE &&
2100 program_transform_name="s
&^
&$program_prefix&;$program_transform_name"
2101 # Use a double $ so make ignores it.
2102 test "$program_suffix" != NONE &&
2103 program_transform_name="s
&\$
&$program_suffix&;$program_transform_name"
2104 # Double any \ or $.
2105 # By default was `s,x,x', remove it if useless.
2106 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2107 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2109 # expand $ac_aux_dir to an absolute path
2110 am_aux_dir=`cd $ac_aux_dir && pwd`
2112 test x"${MISSING+set}" = xset || MISSING="\
${SHELL} $am_aux_dir/missing
"
2113 # Use eval to expand $SHELL
2114 if eval "$MISSING --run true
"; then
2115 am_missing_run="$MISSING --run "
2118 { $as_echo "$as_me:$LINENO: WARNING
: \
`missing' script is too old or missing" >&5
2119 $as_echo "$as_me: WARNING: \`missing
' script is too old or missing" >&2;}
2122 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2123 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2124 if test -z "$MKDIR_P"; then
2125 if test "${ac_cv_path_mkdir+set}" = set; then
2126 $as_echo_n "(cached) " >&6
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2132 test -z "$as_dir" && as_dir=.
2133 for ac_prog in mkdir gmkdir; do
2134 for ac_exec_ext in '' $ac_executable_extensions; do
2135 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2136 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2137 'mkdir
(GNU coreutils
) '* | \
2138 'mkdir
(coreutils
) '* | \
2139 'mkdir
(fileutils
) '4.1*)
2140 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2150 if test "${ac_cv_path_mkdir+set}" = set; then
2151 MKDIR_P="$ac_cv_path_mkdir -p"
2153 # As a last resort, use the slow shell script. Don't cache a
2154 # value for MKDIR_P within a source directory, because that will
2155 # break other packages using the cache if that directory is
2156 # removed, or if the value is a relative name.
2157 test -d .
/--version && rmdir .
/--version
2158 MKDIR_P
="$ac_install_sh -d"
2161 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2162 $as_echo "$MKDIR_P" >&6; }
2166 [\\/$
]* | ?
:[\\/]*) ;;
2167 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2170 for ac_prog
in gawk mawk nawk
awk
2172 # Extract the first word of "$ac_prog", so it can be a program name with args.
2173 set dummy
$ac_prog; ac_word
=$2
2174 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2175 $as_echo_n "checking for $ac_word... " >&6; }
2176 if test "${ac_cv_prog_AWK+set}" = set; then
2177 $as_echo_n "(cached) " >&6
2179 if test -n "$AWK"; then
2180 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2186 test -z "$as_dir" && as_dir
=.
2187 for ac_exec_ext
in '' $ac_executable_extensions; do
2188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2189 ac_cv_prog_AWK
="$ac_prog"
2190 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2200 if test -n "$AWK"; then
2201 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2202 $as_echo "$AWK" >&6; }
2204 { $as_echo "$as_me:$LINENO: result: no" >&5
2205 $as_echo "no" >&6; }
2209 test -n "$AWK" && break
2212 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2213 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2215 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2216 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2217 $as_echo_n "(cached) " >&6
2219 cat >conftest.
make <<\_ACEOF
2222 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2224 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2225 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2227 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2229 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2233 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2234 { $as_echo "$as_me:$LINENO: result: yes" >&5
2235 $as_echo "yes" >&6; }
2238 { $as_echo "$as_me:$LINENO: result: no" >&5
2239 $as_echo "no" >&6; }
2240 SET_MAKE
="MAKE=${MAKE-make}"
2243 rm -rf .tst
2>/dev
/null
2244 mkdir .tst
2>/dev
/null
2245 if test -d .tst
; then
2250 rmdir .tst
2>/dev
/null
2252 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2253 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2254 # is not polluted with repeated "-I."
2255 am__isrc
=' -I$(srcdir)'
2256 # test to see if srcdir already configured
2257 if test -f $srcdir/config.status
; then
2258 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2259 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2260 { (exit 1); exit 1; }; }
2264 # test whether we have cygpath
2265 if test -z "$CYGPATH_W"; then
2266 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2267 CYGPATH_W
='cygpath -w'
2274 # Define the identity of the package.
2279 cat >>confdefs.h
<<_ACEOF
2280 #define PACKAGE "$PACKAGE"
2284 cat >>confdefs.h
<<_ACEOF
2285 #define VERSION "$VERSION"
2288 # Some tools Automake needs.
2290 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2293 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2296 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2299 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2302 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2304 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2306 # Installed binaries are usually stripped using `strip' when the user
2307 # run `make install-strip'. However `strip' might not be the right
2308 # tool to use in cross-compilation environments, therefore Automake
2309 # will honor the `STRIP' environment variable to overrule this program.
2310 if test "$cross_compiling" != no
; then
2311 if test -n "$ac_tool_prefix"; then
2312 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2313 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2314 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2315 $as_echo_n "checking for $ac_word... " >&6; }
2316 if test "${ac_cv_prog_STRIP+set}" = set; then
2317 $as_echo_n "(cached) " >&6
2319 if test -n "$STRIP"; then
2320 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2326 test -z "$as_dir" && as_dir
=.
2327 for ac_exec_ext
in '' $ac_executable_extensions; do
2328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2329 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2330 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339 STRIP
=$ac_cv_prog_STRIP
2340 if test -n "$STRIP"; then
2341 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2342 $as_echo "$STRIP" >&6; }
2344 { $as_echo "$as_me:$LINENO: result: no" >&5
2345 $as_echo "no" >&6; }
2350 if test -z "$ac_cv_prog_STRIP"; then
2352 # Extract the first word of "strip", so it can be a program name with args.
2353 set dummy strip
; ac_word
=$2
2354 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2355 $as_echo_n "checking for $ac_word... " >&6; }
2356 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2357 $as_echo_n "(cached) " >&6
2359 if test -n "$ac_ct_STRIP"; then
2360 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir
=.
2367 for ac_exec_ext
in '' $ac_executable_extensions; do
2368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2369 ac_cv_prog_ac_ct_STRIP
="strip"
2370 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2380 if test -n "$ac_ct_STRIP"; then
2381 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2382 $as_echo "$ac_ct_STRIP" >&6; }
2384 { $as_echo "$as_me:$LINENO: result: no" >&5
2385 $as_echo "no" >&6; }
2388 if test "x$ac_ct_STRIP" = x
; then
2391 case $cross_compiling:$ac_tool_warned in
2393 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2395 ac_tool_warned
=yes ;;
2400 STRIP
="$ac_cv_prog_STRIP"
2404 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2406 # We need awk for the "check" target. The system "awk" is bad on
2408 # Always define AMTAR for backward compatibility.
2410 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2412 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2418 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2419 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2420 # Check whether --enable-maintainer-mode was given.
2421 if test "${enable_maintainer_mode+set}" = set; then
2422 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2424 USE_MAINTAINER_MODE
=no
2427 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2428 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2429 if test $USE_MAINTAINER_MODE = yes; then
2430 MAINTAINER_MODE_TRUE
=
2431 MAINTAINER_MODE_FALSE
='#'
2433 MAINTAINER_MODE_TRUE
='#'
2434 MAINTAINER_MODE_FALSE
=
2437 MAINT
=$MAINTAINER_MODE_TRUE
2442 DEPDIR
="${am__leading_dot}deps"
2444 ac_config_commands
="$ac_config_commands depfiles"
2447 am_make
=${MAKE-make}
2448 cat > confinc
<< 'END'
2453 # If we don't find an include directive, just comment out the code.
2454 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2455 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2459 # First try GNU make style include.
2460 echo "include confinc" > confmf
2461 # We grep out `Entering directory' and `Leaving directory'
2462 # messages which can occur if `w' ends up in MAKEFLAGS.
2463 # In particular we don't look at `^make:' because GNU make might
2464 # be invoked under some other name (usually "gmake"), in which
2465 # case it prints its new name instead of `make'.
2466 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2471 # Now try BSD make style include.
2472 if test "$am__include" = "#"; then
2473 echo '.include "confinc"' > confmf
2474 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2475 am__include
=.include
2482 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2483 $as_echo "$_am_result" >&6; }
2484 rm -f confinc confmf
2486 # Check whether --enable-dependency-tracking was given.
2487 if test "${enable_dependency_tracking+set}" = set; then
2488 enableval
=$enable_dependency_tracking;
2491 if test "x$enable_dependency_tracking" != xno
; then
2492 am_depcomp
="$ac_aux_dir/depcomp"
2495 if test "x$enable_dependency_tracking" != xno; then
2505 ac_cpp
='$CPP $CPPFLAGS'
2506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2509 if test -n "$ac_tool_prefix"; then
2510 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2511 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2512 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2513 $as_echo_n "checking for $ac_word... " >&6; }
2514 if test "${ac_cv_prog_CC+set}" = set; then
2515 $as_echo_n "(cached) " >&6
2517 if test -n "$CC"; then
2518 ac_cv_prog_CC
="$CC" # Let the user override the test.
2520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2524 test -z "$as_dir" && as_dir
=.
2525 for ac_exec_ext
in '' $ac_executable_extensions; do
2526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2527 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2528 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2538 if test -n "$CC"; then
2539 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2540 $as_echo "$CC" >&6; }
2542 { $as_echo "$as_me:$LINENO: result: no" >&5
2543 $as_echo "no" >&6; }
2548 if test -z "$ac_cv_prog_CC"; then
2550 # Extract the first word of "gcc", so it can be a program name with args.
2551 set dummy gcc
; ac_word
=$2
2552 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2553 $as_echo_n "checking for $ac_word... " >&6; }
2554 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2555 $as_echo_n "(cached) " >&6
2557 if test -n "$ac_ct_CC"; then
2558 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2564 test -z "$as_dir" && as_dir
=.
2565 for ac_exec_ext
in '' $ac_executable_extensions; do
2566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2567 ac_cv_prog_ac_ct_CC
="gcc"
2568 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2577 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2578 if test -n "$ac_ct_CC"; then
2579 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2580 $as_echo "$ac_ct_CC" >&6; }
2582 { $as_echo "$as_me:$LINENO: result: no" >&5
2583 $as_echo "no" >&6; }
2586 if test "x$ac_ct_CC" = x
; then
2589 case $cross_compiling:$ac_tool_warned in
2591 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2593 ac_tool_warned
=yes ;;
2601 if test -z "$CC"; then
2602 if test -n "$ac_tool_prefix"; then
2603 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2604 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2605 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2606 $as_echo_n "checking for $ac_word... " >&6; }
2607 if test "${ac_cv_prog_CC+set}" = set; then
2608 $as_echo_n "(cached) " >&6
2610 if test -n "$CC"; then
2611 ac_cv_prog_CC
="$CC" # Let the user override the test.
2613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2617 test -z "$as_dir" && as_dir
=.
2618 for ac_exec_ext
in '' $ac_executable_extensions; do
2619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2620 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2621 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2631 if test -n "$CC"; then
2632 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2633 $as_echo "$CC" >&6; }
2635 { $as_echo "$as_me:$LINENO: result: no" >&5
2636 $as_echo "no" >&6; }
2642 if test -z "$CC"; then
2643 # Extract the first word of "cc", so it can be a program name with args.
2644 set dummy cc
; ac_word
=$2
2645 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2646 $as_echo_n "checking for $ac_word... " >&6; }
2647 if test "${ac_cv_prog_CC+set}" = set; then
2648 $as_echo_n "(cached) " >&6
2650 if test -n "$CC"; then
2651 ac_cv_prog_CC
="$CC" # Let the user override the test.
2654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2658 test -z "$as_dir" && as_dir
=.
2659 for ac_exec_ext
in '' $ac_executable_extensions; do
2660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2661 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2662 ac_prog_rejected
=yes
2666 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 if test $ac_prog_rejected = yes; then
2674 # We found a bogon in the path, so make sure we never use it.
2675 set dummy
$ac_cv_prog_CC
2677 if test $# != 0; then
2678 # We chose a different compiler from the bogus one.
2679 # However, it has the same basename, so the bogon will be chosen
2680 # first if we set CC to just the basename; use the full file name.
2682 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2688 if test -n "$CC"; then
2689 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2690 $as_echo "$CC" >&6; }
2692 { $as_echo "$as_me:$LINENO: result: no" >&5
2693 $as_echo "no" >&6; }
2698 if test -z "$CC"; then
2699 if test -n "$ac_tool_prefix"; then
2700 for ac_prog
in cl.exe
2702 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2703 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2704 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2705 $as_echo_n "checking for $ac_word... " >&6; }
2706 if test "${ac_cv_prog_CC+set}" = set; then
2707 $as_echo_n "(cached) " >&6
2709 if test -n "$CC"; then
2710 ac_cv_prog_CC
="$CC" # Let the user override the test.
2712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2716 test -z "$as_dir" && as_dir
=.
2717 for ac_exec_ext
in '' $ac_executable_extensions; do
2718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2719 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2720 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2730 if test -n "$CC"; then
2731 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2732 $as_echo "$CC" >&6; }
2734 { $as_echo "$as_me:$LINENO: result: no" >&5
2735 $as_echo "no" >&6; }
2739 test -n "$CC" && break
2742 if test -z "$CC"; then
2744 for ac_prog
in cl.exe
2746 # Extract the first word of "$ac_prog", so it can be a program name with args.
2747 set dummy
$ac_prog; ac_word
=$2
2748 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2749 $as_echo_n "checking for $ac_word... " >&6; }
2750 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2751 $as_echo_n "(cached) " >&6
2753 if test -n "$ac_ct_CC"; then
2754 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2760 test -z "$as_dir" && as_dir
=.
2761 for ac_exec_ext
in '' $ac_executable_extensions; do
2762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2763 ac_cv_prog_ac_ct_CC
="$ac_prog"
2764 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2773 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2774 if test -n "$ac_ct_CC"; then
2775 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2776 $as_echo "$ac_ct_CC" >&6; }
2778 { $as_echo "$as_me:$LINENO: result: no" >&5
2779 $as_echo "no" >&6; }
2783 test -n "$ac_ct_CC" && break
2786 if test "x$ac_ct_CC" = x
; then
2789 case $cross_compiling:$ac_tool_warned in
2791 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2793 ac_tool_warned
=yes ;;
2802 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2804 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2805 See \`config.log' for more details." >&5
2806 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2807 See \`config.log' for more details." >&2;}
2808 { (exit 1); exit 1; }; }; }
2810 # Provide some information about the compiler.
2811 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2814 { (ac_try
="$ac_compiler --version >&5"
2816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2820 $as_echo "$ac_try_echo") >&5
2821 (eval "$ac_compiler --version >&5") 2>&5
2823 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); }
2825 { (ac_try="$ac_compiler -v >&5"
2827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2828 *) ac_try_echo
=$ac_try;;
2830 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2831 $as_echo "$ac_try_echo") >&5
2832 (eval "$ac_compiler -v >&5") 2>&5
2834 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); }
2836 { (ac_try
="$ac_compiler -V >&5"
2838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2839 *) ac_try_echo=$ac_try;;
2841 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2842 $as_echo "$ac_try_echo") >&5
2843 (eval "$ac_compiler -V >&5") 2>&5
2845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }
2848 cat >conftest.$ac_ext <<_ACEOF
2851 cat confdefs.h >>conftest.$ac_ext
2852 cat >>conftest.$ac_ext <<_ACEOF
2853 /* end confdefs.h. */
2863 ac_clean_files_save=$ac_clean_files
2864 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2865 # Try to create an executable without -o first, disregard a.out.
2866 # It will help us diagnose broken compilers, and finding out an intuition
2868 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2869 $as_echo_n "checking for C compiler default output file name... " >&6; }
2870 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2872 # The possible output files:
2873 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2876 for ac_file in $ac_files
2879 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2880 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2885 if { (ac_try="$ac_link_default"
2887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2888 *) ac_try_echo
=$ac_try;;
2890 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2891 $as_echo "$ac_try_echo") >&5
2892 (eval "$ac_link_default") 2>&5
2894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); }; then
2896 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2897 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2898 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2899 # so that the user can short-circuit this test for compilers unknown to
2901 for ac_file
in $ac_files ''
2903 test -f "$ac_file" ||
continue
2905 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2908 # We found the default executable, but exeext='' is most
2912 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2914 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2916 # We set ac_cv_exeext here because the later test for it is not
2917 # safe: cross compilers may not add the suffix if given an `-o'
2918 # argument, so we may need to know it at that point already.
2919 # Even if this section looks crufty: it has the advantage of
2926 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2932 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2933 $as_echo "$ac_file" >&6; }
2934 if test -z "$ac_file"; then
2935 $as_echo "$as_me: failed program was:" >&5
2936 sed 's/^/| /' conftest.
$ac_ext >&5
2938 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2940 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2941 See \`config.log' for more details." >&5
2942 $as_echo "$as_me: error: C compiler cannot create executables
2943 See \`config.log' for more details." >&2;}
2944 { (exit 77); exit 77; }; }; }
2947 ac_exeext
=$ac_cv_exeext
2949 # Check that the compiler produces executables we can run. If not, either
2950 # the compiler is broken, or we cross compile.
2951 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2952 $as_echo_n "checking whether the C compiler works... " >&6; }
2953 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2954 # If not cross compiling, check that we can run a simple program.
2955 if test "$cross_compiling" != yes; then
2956 if { ac_try
='./$ac_file'
2957 { (case "(($ac_try" in
2958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2959 *) ac_try_echo=$ac_try;;
2961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2962 $as_echo "$ac_try_echo") >&5
2963 (eval "$ac_try") 2>&5
2965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); }; }; then
2969 if test "$cross_compiling" = maybe; then
2972 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2974 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2975 If you meant to cross compile
, use \
`--host'.
2976 See \`config.log
' for more details." >&5
2977 $as_echo "$as_me: error: cannot run C compiled programs.
2978 If you meant to cross compile, use \`--host'.
2979 See \
`config.log' for more details." >&2;}
2980 { (exit 1); exit 1; }; }; }
2984 { $as_echo "$as_me:$LINENO: result: yes" >&5
2985 $as_echo "yes" >&6; }
2987 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2988 ac_clean_files=$ac_clean_files_save
2989 # Check that the compiler produces executables we can run. If not, either
2990 # the compiler is broken, or we cross compile.
2991 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2992 $as_echo_n "checking whether we are cross compiling... " >&6; }
2993 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2994 $as_echo "$cross_compiling" >&6; }
2996 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2997 $as_echo_n "checking for suffix of executables... " >&6; }
2998 if { (ac_try="$ac_link"
3000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3001 *) ac_try_echo
=$ac_try;;
3003 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3004 $as_echo "$ac_try_echo") >&5
3005 (eval "$ac_link") 2>&5
3007 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; then
3009 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3010 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3011 # work properly (i.e., refer to `conftest.exe'), while it won't with
3013 for ac_file
in conftest.exe conftest conftest.
*; do
3014 test -f "$ac_file" ||
continue
3016 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3017 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3023 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3025 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3026 See \`config.log' for more details." >&5
3027 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3028 See \`config.log' for more details." >&2;}
3029 { (exit 1); exit 1; }; }; }
3032 rm -f conftest
$ac_cv_exeext
3033 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3034 $as_echo "$ac_cv_exeext" >&6; }
3036 rm -f conftest.
$ac_ext
3037 EXEEXT
=$ac_cv_exeext
3039 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3040 $as_echo_n "checking for suffix of object files... " >&6; }
3041 if test "${ac_cv_objext+set}" = set; then
3042 $as_echo_n "(cached) " >&6
3044 cat >conftest.
$ac_ext <<_ACEOF
3047 cat confdefs.h
>>conftest.
$ac_ext
3048 cat >>conftest.
$ac_ext <<_ACEOF
3049 /* end confdefs.h. */
3059 rm -f conftest.o conftest.obj
3060 if { (ac_try
="$ac_compile"
3062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3066 $as_echo "$ac_try_echo") >&5
3067 (eval "$ac_compile") 2>&5
3069 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); }; then
3071 for ac_file in conftest.o conftest.obj conftest.*; do
3072 test -f "$ac_file" || continue;
3074 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3075 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3080 $as_echo "$as_me: failed program was:" >&5
3081 sed 's/^/| /' conftest.$ac_ext >&5
3083 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3085 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3086 See \
`config.log' for more details." >&5
3087 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3088 See \`config.log
' for more details." >&2;}
3089 { (exit 1); exit 1; }; }; }
3092 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3094 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3095 $as_echo "$ac_cv_objext" >&6; }
3096 OBJEXT=$ac_cv_objext
3098 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3099 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3100 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3101 $as_echo_n "(cached) " >&6
3103 cat >conftest.$ac_ext <<_ACEOF
3106 cat confdefs.h >>conftest.$ac_ext
3107 cat >>conftest.$ac_ext <<_ACEOF
3108 /* end confdefs.h. */
3121 rm -f conftest.$ac_objext
3122 if { (ac_try="$ac_compile"
3124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3125 *) ac_try_echo=$ac_try;;
3127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3128 $as_echo "$ac_try_echo") >&5
3129 (eval "$ac_compile") 2>conftest.er1
3131 grep -v '^
*+' conftest.er1 >conftest.err
3133 cat conftest.err >&5
3134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); } && {
3136 test -z "$ac_c_werror_flag" ||
3137 test ! -s conftest.err
3138 } && test -s conftest.$ac_objext; then
3141 $as_echo "$as_me: failed program was:" >&5
3142 sed 's
/^
/|
/' conftest.$ac_ext >&5
3147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3148 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3151 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3152 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3153 if test $ac_compiler_gnu = yes; then
3158 ac_test_CFLAGS=${CFLAGS+set}
3159 ac_save_CFLAGS=$CFLAGS
3160 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3161 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3162 if test "${ac_cv_prog_cc_g+set}" = set; then
3163 $as_echo_n "(cached) " >&6
3165 ac_save_c_werror_flag=$ac_c_werror_flag
3166 ac_c_werror_flag=yes
3169 cat >conftest.$ac_ext <<_ACEOF
3172 cat confdefs.h >>conftest.$ac_ext
3173 cat >>conftest.$ac_ext <<_ACEOF
3174 /* end confdefs.h. */
3184 rm -f conftest.$ac_objext
3185 if { (ac_try="$ac_compile"
3187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3188 *) ac_try_echo=$ac_try;;
3190 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3191 $as_echo "$ac_try_echo") >&5
3192 (eval "$ac_compile") 2>conftest.er1
3194 grep -v '^
*+' conftest.er1 >conftest.err
3196 cat conftest.err >&5
3197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198 (exit $ac_status); } && {
3199 test -z "$ac_c_werror_flag" ||
3200 test ! -s conftest.err
3201 } && test -s conftest.$ac_objext; then
3204 $as_echo "$as_me: failed program was:" >&5
3205 sed 's
/^
/|
/' conftest.$ac_ext >&5
3208 cat >conftest.$ac_ext <<_ACEOF
3211 cat confdefs.h >>conftest.$ac_ext
3212 cat >>conftest.$ac_ext <<_ACEOF
3213 /* end confdefs.h. */
3223 rm -f conftest.$ac_objext
3224 if { (ac_try="$ac_compile"
3226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3227 *) ac_try_echo=$ac_try;;
3229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3230 $as_echo "$ac_try_echo") >&5
3231 (eval "$ac_compile") 2>conftest.er1
3233 grep -v '^
*+' conftest.er1 >conftest.err
3235 cat conftest.err >&5
3236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237 (exit $ac_status); } && {
3238 test -z "$ac_c_werror_flag" ||
3239 test ! -s conftest.err
3240 } && test -s conftest.$ac_objext; then
3243 $as_echo "$as_me: failed program was:" >&5
3244 sed 's
/^
/|
/' conftest.$ac_ext >&5
3246 ac_c_werror_flag=$ac_save_c_werror_flag
3248 cat >conftest.$ac_ext <<_ACEOF
3251 cat confdefs.h >>conftest.$ac_ext
3252 cat >>conftest.$ac_ext <<_ACEOF
3253 /* end confdefs.h. */
3263 rm -f conftest.$ac_objext
3264 if { (ac_try="$ac_compile"
3266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3267 *) ac_try_echo=$ac_try;;
3269 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3270 $as_echo "$ac_try_echo") >&5
3271 (eval "$ac_compile") 2>conftest.er1
3273 grep -v '^
*+' conftest.er1 >conftest.err
3275 cat conftest.err >&5
3276 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); } && {
3278 test -z "$ac_c_werror_flag" ||
3279 test ! -s conftest.err
3280 } && test -s conftest.$ac_objext; then
3283 $as_echo "$as_me: failed program was:" >&5
3284 sed 's
/^
/|
/' conftest.$ac_ext >&5
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 ac_c_werror_flag=$ac_save_c_werror_flag
3298 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3299 $as_echo "$ac_cv_prog_cc_g" >&6; }
3300 if test "$ac_test_CFLAGS" = set; then
3301 CFLAGS=$ac_save_CFLAGS
3302 elif test $ac_cv_prog_cc_g = yes; then
3303 if test "$GCC" = yes; then
3309 if test "$GCC" = yes; then
3315 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3316 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3317 if test "${ac_cv_prog_cc_c89+set}" = set; then
3318 $as_echo_n "(cached) " >&6
3320 ac_cv_prog_cc_c89=no
3322 cat >conftest.$ac_ext <<_ACEOF
3325 cat confdefs.h >>conftest.$ac_ext
3326 cat >>conftest.$ac_ext <<_ACEOF
3327 /* end confdefs.h. */
3330 #include <sys/types.h>
3331 #include <sys/stat.h>
3332 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3333 struct buf
{ int x
; };
3334 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3335 static char
*e
(p
, i
)
3341 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3346 s
= g
(p
, va_arg
(v
,int
));
3351 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3352 function prototypes and stuff
, but not
'\xHH' hex character constants.
3353 These don
't provoke an error unfortunately, instead are silently treated
3354 as 'x
'. The following induces an error, until -std is added to get
3355 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3356 array size at least. It's necessary to
write '\x00'==0 to get something
3357 that
's true only with -std. */
3358 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3360 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3361 inside strings and character constants. */
3363 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3365 int test (int i, double x);
3366 struct s1 {int (*f) (int a);};
3367 struct s2 {int (*f) (double a);};
3368 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3374 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3379 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3380 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3382 CC="$ac_save_CC $ac_arg"
3383 rm -f conftest.$ac_objext
3384 if { (ac_try="$ac_compile"
3386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3387 *) ac_try_echo=$ac_try;;
3389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3390 $as_echo "$ac_try_echo") >&5
3391 (eval "$ac_compile") 2>conftest.er1
3393 grep -v '^
*+' conftest.er1 >conftest.err
3395 cat conftest.err >&5
3396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); } && {
3398 test -z "$ac_c_werror_flag" ||
3399 test ! -s conftest.err
3400 } && test -s conftest.$ac_objext; then
3401 ac_cv_prog_cc_c89=$ac_arg
3403 $as_echo "$as_me: failed program was:" >&5
3404 sed 's
/^
/|
/' conftest.$ac_ext >&5
3409 rm -f core conftest.err conftest.$ac_objext
3410 test "x$ac_cv_prog_cc_c89" != "xno" && break
3412 rm -f conftest.$ac_ext
3417 case "x$ac_cv_prog_cc_c89" in
3419 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3420 $as_echo "none needed" >&6; } ;;
3422 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3423 $as_echo "unsupported" >&6; } ;;
3425 CC="$CC $ac_cv_prog_cc_c89"
3426 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3427 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3432 ac_cpp='$CPP $CPPFLAGS'
3433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3434 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3437 depcc="$CC" am_compiler_list=
3439 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3440 $as_echo_n "checking dependency style of $depcc... " >&6; }
3441 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3442 $as_echo_n "(cached) " >&6
3444 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3445 # We make a subdir and do the tests there. Otherwise we can end up
3446 # making bogus files that we don't know about and never remove. For
3447 # instance it was reported that on HP-UX the gcc test will end up
3448 # making a dummy file named `D' -- because `-MD' means `put the output
3451 # Copy depcomp to subdir because otherwise we won't find it if we're
3452 # using a relative directory.
3453 cp "$am_depcomp" conftest.dir
3455 # We will build objects and dependencies in a subdirectory because
3456 # it helps to detect inapplicable dependency modes. For instance
3457 # both Tru64's cc and ICC support -MD to output dependencies as a
3458 # side effect of compilation, but ICC will put the dependencies in
3459 # the current directory while Tru64 will put them in the object
3463 am_cv_CC_dependencies_compiler_type
=none
3464 if test "$am_compiler_list" = ""; then
3465 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3467 for depmode
in $am_compiler_list; do
3468 # Setup a source with many dependencies, because some compilers
3469 # like to wrap large dependency lists on column 80 (with \), and
3470 # we should not choose a depcomp mode which is confused by this.
3472 # We need to recreate these files for each test, as the compiler may
3473 # overwrite some of them when testing with obscure command lines.
3474 # This happens at least with the AIX C compiler.
3476 for i
in 1 2 3 4 5 6; do
3477 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3478 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3479 # Solaris 8's {/usr,}/bin/sh.
3480 touch sub
/conftst
$i.h
3482 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3486 # after this tag, mechanisms are not by side-effect, so they'll
3487 # only be used when explicitly requested
3488 if test "x$enable_dependency_tracking" = xyes
; then
3496 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3497 # mode. It turns out that the SunPro C++ compiler does not properly
3498 # handle `-M -o', and we need to detect this.
3499 if depmode
=$depmode \
3500 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3501 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3502 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3503 >/dev
/null
2>conftest.err
&&
3504 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3505 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3506 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3507 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3508 # icc doesn't choke on unknown options, it will just issue warnings
3509 # or remarks (even with -Werror). So we grep stderr for any message
3510 # that says an option was ignored or not supported.
3511 # When given -MP, icc 7.0 and 7.1 complain thusly:
3512 # icc: Command line warning: ignoring option '-M'; no argument required
3513 # The diagnosis changed in icc 8.0:
3514 # icc: Command line remark: option '-MP' not supported
3515 if (grep 'ignoring option' conftest.err ||
3516 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3517 am_cv_CC_dependencies_compiler_type
=$depmode
3526 am_cv_CC_dependencies_compiler_type
=none
3530 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3531 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3532 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3535 test "x$enable_dependency_tracking" != xno \
3536 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3538 am__fastdepCC_FALSE
='#'
3540 am__fastdepCC_TRUE
='#'
3541 am__fastdepCC_FALSE
=
3546 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
3547 $as_echo_n "checking for library containing strerror... " >&6; }
3548 if test "${ac_cv_search_strerror+set}" = set; then
3549 $as_echo_n "(cached) " >&6
3551 ac_func_search_save_LIBS
=$LIBS
3552 cat >conftest.
$ac_ext <<_ACEOF
3555 cat confdefs.h
>>conftest.
$ac_ext
3556 cat >>conftest.
$ac_ext <<_ACEOF
3557 /* end confdefs.h. */
3559 /* Override any GCC internal prototype to avoid an error.
3560 Use char because int might match the return type of a GCC
3561 builtin and then its argument prototype would still apply. */
3574 for ac_lib
in '' cposix
; do
3575 if test -z "$ac_lib"; then
3576 ac_res
="none required"
3579 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3581 rm -f conftest.
$ac_objext conftest
$ac_exeext
3582 if { (ac_try
="$ac_link"
3584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3585 *) ac_try_echo=$ac_try;;
3587 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3588 $as_echo "$ac_try_echo") >&5
3589 (eval "$ac_link") 2>conftest.er1
3591 grep -v '^ *+' conftest.er1 >conftest.err
3593 cat conftest.err >&5
3594 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); } && {
3596 test -z "$ac_c_werror_flag" ||
3597 test ! -s conftest.err
3598 } && test -s conftest$ac_exeext && {
3599 test "$cross_compiling" = yes ||
3600 $as_test_x conftest$ac_exeext
3602 ac_cv_search_strerror=$ac_res
3604 $as_echo "$as_me: failed program was:" >&5
3605 sed 's/^/| /' conftest.$ac_ext >&5
3610 rm -rf conftest.dSYM
3611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3613 if test "${ac_cv_search_strerror+set}" = set; then
3617 if test "${ac_cv_search_strerror+set}" = set; then
3620 ac_cv_search_strerror=no
3623 LIBS=$ac_func_search_save_LIBS
3625 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3626 $as_echo "$ac_cv_search_strerror" >&6; }
3627 ac_res=$ac_cv_search_strerror
3628 if test "$ac_res" != no; then
3629 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3634 ac_cpp='$CPP $CPPFLAGS'
3635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3638 if test -n "$ac_tool_prefix"; then
3639 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3640 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3641 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3642 $as_echo_n "checking for $ac_word... " >&6; }
3643 if test "${ac_cv_prog_CC+set}" = set; then
3644 $as_echo_n "(cached) " >&6
3646 if test -n "$CC"; then
3647 ac_cv_prog_CC="$CC" # Let the user override the test.
3649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3653 test -z "$as_dir" && as_dir=.
3654 for ac_exec_ext in '' $ac_executable_extensions; do
3655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3656 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3657 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3667 if test -n "$CC"; then
3668 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3669 $as_echo "$CC" >&6; }
3671 { $as_echo "$as_me:$LINENO: result: no" >&5
3672 $as_echo "no" >&6; }
3677 if test -z "$ac_cv_prog_CC"; then
3679 # Extract the first word of "gcc", so it can be a program name with args.
3680 set dummy gcc; ac_word=$2
3681 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3684 $as_echo_n "(cached) " >&6
3686 if test -n "$ac_ct_CC"; then
3687 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir=.
3694 for ac_exec_ext in '' $ac_executable_extensions; do
3695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3696 ac_cv_prog_ac_ct_CC="gcc"
3697 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3706 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3707 if test -n "$ac_ct_CC"; then
3708 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3709 $as_echo "$ac_ct_CC" >&6; }
3711 { $as_echo "$as_me:$LINENO: result: no" >&5
3712 $as_echo "no" >&6; }
3715 if test "x$ac_ct_CC" = x; then
3718 case $cross_compiling:$ac_tool_warned in
3720 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3722 ac_tool_warned=yes ;;
3730 if test -z "$CC"; then
3731 if test -n "$ac_tool_prefix"; then
3732 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3733 set dummy ${ac_tool_prefix}cc; ac_word=$2
3734 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if test "${ac_cv_prog_CC+set}" = set; then
3737 $as_echo_n "(cached) " >&6
3739 if test -n "$CC"; then
3740 ac_cv_prog_CC="$CC" # Let the user override the test.
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3749 ac_cv_prog_CC="${ac_tool_prefix}cc"
3750 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3760 if test -n "$CC"; then
3761 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3762 $as_echo "$CC" >&6; }
3764 { $as_echo "$as_me:$LINENO: result: no" >&5
3765 $as_echo "no" >&6; }
3771 if test -z "$CC"; then
3772 # Extract the first word of "cc", so it can be a program name with args.
3773 set dummy cc; ac_word=$2
3774 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3775 $as_echo_n "checking for $ac_word... " >&6; }
3776 if test "${ac_cv_prog_CC+set}" = set; then
3777 $as_echo_n "(cached) " >&6
3779 if test -n "$CC"; then
3780 ac_cv_prog_CC="$CC" # Let the user override the test.
3783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 test -z "$as_dir" && as_dir=.
3788 for ac_exec_ext in '' $ac_executable_extensions; do
3789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3790 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3791 ac_prog_rejected=yes
3795 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 if test $ac_prog_rejected = yes; then
3803 # We found a bogon in the path, so make sure we never use it.
3804 set dummy $ac_cv_prog_CC
3806 if test $# != 0; then
3807 # We chose a different compiler from the bogus one.
3808 # However, it has the same basename, so the bogon will be chosen
3809 # first if we set CC to just the basename; use the full file name.
3811 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3817 if test -n "$CC"; then
3818 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3819 $as_echo "$CC" >&6; }
3821 { $as_echo "$as_me:$LINENO: result: no" >&5
3822 $as_echo "no" >&6; }
3827 if test -z "$CC"; then
3828 if test -n "$ac_tool_prefix"; then
3829 for ac_prog in cl.exe
3831 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3832 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3833 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if test "${ac_cv_prog_CC+set}" = set; then
3836 $as_echo_n "(cached) " >&6
3838 if test -n "$CC"; then
3839 ac_cv_prog_CC="$CC" # Let the user override the test.
3841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3845 test -z "$as_dir" && as_dir=.
3846 for ac_exec_ext in '' $ac_executable_extensions; do
3847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3848 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3849 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 if test -n "$CC"; then
3860 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3861 $as_echo "$CC" >&6; }
3863 { $as_echo "$as_me:$LINENO: result: no" >&5
3864 $as_echo "no" >&6; }
3868 test -n "$CC" && break
3871 if test -z "$CC"; then
3873 for ac_prog in cl.exe
3875 # Extract the first word of "$ac_prog", so it can be a program name with args.
3876 set dummy $ac_prog; ac_word=$2
3877 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3878 $as_echo_n "checking for $ac_word... " >&6; }
3879 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3880 $as_echo_n "(cached) " >&6
3882 if test -n "$ac_ct_CC"; then
3883 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3889 test -z "$as_dir" && as_dir=.
3890 for ac_exec_ext in '' $ac_executable_extensions; do
3891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3892 ac_cv_prog_ac_ct_CC="$ac_prog"
3893 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3902 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3903 if test -n "$ac_ct_CC"; then
3904 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3905 $as_echo "$ac_ct_CC" >&6; }
3907 { $as_echo "$as_me:$LINENO: result: no" >&5
3908 $as_echo "no" >&6; }
3912 test -n "$ac_ct_CC" && break
3915 if test "x$ac_ct_CC" = x; then
3918 case $cross_compiling:$ac_tool_warned in
3920 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3922 ac_tool_warned=yes ;;
3931 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3933 { { $as_echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
3934 See \
`config.log' for more details." >&5
3935 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3936 See \`config.log
' for more details." >&2;}
3937 { (exit 1); exit 1; }; }; }
3939 # Provide some information about the compiler.
3940 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3943 { (ac_try="$ac_compiler --version >&5"
3945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3946 *) ac_try_echo=$ac_try;;
3948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3949 $as_echo "$ac_try_echo") >&5
3950 (eval "$ac_compiler --version >&5") 2>&5
3952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3953 (exit $ac_status); }
3954 { (ac_try="$ac_compiler -v >&5"
3956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3957 *) ac_try_echo=$ac_try;;
3959 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3960 $as_echo "$ac_try_echo") >&5
3961 (eval "$ac_compiler -v >&5") 2>&5
3963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); }
3965 { (ac_try="$ac_compiler -V >&5"
3967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3968 *) ac_try_echo=$ac_try;;
3970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3971 $as_echo "$ac_try_echo") >&5
3972 (eval "$ac_compiler -V >&5") 2>&5
3974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); }
3977 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3978 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3979 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3980 $as_echo_n "(cached) " >&6
3982 cat >conftest.$ac_ext <<_ACEOF
3985 cat confdefs.h >>conftest.$ac_ext
3986 cat >>conftest.$ac_ext <<_ACEOF
3987 /* end confdefs.h. */
4000 rm -f conftest.$ac_objext
4001 if { (ac_try="$ac_compile"
4003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004 *) ac_try_echo=$ac_try;;
4006 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4007 $as_echo "$ac_try_echo") >&5
4008 (eval "$ac_compile") 2>conftest.er1
4010 grep -v '^
*+' conftest.er1 >conftest.err
4012 cat conftest.err >&5
4013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); } && {
4015 test -z "$ac_c_werror_flag" ||
4016 test ! -s conftest.err
4017 } && test -s conftest.$ac_objext; then
4020 $as_echo "$as_me: failed program was:" >&5
4021 sed 's
/^
/|
/' conftest.$ac_ext >&5
4026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4027 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4030 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4031 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4032 if test $ac_compiler_gnu = yes; then
4037 ac_test_CFLAGS=${CFLAGS+set}
4038 ac_save_CFLAGS=$CFLAGS
4039 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4040 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4041 if test "${ac_cv_prog_cc_g+set}" = set; then
4042 $as_echo_n "(cached) " >&6
4044 ac_save_c_werror_flag=$ac_c_werror_flag
4045 ac_c_werror_flag=yes
4048 cat >conftest.$ac_ext <<_ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4063 rm -f conftest.$ac_objext
4064 if { (ac_try="$ac_compile"
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4070 $as_echo "$ac_try_echo") >&5
4071 (eval "$ac_compile") 2>conftest.er1
4073 grep -v '^
*+' conftest.er1 >conftest.err
4075 cat conftest.err >&5
4076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); } && {
4078 test -z "$ac_c_werror_flag" ||
4079 test ! -s conftest.err
4080 } && test -s conftest.$ac_objext; then
4083 $as_echo "$as_me: failed program was:" >&5
4084 sed 's
/^
/|
/' conftest.$ac_ext >&5
4087 cat >conftest.$ac_ext <<_ACEOF
4090 cat confdefs.h >>conftest.$ac_ext
4091 cat >>conftest.$ac_ext <<_ACEOF
4092 /* end confdefs.h. */
4102 rm -f conftest.$ac_objext
4103 if { (ac_try="$ac_compile"
4105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4106 *) ac_try_echo=$ac_try;;
4108 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4109 $as_echo "$ac_try_echo") >&5
4110 (eval "$ac_compile") 2>conftest.er1
4112 grep -v '^
*+' conftest.er1 >conftest.err
4114 cat conftest.err >&5
4115 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116 (exit $ac_status); } && {
4117 test -z "$ac_c_werror_flag" ||
4118 test ! -s conftest.err
4119 } && test -s conftest.$ac_objext; then
4122 $as_echo "$as_me: failed program was:" >&5
4123 sed 's
/^
/|
/' conftest.$ac_ext >&5
4125 ac_c_werror_flag=$ac_save_c_werror_flag
4127 cat >conftest.$ac_ext <<_ACEOF
4130 cat confdefs.h >>conftest.$ac_ext
4131 cat >>conftest.$ac_ext <<_ACEOF
4132 /* end confdefs.h. */
4142 rm -f conftest.$ac_objext
4143 if { (ac_try="$ac_compile"
4145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4146 *) ac_try_echo=$ac_try;;
4148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4149 $as_echo "$ac_try_echo") >&5
4150 (eval "$ac_compile") 2>conftest.er1
4152 grep -v '^
*+' conftest.er1 >conftest.err
4154 cat conftest.err >&5
4155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); } && {
4157 test -z "$ac_c_werror_flag" ||
4158 test ! -s conftest.err
4159 } && test -s conftest.$ac_objext; then
4162 $as_echo "$as_me: failed program was:" >&5
4163 sed 's
/^
/|
/' conftest.$ac_ext >&5
4168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175 ac_c_werror_flag=$ac_save_c_werror_flag
4177 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4178 $as_echo "$ac_cv_prog_cc_g" >&6; }
4179 if test "$ac_test_CFLAGS" = set; then
4180 CFLAGS=$ac_save_CFLAGS
4181 elif test $ac_cv_prog_cc_g = yes; then
4182 if test "$GCC" = yes; then
4188 if test "$GCC" = yes; then
4194 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4195 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4196 if test "${ac_cv_prog_cc_c89+set}" = set; then
4197 $as_echo_n "(cached) " >&6
4199 ac_cv_prog_cc_c89=no
4201 cat >conftest.$ac_ext <<_ACEOF
4204 cat confdefs.h >>conftest.$ac_ext
4205 cat >>conftest.$ac_ext <<_ACEOF
4206 /* end confdefs.h. */
4209 #include <sys/types.h>
4210 #include <sys/stat.h>
4211 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4212 struct buf
{ int x
; };
4213 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4214 static char
*e
(p
, i
)
4220 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4225 s
= g
(p
, va_arg
(v
,int
));
4230 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
4231 function prototypes and stuff
, but not
'\xHH' hex character constants.
4232 These don
't provoke an error unfortunately, instead are silently treated
4233 as 'x
'. The following induces an error, until -std is added to get
4234 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4235 array size at least. It's necessary to
write '\x00'==0 to get something
4236 that
's true only with -std. */
4237 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4239 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4240 inside strings and character constants. */
4242 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4244 int test (int i, double x);
4245 struct s1 {int (*f) (int a);};
4246 struct s2 {int (*f) (double a);};
4247 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4253 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4258 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4259 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4261 CC="$ac_save_CC $ac_arg"
4262 rm -f conftest.$ac_objext
4263 if { (ac_try="$ac_compile"
4265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4266 *) ac_try_echo=$ac_try;;
4268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4269 $as_echo "$ac_try_echo") >&5
4270 (eval "$ac_compile") 2>conftest.er1
4272 grep -v '^
*+' conftest.er1 >conftest.err
4274 cat conftest.err >&5
4275 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); } && {
4277 test -z "$ac_c_werror_flag" ||
4278 test ! -s conftest.err
4279 } && test -s conftest.$ac_objext; then
4280 ac_cv_prog_cc_c89=$ac_arg
4282 $as_echo "$as_me: failed program was:" >&5
4283 sed 's
/^
/|
/' conftest.$ac_ext >&5
4288 rm -f core conftest.err conftest.$ac_objext
4289 test "x$ac_cv_prog_cc_c89" != "xno" && break
4291 rm -f conftest.$ac_ext
4296 case "x$ac_cv_prog_cc_c89" in
4298 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4299 $as_echo "none needed" >&6; } ;;
4301 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4302 $as_echo "unsupported" >&6; } ;;
4304 CC="$CC $ac_cv_prog_cc_c89"
4305 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4306 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4311 ac_cpp='$CPP $CPPFLAGS'
4312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4313 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4316 depcc="$CC" am_compiler_list=
4318 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4319 $as_echo_n "checking dependency style of $depcc... " >&6; }
4320 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4321 $as_echo_n "(cached) " >&6
4323 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4324 # We make a subdir and do the tests there. Otherwise we can end up
4325 # making bogus files that we don't know about and never remove. For
4326 # instance it was reported that on HP-UX the gcc test will end up
4327 # making a dummy file named `D' -- because `-MD' means `put the output
4330 # Copy depcomp to subdir because otherwise we won't find it if we're
4331 # using a relative directory.
4332 cp "$am_depcomp" conftest.dir
4334 # We will build objects and dependencies in a subdirectory because
4335 # it helps to detect inapplicable dependency modes. For instance
4336 # both Tru64's cc and ICC support -MD to output dependencies as a
4337 # side effect of compilation, but ICC will put the dependencies in
4338 # the current directory while Tru64 will put them in the object
4342 am_cv_CC_dependencies_compiler_type
=none
4343 if test "$am_compiler_list" = ""; then
4344 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4346 for depmode
in $am_compiler_list; do
4347 # Setup a source with many dependencies, because some compilers
4348 # like to wrap large dependency lists on column 80 (with \), and
4349 # we should not choose a depcomp mode which is confused by this.
4351 # We need to recreate these files for each test, as the compiler may
4352 # overwrite some of them when testing with obscure command lines.
4353 # This happens at least with the AIX C compiler.
4355 for i
in 1 2 3 4 5 6; do
4356 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4357 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4358 # Solaris 8's {/usr,}/bin/sh.
4359 touch sub
/conftst
$i.h
4361 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4365 # after this tag, mechanisms are not by side-effect, so they'll
4366 # only be used when explicitly requested
4367 if test "x$enable_dependency_tracking" = xyes
; then
4375 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4376 # mode. It turns out that the SunPro C++ compiler does not properly
4377 # handle `-M -o', and we need to detect this.
4378 if depmode
=$depmode \
4379 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4380 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4381 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4382 >/dev
/null
2>conftest.err
&&
4383 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4384 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4385 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4386 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4387 # icc doesn't choke on unknown options, it will just issue warnings
4388 # or remarks (even with -Werror). So we grep stderr for any message
4389 # that says an option was ignored or not supported.
4390 # When given -MP, icc 7.0 and 7.1 complain thusly:
4391 # icc: Command line warning: ignoring option '-M'; no argument required
4392 # The diagnosis changed in icc 8.0:
4393 # icc: Command line remark: option '-MP' not supported
4394 if (grep 'ignoring option' conftest.err ||
4395 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4396 am_cv_CC_dependencies_compiler_type
=$depmode
4405 am_cv_CC_dependencies_compiler_type
=none
4409 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4410 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4411 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4414 test "x$enable_dependency_tracking" != xno \
4415 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4417 am__fastdepCC_FALSE
='#'
4419 am__fastdepCC_TRUE
='#'
4420 am__fastdepCC_FALSE
=
4425 ac_cpp
='$CPP $CPPFLAGS'
4426 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4427 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4428 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4429 if test -n "$ac_tool_prefix"; then
4430 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4431 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4432 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if test "${ac_cv_prog_CC+set}" = set; then
4435 $as_echo_n "(cached) " >&6
4437 if test -n "$CC"; then
4438 ac_cv_prog_CC
="$CC" # Let the user override the test.
4440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4444 test -z "$as_dir" && as_dir
=.
4445 for ac_exec_ext
in '' $ac_executable_extensions; do
4446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4447 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4448 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4458 if test -n "$CC"; then
4459 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4460 $as_echo "$CC" >&6; }
4462 { $as_echo "$as_me:$LINENO: result: no" >&5
4463 $as_echo "no" >&6; }
4468 if test -z "$ac_cv_prog_CC"; then
4470 # Extract the first word of "gcc", so it can be a program name with args.
4471 set dummy gcc
; ac_word
=$2
4472 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; }
4474 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4475 $as_echo_n "(cached) " >&6
4477 if test -n "$ac_ct_CC"; then
4478 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4484 test -z "$as_dir" && as_dir
=.
4485 for ac_exec_ext
in '' $ac_executable_extensions; do
4486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4487 ac_cv_prog_ac_ct_CC
="gcc"
4488 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4498 if test -n "$ac_ct_CC"; then
4499 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4500 $as_echo "$ac_ct_CC" >&6; }
4502 { $as_echo "$as_me:$LINENO: result: no" >&5
4503 $as_echo "no" >&6; }
4506 if test "x$ac_ct_CC" = x
; then
4509 case $cross_compiling:$ac_tool_warned in
4511 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4513 ac_tool_warned
=yes ;;
4521 if test -z "$CC"; then
4522 if test -n "$ac_tool_prefix"; then
4523 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4524 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4525 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4526 $as_echo_n "checking for $ac_word... " >&6; }
4527 if test "${ac_cv_prog_CC+set}" = set; then
4528 $as_echo_n "(cached) " >&6
4530 if test -n "$CC"; then
4531 ac_cv_prog_CC
="$CC" # Let the user override the test.
4533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4537 test -z "$as_dir" && as_dir
=.
4538 for ac_exec_ext
in '' $ac_executable_extensions; do
4539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4540 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4541 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4551 if test -n "$CC"; then
4552 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4553 $as_echo "$CC" >&6; }
4555 { $as_echo "$as_me:$LINENO: result: no" >&5
4556 $as_echo "no" >&6; }
4562 if test -z "$CC"; then
4563 # Extract the first word of "cc", so it can be a program name with args.
4564 set dummy cc
; ac_word
=$2
4565 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4566 $as_echo_n "checking for $ac_word... " >&6; }
4567 if test "${ac_cv_prog_CC+set}" = set; then
4568 $as_echo_n "(cached) " >&6
4570 if test -n "$CC"; then
4571 ac_cv_prog_CC
="$CC" # Let the user override the test.
4574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4578 test -z "$as_dir" && as_dir
=.
4579 for ac_exec_ext
in '' $ac_executable_extensions; do
4580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4581 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4582 ac_prog_rejected
=yes
4586 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4593 if test $ac_prog_rejected = yes; then
4594 # We found a bogon in the path, so make sure we never use it.
4595 set dummy
$ac_cv_prog_CC
4597 if test $# != 0; then
4598 # We chose a different compiler from the bogus one.
4599 # However, it has the same basename, so the bogon will be chosen
4600 # first if we set CC to just the basename; use the full file name.
4602 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4608 if test -n "$CC"; then
4609 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4610 $as_echo "$CC" >&6; }
4612 { $as_echo "$as_me:$LINENO: result: no" >&5
4613 $as_echo "no" >&6; }
4618 if test -z "$CC"; then
4619 if test -n "$ac_tool_prefix"; then
4620 for ac_prog
in cl.exe
4622 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4623 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4624 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4625 $as_echo_n "checking for $ac_word... " >&6; }
4626 if test "${ac_cv_prog_CC+set}" = set; then
4627 $as_echo_n "(cached) " >&6
4629 if test -n "$CC"; then
4630 ac_cv_prog_CC
="$CC" # Let the user override the test.
4632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4636 test -z "$as_dir" && as_dir
=.
4637 for ac_exec_ext
in '' $ac_executable_extensions; do
4638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4639 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4640 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4650 if test -n "$CC"; then
4651 { $as_echo "$as_me:$LINENO: result: $CC" >&5
4652 $as_echo "$CC" >&6; }
4654 { $as_echo "$as_me:$LINENO: result: no" >&5
4655 $as_echo "no" >&6; }
4659 test -n "$CC" && break
4662 if test -z "$CC"; then
4664 for ac_prog
in cl.exe
4666 # Extract the first word of "$ac_prog", so it can be a program name with args.
4667 set dummy
$ac_prog; ac_word
=$2
4668 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4669 $as_echo_n "checking for $ac_word... " >&6; }
4670 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4671 $as_echo_n "(cached) " >&6
4673 if test -n "$ac_ct_CC"; then
4674 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4680 test -z "$as_dir" && as_dir
=.
4681 for ac_exec_ext
in '' $ac_executable_extensions; do
4682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4683 ac_cv_prog_ac_ct_CC
="$ac_prog"
4684 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4693 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4694 if test -n "$ac_ct_CC"; then
4695 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4696 $as_echo "$ac_ct_CC" >&6; }
4698 { $as_echo "$as_me:$LINENO: result: no" >&5
4699 $as_echo "no" >&6; }
4703 test -n "$ac_ct_CC" && break
4706 if test "x$ac_ct_CC" = x
; then
4709 case $cross_compiling:$ac_tool_warned in
4711 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4713 ac_tool_warned
=yes ;;
4722 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4723 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4724 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4725 See \`config.log' for more details." >&5
4726 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4727 See \`config.log' for more details." >&2;}
4728 { (exit 1); exit 1; }; }; }
4730 # Provide some information about the compiler.
4731 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4734 { (ac_try
="$ac_compiler --version >&5"
4736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4737 *) ac_try_echo=$ac_try;;
4739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4740 $as_echo "$ac_try_echo") >&5
4741 (eval "$ac_compiler --version >&5") 2>&5
4743 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); }
4745 { (ac_try="$ac_compiler -v >&5"
4747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4748 *) ac_try_echo
=$ac_try;;
4750 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4751 $as_echo "$ac_try_echo") >&5
4752 (eval "$ac_compiler -v >&5") 2>&5
4754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); }
4756 { (ac_try
="$ac_compiler -V >&5"
4758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4759 *) ac_try_echo=$ac_try;;
4761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4762 $as_echo "$ac_try_echo") >&5
4763 (eval "$ac_compiler -V >&5") 2>&5
4765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); }
4768 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4769 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4770 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4771 $as_echo_n "(cached) " >&6
4773 cat >conftest.$ac_ext <<_ACEOF
4776 cat confdefs.h >>conftest.$ac_ext
4777 cat >>conftest.$ac_ext <<_ACEOF
4778 /* end confdefs.h. */
4791 rm -f conftest.$ac_objext
4792 if { (ac_try="$ac_compile"
4794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4795 *) ac_try_echo
=$ac_try;;
4797 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4798 $as_echo "$ac_try_echo") >&5
4799 (eval "$ac_compile") 2>conftest.er1
4801 grep -v '^ *+' conftest.er1
>conftest.err
4803 cat conftest.err
>&5
4804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); } && {
4806 test -z "$ac_c_werror_flag" ||
4807 test ! -s conftest.err
4808 } && test -s conftest.
$ac_objext; then
4811 $as_echo "$as_me: failed program was:" >&5
4812 sed 's/^/| /' conftest.
$ac_ext >&5
4817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4818 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4821 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4822 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4823 if test $ac_compiler_gnu = yes; then
4828 ac_test_CFLAGS
=${CFLAGS+set}
4829 ac_save_CFLAGS
=$CFLAGS
4830 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4831 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4832 if test "${ac_cv_prog_cc_g+set}" = set; then
4833 $as_echo_n "(cached) " >&6
4835 ac_save_c_werror_flag
=$ac_c_werror_flag
4836 ac_c_werror_flag
=yes
4839 cat >conftest.
$ac_ext <<_ACEOF
4842 cat confdefs.h
>>conftest.
$ac_ext
4843 cat >>conftest.
$ac_ext <<_ACEOF
4844 /* end confdefs.h. */
4854 rm -f conftest.
$ac_objext
4855 if { (ac_try
="$ac_compile"
4857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4858 *) ac_try_echo=$ac_try;;
4860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4861 $as_echo "$ac_try_echo") >&5
4862 (eval "$ac_compile") 2>conftest.er1
4864 grep -v '^ *+' conftest.er1 >conftest.err
4866 cat conftest.err >&5
4867 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); } && {
4869 test -z "$ac_c_werror_flag" ||
4870 test ! -s conftest.err
4871 } && test -s conftest.$ac_objext; then
4874 $as_echo "$as_me: failed program was:" >&5
4875 sed 's/^/| /' conftest.$ac_ext >&5
4878 cat >conftest.$ac_ext <<_ACEOF
4881 cat confdefs.h >>conftest.$ac_ext
4882 cat >>conftest.$ac_ext <<_ACEOF
4883 /* end confdefs.h. */
4893 rm -f conftest.$ac_objext
4894 if { (ac_try="$ac_compile"
4896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4897 *) ac_try_echo
=$ac_try;;
4899 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4900 $as_echo "$ac_try_echo") >&5
4901 (eval "$ac_compile") 2>conftest.er1
4903 grep -v '^ *+' conftest.er1
>conftest.err
4905 cat conftest.err
>&5
4906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907 (exit $ac_status); } && {
4908 test -z "$ac_c_werror_flag" ||
4909 test ! -s conftest.err
4910 } && test -s conftest.
$ac_objext; then
4913 $as_echo "$as_me: failed program was:" >&5
4914 sed 's/^/| /' conftest.
$ac_ext >&5
4916 ac_c_werror_flag
=$ac_save_c_werror_flag
4918 cat >conftest.
$ac_ext <<_ACEOF
4921 cat confdefs.h
>>conftest.
$ac_ext
4922 cat >>conftest.
$ac_ext <<_ACEOF
4923 /* end confdefs.h. */
4933 rm -f conftest.
$ac_objext
4934 if { (ac_try
="$ac_compile"
4936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4937 *) ac_try_echo=$ac_try;;
4939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4940 $as_echo "$ac_try_echo") >&5
4941 (eval "$ac_compile") 2>conftest.er1
4943 grep -v '^ *+' conftest.er1 >conftest.err
4945 cat conftest.err >&5
4946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); } && {
4948 test -z "$ac_c_werror_flag" ||
4949 test ! -s conftest.err
4950 } && test -s conftest.$ac_objext; then
4953 $as_echo "$as_me: failed program was:" >&5
4954 sed 's/^/| /' conftest.$ac_ext >&5
4959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4966 ac_c_werror_flag=$ac_save_c_werror_flag
4968 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4969 $as_echo "$ac_cv_prog_cc_g" >&6; }
4970 if test "$ac_test_CFLAGS" = set; then
4971 CFLAGS=$ac_save_CFLAGS
4972 elif test $ac_cv_prog_cc_g = yes; then
4973 if test "$GCC" = yes; then
4979 if test "$GCC" = yes; then
4985 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4986 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4987 if test "${ac_cv_prog_cc_c89+set}" = set; then
4988 $as_echo_n "(cached) " >&6
4990 ac_cv_prog_cc_c89=no
4992 cat >conftest.$ac_ext <<_ACEOF
4995 cat confdefs.h >>conftest.$ac_ext
4996 cat >>conftest.$ac_ext <<_ACEOF
4997 /* end confdefs.h. */
5000 #include <sys/types.h>
5001 #include <sys/stat.h>
5002 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5003 struct buf { int x; };
5004 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5005 static char *e (p, i)
5011 static char *f (char * (*g) (char **, int), char **p, ...)
5016 s = g (p, va_arg (v,int));
5021 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5022 function prototypes and stuff, but not '\xHH' hex character constants.
5023 These don't provoke an error unfortunately, instead are silently treated
5024 as 'x'. The following induces an error, until -std is added to get
5025 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5026 array size at least. It's necessary to write '\x00'==0 to get something
5027 that's true only with -std. */
5028 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5030 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5031 inside strings and character constants. */
5033 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5035 int test (int i, double x);
5036 struct s1 {int (*f) (int a);};
5037 struct s2 {int (*f) (double a);};
5038 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5044 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5049 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5050 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5052 CC="$ac_save_CC $ac_arg"
5053 rm -f conftest.$ac_objext
5054 if { (ac_try="$ac_compile"
5056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5057 *) ac_try_echo
=$ac_try;;
5059 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5060 $as_echo "$ac_try_echo") >&5
5061 (eval "$ac_compile") 2>conftest.er1
5063 grep -v '^ *+' conftest.er1
>conftest.err
5065 cat conftest.err
>&5
5066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067 (exit $ac_status); } && {
5068 test -z "$ac_c_werror_flag" ||
5069 test ! -s conftest.err
5070 } && test -s conftest.
$ac_objext; then
5071 ac_cv_prog_cc_c89
=$ac_arg
5073 $as_echo "$as_me: failed program was:" >&5
5074 sed 's/^/| /' conftest.
$ac_ext >&5
5079 rm -f core conftest.err conftest.
$ac_objext
5080 test "x$ac_cv_prog_cc_c89" != "xno" && break
5082 rm -f conftest.
$ac_ext
5087 case "x$ac_cv_prog_cc_c89" in
5089 { $as_echo "$as_me:$LINENO: result: none needed" >&5
5090 $as_echo "none needed" >&6; } ;;
5092 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
5093 $as_echo "unsupported" >&6; } ;;
5095 CC
="$CC $ac_cv_prog_cc_c89"
5096 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5097 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5102 ac_cpp
='$CPP $CPPFLAGS'
5103 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5104 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5105 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5107 depcc
="$CC" am_compiler_list
=
5109 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5110 $as_echo_n "checking dependency style of $depcc... " >&6; }
5111 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5112 $as_echo_n "(cached) " >&6
5114 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5115 # We make a subdir and do the tests there. Otherwise we can end up
5116 # making bogus files that we don't know about and never remove. For
5117 # instance it was reported that on HP-UX the gcc test will end up
5118 # making a dummy file named `D' -- because `-MD' means `put the output
5121 # Copy depcomp to subdir because otherwise we won't find it if we're
5122 # using a relative directory.
5123 cp "$am_depcomp" conftest.dir
5125 # We will build objects and dependencies in a subdirectory because
5126 # it helps to detect inapplicable dependency modes. For instance
5127 # both Tru64's cc and ICC support -MD to output dependencies as a
5128 # side effect of compilation, but ICC will put the dependencies in
5129 # the current directory while Tru64 will put them in the object
5133 am_cv_CC_dependencies_compiler_type
=none
5134 if test "$am_compiler_list" = ""; then
5135 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5137 for depmode
in $am_compiler_list; do
5138 # Setup a source with many dependencies, because some compilers
5139 # like to wrap large dependency lists on column 80 (with \), and
5140 # we should not choose a depcomp mode which is confused by this.
5142 # We need to recreate these files for each test, as the compiler may
5143 # overwrite some of them when testing with obscure command lines.
5144 # This happens at least with the AIX C compiler.
5146 for i
in 1 2 3 4 5 6; do
5147 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5148 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5149 # Solaris 8's {/usr,}/bin/sh.
5150 touch sub
/conftst
$i.h
5152 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5156 # after this tag, mechanisms are not by side-effect, so they'll
5157 # only be used when explicitly requested
5158 if test "x$enable_dependency_tracking" = xyes
; then
5166 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5167 # mode. It turns out that the SunPro C++ compiler does not properly
5168 # handle `-M -o', and we need to detect this.
5169 if depmode
=$depmode \
5170 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5171 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5172 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5173 >/dev
/null
2>conftest.err
&&
5174 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5175 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5176 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5177 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5178 # icc doesn't choke on unknown options, it will just issue warnings
5179 # or remarks (even with -Werror). So we grep stderr for any message
5180 # that says an option was ignored or not supported.
5181 # When given -MP, icc 7.0 and 7.1 complain thusly:
5182 # icc: Command line warning: ignoring option '-M'; no argument required
5183 # The diagnosis changed in icc 8.0:
5184 # icc: Command line remark: option '-MP' not supported
5185 if (grep 'ignoring option' conftest.err ||
5186 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5187 am_cv_CC_dependencies_compiler_type
=$depmode
5196 am_cv_CC_dependencies_compiler_type
=none
5200 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5201 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5202 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5205 test "x$enable_dependency_tracking" != xno \
5206 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5208 am__fastdepCC_FALSE
='#'
5210 am__fastdepCC_TRUE
='#'
5211 am__fastdepCC_FALSE
=
5216 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
5219 ac_cpp
='$CPP $CPPFLAGS'
5220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5223 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5224 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5225 # On Suns, sometimes $CPP names a directory.
5226 if test -n "$CPP" && test -d "$CPP"; then
5229 if test -z "$CPP"; then
5230 if test "${ac_cv_prog_CPP+set}" = set; then
5231 $as_echo_n "(cached) " >&6
5233 # Double quotes because CPP needs to be expanded
5234 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5237 for ac_c_preproc_warn_flag
in '' yes
5239 # Use a header file that comes with gcc, so configuring glibc
5240 # with a fresh cross-compiler works.
5241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5242 # <limits.h> exists even on freestanding compilers.
5243 # On the NeXT, cc -E runs the code through the compiler's parser,
5244 # not just through cpp. "Syntax error" is here to catch this case.
5245 cat >conftest.
$ac_ext <<_ACEOF
5248 cat confdefs.h
>>conftest.
$ac_ext
5249 cat >>conftest.
$ac_ext <<_ACEOF
5250 /* end confdefs.h. */
5252 # include <limits.h>
5254 # include <assert.h>
5258 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5261 *) ac_try_echo=$ac_try;;
5263 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5264 $as_echo "$ac_try_echo") >&5
5265 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5267 grep -v '^ *+' conftest.er1 >conftest.err
5269 cat conftest.err >&5
5270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); } >/dev/null && {
5272 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5273 test ! -s conftest.err
5277 $as_echo "$as_me: failed program was:" >&5
5278 sed 's/^/| /' conftest.$ac_ext >&5
5280 # Broken: fails on valid input.
5284 rm -f conftest.err conftest.$ac_ext
5286 # OK, works on sane cases. Now check whether nonexistent headers
5287 # can be detected and how.
5288 cat >conftest.$ac_ext <<_ACEOF
5291 cat confdefs.h >>conftest.$ac_ext
5292 cat >>conftest.$ac_ext <<_ACEOF
5293 /* end confdefs.h. */
5294 #include <ac_nonexistent.h>
5296 if { (ac_try="$ac_cpp conftest.$ac_ext"
5298 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5299 *) ac_try_echo
=$ac_try;;
5301 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5302 $as_echo "$ac_try_echo") >&5
5303 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5305 grep -v '^ *+' conftest.er1
>conftest.err
5307 cat conftest.err
>&5
5308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); } >/dev
/null
&& {
5310 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5311 test ! -s conftest.err
5313 # Broken: success on invalid input.
5316 $as_echo "$as_me: failed program was:" >&5
5317 sed 's/^/| /' conftest.
$ac_ext >&5
5319 # Passes both tests.
5324 rm -f conftest.err conftest.
$ac_ext
5327 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5328 rm -f conftest.err conftest.
$ac_ext
5329 if $ac_preproc_ok; then
5341 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5342 $as_echo "$CPP" >&6; }
5344 for ac_c_preproc_warn_flag
in '' yes
5346 # Use a header file that comes with gcc, so configuring glibc
5347 # with a fresh cross-compiler works.
5348 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5349 # <limits.h> exists even on freestanding compilers.
5350 # On the NeXT, cc -E runs the code through the compiler's parser,
5351 # not just through cpp. "Syntax error" is here to catch this case.
5352 cat >conftest.
$ac_ext <<_ACEOF
5355 cat confdefs.h
>>conftest.
$ac_ext
5356 cat >>conftest.
$ac_ext <<_ACEOF
5357 /* end confdefs.h. */
5359 # include <limits.h>
5361 # include <assert.h>
5365 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5367 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5368 *) ac_try_echo=$ac_try;;
5370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5371 $as_echo "$ac_try_echo") >&5
5372 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5374 grep -v '^ *+' conftest.er1 >conftest.err
5376 cat conftest.err >&5
5377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } >/dev/null && {
5379 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5380 test ! -s conftest.err
5384 $as_echo "$as_me: failed program was:" >&5
5385 sed 's/^/| /' conftest.$ac_ext >&5
5387 # Broken: fails on valid input.
5391 rm -f conftest.err conftest.$ac_ext
5393 # OK, works on sane cases. Now check whether nonexistent headers
5394 # can be detected and how.
5395 cat >conftest.$ac_ext <<_ACEOF
5398 cat confdefs.h >>conftest.$ac_ext
5399 cat >>conftest.$ac_ext <<_ACEOF
5400 /* end confdefs.h. */
5401 #include <ac_nonexistent.h>
5403 if { (ac_try="$ac_cpp conftest.$ac_ext"
5405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5406 *) ac_try_echo
=$ac_try;;
5408 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5409 $as_echo "$ac_try_echo") >&5
5410 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5412 grep -v '^ *+' conftest.er1
>conftest.err
5414 cat conftest.err
>&5
5415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); } >/dev
/null
&& {
5417 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5418 test ! -s conftest.err
5420 # Broken: success on invalid input.
5423 $as_echo "$as_me: failed program was:" >&5
5424 sed 's/^/| /' conftest.
$ac_ext >&5
5426 # Passes both tests.
5431 rm -f conftest.err conftest.
$ac_ext
5434 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5435 rm -f conftest.err conftest.
$ac_ext
5436 if $ac_preproc_ok; then
5439 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5441 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5442 See \`config.log' for more details." >&5
5443 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5444 See \`config.log' for more details." >&2;}
5445 { (exit 1); exit 1; }; }; }
5449 ac_cpp
='$CPP $CPPFLAGS'
5450 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5451 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5452 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5455 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5456 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5457 if test "${ac_cv_path_GREP+set}" = set; then
5458 $as_echo_n "(cached) " >&6
5460 if test -z "$GREP"; then
5461 ac_path_GREP_found
=false
5462 # Loop through the user's path and test for each of PROGNAME-LIST
5463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5464 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5467 test -z "$as_dir" && as_dir
=.
5468 for ac_prog
in grep ggrep
; do
5469 for ac_exec_ext
in '' $ac_executable_extensions; do
5470 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5471 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5472 # Check for GNU ac_path_GREP and select it if it is found.
5473 # Check for GNU $ac_path_GREP
5474 case `"$ac_path_GREP" --version 2>&1` in
5476 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5479 $as_echo_n 0123456789 >"conftest.in"
5482 cat "conftest.in" "conftest.in" >"conftest.tmp"
5483 mv "conftest.tmp" "conftest.in"
5484 cp "conftest.in" "conftest.nl"
5485 $as_echo 'GREP' >> "conftest.nl"
5486 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5487 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5488 ac_count
=`expr $ac_count + 1`
5489 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5490 # Best one so far, save it but keep looking for a better one
5491 ac_cv_path_GREP
="$ac_path_GREP"
5492 ac_path_GREP_max
=$ac_count
5494 # 10*(2^10) chars as input seems more than enough
5495 test $ac_count -gt 10 && break
5497 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5500 $ac_path_GREP_found && break 3
5505 if test -z "$ac_cv_path_GREP"; then
5506 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5507 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5508 { (exit 1); exit 1; }; }
5511 ac_cv_path_GREP
=$GREP
5515 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5516 $as_echo "$ac_cv_path_GREP" >&6; }
5517 GREP
="$ac_cv_path_GREP"
5520 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5521 $as_echo_n "checking for egrep... " >&6; }
5522 if test "${ac_cv_path_EGREP+set}" = set; then
5523 $as_echo_n "(cached) " >&6
5525 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5526 then ac_cv_path_EGREP
="$GREP -E"
5528 if test -z "$EGREP"; then
5529 ac_path_EGREP_found
=false
5530 # Loop through the user's path and test for each of PROGNAME-LIST
5531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5532 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5535 test -z "$as_dir" && as_dir
=.
5536 for ac_prog
in egrep; do
5537 for ac_exec_ext
in '' $ac_executable_extensions; do
5538 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5539 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5540 # Check for GNU ac_path_EGREP and select it if it is found.
5541 # Check for GNU $ac_path_EGREP
5542 case `"$ac_path_EGREP" --version 2>&1` in
5544 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5547 $as_echo_n 0123456789 >"conftest.in"
5550 cat "conftest.in" "conftest.in" >"conftest.tmp"
5551 mv "conftest.tmp" "conftest.in"
5552 cp "conftest.in" "conftest.nl"
5553 $as_echo 'EGREP' >> "conftest.nl"
5554 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5555 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5556 ac_count
=`expr $ac_count + 1`
5557 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5558 # Best one so far, save it but keep looking for a better one
5559 ac_cv_path_EGREP
="$ac_path_EGREP"
5560 ac_path_EGREP_max
=$ac_count
5562 # 10*(2^10) chars as input seems more than enough
5563 test $ac_count -gt 10 && break
5565 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5568 $ac_path_EGREP_found && break 3
5573 if test -z "$ac_cv_path_EGREP"; then
5574 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5575 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5576 { (exit 1); exit 1; }; }
5579 ac_cv_path_EGREP
=$EGREP
5584 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5585 $as_echo "$ac_cv_path_EGREP" >&6; }
5586 EGREP
="$ac_cv_path_EGREP"
5589 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5590 $as_echo_n "checking for ANSI C header files... " >&6; }
5591 if test "${ac_cv_header_stdc+set}" = set; then
5592 $as_echo_n "(cached) " >&6
5594 cat >conftest.
$ac_ext <<_ACEOF
5597 cat confdefs.h
>>conftest.
$ac_ext
5598 cat >>conftest.
$ac_ext <<_ACEOF
5599 /* end confdefs.h. */
5613 rm -f conftest.
$ac_objext
5614 if { (ac_try
="$ac_compile"
5616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5617 *) ac_try_echo=$ac_try;;
5619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5620 $as_echo "$ac_try_echo") >&5
5621 (eval "$ac_compile") 2>conftest.er1
5623 grep -v '^ *+' conftest.er1 >conftest.err
5625 cat conftest.err >&5
5626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); } && {
5628 test -z "$ac_c_werror_flag" ||
5629 test ! -s conftest.err
5630 } && test -s conftest.$ac_objext; then
5631 ac_cv_header_stdc=yes
5633 $as_echo "$as_me: failed program was:" >&5
5634 sed 's/^/| /' conftest.$ac_ext >&5
5636 ac_cv_header_stdc=no
5639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5641 if test $ac_cv_header_stdc = yes; then
5642 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5643 cat >conftest.$ac_ext <<_ACEOF
5646 cat confdefs.h >>conftest.$ac_ext
5647 cat >>conftest.$ac_ext <<_ACEOF
5648 /* end confdefs.h. */
5652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5653 $EGREP "memchr" >/dev/null 2>&1; then
5656 ac_cv_header_stdc=no
5662 if test $ac_cv_header_stdc = yes; then
5663 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5664 cat >conftest.$ac_ext <<_ACEOF
5667 cat confdefs.h >>conftest.$ac_ext
5668 cat >>conftest.$ac_ext <<_ACEOF
5669 /* end confdefs.h. */
5673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5674 $EGREP "free" >/dev/null 2>&1; then
5677 ac_cv_header_stdc=no
5683 if test $ac_cv_header_stdc = yes; then
5684 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5685 if test "$cross_compiling" = yes; then
5688 cat >conftest.$ac_ext <<_ACEOF
5691 cat confdefs.h >>conftest.$ac_ext
5692 cat >>conftest.$ac_ext <<_ACEOF
5693 /* end confdefs.h. */
5696 #if ((' ' & 0x0FF) == 0x020)
5697 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5698 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5700 # define ISLOWER(c) \
5701 (('a' <= (c) && (c) <= 'i') \
5702 || ('j' <= (c) && (c) <= 'r') \
5703 || ('s' <= (c) && (c) <= 'z'))
5704 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5707 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5712 for (i = 0; i < 256; i++)
5713 if (XOR (islower (i), ISLOWER (i))
5714 || toupper (i) != TOUPPER (i))
5719 rm -f conftest$ac_exeext
5720 if { (ac_try="$ac_link"
5722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5723 *) ac_try_echo
=$ac_try;;
5725 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5726 $as_echo "$ac_try_echo") >&5
5727 (eval "$ac_link") 2>&5
5729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5731 { (case "(($ac_try" in
5732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5733 *) ac_try_echo=$ac_try;;
5735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5736 $as_echo "$ac_try_echo") >&5
5737 (eval "$ac_try") 2>&5
5739 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740 (exit $ac_status); }; }; then
5743 $as_echo "$as_me: program exited with status $ac_status" >&5
5744 $as_echo "$as_me: failed program was:" >&5
5745 sed 's/^/| /' conftest.$ac_ext >&5
5748 ac_cv_header_stdc=no
5750 rm -rf conftest.dSYM
5751 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5757 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5758 $as_echo "$ac_cv_header_stdc" >&6; }
5759 if test $ac_cv_header_stdc = yes; then
5761 cat >>confdefs.h <<\_ACEOF
5762 #define STDC_HEADERS 1
5769 # ============ Switched off:
5775 GNOME_COMPILE_WARNINGS
5778 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5779 if test -n "$ac_tool_prefix"; then
5780 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5781 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5782 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5783 $as_echo_n "checking for $ac_word... " >&6; }
5784 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5785 $as_echo_n "(cached) " >&6
5789 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5796 test -z "$as_dir" && as_dir=.
5797 for ac_exec_ext in '' $ac_executable_extensions; do
5798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5799 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5800 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5810 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5811 if test -n "$PKG_CONFIG"; then
5812 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5813 $as_echo "$PKG_CONFIG" >&6; }
5815 { $as_echo "$as_me:$LINENO: result: no" >&5
5816 $as_echo "no" >&6; }
5821 if test -z "$ac_cv_path_PKG_CONFIG"; then
5822 ac_pt_PKG_CONFIG=$PKG_CONFIG
5823 # Extract the first word of "pkg-config", so it can be a program name with args.
5824 set dummy pkg-config; ac_word=$2
5825 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5826 $as_echo_n "checking for $ac_word... " >&6; }
5827 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5828 $as_echo_n "(cached) " >&6
5830 case $ac_pt_PKG_CONFIG in
5832 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839 test -z "$as_dir" && as_dir=.
5840 for ac_exec_ext in '' $ac_executable_extensions; do
5841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5842 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5843 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5854 if test -n "$ac_pt_PKG_CONFIG"; then
5855 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5856 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5858 { $as_echo "$as_me:$LINENO: result: no" >&5
5859 $as_echo "no" >&6; }
5862 if test "x$ac_pt_PKG_CONFIG" = x; then
5865 case $cross_compiling:$ac_tool_warned in
5867 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5869 ac_tool_warned=yes ;;
5871 PKG_CONFIG=$ac_pt_PKG_CONFIG
5874 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5878 if test -n "$PKG_CONFIG"; then
5879 _pkg_min_version=0.9.0
5880 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5881 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5882 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5883 { $as_echo "$as_me:$LINENO: result: yes" >&5
5884 $as_echo "yes" >&6; }
5886 { $as_echo "$as_me:$LINENO: result: no" >&5
5887 $as_echo "no" >&6; }
5894 { $as_echo "$as_me:$LINENO: checking for GPIV_UI" >&5
5895 $as_echo_n "checking for GPIV_UI... " >&6; }
5897 if test -n "$PKG_CONFIG"; then
5898 if test -n "$GPIV_UI_CFLAGS"; then
5899 pkg_cv_GPIV_UI_CFLAGS="$GPIV_UI_CFLAGS"
5901 if test -n "$PKG_CONFIG" && \
5902 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0\"") >&5
5903 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0") 2>&5
5905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); }; then
5907 pkg_cv_GPIV_UI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0" 2>/dev
/null
`
5915 if test -n "$PKG_CONFIG"; then
5916 if test -n "$GPIV_UI_LIBS"; then
5917 pkg_cv_GPIV_UI_LIBS="$GPIV_UI_LIBS"
5919 if test -n "$PKG_CONFIG" && \
5920 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0\"") >&5
5921 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0") 2>&5
5923 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5924 (exit $ac_status); }; then
5925 pkg_cv_GPIV_UI_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0" 2>/dev
/null
`
5936 if test $pkg_failed = yes; then
5938 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5939 _pkg_short_errors_supported=yes
5941 _pkg_short_errors_supported=no
5943 if test $_pkg_short_errors_supported = yes; then
5944 GPIV_UI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0"`
5946 GPIV_UI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0"`
5948 # Put the nasty error message in config.log where it belongs
5949 echo "$GPIV_UI_PKG_ERRORS" >&5
5951 { { $as_echo "$as_me:$LINENO: error: Package requirements (libgnomeui-2.0) were not met:
5955 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5956 installed software in a non-standard prefix.
5958 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5959 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5960 See the pkg-config man page for more details.
5962 $as_echo "$as_me: error: Package requirements (libgnomeui-2.0) were not met:
5966 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5967 installed software in a non-standard prefix.
5969 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5970 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5971 See the pkg-config man page for more details.
5973 { (exit 1); exit 1; }; }
5974 elif test $pkg_failed = untried; then
5975 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5977 { { $as_echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
5978 is
in your PATH or
set the PKG_CONFIG environment variable to the full
5981 Alternatively
, you may
set the environment variables GPIV_UI_CFLAGS
5982 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5983 See the pkg-config man page
for more details.
5985 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
5986 See \
`config.log' for more details." >&5
5987 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5988 is in your PATH or set the PKG_CONFIG environment variable to the full
5991 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5992 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5993 See the pkg-config man page for more details.
5995 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5996 See \`config.log
' for more details." >&2;}
5997 { (exit 1); exit 1; }; }; }
5999 GPIV_UI_CFLAGS=$pkg_cv_GPIV_UI_CFLAGS
6000 GPIV_UI_LIBS=$pkg_cv_GPIV_UI_LIBS
6001 { $as_echo "$as_me:$LINENO: result: yes" >&5
6002 $as_echo "yes" >&6; }
6005 GPIV_GNOME_LIBS="libgnomeui-2.0"
6006 echo "configuring with libraries: " $gpiv_gnome_libs
6009 { $as_echo "$as_me:$LINENO: checking for GPIV" >&5
6010 $as_echo_n "checking for GPIV... " >&6; }
6012 if test -n "$PKG_CONFIG"; then
6013 if test -n "$GPIV_CFLAGS"; then
6014 pkg_cv_GPIV_CFLAGS="$GPIV_CFLAGS"
6016 if test -n "$PKG_CONFIG" && \
6017 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$GPIV_GNOME_LIBS\"") >&5
6018 ($PKG_CONFIG --exists --print-errors "$GPIV_GNOME_LIBS") 2>&5
6020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); }; then
6022 pkg_cv_GPIV_CFLAGS=`$PKG_CONFIG --cflags "$GPIV_GNOME_LIBS" 2>/dev/null`
6030 if test -n "$PKG_CONFIG"; then
6031 if test -n "$GPIV_LIBS"; then
6032 pkg_cv_GPIV_LIBS="$GPIV_LIBS"
6034 if test -n "$PKG_CONFIG" && \
6035 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$GPIV_GNOME_LIBS\"") >&5
6036 ($PKG_CONFIG --exists --print-errors "$GPIV_GNOME_LIBS") 2>&5
6038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 (exit $ac_status); }; then
6040 pkg_cv_GPIV_LIBS=`$PKG_CONFIG --libs "$GPIV_GNOME_LIBS" 2>/dev/null`
6051 if test $pkg_failed = yes; then
6053 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6054 _pkg_short_errors_supported=yes
6056 _pkg_short_errors_supported=no
6058 if test $_pkg_short_errors_supported = yes; then
6059 GPIV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GPIV_GNOME_LIBS"`
6061 GPIV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GPIV_GNOME_LIBS"`
6063 # Put the nasty error message in config.log where it belongs
6064 echo "$GPIV_PKG_ERRORS" >&5
6066 { { $as_echo "$as_me:$LINENO: error: Package requirements ($GPIV_GNOME_LIBS) were not met:
6070 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6071 installed software in a non-standard prefix.
6073 Alternatively, you may set the environment variables GPIV_CFLAGS
6074 and GPIV_LIBS to avoid the need to call pkg-config.
6075 See the pkg-config man page for more details.
6077 $as_echo "$as_me: error: Package requirements ($GPIV_GNOME_LIBS) were not met:
6081 Consider adjusting the PKG_CONFIG_PATH environment variable if you
6082 installed software in a non-standard prefix.
6084 Alternatively, you may set the environment variables GPIV_CFLAGS
6085 and GPIV_LIBS to avoid the need to call pkg-config.
6086 See the pkg-config man page for more details.
6088 { (exit 1); exit 1; }; }
6089 elif test $pkg_failed = untried; then
6090 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6091 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
6092 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
6093 is in your PATH or set the PKG_CONFIG environment variable to the full
6096 Alternatively, you may set the environment variables GPIV_CFLAGS
6097 and GPIV_LIBS to avoid the need to call pkg-config.
6098 See the pkg-config man page for more details.
6100 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6101 See \`config.log
' for more details." >&5
6102 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
6103 is in your PATH or set the PKG_CONFIG environment variable to the full
6106 Alternatively, you may set the environment variables GPIV_CFLAGS
6107 and GPIV_LIBS to avoid the need to call pkg-config.
6108 See the pkg-config man page for more details.
6110 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6111 See \`config.log' for more details.
" >&2;}
6112 { (exit 1); exit 1; }; }; }
6114 GPIV_CFLAGS=$pkg_cv_GPIV_CFLAGS
6115 GPIV_LIBS=$pkg_cv_GPIV_LIBS
6116 { $as_echo "$as_me:$LINENO: result
: yes" >&5
6117 $as_echo "yes" >&6; }
6124 GETTEXT_PACKAGE=gpiv
6126 cat >>confdefs.h <<_ACEOF
6127 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6130 ALL_LINGUAS="ca de
nl"
6131 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6141 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6142 inttypes.h stdint.h unistd.h
6144 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6145 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
6146 $as_echo_n "checking
for $ac_header...
" >&6; }
6147 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6148 $as_echo_n "(cached
) " >&6
6150 cat >conftest.$ac_ext <<_ACEOF
6153 cat confdefs.h >>conftest.$ac_ext
6154 cat >>conftest.$ac_ext <<_ACEOF
6155 /* end confdefs.h. */
6156 $ac_includes_default
6158 #include <$ac_header>
6160 rm -f conftest.$ac_objext
6161 if { (ac_try="$ac_compile"
6163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6164 *) ac_try_echo=$ac_try;;
6166 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6167 $as_echo "$ac_try_echo") >&5
6168 (eval "$ac_compile") 2>conftest.er1
6170 grep -v '^ *+' conftest.er1 >conftest.err
6172 cat conftest.err >&5
6173 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6174 (exit $ac_status); } && {
6175 test -z "$ac_c_werror_flag" ||
6176 test ! -s conftest.err
6177 } && test -s conftest.$ac_objext; then
6178 eval "$as_ac_Header=yes"
6180 $as_echo "$as_me: failed program was
:" >&5
6181 sed 's/^/| /' conftest.$ac_ext >&5
6183 eval "$as_ac_Header=no
"
6186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6188 ac_res=`eval 'as_val=${'$as_ac_Header'}
6189 $as_echo "$as_val"'`
6190 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
6191 $as_echo "$ac_res" >&6; }
6192 as_val=`eval 'as_val=${'$as_ac_Header'}
6193 $as_echo "$as_val"'`
6194 if test "x
$as_val" = x""yes; then
6195 cat >>confdefs.h <<_ACEOF
6196 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6206 for ac_header in locale.h
6208 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
6209 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6210 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
6211 $as_echo_n "checking
for $ac_header...
" >&6; }
6212 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6213 $as_echo_n "(cached
) " >&6
6215 ac_res=`eval 'as_val=${'$as_ac_Header'}
6216 $as_echo "$as_val"'`
6217 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
6218 $as_echo "$ac_res" >&6; }
6220 # Is the header compilable?
6221 { $as_echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
6222 $as_echo_n "checking
$ac_header usability...
" >&6; }
6223 cat >conftest.$ac_ext <<_ACEOF
6226 cat confdefs.h >>conftest.$ac_ext
6227 cat >>conftest.$ac_ext <<_ACEOF
6228 /* end confdefs.h. */
6229 $ac_includes_default
6230 #include <$ac_header>
6232 rm -f conftest.$ac_objext
6233 if { (ac_try="$ac_compile"
6235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6236 *) ac_try_echo=$ac_try;;
6238 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6239 $as_echo "$ac_try_echo") >&5
6240 (eval "$ac_compile") 2>conftest.er1
6242 grep -v '^ *+' conftest.er1 >conftest.err
6244 cat conftest.err >&5
6245 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6246 (exit $ac_status); } && {
6247 test -z "$ac_c_werror_flag" ||
6248 test ! -s conftest.err
6249 } && test -s conftest.$ac_objext; then
6250 ac_header_compiler=yes
6252 $as_echo "$as_me: failed program was
:" >&5
6253 sed 's/^/| /' conftest.$ac_ext >&5
6255 ac_header_compiler=no
6258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6259 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
6260 $as_echo "$ac_header_compiler" >&6; }
6262 # Is the header present?
6263 { $as_echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
6264 $as_echo_n "checking
$ac_header presence...
" >&6; }
6265 cat >conftest.$ac_ext <<_ACEOF
6268 cat confdefs.h >>conftest.$ac_ext
6269 cat >>conftest.$ac_ext <<_ACEOF
6270 /* end confdefs.h. */
6271 #include <$ac_header>
6273 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6276 *) ac_try_echo=$ac_try;;
6278 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6279 $as_echo "$ac_try_echo") >&5
6280 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6282 grep -v '^ *+' conftest.er1 >conftest.err
6284 cat conftest.err >&5
6285 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6286 (exit $ac_status); } >/dev/null && {
6287 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6288 test ! -s conftest.err
6290 ac_header_preproc=yes
6292 $as_echo "$as_me: failed program was
:" >&5
6293 sed 's/^/| /' conftest.$ac_ext >&5
6295 ac_header_preproc=no
6298 rm -f conftest.err conftest.$ac_ext
6299 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
6300 $as_echo "$ac_header_preproc" >&6; }
6302 # So? What about this header?
6303 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6305 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
6306 $as_echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
6307 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
6308 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
6309 ac_header_preproc=yes
6312 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
6313 $as_echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
6314 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
6315 $as_echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
6316 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
6317 $as_echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
6318 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
6319 $as_echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
6320 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
6321 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
6322 { $as_echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
6323 $as_echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
6325 ## ------------------------------------------------------------------- ##
6326 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
6327 ## ------------------------------------------------------------------- ##
6329 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
6332 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
6333 $as_echo_n "checking
for $ac_header...
" >&6; }
6334 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
6335 $as_echo_n "(cached
) " >&6
6337 eval "$as_ac_Header=\
$ac_header_preproc"
6339 ac_res=`eval 'as_val=${'$as_ac_Header'}
6340 $as_echo "$as_val"'`
6341 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
6342 $as_echo "$ac_res" >&6; }
6345 as_val=`eval 'as_val=${'$as_ac_Header'}
6346 $as_echo "$as_val"'`
6347 if test "x
$as_val" = x""yes; then
6348 cat >>confdefs.h <<_ACEOF
6349 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
6356 if test $ac_cv_header_locale_h = yes; then
6357 { $as_echo "$as_me:$LINENO: checking
for LC_MESSAGES
" >&5
6358 $as_echo_n "checking
for LC_MESSAGES...
" >&6; }
6359 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6360 $as_echo_n "(cached
) " >&6
6362 cat >conftest.$ac_ext <<_ACEOF
6365 cat confdefs.h >>conftest.$ac_ext
6366 cat >>conftest.$ac_ext <<_ACEOF
6367 /* end confdefs.h. */
6377 rm -f conftest.$ac_objext conftest$ac_exeext
6378 if { (ac_try="$ac_link"
6380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6381 *) ac_try_echo=$ac_try;;
6383 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6384 $as_echo "$ac_try_echo") >&5
6385 (eval "$ac_link") 2>conftest.er1
6387 grep -v '^ *+' conftest.er1 >conftest.err
6389 cat conftest.err >&5
6390 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6391 (exit $ac_status); } && {
6392 test -z "$ac_c_werror_flag" ||
6393 test ! -s conftest.err
6394 } && test -s conftest$ac_exeext && {
6395 test "$cross_compiling" = yes ||
6396 $as_test_x conftest$ac_exeext
6398 am_cv_val_LC_MESSAGES=yes
6400 $as_echo "$as_me: failed program was
:" >&5
6401 sed 's/^/| /' conftest.$ac_ext >&5
6403 am_cv_val_LC_MESSAGES=no
6406 rm -rf conftest.dSYM
6407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6408 conftest$ac_exeext conftest.$ac_ext
6410 { $as_echo "$as_me:$LINENO: result
: $am_cv_val_LC_MESSAGES" >&5
6411 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
6412 if test $am_cv_val_LC_MESSAGES = yes; then
6414 cat >>confdefs.h <<\_ACEOF
6415 #define HAVE_LC_MESSAGES 1
6423 gt_cv_have_gettext=no
6429 if test "${ac_cv_header_libintl_h+set}" = set; then
6430 { $as_echo "$as_me:$LINENO: checking
for libintl.h
" >&5
6431 $as_echo_n "checking
for libintl.h...
" >&6; }
6432 if test "${ac_cv_header_libintl_h+set}" = set; then
6433 $as_echo_n "(cached
) " >&6
6435 { $as_echo "$as_me:$LINENO: result
: $ac_cv_header_libintl_h" >&5
6436 $as_echo "$ac_cv_header_libintl_h" >&6; }
6438 # Is the header compilable?
6439 { $as_echo "$as_me:$LINENO: checking libintl.h usability
" >&5
6440 $as_echo_n "checking libintl.h usability...
" >&6; }
6441 cat >conftest.$ac_ext <<_ACEOF
6444 cat confdefs.h >>conftest.$ac_ext
6445 cat >>conftest.$ac_ext <<_ACEOF
6446 /* end confdefs.h. */
6447 $ac_includes_default
6448 #include <libintl.h>
6450 rm -f conftest.$ac_objext
6451 if { (ac_try="$ac_compile"
6453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6454 *) ac_try_echo=$ac_try;;
6456 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6457 $as_echo "$ac_try_echo") >&5
6458 (eval "$ac_compile") 2>conftest.er1
6460 grep -v '^ *+' conftest.er1 >conftest.err
6462 cat conftest.err >&5
6463 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6464 (exit $ac_status); } && {
6465 test -z "$ac_c_werror_flag" ||
6466 test ! -s conftest.err
6467 } && test -s conftest.$ac_objext; then
6468 ac_header_compiler=yes
6470 $as_echo "$as_me: failed program was
:" >&5
6471 sed 's/^/| /' conftest.$ac_ext >&5
6473 ac_header_compiler=no
6476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6477 { $as_echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
6478 $as_echo "$ac_header_compiler" >&6; }
6480 # Is the header present?
6481 { $as_echo "$as_me:$LINENO: checking libintl.h presence
" >&5
6482 $as_echo_n "checking libintl.h presence...
" >&6; }
6483 cat >conftest.$ac_ext <<_ACEOF
6486 cat confdefs.h >>conftest.$ac_ext
6487 cat >>conftest.$ac_ext <<_ACEOF
6488 /* end confdefs.h. */
6489 #include <libintl.h>
6491 if { (ac_try="$ac_cpp conftest.
$ac_ext"
6493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6494 *) ac_try_echo=$ac_try;;
6496 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6497 $as_echo "$ac_try_echo") >&5
6498 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
6500 grep -v '^ *+' conftest.er1 >conftest.err
6502 cat conftest.err >&5
6503 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6504 (exit $ac_status); } >/dev/null && {
6505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6506 test ! -s conftest.err
6508 ac_header_preproc=yes
6510 $as_echo "$as_me: failed program was
:" >&5
6511 sed 's/^/| /' conftest.$ac_ext >&5
6513 ac_header_preproc=no
6516 rm -f conftest.err conftest.$ac_ext
6517 { $as_echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
6518 $as_echo "$ac_header_preproc" >&6; }
6520 # So? What about this header?
6521 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6523 { $as_echo "$as_me:$LINENO: WARNING
: libintl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
6524 $as_echo "$as_me: WARNING
: libintl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
6525 { $as_echo "$as_me:$LINENO: WARNING
: libintl.h
: proceeding with the compiler
's result" >&5
6526 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result
" >&2;}
6527 ac_header_preproc=yes
6530 { $as_echo "$as_me:$LINENO: WARNING
: libintl.h
: present but cannot be compiled
" >&5
6531 $as_echo "$as_me: WARNING
: libintl.h
: present but cannot be compiled
" >&2;}
6532 { $as_echo "$as_me:$LINENO: WARNING
: libintl.h
: check
for missing prerequisite headers?
" >&5
6533 $as_echo "$as_me: WARNING
: libintl.h
: check
for missing prerequisite headers?
" >&2;}
6534 { $as_echo "$as_me:$LINENO: WARNING
: libintl.h
: see the Autoconf documentation
" >&5
6535 $as_echo "$as_me: WARNING
: libintl.h
: see the Autoconf documentation
" >&2;}
6536 { $as_echo "$as_me:$LINENO: WARNING
: libintl.h
: section
\"Present But Cannot Be Compiled
\"" >&5
6537 $as_echo "$as_me: WARNING
: libintl.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
6538 { $as_echo "$as_me:$LINENO: WARNING
: libintl.h
: proceeding with the preprocessor
's result" >&5
6539 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result
" >&2;}
6540 { $as_echo "$as_me:$LINENO: WARNING
: libintl.h
: in the future
, the compiler will take precedence
" >&5
6541 $as_echo "$as_me: WARNING
: libintl.h
: in the future
, the compiler will take precedence
" >&2;}
6543 ## ------------------------------------------------------------------- ##
6544 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
6545 ## ------------------------------------------------------------------- ##
6547 ) | sed "s
/^
/$as_me: WARNING
: /" >&2
6550 { $as_echo "$as_me:$LINENO: checking
for libintl.h
" >&5
6551 $as_echo_n "checking
for libintl.h...
" >&6; }
6552 if test "${ac_cv_header_libintl_h+set}" = set; then
6553 $as_echo_n "(cached
) " >&6
6555 ac_cv_header_libintl_h=$ac_header_preproc
6557 { $as_echo "$as_me:$LINENO: result
: $ac_cv_header_libintl_h" >&5
6558 $as_echo "$ac_cv_header_libintl_h" >&6; }
6561 if test "x
$ac_cv_header_libintl_h" = x""yes; then
6562 gt_cv_func_dgettext_libintl="no
"
6563 libintl_extra_libs=""
6566 # First check in libc
6568 { $as_echo "$as_me:$LINENO: checking
for ngettext
in libc
" >&5
6569 $as_echo_n "checking
for ngettext
in libc...
" >&6; }
6570 if test "${gt_cv_func_ngettext_libc+set}" = set; then
6571 $as_echo_n "(cached
) " >&6
6573 cat >conftest.$ac_ext <<_ACEOF
6576 cat confdefs.h >>conftest.$ac_ext
6577 cat >>conftest.$ac_ext <<_ACEOF
6578 /* end confdefs.h. */
6580 #include <libintl.h>
6585 return !ngettext ("","", 1)
6590 rm -f conftest.$ac_objext conftest$ac_exeext
6591 if { (ac_try="$ac_link"
6593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6594 *) ac_try_echo=$ac_try;;
6596 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6597 $as_echo "$ac_try_echo") >&5
6598 (eval "$ac_link") 2>conftest.er1
6600 grep -v '^ *+' conftest.er1 >conftest.err
6602 cat conftest.err >&5
6603 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6604 (exit $ac_status); } && {
6605 test -z "$ac_c_werror_flag" ||
6606 test ! -s conftest.err
6607 } && test -s conftest$ac_exeext && {
6608 test "$cross_compiling" = yes ||
6609 $as_test_x conftest$ac_exeext
6611 gt_cv_func_ngettext_libc=yes
6613 $as_echo "$as_me: failed program was
:" >&5
6614 sed 's/^/| /' conftest.$ac_ext >&5
6616 gt_cv_func_ngettext_libc=no
6619 rm -rf conftest.dSYM
6620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6621 conftest$ac_exeext conftest.$ac_ext
6624 { $as_echo "$as_me:$LINENO: result
: $gt_cv_func_ngettext_libc" >&5
6625 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
6627 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6628 { $as_echo "$as_me:$LINENO: checking
for dgettext
in libc
" >&5
6629 $as_echo_n "checking
for dgettext
in libc...
" >&6; }
6630 if test "${gt_cv_func_dgettext_libc+set}" = set; then
6631 $as_echo_n "(cached
) " >&6
6633 cat >conftest.$ac_ext <<_ACEOF
6636 cat confdefs.h >>conftest.$ac_ext
6637 cat >>conftest.$ac_ext <<_ACEOF
6638 /* end confdefs.h. */
6640 #include <libintl.h>
6645 return !dgettext ("","")
6650 rm -f conftest.$ac_objext conftest$ac_exeext
6651 if { (ac_try="$ac_link"
6653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6654 *) ac_try_echo=$ac_try;;
6656 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6657 $as_echo "$ac_try_echo") >&5
6658 (eval "$ac_link") 2>conftest.er1
6660 grep -v '^ *+' conftest.er1 >conftest.err
6662 cat conftest.err >&5
6663 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6664 (exit $ac_status); } && {
6665 test -z "$ac_c_werror_flag" ||
6666 test ! -s conftest.err
6667 } && test -s conftest$ac_exeext && {
6668 test "$cross_compiling" = yes ||
6669 $as_test_x conftest$ac_exeext
6671 gt_cv_func_dgettext_libc=yes
6673 $as_echo "$as_me: failed program was
:" >&5
6674 sed 's/^/| /' conftest.$ac_ext >&5
6676 gt_cv_func_dgettext_libc=no
6679 rm -rf conftest.dSYM
6680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6681 conftest$ac_exeext conftest.$ac_ext
6684 { $as_echo "$as_me:$LINENO: result
: $gt_cv_func_dgettext_libc" >&5
6685 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
6688 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6690 for ac_func in bind_textdomain_codeset
6692 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
6693 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
6694 $as_echo_n "checking
for $ac_func...
" >&6; }
6695 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
6696 $as_echo_n "(cached
) " >&6
6698 cat >conftest.$ac_ext <<_ACEOF
6701 cat confdefs.h >>conftest.$ac_ext
6702 cat >>conftest.$ac_ext <<_ACEOF
6703 /* end confdefs.h. */
6704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6706 #define $ac_func innocuous_$ac_func
6708 /* System header to define __stub macros and hopefully few prototypes,
6709 which can conflict with char $ac_func (); below.
6710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6711 <limits.h> exists even on freestanding compilers. */
6714 # include <limits.h>
6716 # include <assert.h>
6721 /* Override any GCC internal prototype to avoid an error.
6722 Use char because int might match the return type of a GCC
6723 builtin and then its argument prototype would still apply. */
6728 /* The GNU C library defines this for functions which it implements
6729 to always fail with ENOSYS. Some functions are actually named
6730 something starting with __ and the normal name is an alias. */
6731 #if defined __stub_$ac_func || defined __stub___$ac_func
6743 rm -f conftest.$ac_objext conftest$ac_exeext
6744 if { (ac_try="$ac_link"
6746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6747 *) ac_try_echo=$ac_try;;
6749 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6750 $as_echo "$ac_try_echo") >&5
6751 (eval "$ac_link") 2>conftest.er1
6753 grep -v '^ *+' conftest.er1 >conftest.err
6755 cat conftest.err >&5
6756 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6757 (exit $ac_status); } && {
6758 test -z "$ac_c_werror_flag" ||
6759 test ! -s conftest.err
6760 } && test -s conftest$ac_exeext && {
6761 test "$cross_compiling" = yes ||
6762 $as_test_x conftest$ac_exeext
6764 eval "$as_ac_var=yes"
6766 $as_echo "$as_me: failed program was
:" >&5
6767 sed 's/^/| /' conftest.$ac_ext >&5
6769 eval "$as_ac_var=no
"
6772 rm -rf conftest.dSYM
6773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6774 conftest$ac_exeext conftest.$ac_ext
6776 ac_res=`eval 'as_val=${'$as_ac_var'}
6777 $as_echo "$as_val"'`
6778 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
6779 $as_echo "$ac_res" >&6; }
6780 as_val=`eval 'as_val=${'$as_ac_var'}
6781 $as_echo "$as_val"'`
6782 if test "x
$as_val" = x""yes; then
6783 cat >>confdefs.h <<_ACEOF
6784 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
6793 # If we don't have everything we want, check in libintl
6795 if test "$gt_cv_func_dgettext_libc" != "yes" \
6796 || test "$gt_cv_func_ngettext_libc" != "yes" \
6797 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6799 { $as_echo "$as_me:$LINENO: checking
for bindtextdomain
in -lintl" >&5
6800 $as_echo_n "checking
for bindtextdomain
in -lintl...
" >&6; }
6801 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
6802 $as_echo_n "(cached
) " >&6
6804 ac_check_lib_save_LIBS=$LIBS
6806 cat >conftest.$ac_ext <<_ACEOF
6809 cat confdefs.h >>conftest.$ac_ext
6810 cat >>conftest.$ac_ext <<_ACEOF
6811 /* end confdefs.h. */
6813 /* Override any GCC internal prototype to avoid an error.
6814 Use char because int might match the return type of a GCC
6815 builtin and then its argument prototype would still apply. */
6819 char bindtextdomain ();
6823 return bindtextdomain ();
6828 rm -f conftest.$ac_objext conftest$ac_exeext
6829 if { (ac_try="$ac_link"
6831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6832 *) ac_try_echo=$ac_try;;
6834 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6835 $as_echo "$ac_try_echo") >&5
6836 (eval "$ac_link") 2>conftest.er1
6838 grep -v '^ *+' conftest.er1 >conftest.err
6840 cat conftest.err >&5
6841 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6842 (exit $ac_status); } && {
6843 test -z "$ac_c_werror_flag" ||
6844 test ! -s conftest.err
6845 } && test -s conftest$ac_exeext && {
6846 test "$cross_compiling" = yes ||
6847 $as_test_x conftest$ac_exeext
6849 ac_cv_lib_intl_bindtextdomain=yes
6851 $as_echo "$as_me: failed program was
:" >&5
6852 sed 's/^/| /' conftest.$ac_ext >&5
6854 ac_cv_lib_intl_bindtextdomain=no
6857 rm -rf conftest.dSYM
6858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6859 conftest$ac_exeext conftest.$ac_ext
6860 LIBS=$ac_check_lib_save_LIBS
6862 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_bindtextdomain" >&5
6863 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
6864 if test "x
$ac_cv_lib_intl_bindtextdomain" = x""yes; then
6865 { $as_echo "$as_me:$LINENO: checking
for ngettext
in -lintl" >&5
6866 $as_echo_n "checking
for ngettext
in -lintl...
" >&6; }
6867 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6868 $as_echo_n "(cached
) " >&6
6870 ac_check_lib_save_LIBS=$LIBS
6872 cat >conftest.$ac_ext <<_ACEOF
6875 cat confdefs.h >>conftest.$ac_ext
6876 cat >>conftest.$ac_ext <<_ACEOF
6877 /* end confdefs.h. */
6879 /* Override any GCC internal prototype to avoid an error.
6880 Use char because int might match the return type of a GCC
6881 builtin and then its argument prototype would still apply. */
6894 rm -f conftest.$ac_objext conftest$ac_exeext
6895 if { (ac_try="$ac_link"
6897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6898 *) ac_try_echo=$ac_try;;
6900 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6901 $as_echo "$ac_try_echo") >&5
6902 (eval "$ac_link") 2>conftest.er1
6904 grep -v '^ *+' conftest.er1 >conftest.err
6906 cat conftest.err >&5
6907 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6908 (exit $ac_status); } && {
6909 test -z "$ac_c_werror_flag" ||
6910 test ! -s conftest.err
6911 } && test -s conftest$ac_exeext && {
6912 test "$cross_compiling" = yes ||
6913 $as_test_x conftest$ac_exeext
6915 ac_cv_lib_intl_ngettext=yes
6917 $as_echo "$as_me: failed program was
:" >&5
6918 sed 's/^/| /' conftest.$ac_ext >&5
6920 ac_cv_lib_intl_ngettext=no
6923 rm -rf conftest.dSYM
6924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6925 conftest$ac_exeext conftest.$ac_ext
6926 LIBS=$ac_check_lib_save_LIBS
6928 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_ngettext" >&5
6929 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6930 if test "x
$ac_cv_lib_intl_ngettext" = x""yes; then
6931 { $as_echo "$as_me:$LINENO: checking
for dgettext
in -lintl" >&5
6932 $as_echo_n "checking
for dgettext
in -lintl...
" >&6; }
6933 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
6934 $as_echo_n "(cached
) " >&6
6936 ac_check_lib_save_LIBS=$LIBS
6938 cat >conftest.$ac_ext <<_ACEOF
6941 cat confdefs.h >>conftest.$ac_ext
6942 cat >>conftest.$ac_ext <<_ACEOF
6943 /* end confdefs.h. */
6945 /* Override any GCC internal prototype to avoid an error.
6946 Use char because int might match the return type of a GCC
6947 builtin and then its argument prototype would still apply. */
6960 rm -f conftest.$ac_objext conftest$ac_exeext
6961 if { (ac_try="$ac_link"
6963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6964 *) ac_try_echo=$ac_try;;
6966 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
6967 $as_echo "$ac_try_echo") >&5
6968 (eval "$ac_link") 2>conftest.er1
6970 grep -v '^ *+' conftest.er1 >conftest.err
6972 cat conftest.err >&5
6973 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6974 (exit $ac_status); } && {
6975 test -z "$ac_c_werror_flag" ||
6976 test ! -s conftest.err
6977 } && test -s conftest$ac_exeext && {
6978 test "$cross_compiling" = yes ||
6979 $as_test_x conftest$ac_exeext
6981 ac_cv_lib_intl_dgettext=yes
6983 $as_echo "$as_me: failed program was
:" >&5
6984 sed 's/^/| /' conftest.$ac_ext >&5
6986 ac_cv_lib_intl_dgettext=no
6989 rm -rf conftest.dSYM
6990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6991 conftest$ac_exeext conftest.$ac_ext
6992 LIBS=$ac_check_lib_save_LIBS
6994 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_dgettext" >&5
6995 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
6996 if test "x
$ac_cv_lib_intl_dgettext" = x""yes; then
6997 gt_cv_func_dgettext_libintl=yes
7005 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
7006 { $as_echo "$as_me:$LINENO: checking
if -liconv is needed to use
gettext" >&5
7007 $as_echo_n "checking
if -liconv is needed to use
gettext...
" >&6; }
7008 { $as_echo "$as_me:$LINENO: result
: " >&5
7010 { $as_echo "$as_me:$LINENO: checking
for ngettext
in -lintl" >&5
7011 $as_echo_n "checking
for ngettext
in -lintl...
" >&6; }
7012 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
7013 $as_echo_n "(cached
) " >&6
7015 ac_check_lib_save_LIBS=$LIBS
7016 LIBS="-lintl -liconv $LIBS"
7017 cat >conftest.$ac_ext <<_ACEOF
7020 cat confdefs.h >>conftest.$ac_ext
7021 cat >>conftest.$ac_ext <<_ACEOF
7022 /* end confdefs.h. */
7024 /* Override any GCC internal prototype to avoid an error.
7025 Use char because int might match the return type of a GCC
7026 builtin and then its argument prototype would still apply. */
7039 rm -f conftest.$ac_objext conftest$ac_exeext
7040 if { (ac_try="$ac_link"
7042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7043 *) ac_try_echo=$ac_try;;
7045 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7046 $as_echo "$ac_try_echo") >&5
7047 (eval "$ac_link") 2>conftest.er1
7049 grep -v '^ *+' conftest.er1 >conftest.err
7051 cat conftest.err >&5
7052 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7053 (exit $ac_status); } && {
7054 test -z "$ac_c_werror_flag" ||
7055 test ! -s conftest.err
7056 } && test -s conftest$ac_exeext && {
7057 test "$cross_compiling" = yes ||
7058 $as_test_x conftest$ac_exeext
7060 ac_cv_lib_intl_ngettext=yes
7062 $as_echo "$as_me: failed program was
:" >&5
7063 sed 's/^/| /' conftest.$ac_ext >&5
7065 ac_cv_lib_intl_ngettext=no
7068 rm -rf conftest.dSYM
7069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7070 conftest$ac_exeext conftest.$ac_ext
7071 LIBS=$ac_check_lib_save_LIBS
7073 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_ngettext" >&5
7074 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
7075 if test "x
$ac_cv_lib_intl_ngettext" = x""yes; then
7076 { $as_echo "$as_me:$LINENO: checking
for dcgettext
in -lintl" >&5
7077 $as_echo_n "checking
for dcgettext
in -lintl...
" >&6; }
7078 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
7079 $as_echo_n "(cached
) " >&6
7081 ac_check_lib_save_LIBS=$LIBS
7082 LIBS="-lintl -liconv $LIBS"
7083 cat >conftest.$ac_ext <<_ACEOF
7086 cat confdefs.h >>conftest.$ac_ext
7087 cat >>conftest.$ac_ext <<_ACEOF
7088 /* end confdefs.h. */
7090 /* Override any GCC internal prototype to avoid an error.
7091 Use char because int might match the return type of a GCC
7092 builtin and then its argument prototype would still apply. */
7100 return dcgettext ();
7105 rm -f conftest.$ac_objext conftest$ac_exeext
7106 if { (ac_try="$ac_link"
7108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7109 *) ac_try_echo=$ac_try;;
7111 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7112 $as_echo "$ac_try_echo") >&5
7113 (eval "$ac_link") 2>conftest.er1
7115 grep -v '^ *+' conftest.er1 >conftest.err
7117 cat conftest.err >&5
7118 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7119 (exit $ac_status); } && {
7120 test -z "$ac_c_werror_flag" ||
7121 test ! -s conftest.err
7122 } && test -s conftest$ac_exeext && {
7123 test "$cross_compiling" = yes ||
7124 $as_test_x conftest$ac_exeext
7126 ac_cv_lib_intl_dcgettext=yes
7128 $as_echo "$as_me: failed program was
:" >&5
7129 sed 's/^/| /' conftest.$ac_ext >&5
7131 ac_cv_lib_intl_dcgettext=no
7134 rm -rf conftest.dSYM
7135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7136 conftest$ac_exeext conftest.$ac_ext
7137 LIBS=$ac_check_lib_save_LIBS
7139 { $as_echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_dcgettext" >&5
7140 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
7141 if test "x
$ac_cv_lib_intl_dcgettext" = x""yes; then
7142 gt_cv_func_dgettext_libintl=yes
7143 libintl_extra_libs=-liconv
7155 # If we found libintl, then check in it for bind_textdomain_codeset();
7156 # we'll prefer libc if neither have bind_textdomain_codeset(),
7157 # and both have dgettext and ngettext
7159 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
7160 glib_save_LIBS="$LIBS"
7161 LIBS="$LIBS -lintl $libintl_extra_libs"
7162 unset ac_cv_func_bind_textdomain_codeset
7164 for ac_func in bind_textdomain_codeset
7166 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
7167 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
7168 $as_echo_n "checking
for $ac_func...
" >&6; }
7169 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
7170 $as_echo_n "(cached
) " >&6
7172 cat >conftest.$ac_ext <<_ACEOF
7175 cat confdefs.h >>conftest.$ac_ext
7176 cat >>conftest.$ac_ext <<_ACEOF
7177 /* end confdefs.h. */
7178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7180 #define $ac_func innocuous_$ac_func
7182 /* System header to define __stub macros and hopefully few prototypes,
7183 which can conflict with char $ac_func (); below.
7184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7185 <limits.h> exists even on freestanding compilers. */
7188 # include <limits.h>
7190 # include <assert.h>
7195 /* Override any GCC internal prototype to avoid an error.
7196 Use char because int might match the return type of a GCC
7197 builtin and then its argument prototype would still apply. */
7202 /* The GNU C library defines this for functions which it implements
7203 to always fail with ENOSYS. Some functions are actually named
7204 something starting with __ and the normal name is an alias. */
7205 #if defined __stub_$ac_func || defined __stub___$ac_func
7217 rm -f conftest.$ac_objext conftest$ac_exeext
7218 if { (ac_try="$ac_link"
7220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7221 *) ac_try_echo=$ac_try;;
7223 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7224 $as_echo "$ac_try_echo") >&5
7225 (eval "$ac_link") 2>conftest.er1
7227 grep -v '^ *+' conftest.er1 >conftest.err
7229 cat conftest.err >&5
7230 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7231 (exit $ac_status); } && {
7232 test -z "$ac_c_werror_flag" ||
7233 test ! -s conftest.err
7234 } && test -s conftest$ac_exeext && {
7235 test "$cross_compiling" = yes ||
7236 $as_test_x conftest$ac_exeext
7238 eval "$as_ac_var=yes"
7240 $as_echo "$as_me: failed program was
:" >&5
7241 sed 's/^/| /' conftest.$ac_ext >&5
7243 eval "$as_ac_var=no
"
7246 rm -rf conftest.dSYM
7247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7248 conftest$ac_exeext conftest.$ac_ext
7250 ac_res=`eval 'as_val=${'$as_ac_var'}
7251 $as_echo "$as_val"'`
7252 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7253 $as_echo "$ac_res" >&6; }
7254 as_val=`eval 'as_val=${'$as_ac_var'}
7255 $as_echo "$as_val"'`
7256 if test "x
$as_val" = x""yes; then
7257 cat >>confdefs.h <<_ACEOF
7258 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
7264 LIBS="$glib_save_LIBS"
7266 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
7267 gt_cv_func_dgettext_libc=no
7269 if test "$gt_cv_func_dgettext_libc" = "yes" \
7270 && test "$gt_cv_func_ngettext_libc" = "yes"; then
7271 gt_cv_func_dgettext_libintl=no
7277 if test "$gt_cv_func_dgettext_libc" = "yes" \
7278 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
7279 gt_cv_have_gettext=yes
7282 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
7283 INTLLIBS="-lintl $libintl_extra_libs"
7286 if test "$gt_cv_have_gettext" = "yes"; then
7288 cat >>confdefs.h <<\_ACEOF
7289 #define HAVE_GETTEXT 1
7292 # Extract the first word of "msgfmt
", so it can be a program name with args.
7293 set dummy msgfmt; ac_word=$2
7294 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7295 $as_echo_n "checking
for $ac_word...
" >&6; }
7296 if test "${ac_cv_path_MSGFMT+set}" = set; then
7297 $as_echo_n "(cached
) " >&6
7301 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7304 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7305 for ac_dir in $PATH; do
7306 test -z "$ac_dir" && ac_dir=.
7307 if test -f $ac_dir/$ac_word; then
7308 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7309 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
7315 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no
"
7319 MSGFMT="$ac_cv_path_MSGFMT"
7320 if test "$MSGFMT" != "no
"; then
7321 { $as_echo "$as_me:$LINENO: result
: $MSGFMT" >&5
7322 $as_echo "$MSGFMT" >&6; }
7324 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7325 $as_echo "no
" >&6; }
7327 if test "$MSGFMT" != "no
"; then
7328 glib_save_LIBS="$LIBS"
7329 LIBS="$LIBS $INTLLIBS"
7331 for ac_func in dcgettext
7333 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
7334 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
7335 $as_echo_n "checking
for $ac_func...
" >&6; }
7336 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
7337 $as_echo_n "(cached
) " >&6
7339 cat >conftest.$ac_ext <<_ACEOF
7342 cat confdefs.h >>conftest.$ac_ext
7343 cat >>conftest.$ac_ext <<_ACEOF
7344 /* end confdefs.h. */
7345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7347 #define $ac_func innocuous_$ac_func
7349 /* System header to define __stub macros and hopefully few prototypes,
7350 which can conflict with char $ac_func (); below.
7351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7352 <limits.h> exists even on freestanding compilers. */
7355 # include <limits.h>
7357 # include <assert.h>
7362 /* Override any GCC internal prototype to avoid an error.
7363 Use char because int might match the return type of a GCC
7364 builtin and then its argument prototype would still apply. */
7369 /* The GNU C library defines this for functions which it implements
7370 to always fail with ENOSYS. Some functions are actually named
7371 something starting with __ and the normal name is an alias. */
7372 #if defined __stub_$ac_func || defined __stub___$ac_func
7384 rm -f conftest.$ac_objext conftest$ac_exeext
7385 if { (ac_try="$ac_link"
7387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7388 *) ac_try_echo=$ac_try;;
7390 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7391 $as_echo "$ac_try_echo") >&5
7392 (eval "$ac_link") 2>conftest.er1
7394 grep -v '^ *+' conftest.er1 >conftest.err
7396 cat conftest.err >&5
7397 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7398 (exit $ac_status); } && {
7399 test -z "$ac_c_werror_flag" ||
7400 test ! -s conftest.err
7401 } && test -s conftest$ac_exeext && {
7402 test "$cross_compiling" = yes ||
7403 $as_test_x conftest$ac_exeext
7405 eval "$as_ac_var=yes"
7407 $as_echo "$as_me: failed program was
:" >&5
7408 sed 's/^/| /' conftest.$ac_ext >&5
7410 eval "$as_ac_var=no
"
7413 rm -rf conftest.dSYM
7414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7415 conftest$ac_exeext conftest.$ac_ext
7417 ac_res=`eval 'as_val=${'$as_ac_var'}
7418 $as_echo "$as_val"'`
7419 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
7420 $as_echo "$ac_res" >&6; }
7421 as_val=`eval 'as_val=${'$as_ac_var'}
7422 $as_echo "$as_val"'`
7423 if test "x
$as_val" = x""yes; then
7424 cat >>confdefs.h <<_ACEOF
7425 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
7432 { $as_echo "$as_me:$LINENO: checking
if msgfmt accepts
-c" >&5
7433 $as_echo_n "checking
if msgfmt accepts
-c...
" >&6; }
7434 cat >conftest.foo <<_ACEOF
7438 "Content-Type
: text
/plain
; charset
=UTF-8
\n"
7439 "Project-Id-Version
: test 1.0\n"
7440 "PO-Revision-Date
: 2007-02-15 12:01+0100\n"
7441 "Last-Translator
: test <foo@bar.xx
>\n"
7442 "Language-Team
: C
<LL@li.org
>\n"
7443 "MIME-Version
: 1.0\n"
7444 "Content-Transfer-Encoding
: 8bit
\n"
7447 if { ($as_echo "$as_me:$LINENO: \
$MSGFMT -c -o /dev
/null conftest.foo
") >&5
7448 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
7450 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7451 (exit $ac_status); }; then
7452 MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result
: yes" >&5
7453 $as_echo "yes" >&6; }
7454 else { $as_echo "$as_me:$LINENO: result
: no
" >&5
7455 $as_echo "no
" >&6; }
7456 echo "$as_me: failed input was
:" >&5
7457 sed 's/^/| /' conftest.foo >&5
7460 # Extract the first word of "gmsgfmt
", so it can be a program name with args.
7461 set dummy gmsgfmt; ac_word=$2
7462 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7463 $as_echo_n "checking
for $ac_word...
" >&6; }
7464 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7465 $as_echo_n "(cached
) " >&6
7469 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476 test -z "$as_dir" && as_dir=.
7477 for ac_exec_ext in '' $ac_executable_extensions; do
7478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7479 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7480 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7487 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7491 GMSGFMT=$ac_cv_path_GMSGFMT
7492 if test -n "$GMSGFMT"; then
7493 { $as_echo "$as_me:$LINENO: result
: $GMSGFMT" >&5
7494 $as_echo "$GMSGFMT" >&6; }
7496 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7497 $as_echo "no
" >&6; }
7501 # Extract the first word of "xgettext
", so it can be a program name with args.
7502 set dummy xgettext; ac_word=$2
7503 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7504 $as_echo_n "checking
for $ac_word...
" >&6; }
7505 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7506 $as_echo_n "(cached
) " >&6
7510 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7513 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7514 for ac_dir in $PATH; do
7515 test -z "$ac_dir" && ac_dir=.
7516 if test -f $ac_dir/$ac_word; then
7517 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
7518 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
7524 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7528 XGETTEXT="$ac_cv_path_XGETTEXT"
7529 if test "$XGETTEXT" != ":"; then
7530 { $as_echo "$as_me:$LINENO: result
: $XGETTEXT" >&5
7531 $as_echo "$XGETTEXT" >&6; }
7533 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7534 $as_echo "no
" >&6; }
7537 cat >conftest.$ac_ext <<_ACEOF
7540 cat confdefs.h >>conftest.$ac_ext
7541 cat >>conftest.$ac_ext <<_ACEOF
7542 /* end confdefs.h. */
7547 extern int _nl_msg_cat_cntr;
7548 return _nl_msg_cat_cntr
7553 rm -f conftest.$ac_objext conftest$ac_exeext
7554 if { (ac_try="$ac_link"
7556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7557 *) ac_try_echo=$ac_try;;
7559 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7560 $as_echo "$ac_try_echo") >&5
7561 (eval "$ac_link") 2>conftest.er1
7563 grep -v '^ *+' conftest.er1 >conftest.err
7565 cat conftest.err >&5
7566 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7567 (exit $ac_status); } && {
7568 test -z "$ac_c_werror_flag" ||
7569 test ! -s conftest.err
7570 } && test -s conftest$ac_exeext && {
7571 test "$cross_compiling" = yes ||
7572 $as_test_x conftest$ac_exeext
7577 $as_echo "$as_me: failed program was
:" >&5
7578 sed 's/^/| /' conftest.$ac_ext >&5
7582 { $as_echo "$as_me:$LINENO: checking
for bind_textdomain_codeset
" >&5
7583 $as_echo_n "checking
for bind_textdomain_codeset...
" >&6; }
7584 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7585 $as_echo_n "(cached
) " >&6
7587 cat >conftest.$ac_ext <<_ACEOF
7590 cat confdefs.h >>conftest.$ac_ext
7591 cat >>conftest.$ac_ext <<_ACEOF
7592 /* end confdefs.h. */
7593 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7595 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7597 /* System header to define __stub macros and hopefully few prototypes,
7598 which can conflict with char bind_textdomain_codeset (); below.
7599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7600 <limits.h> exists even on freestanding compilers. */
7603 # include <limits.h>
7605 # include <assert.h>
7608 #undef bind_textdomain_codeset
7610 /* Override any GCC internal prototype to avoid an error.
7611 Use char because int might match the return type of a GCC
7612 builtin and then its argument prototype would still apply. */
7616 char bind_textdomain_codeset ();
7617 /* The GNU C library defines this for functions which it implements
7618 to always fail with ENOSYS. Some functions are actually named
7619 something starting with __ and the normal name is an alias. */
7620 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7627 return bind_textdomain_codeset ();
7632 rm -f conftest.$ac_objext conftest$ac_exeext
7633 if { (ac_try="$ac_link"
7635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7636 *) ac_try_echo=$ac_try;;
7638 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7639 $as_echo "$ac_try_echo") >&5
7640 (eval "$ac_link") 2>conftest.er1
7642 grep -v '^ *+' conftest.er1 >conftest.err
7644 cat conftest.err >&5
7645 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7646 (exit $ac_status); } && {
7647 test -z "$ac_c_werror_flag" ||
7648 test ! -s conftest.err
7649 } && test -s conftest$ac_exeext && {
7650 test "$cross_compiling" = yes ||
7651 $as_test_x conftest$ac_exeext
7653 ac_cv_func_bind_textdomain_codeset=yes
7655 $as_echo "$as_me: failed program was
:" >&5
7656 sed 's/^/| /' conftest.$ac_ext >&5
7658 ac_cv_func_bind_textdomain_codeset=no
7661 rm -rf conftest.dSYM
7662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7663 conftest$ac_exeext conftest.$ac_ext
7665 { $as_echo "$as_me:$LINENO: result
: $ac_cv_func_bind_textdomain_codeset" >&5
7666 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
7667 if test "x
$ac_cv_func_bind_textdomain_codeset" = x""yes; then
7683 rm -rf conftest.dSYM
7684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7685 conftest$ac_exeext conftest.$ac_ext
7686 LIBS="$glib_save_LIBS"
7689 gt_cv_have_gettext=no
7697 if test "$gt_cv_have_gettext" = "yes" ; then
7699 cat >>confdefs.h <<\_ACEOF
7700 #define ENABLE_NLS 1
7705 if test "$XGETTEXT" != ":"; then
7706 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7709 { $as_echo "$as_me:$LINENO: result
: found xgettext program is not GNU xgettext
; ignore it
" >&5
7710 $as_echo "found xgettext program is not GNU xgettext
; ignore it
" >&6; }
7715 # We need to process the po/ directory.
7718 ac_config_commands="$ac_config_commands default-1
"
7721 for lang in $ALL_LINGUAS; do
7722 GMOFILES="$GMOFILES $lang.gmo
"
7723 POFILES="$POFILES $lang.po
"
7738 if test "$gt_cv_have_gettext" = "yes"; then
7739 if test "x
$ALL_LINGUAS" = "x
"; then
7742 { $as_echo "$as_me:$LINENO: checking
for catalogs to be installed
" >&5
7743 $as_echo_n "checking
for catalogs to be installed...
" >&6; }
7745 for presentlang in $ALL_LINGUAS; do
7747 if test "%UNSET
%" != "${LINGUAS-%UNSET%}"; then
7748 desiredlanguages="$LINGUAS"
7750 desiredlanguages="$ALL_LINGUAS"
7752 for desiredlang in $desiredlanguages; do
7753 # Use the presentlang catalog if desiredlang is
7754 # a. equal to presentlang, or
7755 # b. a variant of presentlang (because in this case,
7756 # presentlang can be used as a fallback for messages
7757 # which are not translated in the desiredlang catalog).
7758 case "$desiredlang" in
7759 "$presentlang"*) useit=yes;;
7762 if test $useit = yes; then
7763 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
7766 LINGUAS=$NEW_LINGUAS
7767 { $as_echo "$as_me:$LINENO: result
: $LINGUAS" >&5
7768 $as_echo "$LINGUAS" >&6; }
7771 if test -n "$LINGUAS"; then
7772 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
7777 if test -n "$ac_aux_dir"; then
7778 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs
"
7780 if test -z "$MKINSTALLDIRS"; then
7781 MKINSTALLDIRS="\$
(top_srcdir
)/mkinstalldirs
"
7785 test -d po || mkdir po
7786 if test "x
$srcdir" != "x.
"; then
7787 if test "x
`echo $srcdir | sed 's@/.*@@'`" = "x
"; then
7788 posrcprefix="$srcdir/"
7790 posrcprefix="..
/$srcdir/"
7796 sed -e "/^
#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7797 < $srcdir/po
/POTFILES.
in > po
/POTFILES
7802 { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7803 $as_echo_n "checking whether NLS is requested... " >&6; }
7804 # Check whether --enable-nls was given.
7805 if test "${enable_nls+set}" = set; then
7806 enableval
=$enable_nls; USE_NLS
=$enableval
7811 { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
7812 $as_echo "$USE_NLS" >&6; }
7817 case "$am__api_version" in
7819 { { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
7820 $as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
7821 { (exit 1); exit 1; }; }
7828 { $as_echo "$as_me:$LINENO: checking for intltool >= " >&5
7829 $as_echo_n "checking for intltool >= ... " >&6; }
7831 INTLTOOL_REQUIRED_VERSION_AS_INT
=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7832 INTLTOOL_APPLIED_VERSION
=`intltool-update --version | head -1 | cut -d" " -f3`
7833 INTLTOOL_APPLIED_VERSION_AS_INT
=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7835 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
7836 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
7837 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
7838 { { $as_echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool or later." >&5
7839 $as_echo "$as_me: error: Your intltool is too old. You need intltool or later." >&2;}
7840 { (exit 1); exit 1; }; }
7843 # Extract the first word of "intltool-update", so it can be a program name with args.
7844 set dummy intltool-update
; ac_word
=$2
7845 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7846 $as_echo_n "checking for $ac_word... " >&6; }
7847 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
7848 $as_echo_n "(cached) " >&6
7850 case $INTLTOOL_UPDATE in
7852 ac_cv_path_INTLTOOL_UPDATE
="$INTLTOOL_UPDATE" # Let the user override the test with a path.
7855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7859 test -z "$as_dir" && as_dir
=.
7860 for ac_exec_ext
in '' $ac_executable_extensions; do
7861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7862 ac_cv_path_INTLTOOL_UPDATE
="$as_dir/$ac_word$ac_exec_ext"
7863 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7873 INTLTOOL_UPDATE
=$ac_cv_path_INTLTOOL_UPDATE
7874 if test -n "$INTLTOOL_UPDATE"; then
7875 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
7876 $as_echo "$INTLTOOL_UPDATE" >&6; }
7878 { $as_echo "$as_me:$LINENO: result: no" >&5
7879 $as_echo "no" >&6; }
7883 # Extract the first word of "intltool-merge", so it can be a program name with args.
7884 set dummy intltool-merge
; ac_word
=$2
7885 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7886 $as_echo_n "checking for $ac_word... " >&6; }
7887 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
7888 $as_echo_n "(cached) " >&6
7890 case $INTLTOOL_MERGE in
7892 ac_cv_path_INTLTOOL_MERGE
="$INTLTOOL_MERGE" # Let the user override the test with a path.
7895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7899 test -z "$as_dir" && as_dir
=.
7900 for ac_exec_ext
in '' $ac_executable_extensions; do
7901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7902 ac_cv_path_INTLTOOL_MERGE
="$as_dir/$ac_word$ac_exec_ext"
7903 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7913 INTLTOOL_MERGE
=$ac_cv_path_INTLTOOL_MERGE
7914 if test -n "$INTLTOOL_MERGE"; then
7915 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
7916 $as_echo "$INTLTOOL_MERGE" >&6; }
7918 { $as_echo "$as_me:$LINENO: result: no" >&5
7919 $as_echo "no" >&6; }
7923 # Extract the first word of "intltool-extract", so it can be a program name with args.
7924 set dummy intltool-extract
; ac_word
=$2
7925 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7926 $as_echo_n "checking for $ac_word... " >&6; }
7927 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
7928 $as_echo_n "(cached) " >&6
7930 case $INTLTOOL_EXTRACT in
7932 ac_cv_path_INTLTOOL_EXTRACT
="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
7935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7939 test -z "$as_dir" && as_dir
=.
7940 for ac_exec_ext
in '' $ac_executable_extensions; do
7941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7942 ac_cv_path_INTLTOOL_EXTRACT
="$as_dir/$ac_word$ac_exec_ext"
7943 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7953 INTLTOOL_EXTRACT
=$ac_cv_path_INTLTOOL_EXTRACT
7954 if test -n "$INTLTOOL_EXTRACT"; then
7955 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
7956 $as_echo "$INTLTOOL_EXTRACT" >&6; }
7958 { $as_echo "$as_me:$LINENO: result: no" >&5
7959 $as_echo "no" >&6; }
7963 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
7964 { { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
7965 $as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
7966 { (exit 1); exit 1; }; }
7969 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 $< $@'
7970 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 $< $@'
7971 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 $< $@'
7972 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 $< $@'
7973 INTLTOOL_OAF_RULE
='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
7974 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 $< $@'
7975 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 $< $@'
7976 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 $< $@'
7977 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 $< $@'
7978 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 $< $@'
7979 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 $< $@'
7980 INTLTOOL_XML_NOMERGE_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
7981 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 $< $@'
7982 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 $< $@'
7983 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 $< $@'
7984 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 $< $@'
7985 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 $< $@'
7986 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 $< $@'
7987 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 $< $@'
8085 # Check the gettext tools to make sure they are GNU
8086 # Extract the first word of "xgettext", so it can be a program name with args.
8087 set dummy xgettext
; ac_word
=$2
8088 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8089 $as_echo_n "checking for $ac_word... " >&6; }
8090 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8091 $as_echo_n "(cached) " >&6
8095 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
8098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8102 test -z "$as_dir" && as_dir
=.
8103 for ac_exec_ext
in '' $ac_executable_extensions; do
8104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8105 ac_cv_path_XGETTEXT
="$as_dir/$ac_word$ac_exec_ext"
8106 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8116 XGETTEXT
=$ac_cv_path_XGETTEXT
8117 if test -n "$XGETTEXT"; then
8118 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8119 $as_echo "$XGETTEXT" >&6; }
8121 { $as_echo "$as_me:$LINENO: result: no" >&5
8122 $as_echo "no" >&6; }
8126 # Extract the first word of "msgmerge", so it can be a program name with args.
8127 set dummy msgmerge
; ac_word
=$2
8128 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8129 $as_echo_n "checking for $ac_word... " >&6; }
8130 if test "${ac_cv_path_MSGMERGE+set}" = set; then
8131 $as_echo_n "(cached) " >&6
8135 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
8138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8142 test -z "$as_dir" && as_dir
=.
8143 for ac_exec_ext
in '' $ac_executable_extensions; do
8144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8145 ac_cv_path_MSGMERGE
="$as_dir/$ac_word$ac_exec_ext"
8146 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8156 MSGMERGE
=$ac_cv_path_MSGMERGE
8157 if test -n "$MSGMERGE"; then
8158 { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
8159 $as_echo "$MSGMERGE" >&6; }
8161 { $as_echo "$as_me:$LINENO: result: no" >&5
8162 $as_echo "no" >&6; }
8166 # Extract the first word of "msgfmt", so it can be a program name with args.
8167 set dummy msgfmt
; ac_word
=$2
8168 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8169 $as_echo_n "checking for $ac_word... " >&6; }
8170 if test "${ac_cv_path_MSGFMT+set}" = set; then
8171 $as_echo_n "(cached) " >&6
8175 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
8178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8182 test -z "$as_dir" && as_dir
=.
8183 for ac_exec_ext
in '' $ac_executable_extensions; do
8184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8185 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8186 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8196 MSGFMT
=$ac_cv_path_MSGFMT
8197 if test -n "$MSGFMT"; then
8198 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
8199 $as_echo "$MSGFMT" >&6; }
8201 { $as_echo "$as_me:$LINENO: result: no" >&5
8202 $as_echo "no" >&6; }
8206 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8207 set dummy gmsgfmt
; ac_word
=$2
8208 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8209 $as_echo_n "checking for $ac_word... " >&6; }
8210 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8211 $as_echo_n "(cached) " >&6
8215 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
8218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8222 test -z "$as_dir" && as_dir
=.
8223 for ac_exec_ext
in '' $ac_executable_extensions; do
8224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8225 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
8226 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8233 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
8237 GMSGFMT
=$ac_cv_path_GMSGFMT
8238 if test -n "$GMSGFMT"; then
8239 { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8240 $as_echo "$GMSGFMT" >&6; }
8242 { $as_echo "$as_me:$LINENO: result: no" >&5
8243 $as_echo "no" >&6; }
8247 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
8248 { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
8249 $as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
8250 { (exit 1); exit 1; }; }
8252 xgversion
="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
8253 mmversion
="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
8254 mfversion
="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
8255 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
8256 { { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
8257 $as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
8258 { (exit 1); exit 1; }; }
8261 # Extract the first word of "perl", so it can be a program name with args.
8262 set dummy perl
; ac_word
=$2
8263 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8264 $as_echo_n "checking for $ac_word... " >&6; }
8265 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
8266 $as_echo_n "(cached) " >&6
8268 case $INTLTOOL_PERL in
8270 ac_cv_path_INTLTOOL_PERL
="$INTLTOOL_PERL" # Let the user override the test with a path.
8273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8277 test -z "$as_dir" && as_dir
=.
8278 for ac_exec_ext
in '' $ac_executable_extensions; do
8279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8280 ac_cv_path_INTLTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
8281 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8291 INTLTOOL_PERL
=$ac_cv_path_INTLTOOL_PERL
8292 if test -n "$INTLTOOL_PERL"; then
8293 { $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
8294 $as_echo "$INTLTOOL_PERL" >&6; }
8296 { $as_echo "$as_me:$LINENO: result: no" >&5
8297 $as_echo "no" >&6; }
8301 if test -z "$INTLTOOL_PERL"; then
8302 { { $as_echo "$as_me:$LINENO: error: perl not found" >&5
8303 $as_echo "$as_me: error: perl not found" >&2;}
8304 { (exit 1); exit 1; }; }
8306 { $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
8307 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
8308 $INTLTOOL_PERL -e "use 5.8.1;" > /dev
/null
2>&1
8309 if test $?
-ne 0; then
8310 { { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
8311 $as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
8312 { (exit 1); exit 1; }; }
8314 IT_PERL_VERSION
="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
8315 { $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
8316 $as_echo "$IT_PERL_VERSION" >&6; }
8318 if test "x" != "xno-xml"; then
8319 { $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
8320 $as_echo_n "checking for XML::Parser... " >&6; }
8321 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
8322 { $as_echo "$as_me:$LINENO: result: ok" >&5
8323 $as_echo "ok" >&6; }
8325 { { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
8326 $as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
8327 { (exit 1); exit 1; }; }
8331 # Substitute ALL_LINGUAS so we can use it in po/Makefile
8334 # Set DATADIRNAME correctly if it is not set yet
8335 # (copied from glib-gettext.m4)
8336 if test -z "$DATADIRNAME"; then
8337 cat >conftest.
$ac_ext <<_ACEOF
8340 cat confdefs.h
>>conftest.
$ac_ext
8341 cat >>conftest.
$ac_ext <<_ACEOF
8342 /* end confdefs.h. */
8347 extern int _nl_msg_cat_cntr;
8348 return _nl_msg_cat_cntr
8353 rm -f conftest.
$ac_objext conftest
$ac_exeext
8354 if { (ac_try
="$ac_link"
8356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8357 *) ac_try_echo=$ac_try;;
8359 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8360 $as_echo "$ac_try_echo") >&5
8361 (eval "$ac_link") 2>conftest.er1
8363 grep -v '^ *+' conftest.er1 >conftest.err
8365 cat conftest.err >&5
8366 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); } && {
8368 test -z "$ac_c_werror_flag" ||
8369 test ! -s conftest.err
8370 } && test -s conftest$ac_exeext && {
8371 test "$cross_compiling" = yes ||
8372 $as_test_x conftest$ac_exeext
8376 $as_echo "$as_me: failed program was:" >&5
8377 sed 's/^/| /' conftest.$ac_ext >&5
8381 { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
8382 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
8383 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
8384 $as_echo_n "(cached) " >&6
8386 cat >conftest.$ac_ext <<_ACEOF
8389 cat confdefs.h >>conftest.$ac_ext
8390 cat >>conftest.$ac_ext <<_ACEOF
8391 /* end confdefs.h. */
8392 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
8393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8394 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
8396 /* System header to define __stub macros and hopefully few prototypes,
8397 which can conflict with char bind_textdomain_codeset (); below.
8398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8399 <limits.h> exists even on freestanding compilers. */
8402 # include <limits.h>
8404 # include <assert.h>
8407 #undef bind_textdomain_codeset
8409 /* Override any GCC internal prototype to avoid an error.
8410 Use char because int might match the return type of a GCC
8411 builtin and then its argument prototype would still apply. */
8415 char bind_textdomain_codeset ();
8416 /* The GNU C library defines this for functions which it implements
8417 to always fail with ENOSYS. Some functions are actually named
8418 something starting with __ and the normal name is an alias. */
8419 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
8426 return bind_textdomain_codeset ();
8431 rm -f conftest.$ac_objext conftest$ac_exeext
8432 if { (ac_try="$ac_link"
8434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8435 *) ac_try_echo
=$ac_try;;
8437 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8438 $as_echo "$ac_try_echo") >&5
8439 (eval "$ac_link") 2>conftest.er1
8441 grep -v '^ *+' conftest.er1
>conftest.err
8443 cat conftest.err
>&5
8444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); } && {
8446 test -z "$ac_c_werror_flag" ||
8447 test ! -s conftest.err
8448 } && test -s conftest
$ac_exeext && {
8449 test "$cross_compiling" = yes ||
8450 $as_test_x conftest
$ac_exeext
8452 ac_cv_func_bind_textdomain_codeset
=yes
8454 $as_echo "$as_me: failed program was:" >&5
8455 sed 's/^/| /' conftest.
$ac_ext >&5
8457 ac_cv_func_bind_textdomain_codeset
=no
8460 rm -rf conftest.dSYM
8461 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8462 conftest
$ac_exeext conftest.
$ac_ext
8464 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
8465 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
8466 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then
8479 rm -rf conftest.dSYM
8480 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8481 conftest
$ac_exeext conftest.
$ac_ext
8491 { $as_echo "$as_me:$LINENO: checking for g_malloc0 in -lglib-2.0" >&5
8492 $as_echo_n "checking for g_malloc0 in -lglib-2.0... " >&6; }
8493 if test "${ac_cv_lib_glib_2_0_g_malloc0+set}" = set; then
8494 $as_echo_n "(cached) " >&6
8496 ac_check_lib_save_LIBS
=$LIBS
8497 LIBS
="-lglib-2.0 $LIBS"
8498 cat >conftest.
$ac_ext <<_ACEOF
8501 cat confdefs.h
>>conftest.
$ac_ext
8502 cat >>conftest.
$ac_ext <<_ACEOF
8503 /* end confdefs.h. */
8505 /* Override any GCC internal prototype to avoid an error.
8506 Use char because int might match the return type of a GCC
8507 builtin and then its argument prototype would still apply. */
8515 return g_malloc0 ();
8520 rm -f conftest.
$ac_objext conftest
$ac_exeext
8521 if { (ac_try
="$ac_link"
8523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8524 *) ac_try_echo=$ac_try;;
8526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8527 $as_echo "$ac_try_echo") >&5
8528 (eval "$ac_link") 2>conftest.er1
8530 grep -v '^ *+' conftest.er1 >conftest.err
8532 cat conftest.err >&5
8533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534 (exit $ac_status); } && {
8535 test -z "$ac_c_werror_flag" ||
8536 test ! -s conftest.err
8537 } && test -s conftest$ac_exeext && {
8538 test "$cross_compiling" = yes ||
8539 $as_test_x conftest$ac_exeext
8541 ac_cv_lib_glib_2_0_g_malloc0=yes
8543 $as_echo "$as_me: failed program was:" >&5
8544 sed 's/^/| /' conftest.$ac_ext >&5
8546 ac_cv_lib_glib_2_0_g_malloc0=no
8549 rm -rf conftest.dSYM
8550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8551 conftest$ac_exeext conftest.$ac_ext
8552 LIBS=$ac_check_lib_save_LIBS
8554 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_glib_2_0_g_malloc0" >&5
8555 $as_echo "$ac_cv_lib_glib_2_0_g_malloc0" >&6; }
8556 if test "x$ac_cv_lib_glib_2_0_g_malloc0" = x""yes; then
8557 cat >>confdefs.h <<_ACEOF
8558 #define HAVE_LIBGLIB_2_0 1
8561 LIBS="-lglib-2.0 $LIBS"
8564 { { $as_echo "$as_me:$LINENO: error: \"libglib not installed\"" >&5
8565 $as_echo "$as_me: error: \"libglib not installed\"" >&2;}
8566 { (exit 1); exit 1; }; }
8573 { $as_echo "$as_me:$LINENO: checking for fftw_plan_dft_r2c_2d in -lfftw3" >&5
8574 $as_echo_n "checking for fftw_plan_dft_r2c_2d in -lfftw3... " >&6; }
8575 if test "${ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d+set}" = set; then
8576 $as_echo_n "(cached) " >&6
8578 ac_check_lib_save_LIBS=$LIBS
8579 LIBS="-lfftw3 $LIBS"
8580 cat >conftest.$ac_ext <<_ACEOF
8583 cat confdefs.h >>conftest.$ac_ext
8584 cat >>conftest.$ac_ext <<_ACEOF
8585 /* end confdefs.h. */
8587 /* Override any GCC internal prototype to avoid an error.
8588 Use char because int might match the return type of a GCC
8589 builtin and then its argument prototype would still apply. */
8593 char fftw_plan_dft_r2c_2d ();
8597 return fftw_plan_dft_r2c_2d ();
8602 rm -f conftest.$ac_objext conftest$ac_exeext
8603 if { (ac_try="$ac_link"
8605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8606 *) ac_try_echo
=$ac_try;;
8608 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8609 $as_echo "$ac_try_echo") >&5
8610 (eval "$ac_link") 2>conftest.er1
8612 grep -v '^ *+' conftest.er1
>conftest.err
8614 cat conftest.err
>&5
8615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616 (exit $ac_status); } && {
8617 test -z "$ac_c_werror_flag" ||
8618 test ! -s conftest.err
8619 } && test -s conftest
$ac_exeext && {
8620 test "$cross_compiling" = yes ||
8621 $as_test_x conftest
$ac_exeext
8623 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d
=yes
8625 $as_echo "$as_me: failed program was:" >&5
8626 sed 's/^/| /' conftest.
$ac_ext >&5
8628 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d
=no
8631 rm -rf conftest.dSYM
8632 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8633 conftest
$ac_exeext conftest.
$ac_ext
8634 LIBS
=$ac_check_lib_save_LIBS
8636 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&5
8637 $as_echo "$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&6; }
8638 if test "x$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" = x
""yes; then
8639 cat >>confdefs.h
<<_ACEOF
8640 #define HAVE_LIBFFTW3 1
8643 LIBS
="-lfftw3 $LIBS"
8646 { { $as_echo "$as_me:$LINENO: error: \"libfftw3 not installed\"" >&5
8647 $as_echo "$as_me: error: \"libfftw3 not installed\"" >&2;}
8648 { (exit 1); exit 1; }; }
8653 { $as_echo "$as_me:$LINENO: checking for main in -lgslcblas" >&5
8654 $as_echo_n "checking for main in -lgslcblas... " >&6; }
8655 if test "${ac_cv_lib_gslcblas_main+set}" = set; then
8656 $as_echo_n "(cached) " >&6
8658 ac_check_lib_save_LIBS
=$LIBS
8659 LIBS
="-lgslcblas $LIBS"
8660 cat >conftest.
$ac_ext <<_ACEOF
8663 cat confdefs.h
>>conftest.
$ac_ext
8664 cat >>conftest.
$ac_ext <<_ACEOF
8665 /* end confdefs.h. */
8676 rm -f conftest.
$ac_objext conftest
$ac_exeext
8677 if { (ac_try
="$ac_link"
8679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8680 *) ac_try_echo=$ac_try;;
8682 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8683 $as_echo "$ac_try_echo") >&5
8684 (eval "$ac_link") 2>conftest.er1
8686 grep -v '^ *+' conftest.er1 >conftest.err
8688 cat conftest.err >&5
8689 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690 (exit $ac_status); } && {
8691 test -z "$ac_c_werror_flag" ||
8692 test ! -s conftest.err
8693 } && test -s conftest$ac_exeext && {
8694 test "$cross_compiling" = yes ||
8695 $as_test_x conftest$ac_exeext
8697 ac_cv_lib_gslcblas_main=yes
8699 $as_echo "$as_me: failed program was:" >&5
8700 sed 's/^/| /' conftest.$ac_ext >&5
8702 ac_cv_lib_gslcblas_main=no
8705 rm -rf conftest.dSYM
8706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8707 conftest$ac_exeext conftest.$ac_ext
8708 LIBS=$ac_check_lib_save_LIBS
8710 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gslcblas_main" >&5
8711 $as_echo "$ac_cv_lib_gslcblas_main" >&6; }
8712 if test "x$ac_cv_lib_gslcblas_main" = x""yes; then
8713 cat >>confdefs.h <<_ACEOF
8714 #define HAVE_LIBGSLCBLAS 1
8717 LIBS="-lgslcblas $LIBS"
8720 { { $as_echo "$as_me:$LINENO: error: \"libgslcblas not installed\"" >&5
8721 $as_echo "$as_me: error: \"libgslcblas not installed\"" >&2;}
8722 { (exit 1); exit 1; }; }
8727 { $as_echo "$as_me:$LINENO: checking for main in -lgsl" >&5
8728 $as_echo_n "checking for main in -lgsl... " >&6; }
8729 if test "${ac_cv_lib_gsl_main+set}" = set; then
8730 $as_echo_n "(cached) " >&6
8732 ac_check_lib_save_LIBS=$LIBS
8734 cat >conftest.$ac_ext <<_ACEOF
8737 cat confdefs.h >>conftest.$ac_ext
8738 cat >>conftest.$ac_ext <<_ACEOF
8739 /* end confdefs.h. */
8750 rm -f conftest.$ac_objext conftest$ac_exeext
8751 if { (ac_try="$ac_link"
8753 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8754 *) ac_try_echo
=$ac_try;;
8756 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8757 $as_echo "$ac_try_echo") >&5
8758 (eval "$ac_link") 2>conftest.er1
8760 grep -v '^ *+' conftest.er1
>conftest.err
8762 cat conftest.err
>&5
8763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8764 (exit $ac_status); } && {
8765 test -z "$ac_c_werror_flag" ||
8766 test ! -s conftest.err
8767 } && test -s conftest
$ac_exeext && {
8768 test "$cross_compiling" = yes ||
8769 $as_test_x conftest
$ac_exeext
8771 ac_cv_lib_gsl_main
=yes
8773 $as_echo "$as_me: failed program was:" >&5
8774 sed 's/^/| /' conftest.
$ac_ext >&5
8776 ac_cv_lib_gsl_main
=no
8779 rm -rf conftest.dSYM
8780 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8781 conftest
$ac_exeext conftest.
$ac_ext
8782 LIBS
=$ac_check_lib_save_LIBS
8784 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gsl_main" >&5
8785 $as_echo "$ac_cv_lib_gsl_main" >&6; }
8786 if test "x$ac_cv_lib_gsl_main" = x
""yes; then
8787 cat >>confdefs.h
<<_ACEOF
8788 #define HAVE_LIBGSL 1
8794 { { $as_echo "$as_me:$LINENO: error: \"libgsl not installed\"" >&5
8795 $as_echo "$as_me: error: \"libgsl not installed\"" >&2;}
8796 { (exit 1); exit 1; }; }
8801 # Check whether --enable-mpi was given.
8802 if test "${enable_mpi+set}" = set; then
8803 enableval
=$enable_mpi; ENABLE_MPI
="-DENABLE_MPI"
8809 # Check whether --enable-rr was given.
8810 if test "${enable_rr+set}" = set; then
8811 enableval
=$enable_rr; ENABLE_MPI_RR
="-DENABLE_MPI_RR"
8817 if test "${ENABLE_MPI}" == '-DENABLE_MPI'; then
8819 if test "${ac_cv_header_mpi_mpi_h+set}" = set; then
8820 { $as_echo "$as_me:$LINENO: checking for mpi/mpi.h" >&5
8821 $as_echo_n "checking for mpi/mpi.h... " >&6; }
8822 if test "${ac_cv_header_mpi_mpi_h+set}" = set; then
8823 $as_echo_n "(cached) " >&6
8825 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_mpi_mpi_h" >&5
8826 $as_echo "$ac_cv_header_mpi_mpi_h" >&6; }
8828 # Is the header compilable?
8829 { $as_echo "$as_me:$LINENO: checking mpi/mpi.h usability" >&5
8830 $as_echo_n "checking mpi/mpi.h usability... " >&6; }
8831 cat >conftest.
$ac_ext <<_ACEOF
8834 cat confdefs.h
>>conftest.
$ac_ext
8835 cat >>conftest.
$ac_ext <<_ACEOF
8836 /* end confdefs.h. */
8837 $ac_includes_default
8838 #include <mpi/mpi.h>
8840 rm -f conftest.
$ac_objext
8841 if { (ac_try
="$ac_compile"
8843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8844 *) ac_try_echo=$ac_try;;
8846 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8847 $as_echo "$ac_try_echo") >&5
8848 (eval "$ac_compile") 2>conftest.er1
8850 grep -v '^ *+' conftest.er1 >conftest.err
8852 cat conftest.err >&5
8853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854 (exit $ac_status); } && {
8855 test -z "$ac_c_werror_flag" ||
8856 test ! -s conftest.err
8857 } && test -s conftest.$ac_objext; then
8858 ac_header_compiler=yes
8860 $as_echo "$as_me: failed program was:" >&5
8861 sed 's/^/| /' conftest.$ac_ext >&5
8863 ac_header_compiler=no
8866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8867 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8868 $as_echo "$ac_header_compiler" >&6; }
8870 # Is the header present?
8871 { $as_echo "$as_me:$LINENO: checking mpi/mpi.h presence" >&5
8872 $as_echo_n "checking mpi/mpi.h presence... " >&6; }
8873 cat >conftest.$ac_ext <<_ACEOF
8876 cat confdefs.h >>conftest.$ac_ext
8877 cat >>conftest.$ac_ext <<_ACEOF
8878 /* end confdefs.h. */
8879 #include <mpi/mpi.h>
8881 if { (ac_try="$ac_cpp conftest.$ac_ext"
8883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8884 *) ac_try_echo
=$ac_try;;
8886 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8887 $as_echo "$ac_try_echo") >&5
8888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8890 grep -v '^ *+' conftest.er1
>conftest.err
8892 cat conftest.err
>&5
8893 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); } >/dev
/null
&& {
8895 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8896 test ! -s conftest.err
8898 ac_header_preproc
=yes
8900 $as_echo "$as_me: failed program was:" >&5
8901 sed 's/^/| /' conftest.
$ac_ext >&5
8903 ac_header_preproc
=no
8906 rm -f conftest.err conftest.
$ac_ext
8907 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8908 $as_echo "$ac_header_preproc" >&6; }
8910 # So? What about this header?
8911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8913 { $as_echo "$as_me:$LINENO: WARNING: mpi/mpi.h: accepted by the compiler, rejected by the preprocessor!" >&5
8914 $as_echo "$as_me: WARNING: mpi/mpi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8915 { $as_echo "$as_me:$LINENO: WARNING: mpi/mpi.h: proceeding with the compiler's result" >&5
8916 $as_echo "$as_me: WARNING: mpi/mpi.h: proceeding with the compiler's result" >&2;}
8917 ac_header_preproc
=yes
8920 { $as_echo "$as_me:$LINENO: WARNING: mpi/mpi.h: present but cannot be compiled" >&5
8921 $as_echo "$as_me: WARNING: mpi/mpi.h: present but cannot be compiled" >&2;}
8922 { $as_echo "$as_me:$LINENO: WARNING: mpi/mpi.h: check for missing prerequisite headers?" >&5
8923 $as_echo "$as_me: WARNING: mpi/mpi.h: check for missing prerequisite headers?" >&2;}
8924 { $as_echo "$as_me:$LINENO: WARNING: mpi/mpi.h: see the Autoconf documentation" >&5
8925 $as_echo "$as_me: WARNING: mpi/mpi.h: see the Autoconf documentation" >&2;}
8926 { $as_echo "$as_me:$LINENO: WARNING: mpi/mpi.h: section \"Present But Cannot Be Compiled\"" >&5
8927 $as_echo "$as_me: WARNING: mpi/mpi.h: section \"Present But Cannot Be Compiled\"" >&2;}
8928 { $as_echo "$as_me:$LINENO: WARNING: mpi/mpi.h: proceeding with the preprocessor's result" >&5
8929 $as_echo "$as_me: WARNING: mpi/mpi.h: proceeding with the preprocessor's result" >&2;}
8930 { $as_echo "$as_me:$LINENO: WARNING: mpi/mpi.h: in the future, the compiler will take precedence" >&5
8931 $as_echo "$as_me: WARNING: mpi/mpi.h: in the future, the compiler will take precedence" >&2;}
8933 ## ------------------------------------------------------------------- ##
8934 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
8935 ## ------------------------------------------------------------------- ##
8937 ) |
sed "s/^/$as_me: WARNING: /" >&2
8940 { $as_echo "$as_me:$LINENO: checking for mpi/mpi.h" >&5
8941 $as_echo_n "checking for mpi/mpi.h... " >&6; }
8942 if test "${ac_cv_header_mpi_mpi_h+set}" = set; then
8943 $as_echo_n "(cached) " >&6
8945 ac_cv_header_mpi_mpi_h
=$ac_header_preproc
8947 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_mpi_mpi_h" >&5
8948 $as_echo "$ac_cv_header_mpi_mpi_h" >&6; }
8951 if test "x$ac_cv_header_mpi_mpi_h" = x
""yes; then
8954 { { $as_echo "$as_me:$LINENO: error: \"mpi.h is not installed\"" >&5
8955 $as_echo "$as_me: error: \"mpi.h is not installed\"" >&2;}
8956 { (exit 1); exit 1; }; }
8961 # Extract the first word of "mpirun", so it can be a program name with args.
8962 set dummy mpirun
; ac_word
=$2
8963 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8964 $as_echo_n "checking for $ac_word... " >&6; }
8965 if test "${ac_cv_prog_MPIRUN+set}" = set; then
8966 $as_echo_n "(cached) " >&6
8968 if test -n "$MPIRUN"; then
8969 ac_cv_prog_MPIRUN
="$MPIRUN" # Let the user override the test.
8971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8975 test -z "$as_dir" && as_dir
=.
8976 for ac_exec_ext
in '' $ac_executable_extensions; do
8977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8978 ac_cv_prog_MPIRUN
="true"
8979 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8986 test -z "$ac_cv_prog_MPIRUN" && ac_cv_prog_MPIRUN
="false"
8989 MPIRUN
=$ac_cv_prog_MPIRUN
8990 if test -n "$MPIRUN"; then
8991 { $as_echo "$as_me:$LINENO: result: $MPIRUN" >&5
8992 $as_echo "$MPIRUN" >&6; }
8994 { $as_echo "$as_me:$LINENO: result: no" >&5
8995 $as_echo "no" >&6; }
8999 if test x
$MPIRUN = xfalse
; then
9000 { { $as_echo "$as_me:$LINENO: error: \"missing mpirun \
9001 Needed by gpiv when --enable-mpi\"" >&5
9002 $as_echo "$as_me: error: \"missing mpirun \
9003 Needed by gpiv when --enable-mpi\"" >&2;}
9004 { (exit 1); exit 1; }; }
9007 if test "${ENABLE_MPI_RR}" == '-DENABLE_MPI_RR'; then
9008 # Extract the first word of "gpiv_rr", so it can be a program name with args.
9009 set dummy gpiv_rr
; ac_word
=$2
9010 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9011 $as_echo_n "checking for $ac_word... " >&6; }
9012 if test "${ac_cv_prog_RR+set}" = set; then
9013 $as_echo_n "(cached) " >&6
9015 if test -n "$RR"; then
9016 ac_cv_prog_RR
="$RR" # Let the user override the test.
9018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9022 test -z "$as_dir" && as_dir
=.
9023 for ac_exec_ext
in '' $ac_executable_extensions; do
9024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9025 ac_cv_prog_RR
="true"
9026 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9033 test -z "$ac_cv_prog_RR" && ac_cv_prog_RR
="false"
9037 if test -n "$RR"; then
9038 { $as_echo "$as_me:$LINENO: result: $RR" >&5
9039 $as_echo "$RR" >&6; }
9041 { $as_echo "$as_me:$LINENO: result: no" >&5
9042 $as_echo "no" >&6; }
9046 if test x
$RR = xfalse
; then
9047 { { $as_echo "$as_me:$LINENO: error: \"missing mpi-enabled gpiv_rr from gpivtools. \
9048 Needed by gpiv when --enable-mpi.\"" >&5
9049 $as_echo "$as_me: error: \"missing mpi-enabled gpiv_rr from gpivtools. \
9050 Needed by gpiv when --enable-mpi.\"" >&2;}
9051 { (exit 1); exit 1; }; }
9054 echo "WARNING: Not checking on MPI-enabled gpiv_rr"
9058 { $as_echo "$as_me:$LINENO: checking for gpiv_piv_mpi_bcast_pivpar in -lgpiv_mpi" >&5
9059 $as_echo_n "checking for gpiv_piv_mpi_bcast_pivpar in -lgpiv_mpi... " >&6; }
9060 if test "${ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar+set}" = set; then
9061 $as_echo_n "(cached) " >&6
9063 ac_check_lib_save_LIBS
=$LIBS
9064 LIBS
="-lgpiv_mpi $LIBS"
9065 cat >conftest.
$ac_ext <<_ACEOF
9068 cat confdefs.h
>>conftest.
$ac_ext
9069 cat >>conftest.
$ac_ext <<_ACEOF
9070 /* end confdefs.h. */
9072 /* Override any GCC internal prototype to avoid an error.
9073 Use char because int might match the return type of a GCC
9074 builtin and then its argument prototype would still apply. */
9078 char gpiv_piv_mpi_bcast_pivpar ();
9082 return gpiv_piv_mpi_bcast_pivpar ();
9087 rm -f conftest.
$ac_objext conftest
$ac_exeext
9088 if { (ac_try
="$ac_link"
9090 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9091 *) ac_try_echo=$ac_try;;
9093 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9094 $as_echo "$ac_try_echo") >&5
9095 (eval "$ac_link") 2>conftest.er1
9097 grep -v '^ *+' conftest.er1 >conftest.err
9099 cat conftest.err >&5
9100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101 (exit $ac_status); } && {
9102 test -z "$ac_c_werror_flag" ||
9103 test ! -s conftest.err
9104 } && test -s conftest$ac_exeext && {
9105 test "$cross_compiling" = yes ||
9106 $as_test_x conftest$ac_exeext
9108 ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar=yes
9110 $as_echo "$as_me: failed program was:" >&5
9111 sed 's/^/| /' conftest.$ac_ext >&5
9113 ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar=no
9116 rm -rf conftest.dSYM
9117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9118 conftest$ac_exeext conftest.$ac_ext
9119 LIBS=$ac_check_lib_save_LIBS
9121 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar" >&5
9122 $as_echo "$ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar" >&6; }
9123 if test "x$ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar" = x""yes; then
9124 cat >>confdefs.h <<_ACEOF
9125 #define HAVE_LIBGPIV_MPI 1
9128 LIBS="-lgpiv_mpi $LIBS"
9131 { { $as_echo "$as_me:$LINENO: error: \"gpiv_piv_mpi_bcast_pivpar is not working in libgpiv_mpi. \
9132 Enable MPI in libgpiv or disable it here by leaving out --enable-mpi during ./configure\"" >&5
9133 $as_echo "$as_me: error: \"gpiv_piv_mpi_bcast_pivpar is not working in libgpiv_mpi. \
9134 Enable MPI in libgpiv or disable it here by leaving out --enable-mpi during ./configure\"" >&2;}
9135 { (exit 1); exit 1; }; }
9141 { $as_echo "$as_me:$LINENO: checking for gpiv_piv_interrogate_img in -lgpiv" >&5
9142 $as_echo_n "checking for gpiv_piv_interrogate_img in -lgpiv... " >&6; }
9143 if test "${ac_cv_lib_gpiv_gpiv_piv_interrogate_img+set}" = set; then
9144 $as_echo_n "(cached) " >&6
9146 ac_check_lib_save_LIBS=$LIBS
9148 cat >conftest.$ac_ext <<_ACEOF
9151 cat confdefs.h >>conftest.$ac_ext
9152 cat >>conftest.$ac_ext <<_ACEOF
9153 /* end confdefs.h. */
9155 /* Override any GCC internal prototype to avoid an error.
9156 Use char because int might match the return type of a GCC
9157 builtin and then its argument prototype would still apply. */
9161 char gpiv_piv_interrogate_img ();
9165 return gpiv_piv_interrogate_img ();
9170 rm -f conftest.$ac_objext conftest$ac_exeext
9171 if { (ac_try="$ac_link"
9173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9174 *) ac_try_echo
=$ac_try;;
9176 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9177 $as_echo "$ac_try_echo") >&5
9178 (eval "$ac_link") 2>conftest.er1
9180 grep -v '^ *+' conftest.er1
>conftest.err
9182 cat conftest.err
>&5
9183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); } && {
9185 test -z "$ac_c_werror_flag" ||
9186 test ! -s conftest.err
9187 } && test -s conftest
$ac_exeext && {
9188 test "$cross_compiling" = yes ||
9189 $as_test_x conftest
$ac_exeext
9191 ac_cv_lib_gpiv_gpiv_piv_interrogate_img
=yes
9193 $as_echo "$as_me: failed program was:" >&5
9194 sed 's/^/| /' conftest.
$ac_ext >&5
9196 ac_cv_lib_gpiv_gpiv_piv_interrogate_img
=no
9199 rm -rf conftest.dSYM
9200 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9201 conftest
$ac_exeext conftest.
$ac_ext
9202 LIBS
=$ac_check_lib_save_LIBS
9204 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_piv_interrogate_img" >&5
9205 $as_echo "$ac_cv_lib_gpiv_gpiv_piv_interrogate_img" >&6; }
9206 if test "x$ac_cv_lib_gpiv_gpiv_piv_interrogate_img" = x
""yes; then
9207 cat >>confdefs.h
<<_ACEOF
9208 #define HAVE_LIBGPIV 1
9214 { { $as_echo "$as_me:$LINENO: error: libgpiv has not been installed" >&5
9215 $as_echo "$as_me: error: libgpiv has not been installed" >&2;}
9216 { (exit 1); exit 1; }; }
9227 for ac_header
in stdlib.h string.h unistd.h fftw3.h gpiv.h
9229 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9230 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9231 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9232 $as_echo_n "checking for $ac_header... " >&6; }
9233 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9234 $as_echo_n "(cached) " >&6
9236 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9237 $as_echo "$as_val"'`
9238 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9239 $as_echo "$ac_res" >&6; }
9241 # Is the header compilable?
9242 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9243 $as_echo_n "checking $ac_header usability... " >&6; }
9244 cat >conftest.
$ac_ext <<_ACEOF
9247 cat confdefs.h
>>conftest.
$ac_ext
9248 cat >>conftest.
$ac_ext <<_ACEOF
9249 /* end confdefs.h. */
9250 $ac_includes_default
9251 #include <$ac_header>
9253 rm -f conftest.
$ac_objext
9254 if { (ac_try
="$ac_compile"
9256 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9257 *) ac_try_echo=$ac_try;;
9259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9260 $as_echo "$ac_try_echo") >&5
9261 (eval "$ac_compile") 2>conftest.er1
9263 grep -v '^ *+' conftest.er1 >conftest.err
9265 cat conftest.err >&5
9266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); } && {
9268 test -z "$ac_c_werror_flag" ||
9269 test ! -s conftest.err
9270 } && test -s conftest.$ac_objext; then
9271 ac_header_compiler=yes
9273 $as_echo "$as_me: failed program was:" >&5
9274 sed 's/^/| /' conftest.$ac_ext >&5
9276 ac_header_compiler=no
9279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9280 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9281 $as_echo "$ac_header_compiler" >&6; }
9283 # Is the header present?
9284 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9285 $as_echo_n "checking $ac_header presence... " >&6; }
9286 cat >conftest.$ac_ext <<_ACEOF
9289 cat confdefs.h >>conftest.$ac_ext
9290 cat >>conftest.$ac_ext <<_ACEOF
9291 /* end confdefs.h. */
9292 #include <$ac_header>
9294 if { (ac_try="$ac_cpp conftest.$ac_ext"
9296 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9297 *) ac_try_echo
=$ac_try;;
9299 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9300 $as_echo "$ac_try_echo") >&5
9301 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9303 grep -v '^ *+' conftest.er1
>conftest.err
9305 cat conftest.err
>&5
9306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); } >/dev
/null
&& {
9308 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9309 test ! -s conftest.err
9311 ac_header_preproc
=yes
9313 $as_echo "$as_me: failed program was:" >&5
9314 sed 's/^/| /' conftest.
$ac_ext >&5
9316 ac_header_preproc
=no
9319 rm -f conftest.err conftest.
$ac_ext
9320 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9321 $as_echo "$ac_header_preproc" >&6; }
9323 # So? What about this header?
9324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9326 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9327 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9328 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9329 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9330 ac_header_preproc
=yes
9333 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9334 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9335 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9336 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9337 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9338 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9339 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9340 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9341 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9342 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9343 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9344 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9346 ## ------------------------------------------------------------------- ##
9347 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
9348 ## ------------------------------------------------------------------- ##
9350 ) |
sed "s/^/$as_me: WARNING: /" >&2
9353 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9354 $as_echo_n "checking for $ac_header... " >&6; }
9355 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9356 $as_echo_n "(cached) " >&6
9358 eval "$as_ac_Header=\$ac_header_preproc"
9360 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9361 $as_echo "$as_val"'`
9362 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9363 $as_echo "$ac_res" >&6; }
9366 as_val
=`eval 'as_val=${'$as_ac_Header'}
9367 $as_echo "$as_val"'`
9368 if test "x$as_val" = x
""yes; then
9369 cat >>confdefs.h
<<_ACEOF
9370 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9378 # Check whether --enable-cam was given.
9379 if test "${enable_cam+set}" = set; then
9380 enableval
=$enable_cam; ENABLE_CAM
="-DENABLE_CAM"
9387 # Check whether --enable-trig was given.
9388 if test "${enable_trig+set}" = set; then
9389 enableval
=$enable_trig; ENABLE_TRIG
="-DENABLE_TRIG"
9396 if test $ENABLE_CAM ||
test $ENABLE_TRIG; then
9397 ENABLE_DAC
="-DENABLE_DAC"
9401 if test "${ENABLE_CAM}" == '-DENABLE_CAM'; then
9403 { $as_echo "$as_me:$LINENO: checking for gpiv_cam_get_camvar in -lgpiv" >&5
9404 $as_echo_n "checking for gpiv_cam_get_camvar in -lgpiv... " >&6; }
9405 if test "${ac_cv_lib_gpiv_gpiv_cam_get_camvar+set}" = set; then
9406 $as_echo_n "(cached) " >&6
9408 ac_check_lib_save_LIBS
=$LIBS
9410 cat >conftest.
$ac_ext <<_ACEOF
9413 cat confdefs.h
>>conftest.
$ac_ext
9414 cat >>conftest.
$ac_ext <<_ACEOF
9415 /* end confdefs.h. */
9417 /* Override any GCC internal prototype to avoid an error.
9418 Use char because int might match the return type of a GCC
9419 builtin and then its argument prototype would still apply. */
9423 char gpiv_cam_get_camvar ();
9427 return gpiv_cam_get_camvar ();
9432 rm -f conftest.
$ac_objext conftest
$ac_exeext
9433 if { (ac_try
="$ac_link"
9435 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9436 *) ac_try_echo=$ac_try;;
9438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9439 $as_echo "$ac_try_echo") >&5
9440 (eval "$ac_link") 2>conftest.er1
9442 grep -v '^ *+' conftest.er1 >conftest.err
9444 cat conftest.err >&5
9445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9446 (exit $ac_status); } && {
9447 test -z "$ac_c_werror_flag" ||
9448 test ! -s conftest.err
9449 } && test -s conftest$ac_exeext && {
9450 test "$cross_compiling" = yes ||
9451 $as_test_x conftest$ac_exeext
9453 ac_cv_lib_gpiv_gpiv_cam_get_camvar=yes
9455 $as_echo "$as_me: failed program was:" >&5
9456 sed 's/^/| /' conftest.$ac_ext >&5
9458 ac_cv_lib_gpiv_gpiv_cam_get_camvar=no
9461 rm -rf conftest.dSYM
9462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9463 conftest$ac_exeext conftest.$ac_ext
9464 LIBS=$ac_check_lib_save_LIBS
9466 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&5
9467 $as_echo "$ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&6; }
9468 if test "x$ac_cv_lib_gpiv_gpiv_cam_get_camvar" = x""yes; then
9469 cat >>confdefs.h <<_ACEOF
9470 #define HAVE_LIBGPIV 1
9476 { { $as_echo "$as_me:$LINENO: error: \"(IEEE-1394) camera is not working in libgpiv. \
9477 Enable (IEEE-1394) camera in libgpiv or disable it here by leaving out --enable-cam during ./configure\"" >&5
9478 $as_echo "$as_me: error: \"(IEEE-1394) camera is not working in libgpiv. \
9479 Enable (IEEE-1394) camera in libgpiv or disable it here by leaving out --enable-cam during ./configure\"" >&2;}
9480 { (exit 1); exit 1; }; }
9485 { $as_echo "$as_me:$LINENO: checking for raw1394_destroy_handle in -lraw1394" >&5
9486 $as_echo_n "checking for raw1394_destroy_handle in -lraw1394... " >&6; }
9487 if test "${ac_cv_lib_raw1394_raw1394_destroy_handle+set}" = set; then
9488 $as_echo_n "(cached) " >&6
9490 ac_check_lib_save_LIBS=$LIBS
9491 LIBS="-lraw1394 $LIBS"
9492 cat >conftest.$ac_ext <<_ACEOF
9495 cat confdefs.h >>conftest.$ac_ext
9496 cat >>conftest.$ac_ext <<_ACEOF
9497 /* end confdefs.h. */
9499 /* Override any GCC internal prototype to avoid an error.
9500 Use char because int might match the return type of a GCC
9501 builtin and then its argument prototype would still apply. */
9505 char raw1394_destroy_handle ();
9509 return raw1394_destroy_handle ();
9514 rm -f conftest.$ac_objext conftest$ac_exeext
9515 if { (ac_try="$ac_link"
9517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9518 *) ac_try_echo
=$ac_try;;
9520 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9521 $as_echo "$ac_try_echo") >&5
9522 (eval "$ac_link") 2>conftest.er1
9524 grep -v '^ *+' conftest.er1
>conftest.err
9526 cat conftest.err
>&5
9527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9528 (exit $ac_status); } && {
9529 test -z "$ac_c_werror_flag" ||
9530 test ! -s conftest.err
9531 } && test -s conftest
$ac_exeext && {
9532 test "$cross_compiling" = yes ||
9533 $as_test_x conftest
$ac_exeext
9535 ac_cv_lib_raw1394_raw1394_destroy_handle
=yes
9537 $as_echo "$as_me: failed program was:" >&5
9538 sed 's/^/| /' conftest.
$ac_ext >&5
9540 ac_cv_lib_raw1394_raw1394_destroy_handle
=no
9543 rm -rf conftest.dSYM
9544 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9545 conftest
$ac_exeext conftest.
$ac_ext
9546 LIBS
=$ac_check_lib_save_LIBS
9548 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_raw1394_raw1394_destroy_handle" >&5
9549 $as_echo "$ac_cv_lib_raw1394_raw1394_destroy_handle" >&6; }
9550 if test "x$ac_cv_lib_raw1394_raw1394_destroy_handle" = x
""yes; then
9551 cat >>confdefs.h
<<_ACEOF
9552 #define HAVE_LIBRAW1394 1
9555 LIBS
="-lraw1394 $LIBS"
9558 { { $as_echo "$as_me:$LINENO: error: \"libraw1394 not installed\"" >&5
9559 $as_echo "$as_me: error: \"libraw1394 not installed\"" >&2;}
9560 { (exit 1); exit 1; }; }
9565 { $as_echo "$as_me:$LINENO: checking for dc1394_create_handle in -ldc1394_control" >&5
9566 $as_echo_n "checking for dc1394_create_handle in -ldc1394_control... " >&6; }
9567 if test "${ac_cv_lib_dc1394_control_dc1394_create_handle+set}" = set; then
9568 $as_echo_n "(cached) " >&6
9570 ac_check_lib_save_LIBS
=$LIBS
9571 LIBS
="-ldc1394_control $LIBS"
9572 cat >conftest.
$ac_ext <<_ACEOF
9575 cat confdefs.h
>>conftest.
$ac_ext
9576 cat >>conftest.
$ac_ext <<_ACEOF
9577 /* end confdefs.h. */
9579 /* Override any GCC internal prototype to avoid an error.
9580 Use char because int might match the return type of a GCC
9581 builtin and then its argument prototype would still apply. */
9585 char dc1394_create_handle ();
9589 return dc1394_create_handle ();
9594 rm -f conftest.
$ac_objext conftest
$ac_exeext
9595 if { (ac_try
="$ac_link"
9597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9598 *) ac_try_echo=$ac_try;;
9600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9601 $as_echo "$ac_try_echo") >&5
9602 (eval "$ac_link") 2>conftest.er1
9604 grep -v '^ *+' conftest.er1 >conftest.err
9606 cat conftest.err >&5
9607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608 (exit $ac_status); } && {
9609 test -z "$ac_c_werror_flag" ||
9610 test ! -s conftest.err
9611 } && test -s conftest$ac_exeext && {
9612 test "$cross_compiling" = yes ||
9613 $as_test_x conftest$ac_exeext
9615 ac_cv_lib_dc1394_control_dc1394_create_handle=yes
9617 $as_echo "$as_me: failed program was:" >&5
9618 sed 's/^/| /' conftest.$ac_ext >&5
9620 ac_cv_lib_dc1394_control_dc1394_create_handle=no
9623 rm -rf conftest.dSYM
9624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9625 conftest$ac_exeext conftest.$ac_ext
9626 LIBS=$ac_check_lib_save_LIBS
9628 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dc1394_control_dc1394_create_handle" >&5
9629 $as_echo "$ac_cv_lib_dc1394_control_dc1394_create_handle" >&6; }
9630 if test "x$ac_cv_lib_dc1394_control_dc1394_create_handle" = x""yes; then
9631 cat >>confdefs.h <<_ACEOF
9632 #define HAVE_LIBDC1394_CONTROL 1
9635 LIBS="-ldc1394_control $LIBS"
9638 { { $as_echo "$as_me:$LINENO: error: \"libdc1394_control not installed\"" >&5
9639 $as_echo "$as_me: error: \"libdc1394_control not installed\"" >&2;}
9640 { (exit 1); exit 1; }; }
9644 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
9645 { $as_echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
9646 $as_echo_n "checking for libdc1394/dc1394_control.h... " >&6; }
9647 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
9648 $as_echo_n "(cached) " >&6
9650 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
9651 $as_echo "$ac_cv_header_libdc1394_dc1394_control_h" >&6; }
9653 # Is the header compilable?
9654 { $as_echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h usability" >&5
9655 $as_echo_n "checking libdc1394/dc1394_control.h usability... " >&6; }
9656 cat >conftest.$ac_ext <<_ACEOF
9659 cat confdefs.h >>conftest.$ac_ext
9660 cat >>conftest.$ac_ext <<_ACEOF
9661 /* end confdefs.h. */
9662 $ac_includes_default
9663 #include <libdc1394/dc1394_control.h>
9665 rm -f conftest.$ac_objext
9666 if { (ac_try="$ac_compile"
9668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9669 *) ac_try_echo
=$ac_try;;
9671 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9672 $as_echo "$ac_try_echo") >&5
9673 (eval "$ac_compile") 2>conftest.er1
9675 grep -v '^ *+' conftest.er1
>conftest.err
9677 cat conftest.err
>&5
9678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); } && {
9680 test -z "$ac_c_werror_flag" ||
9681 test ! -s conftest.err
9682 } && test -s conftest.
$ac_objext; then
9683 ac_header_compiler
=yes
9685 $as_echo "$as_me: failed program was:" >&5
9686 sed 's/^/| /' conftest.
$ac_ext >&5
9688 ac_header_compiler
=no
9691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9692 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9693 $as_echo "$ac_header_compiler" >&6; }
9695 # Is the header present?
9696 { $as_echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h presence" >&5
9697 $as_echo_n "checking libdc1394/dc1394_control.h presence... " >&6; }
9698 cat >conftest.
$ac_ext <<_ACEOF
9701 cat confdefs.h
>>conftest.
$ac_ext
9702 cat >>conftest.
$ac_ext <<_ACEOF
9703 /* end confdefs.h. */
9704 #include <libdc1394/dc1394_control.h>
9706 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9709 *) ac_try_echo=$ac_try;;
9711 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9712 $as_echo "$ac_try_echo") >&5
9713 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9715 grep -v '^ *+' conftest.er1 >conftest.err
9717 cat conftest.err >&5
9718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719 (exit $ac_status); } >/dev/null && {
9720 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9721 test ! -s conftest.err
9723 ac_header_preproc=yes
9725 $as_echo "$as_me: failed program was:" >&5
9726 sed 's/^/| /' conftest.$ac_ext >&5
9728 ac_header_preproc=no
9731 rm -f conftest.err conftest.$ac_ext
9732 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9733 $as_echo "$ac_header_preproc" >&6; }
9735 # So? What about this header?
9736 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9738 { $as_echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&5
9739 $as_echo "$as_me: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9740 { $as_echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&5
9741 $as_echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&2;}
9742 ac_header_preproc=yes
9745 { $as_echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&5
9746 $as_echo "$as_me: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&2;}
9747 { $as_echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&5
9748 $as_echo "$as_me: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&2;}
9749 { $as_echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&5
9750 $as_echo "$as_me: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&2;}
9751 { $as_echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&5
9752 $as_echo "$as_me: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&2;}
9753 { $as_echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&5
9754 $as_echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&2;}
9755 { $as_echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&5
9756 $as_echo "$as_me: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&2;}
9758 ## ------------------------------------------------------------------- ##
9759 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
9760 ## ------------------------------------------------------------------- ##
9762 ) | sed "s/^/$as_me: WARNING: /" >&2
9765 { $as_echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
9766 $as_echo_n "checking for libdc1394/dc1394_control.h... " >&6; }
9767 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
9768 $as_echo_n "(cached) " >&6
9770 ac_cv_header_libdc1394_dc1394_control_h=$ac_header_preproc
9772 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
9773 $as_echo "$ac_cv_header_libdc1394_dc1394_control_h" >&6; }
9776 if test "x$ac_cv_header_libdc1394_dc1394_control_h" = x""yes; then
9779 { { $as_echo "$as_me:$LINENO: error: \"missing dc1394_control.h\"" >&5
9780 $as_echo "$as_me: error: \"missing dc1394_control.h\"" >&2;}
9781 { (exit 1); exit 1; }; }
9786 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9787 { $as_echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
9788 $as_echo_n "checking for libraw1394/raw1394.h... " >&6; }
9789 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9790 $as_echo_n "(cached) " >&6
9792 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
9793 $as_echo "$ac_cv_header_libraw1394_raw1394_h" >&6; }
9795 # Is the header compilable?
9796 { $as_echo "$as_me:$LINENO: checking libraw1394/raw1394.h usability" >&5
9797 $as_echo_n "checking libraw1394/raw1394.h usability... " >&6; }
9798 cat >conftest.$ac_ext <<_ACEOF
9801 cat confdefs.h >>conftest.$ac_ext
9802 cat >>conftest.$ac_ext <<_ACEOF
9803 /* end confdefs.h. */
9804 $ac_includes_default
9805 #include <libraw1394/raw1394.h>
9807 rm -f conftest.$ac_objext
9808 if { (ac_try="$ac_compile"
9810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9811 *) ac_try_echo
=$ac_try;;
9813 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9814 $as_echo "$ac_try_echo") >&5
9815 (eval "$ac_compile") 2>conftest.er1
9817 grep -v '^ *+' conftest.er1
>conftest.err
9819 cat conftest.err
>&5
9820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); } && {
9822 test -z "$ac_c_werror_flag" ||
9823 test ! -s conftest.err
9824 } && test -s conftest.
$ac_objext; then
9825 ac_header_compiler
=yes
9827 $as_echo "$as_me: failed program was:" >&5
9828 sed 's/^/| /' conftest.
$ac_ext >&5
9830 ac_header_compiler
=no
9833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9834 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9835 $as_echo "$ac_header_compiler" >&6; }
9837 # Is the header present?
9838 { $as_echo "$as_me:$LINENO: checking libraw1394/raw1394.h presence" >&5
9839 $as_echo_n "checking libraw1394/raw1394.h presence... " >&6; }
9840 cat >conftest.
$ac_ext <<_ACEOF
9843 cat confdefs.h
>>conftest.
$ac_ext
9844 cat >>conftest.
$ac_ext <<_ACEOF
9845 /* end confdefs.h. */
9846 #include <libraw1394/raw1394.h>
9848 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9851 *) ac_try_echo=$ac_try;;
9853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9854 $as_echo "$ac_try_echo") >&5
9855 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9857 grep -v '^ *+' conftest.er1 >conftest.err
9859 cat conftest.err >&5
9860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9861 (exit $ac_status); } >/dev/null && {
9862 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9863 test ! -s conftest.err
9865 ac_header_preproc=yes
9867 $as_echo "$as_me: failed program was:" >&5
9868 sed 's/^/| /' conftest.$ac_ext >&5
9870 ac_header_preproc=no
9873 rm -f conftest.err conftest.$ac_ext
9874 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9875 $as_echo "$ac_header_preproc" >&6; }
9877 # So? What about this header?
9878 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9880 { $as_echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&5
9881 $as_echo "$as_me: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9882 { $as_echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&5
9883 $as_echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&2;}
9884 ac_header_preproc=yes
9887 { $as_echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&5
9888 $as_echo "$as_me: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&2;}
9889 { $as_echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&5
9890 $as_echo "$as_me: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&2;}
9891 { $as_echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&5
9892 $as_echo "$as_me: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&2;}
9893 { $as_echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&5
9894 $as_echo "$as_me: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&2;}
9895 { $as_echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&5
9896 $as_echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&2;}
9897 { $as_echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&5
9898 $as_echo "$as_me: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&2;}
9900 ## ------------------------------------------------------------------- ##
9901 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
9902 ## ------------------------------------------------------------------- ##
9904 ) | sed "s/^/$as_me: WARNING: /" >&2
9907 { $as_echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
9908 $as_echo_n "checking for libraw1394/raw1394.h... " >&6; }
9909 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9910 $as_echo_n "(cached) " >&6
9912 ac_cv_header_libraw1394_raw1394_h=$ac_header_preproc
9914 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
9915 $as_echo "$ac_cv_header_libraw1394_raw1394_h" >&6; }
9918 if test "x$ac_cv_header_libraw1394_raw1394_h" = x""yes; then
9921 { { $as_echo "$as_me:$LINENO: error: \"missing raw1394.h\"" >&5
9922 $as_echo "$as_me: error: \"missing raw1394.h\"" >&2;}
9923 { (exit 1); exit 1; }; }
9930 if test "${ENABLE_TRIG}" == '-DENABLE_TRIG'; then
9932 { $as_echo "$as_me:$LINENO: checking for gpiv_trig_openrtfs in -lgpiv" >&5
9933 $as_echo_n "checking for gpiv_trig_openrtfs in -lgpiv... " >&6; }
9934 if test "${ac_cv_lib_gpiv_gpiv_trig_openrtfs+set}" = set; then
9935 $as_echo_n "(cached) " >&6
9937 ac_check_lib_save_LIBS=$LIBS
9939 cat >conftest.$ac_ext <<_ACEOF
9942 cat confdefs.h >>conftest.$ac_ext
9943 cat >>conftest.$ac_ext <<_ACEOF
9944 /* end confdefs.h. */
9946 /* Override any GCC internal prototype to avoid an error.
9947 Use char because int might match the return type of a GCC
9948 builtin and then its argument prototype would still apply. */
9952 char gpiv_trig_openrtfs ();
9956 return gpiv_trig_openrtfs ();
9961 rm -f conftest.$ac_objext conftest$ac_exeext
9962 if { (ac_try="$ac_link"
9964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9965 *) ac_try_echo
=$ac_try;;
9967 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9968 $as_echo "$ac_try_echo") >&5
9969 (eval "$ac_link") 2>conftest.er1
9971 grep -v '^ *+' conftest.er1
>conftest.err
9973 cat conftest.err
>&5
9974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); } && {
9976 test -z "$ac_c_werror_flag" ||
9977 test ! -s conftest.err
9978 } && test -s conftest
$ac_exeext && {
9979 test "$cross_compiling" = yes ||
9980 $as_test_x conftest
$ac_exeext
9982 ac_cv_lib_gpiv_gpiv_trig_openrtfs
=yes
9984 $as_echo "$as_me: failed program was:" >&5
9985 sed 's/^/| /' conftest.
$ac_ext >&5
9987 ac_cv_lib_gpiv_gpiv_trig_openrtfs
=no
9990 rm -rf conftest.dSYM
9991 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9992 conftest
$ac_exeext conftest.
$ac_ext
9993 LIBS
=$ac_check_lib_save_LIBS
9995 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&5
9996 $as_echo "$ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&6; }
9997 if test "x$ac_cv_lib_gpiv_gpiv_trig_openrtfs" = x
""yes; then
9998 cat >>confdefs.h
<<_ACEOF
9999 #define HAVE_LIBGPIV 1
10002 LIBS
="-lgpiv $LIBS"
10005 { { $as_echo "$as_me:$LINENO: error: \"(Realtime) triggering is not working in libgpiv. \
10006 Enable (realtime) triggering in libgpiv or disable it here by leaving out --enable-trig during ./configure\"" >&5
10007 $as_echo "$as_me: error: \"(Realtime) triggering is not working in libgpiv. \
10008 Enable (realtime) triggering in libgpiv or disable it here by leaving out --enable-trig during ./configure\"" >&2;}
10009 { (exit 1); exit 1; }; }
10015 # Extract the first word of "gpiv_control", so it can be a program name with args.
10016 set dummy gpiv_control
; ac_word
=$2
10017 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10018 $as_echo_n "checking for $ac_word... " >&6; }
10019 if test "${ac_cv_prog_CONTROL+set}" = set; then
10020 $as_echo_n "(cached) " >&6
10022 if test -n "$CONTROL"; then
10023 ac_cv_prog_CONTROL
="$CONTROL" # Let the user override the test.
10025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10026 for as_dir
in $PATH
10029 test -z "$as_dir" && as_dir
=.
10030 for ac_exec_ext
in '' $ac_executable_extensions; do
10031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10032 ac_cv_prog_CONTROL
="true"
10033 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10040 test -z "$ac_cv_prog_CONTROL" && ac_cv_prog_CONTROL
="false"
10043 CONTROL
=$ac_cv_prog_CONTROL
10044 if test -n "$CONTROL"; then
10045 { $as_echo "$as_me:$LINENO: result: $CONTROL" >&5
10046 $as_echo "$CONTROL" >&6; }
10048 { $as_echo "$as_me:$LINENO: result: no" >&5
10049 $as_echo "no" >&6; }
10055 HAVE_CONTROL_FALSE
='#'
10057 HAVE_CONTROL_TRUE
='#'
10058 HAVE_CONTROL_FALSE
=
10062 # Check whether --enable-rta was given.
10063 if test "${enable_rta+set}" = set; then
10064 enableval
=$enable_rta; RTA_TOPDIR
="$enableval"
10066 RTA_TOPDIR
="/usr/lib/realtime"
10073 # Check whether --enable-k was given.
10074 if test "${enable_k+set}" = set; then
10075 enableval
=$enable_k; K_TOPDIR
="$enableval"
10077 K_TOPDIR
="/usr/src/kernel-headers-2.4.27-adeos"
10084 # Check whether --enable-img-width was given.
10085 if test "${enable_img_width+set}" = set; then
10086 enableval
=$enable_img_width; OVERRIDE_IMAGE_WIDTH_MAX
="-DIMAGE_WIDTH_MAX=$enableval"
10094 # Check whether --enable-img-height was given.
10095 if test "${enable_img_height+set}" = set; then
10096 enableval
=$enable_img_height; OVERRIDE_IMAGE_HEIGHT_MAX
="-DIMAGE_HEIGHT_MAX=$enableval"
10103 # Check whether --enable-canvas_aa was given.
10104 if test "${enable_canvas_aa+set}" = set; then
10105 enableval
=$enable_canvas_aa; CANVAS_AA
="-DCANVAS_AA"
10112 # Check whether --enable-debug was given.
10113 if test "${enable_debug+set}" = set; then
10114 enableval
=$enable_debug; DEBUG
="-DDEBUG"
10124 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"
10126 cat >confcache
<<\_ACEOF
10127 # This file is a shell script that caches the results of configure
10128 # tests run on this system so they can be shared between configure
10129 # scripts and configure runs, see configure's option --config-cache.
10130 # It is not useful on other systems. If it contains results you don't
10131 # want to keep, you may remove or edit it.
10133 # config.status only pays attention to the cache file if you give it
10134 # the --recheck option to rerun configure.
10136 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10137 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10138 # following values.
10142 # The following way of writing the cache mishandles newlines in values,
10143 # but we know of no workaround that is simple, portable, and efficient.
10144 # So, we kill variables containing newlines.
10145 # Ultrix sh set writes to stderr and can't be redirected directly,
10146 # and sets the high bit in the cache file unless we assign to the vars.
10148 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10149 eval ac_val
=\$
$ac_var
10153 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
10154 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10157 _ | IFS | as_nl
) ;; #(
10158 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
10159 *) $as_unset $ac_var ;;
10165 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10166 *${as_nl}ac_space
=\
*)
10167 # `set' does not quote correctly, so add quotes (double-quote
10168 # substitution turns \\\\ into \\, and sed turns \\ into \).
10171 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10174 # `set' quotes correctly as required by POSIX, so do not add quotes.
10175 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10184 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10186 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10188 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10189 if test -w "$cache_file"; then
10190 test "x$cache_file" != "x/dev/null" &&
10191 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
10192 $as_echo "$as_me: updating cache $cache_file" >&6;}
10193 cat confcache
>$cache_file
10195 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10196 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10201 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10202 # Let make expand exec_prefix.
10203 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10205 # Transform confdefs.h into DEFS.
10206 # Protect against shell expansion while executing Makefile rules.
10207 # Protect against Makefile macro expansion.
10209 # If the first sed substitution is executed (which looks for macros that
10210 # take arguments), then branch to the quote section. Otherwise,
10211 # look for a macro that doesn't take arguments.
10221 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
10223 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
10227 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
10240 DEFS
=`sed -n "$ac_script" confdefs.h`
10245 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10246 # 1. Remove the extension, and $U if already installed.
10247 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10248 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
10249 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10250 # will be set to the directory where LIBOBJS objects are built.
10251 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10252 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10254 LIBOBJS
=$ac_libobjs
10256 LTLIBOBJS
=$ac_ltlibobjs
10259 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
10260 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
10261 Usually this means the macro was only invoked conditionally." >&5
10262 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
10263 Usually this means the macro was only invoked conditionally." >&2;}
10264 { (exit 1); exit 1; }; }
10266 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
10267 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
10268 Usually this means the macro was only invoked conditionally." >&5
10269 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
10270 Usually this means the macro was only invoked conditionally." >&2;}
10271 { (exit 1); exit 1; }; }
10273 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10274 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10275 Usually this means the macro was only invoked conditionally." >&5
10276 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10277 Usually this means the macro was only invoked conditionally." >&2;}
10278 { (exit 1); exit 1; }; }
10280 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10281 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10282 Usually this means the macro was only invoked conditionally." >&5
10283 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10284 Usually this means the macro was only invoked conditionally." >&2;}
10285 { (exit 1); exit 1; }; }
10287 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
10288 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
10289 Usually this means the macro was only invoked conditionally." >&5
10290 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
10291 Usually this means the macro was only invoked conditionally." >&2;}
10292 { (exit 1); exit 1; }; }
10295 ac_config_commands
="$ac_config_commands po/stamp-it"
10298 if test -z "${HAVE_CONTROL_TRUE}" && test -z "${HAVE_CONTROL_FALSE}"; then
10299 { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_CONTROL\" was never defined.
10300 Usually this means the macro was only invoked conditionally." >&5
10301 $as_echo "$as_me: error: conditional \"HAVE_CONTROL\" was never defined.
10302 Usually this means the macro was only invoked conditionally." >&2;}
10303 { (exit 1); exit 1; }; }
10306 : ${CONFIG_STATUS=./config.status}
10308 ac_clean_files_save
=$ac_clean_files
10309 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10310 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10311 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10312 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10314 # Generated by $as_me.
10315 # Run this file to recreate the current configuration.
10316 # Compiler output produced by configure, useful for debugging
10317 # configure, is in config.log if it exists.
10320 ac_cs_recheck=false
10322 SHELL=\${CONFIG_SHELL-$SHELL}
10325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10326 ## --------------------- ##
10327 ## M4sh Initialization. ##
10328 ## --------------------- ##
10330 # Be more Bourne compatible
10331 DUALCASE
=1; export DUALCASE
# for MKS sh
10332 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10335 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10336 # is contrary to our usage. Disable this feature.
10337 alias -g '${1+"$@"}'='"$@"'
10338 setopt NO_GLOB_SUBST
10340 case `(set -o) 2>/dev/null` in
10341 *posix
*) set -o posix
;;
10350 # Avoid depending upon Character Ranges.
10351 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10352 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10353 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10354 as_cr_digits
='0123456789'
10355 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10360 # Printing a long string crashes Solaris 7 /usr/bin/printf.
10361 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10362 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
10363 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
10364 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
10365 as_echo='printf %s
\n'
10366 as_echo_n='printf %s
'
10368 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
10369 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
10370 as_echo_n='/usr
/ucb
/echo -n'
10372 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
10373 as_echo_n_body='eval
10377 expr "X$arg" : "X\\(.*\\)$as_nl";
10378 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
10380 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
10382 export as_echo_n_body
10383 as_echo_n='sh
-c $as_echo_n_body as_echo
'
10385 export as_echo_body
10386 as_echo='sh
-c $as_echo_body as_echo
'
10389 # The user is always right.
10390 if test "${PATH_SEPARATOR+set}" != set; then
10392 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10393 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10398 # Support unset when possible.
10399 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10407 # We need space, tab and new line, in precisely that order. Quoting is
10408 # there to prevent editors from complaining about space-tab.
10409 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10410 # splitting by setting IFS to empty value.)
10413 # Find who we are. Look in the path if we contain no directory separator.
10415 *[\\/]* ) as_myself=$0 ;;
10416 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10417 for as_dir in $PATH
10420 test -z "$as_dir" && as_dir=.
10421 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10427 # We did not find ourselves, most probably we were run as `sh COMMAND'
10428 # in which case we are not to be found in the path.
10429 if test "x$as_myself" = x
; then
10432 if test ! -f "$as_myself"; then
10433 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10434 { (exit 1); exit 1; }
10437 # Work around bugs in pre-3.0 UWIN ksh.
10438 for as_var
in ENV MAIL MAILPATH
10439 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10451 # Required to use basename.
10452 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10453 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10459 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10460 as_basename
=basename
10466 # Name of the executable.
10467 as_me
=`$as_basename -- "$0" ||
10468 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10469 X"$0" : 'X\(//\)$' \| \
10470 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10472 sed '/^.*\/\([^/][^/]*\)\/*$/{
10491 as_lineno_1
=$LINENO
10492 as_lineno_2
=$LINENO
10493 test "x$as_lineno_1" != "x$as_lineno_2" &&
10494 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
10496 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10497 # uniformly replaced by the line number. The first 'sed' inserts a
10498 # line-number line after each line using $LINENO; the second 'sed'
10499 # does the real work. The second script uses 'N' to pair each
10500 # line-number line with the line containing $LINENO, and appends
10501 # trailing '-' during substitution so that $LINENO is not a special
10502 # case at line end.
10503 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10504 # scripts with optimization help from Paolo Bonzini. Blame Lee
10505 # E. McMahon (1931-1989) for sed's syntax. :-)
10517 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10520 ' >$as_me.lineno
&&
10521 chmod +x
"$as_me.lineno" ||
10522 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10523 { (exit 1); exit 1; }; }
10525 # Don't try to exec as it changes $[0], causing all sort of problems
10526 # (the dirname of $[0] is not the place where we might find the
10527 # original and so on. Autoconf is especially sensitive to this).
10528 .
"./$as_me.lineno"
10529 # Exit status is that of the last command.
10534 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10540 ECHO_C
= ECHO_N
= ECHO_T
=
10541 case `echo -n x` in
10543 case `echo 'x\c'` in
10544 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10550 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10551 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10557 rm -f conf$$ conf$$.exe conf$$.
file
10558 if test -d conf$$.dir
; then
10559 rm -f conf$$.dir
/conf$$.
file
10562 mkdir conf$$.dir
2>/dev
/null
10564 if (echo >conf$$.
file) 2>/dev
/null
; then
10565 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10567 # ... but there are two gotchas:
10568 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10569 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10570 # In both cases, we have to default to `cp -p'.
10571 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
10573 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10581 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10582 rmdir conf$$.dir
2>/dev
/null
10584 if mkdir
-p .
2>/dev
/null
; then
10587 test -d .
/-p && rmdir .
/-p
10591 if test -x / >/dev
/null
2>&1; then
10592 as_test_x
='test -x'
10594 if ls -dL / >/dev
/null
2>&1; then
10601 if test -d "$1"; then
10607 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10608 ???[sx]*):;;*)false;;esac;fi
10612 as_executable_p
=$as_test_x
10614 # Sed expression to map a string onto a valid CPP name.
10615 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10617 # Sed expression to map a string onto a valid variable name.
10618 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10623 # Save the log message, to keep $[0] and so on meaningful, and to
10624 # report actual input values of CONFIG_FILES etc. instead of their
10625 # values after options handling.
10627 This file was extended by gpiv $as_me 0.6.1, which was
10628 generated by GNU Autoconf 2.63. Invocation command line was
10630 CONFIG_FILES = $CONFIG_FILES
10631 CONFIG_HEADERS = $CONFIG_HEADERS
10632 CONFIG_LINKS = $CONFIG_LINKS
10633 CONFIG_COMMANDS = $CONFIG_COMMANDS
10636 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10641 case $ac_config_files in *"
10642 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
10647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10648 # Files that config.status was made for.
10649 config_files="$ac_config_files"
10650 config_commands="$ac_config_commands"
10654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10656 \`$as_me' instantiates files from templates according to the
10657 current configuration.
10659 Usage: $0 [OPTION]... [FILE]...
10661 -h, --help print this help, then exit
10662 -V, --version print version number and configuration settings, then exit
10663 -q, --quiet, --silent
10664 do not print progress messages
10665 -d, --debug don't remove temporary files
10666 --recheck update $as_me by reconfiguring in the same conditions
10667 --file=FILE[:TEMPLATE]
10668 instantiate the configuration file FILE
10670 Configuration files:
10673 Configuration commands:
10676 Report bugs to <bug-autoconf@gnu.org>."
10679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10681 gpiv config.status 0.6.1
10682 configured by $0, generated by GNU Autoconf 2.63,
10683 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10685 Copyright (C) 2008 Free Software Foundation, Inc.
10686 This config.status script is free software; the Free Software Foundation
10687 gives unlimited permission to copy, distribute and modify it."
10694 test -n "\$AWK" || AWK=awk
10697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10698 # The default lists apply if the user does not specify any file.
10704 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10705 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10716 # Handling of the options.
10717 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10719 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10720 $as_echo "$ac_cs_version"; exit ;;
10721 --debug |
--debu |
--deb |
--de |
--d |
-d )
10723 --file |
--fil |
--fi |
--f )
10726 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10728 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
10729 ac_need_defaults
=false
;;
10730 --he |
--h |
--help |
--hel |
-h )
10731 $as_echo "$ac_cs_usage"; exit ;;
10732 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10733 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10736 # This is an error.
10737 -*) { $as_echo "$as_me: error: unrecognized option: $1
10738 Try \`$0 --help' for more information." >&2
10739 { (exit 1); exit 1; }; } ;;
10741 *) ac_config_targets
="$ac_config_targets $1"
10742 ac_need_defaults
=false
;;
10748 ac_configure_extra_args
=
10750 if $ac_cs_silent; then
10752 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10757 if \$ac_cs_recheck; then
10758 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10760 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10761 CONFIG_SHELL='$SHELL'
10762 export CONFIG_SHELL
10767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10771 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10772 ## Running $as_me. ##
10778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10782 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10789 # Handling of arguments.
10790 for ac_config_target
in $ac_config_targets
10792 case $ac_config_target in
10793 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10794 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
10795 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10796 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
10797 "doc/C/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/C/Makefile" ;;
10798 "doc/C/figures/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/C/figures/Makefile" ;;
10799 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
10800 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
10801 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
10802 "pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES pixmaps/Makefile" ;;
10803 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
10805 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10806 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10807 { (exit 1); exit 1; }; };;
10812 # If the user did not use the arguments to specify the items to instantiate,
10813 # then the envvar interface is used. Set only those that are not.
10814 # We use the long form for the default assignment because of an extremely
10815 # bizarre bug on SunOS 4.1.3.
10816 if $ac_need_defaults; then
10817 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10818 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10821 # Have a temporary directory for convenience. Make it in the build tree
10822 # simply because there is no reason against having it here, and in addition,
10823 # creating and moving files from /tmp can sometimes cause problems.
10824 # Hook for its removal unless debugging.
10825 # Note that there is a small window in which the directory will not be cleaned:
10826 # after its creation but before its name has been assigned to `$tmp'.
10830 trap 'exit_status=$?
10831 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10833 trap '{ (exit 1); exit 1; }' 1 2 13 15
10835 # Create a (secure) tmp directory for tmp files.
10838 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10839 test -n "$tmp" && test -d "$tmp"
10842 tmp
=.
/conf$$
-$RANDOM
10843 (umask 077 && mkdir
"$tmp")
10846 $as_echo "$as_me: cannot create a temporary directory in ." >&2
10847 { (exit 1); exit 1; }
10850 # Set up the scripts for CONFIG_FILES section.
10851 # No need to generate them if there are no CONFIG_FILES.
10852 # This happens for instance with `./config.status config.h'.
10853 if test -n "$CONFIG_FILES"; then
10857 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10858 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10861 ac_cs_awk_cr
=$ac_cr
10864 echo 'BEGIN {' >"$tmp/subs1.awk" &&
10869 echo "cat >conf$$subs.awk <<_ACEOF" &&
10870 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10872 } >conf$$subs.sh ||
10873 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
10874 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
10875 { (exit 1); exit 1; }; }
10876 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
10878 for ac_last_try in false false false false false :; do
10879 . ./conf$$subs.sh ||
10880 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
10881 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
10882 { (exit 1); exit 1; }; }
10884 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
10885 if test $ac_delim_n = $ac_delim_num; then
10887 elif $ac_last_try; then
10888 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
10889 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
10890 { (exit 1); exit 1; }; }
10892 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
10895 rm -f conf$$subs.sh
10897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10898 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
10902 s/^/S["/; s
/!.
*/"]=/
10912 s/\(.\{148\}\).*/\1/
10914 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
10919 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10926 s/\(.\{148\}\).*/\1/
10928 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
10932 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10937 ' <conf$$subs.awk | sed '
10942 ' >>$CONFIG_STATUS || ac_write_fail=1
10943 rm -f conf$$subs.awk
10944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10946 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
10947 for (key in S) S_is_set[key] = 1
10953 nfields = split(line, field, "@
")
10955 len = length(field[1])
10956 for (i = 2; i < nfields; i++) {
10958 keylen = length(key)
10959 if (S_is_set[key]) {
10961 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10962 len += length(value) + length(field[++i])
10973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10974 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10975 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
10978 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
10979 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
10980 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
10981 { (exit 1); exit 1; }; }
10984 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10985 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
10986 # trailing colons and then remove the whole line if VPATH becomes empty
10987 # (actually we leave an empty line to preserve line numbers).
10988 if test "x
$srcdir" = x.; then
10989 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10990 s/:*\$(srcdir):*/:/
10991 s/:*\${srcdir}:*/:/
10993 s/^\([^=]*=[ ]*\):*/\1/
10999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11000 fi # test -n "$CONFIG_FILES"
11003 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
11008 :[FHLC]) ac_mode=$ac_tag; continue;;
11010 case $ac_mode$ac_tag in
11012 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error
: invalid tag
$ac_tag" >&5
11013 $as_echo "$as_me: error
: invalid tag
$ac_tag" >&2;}
11014 { (exit 1); exit 1; }; };;
11015 :[FH]-) ac_tag=-:-;;
11016 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11033 -) ac_f="$tmp/stdin
";;
11034 *) # Look for the file first in the build tree, then in the source tree
11035 # (if the path is not absolute). The absolute path cannot be DOS-style,
11036 # because $ac_f cannot contain `:'.
11040 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11042 { { $as_echo "$as_me:$LINENO: error
: cannot
find input
file: $ac_f" >&5
11043 $as_echo "$as_me: error
: cannot
find input
file: $ac_f" >&2;}
11044 { (exit 1); exit 1; }; };;
11046 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
11047 ac_file_inputs="$ac_file_inputs '$ac_f'"
11050 # Let's still pretend it is `configure' which instantiates (i.e., don't
11051 # use $as_me), people would be surprised to read:
11052 # /* config.h. Generated by config.status. */
11053 configure_input='Generated from '`
11054 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11056 if test x"$ac_file" != x-; then
11057 configure_input="$ac_file.
$configure_input"
11058 { $as_echo "$as_me:$LINENO: creating
$ac_file" >&5
11059 $as_echo "$as_me: creating
$ac_file" >&6;}
11061 # Neutralize special characters interpreted by sed in replacement strings.
11062 case $configure_input in #(
11063 *\&* | *\|* | *\\* )
11064 ac_sed_conf_input=`$as_echo "$configure_input" |
11065 sed 's/[\\\\&|]/\\\\&/g'`;; #(
11066 *) ac_sed_conf_input=$configure_input;;
11070 *:-:* | *:-) cat >"$tmp/stdin
" \
11071 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
11072 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
11073 { (exit 1); exit 1; }; } ;;
11078 ac_dir=`$as_dirname -- "$ac_file" ||
11079 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11080 X"$ac_file" : 'X\(//\)[^/]' \| \
11081 X"$ac_file" : 'X\(//\)$' \| \
11082 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11083 $as_echo X"$ac_file" |
11084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11088 /^X\(\/\/\)[^/].*/{
11103 -*) as_dir=./$as_dir;;
11105 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11109 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s
/'/'\\\\\\\\''/g
"`;; #'(
11110 *) as_qdir=$as_dir;;
11112 as_dirs="'$as_qdir' $as_dirs"
11113 as_dir=`$as_dirname -- "$as_dir" ||
11114 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11115 X"$as_dir" : 'X\(//\)[^/]' \| \
11116 X"$as_dir" : 'X\(//\)$' \| \
11117 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11118 $as_echo X"$as_dir" |
11119 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11123 /^X\(\/\/\)[^/].*/{
11136 test -d "$as_dir" && break
11138 test -z "$as_dirs" || eval "mkdir
$as_dirs"
11139 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error
: cannot create directory
$as_dir" >&5
11140 $as_echo "$as_me: error
: cannot create directory
$as_dir" >&2;}
11141 { (exit 1); exit 1; }; }; }
11145 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11147 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11148 # A "..
" for each directory in $ac_dir_suffix.
11149 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11150 case $ac_top_builddir_sub in
11151 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11152 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11155 ac_abs_top_builddir=$ac_pwd
11156 ac_abs_builddir=$ac_pwd$ac_dir_suffix
11157 # for backward compatibility:
11158 ac_top_builddir=$ac_top_build_prefix
11161 .) # We are building in place.
11163 ac_top_srcdir=$ac_top_builddir_sub
11164 ac_abs_top_srcdir=$ac_pwd ;;
11165 [\\/]* | ?:[\\/]* ) # Absolute name.
11166 ac_srcdir=$srcdir$ac_dir_suffix;
11167 ac_top_srcdir=$srcdir
11168 ac_abs_top_srcdir=$srcdir ;;
11169 *) # Relative name.
11170 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11171 ac_top_srcdir=$ac_top_build_prefix$srcdir
11172 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11174 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11184 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11185 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11187 ac_MKDIR_P=$MKDIR_P
11189 [\\/$]* | ?:[\\/]* ) ;;
11190 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
11194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11195 # If the template does not know about datarootdir, expand it.
11196 # FIXME: This hack should be removed a few years after 2.60.
11197 ac_datarootdir_hack=; ac_datarootdir_seen=
11210 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
11211 *datarootdir*) ac_datarootdir_seen=yes;;
11212 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
11213 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
11214 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
11216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11217 ac_datarootdir_hack='
11218 s&@datadir@&$datadir&g
11219 s&@docdir@&$docdir&g
11220 s&@infodir@&$infodir&g
11221 s&@localedir@&$localedir&g
11222 s&@mandir@&$mandir&g
11223 s&\\\${datarootdir}&$datarootdir&g' ;;
11227 # Neutralize VPATH when `$srcdir' = `.'.
11228 # Shell code in configure.ac might set extrasub.
11229 # FIXME: do we really want to maintain this feature?
11230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11231 ac_sed_extra="$ac_vpsub
11234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11236 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11237 s|@configure_input@|
$ac_sed_conf_input|
;t t
11238 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11239 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
11240 s
&@srcdir@
&$ac_srcdir&;t t
11241 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11242 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11243 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11244 s
&@builddir@
&$ac_builddir&;t t
11245 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11246 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11247 s
&@INSTALL@
&$ac_INSTALL&;t t
11248 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
11249 $ac_datarootdir_hack
11251 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
11252 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
11253 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
11254 { (exit 1); exit 1; }; }
11256 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11257 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11258 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11259 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11260 which seems to be undefined. Please make sure it is defined." >&5
11261 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11262 which seems to be undefined. Please make sure it is defined." >&2;}
11266 -) cat "$tmp/out" && rm -f "$tmp/out";;
11267 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11269 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
11270 $as_echo "$as_me: error: could not create $ac_file" >&2;}
11271 { (exit 1); exit 1; }; }
11275 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
11276 $as_echo "$as_me: executing $ac_file commands" >&6;}
11281 case $ac_file$ac_mode in
11282 "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
11283 # are listed without --file. Let's play safe and only
enable the
eval
11284 # if we detect the quoting.
11285 case $CONFIG_FILES in
11286 *\'*) eval set x
"$CONFIG_FILES" ;;
11287 *) set x
$CONFIG_FILES ;;
11292 # Strip MF so we end up with the name of the file.
11293 mf
=`echo "$mf" | sed -e 's/:.*$//'`
11294 # Check whether this is an Automake generated Makefile or not.
11295 # We used to match only the files named `Makefile.in', but
11296 # some people rename them; so instead we look at the file content.
11297 # Grep'ing the first line is not enough: some people post-process
11298 # each Makefile.in and add a new line on top of each file to say so.
11299 # Grep'ing the whole file is not good either: AIX grep has a line
11300 # limit of 2048, but all sed's we know have understand at least 4000.
11301 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
11302 dirpart
=`$as_dirname -- "$mf" ||
11303 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11304 X"$mf" : 'X\(//\)[^/]' \| \
11305 X"$mf" : 'X\(//\)$' \| \
11306 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
11308 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11312 /^X\(\/\/\)[^/].*/{
11328 # Extract the definition of DEPDIR, am__include, and am__quote
11329 # from the Makefile without running `make'.
11330 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
11331 test -z "$DEPDIR" && continue
11332 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
11333 test -z "am__include" && continue
11334 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
11335 # When using ansi2knr, U may be empty or an underscore; expand it
11336 U
=`sed -n 's/^U = //p' < "$mf"`
11337 # Find all dependency output files, they are included files with
11338 # $(DEPDIR) in their names. We invoke sed twice because it is the
11339 # simplest approach to changing $(DEPDIR) to its actual value in the
11341 for file in `sed -n "
11342 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
11343 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
11344 # Make sure the directory exists.
11345 test -f "$dirpart/$file" && continue
11346 fdir
=`$as_dirname -- "$file" ||
11347 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11348 X"$file" : 'X\(//\)[^/]' \| \
11349 X"$file" : 'X\(//\)$' \| \
11350 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
11351 $as_echo X"$file" |
11352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11356 /^X\(\/\/\)[^/].*/{
11369 { as_dir
=$dirpart/$fdir
11371 -*) as_dir
=.
/$as_dir;;
11373 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11377 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11378 *) as_qdir
=$as_dir;;
11380 as_dirs
="'$as_qdir' $as_dirs"
11381 as_dir
=`$as_dirname -- "$as_dir" ||
11382 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11383 X"$as_dir" : 'X\(//\)[^/]' \| \
11384 X"$as_dir" : 'X\(//\)$' \| \
11385 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11386 $as_echo X"$as_dir" |
11387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11391 /^X\(\/\/\)[^/].*/{
11404 test -d "$as_dir" && break
11406 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11407 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11408 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
11409 { (exit 1); exit 1; }; }; }
11410 # echo "creating $dirpart/$file"
11411 echo '# dummy' > "$dirpart/$file"
11415 "default-1":C
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
11416 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
11419 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev
/null
; then
11420 { { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
11421 $as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
11422 { (exit 1); exit 1; }; }
11424 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
11429 '"s|^| $ac_top_srcdir/|" \
11430 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
11432 sed '/^POTFILES =/,/[^\\]$/ {
11436 ' "po/Makefile.in" >"po/Makefile"
11437 rm -f "po/Makefile.tmp"
11438 mv "po/stamp-it.tmp" "po/stamp-it"
11445 { (exit 0); exit 0; }
11447 chmod +x
$CONFIG_STATUS
11448 ac_clean_files
=$ac_clean_files_save
11450 test $ac_write_fail = 0 ||
11451 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
11452 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
11453 { (exit 1); exit 1; }; }
11456 # configure is writing to config.log, and then calls config.status.
11457 # config.status does its own redirection, appending to config.log.
11458 # Unfortunately, on DOS this fails, as config.log is still kept open
11459 # by configure, so config.status won't be able to write to it; its
11460 # output is simply discarded. So we exec the FD to /dev/null,
11461 # effectively closing config.log, so it can be properly (re)opened and
11462 # appended to by config.status. When coming back to configure, we
11463 # need to make the FD available again.
11464 if test "$no_create" != yes; then
11466 ac_config_status_args
=
11467 test "$silent" = yes &&
11468 ac_config_status_args
="$ac_config_status_args --quiet"
11470 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11472 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11473 # would make configure fail if this is the last instruction.
11474 $ac_cs_success ||
{ (exit 1); exit 1; }
11476 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
11477 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11478 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11483 echo "===================================================================="
11484 echo "Configuration succesfully finished"
11486 if test $ENABLE_CAM; then
11487 echo "with (IEEE-1394) camera enabled"
11490 if test $ENABLE_TRIG; then
11491 echo "with (realtime) triggering enabled."
11493 if test x
$CONTROL = xfalse
; then
11494 echo "Gpiv_control has not been found on this system, and probably gpivtrig-rtl isn't"
11495 echo "resident as well. This script eases to install and uninstall the gpivtrig-rtl"
11496 echo "and RTAI kernel modules that are needed for the triggering of camera and lasers"
11501 if test $ENABLE_MPI; then
11502 echo "Using Message Passing Interface (MPI)."
11503 echo "for processing on distributed memory systems"
11504 echo "MPI-enabled gpivtools package is needed for correct funtioning"
11507 echo "Type 'make' and 'make install' to build and install gpiv"
11508 echo "===================================================================="