2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for gpiv 0.6.0.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 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 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
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
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME
='gpiv'
577 PACKAGE_VERSION
='0.6.0'
578 PACKAGE_STRING
='gpiv 0.6.0'
579 PACKAGE_BUGREPORT
='http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv'
581 # Factoring default headers for most tests.
582 ac_includes_default
="\
584 #ifdef HAVE_SYS_TYPES_H
585 # include <sys/types.h>
587 #ifdef HAVE_SYS_STAT_H
588 # include <sys/stat.h>
594 # ifdef HAVE_STDLIB_H
599 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604 #ifdef HAVE_STRINGS_H
605 # include <strings.h>
607 #ifdef HAVE_INTTYPES_H
608 # include <inttypes.h>
626 program_transform_name
667 INSTALL_STRIP_PROGRAM
676 MAINTAINER_MODE_FALSE
724 INTLTOOL_DESKTOP_RULE
725 INTLTOOL_DIRECTORY_RULE
732 INTLTOOL_SOUNDLIST_RULE
737 INTLTOOL_XML_NOMERGE_RULE
739 INTLTOOL_SCHEMAS_RULE
741 INTLTOOL_SERVICE_RULE
754 OVERRIDE_IMAGE_WIDTH_MAX
755 OVERRIDE_IMAGE_HEIGHT_MAX
764 ac_precious_vars
='build_alias
782 # Initialize some variables set by options.
784 ac_init_version
=false
785 # The variables have the same names as the options, with
786 # dashes changed to underlines.
794 program_transform_name
=s
,x
,x
,
802 # Installation directory options.
803 # These are left unexpanded so users can "make install exec_prefix=/foo"
804 # and all the variables that are supposed to be based on exec_prefix
805 # by default will actually change.
806 # Use braces instead of parens because sh, perl, etc. also accept them.
807 # (The list follows the same order as the GNU Coding Standards.)
808 bindir
='${exec_prefix}/bin'
809 sbindir
='${exec_prefix}/sbin'
810 libexecdir
='${exec_prefix}/libexec'
811 datarootdir
='${prefix}/share'
812 datadir
='${datarootdir}'
813 sysconfdir
='${prefix}/etc'
814 sharedstatedir
='${prefix}/com'
815 localstatedir
='${prefix}/var'
816 includedir
='${prefix}/include'
817 oldincludedir
='/usr/include'
818 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
819 infodir
='${datarootdir}/info'
824 libdir
='${exec_prefix}/lib'
825 localedir
='${datarootdir}/locale'
826 mandir
='${datarootdir}/man'
832 # If the previous option needs an argument, assign it.
833 if test -n "$ac_prev"; then
834 eval $ac_prev=\
$ac_option
840 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
844 # Accept the important Cygnus configure options, so we can diagnose typos.
846 case $ac_dashdash$ac_option in
850 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
852 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
855 -build |
--build |
--buil |
--bui |
--bu)
856 ac_prev
=build_alias
;;
857 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
858 build_alias
=$ac_optarg ;;
860 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
861 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
862 ac_prev
=cache_file
;;
863 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
864 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
865 cache_file
=$ac_optarg ;;
868 cache_file
=config.cache
;;
870 -datadir |
--datadir |
--datadi |
--datad)
872 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
873 datadir
=$ac_optarg ;;
875 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
876 |
--dataroo |
--dataro |
--datar)
877 ac_prev
=datarootdir
;;
878 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
879 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
880 datarootdir
=$ac_optarg ;;
882 -disable-* |
--disable-*)
883 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
886 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
887 { (exit 1); exit 1; }; }
888 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
889 eval enable_
$ac_feature=no
;;
891 -docdir |
--docdir |
--docdi |
--doc |
--do)
893 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
896 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
898 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
901 -enable-* |
--enable-*)
902 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
905 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
906 { (exit 1); exit 1; }; }
907 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
908 eval enable_
$ac_feature=\
$ac_optarg ;;
910 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
911 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
912 |
--exec |
--exe |
--ex)
913 ac_prev
=exec_prefix
;;
914 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
915 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
916 |
--exec=* |
--exe=* |
--ex=*)
917 exec_prefix
=$ac_optarg ;;
919 -gas |
--gas |
--ga |
--g)
920 # Obsolete; use --with-gas.
923 -help |
--help |
--hel |
--he |
-h)
925 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
926 ac_init_help
=recursive
;;
927 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
928 ac_init_help
=short
;;
930 -host |
--host |
--hos |
--ho)
931 ac_prev
=host_alias
;;
932 -host=* |
--host=* |
--hos=* |
--ho=*)
933 host_alias
=$ac_optarg ;;
935 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
937 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
939 htmldir
=$ac_optarg ;;
941 -includedir |
--includedir |
--includedi |
--included |
--include \
942 |
--includ |
--inclu |
--incl |
--inc)
943 ac_prev
=includedir
;;
944 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
945 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
946 includedir
=$ac_optarg ;;
948 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
950 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
951 infodir
=$ac_optarg ;;
953 -libdir |
--libdir |
--libdi |
--libd)
955 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
958 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
959 |
--libexe |
--libex |
--libe)
960 ac_prev
=libexecdir
;;
961 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
962 |
--libexe=* |
--libex=* |
--libe=*)
963 libexecdir
=$ac_optarg ;;
965 -localedir |
--localedir |
--localedi |
--localed |
--locale)
967 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
968 localedir
=$ac_optarg ;;
970 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
971 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
972 ac_prev
=localstatedir
;;
973 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
974 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
975 localstatedir
=$ac_optarg ;;
977 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
979 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
983 # Obsolete; use --without-fp.
986 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
987 |
--no-cr |
--no-c |
-n)
990 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
991 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
994 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
995 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
996 |
--oldin |
--oldi |
--old |
--ol |
--o)
997 ac_prev
=oldincludedir
;;
998 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
999 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1000 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1001 oldincludedir
=$ac_optarg ;;
1003 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1005 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1006 prefix
=$ac_optarg ;;
1008 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1009 |
--program-pre |
--program-pr |
--program-p)
1010 ac_prev
=program_prefix
;;
1011 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1012 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1013 program_prefix
=$ac_optarg ;;
1015 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1016 |
--program-suf |
--program-su |
--program-s)
1017 ac_prev
=program_suffix
;;
1018 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1019 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1020 program_suffix
=$ac_optarg ;;
1022 -program-transform-name |
--program-transform-name \
1023 |
--program-transform-nam |
--program-transform-na \
1024 |
--program-transform-n |
--program-transform- \
1025 |
--program-transform |
--program-transfor \
1026 |
--program-transfo |
--program-transf \
1027 |
--program-trans |
--program-tran \
1028 |
--progr-tra |
--program-tr |
--program-t)
1029 ac_prev
=program_transform_name
;;
1030 -program-transform-name=* |
--program-transform-name=* \
1031 |
--program-transform-nam=* |
--program-transform-na=* \
1032 |
--program-transform-n=* |
--program-transform-=* \
1033 |
--program-transform=* |
--program-transfor=* \
1034 |
--program-transfo=* |
--program-transf=* \
1035 |
--program-trans=* |
--program-tran=* \
1036 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1037 program_transform_name
=$ac_optarg ;;
1039 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1041 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1042 pdfdir
=$ac_optarg ;;
1044 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1046 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1049 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1050 |
-silent |
--silent |
--silen |
--sile |
--sil)
1053 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1055 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1057 sbindir
=$ac_optarg ;;
1059 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1060 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1061 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1063 ac_prev
=sharedstatedir
;;
1064 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1065 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1066 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1068 sharedstatedir
=$ac_optarg ;;
1070 -site |
--site |
--sit)
1072 -site=* |
--site=* |
--sit=*)
1075 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1077 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1078 srcdir
=$ac_optarg ;;
1080 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1081 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1082 ac_prev
=sysconfdir
;;
1083 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1084 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1085 sysconfdir
=$ac_optarg ;;
1087 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1088 ac_prev
=target_alias
;;
1089 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1090 target_alias
=$ac_optarg ;;
1092 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1095 -version |
--version |
--versio |
--versi |
--vers |
-V)
1096 ac_init_version
=: ;;
1099 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1102 { echo "$as_me: error: invalid package name: $ac_package" >&2
1103 { (exit 1); exit 1; }; }
1104 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1105 eval with_
$ac_package=\
$ac_optarg ;;
1107 -without-* |
--without-*)
1108 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1111 { echo "$as_me: error: invalid package name: $ac_package" >&2
1112 { (exit 1); exit 1; }; }
1113 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1114 eval with_
$ac_package=no
;;
1117 # Obsolete; use --with-x.
1120 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1121 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1122 ac_prev
=x_includes
;;
1123 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1124 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1125 x_includes
=$ac_optarg ;;
1127 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1128 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1129 ac_prev
=x_libraries
;;
1130 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1131 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1132 x_libraries
=$ac_optarg ;;
1134 -*) { echo "$as_me: error: unrecognized option: $ac_option
1135 Try \`$0 --help' for more information." >&2
1136 { (exit 1); exit 1; }; }
1140 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1143 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1144 { (exit 1); exit 1; }; }
1145 eval $ac_envvar=\
$ac_optarg
1146 export $ac_envvar ;;
1149 # FIXME: should be removed in autoconf 3.0.
1150 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1151 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1152 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1153 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1159 if test -n "$ac_prev"; then
1160 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1161 { echo "$as_me: error: missing argument to $ac_option" >&2
1162 { (exit 1); exit 1; }; }
1165 # Be sure to have absolute directory names.
1166 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1167 datadir sysconfdir sharedstatedir localstatedir includedir \
1168 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1169 libdir localedir mandir
1171 eval ac_val
=\$
$ac_var
1173 [\\/$
]* | ?
:[\\/]* ) continue;;
1174 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1176 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1177 { (exit 1); exit 1; }; }
1180 # There might be people who depend on the old broken behavior: `$host'
1181 # used to hold the argument of --host etc.
1182 # FIXME: To remove some day.
1185 target
=$target_alias
1187 # FIXME: To remove some day.
1188 if test "x$host_alias" != x
; then
1189 if test "x$build_alias" = x
; then
1190 cross_compiling
=maybe
1191 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1192 If a cross compiler is detected then cross compile mode will be used." >&2
1193 elif test "x$build_alias" != "x$host_alias"; then
1199 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1201 test "$silent" = yes && exec 6>/dev
/null
1204 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1205 ac_ls_di
=`ls -di .` &&
1206 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1207 { echo "$as_me: error: Working directory cannot be determined" >&2
1208 { (exit 1); exit 1; }; }
1209 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1210 { echo "$as_me: error: pwd does not report name of working directory" >&2
1211 { (exit 1); exit 1; }; }
1214 # Find the source files, if location was not specified.
1215 if test -z "$srcdir"; then
1216 ac_srcdir_defaulted
=yes
1217 # Try the directory containing this script, then the parent directory.
1218 ac_confdir
=`$as_dirname -- "$0" ||
1219 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1220 X"$0" : 'X\(//\)[^/]' \| \
1221 X"$0" : 'X\(//\)$' \| \
1222 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1242 if test ! -r "$srcdir/$ac_unique_file"; then
1246 ac_srcdir_defaulted
=no
1248 if test ! -r "$srcdir/$ac_unique_file"; then
1249 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1250 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1251 { (exit 1); exit 1; }; }
1253 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1255 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1256 { (exit 1); exit 1; }; }
1258 # When building in place, set srcdir=.
1259 if test "$ac_abs_confdir" = "$ac_pwd"; then
1262 # Remove unnecessary trailing slashes from srcdir.
1263 # Double slashes in file names in object file debugging info
1264 # mess up M-x gdb in Emacs.
1266 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1268 for ac_var
in $ac_precious_vars; do
1269 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1270 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1271 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1272 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1276 # Report the --help message.
1278 if test "$ac_init_help" = "long"; then
1279 # Omit some internal or obsolete options to make the list less imposing.
1280 # This message is too long to be a string in the A/UX 3.1 sh.
1282 \`configure' configures gpiv 0.6.0 to adapt to many kinds of systems.
1284 Usage: $0 [OPTION]... [VAR=VALUE]...
1286 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1287 VAR=VALUE. See below for descriptions of some of the useful variables.
1289 Defaults for the options are specified in brackets.
1292 -h, --help display this help and exit
1293 --help=short display options specific to this package
1294 --help=recursive display the short help of all the included packages
1295 -V, --version display version information and exit
1296 -q, --quiet, --silent do not print \`checking...' messages
1297 --cache-file=FILE cache test results in FILE [disabled]
1298 -C, --config-cache alias for \`--cache-file=config.cache'
1299 -n, --no-create do not create output files
1300 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1302 Installation directories:
1303 --prefix=PREFIX install architecture-independent files in PREFIX
1304 [$ac_default_prefix]
1305 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1308 By default, \`make install' will install all the files in
1309 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1310 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1311 for instance \`--prefix=\$HOME'.
1313 For better control, use the options below.
1315 Fine tuning of the installation directories:
1316 --bindir=DIR user executables [EPREFIX/bin]
1317 --sbindir=DIR system admin executables [EPREFIX/sbin]
1318 --libexecdir=DIR program executables [EPREFIX/libexec]
1319 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1320 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1321 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1322 --libdir=DIR object code libraries [EPREFIX/lib]
1323 --includedir=DIR C header files [PREFIX/include]
1324 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1325 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1326 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1327 --infodir=DIR info documentation [DATAROOTDIR/info]
1328 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1329 --mandir=DIR man documentation [DATAROOTDIR/man]
1330 --docdir=DIR documentation root [DATAROOTDIR/doc/gpiv]
1331 --htmldir=DIR html documentation [DOCDIR]
1332 --dvidir=DIR dvi documentation [DOCDIR]
1333 --pdfdir=DIR pdf documentation [DOCDIR]
1334 --psdir=DIR ps documentation [DOCDIR]
1340 --program-prefix=PREFIX prepend PREFIX to installed program names
1341 --program-suffix=SUFFIX append SUFFIX to installed program names
1342 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1346 if test -n "$ac_init_help"; then
1347 case $ac_init_help in
1348 short | recursive
) echo "Configuration of gpiv 0.6.0:";;
1353 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1354 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1355 --enable-maintainer-mode enable make rules and dependencies not useful
1356 (and sometimes confusing
) to the casual installer
1357 --disable-dependency-tracking speeds up one-time build
1358 --enable-dependency-tracking do not reject slow dependency extractors
1359 --enable-cam enable data acquisition
1360 --enable-trig enable (realtime
) triggering
1361 --enable-rta=RTA_DIR place where the RTAI code resides
1362 (default
/usr
/lib
/realtime
)
1363 --enable-k=K_DIR place where the installed kernel
1365 (default
/usr
/src
/kernel-headers-2.4
.27-adeos)
1366 --enable-img-width=WIDTH maximum image width to be used
(default SVGA
)
1367 --enable-img-height=HEIGHT maximum image height to be used
(default SVGA
)
1368 --enable-canvas-aa Use Anti Aliased canvas
for viewer
; slower but
1369 better displaying of image and resulting data
1370 --enable-debug debug version
(more verbose
)
1371 --enable-mpi enable Message Protocol Interface
(MPI
)
1373 Some influential environment variables
:
1374 CC C compiler
command
1375 CFLAGS C compiler flags
1376 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1377 nonstandard directory
<lib dir
>
1378 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1379 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1380 you have headers
in a nonstandard directory
<include dir
>
1382 PKG_CONFIG path to pkg-config utility
1384 C compiler flags
for GPIV_UI
, overriding pkg-config
1386 linker flags
for GPIV_UI
, overriding pkg-config
1388 C compiler flags
for GPIV_PRINT
, overriding pkg-config
1390 linker flags
for GPIV_PRINT
, overriding pkg-config
1391 GPIV_CFLAGS C compiler flags
for GPIV
, overriding pkg-config
1392 GPIV_LIBS linker flags
for GPIV
, overriding pkg-config
1394 Use these variables to override the choices made by
`configure' or to help
1395 it to find libraries and programs with nonstandard names/locations.
1397 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv>.
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405 test -d "$ac_dir" || continue
1409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1419 ac_abs_top_builddir=$ac_pwd
1420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir=$ac_top_build_prefix
1425 .) # We are building in place.
1427 ac_top_srcdir=$ac_top_builddir_sub
1428 ac_abs_top_srcdir=$ac_pwd ;;
1429 [\\/]* | ?:[\\/]* ) # Absolute name.
1430 ac_srcdir=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir=$srcdir
1432 ac_abs_top_srcdir=$srcdir ;;
1434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" || { ac_status=$?; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 cd "$ac_pwd" || { ac_status=$?; break; }
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1458 gpiv configure 0.6.0
1459 generated by GNU Autoconf 2.61
1461 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1463 This configure script is free software; the Free Software Foundation
1464 gives unlimited permission to copy, distribute and modify it.
1468 cat >config.log <<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by gpiv $as_me 0.6.0, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1485 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1486 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1487 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1488 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1489 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1491 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1492 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1494 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1495 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1496 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1497 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1498 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1499 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1500 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1508 test -z "$as_dir" && as_dir=.
1509 echo "PATH: $as_dir"
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1533 ac_must_keep_next=false
1539 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1541 | -silent | --silent | --silen | --sile | --sil)
1544 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1547 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1549 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true; then
1551 ac_must_keep_next=false # Got value, back to normal.
1554 *=* | --config-cache | -C | -disable-* | --disable-* \
1555 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1556 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1557 | -with-* | --with-* | -without-* | --without-* | --x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1562 -* ) ac_must_keep_next=true ;;
1565 ac_configure_args="$ac_configure_args '$ac_arg'"
1570 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1571 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1592 eval ac_val=\$$ac_var
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1606 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1630 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632 echo "$ac_var='\''$ac_val'\''"
1636 if test -n "$ac_subst_files"; then
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1643 for ac_var in $ac_subst_files
1645 eval ac_val=\$$ac_var
1647 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 echo "$ac_var='\''$ac_val'\''"
1654 if test -s confdefs.h; then
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1672 for ac_signal in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x "$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE; then
1712 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1714 set x "$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1735 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1736 *) . "./$cache_file";;
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1745 # Check that the precious variables saved in the cache have kept the same
1747 ac_cache_corrupted=false
1748 for ac_var in $ac_precious_vars; do
1749 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1750 eval ac_new_set=\$ac_env_${ac_var}_set
1751 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1752 eval ac_new_val=\$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1756 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted=: ;;
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1760 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted=: ;;
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1767 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1768 echo "$as_me: former value
: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1770 echo "$as_me: current value
: $ac_new_val" >&2;}
1771 ac_cache_corrupted=:
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1777 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1778 *) ac_arg=$ac_var=$ac_new_val ;;
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1788 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1789 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1819 ac_cpp='$CPP $CPPFLAGS'
1820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1825 am__api_version="1.9"
1827 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1828 if test -f "$ac_dir/install-sh"; then
1830 ac_install_sh="$ac_aux_dir/install-sh -c"
1832 elif test -f "$ac_dir/install.sh"; then
1834 ac_install_sh="$ac_aux_dir/install.sh -c"
1836 elif test -f "$ac_dir/shtool"; then
1838 ac_install_sh="$ac_aux_dir/shtool install -c"
1842 if test -z "$ac_aux_dir"; then
1843 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1844 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # These three variables are undocumented and unsupported,
1849 # and are intended to be withdrawn in a future Autoconf release.
1850 # They can cause serious problems if a builder's source tree is in a directory
1851 # whose full name contains unusual characters.
1852 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1853 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1854 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1857 # Find a good install program. We prefer a C program (faster),
1858 # so one script is as good as another. But avoid the broken or
1859 # incompatible versions:
1860 # SysV /etc/install, /usr/sbin/install
1861 # SunOS /usr/etc/install
1862 # IRIX /sbin/install
1864 # AmigaOS /C/install, which installs bootblocks on floppy discs
1865 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1866 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1867 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1868 # OS/2's system install, which has a completely different semantic
1869 # ./install, which can be erroneously created by make from ./install.sh.
1870 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1871 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1872 if test -z "$INSTALL"; then
1873 if test "${ac_cv_path_install+set}" = set; then
1874 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1880 test -z "$as_dir" && as_dir=.
1881 # Account for people who put trailing slashes in PATH elements.
1883 ./ | .// | /cC/* | \
1884 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1885 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1888 # OSF1 and SCO ODT 3.0 have their own names for install.
1889 # Don't use installbsd from OSF since it installs stuff as root
1891 for ac_prog in ginstall scoinst install; do
1892 for ac_exec_ext in '' $ac_executable_extensions; do
1893 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1894 if test $ac_prog = install &&
1895 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1896 # AIX install. It has an incompatible calling convention.
1898 elif test $ac_prog = install &&
1899 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1900 # program-specific install script used by HP pwplus--don't use.
1903 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1916 if test "${ac_cv_path_install+set}" = set; then
1917 INSTALL=$ac_cv_path_install
1919 # As a last resort, use the slow shell script. Don't cache a
1920 # value for INSTALL within a source directory, because that will
1921 # break other packages using the cache if that directory is
1922 # removed, or if the value is a relative name.
1923 INSTALL=$ac_install_sh
1926 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1927 echo "${ECHO_T}$INSTALL" >&6; }
1929 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1930 # It thinks the first close brace ends the variable substitution.
1931 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1933 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1935 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1937 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1938 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1941 echo timestamp > conftest.file
1942 # Do `set' in a subshell so we don't clobber the current shell
's
1943 # arguments. Must try -L first in case configure is actually a
1944 # symlink; some systems play weird games with the mod time of symlinks
1945 # (eg FreeBSD returns the mod time of the symlink's containing
1948 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1949 if test "$*" = "X"; then
1951 set X
`ls -t $srcdir/configure conftest.file`
1954 if test "$*" != "X $srcdir/configure conftest.file" \
1955 && test "$*" != "X conftest.file $srcdir/configure"; then
1957 # If neither matched, then we have a broken ls. This can happen
1958 # if, for instance, CONFIG_SHELL is bash and it inherits a
1959 # broken ls alias from the environment. This has actually
1960 # happened. Such a system could not be considered "sane".
1961 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1962 alias in your environment" >&5
1963 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1964 alias in your environment" >&2;}
1965 { (exit 1); exit 1; }; }
1968 test "$2" = conftest.
file
1974 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1975 Check your system clock" >&5
1976 echo "$as_me: error: newly created file is older than distributed files!
1977 Check your system clock" >&2;}
1978 { (exit 1); exit 1; }; }
1980 { echo "$as_me:$LINENO: result: yes" >&5
1981 echo "${ECHO_T}yes" >&6; }
1982 test "$program_prefix" != NONE
&&
1983 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1984 # Use a double $ so make ignores it.
1985 test "$program_suffix" != NONE
&&
1986 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1987 # Double any \ or $. echo might interpret backslashes.
1988 # By default was `s,x,x', remove it if useless.
1989 cat <<\_ACEOF
>conftest.
sed
1990 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1992 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1995 # expand $ac_aux_dir to an absolute path
1996 am_aux_dir
=`cd $ac_aux_dir && pwd`
1998 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1999 # Use eval to expand $SHELL
2000 if eval "$MISSING --run true"; then
2001 am_missing_run
="$MISSING --run "
2004 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2005 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2008 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2009 # We used to keeping the `.' as first argument, in order to
2010 # allow $(mkdir_p) to be used without argument. As in
2011 # $(mkdir_p) $(somedir)
2012 # where $(somedir) is conditionally defined. However this is wrong
2014 # 1. if the package is installed by a user who cannot write `.'
2015 # make install will fail,
2016 # 2. the above comment should most certainly read
2017 # $(mkdir_p) $(DESTDIR)$(somedir)
2018 # so it does not work when $(somedir) is undefined and
2019 # $(DESTDIR) is not.
2020 # To support the latter case, we have to write
2021 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2022 # so the `.' trick is pointless.
2023 mkdir_p
='mkdir -p --'
2025 # On NextStep and OpenStep, the `mkdir' command does not
2026 # recognize any option. It will interpret all options as
2027 # directories to create, and then abort because `.' already
2029 for d
in .
/-p .
/--version;
2031 test -d $d && rmdir $d
2033 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2034 if test -f "$ac_aux_dir/mkinstalldirs"; then
2035 mkdir_p
='$(mkinstalldirs)'
2037 mkdir_p
='$(install_sh) -d'
2041 for ac_prog
in gawk mawk nawk
awk
2043 # Extract the first word of "$ac_prog", so it can be a program name with args.
2044 set dummy
$ac_prog; ac_word
=$2
2045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2047 if test "${ac_cv_prog_AWK+set}" = set; then
2048 echo $ECHO_N "(cached) $ECHO_C" >&6
2050 if test -n "$AWK"; then
2051 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2057 test -z "$as_dir" && as_dir
=.
2058 for ac_exec_ext
in '' $ac_executable_extensions; do
2059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2060 ac_cv_prog_AWK
="$ac_prog"
2061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2071 if test -n "$AWK"; then
2072 { echo "$as_me:$LINENO: result: $AWK" >&5
2073 echo "${ECHO_T}$AWK" >&6; }
2075 { echo "$as_me:$LINENO: result: no" >&5
2076 echo "${ECHO_T}no" >&6; }
2080 test -n "$AWK" && break
2083 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2084 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2085 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2086 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2087 echo $ECHO_N "(cached) $ECHO_C" >&6
2089 cat >conftest.
make <<\_ACEOF
2092 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2094 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2095 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2097 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2099 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2103 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2104 { echo "$as_me:$LINENO: result: yes" >&5
2105 echo "${ECHO_T}yes" >&6; }
2108 { echo "$as_me:$LINENO: result: no" >&5
2109 echo "${ECHO_T}no" >&6; }
2110 SET_MAKE
="MAKE=${MAKE-make}"
2113 rm -rf .tst
2>/dev
/null
2114 mkdir .tst
2>/dev
/null
2115 if test -d .tst
; then
2120 rmdir .tst
2>/dev
/null
2122 # test to see if srcdir already configured
2123 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2124 test -f $srcdir/config.status
; then
2125 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2126 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2127 { (exit 1); exit 1; }; }
2130 # test whether we have cygpath
2131 if test -z "$CYGPATH_W"; then
2132 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2133 CYGPATH_W
='cygpath -w'
2140 # Define the identity of the package.
2145 cat >>confdefs.h
<<_ACEOF
2146 #define PACKAGE "$PACKAGE"
2150 cat >>confdefs.h
<<_ACEOF
2151 #define VERSION "$VERSION"
2154 # Some tools Automake needs.
2156 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2159 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2162 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2165 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2168 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2170 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2172 # Installed binaries are usually stripped using `strip' when the user
2173 # run `make install-strip'. However `strip' might not be the right
2174 # tool to use in cross-compilation environments, therefore Automake
2175 # will honor the `STRIP' environment variable to overrule this program.
2176 if test "$cross_compiling" != no
; then
2177 if test -n "$ac_tool_prefix"; then
2178 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2179 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2180 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2182 if test "${ac_cv_prog_STRIP+set}" = set; then
2183 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 if test -n "$STRIP"; then
2186 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2192 test -z "$as_dir" && as_dir
=.
2193 for ac_exec_ext
in '' $ac_executable_extensions; do
2194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2195 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 STRIP
=$ac_cv_prog_STRIP
2206 if test -n "$STRIP"; then
2207 { echo "$as_me:$LINENO: result: $STRIP" >&5
2208 echo "${ECHO_T}$STRIP" >&6; }
2210 { echo "$as_me:$LINENO: result: no" >&5
2211 echo "${ECHO_T}no" >&6; }
2216 if test -z "$ac_cv_prog_STRIP"; then
2218 # Extract the first word of "strip", so it can be a program name with args.
2219 set dummy strip
; ac_word
=$2
2220 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2222 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 if test -n "$ac_ct_STRIP"; then
2226 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2232 test -z "$as_dir" && as_dir
=.
2233 for ac_exec_ext
in '' $ac_executable_extensions; do
2234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2235 ac_cv_prog_ac_ct_STRIP
="strip"
2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2246 if test -n "$ac_ct_STRIP"; then
2247 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2248 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2250 { echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6; }
2254 if test "x$ac_ct_STRIP" = x
; then
2257 case $cross_compiling:$ac_tool_warned in
2259 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2260 whose name does not start with the host triplet. If you think this
2261 configuration is useful to you, please write to autoconf@gnu.org." >&5
2262 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2263 whose name does not start with the host triplet. If you think this
2264 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2265 ac_tool_warned
=yes ;;
2270 STRIP
="$ac_cv_prog_STRIP"
2274 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2276 # We need awk for the "check" target. The system "awk" is bad on
2278 # Always define AMTAR for backward compatibility.
2280 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2282 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2288 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2289 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2290 # Check whether --enable-maintainer-mode was given.
2291 if test "${enable_maintainer_mode+set}" = set; then
2292 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2294 USE_MAINTAINER_MODE
=no
2297 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2298 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2301 if test $USE_MAINTAINER_MODE = yes; then
2302 MAINTAINER_MODE_TRUE
=
2303 MAINTAINER_MODE_FALSE
='#'
2305 MAINTAINER_MODE_TRUE
='#'
2306 MAINTAINER_MODE_FALSE
=
2309 MAINT
=$MAINTAINER_MODE_TRUE
2314 DEPDIR
="${am__leading_dot}deps"
2316 ac_config_commands
="$ac_config_commands depfiles"
2319 am_make
=${MAKE-make}
2320 cat > confinc
<< 'END'
2325 # If we don't find an include directive, just comment out the code.
2326 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2327 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2331 # First try GNU make style include.
2332 echo "include confinc" > confmf
2333 # We grep out `Entering directory' and `Leaving directory'
2334 # messages which can occur if `w' ends up in MAKEFLAGS.
2335 # In particular we don't look at `^make:' because GNU make might
2336 # be invoked under some other name (usually "gmake"), in which
2337 # case it prints its new name instead of `make'.
2338 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2343 # Now try BSD make style include.
2344 if test "$am__include" = "#"; then
2345 echo '.include "confinc"' > confmf
2346 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2347 am__include
=.include
2354 { echo "$as_me:$LINENO: result: $_am_result" >&5
2355 echo "${ECHO_T}$_am_result" >&6; }
2356 rm -f confinc confmf
2358 # Check whether --enable-dependency-tracking was given.
2359 if test "${enable_dependency_tracking+set}" = set; then
2360 enableval
=$enable_dependency_tracking;
2363 if test "x$enable_dependency_tracking" != xno
; then
2364 am_depcomp
="$ac_aux_dir/depcomp"
2369 if test "x$enable_dependency_tracking" != xno; then
2380 ac_cpp
='$CPP $CPPFLAGS'
2381 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2384 if test -n "$ac_tool_prefix"; then
2385 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2386 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2389 if test "${ac_cv_prog_CC+set}" = set; then
2390 echo $ECHO_N "(cached) $ECHO_C" >&6
2392 if test -n "$CC"; then
2393 ac_cv_prog_CC
="$CC" # Let the user override the test.
2395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2399 test -z "$as_dir" && as_dir
=.
2400 for ac_exec_ext
in '' $ac_executable_extensions; do
2401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2402 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2413 if test -n "$CC"; then
2414 { echo "$as_me:$LINENO: result: $CC" >&5
2415 echo "${ECHO_T}$CC" >&6; }
2417 { echo "$as_me:$LINENO: result: no" >&5
2418 echo "${ECHO_T}no" >&6; }
2423 if test -z "$ac_cv_prog_CC"; then
2425 # Extract the first word of "gcc", so it can be a program name with args.
2426 set dummy gcc
; ac_word
=$2
2427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2429 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 if test -n "$ac_ct_CC"; then
2433 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2439 test -z "$as_dir" && as_dir
=.
2440 for ac_exec_ext
in '' $ac_executable_extensions; do
2441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2442 ac_cv_prog_ac_ct_CC
="gcc"
2443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2452 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2453 if test -n "$ac_ct_CC"; then
2454 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2455 echo "${ECHO_T}$ac_ct_CC" >&6; }
2457 { echo "$as_me:$LINENO: result: no" >&5
2458 echo "${ECHO_T}no" >&6; }
2461 if test "x$ac_ct_CC" = x
; then
2464 case $cross_compiling:$ac_tool_warned in
2466 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2467 whose name does not start with the host triplet. If you think this
2468 configuration is useful to you, please write to autoconf@gnu.org." >&5
2469 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2470 whose name does not start with the host triplet. If you think this
2471 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2472 ac_tool_warned
=yes ;;
2480 if test -z "$CC"; then
2481 if test -n "$ac_tool_prefix"; then
2482 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2483 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2486 if test "${ac_cv_prog_CC+set}" = set; then
2487 echo $ECHO_N "(cached) $ECHO_C" >&6
2489 if test -n "$CC"; then
2490 ac_cv_prog_CC
="$CC" # Let the user override the test.
2492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2496 test -z "$as_dir" && as_dir
=.
2497 for ac_exec_ext
in '' $ac_executable_extensions; do
2498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2499 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 if test -n "$CC"; then
2511 { echo "$as_me:$LINENO: result: $CC" >&5
2512 echo "${ECHO_T}$CC" >&6; }
2514 { echo "$as_me:$LINENO: result: no" >&5
2515 echo "${ECHO_T}no" >&6; }
2521 if test -z "$CC"; then
2522 # Extract the first word of "cc", so it can be a program name with args.
2523 set dummy cc
; ac_word
=$2
2524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2526 if test "${ac_cv_prog_CC+set}" = set; then
2527 echo $ECHO_N "(cached) $ECHO_C" >&6
2529 if test -n "$CC"; then
2530 ac_cv_prog_CC
="$CC" # Let the user override the test.
2533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir
=.
2538 for ac_exec_ext
in '' $ac_executable_extensions; do
2539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2540 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2541 ac_prog_rejected
=yes
2545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 if test $ac_prog_rejected = yes; then
2553 # We found a bogon in the path, so make sure we never use it.
2554 set dummy
$ac_cv_prog_CC
2556 if test $# != 0; then
2557 # We chose a different compiler from the bogus one.
2558 # However, it has the same basename, so the bogon will be chosen
2559 # first if we set CC to just the basename; use the full file name.
2561 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2567 if test -n "$CC"; then
2568 { echo "$as_me:$LINENO: result: $CC" >&5
2569 echo "${ECHO_T}$CC" >&6; }
2571 { echo "$as_me:$LINENO: result: no" >&5
2572 echo "${ECHO_T}no" >&6; }
2577 if test -z "$CC"; then
2578 if test -n "$ac_tool_prefix"; then
2579 for ac_prog
in cl.exe
2581 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2582 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2583 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2585 if test "${ac_cv_prog_CC+set}" = set; then
2586 echo $ECHO_N "(cached) $ECHO_C" >&6
2588 if test -n "$CC"; then
2589 ac_cv_prog_CC
="$CC" # Let the user override the test.
2591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2595 test -z "$as_dir" && as_dir
=.
2596 for ac_exec_ext
in '' $ac_executable_extensions; do
2597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2598 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2609 if test -n "$CC"; then
2610 { echo "$as_me:$LINENO: result: $CC" >&5
2611 echo "${ECHO_T}$CC" >&6; }
2613 { echo "$as_me:$LINENO: result: no" >&5
2614 echo "${ECHO_T}no" >&6; }
2618 test -n "$CC" && break
2621 if test -z "$CC"; then
2623 for ac_prog
in cl.exe
2625 # Extract the first word of "$ac_prog", so it can be a program name with args.
2626 set dummy
$ac_prog; ac_word
=$2
2627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2629 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 if test -n "$ac_ct_CC"; then
2633 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2639 test -z "$as_dir" && as_dir
=.
2640 for ac_exec_ext
in '' $ac_executable_extensions; do
2641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2642 ac_cv_prog_ac_ct_CC
="$ac_prog"
2643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2652 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2653 if test -n "$ac_ct_CC"; then
2654 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2655 echo "${ECHO_T}$ac_ct_CC" >&6; }
2657 { echo "$as_me:$LINENO: result: no" >&5
2658 echo "${ECHO_T}no" >&6; }
2662 test -n "$ac_ct_CC" && break
2665 if test "x$ac_ct_CC" = x
; then
2668 case $cross_compiling:$ac_tool_warned in
2670 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2671 whose name does not start with the host triplet. If you think this
2672 configuration is useful to you, please write to autoconf@gnu.org." >&5
2673 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2674 whose name does not start with the host triplet. If you think this
2675 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2676 ac_tool_warned
=yes ;;
2685 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2686 See \`config.log' for more details." >&5
2687 echo "$as_me: error: no acceptable C compiler found in \$PATH
2688 See \`config.log' for more details." >&2;}
2689 { (exit 1); exit 1; }; }
2691 # Provide some information about the compiler.
2692 echo "$as_me:$LINENO: checking for C compiler version" >&5
2693 ac_compiler
=`set X $ac_compile; echo $2`
2694 { (ac_try
="$ac_compiler --version >&5"
2696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2700 (eval "$ac_compiler --version >&5") 2>&5
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); }
2704 { (ac_try="$ac_compiler -v >&5"
2706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2707 *) ac_try_echo
=$ac_try;;
2709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2710 (eval "$ac_compiler -v >&5") 2>&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }
2714 { (ac_try
="$ac_compiler -V >&5"
2716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2717 *) ac_try_echo=$ac_try;;
2719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2720 (eval "$ac_compiler -V >&5") 2>&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); }
2725 cat >conftest.$ac_ext <<_ACEOF
2728 cat confdefs.h >>conftest.$ac_ext
2729 cat >>conftest.$ac_ext <<_ACEOF
2730 /* end confdefs.h. */
2740 ac_clean_files_save=$ac_clean_files
2741 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2742 # Try to create an executable without -o first, disregard a.out.
2743 # It will help us diagnose broken compilers, and finding out an intuition
2745 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2746 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2747 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2749 # List of possible output files, starting from the most likely.
2750 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2751 # only as a last resort. b.out is created by i960 compilers.
2752 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2754 # The IRIX 6 linker writes into existing files which may not be
2755 # executable, retaining their permissions. Remove them first so a
2756 # subsequent execution test works.
2758 for ac_file in $ac_files
2761 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2762 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2767 if { (ac_try="$ac_link_default"
2769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2770 *) ac_try_echo=$ac_try;;
2772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2773 (eval "$ac_link_default") 2>&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; then
2777 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2778 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2779 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2780 # so that the user can short-circuit this test for compilers unknown to
2782 for ac_file
in $ac_files ''
2784 test -f "$ac_file" ||
continue
2786 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2789 # We found the default executable, but exeext='' is most
2793 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2795 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2797 # We set ac_cv_exeext here because the later test for it is not
2798 # safe: cross compilers may not add the suffix if given an `-o'
2799 # argument, so we may need to know it at that point already.
2800 # Even if this section looks crufty: it has the advantage of
2807 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2813 { echo "$as_me:$LINENO: result: $ac_file" >&5
2814 echo "${ECHO_T}$ac_file" >&6; }
2815 if test -z "$ac_file"; then
2816 echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.
$ac_ext >&5
2819 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2820 See \`config.log' for more details." >&5
2821 echo "$as_me: error: C compiler cannot create executables
2822 See \`config.log' for more details." >&2;}
2823 { (exit 77); exit 77; }; }
2826 ac_exeext
=$ac_cv_exeext
2828 # Check that the compiler produces executables we can run. If not, either
2829 # the compiler is broken, or we cross compile.
2830 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2831 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2832 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2833 # If not cross compiling, check that we can run a simple program.
2834 if test "$cross_compiling" != yes; then
2835 if { ac_try
='./$ac_file'
2836 { (case "(($ac_try" in
2837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2841 (eval "$ac_try") 2>&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; }; then
2847 if test "$cross_compiling" = maybe; then
2850 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2851 If you meant to cross compile, use \`--host'.
2852 See \`config.log' for more details.
" >&5
2853 echo "$as_me: error
: cannot run C compiled programs.
2854 If you meant to cross compile
, use \
`--host'.
2855 See \`config.log
' for more details." >&2;}
2856 { (exit 1); exit 1; }; }
2860 { echo "$as_me:$LINENO: result: yes" >&5
2861 echo "${ECHO_T}yes" >&6; }
2863 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2864 ac_clean_files=$ac_clean_files_save
2865 # Check that the compiler produces executables we can run. If not, either
2866 # the compiler is broken, or we cross compile.
2867 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2868 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2869 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2870 echo "${ECHO_T}$cross_compiling" >&6; }
2872 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2873 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2874 if { (ac_try="$ac_link"
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2877 *) ac_try_echo=$ac_try;;
2879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2880 (eval "$ac_link") 2>&5
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); }; then
2884 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2885 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2886 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2888 for ac_file
in conftest.exe conftest conftest.
*; do
2889 test -f "$ac_file" ||
continue
2891 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2892 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2898 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2899 See \`config.log' for more details." >&5
2900 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2901 See \`config.log' for more details." >&2;}
2902 { (exit 1); exit 1; }; }
2905 rm -f conftest
$ac_cv_exeext
2906 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2907 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2909 rm -f conftest.
$ac_ext
2910 EXEEXT
=$ac_cv_exeext
2912 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2913 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2914 if test "${ac_cv_objext+set}" = set; then
2915 echo $ECHO_N "(cached) $ECHO_C" >&6
2917 cat >conftest.
$ac_ext <<_ACEOF
2920 cat confdefs.h
>>conftest.
$ac_ext
2921 cat >>conftest.
$ac_ext <<_ACEOF
2922 /* end confdefs.h. */
2932 rm -f conftest.o conftest.obj
2933 if { (ac_try
="$ac_compile"
2935 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2936 *) ac_try_echo=$ac_try;;
2938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2939 (eval "$ac_compile") 2>&5
2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942 (exit $ac_status); }; then
2943 for ac_file in conftest.o conftest.obj conftest.*; do
2944 test -f "$ac_file" || continue;
2946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2947 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2952 echo "$as_me: failed program was:" >&5
2953 sed 's/^/| /' conftest.$ac_ext >&5
2955 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2956 See \`config.log
' for more details." >&5
2957 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2958 See \`config.log' for more details.
" >&2;}
2959 { (exit 1); exit 1; }; }
2962 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2964 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2965 echo "${ECHO_T}$ac_cv_objext" >&6; }
2966 OBJEXT=$ac_cv_objext
2968 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2969 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2970 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2971 echo $ECHO_N "(cached
) $ECHO_C" >&6
2973 cat >conftest.$ac_ext <<_ACEOF
2976 cat confdefs.h >>conftest.$ac_ext
2977 cat >>conftest.$ac_ext <<_ACEOF
2978 /* end confdefs.h. */
2991 rm -f conftest.$ac_objext
2992 if { (ac_try="$ac_compile"
2994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2995 *) ac_try_echo=$ac_try;;
2997 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2998 (eval "$ac_compile") 2>conftest.er1
3000 grep -v '^ *+' conftest.er1 >conftest.err
3002 cat conftest.err >&5
3003 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3004 (exit $ac_status); } && {
3005 test -z "$ac_c_werror_flag" ||
3006 test ! -s conftest.err
3007 } && test -s conftest.$ac_objext; then
3010 echo "$as_me: failed program was
:" >&5
3011 sed 's/^/| /' conftest.$ac_ext >&5
3016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3017 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3020 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3021 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3022 GCC=`test $ac_compiler_gnu = yes && echo yes`
3023 ac_test_CFLAGS=${CFLAGS+set}
3024 ac_save_CFLAGS=$CFLAGS
3025 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3026 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3027 if test "${ac_cv_prog_cc_g+set}" = set; then
3028 echo $ECHO_N "(cached
) $ECHO_C" >&6
3030 ac_save_c_werror_flag=$ac_c_werror_flag
3031 ac_c_werror_flag=yes
3034 cat >conftest.$ac_ext <<_ACEOF
3037 cat confdefs.h >>conftest.$ac_ext
3038 cat >>conftest.$ac_ext <<_ACEOF
3039 /* end confdefs.h. */
3049 rm -f conftest.$ac_objext
3050 if { (ac_try="$ac_compile"
3052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3053 *) ac_try_echo=$ac_try;;
3055 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3056 (eval "$ac_compile") 2>conftest.er1
3058 grep -v '^ *+' conftest.er1 >conftest.err
3060 cat conftest.err >&5
3061 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3062 (exit $ac_status); } && {
3063 test -z "$ac_c_werror_flag" ||
3064 test ! -s conftest.err
3065 } && test -s conftest.$ac_objext; then
3068 echo "$as_me: failed program was
:" >&5
3069 sed 's/^/| /' conftest.$ac_ext >&5
3072 cat >conftest.$ac_ext <<_ACEOF
3075 cat confdefs.h >>conftest.$ac_ext
3076 cat >>conftest.$ac_ext <<_ACEOF
3077 /* end confdefs.h. */
3087 rm -f conftest.$ac_objext
3088 if { (ac_try="$ac_compile"
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3093 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3094 (eval "$ac_compile") 2>conftest.er1
3096 grep -v '^ *+' conftest.er1 >conftest.err
3098 cat conftest.err >&5
3099 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3100 (exit $ac_status); } && {
3101 test -z "$ac_c_werror_flag" ||
3102 test ! -s conftest.err
3103 } && test -s conftest.$ac_objext; then
3106 echo "$as_me: failed program was
:" >&5
3107 sed 's/^/| /' conftest.$ac_ext >&5
3109 ac_c_werror_flag=$ac_save_c_werror_flag
3111 cat >conftest.$ac_ext <<_ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3126 rm -f conftest.$ac_objext
3127 if { (ac_try="$ac_compile"
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3132 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3133 (eval "$ac_compile") 2>conftest.er1
3135 grep -v '^ *+' conftest.er1 >conftest.err
3137 cat conftest.err >&5
3138 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3139 (exit $ac_status); } && {
3140 test -z "$ac_c_werror_flag" ||
3141 test ! -s conftest.err
3142 } && test -s conftest.$ac_objext; then
3145 echo "$as_me: failed program was
:" >&5
3146 sed 's/^/| /' conftest.$ac_ext >&5
3151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158 ac_c_werror_flag=$ac_save_c_werror_flag
3160 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3161 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3162 if test "$ac_test_CFLAGS" = set; then
3163 CFLAGS=$ac_save_CFLAGS
3164 elif test $ac_cv_prog_cc_g = yes; then
3165 if test "$GCC" = yes; then
3171 if test "$GCC" = yes; then
3177 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3178 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3179 if test "${ac_cv_prog_cc_c89+set}" = set; then
3180 echo $ECHO_N "(cached
) $ECHO_C" >&6
3182 ac_cv_prog_cc_c89=no
3184 cat >conftest.$ac_ext <<_ACEOF
3187 cat confdefs.h >>conftest.$ac_ext
3188 cat >>conftest.$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3192 #include <sys/types.h>
3193 #include <sys/stat.h>
3194 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3195 struct buf { int x; };
3196 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3197 static char *e (p, i)
3203 static char *f (char * (*g) (char **, int), char **p, ...)
3208 s = g (p, va_arg (v,int));
3213 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3214 function prototypes and stuff, but not '\xHH' hex character constants.
3215 These don't provoke an error unfortunately, instead are silently treated
3216 as 'x'. The following induces an error, until -std is added to get
3217 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3218 array size at least. It's necessary to write '\x00'==0 to get something
3219 that's true only with -std. */
3220 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3222 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3223 inside strings and character constants. */
3225 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3227 int test (int i, double x);
3228 struct s1 {int (*f) (int a);};
3229 struct s2 {int (*f) (double a);};
3230 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3236 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3241 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3242 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3244 CC="$ac_save_CC $ac_arg"
3245 rm -f conftest.$ac_objext
3246 if { (ac_try="$ac_compile"
3248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3249 *) ac_try_echo=$ac_try;;
3251 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3252 (eval "$ac_compile") 2>conftest.er1
3254 grep -v '^ *+' conftest.er1 >conftest.err
3256 cat conftest.err >&5
3257 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3258 (exit $ac_status); } && {
3259 test -z "$ac_c_werror_flag" ||
3260 test ! -s conftest.err
3261 } && test -s conftest.$ac_objext; then
3262 ac_cv_prog_cc_c89=$ac_arg
3264 echo "$as_me: failed program was
:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3270 rm -f core conftest.err conftest.$ac_objext
3271 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3273 rm -f conftest.$ac_ext
3278 case "x
$ac_cv_prog_cc_c89" in
3280 { echo "$as_me:$LINENO: result
: none needed
" >&5
3281 echo "${ECHO_T}none needed
" >&6; } ;;
3283 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3284 echo "${ECHO_T}unsupported
" >&6; } ;;
3286 CC="$CC $ac_cv_prog_cc_c89"
3287 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3288 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3293 ac_cpp='$CPP $CPPFLAGS'
3294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3298 depcc="$CC" am_compiler_list=
3300 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3301 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3302 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3303 echo $ECHO_N "(cached
) $ECHO_C" >&6
3305 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3306 # We make a subdir and do the tests there. Otherwise we can end up
3307 # making bogus files that we don't know about and never remove. For
3308 # instance it was reported that on HP-UX the gcc test will end up
3309 # making a dummy file named `D' -- because `-MD' means `put the output
3312 # Copy depcomp to subdir because otherwise we won't find it if we're
3313 # using a relative directory.
3314 cp "$am_depcomp" conftest.dir
3316 # We will build objects and dependencies in a subdirectory because
3317 # it helps to detect inapplicable dependency modes. For instance
3318 # both Tru64's cc and ICC support -MD to output dependencies as a
3319 # side effect of compilation, but ICC will put the dependencies in
3320 # the current directory while Tru64 will put them in the object
3324 am_cv_CC_dependencies_compiler_type=none
3325 if test "$am_compiler_list" = ""; then
3326 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3328 for depmode in $am_compiler_list; do
3329 # Setup a source with many dependencies, because some compilers
3330 # like to wrap large dependency lists on column 80 (with \), and
3331 # we should not choose a depcomp mode which is confused by this.
3333 # We need to recreate these files for each test, as the compiler may
3334 # overwrite some of them when testing with obscure command lines.
3335 # This happens at least with the AIX C compiler.
3337 for i in 1 2 3 4 5 6; do
3338 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3339 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3340 # Solaris 8's {/usr,}/bin/sh.
3341 touch sub/conftst$i.h
3343 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3347 # after this tag, mechanisms are not by side-effect, so they'll
3348 # only be used when explicitly requested
3349 if test "x
$enable_dependency_tracking" = xyes; then
3357 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3358 # mode. It turns out that the SunPro C++ compiler does not properly
3359 # handle `-M -o', and we need to detect this.
3360 if depmode=$depmode \
3361 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3362 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3363 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3364 >/dev/null 2>conftest.err &&
3365 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3366 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3367 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3368 # icc doesn't choke on unknown options, it will just issue warnings
3369 # or remarks (even with -Werror). So we grep stderr for any message
3370 # that says an option was ignored or not supported.
3371 # When given -MP, icc 7.0 and 7.1 complain thusly:
3372 # icc: Command line warning: ignoring option '-M'; no argument required
3373 # The diagnosis changed in icc 8.0:
3374 # icc: Command line remark: option '-MP' not supported
3375 if (grep 'ignoring option' conftest.err ||
3376 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3377 am_cv_CC_dependencies_compiler_type=$depmode
3386 am_cv_CC_dependencies_compiler_type=none
3390 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3391 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3392 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3397 test "x
$enable_dependency_tracking" != xno \
3398 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3400 am__fastdepCC_FALSE='#'
3402 am__fastdepCC_TRUE='#'
3403 am__fastdepCC_FALSE=
3408 { echo "$as_me:$LINENO: checking
for library containing strerror
" >&5
3409 echo $ECHO_N "checking
for library containing strerror...
$ECHO_C" >&6; }
3410 if test "${ac_cv_search_strerror+set}" = set; then
3411 echo $ECHO_N "(cached
) $ECHO_C" >&6
3413 ac_func_search_save_LIBS=$LIBS
3414 cat >conftest.$ac_ext <<_ACEOF
3417 cat confdefs.h >>conftest.$ac_ext
3418 cat >>conftest.$ac_ext <<_ACEOF
3419 /* end confdefs.h. */
3421 /* Override any GCC internal prototype to avoid an error.
3422 Use char because int might match the return type of a GCC
3423 builtin and then its argument prototype would still apply. */
3436 for ac_lib in '' cposix; do
3437 if test -z "$ac_lib"; then
3438 ac_res="none required
"
3441 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3443 rm -f conftest.$ac_objext conftest$ac_exeext
3444 if { (ac_try="$ac_link"
3446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3447 *) ac_try_echo=$ac_try;;
3449 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3450 (eval "$ac_link") 2>conftest.er1
3452 grep -v '^ *+' conftest.er1 >conftest.err
3454 cat conftest.err >&5
3455 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3456 (exit $ac_status); } && {
3457 test -z "$ac_c_werror_flag" ||
3458 test ! -s conftest.err
3459 } && test -s conftest$ac_exeext &&
3460 $as_test_x conftest$ac_exeext; then
3461 ac_cv_search_strerror=$ac_res
3463 echo "$as_me: failed program was
:" >&5
3464 sed 's/^/| /' conftest.$ac_ext >&5
3469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3471 if test "${ac_cv_search_strerror+set}" = set; then
3475 if test "${ac_cv_search_strerror+set}" = set; then
3478 ac_cv_search_strerror=no
3481 LIBS=$ac_func_search_save_LIBS
3483 { echo "$as_me:$LINENO: result
: $ac_cv_search_strerror" >&5
3484 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3485 ac_res=$ac_cv_search_strerror
3486 if test "$ac_res" != no; then
3487 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
3492 ac_cpp='$CPP $CPPFLAGS'
3493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3496 if test -n "$ac_tool_prefix"; then
3497 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3498 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3499 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3500 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3501 if test "${ac_cv_prog_CC+set}" = set; then
3502 echo $ECHO_N "(cached
) $ECHO_C" >&6
3504 if test -n "$CC"; then
3505 ac_cv_prog_CC="$CC" # Let the user override the test.
3507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3511 test -z "$as_dir" && as_dir=.
3512 for ac_exec_ext in '' $ac_executable_extensions; do
3513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3514 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
3515 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3525 if test -n "$CC"; then
3526 { echo "$as_me:$LINENO: result
: $CC" >&5
3527 echo "${ECHO_T}$CC" >&6; }
3529 { echo "$as_me:$LINENO: result
: no
" >&5
3530 echo "${ECHO_T}no
" >&6; }
3535 if test -z "$ac_cv_prog_CC"; then
3537 # Extract the first word of "gcc
", so it can be a program name with args.
3538 set dummy gcc; ac_word=$2
3539 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3540 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3541 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3542 echo $ECHO_N "(cached
) $ECHO_C" >&6
3544 if test -n "$ac_ct_CC"; then
3545 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3554 ac_cv_prog_ac_ct_CC="gcc
"
3555 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3564 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3565 if test -n "$ac_ct_CC"; then
3566 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3567 echo "${ECHO_T}$ac_ct_CC" >&6; }
3569 { echo "$as_me:$LINENO: result
: no
" >&5
3570 echo "${ECHO_T}no
" >&6; }
3573 if test "x
$ac_ct_CC" = x; then
3576 case $cross_compiling:$ac_tool_warned in
3578 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3579 whose name does not start with the
host triplet. If you think this
3580 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3581 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3582 whose name does not start with the
host triplet. If you think this
3583 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3584 ac_tool_warned=yes ;;
3592 if test -z "$CC"; then
3593 if test -n "$ac_tool_prefix"; then
3594 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3595 set dummy ${ac_tool_prefix}cc; ac_word=$2
3596 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3597 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3598 if test "${ac_cv_prog_CC+set}" = set; then
3599 echo $ECHO_N "(cached
) $ECHO_C" >&6
3601 if test -n "$CC"; then
3602 ac_cv_prog_CC="$CC" # Let the user override the test.
3604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 test -z "$as_dir" && as_dir=.
3609 for ac_exec_ext in '' $ac_executable_extensions; do
3610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3611 ac_cv_prog_CC="${ac_tool_prefix}cc
"
3612 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3622 if test -n "$CC"; then
3623 { echo "$as_me:$LINENO: result
: $CC" >&5
3624 echo "${ECHO_T}$CC" >&6; }
3626 { echo "$as_me:$LINENO: result
: no
" >&5
3627 echo "${ECHO_T}no
" >&6; }
3633 if test -z "$CC"; then
3634 # Extract the first word of "cc
", so it can be a program name with args.
3635 set dummy cc; ac_word=$2
3636 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3637 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3638 if test "${ac_cv_prog_CC+set}" = set; then
3639 echo $ECHO_N "(cached
) $ECHO_C" >&6
3641 if test -n "$CC"; then
3642 ac_cv_prog_CC="$CC" # Let the user override the test.
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3649 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3652 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
3653 ac_prog_rejected=yes
3657 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3664 if test $ac_prog_rejected = yes; then
3665 # We found a bogon in the path, so make sure we never use it.
3666 set dummy $ac_cv_prog_CC
3668 if test $# != 0; then
3669 # We chose a different compiler from the bogus one.
3670 # However, it has the same basename, so the bogon will be chosen
3671 # first if we set CC to just the basename; use the full file name.
3673 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
3679 if test -n "$CC"; then
3680 { echo "$as_me:$LINENO: result
: $CC" >&5
3681 echo "${ECHO_T}$CC" >&6; }
3683 { echo "$as_me:$LINENO: result
: no
" >&5
3684 echo "${ECHO_T}no
" >&6; }
3689 if test -z "$CC"; then
3690 if test -n "$ac_tool_prefix"; then
3691 for ac_prog in cl.exe
3693 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3694 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3695 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3696 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3697 if test "${ac_cv_prog_CC+set}" = set; then
3698 echo $ECHO_N "(cached
) $ECHO_C" >&6
3700 if test -n "$CC"; then
3701 ac_cv_prog_CC="$CC" # Let the user override the test.
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707 test -z "$as_dir" && as_dir=.
3708 for ac_exec_ext in '' $ac_executable_extensions; do
3709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3710 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3711 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3721 if test -n "$CC"; then
3722 { echo "$as_me:$LINENO: result
: $CC" >&5
3723 echo "${ECHO_T}$CC" >&6; }
3725 { echo "$as_me:$LINENO: result
: no
" >&5
3726 echo "${ECHO_T}no
" >&6; }
3730 test -n "$CC" && break
3733 if test -z "$CC"; then
3735 for ac_prog in cl.exe
3737 # Extract the first word of "$ac_prog", so it can be a program name with args.
3738 set dummy $ac_prog; ac_word=$2
3739 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3740 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3741 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3742 echo $ECHO_N "(cached
) $ECHO_C" >&6
3744 if test -n "$ac_ct_CC"; then
3745 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3751 test -z "$as_dir" && as_dir=.
3752 for ac_exec_ext in '' $ac_executable_extensions; do
3753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3754 ac_cv_prog_ac_ct_CC="$ac_prog"
3755 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3764 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3765 if test -n "$ac_ct_CC"; then
3766 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3767 echo "${ECHO_T}$ac_ct_CC" >&6; }
3769 { echo "$as_me:$LINENO: result
: no
" >&5
3770 echo "${ECHO_T}no
" >&6; }
3774 test -n "$ac_ct_CC" && break
3777 if test "x
$ac_ct_CC" = x; then
3780 case $cross_compiling:$ac_tool_warned in
3782 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3783 whose name does not start with the
host triplet. If you think this
3784 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3785 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3786 whose name does not start with the
host triplet. If you think this
3787 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3788 ac_tool_warned=yes ;;
3797 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
3798 See \
`config.log' for more details." >&5
3799 echo "$as_me: error: no acceptable C compiler found in \$PATH
3800 See \`config.log
' for more details." >&2;}
3801 { (exit 1); exit 1; }; }
3803 # Provide some information about the compiler.
3804 echo "$as_me:$LINENO: checking for C compiler version" >&5
3805 ac_compiler=`set X $ac_compile; echo $2`
3806 { (ac_try="$ac_compiler --version >&5"
3808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3809 *) ac_try_echo=$ac_try;;
3811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3812 (eval "$ac_compiler --version >&5") 2>&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); }
3816 { (ac_try="$ac_compiler -v >&5"
3818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3819 *) ac_try_echo=$ac_try;;
3821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3822 (eval "$ac_compiler -v >&5") 2>&5
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); }
3826 { (ac_try="$ac_compiler -V >&5"
3828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3829 *) ac_try_echo=$ac_try;;
3831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3832 (eval "$ac_compiler -V >&5") 2>&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); }
3837 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3838 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3839 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3840 echo $ECHO_N "(cached) $ECHO_C" >&6
3842 cat >conftest.$ac_ext <<_ACEOF
3845 cat confdefs.h >>conftest.$ac_ext
3846 cat >>conftest.$ac_ext <<_ACEOF
3847 /* end confdefs.h. */
3860 rm -f conftest.$ac_objext
3861 if { (ac_try="$ac_compile"
3863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3864 *) ac_try_echo=$ac_try;;
3866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3867 (eval "$ac_compile") 2>conftest.er1
3869 grep -v '^
*+' conftest.er1 >conftest.err
3871 cat conftest.err >&5
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); } && {
3874 test -z "$ac_c_werror_flag" ||
3875 test ! -s conftest.err
3876 } && test -s conftest.$ac_objext; then
3879 echo "$as_me: failed program was:" >&5
3880 sed 's
/^
/|
/' conftest.$ac_ext >&5
3885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3886 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3889 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3890 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3891 GCC=`test $ac_compiler_gnu = yes && echo yes`
3892 ac_test_CFLAGS=${CFLAGS+set}
3893 ac_save_CFLAGS=$CFLAGS
3894 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3895 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3896 if test "${ac_cv_prog_cc_g+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 ac_save_c_werror_flag=$ac_c_werror_flag
3900 ac_c_werror_flag=yes
3903 cat >conftest.$ac_ext <<_ACEOF
3906 cat confdefs.h >>conftest.$ac_ext
3907 cat >>conftest.$ac_ext <<_ACEOF
3908 /* end confdefs.h. */
3918 rm -f conftest.$ac_objext
3919 if { (ac_try="$ac_compile"
3921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3922 *) ac_try_echo=$ac_try;;
3924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3925 (eval "$ac_compile") 2>conftest.er1
3927 grep -v '^
*+' conftest.er1 >conftest.err
3929 cat conftest.err >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } && {
3932 test -z "$ac_c_werror_flag" ||
3933 test ! -s conftest.err
3934 } && test -s conftest.$ac_objext; then
3937 echo "$as_me: failed program was:" >&5
3938 sed 's
/^
/|
/' conftest.$ac_ext >&5
3941 cat >conftest.$ac_ext <<_ACEOF
3944 cat confdefs.h >>conftest.$ac_ext
3945 cat >>conftest.$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3956 rm -f conftest.$ac_objext
3957 if { (ac_try="$ac_compile"
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3963 (eval "$ac_compile") 2>conftest.er1
3965 grep -v '^
*+' conftest.er1 >conftest.err
3967 cat conftest.err >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } && {
3970 test -z "$ac_c_werror_flag" ||
3971 test ! -s conftest.err
3972 } && test -s conftest.$ac_objext; then
3975 echo "$as_me: failed program was:" >&5
3976 sed 's
/^
/|
/' conftest.$ac_ext >&5
3978 ac_c_werror_flag=$ac_save_c_werror_flag
3980 cat >conftest.$ac_ext <<_ACEOF
3983 cat confdefs.h >>conftest.$ac_ext
3984 cat >>conftest.$ac_ext <<_ACEOF
3985 /* end confdefs.h. */
3995 rm -f conftest.$ac_objext
3996 if { (ac_try="$ac_compile"
3998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3999 *) ac_try_echo=$ac_try;;
4001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4002 (eval "$ac_compile") 2>conftest.er1
4004 grep -v '^
*+' conftest.er1 >conftest.err
4006 cat conftest.err >&5
4007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4008 (exit $ac_status); } && {
4009 test -z "$ac_c_werror_flag" ||
4010 test ! -s conftest.err
4011 } && test -s conftest.$ac_objext; then
4014 echo "$as_me: failed program was:" >&5
4015 sed 's
/^
/|
/' conftest.$ac_ext >&5
4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4027 ac_c_werror_flag=$ac_save_c_werror_flag
4029 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4030 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4031 if test "$ac_test_CFLAGS" = set; then
4032 CFLAGS=$ac_save_CFLAGS
4033 elif test $ac_cv_prog_cc_g = yes; then
4034 if test "$GCC" = yes; then
4040 if test "$GCC" = yes; then
4046 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4047 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4048 if test "${ac_cv_prog_cc_c89+set}" = set; then
4049 echo $ECHO_N "(cached) $ECHO_C" >&6
4051 ac_cv_prog_cc_c89=no
4053 cat >conftest.$ac_ext <<_ACEOF
4056 cat confdefs.h >>conftest.$ac_ext
4057 cat >>conftest.$ac_ext <<_ACEOF
4058 /* end confdefs.h. */
4061 #include <sys/types.h>
4062 #include <sys/stat.h>
4063 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4064 struct buf
{ int x
; };
4065 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4066 static char
*e
(p
, i
)
4072 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4077 s
= g
(p
, va_arg
(v
,int
));
4082 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
4083 function prototypes and stuff
, but not
'\xHH' hex character constants.
4084 These don
't provoke an error unfortunately, instead are silently treated
4085 as 'x
'. The following induces an error, until -std is added to get
4086 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4087 array size at least. It's necessary to
write '\x00'==0 to get something
4088 that
's true only with -std. */
4089 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4091 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4092 inside strings and character constants. */
4094 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4096 int test (int i, double x);
4097 struct s1 {int (*f) (int a);};
4098 struct s2 {int (*f) (double a);};
4099 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4105 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4110 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4111 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4113 CC="$ac_save_CC $ac_arg"
4114 rm -f conftest.$ac_objext
4115 if { (ac_try="$ac_compile"
4117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4118 *) ac_try_echo=$ac_try;;
4120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4121 (eval "$ac_compile") 2>conftest.er1
4123 grep -v '^
*+' conftest.er1 >conftest.err
4125 cat conftest.err >&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); } && {
4128 test -z "$ac_c_werror_flag" ||
4129 test ! -s conftest.err
4130 } && test -s conftest.$ac_objext; then
4131 ac_cv_prog_cc_c89=$ac_arg
4133 echo "$as_me: failed program was:" >&5
4134 sed 's
/^
/|
/' conftest.$ac_ext >&5
4139 rm -f core conftest.err conftest.$ac_objext
4140 test "x$ac_cv_prog_cc_c89" != "xno" && break
4142 rm -f conftest.$ac_ext
4147 case "x$ac_cv_prog_cc_c89" in
4149 { echo "$as_me:$LINENO: result: none needed" >&5
4150 echo "${ECHO_T}none needed" >&6; } ;;
4152 { echo "$as_me:$LINENO: result: unsupported" >&5
4153 echo "${ECHO_T}unsupported" >&6; } ;;
4155 CC="$CC $ac_cv_prog_cc_c89"
4156 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4157 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4162 ac_cpp='$CPP $CPPFLAGS'
4163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4164 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4167 depcc="$CC" am_compiler_list=
4169 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4170 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4171 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4174 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4175 # We make a subdir and do the tests there. Otherwise we can end up
4176 # making bogus files that we don't know about and never remove. For
4177 # instance it was reported that on HP-UX the gcc test will end up
4178 # making a dummy file named `D' -- because `-MD' means `put the output
4181 # Copy depcomp to subdir because otherwise we won't find it if we're
4182 # using a relative directory.
4183 cp "$am_depcomp" conftest.dir
4185 # We will build objects and dependencies in a subdirectory because
4186 # it helps to detect inapplicable dependency modes. For instance
4187 # both Tru64's cc and ICC support -MD to output dependencies as a
4188 # side effect of compilation, but ICC will put the dependencies in
4189 # the current directory while Tru64 will put them in the object
4193 am_cv_CC_dependencies_compiler_type
=none
4194 if test "$am_compiler_list" = ""; then
4195 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4197 for depmode
in $am_compiler_list; do
4198 # Setup a source with many dependencies, because some compilers
4199 # like to wrap large dependency lists on column 80 (with \), and
4200 # we should not choose a depcomp mode which is confused by this.
4202 # We need to recreate these files for each test, as the compiler may
4203 # overwrite some of them when testing with obscure command lines.
4204 # This happens at least with the AIX C compiler.
4206 for i
in 1 2 3 4 5 6; do
4207 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4208 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4209 # Solaris 8's {/usr,}/bin/sh.
4210 touch sub
/conftst
$i.h
4212 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4216 # after this tag, mechanisms are not by side-effect, so they'll
4217 # only be used when explicitly requested
4218 if test "x$enable_dependency_tracking" = xyes
; then
4226 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4227 # mode. It turns out that the SunPro C++ compiler does not properly
4228 # handle `-M -o', and we need to detect this.
4229 if depmode
=$depmode \
4230 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4231 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4232 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4233 >/dev
/null
2>conftest.err
&&
4234 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4235 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4236 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4237 # icc doesn't choke on unknown options, it will just issue warnings
4238 # or remarks (even with -Werror). So we grep stderr for any message
4239 # that says an option was ignored or not supported.
4240 # When given -MP, icc 7.0 and 7.1 complain thusly:
4241 # icc: Command line warning: ignoring option '-M'; no argument required
4242 # The diagnosis changed in icc 8.0:
4243 # icc: Command line remark: option '-MP' not supported
4244 if (grep 'ignoring option' conftest.err ||
4245 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4246 am_cv_CC_dependencies_compiler_type
=$depmode
4255 am_cv_CC_dependencies_compiler_type
=none
4259 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4260 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4261 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4266 test "x$enable_dependency_tracking" != xno \
4267 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4269 am__fastdepCC_FALSE
='#'
4271 am__fastdepCC_TRUE
='#'
4272 am__fastdepCC_FALSE
=
4277 ac_cpp
='$CPP $CPPFLAGS'
4278 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4279 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4280 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4281 if test -n "$ac_tool_prefix"; then
4282 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4283 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4286 if test "${ac_cv_prog_CC+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 if test -n "$CC"; then
4290 ac_cv_prog_CC
="$CC" # Let the user override the test.
4292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4296 test -z "$as_dir" && as_dir
=.
4297 for ac_exec_ext
in '' $ac_executable_extensions; do
4298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4299 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4310 if test -n "$CC"; then
4311 { echo "$as_me:$LINENO: result: $CC" >&5
4312 echo "${ECHO_T}$CC" >&6; }
4314 { echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6; }
4320 if test -z "$ac_cv_prog_CC"; then
4322 # Extract the first word of "gcc", so it can be a program name with args.
4323 set dummy gcc
; ac_word
=$2
4324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4326 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 if test -n "$ac_ct_CC"; then
4330 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4336 test -z "$as_dir" && as_dir
=.
4337 for ac_exec_ext
in '' $ac_executable_extensions; do
4338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4339 ac_cv_prog_ac_ct_CC
="gcc"
4340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4349 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4350 if test -n "$ac_ct_CC"; then
4351 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4352 echo "${ECHO_T}$ac_ct_CC" >&6; }
4354 { echo "$as_me:$LINENO: result: no" >&5
4355 echo "${ECHO_T}no" >&6; }
4358 if test "x$ac_ct_CC" = x
; then
4361 case $cross_compiling:$ac_tool_warned in
4363 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4364 whose name does not start with the host triplet. If you think this
4365 configuration is useful to you, please write to autoconf@gnu.org." >&5
4366 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4367 whose name does not start with the host triplet. If you think this
4368 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4369 ac_tool_warned
=yes ;;
4377 if test -z "$CC"; then
4378 if test -n "$ac_tool_prefix"; then
4379 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4380 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4383 if test "${ac_cv_prog_CC+set}" = set; then
4384 echo $ECHO_N "(cached) $ECHO_C" >&6
4386 if test -n "$CC"; then
4387 ac_cv_prog_CC
="$CC" # Let the user override the test.
4389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4393 test -z "$as_dir" && as_dir
=.
4394 for ac_exec_ext
in '' $ac_executable_extensions; do
4395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4396 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4407 if test -n "$CC"; then
4408 { echo "$as_me:$LINENO: result: $CC" >&5
4409 echo "${ECHO_T}$CC" >&6; }
4411 { echo "$as_me:$LINENO: result: no" >&5
4412 echo "${ECHO_T}no" >&6; }
4418 if test -z "$CC"; then
4419 # Extract the first word of "cc", so it can be a program name with args.
4420 set dummy cc
; ac_word
=$2
4421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4423 if test "${ac_cv_prog_CC+set}" = set; then
4424 echo $ECHO_N "(cached) $ECHO_C" >&6
4426 if test -n "$CC"; then
4427 ac_cv_prog_CC
="$CC" # Let the user override the test.
4430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4434 test -z "$as_dir" && as_dir
=.
4435 for ac_exec_ext
in '' $ac_executable_extensions; do
4436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4437 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4438 ac_prog_rejected
=yes
4442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 if test $ac_prog_rejected = yes; then
4450 # We found a bogon in the path, so make sure we never use it.
4451 set dummy
$ac_cv_prog_CC
4453 if test $# != 0; then
4454 # We chose a different compiler from the bogus one.
4455 # However, it has the same basename, so the bogon will be chosen
4456 # first if we set CC to just the basename; use the full file name.
4458 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4464 if test -n "$CC"; then
4465 { echo "$as_me:$LINENO: result: $CC" >&5
4466 echo "${ECHO_T}$CC" >&6; }
4468 { echo "$as_me:$LINENO: result: no" >&5
4469 echo "${ECHO_T}no" >&6; }
4474 if test -z "$CC"; then
4475 if test -n "$ac_tool_prefix"; then
4476 for ac_prog
in cl.exe
4478 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4479 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4480 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4482 if test "${ac_cv_prog_CC+set}" = set; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4485 if test -n "$CC"; then
4486 ac_cv_prog_CC
="$CC" # Let the user override the test.
4488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4492 test -z "$as_dir" && as_dir
=.
4493 for ac_exec_ext
in '' $ac_executable_extensions; do
4494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4495 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4506 if test -n "$CC"; then
4507 { echo "$as_me:$LINENO: result: $CC" >&5
4508 echo "${ECHO_T}$CC" >&6; }
4510 { echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6; }
4515 test -n "$CC" && break
4518 if test -z "$CC"; then
4520 for ac_prog
in cl.exe
4522 # Extract the first word of "$ac_prog", so it can be a program name with args.
4523 set dummy
$ac_prog; ac_word
=$2
4524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4526 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4527 echo $ECHO_N "(cached) $ECHO_C" >&6
4529 if test -n "$ac_ct_CC"; then
4530 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4536 test -z "$as_dir" && as_dir
=.
4537 for ac_exec_ext
in '' $ac_executable_extensions; do
4538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4539 ac_cv_prog_ac_ct_CC
="$ac_prog"
4540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4549 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4550 if test -n "$ac_ct_CC"; then
4551 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4552 echo "${ECHO_T}$ac_ct_CC" >&6; }
4554 { echo "$as_me:$LINENO: result: no" >&5
4555 echo "${ECHO_T}no" >&6; }
4559 test -n "$ac_ct_CC" && break
4562 if test "x$ac_ct_CC" = x
; then
4565 case $cross_compiling:$ac_tool_warned in
4567 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4568 whose name does not start with the host triplet. If you think this
4569 configuration is useful to you, please write to autoconf@gnu.org." >&5
4570 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4571 whose name does not start with the host triplet. If you think this
4572 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4573 ac_tool_warned
=yes ;;
4582 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4583 See \`config.log' for more details." >&5
4584 echo "$as_me: error: no acceptable C compiler found in \$PATH
4585 See \`config.log' for more details." >&2;}
4586 { (exit 1); exit 1; }; }
4588 # Provide some information about the compiler.
4589 echo "$as_me:$LINENO: checking for C compiler version" >&5
4590 ac_compiler
=`set X $ac_compile; echo $2`
4591 { (ac_try
="$ac_compiler --version >&5"
4593 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4594 *) ac_try_echo=$ac_try;;
4596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4597 (eval "$ac_compiler --version >&5") 2>&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); }
4601 { (ac_try="$ac_compiler -v >&5"
4603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4604 *) ac_try_echo
=$ac_try;;
4606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4607 (eval "$ac_compiler -v >&5") 2>&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }
4611 { (ac_try
="$ac_compiler -V >&5"
4613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4614 *) ac_try_echo=$ac_try;;
4616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4617 (eval "$ac_compiler -V >&5") 2>&5
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); }
4622 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4623 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4624 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4625 echo $ECHO_N "(cached) $ECHO_C" >&6
4627 cat >conftest.$ac_ext <<_ACEOF
4630 cat confdefs.h >>conftest.$ac_ext
4631 cat >>conftest.$ac_ext <<_ACEOF
4632 /* end confdefs.h. */
4645 rm -f conftest.$ac_objext
4646 if { (ac_try="$ac_compile"
4648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4649 *) ac_try_echo
=$ac_try;;
4651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4652 (eval "$ac_compile") 2>conftest.er1
4654 grep -v '^ *+' conftest.er1
>conftest.err
4656 cat conftest.err
>&5
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); } && {
4659 test -z "$ac_c_werror_flag" ||
4660 test ! -s conftest.err
4661 } && test -s conftest.
$ac_objext; then
4664 echo "$as_me: failed program was:" >&5
4665 sed 's/^/| /' conftest.
$ac_ext >&5
4670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4671 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4674 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4675 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4676 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4677 ac_test_CFLAGS
=${CFLAGS+set}
4678 ac_save_CFLAGS
=$CFLAGS
4679 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4680 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4681 if test "${ac_cv_prog_cc_g+set}" = set; then
4682 echo $ECHO_N "(cached) $ECHO_C" >&6
4684 ac_save_c_werror_flag
=$ac_c_werror_flag
4685 ac_c_werror_flag
=yes
4688 cat >conftest.
$ac_ext <<_ACEOF
4691 cat confdefs.h
>>conftest.
$ac_ext
4692 cat >>conftest.
$ac_ext <<_ACEOF
4693 /* end confdefs.h. */
4703 rm -f conftest.
$ac_objext
4704 if { (ac_try
="$ac_compile"
4706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4707 *) ac_try_echo=$ac_try;;
4709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4710 (eval "$ac_compile") 2>conftest.er1
4712 grep -v '^ *+' conftest.er1 >conftest.err
4714 cat conftest.err >&5
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); } && {
4717 test -z "$ac_c_werror_flag" ||
4718 test ! -s conftest.err
4719 } && test -s conftest.$ac_objext; then
4722 echo "$as_me: failed program was:" >&5
4723 sed 's/^/| /' conftest.$ac_ext >&5
4726 cat >conftest.$ac_ext <<_ACEOF
4729 cat confdefs.h >>conftest.$ac_ext
4730 cat >>conftest.$ac_ext <<_ACEOF
4731 /* end confdefs.h. */
4741 rm -f conftest.$ac_objext
4742 if { (ac_try="$ac_compile"
4744 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4745 *) ac_try_echo
=$ac_try;;
4747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4748 (eval "$ac_compile") 2>conftest.er1
4750 grep -v '^ *+' conftest.er1
>conftest.err
4752 cat conftest.err
>&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); } && {
4755 test -z "$ac_c_werror_flag" ||
4756 test ! -s conftest.err
4757 } && test -s conftest.
$ac_objext; then
4760 echo "$as_me: failed program was:" >&5
4761 sed 's/^/| /' conftest.
$ac_ext >&5
4763 ac_c_werror_flag
=$ac_save_c_werror_flag
4765 cat >conftest.
$ac_ext <<_ACEOF
4768 cat confdefs.h
>>conftest.
$ac_ext
4769 cat >>conftest.
$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4780 rm -f conftest.
$ac_objext
4781 if { (ac_try
="$ac_compile"
4783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4784 *) ac_try_echo=$ac_try;;
4786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4787 (eval "$ac_compile") 2>conftest.er1
4789 grep -v '^ *+' conftest.er1 >conftest.err
4791 cat conftest.err >&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); } && {
4794 test -z "$ac_c_werror_flag" ||
4795 test ! -s conftest.err
4796 } && test -s conftest.$ac_objext; then
4799 echo "$as_me: failed program was:" >&5
4800 sed 's/^/| /' conftest.$ac_ext >&5
4805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4812 ac_c_werror_flag=$ac_save_c_werror_flag
4814 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4815 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4816 if test "$ac_test_CFLAGS" = set; then
4817 CFLAGS=$ac_save_CFLAGS
4818 elif test $ac_cv_prog_cc_g = yes; then
4819 if test "$GCC" = yes; then
4825 if test "$GCC" = yes; then
4831 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4832 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4833 if test "${ac_cv_prog_cc_c89+set}" = set; then
4834 echo $ECHO_N "(cached) $ECHO_C" >&6
4836 ac_cv_prog_cc_c89=no
4838 cat >conftest.$ac_ext <<_ACEOF
4841 cat confdefs.h >>conftest.$ac_ext
4842 cat >>conftest.$ac_ext <<_ACEOF
4843 /* end confdefs.h. */
4846 #include <sys/types.h>
4847 #include <sys/stat.h>
4848 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4849 struct buf { int x; };
4850 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4851 static char *e (p, i)
4857 static char *f (char * (*g) (char **, int), char **p, ...)
4862 s = g (p, va_arg (v,int));
4867 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4868 function prototypes and stuff, but not '\xHH' hex character constants.
4869 These don't provoke an error unfortunately, instead are silently treated
4870 as 'x'. The following induces an error, until -std is added to get
4871 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4872 array size at least. It's necessary to write '\x00'==0 to get something
4873 that's true only with -std. */
4874 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4876 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4877 inside strings and character constants. */
4879 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4881 int test (int i, double x);
4882 struct s1 {int (*f) (int a);};
4883 struct s2 {int (*f) (double a);};
4884 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4890 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4895 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4896 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4898 CC="$ac_save_CC $ac_arg"
4899 rm -f conftest.$ac_objext
4900 if { (ac_try="$ac_compile"
4902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4903 *) ac_try_echo
=$ac_try;;
4905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4906 (eval "$ac_compile") 2>conftest.er1
4908 grep -v '^ *+' conftest.er1
>conftest.err
4910 cat conftest.err
>&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); } && {
4913 test -z "$ac_c_werror_flag" ||
4914 test ! -s conftest.err
4915 } && test -s conftest.
$ac_objext; then
4916 ac_cv_prog_cc_c89
=$ac_arg
4918 echo "$as_me: failed program was:" >&5
4919 sed 's/^/| /' conftest.
$ac_ext >&5
4924 rm -f core conftest.err conftest.
$ac_objext
4925 test "x$ac_cv_prog_cc_c89" != "xno" && break
4927 rm -f conftest.
$ac_ext
4932 case "x$ac_cv_prog_cc_c89" in
4934 { echo "$as_me:$LINENO: result: none needed" >&5
4935 echo "${ECHO_T}none needed" >&6; } ;;
4937 { echo "$as_me:$LINENO: result: unsupported" >&5
4938 echo "${ECHO_T}unsupported" >&6; } ;;
4940 CC
="$CC $ac_cv_prog_cc_c89"
4941 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4942 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4947 ac_cpp
='$CPP $CPPFLAGS'
4948 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4949 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4950 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4952 depcc
="$CC" am_compiler_list
=
4954 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4955 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4956 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4959 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4960 # We make a subdir and do the tests there. Otherwise we can end up
4961 # making bogus files that we don't know about and never remove. For
4962 # instance it was reported that on HP-UX the gcc test will end up
4963 # making a dummy file named `D' -- because `-MD' means `put the output
4966 # Copy depcomp to subdir because otherwise we won't find it if we're
4967 # using a relative directory.
4968 cp "$am_depcomp" conftest.dir
4970 # We will build objects and dependencies in a subdirectory because
4971 # it helps to detect inapplicable dependency modes. For instance
4972 # both Tru64's cc and ICC support -MD to output dependencies as a
4973 # side effect of compilation, but ICC will put the dependencies in
4974 # the current directory while Tru64 will put them in the object
4978 am_cv_CC_dependencies_compiler_type
=none
4979 if test "$am_compiler_list" = ""; then
4980 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4982 for depmode
in $am_compiler_list; do
4983 # Setup a source with many dependencies, because some compilers
4984 # like to wrap large dependency lists on column 80 (with \), and
4985 # we should not choose a depcomp mode which is confused by this.
4987 # We need to recreate these files for each test, as the compiler may
4988 # overwrite some of them when testing with obscure command lines.
4989 # This happens at least with the AIX C compiler.
4991 for i
in 1 2 3 4 5 6; do
4992 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4993 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4994 # Solaris 8's {/usr,}/bin/sh.
4995 touch sub
/conftst
$i.h
4997 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5001 # after this tag, mechanisms are not by side-effect, so they'll
5002 # only be used when explicitly requested
5003 if test "x$enable_dependency_tracking" = xyes
; then
5011 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5012 # mode. It turns out that the SunPro C++ compiler does not properly
5013 # handle `-M -o', and we need to detect this.
5014 if depmode
=$depmode \
5015 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5016 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5017 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5018 >/dev
/null
2>conftest.err
&&
5019 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5020 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5021 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5022 # icc doesn't choke on unknown options, it will just issue warnings
5023 # or remarks (even with -Werror). So we grep stderr for any message
5024 # that says an option was ignored or not supported.
5025 # When given -MP, icc 7.0 and 7.1 complain thusly:
5026 # icc: Command line warning: ignoring option '-M'; no argument required
5027 # The diagnosis changed in icc 8.0:
5028 # icc: Command line remark: option '-MP' not supported
5029 if (grep 'ignoring option' conftest.err ||
5030 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5031 am_cv_CC_dependencies_compiler_type
=$depmode
5040 am_cv_CC_dependencies_compiler_type
=none
5044 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5045 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5046 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5051 test "x$enable_dependency_tracking" != xno \
5052 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5054 am__fastdepCC_FALSE
='#'
5056 am__fastdepCC_TRUE
='#'
5057 am__fastdepCC_FALSE
=
5062 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
5065 ac_cpp
='$CPP $CPPFLAGS'
5066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5069 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5070 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5071 # On Suns, sometimes $CPP names a directory.
5072 if test -n "$CPP" && test -d "$CPP"; then
5075 if test -z "$CPP"; then
5076 if test "${ac_cv_prog_CPP+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5079 # Double quotes because CPP needs to be expanded
5080 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5083 for ac_c_preproc_warn_flag
in '' yes
5085 # Use a header file that comes with gcc, so configuring glibc
5086 # with a fresh cross-compiler works.
5087 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5088 # <limits.h> exists even on freestanding compilers.
5089 # On the NeXT, cc -E runs the code through the compiler's parser,
5090 # not just through cpp. "Syntax error" is here to catch this case.
5091 cat >conftest.
$ac_ext <<_ACEOF
5094 cat confdefs.h
>>conftest.
$ac_ext
5095 cat >>conftest.
$ac_ext <<_ACEOF
5096 /* end confdefs.h. */
5098 # include <limits.h>
5100 # include <assert.h>
5104 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5106 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5107 *) ac_try_echo=$ac_try;;
5109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5110 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5112 grep -v '^ *+' conftest.er1 >conftest.err
5114 cat conftest.err >&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); } >/dev/null && {
5117 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5118 test ! -s conftest.err
5122 echo "$as_me: failed program was:" >&5
5123 sed 's/^/| /' conftest.$ac_ext >&5
5125 # Broken: fails on valid input.
5129 rm -f conftest.err conftest.$ac_ext
5131 # OK, works on sane cases. Now check whether nonexistent headers
5132 # can be detected and how.
5133 cat >conftest.$ac_ext <<_ACEOF
5136 cat confdefs.h >>conftest.$ac_ext
5137 cat >>conftest.$ac_ext <<_ACEOF
5138 /* end confdefs.h. */
5139 #include <ac_nonexistent.h>
5141 if { (ac_try="$ac_cpp conftest.$ac_ext"
5143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5144 *) ac_try_echo
=$ac_try;;
5146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5149 grep -v '^ *+' conftest.er1
>conftest.err
5151 cat conftest.err
>&5
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153 (exit $ac_status); } >/dev
/null
&& {
5154 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5155 test ! -s conftest.err
5157 # Broken: success on invalid input.
5160 echo "$as_me: failed program was:" >&5
5161 sed 's/^/| /' conftest.
$ac_ext >&5
5163 # Passes both tests.
5168 rm -f conftest.err conftest.
$ac_ext
5171 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5172 rm -f conftest.err conftest.
$ac_ext
5173 if $ac_preproc_ok; then
5185 { echo "$as_me:$LINENO: result: $CPP" >&5
5186 echo "${ECHO_T}$CPP" >&6; }
5188 for ac_c_preproc_warn_flag
in '' yes
5190 # Use a header file that comes with gcc, so configuring glibc
5191 # with a fresh cross-compiler works.
5192 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5193 # <limits.h> exists even on freestanding compilers.
5194 # On the NeXT, cc -E runs the code through the compiler's parser,
5195 # not just through cpp. "Syntax error" is here to catch this case.
5196 cat >conftest.
$ac_ext <<_ACEOF
5199 cat confdefs.h
>>conftest.
$ac_ext
5200 cat >>conftest.
$ac_ext <<_ACEOF
5201 /* end confdefs.h. */
5203 # include <limits.h>
5205 # include <assert.h>
5209 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5212 *) ac_try_echo=$ac_try;;
5214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5215 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5217 grep -v '^ *+' conftest.er1 >conftest.err
5219 cat conftest.err >&5
5220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5221 (exit $ac_status); } >/dev/null && {
5222 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5223 test ! -s conftest.err
5227 echo "$as_me: failed program was:" >&5
5228 sed 's/^/| /' conftest.$ac_ext >&5
5230 # Broken: fails on valid input.
5234 rm -f conftest.err conftest.$ac_ext
5236 # OK, works on sane cases. Now check whether nonexistent headers
5237 # can be detected and how.
5238 cat >conftest.$ac_ext <<_ACEOF
5241 cat confdefs.h >>conftest.$ac_ext
5242 cat >>conftest.$ac_ext <<_ACEOF
5243 /* end confdefs.h. */
5244 #include <ac_nonexistent.h>
5246 if { (ac_try="$ac_cpp conftest.$ac_ext"
5248 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5249 *) ac_try_echo
=$ac_try;;
5251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5252 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5254 grep -v '^ *+' conftest.er1
>conftest.err
5256 cat conftest.err
>&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); } >/dev
/null
&& {
5259 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5260 test ! -s conftest.err
5262 # Broken: success on invalid input.
5265 echo "$as_me: failed program was:" >&5
5266 sed 's/^/| /' conftest.
$ac_ext >&5
5268 # Passes both tests.
5273 rm -f conftest.err conftest.
$ac_ext
5276 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5277 rm -f conftest.err conftest.
$ac_ext
5278 if $ac_preproc_ok; then
5281 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5282 See \`config.log' for more details." >&5
5283 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5284 See \`config.log' for more details." >&2;}
5285 { (exit 1); exit 1; }; }
5289 ac_cpp
='$CPP $CPPFLAGS'
5290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5295 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5296 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5297 if test "${ac_cv_path_GREP+set}" = set; then
5298 echo $ECHO_N "(cached) $ECHO_C" >&6
5300 # Extract the first word of "grep ggrep" to use in msg output
5301 if test -z "$GREP"; then
5302 set dummy
grep ggrep
; ac_prog_name
=$2
5303 if test "${ac_cv_path_GREP+set}" = set; then
5304 echo $ECHO_N "(cached) $ECHO_C" >&6
5306 ac_path_GREP_found
=false
5307 # Loop through the user's path and test for each of PROGNAME-LIST
5308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5309 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5312 test -z "$as_dir" && as_dir
=.
5313 for ac_prog
in grep ggrep
; do
5314 for ac_exec_ext
in '' $ac_executable_extensions; do
5315 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5316 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5317 # Check for GNU ac_path_GREP and select it if it is found.
5318 # Check for GNU $ac_path_GREP
5319 case `"$ac_path_GREP" --version 2>&1` in
5321 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5324 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5327 cat "conftest.in" "conftest.in" >"conftest.tmp"
5328 mv "conftest.tmp" "conftest.in"
5329 cp "conftest.in" "conftest.nl"
5330 echo 'GREP' >> "conftest.nl"
5331 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5332 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5333 ac_count
=`expr $ac_count + 1`
5334 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5335 # Best one so far, save it but keep looking for a better one
5336 ac_cv_path_GREP
="$ac_path_GREP"
5337 ac_path_GREP_max
=$ac_count
5339 # 10*(2^10) chars as input seems more than enough
5340 test $ac_count -gt 10 && break
5342 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5346 $ac_path_GREP_found && break 3
5356 GREP
="$ac_cv_path_GREP"
5357 if test -z "$GREP"; then
5358 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5359 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5360 { (exit 1); exit 1; }; }
5364 ac_cv_path_GREP
=$GREP
5369 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5370 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5371 GREP
="$ac_cv_path_GREP"
5374 { echo "$as_me:$LINENO: checking for egrep" >&5
5375 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5376 if test "${ac_cv_path_EGREP+set}" = set; then
5377 echo $ECHO_N "(cached) $ECHO_C" >&6
5379 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5380 then ac_cv_path_EGREP
="$GREP -E"
5382 # Extract the first word of "egrep" to use in msg output
5383 if test -z "$EGREP"; then
5384 set dummy
egrep; ac_prog_name
=$2
5385 if test "${ac_cv_path_EGREP+set}" = set; then
5386 echo $ECHO_N "(cached) $ECHO_C" >&6
5388 ac_path_EGREP_found
=false
5389 # Loop through the user's path and test for each of PROGNAME-LIST
5390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5391 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5394 test -z "$as_dir" && as_dir
=.
5395 for ac_prog
in egrep; do
5396 for ac_exec_ext
in '' $ac_executable_extensions; do
5397 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5398 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5399 # Check for GNU ac_path_EGREP and select it if it is found.
5400 # Check for GNU $ac_path_EGREP
5401 case `"$ac_path_EGREP" --version 2>&1` in
5403 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5406 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5409 cat "conftest.in" "conftest.in" >"conftest.tmp"
5410 mv "conftest.tmp" "conftest.in"
5411 cp "conftest.in" "conftest.nl"
5412 echo 'EGREP' >> "conftest.nl"
5413 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5414 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5415 ac_count
=`expr $ac_count + 1`
5416 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5417 # Best one so far, save it but keep looking for a better one
5418 ac_cv_path_EGREP
="$ac_path_EGREP"
5419 ac_path_EGREP_max
=$ac_count
5421 # 10*(2^10) chars as input seems more than enough
5422 test $ac_count -gt 10 && break
5424 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5428 $ac_path_EGREP_found && break 3
5438 EGREP
="$ac_cv_path_EGREP"
5439 if test -z "$EGREP"; then
5440 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5441 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5442 { (exit 1); exit 1; }; }
5446 ac_cv_path_EGREP
=$EGREP
5452 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5453 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5454 EGREP
="$ac_cv_path_EGREP"
5457 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5458 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5459 if test "${ac_cv_header_stdc+set}" = set; then
5460 echo $ECHO_N "(cached) $ECHO_C" >&6
5462 cat >conftest.
$ac_ext <<_ACEOF
5465 cat confdefs.h
>>conftest.
$ac_ext
5466 cat >>conftest.
$ac_ext <<_ACEOF
5467 /* end confdefs.h. */
5481 rm -f conftest.
$ac_objext
5482 if { (ac_try
="$ac_compile"
5484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5485 *) ac_try_echo=$ac_try;;
5487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5488 (eval "$ac_compile") 2>conftest.er1
5490 grep -v '^ *+' conftest.er1 >conftest.err
5492 cat conftest.err >&5
5493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 (exit $ac_status); } && {
5495 test -z "$ac_c_werror_flag" ||
5496 test ! -s conftest.err
5497 } && test -s conftest.$ac_objext; then
5498 ac_cv_header_stdc=yes
5500 echo "$as_me: failed program was:" >&5
5501 sed 's/^/| /' conftest.$ac_ext >&5
5503 ac_cv_header_stdc=no
5506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5508 if test $ac_cv_header_stdc = yes; then
5509 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5510 cat >conftest.$ac_ext <<_ACEOF
5513 cat confdefs.h >>conftest.$ac_ext
5514 cat >>conftest.$ac_ext <<_ACEOF
5515 /* end confdefs.h. */
5519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5520 $EGREP "memchr" >/dev/null 2>&1; then
5523 ac_cv_header_stdc=no
5529 if test $ac_cv_header_stdc = yes; then
5530 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5531 cat >conftest.$ac_ext <<_ACEOF
5534 cat confdefs.h >>conftest.$ac_ext
5535 cat >>conftest.$ac_ext <<_ACEOF
5536 /* end confdefs.h. */
5540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5541 $EGREP "free" >/dev/null 2>&1; then
5544 ac_cv_header_stdc=no
5550 if test $ac_cv_header_stdc = yes; then
5551 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5552 if test "$cross_compiling" = yes; then
5555 cat >conftest.$ac_ext <<_ACEOF
5558 cat confdefs.h >>conftest.$ac_ext
5559 cat >>conftest.$ac_ext <<_ACEOF
5560 /* end confdefs.h. */
5563 #if ((' ' & 0x0FF) == 0x020)
5564 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5565 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5567 # define ISLOWER(c) \
5568 (('a' <= (c) && (c) <= 'i') \
5569 || ('j' <= (c) && (c) <= 'r') \
5570 || ('s' <= (c) && (c) <= 'z'))
5571 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5574 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5579 for (i = 0; i < 256; i++)
5580 if (XOR (islower (i), ISLOWER (i))
5581 || toupper (i) != TOUPPER (i))
5586 rm -f conftest$ac_exeext
5587 if { (ac_try="$ac_link"
5589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5590 *) ac_try_echo
=$ac_try;;
5592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5593 (eval "$ac_link") 2>&5
5595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5596 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5597 { (case "(($ac_try" in
5598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5599 *) ac_try_echo=$ac_try;;
5601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5602 (eval "$ac_try") 2>&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; }; then
5608 echo "$as_me: program exited with status $ac_status" >&5
5609 echo "$as_me: failed program was:" >&5
5610 sed 's/^/| /' conftest.$ac_ext >&5
5613 ac_cv_header_stdc=no
5615 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5621 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5622 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5623 if test $ac_cv_header_stdc = yes; then
5625 cat >>confdefs.h <<\_ACEOF
5626 #define STDC_HEADERS 1
5633 # ============ Switched off:
5639 GNOME_COMPILE_WARNINGS
5641 #------------------------------------------------------------------------------
5643 # The gnomeui library is required but the gnomeprint and gnomeprintui libraries
5644 # are optional. First we verify the gnomeui library is present. Then we check
5645 # for the presence of the gnomeprint libraries and set a flag to indicate the
5646 # print libraries are present. Finally, we run pkg-config to get the compile and
5647 # link flags for the combined set of libraries to eliminate duplications in
5649 ## GNOME_MODULES="libgnomeui-2 >= 2.0.0"
5650 GNOME_PRINT="libgnomeprint-2.2 >= 2.2.0 libgnomeprintui-2.2 >=2.2.0"
5653 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5654 if test -n "$ac_tool_prefix"; then
5655 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5656 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5657 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5659 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5660 echo $ECHO_N "(cached) $ECHO_C" >&6
5664 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5671 test -z "$as_dir" && as_dir=.
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5674 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5686 if test -n "$PKG_CONFIG"; then
5687 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5688 echo "${ECHO_T}$PKG_CONFIG" >&6; }
5690 { echo "$as_me:$LINENO: result: no" >&5
5691 echo "${ECHO_T}no" >&6; }
5696 if test -z "$ac_cv_path_PKG_CONFIG"; then
5697 ac_pt_PKG_CONFIG=$PKG_CONFIG
5698 # Extract the first word of "pkg-config", so it can be a program name with args.
5699 set dummy pkg-config; ac_word=$2
5700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5702 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5705 case $ac_pt_PKG_CONFIG in
5707 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5714 test -z "$as_dir" && as_dir=.
5715 for ac_exec_ext in '' $ac_executable_extensions; do
5716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5717 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5729 if test -n "$ac_pt_PKG_CONFIG"; then
5730 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5731 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
5733 { echo "$as_me:$LINENO: result: no" >&5
5734 echo "${ECHO_T}no" >&6; }
5737 if test "x$ac_pt_PKG_CONFIG" = x; then
5740 case $cross_compiling:$ac_tool_warned in
5742 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5743 whose name does not start with the host triplet. If you think this
5744 configuration is useful to you, please write to autoconf@gnu.org." >&5
5745 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5746 whose name does not start with the host triplet. If you think this
5747 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5748 ac_tool_warned=yes ;;
5750 PKG_CONFIG=$ac_pt_PKG_CONFIG
5753 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5757 if test -n "$PKG_CONFIG"; then
5758 _pkg_min_version=0.9.0
5759 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5760 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
5761 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5762 { echo "$as_me:$LINENO: result: yes" >&5
5763 echo "${ECHO_T}yes" >&6; }
5765 { echo "$as_me:$LINENO: result: no" >&5
5766 echo "${ECHO_T}no" >&6; }
5773 { echo "$as_me:$LINENO: checking for GPIV_UI" >&5
5774 echo $ECHO_N "checking for GPIV_UI... $ECHO_C" >&6; }
5776 if test -n "$PKG_CONFIG"; then
5777 if test -n "$GPIV_UI_CFLAGS"; then
5778 pkg_cv_GPIV_UI_CFLAGS="$GPIV_UI_CFLAGS"
5780 if test -n "$PKG_CONFIG" && \
5781 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0\"") >&5
5782 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0") 2>&5
5784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785 (exit $ac_status); }; then
5786 pkg_cv_GPIV_UI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0" 2>/dev
/null
`
5794 if test -n "$PKG_CONFIG"; then
5795 if test -n "$GPIV_UI_LIBS"; then
5796 pkg_cv_GPIV_UI_LIBS="$GPIV_UI_LIBS"
5798 if test -n "$PKG_CONFIG" && \
5799 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0\"") >&5
5800 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0") 2>&5
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); }; then
5804 pkg_cv_GPIV_UI_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0" 2>/dev
/null
`
5815 if test $pkg_failed = yes; then
5817 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5818 _pkg_short_errors_supported=yes
5820 _pkg_short_errors_supported=no
5822 if test $_pkg_short_errors_supported = yes; then
5823 GPIV_UI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0"`
5825 GPIV_UI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0"`
5827 # Put the nasty error message in config.log where it belongs
5828 echo "$GPIV_UI_PKG_ERRORS" >&5
5830 { { echo "$as_me:$LINENO: error: Package requirements (libgnomeui-2.0) were not met:
5834 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5835 installed software in a non-standard prefix.
5837 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5838 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5839 See the pkg-config man page for more details.
5841 echo "$as_me: error: Package requirements (libgnomeui-2.0) were not met:
5845 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5846 installed software in a non-standard prefix.
5848 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5849 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5850 See the pkg-config man page for more details.
5852 { (exit 1); exit 1; }; }
5853 elif test $pkg_failed = untried; then
5854 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5855 is in your PATH or set the PKG_CONFIG environment variable to the full
5858 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5859 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5860 See the pkg-config man page for more details.
5862 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5863 See \`config.log
' for more details." >&5
5864 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5865 is in your PATH or set the PKG_CONFIG environment variable to the full
5868 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5869 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5870 See the pkg-config man page for more details.
5872 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5873 See \`config.log' for more details.
" >&2;}
5874 { (exit 1); exit 1; }; }
5876 GPIV_UI_CFLAGS=$pkg_cv_GPIV_UI_CFLAGS
5877 GPIV_UI_LIBS=$pkg_cv_GPIV_UI_LIBS
5878 { echo "$as_me:$LINENO: result
: yes" >&5
5879 echo "${ECHO_T}yes" >&6; }
5884 { echo "$as_me:$LINENO: checking
for GPIV_PRINT
" >&5
5885 echo $ECHO_N "checking
for GPIV_PRINT...
$ECHO_C" >&6; }
5887 if test -n "$PKG_CONFIG"; then
5888 if test -n "$GPIV_PRINT_CFLAGS"; then
5889 pkg_cv_GPIV_PRINT_CFLAGS="$GPIV_PRINT_CFLAGS"
5891 if test -n "$PKG_CONFIG" && \
5892 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgnomeprint-2.2 libgnomeprintui-2.2
\"") >&5
5893 ($PKG_CONFIG --exists --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2
") 2>&5
5895 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5896 (exit $ac_status); }; then
5897 pkg_cv_GPIV_PRINT_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprint-2.2 libgnomeprintui-2.2
" 2>/dev/null`
5905 if test -n "$PKG_CONFIG"; then
5906 if test -n "$GPIV_PRINT_LIBS"; then
5907 pkg_cv_GPIV_PRINT_LIBS="$GPIV_PRINT_LIBS"
5909 if test -n "$PKG_CONFIG" && \
5910 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgnomeprint-2.2 libgnomeprintui-2.2
\"") >&5
5911 ($PKG_CONFIG --exists --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2
") 2>&5
5913 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5914 (exit $ac_status); }; then
5915 pkg_cv_GPIV_PRINT_LIBS=`$PKG_CONFIG --libs "libgnomeprint-2.2 libgnomeprintui-2.2
" 2>/dev/null`
5926 if test $pkg_failed = yes; then
5928 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5929 _pkg_short_errors_supported=yes
5931 _pkg_short_errors_supported=no
5933 if test $_pkg_short_errors_supported = yes; then
5934 GPIV_PRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2
"`
5936 GPIV_PRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2
"`
5938 # Put the nasty error message in config.log where it belongs
5939 echo "$GPIV_PRINT_PKG_ERRORS" >&5
5941 { echo "$as_me:$LINENO: result
: no
" >&5
5942 echo "${ECHO_T}no
" >&6; }
5943 echo "gnomeprint libraries are not available.
"
5944 elif test $pkg_failed = untried; then
5945 echo "gnomeprint libraries are not available.
"
5947 GPIV_PRINT_CFLAGS=$pkg_cv_GPIV_PRINT_CFLAGS
5948 GPIV_PRINT_LIBS=$pkg_cv_GPIV_PRINT_LIBS
5949 { echo "$as_me:$LINENO: result
: yes" >&5
5950 echo "${ECHO_T}yes" >&6; }
5951 gpiv_have_gnome_print=1
5954 if test "x
$gpiv_have_gnome_print" = "x1
"; then
5955 echo "gnomeprint IS available
"
5956 cat >>confdefs.h <<\_ACEOF
5957 #define HAVE_GNOME_PRINT "1"
5960 GPIV_GNOME_LIBS="libgnomeui-2.0 libgnomeprint-2.2 libgnomeprintui-2.2
"
5962 echo "gnomeprint NOT available
"
5963 GPIV_GNOME_LIBS="libgnomeui-2.0
"
5966 echo "configuring with libraries
: " $gpiv_gnome_libs
5969 { echo "$as_me:$LINENO: checking
for GPIV
" >&5
5970 echo $ECHO_N "checking
for GPIV...
$ECHO_C" >&6; }
5972 if test -n "$PKG_CONFIG"; then
5973 if test -n "$GPIV_CFLAGS"; then
5974 pkg_cv_GPIV_CFLAGS="$GPIV_CFLAGS"
5976 if test -n "$PKG_CONFIG" && \
5977 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"\
$GPIV_GNOME_LIBS\"") >&5
5978 ($PKG_CONFIG --exists --print-errors "$GPIV_GNOME_LIBS") 2>&5
5980 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5981 (exit $ac_status); }; then
5982 pkg_cv_GPIV_CFLAGS=`$PKG_CONFIG --cflags "$GPIV_GNOME_LIBS" 2>/dev/null`
5990 if test -n "$PKG_CONFIG"; then
5991 if test -n "$GPIV_LIBS"; then
5992 pkg_cv_GPIV_LIBS="$GPIV_LIBS"
5994 if test -n "$PKG_CONFIG" && \
5995 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"\
$GPIV_GNOME_LIBS\"") >&5
5996 ($PKG_CONFIG --exists --print-errors "$GPIV_GNOME_LIBS") 2>&5
5998 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5999 (exit $ac_status); }; then
6000 pkg_cv_GPIV_LIBS=`$PKG_CONFIG --libs "$GPIV_GNOME_LIBS" 2>/dev/null`
6011 if test $pkg_failed = yes; then
6013 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6014 _pkg_short_errors_supported=yes
6016 _pkg_short_errors_supported=no
6018 if test $_pkg_short_errors_supported = yes; then
6019 GPIV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GPIV_GNOME_LIBS"`
6021 GPIV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GPIV_GNOME_LIBS"`
6023 # Put the nasty error message in config.log where it belongs
6024 echo "$GPIV_PKG_ERRORS" >&5
6026 { { echo "$as_me:$LINENO: error
: Package requirements
($GPIV_GNOME_LIBS) were not met
:
6030 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
6031 installed software
in a non-standard prefix.
6033 Alternatively
, you may
set the environment variables GPIV_CFLAGS
6034 and GPIV_LIBS to avoid the need to call pkg-config.
6035 See the pkg-config man page
for more details.
6037 echo "$as_me: error
: Package requirements
($GPIV_GNOME_LIBS) were not met
:
6041 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
6042 installed software
in a non-standard prefix.
6044 Alternatively
, you may
set the environment variables GPIV_CFLAGS
6045 and GPIV_LIBS to avoid the need to call pkg-config.
6046 See the pkg-config man page
for more details.
6048 { (exit 1); exit 1; }; }
6049 elif test $pkg_failed = untried; then
6050 { { echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
6051 is
in your PATH or
set the PKG_CONFIG environment variable to the full
6054 Alternatively
, you may
set the environment variables GPIV_CFLAGS
6055 and GPIV_LIBS to avoid the need to call pkg-config.
6056 See the pkg-config man page
for more details.
6058 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
6059 See \
`config.log' for more details." >&5
6060 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
6061 is in your PATH or set the PKG_CONFIG environment variable to the full
6064 Alternatively, you may set the environment variables GPIV_CFLAGS
6065 and GPIV_LIBS to avoid the need to call pkg-config.
6066 See the pkg-config man page for more details.
6068 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6069 See \`config.log
' for more details." >&2;}
6070 { (exit 1); exit 1; }; }
6072 GPIV_CFLAGS=$pkg_cv_GPIV_CFLAGS
6073 GPIV_LIBS=$pkg_cv_GPIV_LIBS
6074 { echo "$as_me:$LINENO: result: yes" >&5
6075 echo "${ECHO_T}yes" >&6; }
6082 GETTEXT_PACKAGE=gpiv
6084 cat >>confdefs.h <<_ACEOF
6085 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6088 ALL_LINGUAS="ca de nl"
6089 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6099 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6100 inttypes.h stdint.h unistd.h
6102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6103 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6106 echo $ECHO_N "(cached) $ECHO_C" >&6
6108 cat >conftest.$ac_ext <<_ACEOF
6111 cat confdefs.h >>conftest.$ac_ext
6112 cat >>conftest.$ac_ext <<_ACEOF
6113 /* end confdefs.h. */
6114 $ac_includes_default
6116 #include <$ac_header>
6118 rm -f conftest.$ac_objext
6119 if { (ac_try="$ac_compile"
6121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6122 *) ac_try_echo=$ac_try;;
6124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6125 (eval "$ac_compile") 2>conftest.er1
6127 grep -v '^
*+' conftest.er1 >conftest.err
6129 cat conftest.err >&5
6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131 (exit $ac_status); } && {
6132 test -z "$ac_c_werror_flag" ||
6133 test ! -s conftest.err
6134 } && test -s conftest.$ac_objext; then
6135 eval "$as_ac_Header=yes"
6137 echo "$as_me: failed program was:" >&5
6138 sed 's
/^
/|
/' conftest.$ac_ext >&5
6140 eval "$as_ac_Header=no"
6143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6145 ac_res=`eval echo '${'$as_ac_Header'}'`
6146 { echo "$as_me:$LINENO: result: $ac_res" >&5
6147 echo "${ECHO_T}$ac_res" >&6; }
6148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6149 cat >>confdefs.h <<_ACEOF
6150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6160 for ac_header in locale.h
6162 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6163 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6164 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6167 echo $ECHO_N "(cached) $ECHO_C" >&6
6169 ac_res=`eval echo '${'$as_ac_Header'}'`
6170 { echo "$as_me:$LINENO: result: $ac_res" >&5
6171 echo "${ECHO_T}$ac_res" >&6; }
6173 # Is the header compilable?
6174 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6176 cat >conftest.$ac_ext <<_ACEOF
6179 cat confdefs.h >>conftest.$ac_ext
6180 cat >>conftest.$ac_ext <<_ACEOF
6181 /* end confdefs.h. */
6182 $ac_includes_default
6183 #include <$ac_header>
6185 rm -f conftest.$ac_objext
6186 if { (ac_try="$ac_compile"
6188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6189 *) ac_try_echo=$ac_try;;
6191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6192 (eval "$ac_compile") 2>conftest.er1
6194 grep -v '^
*+' conftest.er1 >conftest.err
6196 cat conftest.err >&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); } && {
6199 test -z "$ac_c_werror_flag" ||
6200 test ! -s conftest.err
6201 } && test -s conftest.$ac_objext; then
6202 ac_header_compiler=yes
6204 echo "$as_me: failed program was:" >&5
6205 sed 's
/^
/|
/' conftest.$ac_ext >&5
6207 ac_header_compiler=no
6210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6211 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6212 echo "${ECHO_T}$ac_header_compiler" >&6; }
6214 # Is the header present?
6215 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6216 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6217 cat >conftest.$ac_ext <<_ACEOF
6220 cat confdefs.h >>conftest.$ac_ext
6221 cat >>conftest.$ac_ext <<_ACEOF
6222 /* end confdefs.h. */
6223 #include <$ac_header>
6225 if { (ac_try="$ac_cpp conftest.$ac_ext"
6227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6228 *) ac_try_echo=$ac_try;;
6230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6231 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6233 grep -v '^
*+' conftest.er1 >conftest.err
6235 cat conftest.err >&5
6236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237 (exit $ac_status); } >/dev/null && {
6238 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6239 test ! -s conftest.err
6241 ac_header_preproc=yes
6243 echo "$as_me: failed program was:" >&5
6244 sed 's
/^
/|
/' conftest.$ac_ext >&5
6246 ac_header_preproc=no
6249 rm -f conftest.err conftest.$ac_ext
6250 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6251 echo "${ECHO_T}$ac_header_preproc" >&6; }
6253 # So? What about this header?
6254 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6256 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6257 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
6259 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
6260 ac_header_preproc=yes
6263 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6264 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6265 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6266 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6267 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6268 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6269 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6270 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
6272 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
6273 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6274 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6276 ## ------------------------------------------------------------------- ##
6277 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
6278 ## ------------------------------------------------------------------- ##
6280 ) | sed "s/^/$as_me: WARNING: /" >&2
6283 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6285 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6286 echo $ECHO_N "(cached) $ECHO_C" >&6
6288 eval "$as_ac_Header=\$ac_header_preproc"
6290 ac_res=`eval echo '${'$as_ac_Header'}'`
6291 { echo "$as_me:$LINENO: result: $ac_res" >&5
6292 echo "${ECHO_T}$ac_res" >&6; }
6295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6296 cat >>confdefs.h <<_ACEOF
6297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6304 if test $ac_cv_header_locale_h = yes; then
6305 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6306 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
6307 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 cat >conftest.$ac_ext <<_ACEOF
6313 cat confdefs.h >>conftest.$ac_ext
6314 cat >>conftest.$ac_ext <<_ACEOF
6315 /* end confdefs.h. */
6325 rm -f conftest.$ac_objext conftest$ac_exeext
6326 if { (ac_try="$ac_link"
6328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6329 *) ac_try_echo=$ac_try;;
6331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6332 (eval "$ac_link") 2>conftest.er1
6334 grep -v '^
*+' conftest.er1 >conftest.err
6336 cat conftest.err >&5
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); } && {
6339 test -z "$ac_c_werror_flag" ||
6340 test ! -s conftest.err
6341 } && test -s conftest$ac_exeext &&
6342 $as_test_x conftest$ac_exeext; then
6343 am_cv_val_LC_MESSAGES=yes
6345 echo "$as_me: failed program was:" >&5
6346 sed 's
/^
/|
/' conftest.$ac_ext >&5
6348 am_cv_val_LC_MESSAGES=no
6351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6352 conftest$ac_exeext conftest.$ac_ext
6354 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6355 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
6356 if test $am_cv_val_LC_MESSAGES = yes; then
6358 cat >>confdefs.h <<\_ACEOF
6359 #define HAVE_LC_MESSAGES 1
6367 gt_cv_have_gettext=no
6373 if test "${ac_cv_header_libintl_h+set}" = set; then
6374 { echo "$as_me:$LINENO: checking for libintl.h" >&5
6375 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
6376 if test "${ac_cv_header_libintl_h+set}" = set; then
6377 echo $ECHO_N "(cached) $ECHO_C" >&6
6379 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6380 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
6382 # Is the header compilable?
6383 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
6384 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
6385 cat >conftest.$ac_ext <<_ACEOF
6388 cat confdefs.h >>conftest.$ac_ext
6389 cat >>conftest.$ac_ext <<_ACEOF
6390 /* end confdefs.h. */
6391 $ac_includes_default
6392 #include <libintl.h>
6394 rm -f conftest.$ac_objext
6395 if { (ac_try="$ac_compile"
6397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6398 *) ac_try_echo=$ac_try;;
6400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6401 (eval "$ac_compile") 2>conftest.er1
6403 grep -v '^
*+' conftest.er1 >conftest.err
6405 cat conftest.err >&5
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); } && {
6408 test -z "$ac_c_werror_flag" ||
6409 test ! -s conftest.err
6410 } && test -s conftest.$ac_objext; then
6411 ac_header_compiler=yes
6413 echo "$as_me: failed program was:" >&5
6414 sed 's
/^
/|
/' conftest.$ac_ext >&5
6416 ac_header_compiler=no
6419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6420 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6421 echo "${ECHO_T}$ac_header_compiler" >&6; }
6423 # Is the header present?
6424 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
6425 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
6426 cat >conftest.$ac_ext <<_ACEOF
6429 cat confdefs.h >>conftest.$ac_ext
6430 cat >>conftest.$ac_ext <<_ACEOF
6431 /* end confdefs.h. */
6432 #include <libintl.h>
6434 if { (ac_try="$ac_cpp conftest.$ac_ext"
6436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6437 *) ac_try_echo=$ac_try;;
6439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6440 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6442 grep -v '^
*+' conftest.er1 >conftest.err
6444 cat conftest.err >&5
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); } >/dev/null && {
6447 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6448 test ! -s conftest.err
6450 ac_header_preproc=yes
6452 echo "$as_me: failed program was:" >&5
6453 sed 's
/^
/|
/' conftest.$ac_ext >&5
6455 ac_header_preproc=no
6458 rm -f conftest.err conftest.$ac_ext
6459 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6460 echo "${ECHO_T}$ac_header_preproc" >&6; }
6462 # So? What about this header?
6463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6465 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6466 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6467 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result
" >&5
6468 echo "$as_me: WARNING
: libintl.h
: proceeding with the compiler
's result" >&2;}
6469 ac_header_preproc=yes
6472 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6473 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6474 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
6475 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
6476 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6477 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6478 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
6479 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
6480 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result
" >&5
6481 echo "$as_me: WARNING
: libintl.h
: proceeding with the preprocessor
's result" >&2;}
6482 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6483 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6485 ## ------------------------------------------------------------------- ##
6486 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
6487 ## ------------------------------------------------------------------- ##
6489 ) | sed "s/^/$as_me: WARNING: /" >&2
6492 { echo "$as_me:$LINENO: checking for libintl.h" >&5
6493 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
6494 if test "${ac_cv_header_libintl_h+set}" = set; then
6495 echo $ECHO_N "(cached) $ECHO_C" >&6
6497 ac_cv_header_libintl_h=$ac_header_preproc
6499 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6500 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
6503 if test $ac_cv_header_libintl_h = yes; then
6504 gt_cv_func_dgettext_libintl="no"
6505 libintl_extra_libs=""
6508 # First check in libc
6510 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
6511 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
6512 if test "${gt_cv_func_ngettext_libc+set}" = set; then
6513 echo $ECHO_N "(cached) $ECHO_C" >&6
6515 cat >conftest.$ac_ext <<_ACEOF
6518 cat confdefs.h >>conftest.$ac_ext
6519 cat >>conftest.$ac_ext <<_ACEOF
6520 /* end confdefs.h. */
6522 #include <libintl.h>
6527 return !ngettext ("","", 1)
6532 rm -f conftest.$ac_objext conftest$ac_exeext
6533 if { (ac_try="$ac_link"
6535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6536 *) ac_try_echo=$ac_try;;
6538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6539 (eval "$ac_link") 2>conftest.er1
6541 grep -v '^
*+' conftest.er1 >conftest.err
6543 cat conftest.err >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } && {
6546 test -z "$ac_c_werror_flag" ||
6547 test ! -s conftest.err
6548 } && test -s conftest$ac_exeext &&
6549 $as_test_x conftest$ac_exeext; then
6550 gt_cv_func_ngettext_libc=yes
6552 echo "$as_me: failed program was:" >&5
6553 sed 's
/^
/|
/' conftest.$ac_ext >&5
6555 gt_cv_func_ngettext_libc=no
6558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6559 conftest$ac_exeext conftest.$ac_ext
6562 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
6563 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
6565 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6566 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
6567 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
6568 if test "${gt_cv_func_dgettext_libc+set}" = set; then
6569 echo $ECHO_N "(cached) $ECHO_C" >&6
6571 cat >conftest.$ac_ext <<_ACEOF
6574 cat confdefs.h >>conftest.$ac_ext
6575 cat >>conftest.$ac_ext <<_ACEOF
6576 /* end confdefs.h. */
6578 #include <libintl.h>
6583 return !dgettext ("","")
6588 rm -f conftest.$ac_objext conftest$ac_exeext
6589 if { (ac_try="$ac_link"
6591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6592 *) ac_try_echo=$ac_try;;
6594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6595 (eval "$ac_link") 2>conftest.er1
6597 grep -v '^
*+' conftest.er1 >conftest.err
6599 cat conftest.err >&5
6600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6601 (exit $ac_status); } && {
6602 test -z "$ac_c_werror_flag" ||
6603 test ! -s conftest.err
6604 } && test -s conftest$ac_exeext &&
6605 $as_test_x conftest$ac_exeext; then
6606 gt_cv_func_dgettext_libc=yes
6608 echo "$as_me: failed program was:" >&5
6609 sed 's
/^
/|
/' conftest.$ac_ext >&5
6611 gt_cv_func_dgettext_libc=no
6614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6615 conftest$ac_exeext conftest.$ac_ext
6618 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
6619 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
6622 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6624 for ac_func in bind_textdomain_codeset
6626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6627 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6629 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6630 echo $ECHO_N "(cached) $ECHO_C" >&6
6632 cat >conftest.$ac_ext <<_ACEOF
6635 cat confdefs.h >>conftest.$ac_ext
6636 cat >>conftest.$ac_ext <<_ACEOF
6637 /* end confdefs.h. */
6638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6640 #define $ac_func innocuous_$ac_func
6642 /* System header to define __stub macros and hopefully few prototypes,
6643 which can conflict with char $ac_func (); below.
6644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6645 <limits.h> exists even on freestanding compilers. */
6648 # include <limits.h>
6650 # include <assert.h>
6655 /* Override any GCC internal prototype to avoid an error.
6656 Use char because int might match the return type of a GCC
6657 builtin and then its argument prototype would still apply. */
6662 /* The GNU C library defines this for functions which it implements
6663 to always fail with ENOSYS. Some functions are actually named
6664 something starting with __ and the normal name is an alias. */
6665 #if defined __stub_$ac_func || defined __stub___$ac_func
6677 rm -f conftest.$ac_objext conftest$ac_exeext
6678 if { (ac_try="$ac_link"
6680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6681 *) ac_try_echo=$ac_try;;
6683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6684 (eval "$ac_link") 2>conftest.er1
6686 grep -v '^
*+' conftest.er1 >conftest.err
6688 cat conftest.err >&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); } && {
6691 test -z "$ac_c_werror_flag" ||
6692 test ! -s conftest.err
6693 } && test -s conftest$ac_exeext &&
6694 $as_test_x conftest$ac_exeext; then
6695 eval "$as_ac_var=yes"
6697 echo "$as_me: failed program was:" >&5
6698 sed 's
/^
/|
/' conftest.$ac_ext >&5
6700 eval "$as_ac_var=no"
6703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6704 conftest$ac_exeext conftest.$ac_ext
6706 ac_res=`eval echo '${'$as_ac_var'}'`
6707 { echo "$as_me:$LINENO: result: $ac_res" >&5
6708 echo "${ECHO_T}$ac_res" >&6; }
6709 if test `eval echo '${'$as_ac_var'}'` = yes; then
6710 cat >>confdefs.h <<_ACEOF
6711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6720 # If we don't have everything we want
, check
in libintl
6722 if test "$gt_cv_func_dgettext_libc" != "yes" \
6723 ||
test "$gt_cv_func_ngettext_libc" != "yes" \
6724 ||
test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6726 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
6727 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
6728 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
6729 echo $ECHO_N "(cached) $ECHO_C" >&6
6731 ac_check_lib_save_LIBS
=$LIBS
6733 cat >conftest.
$ac_ext <<_ACEOF
6736 cat confdefs.h
>>conftest.
$ac_ext
6737 cat >>conftest.
$ac_ext <<_ACEOF
6738 /* end confdefs.h. */
6740 /* Override any GCC internal prototype to avoid an error.
6741 Use char because int might match the return type of a GCC
6742 builtin and then its argument prototype would still apply. */
6746 char bindtextdomain ();
6750 return bindtextdomain ();
6755 rm -f conftest.
$ac_objext conftest
$ac_exeext
6756 if { (ac_try
="$ac_link"
6758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6759 *) ac_try_echo=$ac_try;;
6761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6762 (eval "$ac_link") 2>conftest.er1
6764 grep -v '^ *+' conftest.er1 >conftest.err
6766 cat conftest.err >&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); } && {
6769 test -z "$ac_c_werror_flag" ||
6770 test ! -s conftest.err
6771 } && test -s conftest$ac_exeext &&
6772 $as_test_x conftest$ac_exeext; then
6773 ac_cv_lib_intl_bindtextdomain=yes
6775 echo "$as_me: failed program was:" >&5
6776 sed 's/^/| /' conftest.$ac_ext >&5
6778 ac_cv_lib_intl_bindtextdomain=no
6781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6782 conftest$ac_exeext conftest.$ac_ext
6783 LIBS=$ac_check_lib_save_LIBS
6785 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
6786 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
6787 if test $ac_cv_lib_intl_bindtextdomain = yes; then
6788 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6789 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
6790 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6791 echo $ECHO_N "(cached) $ECHO_C" >&6
6793 ac_check_lib_save_LIBS=$LIBS
6795 cat >conftest.$ac_ext <<_ACEOF
6798 cat confdefs.h >>conftest.$ac_ext
6799 cat >>conftest.$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6802 /* Override any GCC internal prototype to avoid an error.
6803 Use char because int might match the return type of a GCC
6804 builtin and then its argument prototype would still apply. */
6817 rm -f conftest.$ac_objext conftest$ac_exeext
6818 if { (ac_try="$ac_link"
6820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6821 *) ac_try_echo
=$ac_try;;
6823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6824 (eval "$ac_link") 2>conftest.er1
6826 grep -v '^ *+' conftest.er1
>conftest.err
6828 cat conftest.err
>&5
6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830 (exit $ac_status); } && {
6831 test -z "$ac_c_werror_flag" ||
6832 test ! -s conftest.err
6833 } && test -s conftest
$ac_exeext &&
6834 $as_test_x conftest
$ac_exeext; then
6835 ac_cv_lib_intl_ngettext
=yes
6837 echo "$as_me: failed program was:" >&5
6838 sed 's/^/| /' conftest.
$ac_ext >&5
6840 ac_cv_lib_intl_ngettext
=no
6843 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6844 conftest
$ac_exeext conftest.
$ac_ext
6845 LIBS
=$ac_check_lib_save_LIBS
6847 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6848 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
6849 if test $ac_cv_lib_intl_ngettext = yes; then
6850 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
6851 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
6852 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
6853 echo $ECHO_N "(cached) $ECHO_C" >&6
6855 ac_check_lib_save_LIBS
=$LIBS
6857 cat >conftest.
$ac_ext <<_ACEOF
6860 cat confdefs.h
>>conftest.
$ac_ext
6861 cat >>conftest.
$ac_ext <<_ACEOF
6862 /* end confdefs.h. */
6864 /* Override any GCC internal prototype to avoid an error.
6865 Use char because int might match the return type of a GCC
6866 builtin and then its argument prototype would still apply. */
6879 rm -f conftest.
$ac_objext conftest
$ac_exeext
6880 if { (ac_try
="$ac_link"
6882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6883 *) ac_try_echo=$ac_try;;
6885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6886 (eval "$ac_link") 2>conftest.er1
6888 grep -v '^ *+' conftest.er1 >conftest.err
6890 cat conftest.err >&5
6891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6892 (exit $ac_status); } && {
6893 test -z "$ac_c_werror_flag" ||
6894 test ! -s conftest.err
6895 } && test -s conftest$ac_exeext &&
6896 $as_test_x conftest$ac_exeext; then
6897 ac_cv_lib_intl_dgettext=yes
6899 echo "$as_me: failed program was:" >&5
6900 sed 's/^/| /' conftest.$ac_ext >&5
6902 ac_cv_lib_intl_dgettext=no
6905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6906 conftest$ac_exeext conftest.$ac_ext
6907 LIBS=$ac_check_lib_save_LIBS
6909 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
6910 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
6911 if test $ac_cv_lib_intl_dgettext = yes; then
6912 gt_cv_func_dgettext_libintl=yes
6920 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6921 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
6922 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
6923 { echo "$as_me:$LINENO: result: " >&5
6924 echo "${ECHO_T}" >&6; }
6925 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6926 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
6927 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6928 echo $ECHO_N "(cached) $ECHO_C" >&6
6930 ac_check_lib_save_LIBS=$LIBS
6931 LIBS="-lintl -liconv $LIBS"
6932 cat >conftest.$ac_ext <<_ACEOF
6935 cat confdefs.h >>conftest.$ac_ext
6936 cat >>conftest.$ac_ext <<_ACEOF
6937 /* end confdefs.h. */
6939 /* Override any GCC internal prototype to avoid an error.
6940 Use char because int might match the return type of a GCC
6941 builtin and then its argument prototype would still apply. */
6954 rm -f conftest.$ac_objext conftest$ac_exeext
6955 if { (ac_try="$ac_link"
6957 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6958 *) ac_try_echo
=$ac_try;;
6960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6961 (eval "$ac_link") 2>conftest.er1
6963 grep -v '^ *+' conftest.er1
>conftest.err
6965 cat conftest.err
>&5
6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 (exit $ac_status); } && {
6968 test -z "$ac_c_werror_flag" ||
6969 test ! -s conftest.err
6970 } && test -s conftest
$ac_exeext &&
6971 $as_test_x conftest
$ac_exeext; then
6972 ac_cv_lib_intl_ngettext
=yes
6974 echo "$as_me: failed program was:" >&5
6975 sed 's/^/| /' conftest.
$ac_ext >&5
6977 ac_cv_lib_intl_ngettext
=no
6980 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6981 conftest
$ac_exeext conftest.
$ac_ext
6982 LIBS
=$ac_check_lib_save_LIBS
6984 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6985 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
6986 if test $ac_cv_lib_intl_ngettext = yes; then
6987 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
6988 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
6989 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
6990 echo $ECHO_N "(cached) $ECHO_C" >&6
6992 ac_check_lib_save_LIBS
=$LIBS
6993 LIBS
="-lintl -liconv $LIBS"
6994 cat >conftest.
$ac_ext <<_ACEOF
6997 cat confdefs.h
>>conftest.
$ac_ext
6998 cat >>conftest.
$ac_ext <<_ACEOF
6999 /* end confdefs.h. */
7001 /* Override any GCC internal prototype to avoid an error.
7002 Use char because int might match the return type of a GCC
7003 builtin and then its argument prototype would still apply. */
7011 return dcgettext ();
7016 rm -f conftest.
$ac_objext conftest
$ac_exeext
7017 if { (ac_try
="$ac_link"
7019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7020 *) ac_try_echo=$ac_try;;
7022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7023 (eval "$ac_link") 2>conftest.er1
7025 grep -v '^ *+' conftest.er1 >conftest.err
7027 cat conftest.err >&5
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); } && {
7030 test -z "$ac_c_werror_flag" ||
7031 test ! -s conftest.err
7032 } && test -s conftest$ac_exeext &&
7033 $as_test_x conftest$ac_exeext; then
7034 ac_cv_lib_intl_dcgettext=yes
7036 echo "$as_me: failed program was:" >&5
7037 sed 's/^/| /' conftest.$ac_ext >&5
7039 ac_cv_lib_intl_dcgettext=no
7042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7043 conftest$ac_exeext conftest.$ac_ext
7044 LIBS=$ac_check_lib_save_LIBS
7046 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
7047 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
7048 if test $ac_cv_lib_intl_dcgettext = yes; then
7049 gt_cv_func_dgettext_libintl=yes
7050 libintl_extra_libs=-liconv
7062 # If we found libintl, then check in it for bind_textdomain_codeset();
7063 # we'll prefer libc if neither have bind_textdomain_codeset(),
7064 # and both have dgettext and ngettext
7066 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
7067 glib_save_LIBS="$LIBS"
7068 LIBS="$LIBS -lintl $libintl_extra_libs"
7069 unset ac_cv_func_bind_textdomain_codeset
7071 for ac_func in bind_textdomain_codeset
7073 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7074 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7076 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7077 echo $ECHO_N "(cached) $ECHO_C" >&6
7079 cat >conftest.$ac_ext <<_ACEOF
7082 cat confdefs.h >>conftest.$ac_ext
7083 cat >>conftest.$ac_ext <<_ACEOF
7084 /* end confdefs.h. */
7085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7087 #define $ac_func innocuous_$ac_func
7089 /* System header to define __stub macros and hopefully few prototypes,
7090 which can conflict with char $ac_func (); below.
7091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7092 <limits.h> exists even on freestanding compilers. */
7095 # include <limits.h>
7097 # include <assert.h>
7102 /* Override any GCC internal prototype to avoid an error.
7103 Use char because int might match the return type of a GCC
7104 builtin and then its argument prototype would still apply. */
7109 /* The GNU C library defines this for functions which it implements
7110 to always fail with ENOSYS. Some functions are actually named
7111 something starting with __ and the normal name is an alias. */
7112 #if defined __stub_$ac_func || defined __stub___$ac_func
7124 rm -f conftest.$ac_objext conftest$ac_exeext
7125 if { (ac_try="$ac_link"
7127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7128 *) ac_try_echo
=$ac_try;;
7130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7131 (eval "$ac_link") 2>conftest.er1
7133 grep -v '^ *+' conftest.er1
>conftest.err
7135 cat conftest.err
>&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); } && {
7138 test -z "$ac_c_werror_flag" ||
7139 test ! -s conftest.err
7140 } && test -s conftest
$ac_exeext &&
7141 $as_test_x conftest
$ac_exeext; then
7142 eval "$as_ac_var=yes"
7144 echo "$as_me: failed program was:" >&5
7145 sed 's/^/| /' conftest.
$ac_ext >&5
7147 eval "$as_ac_var=no"
7150 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7151 conftest
$ac_exeext conftest.
$ac_ext
7153 ac_res
=`eval echo '${'$as_ac_var'}'`
7154 { echo "$as_me:$LINENO: result: $ac_res" >&5
7155 echo "${ECHO_T}$ac_res" >&6; }
7156 if test `eval echo '${'$as_ac_var'}'` = yes; then
7157 cat >>confdefs.h
<<_ACEOF
7158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7164 LIBS
="$glib_save_LIBS"
7166 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
7167 gt_cv_func_dgettext_libc
=no
7169 if test "$gt_cv_func_dgettext_libc" = "yes" \
7170 && test "$gt_cv_func_ngettext_libc" = "yes"; then
7171 gt_cv_func_dgettext_libintl
=no
7177 if test "$gt_cv_func_dgettext_libc" = "yes" \
7178 ||
test "$gt_cv_func_dgettext_libintl" = "yes"; then
7179 gt_cv_have_gettext
=yes
7182 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
7183 INTLLIBS
="-lintl $libintl_extra_libs"
7186 if test "$gt_cv_have_gettext" = "yes"; then
7188 cat >>confdefs.h
<<\_ACEOF
7189 #define HAVE_GETTEXT 1
7192 # Extract the first word of "msgfmt", so it can be a program name with args.
7193 set dummy msgfmt
; ac_word
=$2
7194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7196 if test "${ac_cv_path_MSGFMT+set}" = set; then
7197 echo $ECHO_N "(cached) $ECHO_C" >&6
7201 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7204 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7205 for ac_dir
in $PATH; do
7206 test -z "$ac_dir" && ac_dir
=.
7207 if test -f $ac_dir/$ac_word; then
7208 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7209 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7215 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7219 MSGFMT
="$ac_cv_path_MSGFMT"
7220 if test "$MSGFMT" != "no"; then
7221 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7222 echo "${ECHO_T}$MSGFMT" >&6; }
7224 { echo "$as_me:$LINENO: result: no" >&5
7225 echo "${ECHO_T}no" >&6; }
7227 if test "$MSGFMT" != "no"; then
7228 glib_save_LIBS
="$LIBS"
7229 LIBS
="$LIBS $INTLLIBS"
7231 for ac_func
in dcgettext
7233 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7234 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7236 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7237 echo $ECHO_N "(cached) $ECHO_C" >&6
7239 cat >conftest.
$ac_ext <<_ACEOF
7242 cat confdefs.h
>>conftest.
$ac_ext
7243 cat >>conftest.
$ac_ext <<_ACEOF
7244 /* end confdefs.h. */
7245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7247 #define $ac_func innocuous_$ac_func
7249 /* System header to define __stub macros and hopefully few prototypes,
7250 which can conflict with char $ac_func (); below.
7251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7252 <limits.h> exists even on freestanding compilers. */
7255 # include <limits.h>
7257 # include <assert.h>
7262 /* Override any GCC internal prototype to avoid an error.
7263 Use char because int might match the return type of a GCC
7264 builtin and then its argument prototype would still apply. */
7269 /* The GNU C library defines this for functions which it implements
7270 to always fail with ENOSYS. Some functions are actually named
7271 something starting with __ and the normal name is an alias. */
7272 #if defined __stub_$ac_func || defined __stub___$ac_func
7284 rm -f conftest.
$ac_objext conftest
$ac_exeext
7285 if { (ac_try
="$ac_link"
7287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7288 *) ac_try_echo=$ac_try;;
7290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7291 (eval "$ac_link") 2>conftest.er1
7293 grep -v '^ *+' conftest.er1 >conftest.err
7295 cat conftest.err >&5
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); } && {
7298 test -z "$ac_c_werror_flag" ||
7299 test ! -s conftest.err
7300 } && test -s conftest$ac_exeext &&
7301 $as_test_x conftest$ac_exeext; then
7302 eval "$as_ac_var=yes"
7304 echo "$as_me: failed program was:" >&5
7305 sed 's/^/| /' conftest.$ac_ext >&5
7307 eval "$as_ac_var=no"
7310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7311 conftest$ac_exeext conftest.$ac_ext
7313 ac_res=`eval echo '${'$as_ac_var'}'`
7314 { echo "$as_me:$LINENO: result: $ac_res" >&5
7315 echo "${ECHO_T}$ac_res" >&6; }
7316 if test `eval echo '${'$as_ac_var'}'` = yes; then
7317 cat >>confdefs.h <<_ACEOF
7318 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7325 { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
7326 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
7327 cat >conftest.foo <<_ACEOF
7331 "Content-Type: text/plain; charset=UTF-8\n"
7332 "Project-Id-Version: test 1.0\n"
7333 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
7334 "Last-Translator: test <foo@bar.xx>\n"
7335 "Language-Team: C <LL@li.org>\n"
7336 "MIME-Version: 1.0\n"
7337 "Content-Transfer-Encoding: 8bit\n"
7340 if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
7341 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
7343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7344 (exit $ac_status); }; then
7345 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
7346 echo "${ECHO_T}yes" >&6; }
7347 else { echo "$as_me:$LINENO: result: no" >&5
7348 echo "${ECHO_T}no" >&6; }
7349 echo "$as_me: failed input was:" >&5
7350 sed 's/^/| /' conftest.foo >&5
7353 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7354 set dummy gmsgfmt; ac_word=$2
7355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7357 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6
7362 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7369 test -z "$as_dir" && as_dir=.
7370 for ac_exec_ext in '' $ac_executable_extensions; do
7371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7372 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7380 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7384 GMSGFMT=$ac_cv_path_GMSGFMT
7385 if test -n "$GMSGFMT"; then
7386 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7387 echo "${ECHO_T}$GMSGFMT" >&6; }
7389 { echo "$as_me:$LINENO: result: no" >&5
7390 echo "${ECHO_T}no" >&6; }
7394 # Extract the first word of "xgettext", so it can be a program name with args.
7395 set dummy xgettext; ac_word=$2
7396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7398 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7399 echo $ECHO_N "(cached) $ECHO_C" >&6
7403 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7406 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7407 for ac_dir in $PATH; do
7408 test -z "$ac_dir" && ac_dir=.
7409 if test -f $ac_dir/$ac_word; then
7410 if test -z "`$ac_dir/$ac_word -h 2>&1 |
grep '(HELP)'`"; then
7411 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
7417 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7421 XGETTEXT="$ac_cv_path_XGETTEXT"
7422 if test "$XGETTEXT" != ":"; then
7423 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7424 echo "${ECHO_T}$XGETTEXT" >&6; }
7426 { echo "$as_me:$LINENO: result: no" >&5
7427 echo "${ECHO_T}no" >&6; }
7430 cat >conftest.$ac_ext <<_ACEOF
7433 cat confdefs.h >>conftest.$ac_ext
7434 cat >>conftest.$ac_ext <<_ACEOF
7435 /* end confdefs.h. */
7440 extern int _nl_msg_cat_cntr;
7441 return _nl_msg_cat_cntr
7446 rm -f conftest.$ac_objext conftest$ac_exeext
7447 if { (ac_try="$ac_link"
7449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7450 *) ac_try_echo
=$ac_try;;
7452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7453 (eval "$ac_link") 2>conftest.er1
7455 grep -v '^ *+' conftest.er1
>conftest.err
7457 cat conftest.err
>&5
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); } && {
7460 test -z "$ac_c_werror_flag" ||
7461 test ! -s conftest.err
7462 } && test -s conftest
$ac_exeext &&
7463 $as_test_x conftest
$ac_exeext; then
7467 echo "$as_me: failed program was:" >&5
7468 sed 's/^/| /' conftest.
$ac_ext >&5
7472 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7473 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
7474 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7475 echo $ECHO_N "(cached) $ECHO_C" >&6
7477 cat >conftest.
$ac_ext <<_ACEOF
7480 cat confdefs.h
>>conftest.
$ac_ext
7481 cat >>conftest.
$ac_ext <<_ACEOF
7482 /* end confdefs.h. */
7483 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7485 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7487 /* System header to define __stub macros and hopefully few prototypes,
7488 which can conflict with char bind_textdomain_codeset (); below.
7489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7490 <limits.h> exists even on freestanding compilers. */
7493 # include <limits.h>
7495 # include <assert.h>
7498 #undef bind_textdomain_codeset
7500 /* Override any GCC internal prototype to avoid an error.
7501 Use char because int might match the return type of a GCC
7502 builtin and then its argument prototype would still apply. */
7506 char bind_textdomain_codeset ();
7507 /* The GNU C library defines this for functions which it implements
7508 to always fail with ENOSYS. Some functions are actually named
7509 something starting with __ and the normal name is an alias. */
7510 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7517 return bind_textdomain_codeset ();
7522 rm -f conftest.
$ac_objext conftest
$ac_exeext
7523 if { (ac_try
="$ac_link"
7525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7526 *) ac_try_echo=$ac_try;;
7528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7529 (eval "$ac_link") 2>conftest.er1
7531 grep -v '^ *+' conftest.er1 >conftest.err
7533 cat conftest.err >&5
7534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); } && {
7536 test -z "$ac_c_werror_flag" ||
7537 test ! -s conftest.err
7538 } && test -s conftest$ac_exeext &&
7539 $as_test_x conftest$ac_exeext; then
7540 ac_cv_func_bind_textdomain_codeset=yes
7542 echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.$ac_ext >&5
7545 ac_cv_func_bind_textdomain_codeset=no
7548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7549 conftest$ac_exeext conftest.$ac_ext
7551 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7552 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
7553 if test $ac_cv_func_bind_textdomain_codeset = yes; then
7569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7570 conftest$ac_exeext conftest.$ac_ext
7571 LIBS="$glib_save_LIBS"
7574 gt_cv_have_gettext=no
7582 if test "$gt_cv_have_gettext" = "yes" ; then
7584 cat >>confdefs.h <<\_ACEOF
7585 #define ENABLE_NLS 1
7590 if test "$XGETTEXT" != ":"; then
7591 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7594 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7595 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
7600 # We need to process the po/ directory.
7603 ac_config_commands="$ac_config_commands default-1"
7606 for lang in $ALL_LINGUAS; do
7607 GMOFILES="$GMOFILES $lang.gmo"
7608 POFILES="$POFILES $lang.po"
7623 if test "$gt_cv_have_gettext" = "yes"; then
7624 if test "x$ALL_LINGUAS" = "x"; then
7627 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7628 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
7630 for presentlang in $ALL_LINGUAS; do
7632 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
7633 desiredlanguages="$LINGUAS"
7635 desiredlanguages="$ALL_LINGUAS"
7637 for desiredlang in $desiredlanguages; do
7638 # Use the presentlang catalog if desiredlang is
7639 # a. equal to presentlang, or
7640 # b. a variant of presentlang (because in this case,
7641 # presentlang can be used as a fallback for messages
7642 # which are not translated in the desiredlang catalog).
7643 case "$desiredlang" in
7644 "$presentlang"*) useit=yes;;
7647 if test $useit = yes; then
7648 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
7651 LINGUAS=$NEW_LINGUAS
7652 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
7653 echo "${ECHO_T}$LINGUAS" >&6; }
7656 if test -n "$LINGUAS"; then
7657 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
7662 if test -n "$ac_aux_dir"; then
7663 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
7665 if test -z "$MKINSTALLDIRS"; then
7666 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
7670 test -d po || mkdir po
7671 if test "x$srcdir" != "x."; then
7672 if test "x`echo $srcdir |
sed 's@/.*@@'`" = "x"; then
7673 posrcprefix="$srcdir/"
7675 posrcprefix="../$srcdir/"
7681 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7682 < $srcdir/po/POTFILES.in > po/POTFILES
7687 case "$am__api_version" in
7689 { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
7690 echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
7691 { (exit 1); exit 1; }; }
7698 { echo "$as_me:$LINENO: checking for intltool >= " >&5
7699 echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6; }
7701 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo |
awk -F.
'{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7702 INTLTOOL_APPLIED_VERSION=`intltool-update
--version |
head -1 | cut
-d" " -f3`
7703 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION |
awk -F.
'{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7705 { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
7706 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
7707 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
7708 { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool or later." >&5
7709 echo "$as_me: error: Your intltool is too old. You need intltool or later." >&2;}
7710 { (exit 1); exit 1; }; }
7713 # Extract the first word of "intltool-update", so it can be a program name with args.
7714 set dummy intltool-update; ac_word=$2
7715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7717 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
7718 echo $ECHO_N "(cached) $ECHO_C" >&6
7720 case $INTLTOOL_UPDATE in
7722 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729 test -z "$as_dir" && as_dir=.
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7732 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
7733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7743 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
7744 if test -n "$INTLTOOL_UPDATE"; then
7745 { echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
7746 echo "${ECHO_T}$INTLTOOL_UPDATE" >&6; }
7748 { echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6; }
7753 # Extract the first word of "intltool-merge", so it can be a program name with args.
7754 set dummy intltool-merge; ac_word=$2
7755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7757 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
7758 echo $ECHO_N "(cached) $ECHO_C" >&6
7760 case $INTLTOOL_MERGE in
7762 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
7765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7769 test -z "$as_dir" && as_dir=.
7770 for ac_exec_ext in '' $ac_executable_extensions; do
7771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7772 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
7773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7783 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
7784 if test -n "$INTLTOOL_MERGE"; then
7785 { echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
7786 echo "${ECHO_T}$INTLTOOL_MERGE" >&6; }
7788 { echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6; }
7793 # Extract the first word of "intltool-extract", so it can be a program name with args.
7794 set dummy intltool-extract; ac_word=$2
7795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7797 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
7798 echo $ECHO_N "(cached) $ECHO_C" >&6
7800 case $INTLTOOL_EXTRACT in
7802 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
7805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7809 test -z "$as_dir" && as_dir=.
7810 for ac_exec_ext in '' $ac_executable_extensions; do
7811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7812 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
7813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7823 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
7824 if test -n "$INTLTOOL_EXTRACT"; then
7825 { echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
7826 echo "${ECHO_T}$INTLTOOL_EXTRACT" >&6; }
7828 { echo "$as_me:$LINENO: result: no" >&5
7829 echo "${ECHO_T}no" >&6; }
7833 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
7834 { { echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
7835 echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
7836 { (exit 1); exit 1; }; }
7839 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 $< $@'
7840 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 $< $@'
7841 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 $< $@'
7842 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 $< $@'
7843 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
7844 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 $< $@'
7845 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 $< $@'
7846 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 $< $@'
7847 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 $< $@'
7848 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 $< $@'
7849 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 $< $@'
7850 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
7851 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 $< $@'
7852 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 $< $@'
7853 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 $< $@'
7854 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 $< $@'
7855 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 $< $@'
7856 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 $< $@'
7857 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 $< $@'
7879 # Check the gettext tools to make sure they are GNU
7880 # Extract the first word of "xgettext", so it can be a program name with args.
7881 set dummy xgettext; ac_word=$2
7882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7884 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7885 echo $ECHO_N "(cached) $ECHO_C" >&6
7889 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7896 test -z "$as_dir" && as_dir=.
7897 for ac_exec_ext in '' $ac_executable_extensions; do
7898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7899 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
7900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7910 XGETTEXT=$ac_cv_path_XGETTEXT
7911 if test -n "$XGETTEXT"; then
7912 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7913 echo "${ECHO_T}$XGETTEXT" >&6; }
7915 { echo "$as_me:$LINENO: result: no" >&5
7916 echo "${ECHO_T}no" >&6; }
7920 # Extract the first word of "msgmerge", so it can be a program name with args.
7921 set dummy msgmerge; ac_word=$2
7922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7924 if test "${ac_cv_path_MSGMERGE+set}" = set; then
7925 echo $ECHO_N "(cached) $ECHO_C" >&6
7929 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
7932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7936 test -z "$as_dir" && as_dir=.
7937 for ac_exec_ext in '' $ac_executable_extensions; do
7938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7939 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
7940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7950 MSGMERGE=$ac_cv_path_MSGMERGE
7951 if test -n "$MSGMERGE"; then
7952 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
7953 echo "${ECHO_T}$MSGMERGE" >&6; }
7955 { echo "$as_me:$LINENO: result: no" >&5
7956 echo "${ECHO_T}no" >&6; }
7960 # Extract the first word of "msgfmt", so it can be a program name with args.
7961 set dummy msgfmt; ac_word=$2
7962 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7964 if test "${ac_cv_path_MSGFMT+set}" = set; then
7965 echo $ECHO_N "(cached) $ECHO_C" >&6
7969 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7976 test -z "$as_dir" && as_dir=.
7977 for ac_exec_ext in '' $ac_executable_extensions; do
7978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7979 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
7980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7990 MSGFMT=$ac_cv_path_MSGFMT
7991 if test -n "$MSGFMT"; then
7992 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7993 echo "${ECHO_T}$MSGFMT" >&6; }
7995 { echo "$as_me:$LINENO: result: no" >&5
7996 echo "${ECHO_T}no" >&6; }
8000 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
8001 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
8002 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
8003 { (exit 1); exit 1; }; }
8005 xgversion="`$XGETTEXT --version|
grep '(GNU ' 2> /dev
/null
`"
8006 mmversion="`$MSGMERGE --version|
grep '(GNU ' 2> /dev
/null
`"
8007 mfversion="`$MSGFMT --version|
grep '(GNU ' 2> /dev
/null
`"
8008 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
8009 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
8010 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
8011 { (exit 1); exit 1; }; }
8014 # Extract the first word of "perl", so it can be a program name with args.
8015 set dummy perl; ac_word=$2
8016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8018 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
8019 echo $ECHO_N "(cached) $ECHO_C" >&6
8021 case $INTLTOOL_PERL in
8023 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030 test -z "$as_dir" && as_dir=.
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8033 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
8034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8044 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
8045 if test -n "$INTLTOOL_PERL"; then
8046 { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
8047 echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
8049 { echo "$as_me:$LINENO: result: no" >&5
8050 echo "${ECHO_T}no" >&6; }
8054 if test -z "$INTLTOOL_PERL"; then
8055 { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
8056 echo "$as_me: error: perl not found; required for intltool" >&2;}
8057 { (exit 1); exit 1; }; }
8059 if test -z "`$INTLTOOL_PERL -v | fgrep
'5.' 2> /dev
/null
`"; then
8060 { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
8061 echo "$as_me: error: perl 5.x required for intltool" >&2;}
8062 { (exit 1); exit 1; }; }
8064 if test "x" != "xno-xml"; then
8065 { echo "$as_me:$LINENO: checking for XML::Parser" >&5
8066 echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
8067 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev
/null
`; then
8068 { echo "$as_me:$LINENO: result: ok" >&5
8069 echo "${ECHO_T}ok" >&6; }
8071 { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
8072 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
8073 { (exit 1); exit 1; }; }
8077 # Substitute ALL_LINGUAS so we can use it in po/Makefile
8080 # Set DATADIRNAME correctly if it is not set yet
8081 # (copied from glib-gettext.m4)
8082 if test -z "$DATADIRNAME"; then
8083 cat >conftest.$ac_ext <<_ACEOF
8086 cat confdefs.h >>conftest.$ac_ext
8087 cat >>conftest.$ac_ext <<_ACEOF
8088 /* end confdefs.h. */
8093 extern int _nl_msg_cat_cntr;
8094 return _nl_msg_cat_cntr
8099 rm -f conftest.$ac_objext conftest$ac_exeext
8100 if { (ac_try="$ac_link"
8102 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8103 *) ac_try_echo
=$ac_try;;
8105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8106 (eval "$ac_link") 2>conftest.er1
8108 grep -v '^ *+' conftest.er1
>conftest.err
8110 cat conftest.err
>&5
8111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112 (exit $ac_status); } && {
8113 test -z "$ac_c_werror_flag" ||
8114 test ! -s conftest.err
8115 } && test -s conftest
$ac_exeext &&
8116 $as_test_x conftest
$ac_exeext; then
8119 echo "$as_me: failed program was:" >&5
8120 sed 's/^/| /' conftest.
$ac_ext >&5
8124 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
8125 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
8126 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
8127 echo $ECHO_N "(cached) $ECHO_C" >&6
8129 cat >conftest.
$ac_ext <<_ACEOF
8132 cat confdefs.h
>>conftest.
$ac_ext
8133 cat >>conftest.
$ac_ext <<_ACEOF
8134 /* end confdefs.h. */
8135 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
8136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8137 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
8139 /* System header to define __stub macros and hopefully few prototypes,
8140 which can conflict with char bind_textdomain_codeset (); below.
8141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8142 <limits.h> exists even on freestanding compilers. */
8145 # include <limits.h>
8147 # include <assert.h>
8150 #undef bind_textdomain_codeset
8152 /* Override any GCC internal prototype to avoid an error.
8153 Use char because int might match the return type of a GCC
8154 builtin and then its argument prototype would still apply. */
8158 char bind_textdomain_codeset ();
8159 /* The GNU C library defines this for functions which it implements
8160 to always fail with ENOSYS. Some functions are actually named
8161 something starting with __ and the normal name is an alias. */
8162 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
8169 return bind_textdomain_codeset ();
8174 rm -f conftest.
$ac_objext conftest
$ac_exeext
8175 if { (ac_try
="$ac_link"
8177 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8178 *) ac_try_echo=$ac_try;;
8180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8181 (eval "$ac_link") 2>conftest.er1
8183 grep -v '^ *+' conftest.er1 >conftest.err
8185 cat conftest.err >&5
8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8187 (exit $ac_status); } && {
8188 test -z "$ac_c_werror_flag" ||
8189 test ! -s conftest.err
8190 } && test -s conftest$ac_exeext &&
8191 $as_test_x conftest$ac_exeext; then
8192 ac_cv_func_bind_textdomain_codeset=yes
8194 echo "$as_me: failed program was:" >&5
8195 sed 's/^/| /' conftest.$ac_ext >&5
8197 ac_cv_func_bind_textdomain_codeset=no
8200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8201 conftest$ac_exeext conftest.$ac_ext
8203 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
8204 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
8205 if test $ac_cv_func_bind_textdomain_codeset = yes; then
8218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8219 conftest$ac_exeext conftest.$ac_ext
8229 { echo "$as_me:$LINENO: checking for g_malloc0 in -lglib-2.0" >&5
8230 echo $ECHO_N "checking for g_malloc0 in -lglib-2.0... $ECHO_C" >&6; }
8231 if test "${ac_cv_lib_glib_2_0_g_malloc0+set}" = set; then
8232 echo $ECHO_N "(cached) $ECHO_C" >&6
8234 ac_check_lib_save_LIBS=$LIBS
8235 LIBS="-lglib-2.0 $LIBS"
8236 cat >conftest.$ac_ext <<_ACEOF
8239 cat confdefs.h >>conftest.$ac_ext
8240 cat >>conftest.$ac_ext <<_ACEOF
8241 /* end confdefs.h. */
8243 /* Override any GCC internal prototype to avoid an error.
8244 Use char because int might match the return type of a GCC
8245 builtin and then its argument prototype would still apply. */
8253 return g_malloc0 ();
8258 rm -f conftest.$ac_objext conftest$ac_exeext
8259 if { (ac_try="$ac_link"
8261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8262 *) ac_try_echo
=$ac_try;;
8264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8265 (eval "$ac_link") 2>conftest.er1
8267 grep -v '^ *+' conftest.er1
>conftest.err
8269 cat conftest.err
>&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); } && {
8272 test -z "$ac_c_werror_flag" ||
8273 test ! -s conftest.err
8274 } && test -s conftest
$ac_exeext &&
8275 $as_test_x conftest
$ac_exeext; then
8276 ac_cv_lib_glib_2_0_g_malloc0
=yes
8278 echo "$as_me: failed program was:" >&5
8279 sed 's/^/| /' conftest.
$ac_ext >&5
8281 ac_cv_lib_glib_2_0_g_malloc0
=no
8284 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8285 conftest
$ac_exeext conftest.
$ac_ext
8286 LIBS
=$ac_check_lib_save_LIBS
8288 { echo "$as_me:$LINENO: result: $ac_cv_lib_glib_2_0_g_malloc0" >&5
8289 echo "${ECHO_T}$ac_cv_lib_glib_2_0_g_malloc0" >&6; }
8290 if test $ac_cv_lib_glib_2_0_g_malloc0 = yes; then
8291 cat >>confdefs.h
<<_ACEOF
8292 #define HAVE_LIBGLIB_2_0 1
8295 LIBS
="-lglib-2.0 $LIBS"
8298 { { echo "$as_me:$LINENO: error: \"libglib not installed\"" >&5
8299 echo "$as_me: error: \"libglib not installed\"" >&2;}
8300 { (exit 1); exit 1; }; }
8307 { echo "$as_me:$LINENO: checking for fftw_plan_dft_r2c_2d in -lfftw3" >&5
8308 echo $ECHO_N "checking for fftw_plan_dft_r2c_2d in -lfftw3... $ECHO_C" >&6; }
8309 if test "${ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d+set}" = set; then
8310 echo $ECHO_N "(cached) $ECHO_C" >&6
8312 ac_check_lib_save_LIBS
=$LIBS
8313 LIBS
="-lfftw3 $LIBS"
8314 cat >conftest.
$ac_ext <<_ACEOF
8317 cat confdefs.h
>>conftest.
$ac_ext
8318 cat >>conftest.
$ac_ext <<_ACEOF
8319 /* end confdefs.h. */
8321 /* Override any GCC internal prototype to avoid an error.
8322 Use char because int might match the return type of a GCC
8323 builtin and then its argument prototype would still apply. */
8327 char fftw_plan_dft_r2c_2d ();
8331 return fftw_plan_dft_r2c_2d ();
8336 rm -f conftest.
$ac_objext conftest
$ac_exeext
8337 if { (ac_try
="$ac_link"
8339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8340 *) ac_try_echo=$ac_try;;
8342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8343 (eval "$ac_link") 2>conftest.er1
8345 grep -v '^ *+' conftest.er1 >conftest.err
8347 cat conftest.err >&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); } && {
8350 test -z "$ac_c_werror_flag" ||
8351 test ! -s conftest.err
8352 } && test -s conftest$ac_exeext &&
8353 $as_test_x conftest$ac_exeext; then
8354 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d=yes
8356 echo "$as_me: failed program was:" >&5
8357 sed 's/^/| /' conftest.$ac_ext >&5
8359 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d=no
8362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8363 conftest$ac_exeext conftest.$ac_ext
8364 LIBS=$ac_check_lib_save_LIBS
8366 { echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&5
8367 echo "${ECHO_T}$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&6; }
8368 if test $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d = yes; then
8369 cat >>confdefs.h <<_ACEOF
8370 #define HAVE_LIBFFTW3 1
8373 LIBS="-lfftw3 $LIBS"
8376 { { echo "$as_me:$LINENO: error: \"libfftw3 not installed\"" >&5
8377 echo "$as_me: error: \"libfftw3 not installed\"" >&2;}
8378 { (exit 1); exit 1; }; }
8383 { echo "$as_me:$LINENO: checking for main in -lgslcblas" >&5
8384 echo $ECHO_N "checking for main in -lgslcblas... $ECHO_C" >&6; }
8385 if test "${ac_cv_lib_gslcblas_main+set}" = set; then
8386 echo $ECHO_N "(cached) $ECHO_C" >&6
8388 ac_check_lib_save_LIBS=$LIBS
8389 LIBS="-lgslcblas $LIBS"
8390 cat >conftest.$ac_ext <<_ACEOF
8393 cat confdefs.h >>conftest.$ac_ext
8394 cat >>conftest.$ac_ext <<_ACEOF
8395 /* end confdefs.h. */
8406 rm -f conftest.$ac_objext conftest$ac_exeext
8407 if { (ac_try="$ac_link"
8409 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8410 *) ac_try_echo
=$ac_try;;
8412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8413 (eval "$ac_link") 2>conftest.er1
8415 grep -v '^ *+' conftest.er1
>conftest.err
8417 cat conftest.err
>&5
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); } && {
8420 test -z "$ac_c_werror_flag" ||
8421 test ! -s conftest.err
8422 } && test -s conftest
$ac_exeext &&
8423 $as_test_x conftest
$ac_exeext; then
8424 ac_cv_lib_gslcblas_main
=yes
8426 echo "$as_me: failed program was:" >&5
8427 sed 's/^/| /' conftest.
$ac_ext >&5
8429 ac_cv_lib_gslcblas_main
=no
8432 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8433 conftest
$ac_exeext conftest.
$ac_ext
8434 LIBS
=$ac_check_lib_save_LIBS
8436 { echo "$as_me:$LINENO: result: $ac_cv_lib_gslcblas_main" >&5
8437 echo "${ECHO_T}$ac_cv_lib_gslcblas_main" >&6; }
8438 if test $ac_cv_lib_gslcblas_main = yes; then
8439 cat >>confdefs.h
<<_ACEOF
8440 #define HAVE_LIBGSLCBLAS 1
8443 LIBS
="-lgslcblas $LIBS"
8446 { { echo "$as_me:$LINENO: error: \"libgslcblas not installed\"" >&5
8447 echo "$as_me: error: \"libgslcblas not installed\"" >&2;}
8448 { (exit 1); exit 1; }; }
8453 { echo "$as_me:$LINENO: checking for main in -lgsl" >&5
8454 echo $ECHO_N "checking for main in -lgsl... $ECHO_C" >&6; }
8455 if test "${ac_cv_lib_gsl_main+set}" = set; then
8456 echo $ECHO_N "(cached) $ECHO_C" >&6
8458 ac_check_lib_save_LIBS
=$LIBS
8460 cat >conftest.
$ac_ext <<_ACEOF
8463 cat confdefs.h
>>conftest.
$ac_ext
8464 cat >>conftest.
$ac_ext <<_ACEOF
8465 /* end confdefs.h. */
8476 rm -f conftest.
$ac_objext conftest
$ac_exeext
8477 if { (ac_try
="$ac_link"
8479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8480 *) ac_try_echo=$ac_try;;
8482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8483 (eval "$ac_link") 2>conftest.er1
8485 grep -v '^ *+' conftest.er1 >conftest.err
8487 cat conftest.err >&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); } && {
8490 test -z "$ac_c_werror_flag" ||
8491 test ! -s conftest.err
8492 } && test -s conftest$ac_exeext &&
8493 $as_test_x conftest$ac_exeext; then
8494 ac_cv_lib_gsl_main=yes
8496 echo "$as_me: failed program was:" >&5
8497 sed 's/^/| /' conftest.$ac_ext >&5
8499 ac_cv_lib_gsl_main=no
8502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8503 conftest$ac_exeext conftest.$ac_ext
8504 LIBS=$ac_check_lib_save_LIBS
8506 { echo "$as_me:$LINENO: result: $ac_cv_lib_gsl_main" >&5
8507 echo "${ECHO_T}$ac_cv_lib_gsl_main" >&6; }
8508 if test $ac_cv_lib_gsl_main = yes; then
8509 cat >>confdefs.h <<_ACEOF
8510 #define HAVE_LIBGSL 1
8516 { { echo "$as_me:$LINENO: error: \"libgsl not installed\"" >&5
8517 echo "$as_me: error: \"libgsl not installed\"" >&2;}
8518 { (exit 1); exit 1; }; }
8524 { echo "$as_me:$LINENO: checking for gpiv_piv_interrogate_ia in -lgpiv" >&5
8525 echo $ECHO_N "checking for gpiv_piv_interrogate_ia in -lgpiv... $ECHO_C" >&6; }
8526 if test "${ac_cv_lib_gpiv_gpiv_piv_interrogate_ia+set}" = set; then
8527 echo $ECHO_N "(cached) $ECHO_C" >&6
8529 ac_check_lib_save_LIBS=$LIBS
8531 cat >conftest.$ac_ext <<_ACEOF
8534 cat confdefs.h >>conftest.$ac_ext
8535 cat >>conftest.$ac_ext <<_ACEOF
8536 /* end confdefs.h. */
8538 /* Override any GCC internal prototype to avoid an error.
8539 Use char because int might match the return type of a GCC
8540 builtin and then its argument prototype would still apply. */
8544 char gpiv_piv_interrogate_ia ();
8548 return gpiv_piv_interrogate_ia ();
8553 rm -f conftest.$ac_objext conftest$ac_exeext
8554 if { (ac_try="$ac_link"
8556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8557 *) ac_try_echo
=$ac_try;;
8559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8560 (eval "$ac_link") 2>conftest.er1
8562 grep -v '^ *+' conftest.er1
>conftest.err
8564 cat conftest.err
>&5
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 (exit $ac_status); } && {
8567 test -z "$ac_c_werror_flag" ||
8568 test ! -s conftest.err
8569 } && test -s conftest
$ac_exeext &&
8570 $as_test_x conftest
$ac_exeext; then
8571 ac_cv_lib_gpiv_gpiv_piv_interrogate_ia
=yes
8573 echo "$as_me: failed program was:" >&5
8574 sed 's/^/| /' conftest.
$ac_ext >&5
8576 ac_cv_lib_gpiv_gpiv_piv_interrogate_ia
=no
8579 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8580 conftest
$ac_exeext conftest.
$ac_ext
8581 LIBS
=$ac_check_lib_save_LIBS
8583 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_piv_interrogate_ia" >&5
8584 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_piv_interrogate_ia" >&6; }
8585 if test $ac_cv_lib_gpiv_gpiv_piv_interrogate_ia = yes; then
8586 cat >>confdefs.h
<<_ACEOF
8587 #define HAVE_LIBGPIV 1
8593 { { echo "$as_me:$LINENO: error: libgpiv has not been installed" >&5
8594 echo "$as_me: error: libgpiv has not been installed" >&2;}
8595 { (exit 1); exit 1; }; }
8599 { echo "$as_me:$LINENO: checking for gpiv_scan_resourcefiles in -lgpiv" >&5
8600 echo $ECHO_N "checking for gpiv_scan_resourcefiles in -lgpiv... $ECHO_C" >&6; }
8601 if test "${ac_cv_lib_gpiv_gpiv_scan_resourcefiles+set}" = set; then
8602 echo $ECHO_N "(cached) $ECHO_C" >&6
8604 ac_check_lib_save_LIBS
=$LIBS
8606 cat >conftest.
$ac_ext <<_ACEOF
8609 cat confdefs.h
>>conftest.
$ac_ext
8610 cat >>conftest.
$ac_ext <<_ACEOF
8611 /* end confdefs.h. */
8613 /* Override any GCC internal prototype to avoid an error.
8614 Use char because int might match the return type of a GCC
8615 builtin and then its argument prototype would still apply. */
8619 char gpiv_scan_resourcefiles ();
8623 return gpiv_scan_resourcefiles ();
8628 rm -f conftest.
$ac_objext conftest
$ac_exeext
8629 if { (ac_try
="$ac_link"
8631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8632 *) ac_try_echo=$ac_try;;
8634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8635 (eval "$ac_link") 2>conftest.er1
8637 grep -v '^ *+' conftest.er1 >conftest.err
8639 cat conftest.err >&5
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 (exit $ac_status); } && {
8642 test -z "$ac_c_werror_flag" ||
8643 test ! -s conftest.err
8644 } && test -s conftest$ac_exeext &&
8645 $as_test_x conftest$ac_exeext; then
8646 ac_cv_lib_gpiv_gpiv_scan_resourcefiles=yes
8648 echo "$as_me: failed program was:" >&5
8649 sed 's/^/| /' conftest.$ac_ext >&5
8651 ac_cv_lib_gpiv_gpiv_scan_resourcefiles=no
8654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8655 conftest$ac_exeext conftest.$ac_ext
8656 LIBS=$ac_check_lib_save_LIBS
8658 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_scan_resourcefiles" >&5
8659 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_scan_resourcefiles" >&6; }
8660 if test $ac_cv_lib_gpiv_gpiv_scan_resourcefiles = yes; then
8661 cat >>confdefs.h <<_ACEOF
8662 #define HAVE_LIBGPIV 1
8668 { { echo "$as_me:$LINENO: error: libgpiv has not been installed" >&5
8669 echo "$as_me: error: libgpiv has not been installed" >&2;}
8670 { (exit 1); exit 1; }; }
8679 for ac_header in stdlib.h string.h unistd.h fftw3.h gpiv.h
8681 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8682 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8683 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8685 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8686 echo $ECHO_N "(cached) $ECHO_C" >&6
8688 ac_res=`eval echo '${'$as_ac_Header'}'`
8689 { echo "$as_me:$LINENO: result: $ac_res" >&5
8690 echo "${ECHO_T}$ac_res" >&6; }
8692 # Is the header compilable?
8693 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8694 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8695 cat >conftest.$ac_ext <<_ACEOF
8698 cat confdefs.h >>conftest.$ac_ext
8699 cat >>conftest.$ac_ext <<_ACEOF
8700 /* end confdefs.h. */
8701 $ac_includes_default
8702 #include <$ac_header>
8704 rm -f conftest.$ac_objext
8705 if { (ac_try="$ac_compile"
8707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8708 *) ac_try_echo
=$ac_try;;
8710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8711 (eval "$ac_compile") 2>conftest.er1
8713 grep -v '^ *+' conftest.er1
>conftest.err
8715 cat conftest.err
>&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); } && {
8718 test -z "$ac_c_werror_flag" ||
8719 test ! -s conftest.err
8720 } && test -s conftest.
$ac_objext; then
8721 ac_header_compiler
=yes
8723 echo "$as_me: failed program was:" >&5
8724 sed 's/^/| /' conftest.
$ac_ext >&5
8726 ac_header_compiler
=no
8729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8730 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8731 echo "${ECHO_T}$ac_header_compiler" >&6; }
8733 # Is the header present?
8734 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8735 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8736 cat >conftest.
$ac_ext <<_ACEOF
8739 cat confdefs.h
>>conftest.
$ac_ext
8740 cat >>conftest.
$ac_ext <<_ACEOF
8741 /* end confdefs.h. */
8742 #include <$ac_header>
8744 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8746 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8747 *) ac_try_echo=$ac_try;;
8749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8750 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8752 grep -v '^ *+' conftest.er1 >conftest.err
8754 cat conftest.err >&5
8755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8756 (exit $ac_status); } >/dev/null && {
8757 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8758 test ! -s conftest.err
8760 ac_header_preproc=yes
8762 echo "$as_me: failed program was:" >&5
8763 sed 's/^/| /' conftest.$ac_ext >&5
8765 ac_header_preproc=no
8768 rm -f conftest.err conftest.$ac_ext
8769 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8770 echo "${ECHO_T}$ac_header_preproc" >&6; }
8772 # So? What about this header?
8773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8775 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8776 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8778 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8779 ac_header_preproc=yes
8782 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8783 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8784 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8785 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8786 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8787 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8788 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8789 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8790 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8791 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8792 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8793 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8795 ## ------------------------------------------------------------------- ##
8796 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
8797 ## ------------------------------------------------------------------- ##
8799 ) | sed "s/^/$as_me: WARNING: /" >&2
8802 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8805 echo $ECHO_N "(cached) $ECHO_C" >&6
8807 eval "$as_ac_Header=\$ac_header_preproc"
8809 ac_res=`eval echo '${'$as_ac_Header'}'`
8810 { echo "$as_me:$LINENO: result: $ac_res" >&5
8811 echo "${ECHO_T}$ac_res" >&6; }
8814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8815 cat >>confdefs.h <<_ACEOF
8816 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8824 # Check whether --enable-cam was given.
8825 if test "${enable_cam+set}" = set; then
8826 enableval=$enable_cam; ENABLE_CAM="-DENABLE_CAM"
8833 # Check whether --enable-trig was given.
8834 if test "${enable_trig+set}" = set; then
8835 enableval=$enable_trig; ENABLE_TRIG="-DENABLE_TRIG"
8842 if test $ENABLE_CAM || test $ENABLE_TRIG; then
8843 ENABLE_DAC="-DENABLE_DAC"
8847 if test "${ENABLE_CAM}" == '-DENABLE_CAM'; then
8849 { echo "$as_me:$LINENO: checking for gpiv_cam_get_camvar in -lgpiv" >&5
8850 echo $ECHO_N "checking for gpiv_cam_get_camvar in -lgpiv... $ECHO_C" >&6; }
8851 if test "${ac_cv_lib_gpiv_gpiv_cam_get_camvar+set}" = set; then
8852 echo $ECHO_N "(cached) $ECHO_C" >&6
8854 ac_check_lib_save_LIBS=$LIBS
8856 cat >conftest.$ac_ext <<_ACEOF
8859 cat confdefs.h >>conftest.$ac_ext
8860 cat >>conftest.$ac_ext <<_ACEOF
8861 /* end confdefs.h. */
8863 /* Override any GCC internal prototype to avoid an error.
8864 Use char because int might match the return type of a GCC
8865 builtin and then its argument prototype would still apply. */
8869 char gpiv_cam_get_camvar ();
8873 return gpiv_cam_get_camvar ();
8878 rm -f conftest.$ac_objext conftest$ac_exeext
8879 if { (ac_try="$ac_link"
8881 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8882 *) ac_try_echo
=$ac_try;;
8884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8885 (eval "$ac_link") 2>conftest.er1
8887 grep -v '^ *+' conftest.er1
>conftest.err
8889 cat conftest.err
>&5
8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891 (exit $ac_status); } && {
8892 test -z "$ac_c_werror_flag" ||
8893 test ! -s conftest.err
8894 } && test -s conftest
$ac_exeext &&
8895 $as_test_x conftest
$ac_exeext; then
8896 ac_cv_lib_gpiv_gpiv_cam_get_camvar
=yes
8898 echo "$as_me: failed program was:" >&5
8899 sed 's/^/| /' conftest.
$ac_ext >&5
8901 ac_cv_lib_gpiv_gpiv_cam_get_camvar
=no
8904 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8905 conftest
$ac_exeext conftest.
$ac_ext
8906 LIBS
=$ac_check_lib_save_LIBS
8908 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&5
8909 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&6; }
8910 if test $ac_cv_lib_gpiv_gpiv_cam_get_camvar = yes; then
8911 cat >>confdefs.h
<<_ACEOF
8912 #define HAVE_LIBGPIV 1
8918 { { echo "$as_me:$LINENO: error: \"(IEEE-1394) camera is not working in libgpiv. \
8919 Enable (IEEE-1394) camera in libgpiv or disable it here by leaving out --enable-cam during ./configure\"" >&5
8920 echo "$as_me: error: \"(IEEE-1394) camera is not working in libgpiv. \
8921 Enable (IEEE-1394) camera in libgpiv or disable it here by leaving out --enable-cam during ./configure\"" >&2;}
8922 { (exit 1); exit 1; }; }
8927 { echo "$as_me:$LINENO: checking for raw1394_destroy_handle in -lraw1394" >&5
8928 echo $ECHO_N "checking for raw1394_destroy_handle in -lraw1394... $ECHO_C" >&6; }
8929 if test "${ac_cv_lib_raw1394_raw1394_destroy_handle+set}" = set; then
8930 echo $ECHO_N "(cached) $ECHO_C" >&6
8932 ac_check_lib_save_LIBS
=$LIBS
8933 LIBS
="-lraw1394 $LIBS"
8934 cat >conftest.
$ac_ext <<_ACEOF
8937 cat confdefs.h
>>conftest.
$ac_ext
8938 cat >>conftest.
$ac_ext <<_ACEOF
8939 /* end confdefs.h. */
8941 /* Override any GCC internal prototype to avoid an error.
8942 Use char because int might match the return type of a GCC
8943 builtin and then its argument prototype would still apply. */
8947 char raw1394_destroy_handle ();
8951 return raw1394_destroy_handle ();
8956 rm -f conftest.
$ac_objext conftest
$ac_exeext
8957 if { (ac_try
="$ac_link"
8959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8960 *) ac_try_echo=$ac_try;;
8962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8963 (eval "$ac_link") 2>conftest.er1
8965 grep -v '^ *+' conftest.er1 >conftest.err
8967 cat conftest.err >&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); } && {
8970 test -z "$ac_c_werror_flag" ||
8971 test ! -s conftest.err
8972 } && test -s conftest$ac_exeext &&
8973 $as_test_x conftest$ac_exeext; then
8974 ac_cv_lib_raw1394_raw1394_destroy_handle=yes
8976 echo "$as_me: failed program was:" >&5
8977 sed 's/^/| /' conftest.$ac_ext >&5
8979 ac_cv_lib_raw1394_raw1394_destroy_handle=no
8982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8983 conftest$ac_exeext conftest.$ac_ext
8984 LIBS=$ac_check_lib_save_LIBS
8986 { echo "$as_me:$LINENO: result: $ac_cv_lib_raw1394_raw1394_destroy_handle" >&5
8987 echo "${ECHO_T}$ac_cv_lib_raw1394_raw1394_destroy_handle" >&6; }
8988 if test $ac_cv_lib_raw1394_raw1394_destroy_handle = yes; then
8989 cat >>confdefs.h <<_ACEOF
8990 #define HAVE_LIBRAW1394 1
8993 LIBS="-lraw1394 $LIBS"
8996 { { echo "$as_me:$LINENO: error: \"libraw1394 not installed\"" >&5
8997 echo "$as_me: error: \"libraw1394 not installed\"" >&2;}
8998 { (exit 1); exit 1; }; }
9003 { echo "$as_me:$LINENO: checking for dc1394_create_handle in -ldc1394_control" >&5
9004 echo $ECHO_N "checking for dc1394_create_handle in -ldc1394_control... $ECHO_C" >&6; }
9005 if test "${ac_cv_lib_dc1394_control_dc1394_create_handle+set}" = set; then
9006 echo $ECHO_N "(cached) $ECHO_C" >&6
9008 ac_check_lib_save_LIBS=$LIBS
9009 LIBS="-ldc1394_control $LIBS"
9010 cat >conftest.$ac_ext <<_ACEOF
9013 cat confdefs.h >>conftest.$ac_ext
9014 cat >>conftest.$ac_ext <<_ACEOF
9015 /* end confdefs.h. */
9017 /* Override any GCC internal prototype to avoid an error.
9018 Use char because int might match the return type of a GCC
9019 builtin and then its argument prototype would still apply. */
9023 char dc1394_create_handle ();
9027 return dc1394_create_handle ();
9032 rm -f conftest.$ac_objext conftest$ac_exeext
9033 if { (ac_try="$ac_link"
9035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9036 *) ac_try_echo
=$ac_try;;
9038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9039 (eval "$ac_link") 2>conftest.er1
9041 grep -v '^ *+' conftest.er1
>conftest.err
9043 cat conftest.err
>&5
9044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9045 (exit $ac_status); } && {
9046 test -z "$ac_c_werror_flag" ||
9047 test ! -s conftest.err
9048 } && test -s conftest
$ac_exeext &&
9049 $as_test_x conftest
$ac_exeext; then
9050 ac_cv_lib_dc1394_control_dc1394_create_handle
=yes
9052 echo "$as_me: failed program was:" >&5
9053 sed 's/^/| /' conftest.
$ac_ext >&5
9055 ac_cv_lib_dc1394_control_dc1394_create_handle
=no
9058 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9059 conftest
$ac_exeext conftest.
$ac_ext
9060 LIBS
=$ac_check_lib_save_LIBS
9062 { echo "$as_me:$LINENO: result: $ac_cv_lib_dc1394_control_dc1394_create_handle" >&5
9063 echo "${ECHO_T}$ac_cv_lib_dc1394_control_dc1394_create_handle" >&6; }
9064 if test $ac_cv_lib_dc1394_control_dc1394_create_handle = yes; then
9065 cat >>confdefs.h
<<_ACEOF
9066 #define HAVE_LIBDC1394_CONTROL 1
9069 LIBS
="-ldc1394_control $LIBS"
9072 { { echo "$as_me:$LINENO: error: \"libdc1394_control not installed\"" >&5
9073 echo "$as_me: error: \"libdc1394_control not installed\"" >&2;}
9074 { (exit 1); exit 1; }; }
9078 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
9079 { echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
9080 echo $ECHO_N "checking for libdc1394/dc1394_control.h... $ECHO_C" >&6; }
9081 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
9082 echo $ECHO_N "(cached) $ECHO_C" >&6
9084 { echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
9085 echo "${ECHO_T}$ac_cv_header_libdc1394_dc1394_control_h" >&6; }
9087 # Is the header compilable?
9088 { echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h usability" >&5
9089 echo $ECHO_N "checking libdc1394/dc1394_control.h usability... $ECHO_C" >&6; }
9090 cat >conftest.
$ac_ext <<_ACEOF
9093 cat confdefs.h
>>conftest.
$ac_ext
9094 cat >>conftest.
$ac_ext <<_ACEOF
9095 /* end confdefs.h. */
9096 $ac_includes_default
9097 #include <libdc1394/dc1394_control.h>
9099 rm -f conftest.
$ac_objext
9100 if { (ac_try
="$ac_compile"
9102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9103 *) ac_try_echo=$ac_try;;
9105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9106 (eval "$ac_compile") 2>conftest.er1
9108 grep -v '^ *+' conftest.er1 >conftest.err
9110 cat conftest.err >&5
9111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 (exit $ac_status); } && {
9113 test -z "$ac_c_werror_flag" ||
9114 test ! -s conftest.err
9115 } && test -s conftest.$ac_objext; then
9116 ac_header_compiler=yes
9118 echo "$as_me: failed program was:" >&5
9119 sed 's/^/| /' conftest.$ac_ext >&5
9121 ac_header_compiler=no
9124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9125 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9126 echo "${ECHO_T}$ac_header_compiler" >&6; }
9128 # Is the header present?
9129 { echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h presence" >&5
9130 echo $ECHO_N "checking libdc1394/dc1394_control.h presence... $ECHO_C" >&6; }
9131 cat >conftest.$ac_ext <<_ACEOF
9134 cat confdefs.h >>conftest.$ac_ext
9135 cat >>conftest.$ac_ext <<_ACEOF
9136 /* end confdefs.h. */
9137 #include <libdc1394/dc1394_control.h>
9139 if { (ac_try="$ac_cpp conftest.$ac_ext"
9141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9142 *) ac_try_echo
=$ac_try;;
9144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9145 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9147 grep -v '^ *+' conftest.er1
>conftest.err
9149 cat conftest.err
>&5
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 (exit $ac_status); } >/dev
/null
&& {
9152 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9153 test ! -s conftest.err
9155 ac_header_preproc
=yes
9157 echo "$as_me: failed program was:" >&5
9158 sed 's/^/| /' conftest.
$ac_ext >&5
9160 ac_header_preproc
=no
9163 rm -f conftest.err conftest.
$ac_ext
9164 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9165 echo "${ECHO_T}$ac_header_preproc" >&6; }
9167 # So? What about this header?
9168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9170 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&5
9171 echo "$as_me: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9172 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&5
9173 echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&2;}
9174 ac_header_preproc
=yes
9177 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&5
9178 echo "$as_me: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&2;}
9179 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&5
9180 echo "$as_me: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&2;}
9181 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&5
9182 echo "$as_me: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&2;}
9183 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&5
9184 echo "$as_me: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&2;}
9185 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&5
9186 echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&2;}
9187 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&5
9188 echo "$as_me: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&2;}
9190 ## ------------------------------------------------------------------- ##
9191 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
9192 ## ------------------------------------------------------------------- ##
9194 ) |
sed "s/^/$as_me: WARNING: /" >&2
9197 { echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
9198 echo $ECHO_N "checking for libdc1394/dc1394_control.h... $ECHO_C" >&6; }
9199 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
9200 echo $ECHO_N "(cached) $ECHO_C" >&6
9202 ac_cv_header_libdc1394_dc1394_control_h
=$ac_header_preproc
9204 { echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
9205 echo "${ECHO_T}$ac_cv_header_libdc1394_dc1394_control_h" >&6; }
9208 if test $ac_cv_header_libdc1394_dc1394_control_h = yes; then
9211 { { echo "$as_me:$LINENO: error: \"missing dc1394_control.h\"" >&5
9212 echo "$as_me: error: \"missing dc1394_control.h\"" >&2;}
9213 { (exit 1); exit 1; }; }
9218 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9219 { echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
9220 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6; }
9221 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9222 echo $ECHO_N "(cached) $ECHO_C" >&6
9224 { echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
9225 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6; }
9227 # Is the header compilable?
9228 { echo "$as_me:$LINENO: checking libraw1394/raw1394.h usability" >&5
9229 echo $ECHO_N "checking libraw1394/raw1394.h usability... $ECHO_C" >&6; }
9230 cat >conftest.
$ac_ext <<_ACEOF
9233 cat confdefs.h
>>conftest.
$ac_ext
9234 cat >>conftest.
$ac_ext <<_ACEOF
9235 /* end confdefs.h. */
9236 $ac_includes_default
9237 #include <libraw1394/raw1394.h>
9239 rm -f conftest.
$ac_objext
9240 if { (ac_try
="$ac_compile"
9242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9243 *) ac_try_echo=$ac_try;;
9245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9246 (eval "$ac_compile") 2>conftest.er1
9248 grep -v '^ *+' conftest.er1 >conftest.err
9250 cat conftest.err >&5
9251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9252 (exit $ac_status); } && {
9253 test -z "$ac_c_werror_flag" ||
9254 test ! -s conftest.err
9255 } && test -s conftest.$ac_objext; then
9256 ac_header_compiler=yes
9258 echo "$as_me: failed program was:" >&5
9259 sed 's/^/| /' conftest.$ac_ext >&5
9261 ac_header_compiler=no
9264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9265 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9266 echo "${ECHO_T}$ac_header_compiler" >&6; }
9268 # Is the header present?
9269 { echo "$as_me:$LINENO: checking libraw1394/raw1394.h presence" >&5
9270 echo $ECHO_N "checking libraw1394/raw1394.h presence... $ECHO_C" >&6; }
9271 cat >conftest.$ac_ext <<_ACEOF
9274 cat confdefs.h >>conftest.$ac_ext
9275 cat >>conftest.$ac_ext <<_ACEOF
9276 /* end confdefs.h. */
9277 #include <libraw1394/raw1394.h>
9279 if { (ac_try="$ac_cpp conftest.$ac_ext"
9281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9282 *) ac_try_echo
=$ac_try;;
9284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9285 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9287 grep -v '^ *+' conftest.er1
>conftest.err
9289 cat conftest.err
>&5
9290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291 (exit $ac_status); } >/dev
/null
&& {
9292 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9293 test ! -s conftest.err
9295 ac_header_preproc
=yes
9297 echo "$as_me: failed program was:" >&5
9298 sed 's/^/| /' conftest.
$ac_ext >&5
9300 ac_header_preproc
=no
9303 rm -f conftest.err conftest.
$ac_ext
9304 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9305 echo "${ECHO_T}$ac_header_preproc" >&6; }
9307 # So? What about this header?
9308 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9310 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&5
9311 echo "$as_me: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9312 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&5
9313 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&2;}
9314 ac_header_preproc
=yes
9317 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&5
9318 echo "$as_me: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&2;}
9319 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&5
9320 echo "$as_me: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&2;}
9321 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&5
9322 echo "$as_me: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&2;}
9323 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&5
9324 echo "$as_me: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&2;}
9325 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&5
9326 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&2;}
9327 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&5
9328 echo "$as_me: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&2;}
9330 ## ------------------------------------------------------------------- ##
9331 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
9332 ## ------------------------------------------------------------------- ##
9334 ) |
sed "s/^/$as_me: WARNING: /" >&2
9337 { echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
9338 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6; }
9339 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9340 echo $ECHO_N "(cached) $ECHO_C" >&6
9342 ac_cv_header_libraw1394_raw1394_h
=$ac_header_preproc
9344 { echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
9345 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6; }
9348 if test $ac_cv_header_libraw1394_raw1394_h = yes; then
9351 { { echo "$as_me:$LINENO: error: \"missing raw1394.h\"" >&5
9352 echo "$as_me: error: \"missing raw1394.h\"" >&2;}
9353 { (exit 1); exit 1; }; }
9360 if test "${ENABLE_TRIG}" == '-DENABLE_TRIG'; then
9362 { echo "$as_me:$LINENO: checking for gpiv_trig_openrtfs in -lgpiv" >&5
9363 echo $ECHO_N "checking for gpiv_trig_openrtfs in -lgpiv... $ECHO_C" >&6; }
9364 if test "${ac_cv_lib_gpiv_gpiv_trig_openrtfs+set}" = set; then
9365 echo $ECHO_N "(cached) $ECHO_C" >&6
9367 ac_check_lib_save_LIBS
=$LIBS
9369 cat >conftest.
$ac_ext <<_ACEOF
9372 cat confdefs.h
>>conftest.
$ac_ext
9373 cat >>conftest.
$ac_ext <<_ACEOF
9374 /* end confdefs.h. */
9376 /* Override any GCC internal prototype to avoid an error.
9377 Use char because int might match the return type of a GCC
9378 builtin and then its argument prototype would still apply. */
9382 char gpiv_trig_openrtfs ();
9386 return gpiv_trig_openrtfs ();
9391 rm -f conftest.
$ac_objext conftest
$ac_exeext
9392 if { (ac_try
="$ac_link"
9394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9395 *) ac_try_echo=$ac_try;;
9397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9398 (eval "$ac_link") 2>conftest.er1
9400 grep -v '^ *+' conftest.er1 >conftest.err
9402 cat conftest.err >&5
9403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9404 (exit $ac_status); } && {
9405 test -z "$ac_c_werror_flag" ||
9406 test ! -s conftest.err
9407 } && test -s conftest$ac_exeext &&
9408 $as_test_x conftest$ac_exeext; then
9409 ac_cv_lib_gpiv_gpiv_trig_openrtfs=yes
9411 echo "$as_me: failed program was:" >&5
9412 sed 's/^/| /' conftest.$ac_ext >&5
9414 ac_cv_lib_gpiv_gpiv_trig_openrtfs=no
9417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9418 conftest$ac_exeext conftest.$ac_ext
9419 LIBS=$ac_check_lib_save_LIBS
9421 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&5
9422 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&6; }
9423 if test $ac_cv_lib_gpiv_gpiv_trig_openrtfs = yes; then
9424 cat >>confdefs.h <<_ACEOF
9425 #define HAVE_LIBGPIV 1
9431 { { echo "$as_me:$LINENO: error: \"(Realtime) triggering is not working in libgpiv. \
9432 Enable (realtime) triggering in libgpiv or disable it here by leaving out --enable-trig during ./configure\"" >&5
9433 echo "$as_me: error: \"(Realtime) triggering is not working in libgpiv. \
9434 Enable (realtime) triggering in libgpiv or disable it here by leaving out --enable-trig during ./configure\"" >&2;}
9435 { (exit 1); exit 1; }; }
9441 # Extract the first word of "gpiv_control", so it can be a program name with args.
9442 set dummy gpiv_control; ac_word=$2
9443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9445 if test "${ac_cv_prog_CONTROL+set}" = set; then
9446 echo $ECHO_N "(cached) $ECHO_C" >&6
9448 if test -n "$CONTROL"; then
9449 ac_cv_prog_CONTROL="$CONTROL" # Let the user override the test.
9451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9455 test -z "$as_dir" && as_dir=.
9456 for ac_exec_ext in '' $ac_executable_extensions; do
9457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9458 ac_cv_prog_CONTROL="true"
9459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9466 test -z "$ac_cv_prog_CONTROL" && ac_cv_prog_CONTROL="false"
9469 CONTROL=$ac_cv_prog_CONTROL
9470 if test -n "$CONTROL"; then
9471 { echo "$as_me:$LINENO: result: $CONTROL" >&5
9472 echo "${ECHO_T}$CONTROL" >&6; }
9474 { echo "$as_me:$LINENO: result: no" >&5
9475 echo "${ECHO_T}no" >&6; }
9483 HAVE_CONTROL_FALSE='#'
9485 HAVE_CONTROL_TRUE='#'
9490 # Check whether --enable-rta was given.
9491 if test "${enable_rta+set}" = set; then
9492 enableval=$enable_rta; RTA_TOPDIR="$enableval"
9494 RTA_TOPDIR="/usr/lib/realtime"
9501 # Check whether --enable-k was given.
9502 if test "${enable_k+set}" = set; then
9503 enableval=$enable_k; K_TOPDIR="$enableval"
9505 K_TOPDIR="/usr/src/kernel-headers-2.4.27-adeos"
9512 # Check whether --enable-img-width was given.
9513 if test "${enable_img_width+set}" = set; then
9514 enableval=$enable_img_width; OVERRIDE_IMAGE_WIDTH_MAX="-DIMAGE_WIDTH_MAX=$enableval"
9522 # Check whether --enable-img-height was given.
9523 if test "${enable_img_height+set}" = set; then
9524 enableval=$enable_img_height; OVERRIDE_IMAGE_HEIGHT_MAX="-DIMAGE_HEIGHT_MAX=$enableval"
9531 # Check whether --enable-canvas_aa was given.
9532 if test "${enable_canvas_aa+set}" = set; then
9533 enableval=$enable_canvas_aa; CANVAS_AA="-DCANVAS_AA"
9540 # Check whether --enable-debug was given.
9541 if test "${enable_debug+set}" = set; then
9542 enableval=$enable_debug; DEBUG="-DDEBUG"
9550 # Check whether --enable-mpi was given.
9551 if test "${enable_mpi+set}" = set; then
9552 enableval=$enable_mpi; ENABLE_MPI="-DENABLE_MPI"
9558 if test "${ENABLE_MPI}" == '-DENABLE_MPI'; then
9560 # Extract the first word of "mpirun", so it can be a program name with args.
9561 set dummy mpirun; ac_word=$2
9562 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9564 if test "${ac_cv_prog_MPIRUN+set}" = set; then
9565 echo $ECHO_N "(cached) $ECHO_C" >&6
9567 if test -n "$MPIRUN"; then
9568 ac_cv_prog_MPIRUN="$MPIRUN" # Let the user override the test.
9570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9574 test -z "$as_dir" && as_dir=.
9575 for ac_exec_ext in '' $ac_executable_extensions; do
9576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9577 ac_cv_prog_MPIRUN="true"
9578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9585 test -z "$ac_cv_prog_MPIRUN" && ac_cv_prog_MPIRUN="false"
9588 MPIRUN=$ac_cv_prog_MPIRUN
9589 if test -n "$MPIRUN"; then
9590 { echo "$as_me:$LINENO: result: $MPIRUN" >&5
9591 echo "${ECHO_T}$MPIRUN" >&6; }
9593 { echo "$as_me:$LINENO: result: no" >&5
9594 echo "${ECHO_T}no" >&6; }
9598 if test x$MPIRUN = xfalse ; then
9599 { { echo "$as_me:$LINENO: error: \"missing mpirun \
9600 Needed by gpiv when --enable-mpi\"" >&5
9601 echo "$as_me: error: \"missing mpirun \
9602 Needed by gpiv when --enable-mpi\"" >&2;}
9603 { (exit 1); exit 1; }; }
9606 # Extract the first word of "gpiv_rr", so it can be a program name with args.
9607 set dummy gpiv_rr; ac_word=$2
9608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9610 if test "${ac_cv_prog_RR+set}" = set; then
9611 echo $ECHO_N "(cached) $ECHO_C" >&6
9613 if test -n "$RR"; then
9614 ac_cv_prog_RR="$RR" # Let the user override the test.
9616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9620 test -z "$as_dir" && as_dir=.
9621 for ac_exec_ext in '' $ac_executable_extensions; do
9622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9623 ac_cv_prog_RR="true"
9624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9631 test -z "$ac_cv_prog_RR" && ac_cv_prog_RR="false"
9635 if test -n "$RR"; then
9636 { echo "$as_me:$LINENO: result: $RR" >&5
9637 echo "${ECHO_T}$RR" >&6; }
9639 { echo "$as_me:$LINENO: result: no" >&5
9640 echo "${ECHO_T}no" >&6; }
9644 if test x$RR = xfalse ; then
9645 { { echo "$as_me:$LINENO: error: \"missing mpi-enabled gpiv_rr from gpivtools. \
9646 Needed by gpiv when --enable-mpi\"" >&5
9647 echo "$as_me: error: \"missing mpi-enabled gpiv_rr from gpivtools. \
9648 Needed by gpiv when --enable-mpi\"" >&2;}
9649 { (exit 1); exit 1; }; }
9653 { echo "$as_me:$LINENO: checking for gpiv_piv_mpi_bcast_pivpar in -lgpiv" >&5
9654 echo $ECHO_N "checking for gpiv_piv_mpi_bcast_pivpar in -lgpiv... $ECHO_C" >&6; }
9655 if test "${ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar+set}" = set; then
9656 echo $ECHO_N "(cached) $ECHO_C" >&6
9658 ac_check_lib_save_LIBS=$LIBS
9660 cat >conftest.$ac_ext <<_ACEOF
9663 cat confdefs.h >>conftest.$ac_ext
9664 cat >>conftest.$ac_ext <<_ACEOF
9665 /* end confdefs.h. */
9667 /* Override any GCC internal prototype to avoid an error.
9668 Use char because int might match the return type of a GCC
9669 builtin and then its argument prototype would still apply. */
9673 char gpiv_piv_mpi_bcast_pivpar ();
9677 return gpiv_piv_mpi_bcast_pivpar ();
9682 rm -f conftest.$ac_objext conftest$ac_exeext
9683 if { (ac_try="$ac_link"
9685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9686 *) ac_try_echo
=$ac_try;;
9688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9689 (eval "$ac_link") 2>conftest.er1
9691 grep -v '^ *+' conftest.er1
>conftest.err
9693 cat conftest.err
>&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); } && {
9696 test -z "$ac_c_werror_flag" ||
9697 test ! -s conftest.err
9698 } && test -s conftest
$ac_exeext &&
9699 $as_test_x conftest
$ac_exeext; then
9700 ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar
=yes
9702 echo "$as_me: failed program was:" >&5
9703 sed 's/^/| /' conftest.
$ac_ext >&5
9705 ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar
=no
9708 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9709 conftest
$ac_exeext conftest.
$ac_ext
9710 LIBS
=$ac_check_lib_save_LIBS
9712 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar" >&5
9713 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar" >&6; }
9714 if test $ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar = yes; then
9715 cat >>confdefs.h
<<_ACEOF
9716 #define HAVE_LIBGPIV 1
9722 { { echo "$as_me:$LINENO: error: \"gpiv_piv_mpi_bcast_pivpar is not working in libgpiv. \
9723 Enable MPI in libgpiv or disable it here by leaving out --enable-mpi during ./configure\"" >&5
9724 echo "$as_me: error: \"gpiv_piv_mpi_bcast_pivpar is not working in libgpiv. \
9725 Enable MPI in libgpiv or disable it here by leaving out --enable-mpi during ./configure\"" >&2;}
9726 { (exit 1); exit 1; }; }
9736 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"
9738 cat >confcache
<<\_ACEOF
9739 # This file is a shell script that caches the results of configure
9740 # tests run on this system so they can be shared between configure
9741 # scripts and configure runs, see configure's option --config-cache.
9742 # It is not useful on other systems. If it contains results you don't
9743 # want to keep, you may remove or edit it.
9745 # config.status only pays attention to the cache file if you give it
9746 # the --recheck option to rerun configure.
9748 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9749 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9754 # The following way of writing the cache mishandles newlines in values,
9755 # but we know of no workaround that is simple, portable, and efficient.
9756 # So, we kill variables containing newlines.
9757 # Ultrix sh set writes to stderr and can't be redirected directly,
9758 # and sets the high bit in the cache file unless we assign to the vars.
9760 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9761 eval ac_val
=\$
$ac_var
9765 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9766 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9769 _ | IFS | as_nl
) ;; #(
9770 *) $as_unset $ac_var ;;
9776 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9777 *${as_nl}ac_space
=\
*)
9778 # `set' does not quote correctly, so add quotes (double-quote
9779 # substitution turns \\\\ into \\, and sed turns \\ into \).
9782 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9785 # `set' quotes correctly as required by POSIX, so do not add quotes.
9786 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9795 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9797 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9799 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9800 if test -w "$cache_file"; then
9801 test "x$cache_file" != "x/dev/null" &&
9802 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9803 echo "$as_me: updating cache $cache_file" >&6;}
9804 cat confcache
>$cache_file
9806 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9807 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9812 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9813 # Let make expand exec_prefix.
9814 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9816 # Transform confdefs.h into DEFS.
9817 # Protect against shell expansion while executing Makefile rules.
9818 # Protect against Makefile macro expansion.
9820 # If the first sed substitution is executed (which looks for macros that
9821 # take arguments), then branch to the quote section. Otherwise,
9822 # look for a macro that doesn't take arguments.
9826 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
9828 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
9832 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
9845 DEFS
=`sed -n "$ac_script" confdefs.h`
9850 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9851 # 1. Remove the extension, and $U if already installed.
9852 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
9853 ac_i
=`echo "$ac_i" | sed "$ac_script"`
9854 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9855 # will be set to the directory where LIBOBJS objects are built.
9856 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9857 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9861 LTLIBOBJS
=$ac_ltlibobjs
9864 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
9865 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
9866 Usually this means the macro was only invoked conditionally." >&5
9867 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
9868 Usually this means the macro was only invoked conditionally." >&2;}
9869 { (exit 1); exit 1; }; }
9871 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9872 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9873 Usually this means the macro was only invoked conditionally." >&5
9874 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9875 Usually this means the macro was only invoked conditionally." >&2;}
9876 { (exit 1); exit 1; }; }
9878 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9879 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9880 Usually this means the macro was only invoked conditionally." >&5
9881 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9882 Usually this means the macro was only invoked conditionally." >&2;}
9883 { (exit 1); exit 1; }; }
9885 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9886 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9887 Usually this means the macro was only invoked conditionally." >&5
9888 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9889 Usually this means the macro was only invoked conditionally." >&2;}
9890 { (exit 1); exit 1; }; }
9892 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9893 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9894 Usually this means the macro was only invoked conditionally." >&5
9895 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9896 Usually this means the macro was only invoked conditionally." >&2;}
9897 { (exit 1); exit 1; }; }
9900 ac_config_commands
="$ac_config_commands po/stamp-it"
9903 if test -z "${HAVE_CONTROL_TRUE}" && test -z "${HAVE_CONTROL_FALSE}"; then
9904 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CONTROL\" was never defined.
9905 Usually this means the macro was only invoked conditionally." >&5
9906 echo "$as_me: error: conditional \"HAVE_CONTROL\" was never defined.
9907 Usually this means the macro was only invoked conditionally." >&2;}
9908 { (exit 1); exit 1; }; }
9911 : ${CONFIG_STATUS=./config.status}
9912 ac_clean_files_save
=$ac_clean_files
9913 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9914 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9915 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9916 cat >$CONFIG_STATUS <<_ACEOF
9918 # Generated by $as_me.
9919 # Run this file to recreate the current configuration.
9920 # Compiler output produced by configure, useful for debugging
9921 # configure, is in config.log if it exists.
9926 SHELL=\${CONFIG_SHELL-$SHELL}
9929 cat >>$CONFIG_STATUS <<\_ACEOF
9930 ## --------------------- ##
9931 ## M4sh Initialization. ##
9932 ## --------------------- ##
9934 # Be more Bourne compatible
9935 DUALCASE
=1; export DUALCASE
# for MKS sh
9936 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9939 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9940 # is contrary to our usage. Disable this feature.
9941 alias -g '${1+"$@"}'='"$@"'
9942 setopt NO_GLOB_SUBST
9944 case `(set -o) 2>/dev/null` in
9945 *posix
*) set -o posix
;;
9954 # Avoid depending upon Character Ranges.
9955 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9956 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9957 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9958 as_cr_digits
='0123456789'
9959 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9961 # The user is always right.
9962 if test "${PATH_SEPARATOR+set}" != set; then
9963 echo "#! /bin/sh" >conf$$.sh
9964 echo "exit 0" >>conf$$.sh
9966 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9974 # Support unset when possible.
9975 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
9983 # We need space, tab and new line, in precisely that order. Quoting is
9984 # there to prevent editors from complaining about space-tab.
9985 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9986 # splitting by setting IFS to empty value.)
9991 # Find who we are. Look in the path if we contain no directory separator.
9993 *[\\/]* ) as_myself
=$0 ;;
9994 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9998 test -z "$as_dir" && as_dir
=.
9999 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10005 # We did not find ourselves, most probably we were run as `sh COMMAND'
10006 # in which case we are not to be found in the path.
10007 if test "x$as_myself" = x
; then
10010 if test ! -f "$as_myself"; then
10011 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10012 { (exit 1); exit 1; }
10015 # Work around bugs in pre-3.0 UWIN ksh.
10016 for as_var
in ENV MAIL MAILPATH
10017 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10025 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10026 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10027 LC_TELEPHONE LC_TIME
10029 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10030 eval $as_var=C
; export $as_var
10032 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10036 # Required to use basename.
10037 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10038 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10044 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10045 as_basename
=basename
10051 # Name of the executable.
10052 as_me
=`$as_basename -- "$0" ||
10053 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10054 X"$0" : 'X\(//\)$' \| \
10055 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10057 sed '/^.*\/\([^/][^/]*\)\/*$/{
10076 as_lineno_1
=$LINENO
10077 as_lineno_2
=$LINENO
10078 test "x$as_lineno_1" != "x$as_lineno_2" &&
10079 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
10081 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10082 # uniformly replaced by the line number. The first 'sed' inserts a
10083 # line-number line after each line using $LINENO; the second 'sed'
10084 # does the real work. The second script uses 'N' to pair each
10085 # line-number line with the line containing $LINENO, and appends
10086 # trailing '-' during substitution so that $LINENO is not a special
10087 # case at line end.
10088 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10089 # scripts with optimization help from Paolo Bonzini. Blame Lee
10090 # E. McMahon (1931-1989) for sed's syntax. :-)
10102 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10105 ' >$as_me.lineno
&&
10106 chmod +x
"$as_me.lineno" ||
10107 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10108 { (exit 1); exit 1; }; }
10110 # Don't try to exec as it changes $[0], causing all sort of problems
10111 # (the dirname of $[0] is not the place where we might find the
10112 # original and so on. Autoconf is especially sensitive to this).
10113 .
"./$as_me.lineno"
10114 # Exit status is that of the last command.
10119 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10125 ECHO_C
= ECHO_N
= ECHO_T
=
10126 case `echo -n x` in
10128 case `echo 'x\c'` in
10129 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10136 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10137 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10143 rm -f conf$$ conf$$.exe conf$$.
file
10144 if test -d conf$$.dir
; then
10145 rm -f conf$$.dir
/conf$$.
file
10151 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10153 # ... but there are two gotchas:
10154 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10155 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10156 # In both cases, we have to default to `cp -p'.
10157 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
10159 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10164 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10165 rmdir conf$$.dir
2>/dev
/null
10167 if mkdir
-p .
2>/dev
/null
; then
10170 test -d .
/-p && rmdir .
/-p
10174 if test -x / >/dev
/null
2>&1; then
10175 as_test_x
='test -x'
10177 if ls -dL / >/dev
/null
2>&1; then
10184 if test -d "$1"; then
10190 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10191 ???[sx]*):;;*)false;;esac;fi
10195 as_executable_p
=$as_test_x
10197 # Sed expression to map a string onto a valid CPP name.
10198 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10200 # Sed expression to map a string onto a valid variable name.
10201 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10206 # Save the log message, to keep $[0] and so on meaningful, and to
10207 # report actual input values of CONFIG_FILES etc. instead of their
10208 # values after options handling.
10210 This file was extended by gpiv $as_me 0.6.0, which was
10211 generated by GNU Autoconf 2.61. Invocation command line was
10213 CONFIG_FILES = $CONFIG_FILES
10214 CONFIG_HEADERS = $CONFIG_HEADERS
10215 CONFIG_LINKS = $CONFIG_LINKS
10216 CONFIG_COMMANDS = $CONFIG_COMMANDS
10219 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10224 cat >>$CONFIG_STATUS <<_ACEOF
10225 # Files that config.status was made for.
10226 config_files="$ac_config_files"
10227 config_commands="$ac_config_commands"
10231 cat >>$CONFIG_STATUS <<\_ACEOF
10233 \`$as_me' instantiates files from templates according to the
10234 current configuration.
10236 Usage: $0 [OPTIONS] [FILE]...
10238 -h, --help print this help, then exit
10239 -V, --version print version number and configuration settings, then exit
10240 -q, --quiet do not print progress messages
10241 -d, --debug don't remove temporary files
10242 --recheck update $as_me by reconfiguring in the same conditions
10243 --file=FILE[:TEMPLATE]
10244 instantiate the configuration file FILE
10246 Configuration files:
10249 Configuration commands:
10252 Report bugs to <bug-autoconf@gnu.org>."
10255 cat >>$CONFIG_STATUS <<_ACEOF
10257 gpiv config.status 0.6.0
10258 configured by $0, generated by GNU Autoconf 2.61,
10259 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10261 Copyright (C) 2006 Free Software Foundation, Inc.
10262 This config.status script is free software; the Free Software Foundation
10263 gives unlimited permission to copy, distribute and modify it."
10270 cat >>$CONFIG_STATUS <<\_ACEOF
10271 # If no file are specified by the user, then we need to provide default
10272 # value. By we need to know if files were specified by the user.
10278 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10279 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10290 # Handling of the options.
10291 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10293 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10294 echo "$ac_cs_version"; exit ;;
10295 --debug |
--debu |
--deb |
--de |
--d |
-d )
10297 --file |
--fil |
--fi |
--f )
10299 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10300 ac_need_defaults
=false
;;
10301 --he |
--h |
--help |
--hel |
-h )
10302 echo "$ac_cs_usage"; exit ;;
10303 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10304 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10307 # This is an error.
10308 -*) { echo "$as_me: error: unrecognized option: $1
10309 Try \`$0 --help' for more information." >&2
10310 { (exit 1); exit 1; }; } ;;
10312 *) ac_config_targets
="$ac_config_targets $1"
10313 ac_need_defaults
=false
;;
10319 ac_configure_extra_args
=
10321 if $ac_cs_silent; then
10323 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10327 cat >>$CONFIG_STATUS <<_ACEOF
10328 if \$ac_cs_recheck; then
10329 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10330 CONFIG_SHELL=$SHELL
10331 export CONFIG_SHELL
10332 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10336 cat >>$CONFIG_STATUS <<\_ACEOF
10340 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10341 ## Running $as_me. ##
10347 cat >>$CONFIG_STATUS <<_ACEOF
10351 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10356 cat >>$CONFIG_STATUS <<\_ACEOF
10358 # Handling of arguments.
10359 for ac_config_target
in $ac_config_targets
10361 case $ac_config_target in
10362 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10363 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
10364 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10365 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
10366 "doc/C/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/C/Makefile" ;;
10367 "doc/C/figures/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/C/figures/Makefile" ;;
10368 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
10369 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
10370 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
10371 "pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES pixmaps/Makefile" ;;
10372 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
10374 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10375 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10376 { (exit 1); exit 1; }; };;
10381 # If the user did not use the arguments to specify the items to instantiate,
10382 # then the envvar interface is used. Set only those that are not.
10383 # We use the long form for the default assignment because of an extremely
10384 # bizarre bug on SunOS 4.1.3.
10385 if $ac_need_defaults; then
10386 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10387 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10390 # Have a temporary directory for convenience. Make it in the build tree
10391 # simply because there is no reason against having it here, and in addition,
10392 # creating and moving files from /tmp can sometimes cause problems.
10393 # Hook for its removal unless debugging.
10394 # Note that there is a small window in which the directory will not be cleaned:
10395 # after its creation but before its name has been assigned to `$tmp'.
10399 trap 'exit_status=$?
10400 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10402 trap '{ (exit 1); exit 1; }' 1 2 13 15
10404 # Create a (secure) tmp directory for tmp files.
10407 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10408 test -n "$tmp" && test -d "$tmp"
10411 tmp
=.
/conf$$
-$RANDOM
10412 (umask 077 && mkdir
"$tmp")
10415 echo "$me: cannot create a temporary directory in ." >&2
10416 { (exit 1); exit 1; }
10420 # Set up the sed scripts for CONFIG_FILES section.
10423 # No need to generate the scripts if there are no CONFIG_FILES.
10424 # This happens for instance when ./config.status config.h
10425 if test -n "$CONFIG_FILES"; then
10432 for ac_last_try
in false false false false false
:; do
10433 cat >conf$
$subs.
sed <<_ACEOF
10434 SHELL!$SHELL$ac_delim
10435 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10436 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10437 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10438 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10439 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10440 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10441 exec_prefix!$exec_prefix$ac_delim
10442 prefix!$prefix$ac_delim
10443 program_transform_name!$program_transform_name$ac_delim
10444 bindir!$bindir$ac_delim
10445 sbindir!$sbindir$ac_delim
10446 libexecdir!$libexecdir$ac_delim
10447 datarootdir!$datarootdir$ac_delim
10448 datadir!$datadir$ac_delim
10449 sysconfdir!$sysconfdir$ac_delim
10450 sharedstatedir!$sharedstatedir$ac_delim
10451 localstatedir!$localstatedir$ac_delim
10452 includedir!$includedir$ac_delim
10453 oldincludedir!$oldincludedir$ac_delim
10454 docdir!$docdir$ac_delim
10455 infodir!$infodir$ac_delim
10456 htmldir!$htmldir$ac_delim
10457 dvidir!$dvidir$ac_delim
10458 pdfdir!$pdfdir$ac_delim
10459 psdir!$psdir$ac_delim
10460 libdir!$libdir$ac_delim
10461 localedir!$localedir$ac_delim
10462 mandir!$mandir$ac_delim
10463 DEFS!$DEFS$ac_delim
10464 ECHO_C!$ECHO_C$ac_delim
10465 ECHO_N!$ECHO_N$ac_delim
10466 ECHO_T!$ECHO_T$ac_delim
10467 LIBS!$LIBS$ac_delim
10468 build_alias!$build_alias$ac_delim
10469 host_alias!$host_alias$ac_delim
10470 target_alias!$target_alias$ac_delim
10471 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10472 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10473 INSTALL_DATA!$INSTALL_DATA$ac_delim
10474 CYGPATH_W!$CYGPATH_W$ac_delim
10475 PACKAGE!$PACKAGE$ac_delim
10476 VERSION!$VERSION$ac_delim
10477 ACLOCAL!$ACLOCAL$ac_delim
10478 AUTOCONF!$AUTOCONF$ac_delim
10479 AUTOMAKE!$AUTOMAKE$ac_delim
10480 AUTOHEADER!$AUTOHEADER$ac_delim
10481 MAKEINFO!$MAKEINFO$ac_delim
10482 install_sh!$install_sh$ac_delim
10483 STRIP!$STRIP$ac_delim
10484 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
10485 mkdir_p!$mkdir_p$ac_delim
10487 SET_MAKE!$SET_MAKE$ac_delim
10488 am__leading_dot!$am__leading_dot$ac_delim
10489 AMTAR!$AMTAR$ac_delim
10490 am__tar!$am__tar$ac_delim
10491 am__untar!$am__untar$ac_delim
10492 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
10493 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
10494 MAINT!$MAINT$ac_delim
10496 CFLAGS!$CFLAGS$ac_delim
10497 LDFLAGS!$LDFLAGS$ac_delim
10498 CPPFLAGS!$CPPFLAGS$ac_delim
10499 ac_ct_CC!$ac_ct_CC$ac_delim
10500 EXEEXT!$EXEEXT$ac_delim
10501 OBJEXT!$OBJEXT$ac_delim
10502 DEPDIR!$DEPDIR$ac_delim
10503 am__include!$am__include$ac_delim
10504 am__quote!$am__quote$ac_delim
10505 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
10506 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
10507 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
10508 CCDEPMODE!$CCDEPMODE$ac_delim
10509 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
10510 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
10512 GREP!$GREP$ac_delim
10513 EGREP!$EGREP$ac_delim
10514 PKG_CONFIG!$PKG_CONFIG$ac_delim
10515 GPIV_UI_CFLAGS!$GPIV_UI_CFLAGS$ac_delim
10516 GPIV_UI_LIBS!$GPIV_UI_LIBS$ac_delim
10517 GPIV_PRINT_CFLAGS!$GPIV_PRINT_CFLAGS$ac_delim
10518 GPIV_PRINT_LIBS!$GPIV_PRINT_LIBS$ac_delim
10519 GPIV_CFLAGS!$GPIV_CFLAGS$ac_delim
10520 GPIV_LIBS!$GPIV_LIBS$ac_delim
10521 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
10522 USE_NLS!$USE_NLS$ac_delim
10523 MSGFMT!$MSGFMT$ac_delim
10524 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
10525 GMSGFMT!$GMSGFMT$ac_delim
10526 XGETTEXT!$XGETTEXT$ac_delim
10527 CATALOGS!$CATALOGS$ac_delim
10528 CATOBJEXT!$CATOBJEXT$ac_delim
10529 DATADIRNAME!$DATADIRNAME$ac_delim
10530 GMOFILES!$GMOFILES$ac_delim
10533 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
10535 elif $ac_last_try; then
10536 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10537 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10538 { (exit 1); exit 1; }; }
10540 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10544 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10545 if test -n "$ac_eof"; then
10546 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10547 ac_eof
=`expr $ac_eof + 1`
10550 cat >>$CONFIG_STATUS <<_ACEOF
10551 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10552 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10555 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10556 s/^/s,@/; s/!/@,|#_!!_#|/
10559 s/'"$ac_delim"'$/,g/; t
10561 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10562 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10563 rm -f conf$
$subs.
sed
10564 cat >>$CONFIG_STATUS <<_ACEOF
10570 for ac_last_try
in false false false false false
:; do
10571 cat >conf$
$subs.
sed <<_ACEOF
10572 INSTOBJEXT!$INSTOBJEXT$ac_delim
10573 INTLLIBS!$INTLLIBS$ac_delim
10574 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
10575 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
10576 POFILES!$POFILES$ac_delim
10577 POSUB!$POSUB$ac_delim
10578 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
10579 INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
10580 INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
10581 INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
10582 INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
10583 INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
10584 INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
10585 INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
10586 INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
10587 INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
10588 INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
10589 INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
10590 INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
10591 INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
10592 INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
10593 INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
10594 INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
10595 INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
10596 INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
10597 INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
10598 INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
10599 INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
10600 INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
10601 MSGMERGE!$MSGMERGE$ac_delim
10602 INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
10603 ALL_LINGUAS!$ALL_LINGUAS$ac_delim
10604 ENABLE_CAM!$ENABLE_CAM$ac_delim
10605 ENABLE_TRIG!$ENABLE_TRIG$ac_delim
10606 ENABLE_DAC!$ENABLE_DAC$ac_delim
10607 CONTROL!$CONTROL$ac_delim
10608 HAVE_CONTROL_TRUE!$HAVE_CONTROL_TRUE$ac_delim
10609 HAVE_CONTROL_FALSE!$HAVE_CONTROL_FALSE$ac_delim
10610 RTA_TOPDIR!$RTA_TOPDIR$ac_delim
10611 K_TOPDIR!$K_TOPDIR$ac_delim
10612 OVERRIDE_IMAGE_WIDTH_MAX!$OVERRIDE_IMAGE_WIDTH_MAX$ac_delim
10613 OVERRIDE_IMAGE_HEIGHT_MAX!$OVERRIDE_IMAGE_HEIGHT_MAX$ac_delim
10614 CANVAS_AA!$CANVAS_AA$ac_delim
10615 DEBUG!$DEBUG$ac_delim
10616 ENABLE_MPI!$ENABLE_MPI$ac_delim
10617 MPIRUN!$MPIRUN$ac_delim
10619 LIBOBJS!$LIBOBJS$ac_delim
10620 LTLIBOBJS!$LTLIBOBJS$ac_delim
10623 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 49; then
10625 elif $ac_last_try; then
10626 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10627 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10628 { (exit 1); exit 1; }; }
10630 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10634 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10635 if test -n "$ac_eof"; then
10636 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10637 ac_eof
=`expr $ac_eof + 1`
10640 cat >>$CONFIG_STATUS <<_ACEOF
10641 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
10642 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10645 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10646 s/^/s,@/; s/!/@,|#_!!_#|/
10649 s/'"$ac_delim"'$/,g/; t
10651 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10652 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10653 rm -f conf$
$subs.
sed
10654 cat >>$CONFIG_STATUS <<_ACEOF
10661 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10662 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10663 # trailing colons and then remove the whole line if VPATH becomes empty
10664 # (actually we leave an empty line to preserve line numbers).
10665 if test "x$srcdir" = x.
; then
10666 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10667 s/:*\$(srcdir):*/:/
10668 s/:*\${srcdir}:*/:/
10670 s/^\([^=]*=[ ]*\):*/\1/
10676 cat >>$CONFIG_STATUS <<\_ACEOF
10677 fi # test -n "$CONFIG_FILES"
10680 for ac_tag
in :F
$CONFIG_FILES :C
$CONFIG_COMMANDS
10683 :[FHLC
]) ac_mode
=$ac_tag; continue;;
10685 case $ac_mode$ac_tag in
10687 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10688 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10689 { (exit 1); exit 1; }; };;
10690 :[FH
]-) ac_tag
=-:-;;
10691 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
10708 -) ac_f
="$tmp/stdin";;
10709 *) # Look for the file first in the build tree, then in the source tree
10710 # (if the path is not absolute). The absolute path cannot be DOS-style,
10711 # because $ac_f cannot contain `:'.
10715 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
10717 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10718 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10719 { (exit 1); exit 1; }; };;
10721 ac_file_inputs
="$ac_file_inputs $ac_f"
10724 # Let's still pretend it is `configure' which instantiates (i.e., don't
10725 # use $as_me), people would be surprised to read:
10726 # /* config.h. Generated by config.status. */
10727 configure_input
="Generated from "`IFS=:
10728 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10729 if test x
"$ac_file" != x-
; then
10730 configure_input
="$ac_file. $configure_input"
10731 { echo "$as_me:$LINENO: creating $ac_file" >&5
10732 echo "$as_me: creating $ac_file" >&6;}
10736 *:-:* |
*:-) cat >"$tmp/stdin";;
10741 ac_dir
=`$as_dirname -- "$ac_file" ||
10742 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10743 X"$ac_file" : 'X\(//\)[^/]' \| \
10744 X"$ac_file" : 'X\(//\)$' \| \
10745 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10751 /^X\(\/\/\)[^/].*/{
10766 -*) as_dir
=.
/$as_dir;;
10768 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10772 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10773 *) as_qdir
=$as_dir;;
10775 as_dirs
="'$as_qdir' $as_dirs"
10776 as_dir
=`$as_dirname -- "$as_dir" ||
10777 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10778 X"$as_dir" : 'X\(//\)[^/]' \| \
10779 X"$as_dir" : 'X\(//\)$' \| \
10780 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10786 /^X\(\/\/\)[^/].*/{
10799 test -d "$as_dir" && break
10801 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10802 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10803 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10804 { (exit 1); exit 1; }; }; }
10808 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10810 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10811 # A ".." for each directory in $ac_dir_suffix.
10812 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10813 case $ac_top_builddir_sub in
10814 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10815 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10818 ac_abs_top_builddir
=$ac_pwd
10819 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10820 # for backward compatibility:
10821 ac_top_builddir
=$ac_top_build_prefix
10824 .
) # We are building in place.
10826 ac_top_srcdir
=$ac_top_builddir_sub
10827 ac_abs_top_srcdir
=$ac_pwd ;;
10828 [\\/]* | ?
:[\\/]* ) # Absolute name.
10829 ac_srcdir
=$srcdir$ac_dir_suffix;
10830 ac_top_srcdir
=$srcdir
10831 ac_abs_top_srcdir
=$srcdir ;;
10832 *) # Relative name.
10833 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10834 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10835 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10837 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10847 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10848 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
10852 cat >>$CONFIG_STATUS <<\_ACEOF
10853 # If the template does not know about datarootdir, expand it.
10854 # FIXME: This hack should be removed a few years after 2.60.
10855 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10857 case `sed -n '/datarootdir/ {
10866 ' $ac_file_inputs` in
10867 *datarootdir
*) ac_datarootdir_seen
=yes;;
10868 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
10869 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10870 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10872 cat >>$CONFIG_STATUS <<_ACEOF
10873 ac_datarootdir_hack='
10874 s&@datadir@&$datadir&g
10875 s&@docdir@&$docdir&g
10876 s&@infodir@&$infodir&g
10877 s&@localedir@&$localedir&g
10878 s&@mandir@&$mandir&g
10879 s&\\\${datarootdir}&$datarootdir&g' ;;
10883 # Neutralize VPATH when `$srcdir' = `.'.
10884 # Shell code in configure.ac might set extrasub.
10885 # FIXME: do we really want to maintain this feature?
10886 cat >>$CONFIG_STATUS <<_ACEOF
10890 cat >>$CONFIG_STATUS <<\_ACEOF
10892 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10893 s
&@configure_input@
&$configure_input&;t t
10894 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10895 s
&@srcdir@
&$ac_srcdir&;t t
10896 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10897 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10898 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10899 s
&@builddir@
&$ac_builddir&;t t
10900 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10901 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10902 s
&@INSTALL@
&$ac_INSTALL&;t t
10903 $ac_datarootdir_hack
10904 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
10906 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10907 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
10908 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
10909 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10910 which seems to be undefined. Please make sure it is defined." >&5
10911 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10912 which seems to be undefined. Please make sure it is defined." >&2;}
10916 -) cat "$tmp/out"; rm -f "$tmp/out";;
10917 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10922 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
10923 echo "$as_me: executing $ac_file commands" >&6;}
10928 case $ac_file$ac_mode in
10929 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10930 # Strip MF so we end up with the name of the file.
10931 mf=`echo "$mf" | sed -e 's
/:.
*$
//'`
10932 # Check whether this is an Automake generated Makefile or not.
10933 # We used to match only the files named `Makefile.in', but
10934 # some people rename them; so instead we look at the file content.
10935 # Grep'ing the first line is not enough: some people post-process
10936 # each Makefile.in and add a new line on top of each file to say so.
10937 # So let's grep whole file.
10938 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
10939 dirpart
=`$as_dirname -- "$mf" ||
10940 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10941 X"$mf" : 'X\(//\)[^/]' \| \
10942 X"$mf" : 'X\(//\)$' \| \
10943 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10949 /^X\(\/\/\)[^/].*/{
10965 # Extract the definition of DEPDIR, am__include, and am__quote
10966 # from the Makefile without running `make'.
10967 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
10968 test -z "$DEPDIR" && continue
10969 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
10970 test -z "am__include" && continue
10971 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
10972 # When using ansi2knr, U may be empty or an underscore; expand it
10973 U
=`sed -n 's/^U = //p' < "$mf"`
10974 # Find all dependency output files, they are included files with
10975 # $(DEPDIR) in their names. We invoke sed twice because it is the
10976 # simplest approach to changing $(DEPDIR) to its actual value in the
10978 for file in `sed -n "
10979 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10980 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10981 # Make sure the directory exists.
10982 test -f "$dirpart/$file" && continue
10983 fdir
=`$as_dirname -- "$file" ||
10984 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10985 X"$file" : 'X\(//\)[^/]' \| \
10986 X"$file" : 'X\(//\)$' \| \
10987 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10989 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10993 /^X\(\/\/\)[^/].*/{
11006 { as_dir
=$dirpart/$fdir
11008 -*) as_dir
=.
/$as_dir;;
11010 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11014 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11015 *) as_qdir
=$as_dir;;
11017 as_dirs
="'$as_qdir' $as_dirs"
11018 as_dir
=`$as_dirname -- "$as_dir" ||
11019 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11020 X"$as_dir" : 'X\(//\)[^/]' \| \
11021 X"$as_dir" : 'X\(//\)$' \| \
11022 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11028 /^X\(\/\/\)[^/].*/{
11041 test -d "$as_dir" && break
11043 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11044 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11045 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11046 { (exit 1); exit 1; }; }; }
11047 # echo "creating $dirpart/$file"
11048 echo '# dummy' > "$dirpart/$file"
11052 "default-1":C
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
11053 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
11056 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
11061 '"s|^| $ac_top_srcdir/|" \
11062 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
11064 if test ! -f "po/Makefile"; then
11065 { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
11066 echo "$as_me: error: po/Makefile is not ready." >&2;}
11067 { (exit 1); exit 1; }; }
11069 mv "po/Makefile" "po/Makefile.tmp"
11070 sed '/^POTFILES =/,/[^\\]$/ {
11074 ' "po/Makefile.tmp" >"po/Makefile"
11075 rm -f "po/Makefile.tmp"
11076 mv "po/stamp-it.tmp" "po/stamp-it"
11083 { (exit 0); exit 0; }
11085 chmod +x
$CONFIG_STATUS
11086 ac_clean_files
=$ac_clean_files_save
11089 # configure is writing to config.log, and then calls config.status.
11090 # config.status does its own redirection, appending to config.log.
11091 # Unfortunately, on DOS this fails, as config.log is still kept open
11092 # by configure, so config.status won't be able to write to it; its
11093 # output is simply discarded. So we exec the FD to /dev/null,
11094 # effectively closing config.log, so it can be properly (re)opened and
11095 # appended to by config.status. When coming back to configure, we
11096 # need to make the FD available again.
11097 if test "$no_create" != yes; then
11099 ac_config_status_args
=
11100 test "$silent" = yes &&
11101 ac_config_status_args
="$ac_config_status_args --quiet"
11103 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11105 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11106 # would make configure fail if this is the last instruction.
11107 $ac_cs_success ||
{ (exit 1); exit 1; }
11112 echo "===================================================================="
11113 echo "Configuration succesfully finished"
11114 if test $HAVE_GNOME_PRINT; then
11115 echo "with gnomeprint"
11117 echo "without gnomeprint"
11120 if test $ENABLE_CAM; then
11121 echo "with (IEEE-1394) camera enabled"
11124 if test $ENABLE_TRIG; then
11125 echo "with (realtime) triggering enabled."
11127 if test x
$CONTROL = xfalse
; then
11128 echo "Gpiv_control has not been found on this system, and probably gpivtrig-rtl isn't"
11129 echo "resident as well. This script eases to install and uninstall the gpivtrig-rtl"
11130 echo "and RTAI kernel modules that are needed for the triggering of camera and lasers"
11135 if test $ENABLE_MPI; then
11136 echo "Using Message Passing Interface (MPI)"
11137 echo "for processing on distributed memory systems"
11140 echo "Type 'make' and 'make install' to build and install gpiv"
11141 echo "===================================================================="