2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for gpiv 0.5.2.
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.5.2'
578 PACKAGE_STRING
='gpiv 0.5.2'
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
762 ac_precious_vars
='build_alias
780 # Initialize some variables set by options.
782 ac_init_version
=false
783 # The variables have the same names as the options, with
784 # dashes changed to underlines.
792 program_transform_name
=s
,x
,x
,
800 # Installation directory options.
801 # These are left unexpanded so users can "make install exec_prefix=/foo"
802 # and all the variables that are supposed to be based on exec_prefix
803 # by default will actually change.
804 # Use braces instead of parens because sh, perl, etc. also accept them.
805 # (The list follows the same order as the GNU Coding Standards.)
806 bindir
='${exec_prefix}/bin'
807 sbindir
='${exec_prefix}/sbin'
808 libexecdir
='${exec_prefix}/libexec'
809 datarootdir
='${prefix}/share'
810 datadir
='${datarootdir}'
811 sysconfdir
='${prefix}/etc'
812 sharedstatedir
='${prefix}/com'
813 localstatedir
='${prefix}/var'
814 includedir
='${prefix}/include'
815 oldincludedir
='/usr/include'
816 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
817 infodir
='${datarootdir}/info'
822 libdir
='${exec_prefix}/lib'
823 localedir
='${datarootdir}/locale'
824 mandir
='${datarootdir}/man'
830 # If the previous option needs an argument, assign it.
831 if test -n "$ac_prev"; then
832 eval $ac_prev=\
$ac_option
838 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
850 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
853 -build |
--build |
--buil |
--bui |
--bu)
854 ac_prev
=build_alias
;;
855 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
856 build_alias
=$ac_optarg ;;
858 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
859 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
860 ac_prev
=cache_file
;;
861 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
862 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
863 cache_file
=$ac_optarg ;;
866 cache_file
=config.cache
;;
868 -datadir |
--datadir |
--datadi |
--datad)
870 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
871 datadir
=$ac_optarg ;;
873 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
874 |
--dataroo |
--dataro |
--datar)
875 ac_prev
=datarootdir
;;
876 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
877 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
878 datarootdir
=$ac_optarg ;;
880 -disable-* |
--disable-*)
881 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
884 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
885 { (exit 1); exit 1; }; }
886 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
887 eval enable_
$ac_feature=no
;;
889 -docdir |
--docdir |
--docdi |
--doc |
--do)
891 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
894 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
896 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
899 -enable-* |
--enable-*)
900 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
903 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
904 { (exit 1); exit 1; }; }
905 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
906 eval enable_
$ac_feature=\
$ac_optarg ;;
908 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
909 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
910 |
--exec |
--exe |
--ex)
911 ac_prev
=exec_prefix
;;
912 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
913 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
914 |
--exec=* |
--exe=* |
--ex=*)
915 exec_prefix
=$ac_optarg ;;
917 -gas |
--gas |
--ga |
--g)
918 # Obsolete; use --with-gas.
921 -help |
--help |
--hel |
--he |
-h)
923 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
924 ac_init_help
=recursive
;;
925 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
926 ac_init_help
=short
;;
928 -host |
--host |
--hos |
--ho)
929 ac_prev
=host_alias
;;
930 -host=* |
--host=* |
--hos=* |
--ho=*)
931 host_alias
=$ac_optarg ;;
933 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
935 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
937 htmldir
=$ac_optarg ;;
939 -includedir |
--includedir |
--includedi |
--included |
--include \
940 |
--includ |
--inclu |
--incl |
--inc)
941 ac_prev
=includedir
;;
942 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
943 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
944 includedir
=$ac_optarg ;;
946 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
948 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
949 infodir
=$ac_optarg ;;
951 -libdir |
--libdir |
--libdi |
--libd)
953 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
956 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
957 |
--libexe |
--libex |
--libe)
958 ac_prev
=libexecdir
;;
959 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
960 |
--libexe=* |
--libex=* |
--libe=*)
961 libexecdir
=$ac_optarg ;;
963 -localedir |
--localedir |
--localedi |
--localed |
--locale)
965 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
966 localedir
=$ac_optarg ;;
968 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
969 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
970 ac_prev
=localstatedir
;;
971 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
972 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
973 localstatedir
=$ac_optarg ;;
975 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
977 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
981 # Obsolete; use --without-fp.
984 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
985 |
--no-cr |
--no-c |
-n)
988 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
989 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
992 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
993 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
994 |
--oldin |
--oldi |
--old |
--ol |
--o)
995 ac_prev
=oldincludedir
;;
996 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
997 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
998 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
999 oldincludedir
=$ac_optarg ;;
1001 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1003 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1004 prefix
=$ac_optarg ;;
1006 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1007 |
--program-pre |
--program-pr |
--program-p)
1008 ac_prev
=program_prefix
;;
1009 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1010 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1011 program_prefix
=$ac_optarg ;;
1013 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1014 |
--program-suf |
--program-su |
--program-s)
1015 ac_prev
=program_suffix
;;
1016 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1017 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1018 program_suffix
=$ac_optarg ;;
1020 -program-transform-name |
--program-transform-name \
1021 |
--program-transform-nam |
--program-transform-na \
1022 |
--program-transform-n |
--program-transform- \
1023 |
--program-transform |
--program-transfor \
1024 |
--program-transfo |
--program-transf \
1025 |
--program-trans |
--program-tran \
1026 |
--progr-tra |
--program-tr |
--program-t)
1027 ac_prev
=program_transform_name
;;
1028 -program-transform-name=* |
--program-transform-name=* \
1029 |
--program-transform-nam=* |
--program-transform-na=* \
1030 |
--program-transform-n=* |
--program-transform-=* \
1031 |
--program-transform=* |
--program-transfor=* \
1032 |
--program-transfo=* |
--program-transf=* \
1033 |
--program-trans=* |
--program-tran=* \
1034 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1035 program_transform_name
=$ac_optarg ;;
1037 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1039 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1040 pdfdir
=$ac_optarg ;;
1042 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1044 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1047 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1048 |
-silent |
--silent |
--silen |
--sile |
--sil)
1051 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1053 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1055 sbindir
=$ac_optarg ;;
1057 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1058 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1059 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1061 ac_prev
=sharedstatedir
;;
1062 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1063 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1064 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1066 sharedstatedir
=$ac_optarg ;;
1068 -site |
--site |
--sit)
1070 -site=* |
--site=* |
--sit=*)
1073 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1075 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1076 srcdir
=$ac_optarg ;;
1078 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1079 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1080 ac_prev
=sysconfdir
;;
1081 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1082 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1083 sysconfdir
=$ac_optarg ;;
1085 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1086 ac_prev
=target_alias
;;
1087 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1088 target_alias
=$ac_optarg ;;
1090 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1093 -version |
--version |
--versio |
--versi |
--vers |
-V)
1094 ac_init_version
=: ;;
1097 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1100 { echo "$as_me: error: invalid package name: $ac_package" >&2
1101 { (exit 1); exit 1; }; }
1102 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1103 eval with_
$ac_package=\
$ac_optarg ;;
1105 -without-* |
--without-*)
1106 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1109 { echo "$as_me: error: invalid package name: $ac_package" >&2
1110 { (exit 1); exit 1; }; }
1111 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1112 eval with_
$ac_package=no
;;
1115 # Obsolete; use --with-x.
1118 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1119 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1120 ac_prev
=x_includes
;;
1121 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1122 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1123 x_includes
=$ac_optarg ;;
1125 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1126 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1127 ac_prev
=x_libraries
;;
1128 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1129 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1130 x_libraries
=$ac_optarg ;;
1132 -*) { echo "$as_me: error: unrecognized option: $ac_option
1133 Try \`$0 --help' for more information." >&2
1134 { (exit 1); exit 1; }; }
1138 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1141 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1142 { (exit 1); exit 1; }; }
1143 eval $ac_envvar=\
$ac_optarg
1144 export $ac_envvar ;;
1147 # FIXME: should be removed in autoconf 3.0.
1148 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1150 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1157 if test -n "$ac_prev"; then
1158 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1159 { echo "$as_me: error: missing argument to $ac_option" >&2
1160 { (exit 1); exit 1; }; }
1163 # Be sure to have absolute directory names.
1164 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1165 datadir sysconfdir sharedstatedir localstatedir includedir \
1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1167 libdir localedir mandir
1169 eval ac_val
=\$
$ac_var
1171 [\\/$
]* | ?
:[\\/]* ) continue;;
1172 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1174 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1175 { (exit 1); exit 1; }; }
1178 # There might be people who depend on the old broken behavior: `$host'
1179 # used to hold the argument of --host etc.
1180 # FIXME: To remove some day.
1183 target
=$target_alias
1185 # FIXME: To remove some day.
1186 if test "x$host_alias" != x
; then
1187 if test "x$build_alias" = x
; then
1188 cross_compiling
=maybe
1189 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1190 If a cross compiler is detected then cross compile mode will be used." >&2
1191 elif test "x$build_alias" != "x$host_alias"; then
1197 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1199 test "$silent" = yes && exec 6>/dev
/null
1202 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1203 ac_ls_di
=`ls -di .` &&
1204 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1205 { echo "$as_me: error: Working directory cannot be determined" >&2
1206 { (exit 1); exit 1; }; }
1207 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1208 { echo "$as_me: error: pwd does not report name of working directory" >&2
1209 { (exit 1); exit 1; }; }
1212 # Find the source files, if location was not specified.
1213 if test -z "$srcdir"; then
1214 ac_srcdir_defaulted
=yes
1215 # Try the directory containing this script, then the parent directory.
1216 ac_confdir
=`$as_dirname -- "$0" ||
1217 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$0" : 'X\(//\)[^/]' \| \
1219 X"$0" : 'X\(//\)$' \| \
1220 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1244 ac_srcdir_defaulted
=no
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1247 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1248 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1249 { (exit 1); exit 1; }; }
1251 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1253 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1254 { (exit 1); exit 1; }; }
1256 # When building in place, set srcdir=.
1257 if test "$ac_abs_confdir" = "$ac_pwd"; then
1260 # Remove unnecessary trailing slashes from srcdir.
1261 # Double slashes in file names in object file debugging info
1262 # mess up M-x gdb in Emacs.
1264 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1266 for ac_var
in $ac_precious_vars; do
1267 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1268 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1269 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1270 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1274 # Report the --help message.
1276 if test "$ac_init_help" = "long"; then
1277 # Omit some internal or obsolete options to make the list less imposing.
1278 # This message is too long to be a string in the A/UX 3.1 sh.
1280 \`configure' configures gpiv 0.5.2 to adapt to many kinds of systems.
1282 Usage: $0 [OPTION]... [VAR=VALUE]...
1284 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1285 VAR=VALUE. See below for descriptions of some of the useful variables.
1287 Defaults for the options are specified in brackets.
1290 -h, --help display this help and exit
1291 --help=short display options specific to this package
1292 --help=recursive display the short help of all the included packages
1293 -V, --version display version information and exit
1294 -q, --quiet, --silent do not print \`checking...' messages
1295 --cache-file=FILE cache test results in FILE [disabled]
1296 -C, --config-cache alias for \`--cache-file=config.cache'
1297 -n, --no-create do not create output files
1298 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1300 Installation directories:
1301 --prefix=PREFIX install architecture-independent files in PREFIX
1302 [$ac_default_prefix]
1303 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1306 By default, \`make install' will install all the files in
1307 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1308 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1309 for instance \`--prefix=\$HOME'.
1311 For better control, use the options below.
1313 Fine tuning of the installation directories:
1314 --bindir=DIR user executables [EPREFIX/bin]
1315 --sbindir=DIR system admin executables [EPREFIX/sbin]
1316 --libexecdir=DIR program executables [EPREFIX/libexec]
1317 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1318 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1319 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1320 --libdir=DIR object code libraries [EPREFIX/lib]
1321 --includedir=DIR C header files [PREFIX/include]
1322 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1325 --infodir=DIR info documentation [DATAROOTDIR/info]
1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1327 --mandir=DIR man documentation [DATAROOTDIR/man]
1328 --docdir=DIR documentation root [DATAROOTDIR/doc/gpiv]
1329 --htmldir=DIR html documentation [DOCDIR]
1330 --dvidir=DIR dvi documentation [DOCDIR]
1331 --pdfdir=DIR pdf documentation [DOCDIR]
1332 --psdir=DIR ps documentation [DOCDIR]
1338 --program-prefix=PREFIX prepend PREFIX to installed program names
1339 --program-suffix=SUFFIX append SUFFIX to installed program names
1340 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1344 if test -n "$ac_init_help"; then
1345 case $ac_init_help in
1346 short | recursive
) echo "Configuration of gpiv 0.5.2:";;
1351 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1352 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1353 --enable-maintainer-mode enable make rules and dependencies not useful
1354 (and sometimes confusing
) to the casual installer
1355 --disable-dependency-tracking speeds up one-time build
1356 --enable-dependency-tracking do not reject slow dependency extractors
1357 --enable-cam enable data acquisition
1358 --enable-trig enable (realtime
) triggering
1359 --enable-rta=RTA_DIR place where the RTAI code resides
1360 (default
/usr
/lib
/realtime
)
1361 --enable-k=K_DIR place where the installed kernel
1363 (default
/usr
/src
/kernel-headers-2.4
.27-adeos)
1364 --enable-img-width=WIDTH maximum image width to be used
(default SVGA
)
1365 --enable-img-height=HEIGHT maximum image height to be used
(default SVGA
)
1366 --enable-canvas-aa Use Anti Aliased canvas
for viewer
; slower but
1367 better displaying of image and resulting data
1368 --enable-debug debug version
(more verbose
)
1369 --enable-mpi enable Message Protocol Interface
(MPI
)
1371 Some influential environment variables
:
1372 CC C compiler
command
1373 CFLAGS C compiler flags
1374 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1375 nonstandard directory
<lib dir
>
1376 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1377 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1378 you have headers
in a nonstandard directory
<include dir
>
1380 PKG_CONFIG path to pkg-config utility
1382 C compiler flags
for GPIV_UI
, overriding pkg-config
1384 linker flags
for GPIV_UI
, overriding pkg-config
1386 C compiler flags
for GPIV_PRINT
, overriding pkg-config
1388 linker flags
for GPIV_PRINT
, overriding pkg-config
1389 GPIV_CFLAGS C compiler flags
for GPIV
, overriding pkg-config
1390 GPIV_LIBS linker flags
for GPIV
, overriding pkg-config
1392 Use these variables to override the choices made by
`configure' or to help
1393 it to find libraries and programs with nonstandard names/locations.
1395 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv>.
1400 if test "$ac_init_help" = "recursive"; then
1401 # If there are subdirs, report their specific --help.
1402 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1403 test -d "$ac_dir" || continue
1407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1410 # A ".." for each directory in $ac_dir_suffix.
1411 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1412 case $ac_top_builddir_sub in
1413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1417 ac_abs_top_builddir=$ac_pwd
1418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir=$ac_top_build_prefix
1423 .) # We are building in place.
1425 ac_top_srcdir=$ac_top_builddir_sub
1426 ac_abs_top_srcdir=$ac_pwd ;;
1427 [\\/]* | ?:[\\/]* ) # Absolute name.
1428 ac_srcdir=$srcdir$ac_dir_suffix;
1429 ac_top_srcdir=$srcdir
1430 ac_abs_top_srcdir=$srcdir ;;
1432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433 ac_top_srcdir=$ac_top_build_prefix$srcdir
1434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1438 cd "$ac_dir" || { ac_status=$?; continue; }
1439 # Check for guested configure.
1440 if test -f "$ac_srcdir/configure.gnu"; then
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443 elif test -f "$ac_srcdir/configure"; then
1445 $SHELL "$ac_srcdir/configure" --help=recursive
1447 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1449 cd "$ac_pwd" || { ac_status=$?; break; }
1453 test -n "$ac_init_help" && exit $ac_status
1454 if $ac_init_version; then
1456 gpiv configure 0.5.2
1457 generated by GNU Autoconf 2.61
1459 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1460 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1461 This configure script is free software; the Free Software Foundation
1462 gives unlimited permission to copy, distribute and modify it.
1466 cat >config.log <<_ACEOF
1467 This file contains any messages produced by compilers while
1468 running configure, to aid debugging if configure makes a mistake.
1470 It was created by gpiv $as_me 0.5.2, which was
1471 generated by GNU Autoconf 2.61. Invocation command line was
1483 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1484 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1485 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1486 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1487 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1489 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1490 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1492 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1493 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1494 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1495 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1496 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1497 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1498 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1506 test -z "$as_dir" && as_dir=.
1507 echo "PATH: $as_dir"
1523 # Keep a trace of the command line.
1524 # Strip out --no-create and --no-recursion so they do not pile up.
1525 # Strip out --silent because we don't want to record it for future runs.
1526 # Also quote any args containing shell meta-characters.
1527 # Make two passes to allow for proper duplicate-argument suppression.
1531 ac_must_keep_next=false
1537 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1539 | -silent | --silent | --silen | --sile | --sil)
1542 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1545 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1547 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1548 if test $ac_must_keep_next = true; then
1549 ac_must_keep_next=false # Got value, back to normal.
1552 *=* | --config-cache | -C | -disable-* | --disable-* \
1553 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1554 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1555 | -with-* | --with-* | -without-* | --without-* | --x)
1556 case "$ac_configure_args0 " in
1557 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 -* ) ac_must_keep_next=true ;;
1563 ac_configure_args="$ac_configure_args '$ac_arg'"
1568 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1569 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1571 # When interrupted or exit'd, cleanup temporary files, and complete
1572 # config.log. We remove comments because anyway the quotes in there
1573 # would cause problems or look ugly.
1574 # WARNING: Use '\'' to represent an apostrophe within the trap.
1575 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1576 trap 'exit_status=$?
1577 # Save into config.log some information that might help in debugging.
1582 ## ---------------- ##
1583 ## Cache variables. ##
1584 ## ---------------- ##
1587 # The following way of writing the cache mishandles newlines in values,
1589 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1590 eval ac_val=\$$ac_var
1594 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1595 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1598 _ | IFS | as_nl) ;; #(
1599 *) $as_unset $ac_var ;;
1604 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1605 *${as_nl}ac_space=\ *)
1607 "s/'\''/'\''\\\\'\'''\''/g;
1608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1619 ## ----------------- ##
1620 ## Output variables. ##
1621 ## ----------------- ##
1624 for ac_var in $ac_subst_vars
1626 eval ac_val=\$$ac_var
1628 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1630 echo "$ac_var='\''$ac_val'\''"
1634 if test -n "$ac_subst_files"; then
1636 ## ------------------- ##
1637 ## File substitutions. ##
1638 ## ------------------- ##
1641 for ac_var in $ac_subst_files
1643 eval ac_val=\$$ac_var
1645 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1647 echo "$ac_var='\''$ac_val'\''"
1652 if test -s confdefs.h; then
1662 test "$ac_signal" != 0 &&
1663 echo "$as_me: caught signal $ac_signal"
1664 echo "$as_me: exit $exit_status"
1666 rm -f core *.core core.conftest.* &&
1667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670 for ac_signal in 1 2 13 15; do
1671 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1676 rm -f -r conftest* confdefs.h
1678 # Predefined preprocessor variables.
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_NAME "$PACKAGE_NAME"
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_STRING "$PACKAGE_STRING"
1700 cat >>confdefs.h <<_ACEOF
1701 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1705 # Let the site file select an alternate cache file if it wants to.
1706 # Prefer explicitly selected file to automatically selected ones.
1707 if test -n "$CONFIG_SITE"; then
1708 set x "$CONFIG_SITE"
1709 elif test "x$prefix" != xNONE; then
1710 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1712 set x "$ac_default_prefix/share/config.site" \
1713 "$ac_default_prefix/etc/config.site"
1718 if test -r "$ac_site_file"; then
1719 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1720 echo "$as_me: loading site script $ac_site_file" >&6;}
1721 sed 's/^/| /' "$ac_site_file" >&5
1726 if test -r "$cache_file"; then
1727 # Some versions of bash will fail to source /dev/null (special
1728 # files actually), so we avoid doing that.
1729 if test -f "$cache_file"; then
1730 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1731 echo "$as_me: loading cache $cache_file" >&6;}
1733 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1734 *) . "./$cache_file";;
1738 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1739 echo "$as_me: creating cache $cache_file" >&6;}
1743 # Check that the precious variables saved in the cache have kept the same
1745 ac_cache_corrupted=false
1746 for ac_var in $ac_precious_vars; do
1747 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1748 eval ac_new_set=\$ac_env_${ac_var}_set
1749 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1750 eval ac_new_val=\$ac_env_${ac_var}_value
1751 case $ac_old_set,$ac_new_set in
1753 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1754 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1755 ac_cache_corrupted=: ;;
1757 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1758 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1759 ac_cache_corrupted=: ;;
1762 if test "x$ac_old_val" != "x$ac_new_val"; then
1763 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1764 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1765 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1766 echo "$as_me: former value
: $ac_old_val" >&2;}
1767 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1768 echo "$as_me: current value
: $ac_new_val" >&2;}
1769 ac_cache_corrupted=:
1772 # Pass precious variables to config.status.
1773 if test "$ac_new_set" = set; then
1775 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1776 *) ac_arg=$ac_var=$ac_new_val ;;
1778 case " $ac_configure_args " in
1779 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1780 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1784 if $ac_cache_corrupted; then
1785 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1786 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1787 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1788 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1789 { (exit 1); exit 1; }; }
1817 ac_cpp='$CPP $CPPFLAGS'
1818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1823 am__api_version="1.9"
1825 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1826 if test -f "$ac_dir/install-sh"; then
1828 ac_install_sh="$ac_aux_dir/install-sh -c"
1830 elif test -f "$ac_dir/install.sh"; then
1832 ac_install_sh="$ac_aux_dir/install.sh -c"
1834 elif test -f "$ac_dir/shtool"; then
1836 ac_install_sh="$ac_aux_dir/shtool install -c"
1840 if test -z "$ac_aux_dir"; then
1841 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1842 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1843 { (exit 1); exit 1; }; }
1846 # These three variables are undocumented and unsupported,
1847 # and are intended to be withdrawn in a future Autoconf release.
1848 # They can cause serious problems if a builder's source tree is in a directory
1849 # whose full name contains unusual characters.
1850 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1851 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1852 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1855 # Find a good install program. We prefer a C program (faster),
1856 # so one script is as good as another. But avoid the broken or
1857 # incompatible versions:
1858 # SysV /etc/install, /usr/sbin/install
1859 # SunOS /usr/etc/install
1860 # IRIX /sbin/install
1862 # AmigaOS /C/install, which installs bootblocks on floppy discs
1863 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1864 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1865 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1866 # OS/2's system install, which has a completely different semantic
1867 # ./install, which can be erroneously created by make from ./install.sh.
1868 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1869 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1870 if test -z "$INSTALL"; then
1871 if test "${ac_cv_path_install+set}" = set; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1878 test -z "$as_dir" && as_dir=.
1879 # Account for people who put trailing slashes in PATH elements.
1881 ./ | .// | /cC/* | \
1882 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1883 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1886 # OSF1 and SCO ODT 3.0 have their own names for install.
1887 # Don't use installbsd from OSF since it installs stuff as root
1889 for ac_prog in ginstall scoinst install; do
1890 for ac_exec_ext in '' $ac_executable_extensions; do
1891 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1892 if test $ac_prog = install &&
1893 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1894 # AIX install. It has an incompatible calling convention.
1896 elif test $ac_prog = install &&
1897 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1898 # program-specific install script used by HP pwplus--don't use.
1901 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1914 if test "${ac_cv_path_install+set}" = set; then
1915 INSTALL=$ac_cv_path_install
1917 # As a last resort, use the slow shell script. Don't cache a
1918 # value for INSTALL within a source directory, because that will
1919 # break other packages using the cache if that directory is
1920 # removed, or if the value is a relative name.
1921 INSTALL=$ac_install_sh
1924 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1925 echo "${ECHO_T}$INSTALL" >&6; }
1927 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1928 # It thinks the first close brace ends the variable substitution.
1929 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1931 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1933 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1935 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1936 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1939 echo timestamp > conftest.file
1940 # Do `set' in a subshell so we don't clobber the current shell
's
1941 # arguments. Must try -L first in case configure is actually a
1942 # symlink; some systems play weird games with the mod time of symlinks
1943 # (eg FreeBSD returns the mod time of the symlink's containing
1946 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1947 if test "$*" = "X"; then
1949 set X
`ls -t $srcdir/configure conftest.file`
1952 if test "$*" != "X $srcdir/configure conftest.file" \
1953 && test "$*" != "X conftest.file $srcdir/configure"; then
1955 # If neither matched, then we have a broken ls. This can happen
1956 # if, for instance, CONFIG_SHELL is bash and it inherits a
1957 # broken ls alias from the environment. This has actually
1958 # happened. Such a system could not be considered "sane".
1959 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1960 alias in your environment" >&5
1961 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1962 alias in your environment" >&2;}
1963 { (exit 1); exit 1; }; }
1966 test "$2" = conftest.
file
1972 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1973 Check your system clock" >&5
1974 echo "$as_me: error: newly created file is older than distributed files!
1975 Check your system clock" >&2;}
1976 { (exit 1); exit 1; }; }
1978 { echo "$as_me:$LINENO: result: yes" >&5
1979 echo "${ECHO_T}yes" >&6; }
1980 test "$program_prefix" != NONE
&&
1981 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1982 # Use a double $ so make ignores it.
1983 test "$program_suffix" != NONE
&&
1984 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1985 # Double any \ or $. echo might interpret backslashes.
1986 # By default was `s,x,x', remove it if useless.
1987 cat <<\_ACEOF
>conftest.
sed
1988 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1990 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1993 # expand $ac_aux_dir to an absolute path
1994 am_aux_dir
=`cd $ac_aux_dir && pwd`
1996 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1997 # Use eval to expand $SHELL
1998 if eval "$MISSING --run true"; then
1999 am_missing_run
="$MISSING --run "
2002 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2003 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2006 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2007 # We used to keeping the `.' as first argument, in order to
2008 # allow $(mkdir_p) to be used without argument. As in
2009 # $(mkdir_p) $(somedir)
2010 # where $(somedir) is conditionally defined. However this is wrong
2012 # 1. if the package is installed by a user who cannot write `.'
2013 # make install will fail,
2014 # 2. the above comment should most certainly read
2015 # $(mkdir_p) $(DESTDIR)$(somedir)
2016 # so it does not work when $(somedir) is undefined and
2017 # $(DESTDIR) is not.
2018 # To support the latter case, we have to write
2019 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2020 # so the `.' trick is pointless.
2021 mkdir_p
='mkdir -p --'
2023 # On NextStep and OpenStep, the `mkdir' command does not
2024 # recognize any option. It will interpret all options as
2025 # directories to create, and then abort because `.' already
2027 for d
in .
/-p .
/--version;
2029 test -d $d && rmdir $d
2031 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2032 if test -f "$ac_aux_dir/mkinstalldirs"; then
2033 mkdir_p
='$(mkinstalldirs)'
2035 mkdir_p
='$(install_sh) -d'
2039 for ac_prog
in gawk mawk nawk
awk
2041 # Extract the first word of "$ac_prog", so it can be a program name with args.
2042 set dummy
$ac_prog; ac_word
=$2
2043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2045 if test "${ac_cv_prog_AWK+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 if test -n "$AWK"; then
2049 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2055 test -z "$as_dir" && as_dir
=.
2056 for ac_exec_ext
in '' $ac_executable_extensions; do
2057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2058 ac_cv_prog_AWK
="$ac_prog"
2059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2069 if test -n "$AWK"; then
2070 { echo "$as_me:$LINENO: result: $AWK" >&5
2071 echo "${ECHO_T}$AWK" >&6; }
2073 { echo "$as_me:$LINENO: result: no" >&5
2074 echo "${ECHO_T}no" >&6; }
2078 test -n "$AWK" && break
2081 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2082 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2083 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2084 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2085 echo $ECHO_N "(cached) $ECHO_C" >&6
2087 cat >conftest.
make <<\_ACEOF
2090 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2092 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2093 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2095 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2097 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2101 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2102 { echo "$as_me:$LINENO: result: yes" >&5
2103 echo "${ECHO_T}yes" >&6; }
2106 { echo "$as_me:$LINENO: result: no" >&5
2107 echo "${ECHO_T}no" >&6; }
2108 SET_MAKE
="MAKE=${MAKE-make}"
2111 rm -rf .tst
2>/dev
/null
2112 mkdir .tst
2>/dev
/null
2113 if test -d .tst
; then
2118 rmdir .tst
2>/dev
/null
2120 # test to see if srcdir already configured
2121 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2122 test -f $srcdir/config.status
; then
2123 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2124 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2125 { (exit 1); exit 1; }; }
2128 # test whether we have cygpath
2129 if test -z "$CYGPATH_W"; then
2130 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2131 CYGPATH_W
='cygpath -w'
2138 # Define the identity of the package.
2143 cat >>confdefs.h
<<_ACEOF
2144 #define PACKAGE "$PACKAGE"
2148 cat >>confdefs.h
<<_ACEOF
2149 #define VERSION "$VERSION"
2152 # Some tools Automake needs.
2154 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2157 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2160 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2163 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2166 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2168 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2170 # Installed binaries are usually stripped using `strip' when the user
2171 # run `make install-strip'. However `strip' might not be the right
2172 # tool to use in cross-compilation environments, therefore Automake
2173 # will honor the `STRIP' environment variable to overrule this program.
2174 if test "$cross_compiling" != no
; then
2175 if test -n "$ac_tool_prefix"; then
2176 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2177 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2180 if test "${ac_cv_prog_STRIP+set}" = set; then
2181 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 if test -n "$STRIP"; then
2184 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2190 test -z "$as_dir" && as_dir
=.
2191 for ac_exec_ext
in '' $ac_executable_extensions; do
2192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2193 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 STRIP
=$ac_cv_prog_STRIP
2204 if test -n "$STRIP"; then
2205 { echo "$as_me:$LINENO: result: $STRIP" >&5
2206 echo "${ECHO_T}$STRIP" >&6; }
2208 { echo "$as_me:$LINENO: result: no" >&5
2209 echo "${ECHO_T}no" >&6; }
2214 if test -z "$ac_cv_prog_STRIP"; then
2216 # Extract the first word of "strip", so it can be a program name with args.
2217 set dummy strip
; ac_word
=$2
2218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2220 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2221 echo $ECHO_N "(cached) $ECHO_C" >&6
2223 if test -n "$ac_ct_STRIP"; then
2224 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2230 test -z "$as_dir" && as_dir
=.
2231 for ac_exec_ext
in '' $ac_executable_extensions; do
2232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2233 ac_cv_prog_ac_ct_STRIP
="strip"
2234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2244 if test -n "$ac_ct_STRIP"; then
2245 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2246 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2248 { echo "$as_me:$LINENO: result: no" >&5
2249 echo "${ECHO_T}no" >&6; }
2252 if test "x$ac_ct_STRIP" = x
; then
2255 case $cross_compiling:$ac_tool_warned in
2257 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2258 whose name does not start with the host triplet. If you think this
2259 configuration is useful to you, please write to autoconf@gnu.org." >&5
2260 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2261 whose name does not start with the host triplet. If you think this
2262 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2263 ac_tool_warned
=yes ;;
2268 STRIP
="$ac_cv_prog_STRIP"
2272 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2274 # We need awk for the "check" target. The system "awk" is bad on
2276 # Always define AMTAR for backward compatibility.
2278 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2280 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2286 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2287 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2288 # Check whether --enable-maintainer-mode was given.
2289 if test "${enable_maintainer_mode+set}" = set; then
2290 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2292 USE_MAINTAINER_MODE
=no
2295 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2296 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2299 if test $USE_MAINTAINER_MODE = yes; then
2300 MAINTAINER_MODE_TRUE
=
2301 MAINTAINER_MODE_FALSE
='#'
2303 MAINTAINER_MODE_TRUE
='#'
2304 MAINTAINER_MODE_FALSE
=
2307 MAINT
=$MAINTAINER_MODE_TRUE
2312 DEPDIR
="${am__leading_dot}deps"
2314 ac_config_commands
="$ac_config_commands depfiles"
2317 am_make
=${MAKE-make}
2318 cat > confinc
<< 'END'
2323 # If we don't find an include directive, just comment out the code.
2324 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2325 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2329 # First try GNU make style include.
2330 echo "include confinc" > confmf
2331 # We grep out `Entering directory' and `Leaving directory'
2332 # messages which can occur if `w' ends up in MAKEFLAGS.
2333 # In particular we don't look at `^make:' because GNU make might
2334 # be invoked under some other name (usually "gmake"), in which
2335 # case it prints its new name instead of `make'.
2336 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2341 # Now try BSD make style include.
2342 if test "$am__include" = "#"; then
2343 echo '.include "confinc"' > confmf
2344 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2345 am__include
=.include
2352 { echo "$as_me:$LINENO: result: $_am_result" >&5
2353 echo "${ECHO_T}$_am_result" >&6; }
2354 rm -f confinc confmf
2356 # Check whether --enable-dependency-tracking was given.
2357 if test "${enable_dependency_tracking+set}" = set; then
2358 enableval
=$enable_dependency_tracking;
2361 if test "x$enable_dependency_tracking" != xno
; then
2362 am_depcomp
="$ac_aux_dir/depcomp"
2367 if test "x$enable_dependency_tracking" != xno; then
2378 ac_cpp
='$CPP $CPPFLAGS'
2379 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2380 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2381 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2382 if test -n "$ac_tool_prefix"; then
2383 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2384 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2387 if test "${ac_cv_prog_CC+set}" = set; then
2388 echo $ECHO_N "(cached) $ECHO_C" >&6
2390 if test -n "$CC"; then
2391 ac_cv_prog_CC
="$CC" # Let the user override the test.
2393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2397 test -z "$as_dir" && as_dir
=.
2398 for ac_exec_ext
in '' $ac_executable_extensions; do
2399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2400 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 if test -n "$CC"; then
2412 { echo "$as_me:$LINENO: result: $CC" >&5
2413 echo "${ECHO_T}$CC" >&6; }
2415 { echo "$as_me:$LINENO: result: no" >&5
2416 echo "${ECHO_T}no" >&6; }
2421 if test -z "$ac_cv_prog_CC"; then
2423 # Extract the first word of "gcc", so it can be a program name with args.
2424 set dummy gcc
; ac_word
=$2
2425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2427 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2430 if test -n "$ac_ct_CC"; then
2431 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2437 test -z "$as_dir" && as_dir
=.
2438 for ac_exec_ext
in '' $ac_executable_extensions; do
2439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440 ac_cv_prog_ac_ct_CC
="gcc"
2441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2451 if test -n "$ac_ct_CC"; then
2452 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2453 echo "${ECHO_T}$ac_ct_CC" >&6; }
2455 { echo "$as_me:$LINENO: result: no" >&5
2456 echo "${ECHO_T}no" >&6; }
2459 if test "x$ac_ct_CC" = x
; then
2462 case $cross_compiling:$ac_tool_warned in
2464 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2465 whose name does not start with the host triplet. If you think this
2466 configuration is useful to you, please write to autoconf@gnu.org." >&5
2467 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2468 whose name does not start with the host triplet. If you think this
2469 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2470 ac_tool_warned
=yes ;;
2478 if test -z "$CC"; then
2479 if test -n "$ac_tool_prefix"; then
2480 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2481 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2484 if test "${ac_cv_prog_CC+set}" = set; then
2485 echo $ECHO_N "(cached) $ECHO_C" >&6
2487 if test -n "$CC"; then
2488 ac_cv_prog_CC
="$CC" # Let the user override the test.
2490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2494 test -z "$as_dir" && as_dir
=.
2495 for ac_exec_ext
in '' $ac_executable_extensions; do
2496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2497 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2508 if test -n "$CC"; then
2509 { echo "$as_me:$LINENO: result: $CC" >&5
2510 echo "${ECHO_T}$CC" >&6; }
2512 { echo "$as_me:$LINENO: result: no" >&5
2513 echo "${ECHO_T}no" >&6; }
2519 if test -z "$CC"; then
2520 # Extract the first word of "cc", so it can be a program name with args.
2521 set dummy cc
; ac_word
=$2
2522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2524 if test "${ac_cv_prog_CC+set}" = set; then
2525 echo $ECHO_N "(cached) $ECHO_C" >&6
2527 if test -n "$CC"; then
2528 ac_cv_prog_CC
="$CC" # Let the user override the test.
2531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2535 test -z "$as_dir" && as_dir
=.
2536 for ac_exec_ext
in '' $ac_executable_extensions; do
2537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2538 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2539 ac_prog_rejected
=yes
2543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 if test $ac_prog_rejected = yes; then
2551 # We found a bogon in the path, so make sure we never use it.
2552 set dummy
$ac_cv_prog_CC
2554 if test $# != 0; then
2555 # We chose a different compiler from the bogus one.
2556 # However, it has the same basename, so the bogon will be chosen
2557 # first if we set CC to just the basename; use the full file name.
2559 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2565 if test -n "$CC"; then
2566 { echo "$as_me:$LINENO: result: $CC" >&5
2567 echo "${ECHO_T}$CC" >&6; }
2569 { echo "$as_me:$LINENO: result: no" >&5
2570 echo "${ECHO_T}no" >&6; }
2575 if test -z "$CC"; then
2576 if test -n "$ac_tool_prefix"; then
2577 for ac_prog
in cl.exe
2579 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2580 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2583 if test "${ac_cv_prog_CC+set}" = set; then
2584 echo $ECHO_N "(cached) $ECHO_C" >&6
2586 if test -n "$CC"; then
2587 ac_cv_prog_CC
="$CC" # Let the user override the test.
2589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2593 test -z "$as_dir" && as_dir
=.
2594 for ac_exec_ext
in '' $ac_executable_extensions; do
2595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2596 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 if test -n "$CC"; then
2608 { echo "$as_me:$LINENO: result: $CC" >&5
2609 echo "${ECHO_T}$CC" >&6; }
2611 { echo "$as_me:$LINENO: result: no" >&5
2612 echo "${ECHO_T}no" >&6; }
2616 test -n "$CC" && break
2619 if test -z "$CC"; then
2621 for ac_prog
in cl.exe
2623 # Extract the first word of "$ac_prog", so it can be a program name with args.
2624 set dummy
$ac_prog; ac_word
=$2
2625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2628 echo $ECHO_N "(cached) $ECHO_C" >&6
2630 if test -n "$ac_ct_CC"; then
2631 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2637 test -z "$as_dir" && as_dir
=.
2638 for ac_exec_ext
in '' $ac_executable_extensions; do
2639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2640 ac_cv_prog_ac_ct_CC
="$ac_prog"
2641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2650 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2651 if test -n "$ac_ct_CC"; then
2652 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2653 echo "${ECHO_T}$ac_ct_CC" >&6; }
2655 { echo "$as_me:$LINENO: result: no" >&5
2656 echo "${ECHO_T}no" >&6; }
2660 test -n "$ac_ct_CC" && break
2663 if test "x$ac_ct_CC" = x
; then
2666 case $cross_compiling:$ac_tool_warned in
2668 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2669 whose name does not start with the host triplet. If you think this
2670 configuration is useful to you, please write to autoconf@gnu.org." >&5
2671 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2672 whose name does not start with the host triplet. If you think this
2673 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2674 ac_tool_warned
=yes ;;
2683 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2684 See \`config.log' for more details." >&5
2685 echo "$as_me: error: no acceptable C compiler found in \$PATH
2686 See \`config.log' for more details." >&2;}
2687 { (exit 1); exit 1; }; }
2689 # Provide some information about the compiler.
2690 echo "$as_me:$LINENO: checking for C compiler version" >&5
2691 ac_compiler
=`set X $ac_compile; echo $2`
2692 { (ac_try
="$ac_compiler --version >&5"
2694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2695 *) ac_try_echo=$ac_try;;
2697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2698 (eval "$ac_compiler --version >&5") 2>&5
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }
2702 { (ac_try="$ac_compiler -v >&5"
2704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2705 *) ac_try_echo
=$ac_try;;
2707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2708 (eval "$ac_compiler -v >&5") 2>&5
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); }
2712 { (ac_try
="$ac_compiler -V >&5"
2714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2718 (eval "$ac_compiler -V >&5") 2>&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); }
2723 cat >conftest.$ac_ext <<_ACEOF
2726 cat confdefs.h >>conftest.$ac_ext
2727 cat >>conftest.$ac_ext <<_ACEOF
2728 /* end confdefs.h. */
2738 ac_clean_files_save=$ac_clean_files
2739 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2740 # Try to create an executable without -o first, disregard a.out.
2741 # It will help us diagnose broken compilers, and finding out an intuition
2743 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2744 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2745 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2747 # List of possible output files, starting from the most likely.
2748 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2749 # only as a last resort. b.out is created by i960 compilers.
2750 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2752 # The IRIX 6 linker writes into existing files which may not be
2753 # executable, retaining their permissions. Remove them first so a
2754 # subsequent execution test works.
2756 for ac_file in $ac_files
2759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2760 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2765 if { (ac_try="$ac_link_default"
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2771 (eval "$ac_link_default") 2>&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); }; then
2775 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2776 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2777 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2778 # so that the user can short-circuit this test for compilers unknown to
2780 for ac_file
in $ac_files ''
2782 test -f "$ac_file" ||
continue
2784 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2787 # We found the default executable, but exeext='' is most
2791 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2793 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2795 # We set ac_cv_exeext here because the later test for it is not
2796 # safe: cross compilers may not add the suffix if given an `-o'
2797 # argument, so we may need to know it at that point already.
2798 # Even if this section looks crufty: it has the advantage of
2805 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2811 { echo "$as_me:$LINENO: result: $ac_file" >&5
2812 echo "${ECHO_T}$ac_file" >&6; }
2813 if test -z "$ac_file"; then
2814 echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.
$ac_ext >&5
2817 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2818 See \`config.log' for more details." >&5
2819 echo "$as_me: error: C compiler cannot create executables
2820 See \`config.log' for more details." >&2;}
2821 { (exit 77); exit 77; }; }
2824 ac_exeext
=$ac_cv_exeext
2826 # Check that the compiler produces executables we can run. If not, either
2827 # the compiler is broken, or we cross compile.
2828 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2829 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2830 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2831 # If not cross compiling, check that we can run a simple program.
2832 if test "$cross_compiling" != yes; then
2833 if { ac_try
='./$ac_file'
2834 { (case "(($ac_try" in
2835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839 (eval "$ac_try") 2>&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; }; then
2845 if test "$cross_compiling" = maybe; then
2848 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2849 If you meant to cross compile, use \`--host'.
2850 See \`config.log' for more details.
" >&5
2851 echo "$as_me: error
: cannot run C compiled programs.
2852 If you meant to cross compile
, use \
`--host'.
2853 See \`config.log
' for more details." >&2;}
2854 { (exit 1); exit 1; }; }
2858 { echo "$as_me:$LINENO: result: yes" >&5
2859 echo "${ECHO_T}yes" >&6; }
2861 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2862 ac_clean_files=$ac_clean_files_save
2863 # Check that the compiler produces executables we can run. If not, either
2864 # the compiler is broken, or we cross compile.
2865 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2866 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2867 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2868 echo "${ECHO_T}$cross_compiling" >&6; }
2870 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2871 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2872 if { (ac_try="$ac_link"
2874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875 *) ac_try_echo=$ac_try;;
2877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2878 (eval "$ac_link") 2>&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }; then
2882 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2883 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2884 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2886 for ac_file
in conftest.exe conftest conftest.
*; do
2887 test -f "$ac_file" ||
continue
2889 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2890 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2896 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2897 See \`config.log' for more details." >&5
2898 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2899 See \`config.log' for more details." >&2;}
2900 { (exit 1); exit 1; }; }
2903 rm -f conftest
$ac_cv_exeext
2904 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2905 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2907 rm -f conftest.
$ac_ext
2908 EXEEXT
=$ac_cv_exeext
2910 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2911 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2912 if test "${ac_cv_objext+set}" = set; then
2913 echo $ECHO_N "(cached) $ECHO_C" >&6
2915 cat >conftest.
$ac_ext <<_ACEOF
2918 cat confdefs.h
>>conftest.
$ac_ext
2919 cat >>conftest.
$ac_ext <<_ACEOF
2920 /* end confdefs.h. */
2930 rm -f conftest.o conftest.obj
2931 if { (ac_try
="$ac_compile"
2933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2934 *) ac_try_echo=$ac_try;;
2936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2937 (eval "$ac_compile") 2>&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; then
2941 for ac_file in conftest.o conftest.obj conftest.*; do
2942 test -f "$ac_file" || continue;
2944 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2945 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2950 echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.$ac_ext >&5
2953 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2954 See \`config.log
' for more details." >&5
2955 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2956 See \`config.log' for more details.
" >&2;}
2957 { (exit 1); exit 1; }; }
2960 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2962 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2963 echo "${ECHO_T}$ac_cv_objext" >&6; }
2964 OBJEXT=$ac_cv_objext
2966 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2967 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2968 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2969 echo $ECHO_N "(cached
) $ECHO_C" >&6
2971 cat >conftest.$ac_ext <<_ACEOF
2974 cat confdefs.h >>conftest.$ac_ext
2975 cat >>conftest.$ac_ext <<_ACEOF
2976 /* end confdefs.h. */
2989 rm -f conftest.$ac_objext
2990 if { (ac_try="$ac_compile"
2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2995 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2996 (eval "$ac_compile") 2>conftest.er1
2998 grep -v '^ *+' conftest.er1 >conftest.err
3000 cat conftest.err >&5
3001 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3002 (exit $ac_status); } && {
3003 test -z "$ac_c_werror_flag" ||
3004 test ! -s conftest.err
3005 } && test -s conftest.$ac_objext; then
3008 echo "$as_me: failed program was
:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3015 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3018 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3019 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3020 GCC=`test $ac_compiler_gnu = yes && echo yes`
3021 ac_test_CFLAGS=${CFLAGS+set}
3022 ac_save_CFLAGS=$CFLAGS
3023 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3024 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3025 if test "${ac_cv_prog_cc_g+set}" = set; then
3026 echo $ECHO_N "(cached
) $ECHO_C" >&6
3028 ac_save_c_werror_flag=$ac_c_werror_flag
3029 ac_c_werror_flag=yes
3032 cat >conftest.$ac_ext <<_ACEOF
3035 cat confdefs.h >>conftest.$ac_ext
3036 cat >>conftest.$ac_ext <<_ACEOF
3037 /* end confdefs.h. */
3047 rm -f conftest.$ac_objext
3048 if { (ac_try="$ac_compile"
3050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051 *) ac_try_echo=$ac_try;;
3053 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3054 (eval "$ac_compile") 2>conftest.er1
3056 grep -v '^ *+' conftest.er1 >conftest.err
3058 cat conftest.err >&5
3059 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3060 (exit $ac_status); } && {
3061 test -z "$ac_c_werror_flag" ||
3062 test ! -s conftest.err
3063 } && test -s conftest.$ac_objext; then
3066 echo "$as_me: failed program was
:" >&5
3067 sed 's/^/| /' conftest.$ac_ext >&5
3070 cat >conftest.$ac_ext <<_ACEOF
3073 cat confdefs.h >>conftest.$ac_ext
3074 cat >>conftest.$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3085 rm -f conftest.$ac_objext
3086 if { (ac_try="$ac_compile"
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3091 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3092 (eval "$ac_compile") 2>conftest.er1
3094 grep -v '^ *+' conftest.er1 >conftest.err
3096 cat conftest.err >&5
3097 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3098 (exit $ac_status); } && {
3099 test -z "$ac_c_werror_flag" ||
3100 test ! -s conftest.err
3101 } && test -s conftest.$ac_objext; then
3104 echo "$as_me: failed program was
:" >&5
3105 sed 's/^/| /' conftest.$ac_ext >&5
3107 ac_c_werror_flag=$ac_save_c_werror_flag
3109 cat >conftest.$ac_ext <<_ACEOF
3112 cat confdefs.h >>conftest.$ac_ext
3113 cat >>conftest.$ac_ext <<_ACEOF
3114 /* end confdefs.h. */
3124 rm -f conftest.$ac_objext
3125 if { (ac_try="$ac_compile"
3127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3128 *) ac_try_echo=$ac_try;;
3130 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3131 (eval "$ac_compile") 2>conftest.er1
3133 grep -v '^ *+' conftest.er1 >conftest.err
3135 cat conftest.err >&5
3136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3137 (exit $ac_status); } && {
3138 test -z "$ac_c_werror_flag" ||
3139 test ! -s conftest.err
3140 } && test -s conftest.$ac_objext; then
3143 echo "$as_me: failed program was
:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 ac_c_werror_flag=$ac_save_c_werror_flag
3158 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3159 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3160 if test "$ac_test_CFLAGS" = set; then
3161 CFLAGS=$ac_save_CFLAGS
3162 elif test $ac_cv_prog_cc_g = yes; then
3163 if test "$GCC" = yes; then
3169 if test "$GCC" = yes; then
3175 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3176 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3177 if test "${ac_cv_prog_cc_c89+set}" = set; then
3178 echo $ECHO_N "(cached
) $ECHO_C" >&6
3180 ac_cv_prog_cc_c89=no
3182 cat >conftest.$ac_ext <<_ACEOF
3185 cat confdefs.h >>conftest.$ac_ext
3186 cat >>conftest.$ac_ext <<_ACEOF
3187 /* end confdefs.h. */
3190 #include <sys/types.h>
3191 #include <sys/stat.h>
3192 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3193 struct buf { int x; };
3194 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3195 static char *e (p, i)
3201 static char *f (char * (*g) (char **, int), char **p, ...)
3206 s = g (p, va_arg (v,int));
3211 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3212 function prototypes and stuff, but not '\xHH' hex character constants.
3213 These don't provoke an error unfortunately, instead are silently treated
3214 as 'x'. The following induces an error, until -std is added to get
3215 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3216 array size at least. It's necessary to write '\x00'==0 to get something
3217 that's true only with -std. */
3218 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3220 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3221 inside strings and character constants. */
3223 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3225 int test (int i, double x);
3226 struct s1 {int (*f) (int a);};
3227 struct s2 {int (*f) (double a);};
3228 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3234 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3239 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3240 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3242 CC="$ac_save_CC $ac_arg"
3243 rm -f conftest.$ac_objext
3244 if { (ac_try="$ac_compile"
3246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3247 *) ac_try_echo=$ac_try;;
3249 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3250 (eval "$ac_compile") 2>conftest.er1
3252 grep -v '^ *+' conftest.er1 >conftest.err
3254 cat conftest.err >&5
3255 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3256 (exit $ac_status); } && {
3257 test -z "$ac_c_werror_flag" ||
3258 test ! -s conftest.err
3259 } && test -s conftest.$ac_objext; then
3260 ac_cv_prog_cc_c89=$ac_arg
3262 echo "$as_me: failed program was
:" >&5
3263 sed 's/^/| /' conftest.$ac_ext >&5
3268 rm -f core conftest.err conftest.$ac_objext
3269 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3271 rm -f conftest.$ac_ext
3276 case "x
$ac_cv_prog_cc_c89" in
3278 { echo "$as_me:$LINENO: result
: none needed
" >&5
3279 echo "${ECHO_T}none needed
" >&6; } ;;
3281 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3282 echo "${ECHO_T}unsupported
" >&6; } ;;
3284 CC="$CC $ac_cv_prog_cc_c89"
3285 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3286 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3291 ac_cpp='$CPP $CPPFLAGS'
3292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3296 depcc="$CC" am_compiler_list=
3298 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3299 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3300 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3301 echo $ECHO_N "(cached
) $ECHO_C" >&6
3303 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3304 # We make a subdir and do the tests there. Otherwise we can end up
3305 # making bogus files that we don't know about and never remove. For
3306 # instance it was reported that on HP-UX the gcc test will end up
3307 # making a dummy file named `D' -- because `-MD' means `put the output
3310 # Copy depcomp to subdir because otherwise we won't find it if we're
3311 # using a relative directory.
3312 cp "$am_depcomp" conftest.dir
3314 # We will build objects and dependencies in a subdirectory because
3315 # it helps to detect inapplicable dependency modes. For instance
3316 # both Tru64's cc and ICC support -MD to output dependencies as a
3317 # side effect of compilation, but ICC will put the dependencies in
3318 # the current directory while Tru64 will put them in the object
3322 am_cv_CC_dependencies_compiler_type=none
3323 if test "$am_compiler_list" = ""; then
3324 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3326 for depmode in $am_compiler_list; do
3327 # Setup a source with many dependencies, because some compilers
3328 # like to wrap large dependency lists on column 80 (with \), and
3329 # we should not choose a depcomp mode which is confused by this.
3331 # We need to recreate these files for each test, as the compiler may
3332 # overwrite some of them when testing with obscure command lines.
3333 # This happens at least with the AIX C compiler.
3335 for i in 1 2 3 4 5 6; do
3336 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3337 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3338 # Solaris 8's {/usr,}/bin/sh.
3339 touch sub/conftst$i.h
3341 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3345 # after this tag, mechanisms are not by side-effect, so they'll
3346 # only be used when explicitly requested
3347 if test "x
$enable_dependency_tracking" = xyes; then
3355 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3356 # mode. It turns out that the SunPro C++ compiler does not properly
3357 # handle `-M -o', and we need to detect this.
3358 if depmode=$depmode \
3359 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3360 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3361 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3362 >/dev/null 2>conftest.err &&
3363 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3364 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3365 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3366 # icc doesn't choke on unknown options, it will just issue warnings
3367 # or remarks (even with -Werror). So we grep stderr for any message
3368 # that says an option was ignored or not supported.
3369 # When given -MP, icc 7.0 and 7.1 complain thusly:
3370 # icc: Command line warning: ignoring option '-M'; no argument required
3371 # The diagnosis changed in icc 8.0:
3372 # icc: Command line remark: option '-MP' not supported
3373 if (grep 'ignoring option' conftest.err ||
3374 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3375 am_cv_CC_dependencies_compiler_type=$depmode
3384 am_cv_CC_dependencies_compiler_type=none
3388 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3389 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3390 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3395 test "x
$enable_dependency_tracking" != xno \
3396 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3398 am__fastdepCC_FALSE='#'
3400 am__fastdepCC_TRUE='#'
3401 am__fastdepCC_FALSE=
3406 { echo "$as_me:$LINENO: checking
for library containing strerror
" >&5
3407 echo $ECHO_N "checking
for library containing strerror...
$ECHO_C" >&6; }
3408 if test "${ac_cv_search_strerror+set}" = set; then
3409 echo $ECHO_N "(cached
) $ECHO_C" >&6
3411 ac_func_search_save_LIBS=$LIBS
3412 cat >conftest.$ac_ext <<_ACEOF
3415 cat confdefs.h >>conftest.$ac_ext
3416 cat >>conftest.$ac_ext <<_ACEOF
3417 /* end confdefs.h. */
3419 /* Override any GCC internal prototype to avoid an error.
3420 Use char because int might match the return type of a GCC
3421 builtin and then its argument prototype would still apply. */
3434 for ac_lib in '' cposix; do
3435 if test -z "$ac_lib"; then
3436 ac_res="none required
"
3439 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3441 rm -f conftest.$ac_objext conftest$ac_exeext
3442 if { (ac_try="$ac_link"
3444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3445 *) ac_try_echo=$ac_try;;
3447 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3448 (eval "$ac_link") 2>conftest.er1
3450 grep -v '^ *+' conftest.er1 >conftest.err
3452 cat conftest.err >&5
3453 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3454 (exit $ac_status); } && {
3455 test -z "$ac_c_werror_flag" ||
3456 test ! -s conftest.err
3457 } && test -s conftest$ac_exeext &&
3458 $as_test_x conftest$ac_exeext; then
3459 ac_cv_search_strerror=$ac_res
3461 echo "$as_me: failed program was
:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3469 if test "${ac_cv_search_strerror+set}" = set; then
3473 if test "${ac_cv_search_strerror+set}" = set; then
3476 ac_cv_search_strerror=no
3479 LIBS=$ac_func_search_save_LIBS
3481 { echo "$as_me:$LINENO: result
: $ac_cv_search_strerror" >&5
3482 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3483 ac_res=$ac_cv_search_strerror
3484 if test "$ac_res" != no; then
3485 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
3490 ac_cpp='$CPP $CPPFLAGS'
3491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3494 if test -n "$ac_tool_prefix"; then
3495 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3496 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3497 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3498 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3499 if test "${ac_cv_prog_CC+set}" = set; then
3500 echo $ECHO_N "(cached
) $ECHO_C" >&6
3502 if test -n "$CC"; then
3503 ac_cv_prog_CC="$CC" # Let the user override the test.
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 test -z "$as_dir" && as_dir=.
3510 for ac_exec_ext in '' $ac_executable_extensions; do
3511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3512 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
3513 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3523 if test -n "$CC"; then
3524 { echo "$as_me:$LINENO: result
: $CC" >&5
3525 echo "${ECHO_T}$CC" >&6; }
3527 { echo "$as_me:$LINENO: result
: no
" >&5
3528 echo "${ECHO_T}no
" >&6; }
3533 if test -z "$ac_cv_prog_CC"; then
3535 # Extract the first word of "gcc
", so it can be a program name with args.
3536 set dummy gcc; ac_word=$2
3537 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3538 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3539 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3540 echo $ECHO_N "(cached
) $ECHO_C" >&6
3542 if test -n "$ac_ct_CC"; then
3543 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3549 test -z "$as_dir" && as_dir=.
3550 for ac_exec_ext in '' $ac_executable_extensions; do
3551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3552 ac_cv_prog_ac_ct_CC="gcc
"
3553 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3562 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3563 if test -n "$ac_ct_CC"; then
3564 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3565 echo "${ECHO_T}$ac_ct_CC" >&6; }
3567 { echo "$as_me:$LINENO: result
: no
" >&5
3568 echo "${ECHO_T}no
" >&6; }
3571 if test "x
$ac_ct_CC" = x; then
3574 case $cross_compiling:$ac_tool_warned in
3576 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3577 whose name does not start with the
host triplet. If you think this
3578 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3579 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3580 whose name does not start with the
host triplet. If you think this
3581 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3582 ac_tool_warned=yes ;;
3590 if test -z "$CC"; then
3591 if test -n "$ac_tool_prefix"; then
3592 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3593 set dummy ${ac_tool_prefix}cc; ac_word=$2
3594 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3595 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3596 if test "${ac_cv_prog_CC+set}" = set; then
3597 echo $ECHO_N "(cached
) $ECHO_C" >&6
3599 if test -n "$CC"; then
3600 ac_cv_prog_CC="$CC" # Let the user override the test.
3602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3606 test -z "$as_dir" && as_dir=.
3607 for ac_exec_ext in '' $ac_executable_extensions; do
3608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3609 ac_cv_prog_CC="${ac_tool_prefix}cc
"
3610 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3620 if test -n "$CC"; then
3621 { echo "$as_me:$LINENO: result
: $CC" >&5
3622 echo "${ECHO_T}$CC" >&6; }
3624 { echo "$as_me:$LINENO: result
: no
" >&5
3625 echo "${ECHO_T}no
" >&6; }
3631 if test -z "$CC"; then
3632 # Extract the first word of "cc
", so it can be a program name with args.
3633 set dummy cc; ac_word=$2
3634 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3635 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3636 if test "${ac_cv_prog_CC+set}" = set; then
3637 echo $ECHO_N "(cached
) $ECHO_C" >&6
3639 if test -n "$CC"; then
3640 ac_cv_prog_CC="$CC" # Let the user override the test.
3643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 test -z "$as_dir" && as_dir=.
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3650 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
3651 ac_prog_rejected=yes
3655 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3662 if test $ac_prog_rejected = yes; then
3663 # We found a bogon in the path, so make sure we never use it.
3664 set dummy $ac_cv_prog_CC
3666 if test $# != 0; then
3667 # We chose a different compiler from the bogus one.
3668 # However, it has the same basename, so the bogon will be chosen
3669 # first if we set CC to just the basename; use the full file name.
3671 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
3677 if test -n "$CC"; then
3678 { echo "$as_me:$LINENO: result
: $CC" >&5
3679 echo "${ECHO_T}$CC" >&6; }
3681 { echo "$as_me:$LINENO: result
: no
" >&5
3682 echo "${ECHO_T}no
" >&6; }
3687 if test -z "$CC"; then
3688 if test -n "$ac_tool_prefix"; then
3689 for ac_prog in cl.exe
3691 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3692 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3693 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3694 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3695 if test "${ac_cv_prog_CC+set}" = set; then
3696 echo $ECHO_N "(cached
) $ECHO_C" >&6
3698 if test -n "$CC"; then
3699 ac_cv_prog_CC="$CC" # Let the user override the test.
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3708 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3709 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3719 if test -n "$CC"; then
3720 { echo "$as_me:$LINENO: result
: $CC" >&5
3721 echo "${ECHO_T}$CC" >&6; }
3723 { echo "$as_me:$LINENO: result
: no
" >&5
3724 echo "${ECHO_T}no
" >&6; }
3728 test -n "$CC" && break
3731 if test -z "$CC"; then
3733 for ac_prog in cl.exe
3735 # Extract the first word of "$ac_prog", so it can be a program name with args.
3736 set dummy $ac_prog; ac_word=$2
3737 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3738 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3739 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3740 echo $ECHO_N "(cached
) $ECHO_C" >&6
3742 if test -n "$ac_ct_CC"; then
3743 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3752 ac_cv_prog_ac_ct_CC="$ac_prog"
3753 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3762 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3763 if test -n "$ac_ct_CC"; then
3764 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3765 echo "${ECHO_T}$ac_ct_CC" >&6; }
3767 { echo "$as_me:$LINENO: result
: no
" >&5
3768 echo "${ECHO_T}no
" >&6; }
3772 test -n "$ac_ct_CC" && break
3775 if test "x
$ac_ct_CC" = x; then
3778 case $cross_compiling:$ac_tool_warned in
3780 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3781 whose name does not start with the
host triplet. If you think this
3782 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3783 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3784 whose name does not start with the
host triplet. If you think this
3785 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3786 ac_tool_warned=yes ;;
3795 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
3796 See \
`config.log' for more details." >&5
3797 echo "$as_me: error: no acceptable C compiler found in \$PATH
3798 See \`config.log
' for more details." >&2;}
3799 { (exit 1); exit 1; }; }
3801 # Provide some information about the compiler.
3802 echo "$as_me:$LINENO: checking for C compiler version" >&5
3803 ac_compiler=`set X $ac_compile; echo $2`
3804 { (ac_try="$ac_compiler --version >&5"
3806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3807 *) ac_try_echo=$ac_try;;
3809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3810 (eval "$ac_compiler --version >&5") 2>&5
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); }
3814 { (ac_try="$ac_compiler -v >&5"
3816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3817 *) ac_try_echo=$ac_try;;
3819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3820 (eval "$ac_compiler -v >&5") 2>&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); }
3824 { (ac_try="$ac_compiler -V >&5"
3826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3827 *) ac_try_echo=$ac_try;;
3829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3830 (eval "$ac_compiler -V >&5") 2>&5
3832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3833 (exit $ac_status); }
3835 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3836 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3837 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3838 echo $ECHO_N "(cached) $ECHO_C" >&6
3840 cat >conftest.$ac_ext <<_ACEOF
3843 cat confdefs.h >>conftest.$ac_ext
3844 cat >>conftest.$ac_ext <<_ACEOF
3845 /* end confdefs.h. */
3858 rm -f conftest.$ac_objext
3859 if { (ac_try="$ac_compile"
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3865 (eval "$ac_compile") 2>conftest.er1
3867 grep -v '^
*+' conftest.er1 >conftest.err
3869 cat conftest.err >&5
3870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3871 (exit $ac_status); } && {
3872 test -z "$ac_c_werror_flag" ||
3873 test ! -s conftest.err
3874 } && test -s conftest.$ac_objext; then
3877 echo "$as_me: failed program was:" >&5
3878 sed 's
/^
/|
/' conftest.$ac_ext >&5
3883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3884 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3887 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3888 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3889 GCC=`test $ac_compiler_gnu = yes && echo yes`
3890 ac_test_CFLAGS=${CFLAGS+set}
3891 ac_save_CFLAGS=$CFLAGS
3892 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3893 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3894 if test "${ac_cv_prog_cc_g+set}" = set; then
3895 echo $ECHO_N "(cached) $ECHO_C" >&6
3897 ac_save_c_werror_flag=$ac_c_werror_flag
3898 ac_c_werror_flag=yes
3901 cat >conftest.$ac_ext <<_ACEOF
3904 cat confdefs.h >>conftest.$ac_ext
3905 cat >>conftest.$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3916 rm -f conftest.$ac_objext
3917 if { (ac_try="$ac_compile"
3919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3920 *) ac_try_echo=$ac_try;;
3922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3923 (eval "$ac_compile") 2>conftest.er1
3925 grep -v '^
*+' conftest.er1 >conftest.err
3927 cat conftest.err >&5
3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); } && {
3930 test -z "$ac_c_werror_flag" ||
3931 test ! -s conftest.err
3932 } && test -s conftest.$ac_objext; then
3935 echo "$as_me: failed program was:" >&5
3936 sed 's
/^
/|
/' conftest.$ac_ext >&5
3939 cat >conftest.$ac_ext <<_ACEOF
3942 cat confdefs.h >>conftest.$ac_ext
3943 cat >>conftest.$ac_ext <<_ACEOF
3944 /* end confdefs.h. */
3954 rm -f conftest.$ac_objext
3955 if { (ac_try="$ac_compile"
3957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958 *) ac_try_echo=$ac_try;;
3960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3961 (eval "$ac_compile") 2>conftest.er1
3963 grep -v '^
*+' conftest.er1 >conftest.err
3965 cat conftest.err >&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); } && {
3968 test -z "$ac_c_werror_flag" ||
3969 test ! -s conftest.err
3970 } && test -s conftest.$ac_objext; then
3973 echo "$as_me: failed program was:" >&5
3974 sed 's
/^
/|
/' conftest.$ac_ext >&5
3976 ac_c_werror_flag=$ac_save_c_werror_flag
3978 cat >conftest.$ac_ext <<_ACEOF
3981 cat confdefs.h >>conftest.$ac_ext
3982 cat >>conftest.$ac_ext <<_ACEOF
3983 /* end confdefs.h. */
3993 rm -f conftest.$ac_objext
3994 if { (ac_try="$ac_compile"
3996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3997 *) ac_try_echo=$ac_try;;
3999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4000 (eval "$ac_compile") 2>conftest.er1
4002 grep -v '^
*+' conftest.er1 >conftest.err
4004 cat conftest.err >&5
4005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4006 (exit $ac_status); } && {
4007 test -z "$ac_c_werror_flag" ||
4008 test ! -s conftest.err
4009 } && test -s conftest.$ac_objext; then
4012 echo "$as_me: failed program was:" >&5
4013 sed 's
/^
/|
/' conftest.$ac_ext >&5
4018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4025 ac_c_werror_flag=$ac_save_c_werror_flag
4027 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4028 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4029 if test "$ac_test_CFLAGS" = set; then
4030 CFLAGS=$ac_save_CFLAGS
4031 elif test $ac_cv_prog_cc_g = yes; then
4032 if test "$GCC" = yes; then
4038 if test "$GCC" = yes; then
4044 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4045 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4046 if test "${ac_cv_prog_cc_c89+set}" = set; then
4047 echo $ECHO_N "(cached) $ECHO_C" >&6
4049 ac_cv_prog_cc_c89=no
4051 cat >conftest.$ac_ext <<_ACEOF
4054 cat confdefs.h >>conftest.$ac_ext
4055 cat >>conftest.$ac_ext <<_ACEOF
4056 /* end confdefs.h. */
4059 #include <sys/types.h>
4060 #include <sys/stat.h>
4061 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4062 struct buf
{ int x
; };
4063 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4064 static char
*e
(p
, i
)
4070 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4075 s
= g
(p
, va_arg
(v
,int
));
4080 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
4081 function prototypes and stuff
, but not
'\xHH' hex character constants.
4082 These don
't provoke an error unfortunately, instead are silently treated
4083 as 'x
'. The following induces an error, until -std is added to get
4084 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4085 array size at least. It's necessary to
write '\x00'==0 to get something
4086 that
's true only with -std. */
4087 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4089 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4090 inside strings and character constants. */
4092 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4094 int test (int i, double x);
4095 struct s1 {int (*f) (int a);};
4096 struct s2 {int (*f) (double a);};
4097 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4103 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4108 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4109 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4111 CC="$ac_save_CC $ac_arg"
4112 rm -f conftest.$ac_objext
4113 if { (ac_try="$ac_compile"
4115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4116 *) ac_try_echo=$ac_try;;
4118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4119 (eval "$ac_compile") 2>conftest.er1
4121 grep -v '^
*+' conftest.er1 >conftest.err
4123 cat conftest.err >&5
4124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4125 (exit $ac_status); } && {
4126 test -z "$ac_c_werror_flag" ||
4127 test ! -s conftest.err
4128 } && test -s conftest.$ac_objext; then
4129 ac_cv_prog_cc_c89=$ac_arg
4131 echo "$as_me: failed program was:" >&5
4132 sed 's
/^
/|
/' conftest.$ac_ext >&5
4137 rm -f core conftest.err conftest.$ac_objext
4138 test "x$ac_cv_prog_cc_c89" != "xno" && break
4140 rm -f conftest.$ac_ext
4145 case "x$ac_cv_prog_cc_c89" in
4147 { echo "$as_me:$LINENO: result: none needed" >&5
4148 echo "${ECHO_T}none needed" >&6; } ;;
4150 { echo "$as_me:$LINENO: result: unsupported" >&5
4151 echo "${ECHO_T}unsupported" >&6; } ;;
4153 CC="$CC $ac_cv_prog_cc_c89"
4154 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4155 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4160 ac_cpp='$CPP $CPPFLAGS'
4161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4162 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4165 depcc="$CC" am_compiler_list=
4167 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4168 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4169 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4170 echo $ECHO_N "(cached) $ECHO_C" >&6
4172 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4173 # We make a subdir and do the tests there. Otherwise we can end up
4174 # making bogus files that we don't know about and never remove. For
4175 # instance it was reported that on HP-UX the gcc test will end up
4176 # making a dummy file named `D' -- because `-MD' means `put the output
4179 # Copy depcomp to subdir because otherwise we won't find it if we're
4180 # using a relative directory.
4181 cp "$am_depcomp" conftest.dir
4183 # We will build objects and dependencies in a subdirectory because
4184 # it helps to detect inapplicable dependency modes. For instance
4185 # both Tru64's cc and ICC support -MD to output dependencies as a
4186 # side effect of compilation, but ICC will put the dependencies in
4187 # the current directory while Tru64 will put them in the object
4191 am_cv_CC_dependencies_compiler_type
=none
4192 if test "$am_compiler_list" = ""; then
4193 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4195 for depmode
in $am_compiler_list; do
4196 # Setup a source with many dependencies, because some compilers
4197 # like to wrap large dependency lists on column 80 (with \), and
4198 # we should not choose a depcomp mode which is confused by this.
4200 # We need to recreate these files for each test, as the compiler may
4201 # overwrite some of them when testing with obscure command lines.
4202 # This happens at least with the AIX C compiler.
4204 for i
in 1 2 3 4 5 6; do
4205 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4206 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4207 # Solaris 8's {/usr,}/bin/sh.
4208 touch sub
/conftst
$i.h
4210 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4214 # after this tag, mechanisms are not by side-effect, so they'll
4215 # only be used when explicitly requested
4216 if test "x$enable_dependency_tracking" = xyes
; then
4224 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4225 # mode. It turns out that the SunPro C++ compiler does not properly
4226 # handle `-M -o', and we need to detect this.
4227 if depmode
=$depmode \
4228 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4229 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4230 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4231 >/dev
/null
2>conftest.err
&&
4232 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4233 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4234 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4235 # icc doesn't choke on unknown options, it will just issue warnings
4236 # or remarks (even with -Werror). So we grep stderr for any message
4237 # that says an option was ignored or not supported.
4238 # When given -MP, icc 7.0 and 7.1 complain thusly:
4239 # icc: Command line warning: ignoring option '-M'; no argument required
4240 # The diagnosis changed in icc 8.0:
4241 # icc: Command line remark: option '-MP' not supported
4242 if (grep 'ignoring option' conftest.err ||
4243 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4244 am_cv_CC_dependencies_compiler_type
=$depmode
4253 am_cv_CC_dependencies_compiler_type
=none
4257 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4258 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4259 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4264 test "x$enable_dependency_tracking" != xno \
4265 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4267 am__fastdepCC_FALSE
='#'
4269 am__fastdepCC_TRUE
='#'
4270 am__fastdepCC_FALSE
=
4275 ac_cpp
='$CPP $CPPFLAGS'
4276 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4277 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4278 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4279 if test -n "$ac_tool_prefix"; then
4280 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4281 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4284 if test "${ac_cv_prog_CC+set}" = set; then
4285 echo $ECHO_N "(cached) $ECHO_C" >&6
4287 if test -n "$CC"; then
4288 ac_cv_prog_CC
="$CC" # Let the user override the test.
4290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4294 test -z "$as_dir" && as_dir
=.
4295 for ac_exec_ext
in '' $ac_executable_extensions; do
4296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4297 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4308 if test -n "$CC"; then
4309 { echo "$as_me:$LINENO: result: $CC" >&5
4310 echo "${ECHO_T}$CC" >&6; }
4312 { echo "$as_me:$LINENO: result: no" >&5
4313 echo "${ECHO_T}no" >&6; }
4318 if test -z "$ac_cv_prog_CC"; then
4320 # Extract the first word of "gcc", so it can be a program name with args.
4321 set dummy gcc
; ac_word
=$2
4322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4324 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 if test -n "$ac_ct_CC"; then
4328 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4334 test -z "$as_dir" && as_dir
=.
4335 for ac_exec_ext
in '' $ac_executable_extensions; do
4336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4337 ac_cv_prog_ac_ct_CC
="gcc"
4338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4347 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4348 if test -n "$ac_ct_CC"; then
4349 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4350 echo "${ECHO_T}$ac_ct_CC" >&6; }
4352 { echo "$as_me:$LINENO: result: no" >&5
4353 echo "${ECHO_T}no" >&6; }
4356 if test "x$ac_ct_CC" = x
; then
4359 case $cross_compiling:$ac_tool_warned in
4361 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4362 whose name does not start with the host triplet. If you think this
4363 configuration is useful to you, please write to autoconf@gnu.org." >&5
4364 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4365 whose name does not start with the host triplet. If you think this
4366 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4367 ac_tool_warned
=yes ;;
4375 if test -z "$CC"; then
4376 if test -n "$ac_tool_prefix"; then
4377 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4378 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4381 if test "${ac_cv_prog_CC+set}" = set; then
4382 echo $ECHO_N "(cached) $ECHO_C" >&6
4384 if test -n "$CC"; then
4385 ac_cv_prog_CC
="$CC" # Let the user override the test.
4387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4391 test -z "$as_dir" && as_dir
=.
4392 for ac_exec_ext
in '' $ac_executable_extensions; do
4393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4394 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4405 if test -n "$CC"; then
4406 { echo "$as_me:$LINENO: result: $CC" >&5
4407 echo "${ECHO_T}$CC" >&6; }
4409 { echo "$as_me:$LINENO: result: no" >&5
4410 echo "${ECHO_T}no" >&6; }
4416 if test -z "$CC"; then
4417 # Extract the first word of "cc", so it can be a program name with args.
4418 set dummy cc
; ac_word
=$2
4419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4421 if test "${ac_cv_prog_CC+set}" = set; then
4422 echo $ECHO_N "(cached) $ECHO_C" >&6
4424 if test -n "$CC"; then
4425 ac_cv_prog_CC
="$CC" # Let the user override the test.
4428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4432 test -z "$as_dir" && as_dir
=.
4433 for ac_exec_ext
in '' $ac_executable_extensions; do
4434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4435 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4436 ac_prog_rejected
=yes
4440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4447 if test $ac_prog_rejected = yes; then
4448 # We found a bogon in the path, so make sure we never use it.
4449 set dummy
$ac_cv_prog_CC
4451 if test $# != 0; then
4452 # We chose a different compiler from the bogus one.
4453 # However, it has the same basename, so the bogon will be chosen
4454 # first if we set CC to just the basename; use the full file name.
4456 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4462 if test -n "$CC"; then
4463 { echo "$as_me:$LINENO: result: $CC" >&5
4464 echo "${ECHO_T}$CC" >&6; }
4466 { echo "$as_me:$LINENO: result: no" >&5
4467 echo "${ECHO_T}no" >&6; }
4472 if test -z "$CC"; then
4473 if test -n "$ac_tool_prefix"; then
4474 for ac_prog
in cl.exe
4476 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4477 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4478 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4479 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4480 if test "${ac_cv_prog_CC+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 if test -n "$CC"; then
4484 ac_cv_prog_CC
="$CC" # Let the user override the test.
4486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir
=.
4491 for ac_exec_ext
in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4504 if test -n "$CC"; then
4505 { echo "$as_me:$LINENO: result: $CC" >&5
4506 echo "${ECHO_T}$CC" >&6; }
4508 { echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6; }
4513 test -n "$CC" && break
4516 if test -z "$CC"; then
4518 for ac_prog
in cl.exe
4520 # Extract the first word of "$ac_prog", so it can be a program name with args.
4521 set dummy
$ac_prog; ac_word
=$2
4522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4524 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4525 echo $ECHO_N "(cached) $ECHO_C" >&6
4527 if test -n "$ac_ct_CC"; then
4528 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4534 test -z "$as_dir" && as_dir
=.
4535 for ac_exec_ext
in '' $ac_executable_extensions; do
4536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4537 ac_cv_prog_ac_ct_CC
="$ac_prog"
4538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4547 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4548 if test -n "$ac_ct_CC"; then
4549 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4550 echo "${ECHO_T}$ac_ct_CC" >&6; }
4552 { echo "$as_me:$LINENO: result: no" >&5
4553 echo "${ECHO_T}no" >&6; }
4557 test -n "$ac_ct_CC" && break
4560 if test "x$ac_ct_CC" = x
; then
4563 case $cross_compiling:$ac_tool_warned in
4565 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4566 whose name does not start with the host triplet. If you think this
4567 configuration is useful to you, please write to autoconf@gnu.org." >&5
4568 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4569 whose name does not start with the host triplet. If you think this
4570 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4571 ac_tool_warned
=yes ;;
4580 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4581 See \`config.log' for more details." >&5
4582 echo "$as_me: error: no acceptable C compiler found in \$PATH
4583 See \`config.log' for more details." >&2;}
4584 { (exit 1); exit 1; }; }
4586 # Provide some information about the compiler.
4587 echo "$as_me:$LINENO: checking for C compiler version" >&5
4588 ac_compiler
=`set X $ac_compile; echo $2`
4589 { (ac_try
="$ac_compiler --version >&5"
4591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4592 *) ac_try_echo=$ac_try;;
4594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4595 (eval "$ac_compiler --version >&5") 2>&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); }
4599 { (ac_try="$ac_compiler -v >&5"
4601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4602 *) ac_try_echo
=$ac_try;;
4604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4605 (eval "$ac_compiler -v >&5") 2>&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); }
4609 { (ac_try
="$ac_compiler -V >&5"
4611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4612 *) ac_try_echo=$ac_try;;
4614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4615 (eval "$ac_compiler -V >&5") 2>&5
4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618 (exit $ac_status); }
4620 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4621 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4622 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 cat >conftest.$ac_ext <<_ACEOF
4628 cat confdefs.h >>conftest.$ac_ext
4629 cat >>conftest.$ac_ext <<_ACEOF
4630 /* end confdefs.h. */
4643 rm -f conftest.$ac_objext
4644 if { (ac_try="$ac_compile"
4646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4647 *) ac_try_echo
=$ac_try;;
4649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4650 (eval "$ac_compile") 2>conftest.er1
4652 grep -v '^ *+' conftest.er1
>conftest.err
4654 cat conftest.err
>&5
4655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656 (exit $ac_status); } && {
4657 test -z "$ac_c_werror_flag" ||
4658 test ! -s conftest.err
4659 } && test -s conftest.
$ac_objext; then
4662 echo "$as_me: failed program was:" >&5
4663 sed 's/^/| /' conftest.
$ac_ext >&5
4668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4669 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4672 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4673 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4674 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4675 ac_test_CFLAGS
=${CFLAGS+set}
4676 ac_save_CFLAGS
=$CFLAGS
4677 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4678 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4679 if test "${ac_cv_prog_cc_g+set}" = set; then
4680 echo $ECHO_N "(cached) $ECHO_C" >&6
4682 ac_save_c_werror_flag
=$ac_c_werror_flag
4683 ac_c_werror_flag
=yes
4686 cat >conftest.
$ac_ext <<_ACEOF
4689 cat confdefs.h
>>conftest.
$ac_ext
4690 cat >>conftest.
$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4701 rm -f conftest.
$ac_objext
4702 if { (ac_try
="$ac_compile"
4704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4705 *) ac_try_echo=$ac_try;;
4707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4708 (eval "$ac_compile") 2>conftest.er1
4710 grep -v '^ *+' conftest.er1 >conftest.err
4712 cat conftest.err >&5
4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714 (exit $ac_status); } && {
4715 test -z "$ac_c_werror_flag" ||
4716 test ! -s conftest.err
4717 } && test -s conftest.$ac_objext; then
4720 echo "$as_me: failed program was:" >&5
4721 sed 's/^/| /' conftest.$ac_ext >&5
4724 cat >conftest.$ac_ext <<_ACEOF
4727 cat confdefs.h >>conftest.$ac_ext
4728 cat >>conftest.$ac_ext <<_ACEOF
4729 /* end confdefs.h. */
4739 rm -f conftest.$ac_objext
4740 if { (ac_try="$ac_compile"
4742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4743 *) ac_try_echo
=$ac_try;;
4745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4746 (eval "$ac_compile") 2>conftest.er1
4748 grep -v '^ *+' conftest.er1
>conftest.err
4750 cat conftest.err
>&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); } && {
4753 test -z "$ac_c_werror_flag" ||
4754 test ! -s conftest.err
4755 } && test -s conftest.
$ac_objext; then
4758 echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.
$ac_ext >&5
4761 ac_c_werror_flag
=$ac_save_c_werror_flag
4763 cat >conftest.
$ac_ext <<_ACEOF
4766 cat confdefs.h
>>conftest.
$ac_ext
4767 cat >>conftest.
$ac_ext <<_ACEOF
4768 /* end confdefs.h. */
4778 rm -f conftest.
$ac_objext
4779 if { (ac_try
="$ac_compile"
4781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4782 *) ac_try_echo=$ac_try;;
4784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4785 (eval "$ac_compile") 2>conftest.er1
4787 grep -v '^ *+' conftest.er1 >conftest.err
4789 cat conftest.err >&5
4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); } && {
4792 test -z "$ac_c_werror_flag" ||
4793 test ! -s conftest.err
4794 } && test -s conftest.$ac_objext; then
4797 echo "$as_me: failed program was:" >&5
4798 sed 's/^/| /' conftest.$ac_ext >&5
4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4810 ac_c_werror_flag=$ac_save_c_werror_flag
4812 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4813 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4814 if test "$ac_test_CFLAGS" = set; then
4815 CFLAGS=$ac_save_CFLAGS
4816 elif test $ac_cv_prog_cc_g = yes; then
4817 if test "$GCC" = yes; then
4823 if test "$GCC" = yes; then
4829 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4830 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4831 if test "${ac_cv_prog_cc_c89+set}" = set; then
4832 echo $ECHO_N "(cached) $ECHO_C" >&6
4834 ac_cv_prog_cc_c89=no
4836 cat >conftest.$ac_ext <<_ACEOF
4839 cat confdefs.h >>conftest.$ac_ext
4840 cat >>conftest.$ac_ext <<_ACEOF
4841 /* end confdefs.h. */
4844 #include <sys/types.h>
4845 #include <sys/stat.h>
4846 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4847 struct buf { int x; };
4848 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4849 static char *e (p, i)
4855 static char *f (char * (*g) (char **, int), char **p, ...)
4860 s = g (p, va_arg (v,int));
4865 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4866 function prototypes and stuff, but not '\xHH' hex character constants.
4867 These don't provoke an error unfortunately, instead are silently treated
4868 as 'x'. The following induces an error, until -std is added to get
4869 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4870 array size at least. It's necessary to write '\x00'==0 to get something
4871 that's true only with -std. */
4872 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4874 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4875 inside strings and character constants. */
4877 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4879 int test (int i, double x);
4880 struct s1 {int (*f) (int a);};
4881 struct s2 {int (*f) (double a);};
4882 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4888 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4893 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4894 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4896 CC="$ac_save_CC $ac_arg"
4897 rm -f conftest.$ac_objext
4898 if { (ac_try="$ac_compile"
4900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4901 *) ac_try_echo
=$ac_try;;
4903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4904 (eval "$ac_compile") 2>conftest.er1
4906 grep -v '^ *+' conftest.er1
>conftest.err
4908 cat conftest.err
>&5
4909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4910 (exit $ac_status); } && {
4911 test -z "$ac_c_werror_flag" ||
4912 test ! -s conftest.err
4913 } && test -s conftest.
$ac_objext; then
4914 ac_cv_prog_cc_c89
=$ac_arg
4916 echo "$as_me: failed program was:" >&5
4917 sed 's/^/| /' conftest.
$ac_ext >&5
4922 rm -f core conftest.err conftest.
$ac_objext
4923 test "x$ac_cv_prog_cc_c89" != "xno" && break
4925 rm -f conftest.
$ac_ext
4930 case "x$ac_cv_prog_cc_c89" in
4932 { echo "$as_me:$LINENO: result: none needed" >&5
4933 echo "${ECHO_T}none needed" >&6; } ;;
4935 { echo "$as_me:$LINENO: result: unsupported" >&5
4936 echo "${ECHO_T}unsupported" >&6; } ;;
4938 CC
="$CC $ac_cv_prog_cc_c89"
4939 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4940 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4945 ac_cpp
='$CPP $CPPFLAGS'
4946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4950 depcc
="$CC" am_compiler_list
=
4952 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4953 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4954 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4955 echo $ECHO_N "(cached) $ECHO_C" >&6
4957 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4958 # We make a subdir and do the tests there. Otherwise we can end up
4959 # making bogus files that we don't know about and never remove. For
4960 # instance it was reported that on HP-UX the gcc test will end up
4961 # making a dummy file named `D' -- because `-MD' means `put the output
4964 # Copy depcomp to subdir because otherwise we won't find it if we're
4965 # using a relative directory.
4966 cp "$am_depcomp" conftest.dir
4968 # We will build objects and dependencies in a subdirectory because
4969 # it helps to detect inapplicable dependency modes. For instance
4970 # both Tru64's cc and ICC support -MD to output dependencies as a
4971 # side effect of compilation, but ICC will put the dependencies in
4972 # the current directory while Tru64 will put them in the object
4976 am_cv_CC_dependencies_compiler_type
=none
4977 if test "$am_compiler_list" = ""; then
4978 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4980 for depmode
in $am_compiler_list; do
4981 # Setup a source with many dependencies, because some compilers
4982 # like to wrap large dependency lists on column 80 (with \), and
4983 # we should not choose a depcomp mode which is confused by this.
4985 # We need to recreate these files for each test, as the compiler may
4986 # overwrite some of them when testing with obscure command lines.
4987 # This happens at least with the AIX C compiler.
4989 for i
in 1 2 3 4 5 6; do
4990 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4991 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4992 # Solaris 8's {/usr,}/bin/sh.
4993 touch sub
/conftst
$i.h
4995 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4999 # after this tag, mechanisms are not by side-effect, so they'll
5000 # only be used when explicitly requested
5001 if test "x$enable_dependency_tracking" = xyes
; then
5009 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5010 # mode. It turns out that the SunPro C++ compiler does not properly
5011 # handle `-M -o', and we need to detect this.
5012 if depmode
=$depmode \
5013 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5014 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5015 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5016 >/dev
/null
2>conftest.err
&&
5017 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5018 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5019 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5020 # icc doesn't choke on unknown options, it will just issue warnings
5021 # or remarks (even with -Werror). So we grep stderr for any message
5022 # that says an option was ignored or not supported.
5023 # When given -MP, icc 7.0 and 7.1 complain thusly:
5024 # icc: Command line warning: ignoring option '-M'; no argument required
5025 # The diagnosis changed in icc 8.0:
5026 # icc: Command line remark: option '-MP' not supported
5027 if (grep 'ignoring option' conftest.err ||
5028 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5029 am_cv_CC_dependencies_compiler_type
=$depmode
5038 am_cv_CC_dependencies_compiler_type
=none
5042 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5043 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5044 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5049 test "x$enable_dependency_tracking" != xno \
5050 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5052 am__fastdepCC_FALSE
='#'
5054 am__fastdepCC_TRUE
='#'
5055 am__fastdepCC_FALSE
=
5060 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
5063 ac_cpp
='$CPP $CPPFLAGS'
5064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5067 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5068 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5069 # On Suns, sometimes $CPP names a directory.
5070 if test -n "$CPP" && test -d "$CPP"; then
5073 if test -z "$CPP"; then
5074 if test "${ac_cv_prog_CPP+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5077 # Double quotes because CPP needs to be expanded
5078 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5081 for ac_c_preproc_warn_flag
in '' yes
5083 # Use a header file that comes with gcc, so configuring glibc
5084 # with a fresh cross-compiler works.
5085 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5086 # <limits.h> exists even on freestanding compilers.
5087 # On the NeXT, cc -E runs the code through the compiler's parser,
5088 # not just through cpp. "Syntax error" is here to catch this case.
5089 cat >conftest.
$ac_ext <<_ACEOF
5092 cat confdefs.h
>>conftest.
$ac_ext
5093 cat >>conftest.
$ac_ext <<_ACEOF
5094 /* end confdefs.h. */
5096 # include <limits.h>
5098 # include <assert.h>
5102 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5105 *) ac_try_echo=$ac_try;;
5107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5108 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5110 grep -v '^ *+' conftest.er1 >conftest.err
5112 cat conftest.err >&5
5113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114 (exit $ac_status); } >/dev/null && {
5115 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5116 test ! -s conftest.err
5120 echo "$as_me: failed program was:" >&5
5121 sed 's/^/| /' conftest.$ac_ext >&5
5123 # Broken: fails on valid input.
5127 rm -f conftest.err conftest.$ac_ext
5129 # OK, works on sane cases. Now check whether nonexistent headers
5130 # can be detected and how.
5131 cat >conftest.$ac_ext <<_ACEOF
5134 cat confdefs.h >>conftest.$ac_ext
5135 cat >>conftest.$ac_ext <<_ACEOF
5136 /* end confdefs.h. */
5137 #include <ac_nonexistent.h>
5139 if { (ac_try="$ac_cpp conftest.$ac_ext"
5141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5142 *) ac_try_echo
=$ac_try;;
5144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5145 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5147 grep -v '^ *+' conftest.er1
>conftest.err
5149 cat conftest.err
>&5
5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 (exit $ac_status); } >/dev
/null
&& {
5152 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5153 test ! -s conftest.err
5155 # Broken: success on invalid input.
5158 echo "$as_me: failed program was:" >&5
5159 sed 's/^/| /' conftest.
$ac_ext >&5
5161 # Passes both tests.
5166 rm -f conftest.err conftest.
$ac_ext
5169 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5170 rm -f conftest.err conftest.
$ac_ext
5171 if $ac_preproc_ok; then
5183 { echo "$as_me:$LINENO: result: $CPP" >&5
5184 echo "${ECHO_T}$CPP" >&6; }
5186 for ac_c_preproc_warn_flag
in '' yes
5188 # Use a header file that comes with gcc, so configuring glibc
5189 # with a fresh cross-compiler works.
5190 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5191 # <limits.h> exists even on freestanding compilers.
5192 # On the NeXT, cc -E runs the code through the compiler's parser,
5193 # not just through cpp. "Syntax error" is here to catch this case.
5194 cat >conftest.
$ac_ext <<_ACEOF
5197 cat confdefs.h
>>conftest.
$ac_ext
5198 cat >>conftest.
$ac_ext <<_ACEOF
5199 /* end confdefs.h. */
5201 # include <limits.h>
5203 # include <assert.h>
5207 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5210 *) ac_try_echo=$ac_try;;
5212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5213 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5215 grep -v '^ *+' conftest.er1 >conftest.err
5217 cat conftest.err >&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } >/dev/null && {
5220 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5221 test ! -s conftest.err
5225 echo "$as_me: failed program was:" >&5
5226 sed 's/^/| /' conftest.$ac_ext >&5
5228 # Broken: fails on valid input.
5232 rm -f conftest.err conftest.$ac_ext
5234 # OK, works on sane cases. Now check whether nonexistent headers
5235 # can be detected and how.
5236 cat >conftest.$ac_ext <<_ACEOF
5239 cat confdefs.h >>conftest.$ac_ext
5240 cat >>conftest.$ac_ext <<_ACEOF
5241 /* end confdefs.h. */
5242 #include <ac_nonexistent.h>
5244 if { (ac_try="$ac_cpp conftest.$ac_ext"
5246 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5247 *) ac_try_echo
=$ac_try;;
5249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5250 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5252 grep -v '^ *+' conftest.er1
>conftest.err
5254 cat conftest.err
>&5
5255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5256 (exit $ac_status); } >/dev
/null
&& {
5257 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5258 test ! -s conftest.err
5260 # Broken: success on invalid input.
5263 echo "$as_me: failed program was:" >&5
5264 sed 's/^/| /' conftest.
$ac_ext >&5
5266 # Passes both tests.
5271 rm -f conftest.err conftest.
$ac_ext
5274 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5275 rm -f conftest.err conftest.
$ac_ext
5276 if $ac_preproc_ok; then
5279 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5280 See \`config.log' for more details." >&5
5281 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5282 See \`config.log' for more details." >&2;}
5283 { (exit 1); exit 1; }; }
5287 ac_cpp
='$CPP $CPPFLAGS'
5288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5293 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5294 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5295 if test "${ac_cv_path_GREP+set}" = set; then
5296 echo $ECHO_N "(cached) $ECHO_C" >&6
5298 # Extract the first word of "grep ggrep" to use in msg output
5299 if test -z "$GREP"; then
5300 set dummy
grep ggrep
; ac_prog_name
=$2
5301 if test "${ac_cv_path_GREP+set}" = set; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 ac_path_GREP_found
=false
5305 # Loop through the user's path and test for each of PROGNAME-LIST
5306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5307 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5310 test -z "$as_dir" && as_dir
=.
5311 for ac_prog
in grep ggrep
; do
5312 for ac_exec_ext
in '' $ac_executable_extensions; do
5313 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5314 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5315 # Check for GNU ac_path_GREP and select it if it is found.
5316 # Check for GNU $ac_path_GREP
5317 case `"$ac_path_GREP" --version 2>&1` in
5319 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5322 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5325 cat "conftest.in" "conftest.in" >"conftest.tmp"
5326 mv "conftest.tmp" "conftest.in"
5327 cp "conftest.in" "conftest.nl"
5328 echo 'GREP' >> "conftest.nl"
5329 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5330 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5331 ac_count
=`expr $ac_count + 1`
5332 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5333 # Best one so far, save it but keep looking for a better one
5334 ac_cv_path_GREP
="$ac_path_GREP"
5335 ac_path_GREP_max
=$ac_count
5337 # 10*(2^10) chars as input seems more than enough
5338 test $ac_count -gt 10 && break
5340 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5344 $ac_path_GREP_found && break 3
5354 GREP
="$ac_cv_path_GREP"
5355 if test -z "$GREP"; then
5356 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5357 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5358 { (exit 1); exit 1; }; }
5362 ac_cv_path_GREP
=$GREP
5367 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5368 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5369 GREP
="$ac_cv_path_GREP"
5372 { echo "$as_me:$LINENO: checking for egrep" >&5
5373 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5374 if test "${ac_cv_path_EGREP+set}" = set; then
5375 echo $ECHO_N "(cached) $ECHO_C" >&6
5377 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5378 then ac_cv_path_EGREP
="$GREP -E"
5380 # Extract the first word of "egrep" to use in msg output
5381 if test -z "$EGREP"; then
5382 set dummy
egrep; ac_prog_name
=$2
5383 if test "${ac_cv_path_EGREP+set}" = set; then
5384 echo $ECHO_N "(cached) $ECHO_C" >&6
5386 ac_path_EGREP_found
=false
5387 # Loop through the user's path and test for each of PROGNAME-LIST
5388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5389 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5392 test -z "$as_dir" && as_dir
=.
5393 for ac_prog
in egrep; do
5394 for ac_exec_ext
in '' $ac_executable_extensions; do
5395 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5396 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5397 # Check for GNU ac_path_EGREP and select it if it is found.
5398 # Check for GNU $ac_path_EGREP
5399 case `"$ac_path_EGREP" --version 2>&1` in
5401 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5404 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5407 cat "conftest.in" "conftest.in" >"conftest.tmp"
5408 mv "conftest.tmp" "conftest.in"
5409 cp "conftest.in" "conftest.nl"
5410 echo 'EGREP' >> "conftest.nl"
5411 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5412 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5413 ac_count
=`expr $ac_count + 1`
5414 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5415 # Best one so far, save it but keep looking for a better one
5416 ac_cv_path_EGREP
="$ac_path_EGREP"
5417 ac_path_EGREP_max
=$ac_count
5419 # 10*(2^10) chars as input seems more than enough
5420 test $ac_count -gt 10 && break
5422 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5426 $ac_path_EGREP_found && break 3
5436 EGREP
="$ac_cv_path_EGREP"
5437 if test -z "$EGREP"; then
5438 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5439 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5440 { (exit 1); exit 1; }; }
5444 ac_cv_path_EGREP
=$EGREP
5450 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5451 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5452 EGREP
="$ac_cv_path_EGREP"
5455 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5456 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5457 if test "${ac_cv_header_stdc+set}" = set; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 cat >conftest.
$ac_ext <<_ACEOF
5463 cat confdefs.h
>>conftest.
$ac_ext
5464 cat >>conftest.
$ac_ext <<_ACEOF
5465 /* end confdefs.h. */
5479 rm -f conftest.
$ac_objext
5480 if { (ac_try
="$ac_compile"
5482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5483 *) ac_try_echo=$ac_try;;
5485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5486 (eval "$ac_compile") 2>conftest.er1
5488 grep -v '^ *+' conftest.er1 >conftest.err
5490 cat conftest.err >&5
5491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492 (exit $ac_status); } && {
5493 test -z "$ac_c_werror_flag" ||
5494 test ! -s conftest.err
5495 } && test -s conftest.$ac_objext; then
5496 ac_cv_header_stdc=yes
5498 echo "$as_me: failed program was:" >&5
5499 sed 's/^/| /' conftest.$ac_ext >&5
5501 ac_cv_header_stdc=no
5504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5506 if test $ac_cv_header_stdc = yes; then
5507 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5508 cat >conftest.$ac_ext <<_ACEOF
5511 cat confdefs.h >>conftest.$ac_ext
5512 cat >>conftest.$ac_ext <<_ACEOF
5513 /* end confdefs.h. */
5517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5518 $EGREP "memchr" >/dev/null 2>&1; then
5521 ac_cv_header_stdc=no
5527 if test $ac_cv_header_stdc = yes; then
5528 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5529 cat >conftest.$ac_ext <<_ACEOF
5532 cat confdefs.h >>conftest.$ac_ext
5533 cat >>conftest.$ac_ext <<_ACEOF
5534 /* end confdefs.h. */
5538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5539 $EGREP "free" >/dev/null 2>&1; then
5542 ac_cv_header_stdc=no
5548 if test $ac_cv_header_stdc = yes; then
5549 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5550 if test "$cross_compiling" = yes; then
5553 cat >conftest.$ac_ext <<_ACEOF
5556 cat confdefs.h >>conftest.$ac_ext
5557 cat >>conftest.$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5561 #if ((' ' & 0x0FF) == 0x020)
5562 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5563 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5565 # define ISLOWER(c) \
5566 (('a' <= (c) && (c) <= 'i') \
5567 || ('j' <= (c) && (c) <= 'r') \
5568 || ('s' <= (c) && (c) <= 'z'))
5569 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5572 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5577 for (i = 0; i < 256; i++)
5578 if (XOR (islower (i), ISLOWER (i))
5579 || toupper (i) != TOUPPER (i))
5584 rm -f conftest$ac_exeext
5585 if { (ac_try="$ac_link"
5587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5588 *) ac_try_echo
=$ac_try;;
5590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5591 (eval "$ac_link") 2>&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5595 { (case "(($ac_try" in
5596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5597 *) ac_try_echo=$ac_try;;
5599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5600 (eval "$ac_try") 2>&5
5602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603 (exit $ac_status); }; }; then
5606 echo "$as_me: program exited with status $ac_status" >&5
5607 echo "$as_me: failed program was:" >&5
5608 sed 's/^/| /' conftest.$ac_ext >&5
5611 ac_cv_header_stdc=no
5613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5619 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5620 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5621 if test $ac_cv_header_stdc = yes; then
5623 cat >>confdefs.h <<\_ACEOF
5624 #define STDC_HEADERS 1
5631 # ============ Switched off:
5637 GNOME_COMPILE_WARNINGS
5639 #------------------------------------------------------------------------------
5641 # The gnomeui library is required but the gnomeprint and gnomeprintui libraries
5642 # are optional. First we verify the gnomeui library is present. Then we check
5643 # for the presence of the gnomeprint libraries and set a flag to indicate the
5644 # print libraries are present. Finally, we run pkg-config to get the compile and
5645 # link flags for the combined set of libraries to eliminate duplications in
5647 ## GNOME_MODULES="libgnomeui-2 >= 2.0.0"
5648 GNOME_PRINT="libgnomeprint-2.2 >= 2.2.0 libgnomeprintui-2.2 >=2.2.0"
5651 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5652 if test -n "$ac_tool_prefix"; then
5653 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5654 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5657 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5658 echo $ECHO_N "(cached) $ECHO_C" >&6
5662 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669 test -z "$as_dir" && as_dir=.
5670 for ac_exec_ext in '' $ac_executable_extensions; do
5671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5672 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5683 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5684 if test -n "$PKG_CONFIG"; then
5685 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5686 echo "${ECHO_T}$PKG_CONFIG" >&6; }
5688 { echo "$as_me:$LINENO: result: no" >&5
5689 echo "${ECHO_T}no" >&6; }
5694 if test -z "$ac_cv_path_PKG_CONFIG"; then
5695 ac_pt_PKG_CONFIG=$PKG_CONFIG
5696 # Extract the first word of "pkg-config", so it can be a program name with args.
5697 set dummy pkg-config; ac_word=$2
5698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5700 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5701 echo $ECHO_N "(cached) $ECHO_C" >&6
5703 case $ac_pt_PKG_CONFIG in
5705 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712 test -z "$as_dir" && as_dir=.
5713 for ac_exec_ext in '' $ac_executable_extensions; do
5714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5715 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5726 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5727 if test -n "$ac_pt_PKG_CONFIG"; then
5728 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5729 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
5731 { echo "$as_me:$LINENO: result: no" >&5
5732 echo "${ECHO_T}no" >&6; }
5735 if test "x$ac_pt_PKG_CONFIG" = x; then
5738 case $cross_compiling:$ac_tool_warned in
5740 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5741 whose name does not start with the host triplet. If you think this
5742 configuration is useful to you, please write to autoconf@gnu.org." >&5
5743 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5744 whose name does not start with the host triplet. If you think this
5745 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5746 ac_tool_warned=yes ;;
5748 PKG_CONFIG=$ac_pt_PKG_CONFIG
5751 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5755 if test -n "$PKG_CONFIG"; then
5756 _pkg_min_version=0.9.0
5757 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5758 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
5759 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5760 { echo "$as_me:$LINENO: result: yes" >&5
5761 echo "${ECHO_T}yes" >&6; }
5763 { echo "$as_me:$LINENO: result: no" >&5
5764 echo "${ECHO_T}no" >&6; }
5771 { echo "$as_me:$LINENO: checking for GPIV_UI" >&5
5772 echo $ECHO_N "checking for GPIV_UI... $ECHO_C" >&6; }
5774 if test -n "$PKG_CONFIG"; then
5775 if test -n "$GPIV_UI_CFLAGS"; then
5776 pkg_cv_GPIV_UI_CFLAGS="$GPIV_UI_CFLAGS"
5778 if test -n "$PKG_CONFIG" && \
5779 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0\"") >&5
5780 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0") 2>&5
5782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783 (exit $ac_status); }; then
5784 pkg_cv_GPIV_UI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0" 2>/dev
/null
`
5792 if test -n "$PKG_CONFIG"; then
5793 if test -n "$GPIV_UI_LIBS"; then
5794 pkg_cv_GPIV_UI_LIBS="$GPIV_UI_LIBS"
5796 if test -n "$PKG_CONFIG" && \
5797 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0\"") >&5
5798 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0") 2>&5
5800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801 (exit $ac_status); }; then
5802 pkg_cv_GPIV_UI_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0" 2>/dev
/null
`
5813 if test $pkg_failed = yes; then
5815 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5816 _pkg_short_errors_supported=yes
5818 _pkg_short_errors_supported=no
5820 if test $_pkg_short_errors_supported = yes; then
5821 GPIV_UI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0"`
5823 GPIV_UI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0"`
5825 # Put the nasty error message in config.log where it belongs
5826 echo "$GPIV_UI_PKG_ERRORS" >&5
5828 { { echo "$as_me:$LINENO: error: Package requirements (libgnomeui-2.0) were not met:
5832 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5833 installed software in a non-standard prefix.
5835 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5836 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5837 See the pkg-config man page for more details.
5839 echo "$as_me: error: Package requirements (libgnomeui-2.0) were not met:
5843 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5844 installed software in a non-standard prefix.
5846 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5847 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5848 See the pkg-config man page for more details.
5850 { (exit 1); exit 1; }; }
5851 elif test $pkg_failed = untried; then
5852 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5853 is in your PATH or set the PKG_CONFIG environment variable to the full
5856 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5857 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5858 See the pkg-config man page for more details.
5860 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5861 See \`config.log
' for more details." >&5
5862 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5863 is in your PATH or set the PKG_CONFIG environment variable to the full
5866 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5867 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5868 See the pkg-config man page for more details.
5870 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5871 See \`config.log' for more details.
" >&2;}
5872 { (exit 1); exit 1; }; }
5874 GPIV_UI_CFLAGS=$pkg_cv_GPIV_UI_CFLAGS
5875 GPIV_UI_LIBS=$pkg_cv_GPIV_UI_LIBS
5876 { echo "$as_me:$LINENO: result
: yes" >&5
5877 echo "${ECHO_T}yes" >&6; }
5882 { echo "$as_me:$LINENO: checking
for GPIV_PRINT
" >&5
5883 echo $ECHO_N "checking
for GPIV_PRINT...
$ECHO_C" >&6; }
5885 if test -n "$PKG_CONFIG"; then
5886 if test -n "$GPIV_PRINT_CFLAGS"; then
5887 pkg_cv_GPIV_PRINT_CFLAGS="$GPIV_PRINT_CFLAGS"
5889 if test -n "$PKG_CONFIG" && \
5890 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgnomeprint-2.2 libgnomeprintui-2.2
\"") >&5
5891 ($PKG_CONFIG --exists --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2
") 2>&5
5893 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5894 (exit $ac_status); }; then
5895 pkg_cv_GPIV_PRINT_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprint-2.2 libgnomeprintui-2.2
" 2>/dev/null`
5903 if test -n "$PKG_CONFIG"; then
5904 if test -n "$GPIV_PRINT_LIBS"; then
5905 pkg_cv_GPIV_PRINT_LIBS="$GPIV_PRINT_LIBS"
5907 if test -n "$PKG_CONFIG" && \
5908 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgnomeprint-2.2 libgnomeprintui-2.2
\"") >&5
5909 ($PKG_CONFIG --exists --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2
") 2>&5
5911 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5912 (exit $ac_status); }; then
5913 pkg_cv_GPIV_PRINT_LIBS=`$PKG_CONFIG --libs "libgnomeprint-2.2 libgnomeprintui-2.2
" 2>/dev/null`
5924 if test $pkg_failed = yes; then
5926 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5927 _pkg_short_errors_supported=yes
5929 _pkg_short_errors_supported=no
5931 if test $_pkg_short_errors_supported = yes; then
5932 GPIV_PRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2
"`
5934 GPIV_PRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2
"`
5936 # Put the nasty error message in config.log where it belongs
5937 echo "$GPIV_PRINT_PKG_ERRORS" >&5
5939 { echo "$as_me:$LINENO: result
: no
" >&5
5940 echo "${ECHO_T}no
" >&6; }
5941 echo "gnomeprint libraries are not available.
"
5942 elif test $pkg_failed = untried; then
5943 echo "gnomeprint libraries are not available.
"
5945 GPIV_PRINT_CFLAGS=$pkg_cv_GPIV_PRINT_CFLAGS
5946 GPIV_PRINT_LIBS=$pkg_cv_GPIV_PRINT_LIBS
5947 { echo "$as_me:$LINENO: result
: yes" >&5
5948 echo "${ECHO_T}yes" >&6; }
5949 gpiv_have_gnome_print=1
5952 if test "x
$gpiv_have_gnome_print" = "x1
"; then
5953 echo "gnomeprint IS available
"
5954 cat >>confdefs.h <<\_ACEOF
5955 #define HAVE_GNOME_PRINT "1"
5958 GPIV_GNOME_LIBS="libgnomeui-2.0 libgnomeprint-2.2 libgnomeprintui-2.2
"
5960 echo "gnomeprint NOT available
"
5961 GPIV_GNOME_LIBS="libgnomeui-2.0
"
5964 echo "configuring with libraries
: " $gpiv_gnome_libs
5967 { echo "$as_me:$LINENO: checking
for GPIV
" >&5
5968 echo $ECHO_N "checking
for GPIV...
$ECHO_C" >&6; }
5970 if test -n "$PKG_CONFIG"; then
5971 if test -n "$GPIV_CFLAGS"; then
5972 pkg_cv_GPIV_CFLAGS="$GPIV_CFLAGS"
5974 if test -n "$PKG_CONFIG" && \
5975 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"\
$GPIV_GNOME_LIBS\"") >&5
5976 ($PKG_CONFIG --exists --print-errors "$GPIV_GNOME_LIBS") 2>&5
5978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5979 (exit $ac_status); }; then
5980 pkg_cv_GPIV_CFLAGS=`$PKG_CONFIG --cflags "$GPIV_GNOME_LIBS" 2>/dev/null`
5988 if test -n "$PKG_CONFIG"; then
5989 if test -n "$GPIV_LIBS"; then
5990 pkg_cv_GPIV_LIBS="$GPIV_LIBS"
5992 if test -n "$PKG_CONFIG" && \
5993 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"\
$GPIV_GNOME_LIBS\"") >&5
5994 ($PKG_CONFIG --exists --print-errors "$GPIV_GNOME_LIBS") 2>&5
5996 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5997 (exit $ac_status); }; then
5998 pkg_cv_GPIV_LIBS=`$PKG_CONFIG --libs "$GPIV_GNOME_LIBS" 2>/dev/null`
6009 if test $pkg_failed = yes; then
6011 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6012 _pkg_short_errors_supported=yes
6014 _pkg_short_errors_supported=no
6016 if test $_pkg_short_errors_supported = yes; then
6017 GPIV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GPIV_GNOME_LIBS"`
6019 GPIV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GPIV_GNOME_LIBS"`
6021 # Put the nasty error message in config.log where it belongs
6022 echo "$GPIV_PKG_ERRORS" >&5
6024 { { echo "$as_me:$LINENO: error
: Package requirements
($GPIV_GNOME_LIBS) were not met
:
6028 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
6029 installed software
in a non-standard prefix.
6031 Alternatively
, you may
set the environment variables GPIV_CFLAGS
6032 and GPIV_LIBS to avoid the need to call pkg-config.
6033 See the pkg-config man page
for more details.
6035 echo "$as_me: error
: Package requirements
($GPIV_GNOME_LIBS) were not met
:
6039 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
6040 installed software
in a non-standard prefix.
6042 Alternatively
, you may
set the environment variables GPIV_CFLAGS
6043 and GPIV_LIBS to avoid the need to call pkg-config.
6044 See the pkg-config man page
for more details.
6046 { (exit 1); exit 1; }; }
6047 elif test $pkg_failed = untried; then
6048 { { echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
6049 is
in your PATH or
set the PKG_CONFIG environment variable to the full
6052 Alternatively
, you may
set the environment variables GPIV_CFLAGS
6053 and GPIV_LIBS to avoid the need to call pkg-config.
6054 See the pkg-config man page
for more details.
6056 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
6057 See \
`config.log' for more details." >&5
6058 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
6059 is in your PATH or set the PKG_CONFIG environment variable to the full
6062 Alternatively, you may set the environment variables GPIV_CFLAGS
6063 and GPIV_LIBS to avoid the need to call pkg-config.
6064 See the pkg-config man page for more details.
6066 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6067 See \`config.log
' for more details." >&2;}
6068 { (exit 1); exit 1; }; }
6070 GPIV_CFLAGS=$pkg_cv_GPIV_CFLAGS
6071 GPIV_LIBS=$pkg_cv_GPIV_LIBS
6072 { echo "$as_me:$LINENO: result: yes" >&5
6073 echo "${ECHO_T}yes" >&6; }
6080 GETTEXT_PACKAGE=gpiv
6082 cat >>confdefs.h <<_ACEOF
6083 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6086 ALL_LINGUAS="ca de nl"
6087 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6097 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6098 inttypes.h stdint.h unistd.h
6100 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6101 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6104 echo $ECHO_N "(cached) $ECHO_C" >&6
6106 cat >conftest.$ac_ext <<_ACEOF
6109 cat confdefs.h >>conftest.$ac_ext
6110 cat >>conftest.$ac_ext <<_ACEOF
6111 /* end confdefs.h. */
6112 $ac_includes_default
6114 #include <$ac_header>
6116 rm -f conftest.$ac_objext
6117 if { (ac_try="$ac_compile"
6119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6120 *) ac_try_echo=$ac_try;;
6122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6123 (eval "$ac_compile") 2>conftest.er1
6125 grep -v '^
*+' conftest.er1 >conftest.err
6127 cat conftest.err >&5
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); } && {
6130 test -z "$ac_c_werror_flag" ||
6131 test ! -s conftest.err
6132 } && test -s conftest.$ac_objext; then
6133 eval "$as_ac_Header=yes"
6135 echo "$as_me: failed program was:" >&5
6136 sed 's
/^
/|
/' conftest.$ac_ext >&5
6138 eval "$as_ac_Header=no"
6141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6143 ac_res=`eval echo '${'$as_ac_Header'}'`
6144 { echo "$as_me:$LINENO: result: $ac_res" >&5
6145 echo "${ECHO_T}$ac_res" >&6; }
6146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6147 cat >>confdefs.h <<_ACEOF
6148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6158 for ac_header in locale.h
6160 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6161 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6162 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6164 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6165 echo $ECHO_N "(cached) $ECHO_C" >&6
6167 ac_res=`eval echo '${'$as_ac_Header'}'`
6168 { echo "$as_me:$LINENO: result: $ac_res" >&5
6169 echo "${ECHO_T}$ac_res" >&6; }
6171 # Is the header compilable?
6172 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6173 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6174 cat >conftest.$ac_ext <<_ACEOF
6177 cat confdefs.h >>conftest.$ac_ext
6178 cat >>conftest.$ac_ext <<_ACEOF
6179 /* end confdefs.h. */
6180 $ac_includes_default
6181 #include <$ac_header>
6183 rm -f conftest.$ac_objext
6184 if { (ac_try="$ac_compile"
6186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6187 *) ac_try_echo=$ac_try;;
6189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6190 (eval "$ac_compile") 2>conftest.er1
6192 grep -v '^
*+' conftest.er1 >conftest.err
6194 cat conftest.err >&5
6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196 (exit $ac_status); } && {
6197 test -z "$ac_c_werror_flag" ||
6198 test ! -s conftest.err
6199 } && test -s conftest.$ac_objext; then
6200 ac_header_compiler=yes
6202 echo "$as_me: failed program was:" >&5
6203 sed 's
/^
/|
/' conftest.$ac_ext >&5
6205 ac_header_compiler=no
6208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6209 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6210 echo "${ECHO_T}$ac_header_compiler" >&6; }
6212 # Is the header present?
6213 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6215 cat >conftest.$ac_ext <<_ACEOF
6218 cat confdefs.h >>conftest.$ac_ext
6219 cat >>conftest.$ac_ext <<_ACEOF
6220 /* end confdefs.h. */
6221 #include <$ac_header>
6223 if { (ac_try="$ac_cpp conftest.$ac_ext"
6225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6226 *) ac_try_echo=$ac_try;;
6228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6229 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6231 grep -v '^
*+' conftest.er1 >conftest.err
6233 cat conftest.err >&5
6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 (exit $ac_status); } >/dev/null && {
6236 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6237 test ! -s conftest.err
6239 ac_header_preproc=yes
6241 echo "$as_me: failed program was:" >&5
6242 sed 's
/^
/|
/' conftest.$ac_ext >&5
6244 ac_header_preproc=no
6247 rm -f conftest.err conftest.$ac_ext
6248 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6249 echo "${ECHO_T}$ac_header_preproc" >&6; }
6251 # So? What about this header?
6252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6254 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6255 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
6257 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
6258 ac_header_preproc=yes
6261 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6262 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6263 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6264 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6265 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6266 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6267 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6268 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
6270 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
6271 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6272 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6274 ## ------------------------------------------------------------------- ##
6275 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
6276 ## ------------------------------------------------------------------- ##
6278 ) | sed "s/^/$as_me: WARNING: /" >&2
6281 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6283 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6284 echo $ECHO_N "(cached) $ECHO_C" >&6
6286 eval "$as_ac_Header=\$ac_header_preproc"
6288 ac_res=`eval echo '${'$as_ac_Header'}'`
6289 { echo "$as_me:$LINENO: result: $ac_res" >&5
6290 echo "${ECHO_T}$ac_res" >&6; }
6293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6294 cat >>confdefs.h <<_ACEOF
6295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6302 if test $ac_cv_header_locale_h = yes; then
6303 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6304 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
6305 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6306 echo $ECHO_N "(cached) $ECHO_C" >&6
6308 cat >conftest.$ac_ext <<_ACEOF
6311 cat confdefs.h >>conftest.$ac_ext
6312 cat >>conftest.$ac_ext <<_ACEOF
6313 /* end confdefs.h. */
6323 rm -f conftest.$ac_objext conftest$ac_exeext
6324 if { (ac_try="$ac_link"
6326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6327 *) ac_try_echo=$ac_try;;
6329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6330 (eval "$ac_link") 2>conftest.er1
6332 grep -v '^
*+' conftest.er1 >conftest.err
6334 cat conftest.err >&5
6335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336 (exit $ac_status); } && {
6337 test -z "$ac_c_werror_flag" ||
6338 test ! -s conftest.err
6339 } && test -s conftest$ac_exeext &&
6340 $as_test_x conftest$ac_exeext; then
6341 am_cv_val_LC_MESSAGES=yes
6343 echo "$as_me: failed program was:" >&5
6344 sed 's
/^
/|
/' conftest.$ac_ext >&5
6346 am_cv_val_LC_MESSAGES=no
6349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6350 conftest$ac_exeext conftest.$ac_ext
6352 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6353 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
6354 if test $am_cv_val_LC_MESSAGES = yes; then
6356 cat >>confdefs.h <<\_ACEOF
6357 #define HAVE_LC_MESSAGES 1
6365 gt_cv_have_gettext=no
6371 if test "${ac_cv_header_libintl_h+set}" = set; then
6372 { echo "$as_me:$LINENO: checking for libintl.h" >&5
6373 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
6374 if test "${ac_cv_header_libintl_h+set}" = set; then
6375 echo $ECHO_N "(cached) $ECHO_C" >&6
6377 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6378 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
6380 # Is the header compilable?
6381 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
6382 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
6383 cat >conftest.$ac_ext <<_ACEOF
6386 cat confdefs.h >>conftest.$ac_ext
6387 cat >>conftest.$ac_ext <<_ACEOF
6388 /* end confdefs.h. */
6389 $ac_includes_default
6390 #include <libintl.h>
6392 rm -f conftest.$ac_objext
6393 if { (ac_try="$ac_compile"
6395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6396 *) ac_try_echo=$ac_try;;
6398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6399 (eval "$ac_compile") 2>conftest.er1
6401 grep -v '^
*+' conftest.er1 >conftest.err
6403 cat conftest.err >&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); } && {
6406 test -z "$ac_c_werror_flag" ||
6407 test ! -s conftest.err
6408 } && test -s conftest.$ac_objext; then
6409 ac_header_compiler=yes
6411 echo "$as_me: failed program was:" >&5
6412 sed 's
/^
/|
/' conftest.$ac_ext >&5
6414 ac_header_compiler=no
6417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6418 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6419 echo "${ECHO_T}$ac_header_compiler" >&6; }
6421 # Is the header present?
6422 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
6423 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
6424 cat >conftest.$ac_ext <<_ACEOF
6427 cat confdefs.h >>conftest.$ac_ext
6428 cat >>conftest.$ac_ext <<_ACEOF
6429 /* end confdefs.h. */
6430 #include <libintl.h>
6432 if { (ac_try="$ac_cpp conftest.$ac_ext"
6434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6435 *) ac_try_echo=$ac_try;;
6437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6438 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6440 grep -v '^
*+' conftest.er1 >conftest.err
6442 cat conftest.err >&5
6443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6444 (exit $ac_status); } >/dev/null && {
6445 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6446 test ! -s conftest.err
6448 ac_header_preproc=yes
6450 echo "$as_me: failed program was:" >&5
6451 sed 's
/^
/|
/' conftest.$ac_ext >&5
6453 ac_header_preproc=no
6456 rm -f conftest.err conftest.$ac_ext
6457 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6458 echo "${ECHO_T}$ac_header_preproc" >&6; }
6460 # So? What about this header?
6461 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6463 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6464 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6465 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result
" >&5
6466 echo "$as_me: WARNING
: libintl.h
: proceeding with the compiler
's result" >&2;}
6467 ac_header_preproc=yes
6470 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6471 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6472 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
6473 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
6474 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6475 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6476 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
6477 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
6478 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result
" >&5
6479 echo "$as_me: WARNING
: libintl.h
: proceeding with the preprocessor
's result" >&2;}
6480 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6481 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6483 ## ------------------------------------------------------------------- ##
6484 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
6485 ## ------------------------------------------------------------------- ##
6487 ) | sed "s/^/$as_me: WARNING: /" >&2
6490 { echo "$as_me:$LINENO: checking for libintl.h" >&5
6491 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
6492 if test "${ac_cv_header_libintl_h+set}" = set; then
6493 echo $ECHO_N "(cached) $ECHO_C" >&6
6495 ac_cv_header_libintl_h=$ac_header_preproc
6497 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6498 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
6501 if test $ac_cv_header_libintl_h = yes; then
6502 gt_cv_func_dgettext_libintl="no"
6503 libintl_extra_libs=""
6506 # First check in libc
6508 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
6509 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
6510 if test "${gt_cv_func_ngettext_libc+set}" = set; then
6511 echo $ECHO_N "(cached) $ECHO_C" >&6
6513 cat >conftest.$ac_ext <<_ACEOF
6516 cat confdefs.h >>conftest.$ac_ext
6517 cat >>conftest.$ac_ext <<_ACEOF
6518 /* end confdefs.h. */
6520 #include <libintl.h>
6525 return !ngettext ("","", 1)
6530 rm -f conftest.$ac_objext conftest$ac_exeext
6531 if { (ac_try="$ac_link"
6533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6534 *) ac_try_echo=$ac_try;;
6536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6537 (eval "$ac_link") 2>conftest.er1
6539 grep -v '^
*+' conftest.er1 >conftest.err
6541 cat conftest.err >&5
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); } && {
6544 test -z "$ac_c_werror_flag" ||
6545 test ! -s conftest.err
6546 } && test -s conftest$ac_exeext &&
6547 $as_test_x conftest$ac_exeext; then
6548 gt_cv_func_ngettext_libc=yes
6550 echo "$as_me: failed program was:" >&5
6551 sed 's
/^
/|
/' conftest.$ac_ext >&5
6553 gt_cv_func_ngettext_libc=no
6556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6557 conftest$ac_exeext conftest.$ac_ext
6560 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
6561 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
6563 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6564 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
6565 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
6566 if test "${gt_cv_func_dgettext_libc+set}" = set; then
6567 echo $ECHO_N "(cached) $ECHO_C" >&6
6569 cat >conftest.$ac_ext <<_ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6576 #include <libintl.h>
6581 return !dgettext ("","")
6586 rm -f conftest.$ac_objext conftest$ac_exeext
6587 if { (ac_try="$ac_link"
6589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6590 *) ac_try_echo=$ac_try;;
6592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6593 (eval "$ac_link") 2>conftest.er1
6595 grep -v '^
*+' conftest.er1 >conftest.err
6597 cat conftest.err >&5
6598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6599 (exit $ac_status); } && {
6600 test -z "$ac_c_werror_flag" ||
6601 test ! -s conftest.err
6602 } && test -s conftest$ac_exeext &&
6603 $as_test_x conftest$ac_exeext; then
6604 gt_cv_func_dgettext_libc=yes
6606 echo "$as_me: failed program was:" >&5
6607 sed 's
/^
/|
/' conftest.$ac_ext >&5
6609 gt_cv_func_dgettext_libc=no
6612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6613 conftest$ac_exeext conftest.$ac_ext
6616 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
6617 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
6620 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6622 for ac_func in bind_textdomain_codeset
6624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6625 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6627 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6628 echo $ECHO_N "(cached) $ECHO_C" >&6
6630 cat >conftest.$ac_ext <<_ACEOF
6633 cat confdefs.h >>conftest.$ac_ext
6634 cat >>conftest.$ac_ext <<_ACEOF
6635 /* end confdefs.h. */
6636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6638 #define $ac_func innocuous_$ac_func
6640 /* System header to define __stub macros and hopefully few prototypes,
6641 which can conflict with char $ac_func (); below.
6642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6643 <limits.h> exists even on freestanding compilers. */
6646 # include <limits.h>
6648 # include <assert.h>
6653 /* Override any GCC internal prototype to avoid an error.
6654 Use char because int might match the return type of a GCC
6655 builtin and then its argument prototype would still apply. */
6660 /* The GNU C library defines this for functions which it implements
6661 to always fail with ENOSYS. Some functions are actually named
6662 something starting with __ and the normal name is an alias. */
6663 #if defined __stub_$ac_func || defined __stub___$ac_func
6675 rm -f conftest.$ac_objext conftest$ac_exeext
6676 if { (ac_try="$ac_link"
6678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6679 *) ac_try_echo=$ac_try;;
6681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6682 (eval "$ac_link") 2>conftest.er1
6684 grep -v '^
*+' conftest.er1 >conftest.err
6686 cat conftest.err >&5
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688 (exit $ac_status); } && {
6689 test -z "$ac_c_werror_flag" ||
6690 test ! -s conftest.err
6691 } && test -s conftest$ac_exeext &&
6692 $as_test_x conftest$ac_exeext; then
6693 eval "$as_ac_var=yes"
6695 echo "$as_me: failed program was:" >&5
6696 sed 's
/^
/|
/' conftest.$ac_ext >&5
6698 eval "$as_ac_var=no"
6701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6702 conftest$ac_exeext conftest.$ac_ext
6704 ac_res=`eval echo '${'$as_ac_var'}'`
6705 { echo "$as_me:$LINENO: result: $ac_res" >&5
6706 echo "${ECHO_T}$ac_res" >&6; }
6707 if test `eval echo '${'$as_ac_var'}'` = yes; then
6708 cat >>confdefs.h <<_ACEOF
6709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6718 # If we don't have everything we want
, check
in libintl
6720 if test "$gt_cv_func_dgettext_libc" != "yes" \
6721 ||
test "$gt_cv_func_ngettext_libc" != "yes" \
6722 ||
test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6724 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
6725 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
6726 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
6727 echo $ECHO_N "(cached) $ECHO_C" >&6
6729 ac_check_lib_save_LIBS
=$LIBS
6731 cat >conftest.
$ac_ext <<_ACEOF
6734 cat confdefs.h
>>conftest.
$ac_ext
6735 cat >>conftest.
$ac_ext <<_ACEOF
6736 /* end confdefs.h. */
6738 /* Override any GCC internal prototype to avoid an error.
6739 Use char because int might match the return type of a GCC
6740 builtin and then its argument prototype would still apply. */
6744 char bindtextdomain ();
6748 return bindtextdomain ();
6753 rm -f conftest.
$ac_objext conftest
$ac_exeext
6754 if { (ac_try
="$ac_link"
6756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6757 *) ac_try_echo=$ac_try;;
6759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6760 (eval "$ac_link") 2>conftest.er1
6762 grep -v '^ *+' conftest.er1 >conftest.err
6764 cat conftest.err >&5
6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 (exit $ac_status); } && {
6767 test -z "$ac_c_werror_flag" ||
6768 test ! -s conftest.err
6769 } && test -s conftest$ac_exeext &&
6770 $as_test_x conftest$ac_exeext; then
6771 ac_cv_lib_intl_bindtextdomain=yes
6773 echo "$as_me: failed program was:" >&5
6774 sed 's/^/| /' conftest.$ac_ext >&5
6776 ac_cv_lib_intl_bindtextdomain=no
6779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6780 conftest$ac_exeext conftest.$ac_ext
6781 LIBS=$ac_check_lib_save_LIBS
6783 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
6784 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
6785 if test $ac_cv_lib_intl_bindtextdomain = yes; then
6786 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6787 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
6788 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6789 echo $ECHO_N "(cached) $ECHO_C" >&6
6791 ac_check_lib_save_LIBS=$LIBS
6793 cat >conftest.$ac_ext <<_ACEOF
6796 cat confdefs.h >>conftest.$ac_ext
6797 cat >>conftest.$ac_ext <<_ACEOF
6798 /* end confdefs.h. */
6800 /* Override any GCC internal prototype to avoid an error.
6801 Use char because int might match the return type of a GCC
6802 builtin and then its argument prototype would still apply. */
6815 rm -f conftest.$ac_objext conftest$ac_exeext
6816 if { (ac_try="$ac_link"
6818 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6819 *) ac_try_echo
=$ac_try;;
6821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6822 (eval "$ac_link") 2>conftest.er1
6824 grep -v '^ *+' conftest.er1
>conftest.err
6826 cat conftest.err
>&5
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); } && {
6829 test -z "$ac_c_werror_flag" ||
6830 test ! -s conftest.err
6831 } && test -s conftest
$ac_exeext &&
6832 $as_test_x conftest
$ac_exeext; then
6833 ac_cv_lib_intl_ngettext
=yes
6835 echo "$as_me: failed program was:" >&5
6836 sed 's/^/| /' conftest.
$ac_ext >&5
6838 ac_cv_lib_intl_ngettext
=no
6841 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6842 conftest
$ac_exeext conftest.
$ac_ext
6843 LIBS
=$ac_check_lib_save_LIBS
6845 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6846 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
6847 if test $ac_cv_lib_intl_ngettext = yes; then
6848 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
6849 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
6850 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
6851 echo $ECHO_N "(cached) $ECHO_C" >&6
6853 ac_check_lib_save_LIBS
=$LIBS
6855 cat >conftest.
$ac_ext <<_ACEOF
6858 cat confdefs.h
>>conftest.
$ac_ext
6859 cat >>conftest.
$ac_ext <<_ACEOF
6860 /* end confdefs.h. */
6862 /* Override any GCC internal prototype to avoid an error.
6863 Use char because int might match the return type of a GCC
6864 builtin and then its argument prototype would still apply. */
6877 rm -f conftest.
$ac_objext conftest
$ac_exeext
6878 if { (ac_try
="$ac_link"
6880 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6881 *) ac_try_echo=$ac_try;;
6883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6884 (eval "$ac_link") 2>conftest.er1
6886 grep -v '^ *+' conftest.er1 >conftest.err
6888 cat conftest.err >&5
6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); } && {
6891 test -z "$ac_c_werror_flag" ||
6892 test ! -s conftest.err
6893 } && test -s conftest$ac_exeext &&
6894 $as_test_x conftest$ac_exeext; then
6895 ac_cv_lib_intl_dgettext=yes
6897 echo "$as_me: failed program was:" >&5
6898 sed 's/^/| /' conftest.$ac_ext >&5
6900 ac_cv_lib_intl_dgettext=no
6903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6904 conftest$ac_exeext conftest.$ac_ext
6905 LIBS=$ac_check_lib_save_LIBS
6907 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
6908 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
6909 if test $ac_cv_lib_intl_dgettext = yes; then
6910 gt_cv_func_dgettext_libintl=yes
6918 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6919 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
6920 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
6921 { echo "$as_me:$LINENO: result: " >&5
6922 echo "${ECHO_T}" >&6; }
6923 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6924 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
6925 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6926 echo $ECHO_N "(cached) $ECHO_C" >&6
6928 ac_check_lib_save_LIBS=$LIBS
6929 LIBS="-lintl -liconv $LIBS"
6930 cat >conftest.$ac_ext <<_ACEOF
6933 cat confdefs.h >>conftest.$ac_ext
6934 cat >>conftest.$ac_ext <<_ACEOF
6935 /* end confdefs.h. */
6937 /* Override any GCC internal prototype to avoid an error.
6938 Use char because int might match the return type of a GCC
6939 builtin and then its argument prototype would still apply. */
6952 rm -f conftest.$ac_objext conftest$ac_exeext
6953 if { (ac_try="$ac_link"
6955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6956 *) ac_try_echo
=$ac_try;;
6958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6959 (eval "$ac_link") 2>conftest.er1
6961 grep -v '^ *+' conftest.er1
>conftest.err
6963 cat conftest.err
>&5
6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); } && {
6966 test -z "$ac_c_werror_flag" ||
6967 test ! -s conftest.err
6968 } && test -s conftest
$ac_exeext &&
6969 $as_test_x conftest
$ac_exeext; then
6970 ac_cv_lib_intl_ngettext
=yes
6972 echo "$as_me: failed program was:" >&5
6973 sed 's/^/| /' conftest.
$ac_ext >&5
6975 ac_cv_lib_intl_ngettext
=no
6978 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6979 conftest
$ac_exeext conftest.
$ac_ext
6980 LIBS
=$ac_check_lib_save_LIBS
6982 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6983 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
6984 if test $ac_cv_lib_intl_ngettext = yes; then
6985 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
6986 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
6987 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
6988 echo $ECHO_N "(cached) $ECHO_C" >&6
6990 ac_check_lib_save_LIBS
=$LIBS
6991 LIBS
="-lintl -liconv $LIBS"
6992 cat >conftest.
$ac_ext <<_ACEOF
6995 cat confdefs.h
>>conftest.
$ac_ext
6996 cat >>conftest.
$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
6999 /* Override any GCC internal prototype to avoid an error.
7000 Use char because int might match the return type of a GCC
7001 builtin and then its argument prototype would still apply. */
7009 return dcgettext ();
7014 rm -f conftest.
$ac_objext conftest
$ac_exeext
7015 if { (ac_try
="$ac_link"
7017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7018 *) ac_try_echo=$ac_try;;
7020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7021 (eval "$ac_link") 2>conftest.er1
7023 grep -v '^ *+' conftest.er1 >conftest.err
7025 cat conftest.err >&5
7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027 (exit $ac_status); } && {
7028 test -z "$ac_c_werror_flag" ||
7029 test ! -s conftest.err
7030 } && test -s conftest$ac_exeext &&
7031 $as_test_x conftest$ac_exeext; then
7032 ac_cv_lib_intl_dcgettext=yes
7034 echo "$as_me: failed program was:" >&5
7035 sed 's/^/| /' conftest.$ac_ext >&5
7037 ac_cv_lib_intl_dcgettext=no
7040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7041 conftest$ac_exeext conftest.$ac_ext
7042 LIBS=$ac_check_lib_save_LIBS
7044 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
7045 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
7046 if test $ac_cv_lib_intl_dcgettext = yes; then
7047 gt_cv_func_dgettext_libintl=yes
7048 libintl_extra_libs=-liconv
7060 # If we found libintl, then check in it for bind_textdomain_codeset();
7061 # we'll prefer libc if neither have bind_textdomain_codeset(),
7062 # and both have dgettext and ngettext
7064 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
7065 glib_save_LIBS="$LIBS"
7066 LIBS="$LIBS -lintl $libintl_extra_libs"
7067 unset ac_cv_func_bind_textdomain_codeset
7069 for ac_func in bind_textdomain_codeset
7071 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7072 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7074 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7075 echo $ECHO_N "(cached) $ECHO_C" >&6
7077 cat >conftest.$ac_ext <<_ACEOF
7080 cat confdefs.h >>conftest.$ac_ext
7081 cat >>conftest.$ac_ext <<_ACEOF
7082 /* end confdefs.h. */
7083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7085 #define $ac_func innocuous_$ac_func
7087 /* System header to define __stub macros and hopefully few prototypes,
7088 which can conflict with char $ac_func (); below.
7089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7090 <limits.h> exists even on freestanding compilers. */
7093 # include <limits.h>
7095 # include <assert.h>
7100 /* Override any GCC internal prototype to avoid an error.
7101 Use char because int might match the return type of a GCC
7102 builtin and then its argument prototype would still apply. */
7107 /* The GNU C library defines this for functions which it implements
7108 to always fail with ENOSYS. Some functions are actually named
7109 something starting with __ and the normal name is an alias. */
7110 #if defined __stub_$ac_func || defined __stub___$ac_func
7122 rm -f conftest.$ac_objext conftest$ac_exeext
7123 if { (ac_try="$ac_link"
7125 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7126 *) ac_try_echo
=$ac_try;;
7128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7129 (eval "$ac_link") 2>conftest.er1
7131 grep -v '^ *+' conftest.er1
>conftest.err
7133 cat conftest.err
>&5
7134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 (exit $ac_status); } && {
7136 test -z "$ac_c_werror_flag" ||
7137 test ! -s conftest.err
7138 } && test -s conftest
$ac_exeext &&
7139 $as_test_x conftest
$ac_exeext; then
7140 eval "$as_ac_var=yes"
7142 echo "$as_me: failed program was:" >&5
7143 sed 's/^/| /' conftest.
$ac_ext >&5
7145 eval "$as_ac_var=no"
7148 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7149 conftest
$ac_exeext conftest.
$ac_ext
7151 ac_res
=`eval echo '${'$as_ac_var'}'`
7152 { echo "$as_me:$LINENO: result: $ac_res" >&5
7153 echo "${ECHO_T}$ac_res" >&6; }
7154 if test `eval echo '${'$as_ac_var'}'` = yes; then
7155 cat >>confdefs.h
<<_ACEOF
7156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7162 LIBS
="$glib_save_LIBS"
7164 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
7165 gt_cv_func_dgettext_libc
=no
7167 if test "$gt_cv_func_dgettext_libc" = "yes" \
7168 && test "$gt_cv_func_ngettext_libc" = "yes"; then
7169 gt_cv_func_dgettext_libintl
=no
7175 if test "$gt_cv_func_dgettext_libc" = "yes" \
7176 ||
test "$gt_cv_func_dgettext_libintl" = "yes"; then
7177 gt_cv_have_gettext
=yes
7180 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
7181 INTLLIBS
="-lintl $libintl_extra_libs"
7184 if test "$gt_cv_have_gettext" = "yes"; then
7186 cat >>confdefs.h
<<\_ACEOF
7187 #define HAVE_GETTEXT 1
7190 # Extract the first word of "msgfmt", so it can be a program name with args.
7191 set dummy msgfmt
; ac_word
=$2
7192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7194 if test "${ac_cv_path_MSGFMT+set}" = set; then
7195 echo $ECHO_N "(cached) $ECHO_C" >&6
7199 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7202 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7203 for ac_dir
in $PATH; do
7204 test -z "$ac_dir" && ac_dir
=.
7205 if test -f $ac_dir/$ac_word; then
7206 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7207 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7213 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7217 MSGFMT
="$ac_cv_path_MSGFMT"
7218 if test "$MSGFMT" != "no"; then
7219 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7220 echo "${ECHO_T}$MSGFMT" >&6; }
7222 { echo "$as_me:$LINENO: result: no" >&5
7223 echo "${ECHO_T}no" >&6; }
7225 if test "$MSGFMT" != "no"; then
7226 glib_save_LIBS
="$LIBS"
7227 LIBS
="$LIBS $INTLLIBS"
7229 for ac_func
in dcgettext
7231 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7232 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7234 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7235 echo $ECHO_N "(cached) $ECHO_C" >&6
7237 cat >conftest.
$ac_ext <<_ACEOF
7240 cat confdefs.h
>>conftest.
$ac_ext
7241 cat >>conftest.
$ac_ext <<_ACEOF
7242 /* end confdefs.h. */
7243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7245 #define $ac_func innocuous_$ac_func
7247 /* System header to define __stub macros and hopefully few prototypes,
7248 which can conflict with char $ac_func (); below.
7249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7250 <limits.h> exists even on freestanding compilers. */
7253 # include <limits.h>
7255 # include <assert.h>
7260 /* Override any GCC internal prototype to avoid an error.
7261 Use char because int might match the return type of a GCC
7262 builtin and then its argument prototype would still apply. */
7267 /* The GNU C library defines this for functions which it implements
7268 to always fail with ENOSYS. Some functions are actually named
7269 something starting with __ and the normal name is an alias. */
7270 #if defined __stub_$ac_func || defined __stub___$ac_func
7282 rm -f conftest.
$ac_objext conftest
$ac_exeext
7283 if { (ac_try
="$ac_link"
7285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7286 *) ac_try_echo=$ac_try;;
7288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7289 (eval "$ac_link") 2>conftest.er1
7291 grep -v '^ *+' conftest.er1 >conftest.err
7293 cat conftest.err >&5
7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 (exit $ac_status); } && {
7296 test -z "$ac_c_werror_flag" ||
7297 test ! -s conftest.err
7298 } && test -s conftest$ac_exeext &&
7299 $as_test_x conftest$ac_exeext; then
7300 eval "$as_ac_var=yes"
7302 echo "$as_me: failed program was:" >&5
7303 sed 's/^/| /' conftest.$ac_ext >&5
7305 eval "$as_ac_var=no"
7308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7309 conftest$ac_exeext conftest.$ac_ext
7311 ac_res=`eval echo '${'$as_ac_var'}'`
7312 { echo "$as_me:$LINENO: result: $ac_res" >&5
7313 echo "${ECHO_T}$ac_res" >&6; }
7314 if test `eval echo '${'$as_ac_var'}'` = yes; then
7315 cat >>confdefs.h <<_ACEOF
7316 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7323 { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
7324 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
7325 cat >conftest.foo <<_ACEOF
7329 "Content-Type: text/plain; charset=UTF-8\n"
7330 "Project-Id-Version: test 1.0\n"
7331 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
7332 "Last-Translator: test <foo@bar.xx>\n"
7333 "Language-Team: C <LL@li.org>\n"
7334 "MIME-Version: 1.0\n"
7335 "Content-Transfer-Encoding: 8bit\n"
7338 if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
7339 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); }; then
7343 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
7344 echo "${ECHO_T}yes" >&6; }
7345 else { echo "$as_me:$LINENO: result: no" >&5
7346 echo "${ECHO_T}no" >&6; }
7347 echo "$as_me: failed input was:" >&5
7348 sed 's/^/| /' conftest.foo >&5
7351 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7352 set dummy gmsgfmt; ac_word=$2
7353 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7355 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7356 echo $ECHO_N "(cached) $ECHO_C" >&6
7360 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7367 test -z "$as_dir" && as_dir=.
7368 for ac_exec_ext in '' $ac_executable_extensions; do
7369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7370 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7378 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7382 GMSGFMT=$ac_cv_path_GMSGFMT
7383 if test -n "$GMSGFMT"; then
7384 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7385 echo "${ECHO_T}$GMSGFMT" >&6; }
7387 { echo "$as_me:$LINENO: result: no" >&5
7388 echo "${ECHO_T}no" >&6; }
7392 # Extract the first word of "xgettext", so it can be a program name with args.
7393 set dummy xgettext; ac_word=$2
7394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7396 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7397 echo $ECHO_N "(cached) $ECHO_C" >&6
7401 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7404 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7405 for ac_dir in $PATH; do
7406 test -z "$ac_dir" && ac_dir=.
7407 if test -f $ac_dir/$ac_word; then
7408 if test -z "`$ac_dir/$ac_word -h 2>&1 |
grep '(HELP)'`"; then
7409 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
7415 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7419 XGETTEXT="$ac_cv_path_XGETTEXT"
7420 if test "$XGETTEXT" != ":"; then
7421 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7422 echo "${ECHO_T}$XGETTEXT" >&6; }
7424 { echo "$as_me:$LINENO: result: no" >&5
7425 echo "${ECHO_T}no" >&6; }
7428 cat >conftest.$ac_ext <<_ACEOF
7431 cat confdefs.h >>conftest.$ac_ext
7432 cat >>conftest.$ac_ext <<_ACEOF
7433 /* end confdefs.h. */
7438 extern int _nl_msg_cat_cntr;
7439 return _nl_msg_cat_cntr
7444 rm -f conftest.$ac_objext conftest$ac_exeext
7445 if { (ac_try="$ac_link"
7447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7448 *) ac_try_echo
=$ac_try;;
7450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7451 (eval "$ac_link") 2>conftest.er1
7453 grep -v '^ *+' conftest.er1
>conftest.err
7455 cat conftest.err
>&5
7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457 (exit $ac_status); } && {
7458 test -z "$ac_c_werror_flag" ||
7459 test ! -s conftest.err
7460 } && test -s conftest
$ac_exeext &&
7461 $as_test_x conftest
$ac_exeext; then
7465 echo "$as_me: failed program was:" >&5
7466 sed 's/^/| /' conftest.
$ac_ext >&5
7470 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7471 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
7472 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7473 echo $ECHO_N "(cached) $ECHO_C" >&6
7475 cat >conftest.
$ac_ext <<_ACEOF
7478 cat confdefs.h
>>conftest.
$ac_ext
7479 cat >>conftest.
$ac_ext <<_ACEOF
7480 /* end confdefs.h. */
7481 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7483 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7485 /* System header to define __stub macros and hopefully few prototypes,
7486 which can conflict with char bind_textdomain_codeset (); below.
7487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7488 <limits.h> exists even on freestanding compilers. */
7491 # include <limits.h>
7493 # include <assert.h>
7496 #undef bind_textdomain_codeset
7498 /* Override any GCC internal prototype to avoid an error.
7499 Use char because int might match the return type of a GCC
7500 builtin and then its argument prototype would still apply. */
7504 char bind_textdomain_codeset ();
7505 /* The GNU C library defines this for functions which it implements
7506 to always fail with ENOSYS. Some functions are actually named
7507 something starting with __ and the normal name is an alias. */
7508 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7515 return bind_textdomain_codeset ();
7520 rm -f conftest.
$ac_objext conftest
$ac_exeext
7521 if { (ac_try
="$ac_link"
7523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7524 *) ac_try_echo=$ac_try;;
7526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7527 (eval "$ac_link") 2>conftest.er1
7529 grep -v '^ *+' conftest.er1 >conftest.err
7531 cat conftest.err >&5
7532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533 (exit $ac_status); } && {
7534 test -z "$ac_c_werror_flag" ||
7535 test ! -s conftest.err
7536 } && test -s conftest$ac_exeext &&
7537 $as_test_x conftest$ac_exeext; then
7538 ac_cv_func_bind_textdomain_codeset=yes
7540 echo "$as_me: failed program was:" >&5
7541 sed 's/^/| /' conftest.$ac_ext >&5
7543 ac_cv_func_bind_textdomain_codeset=no
7546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7547 conftest$ac_exeext conftest.$ac_ext
7549 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7550 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
7551 if test $ac_cv_func_bind_textdomain_codeset = yes; then
7567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7568 conftest$ac_exeext conftest.$ac_ext
7569 LIBS="$glib_save_LIBS"
7572 gt_cv_have_gettext=no
7580 if test "$gt_cv_have_gettext" = "yes" ; then
7582 cat >>confdefs.h <<\_ACEOF
7583 #define ENABLE_NLS 1
7588 if test "$XGETTEXT" != ":"; then
7589 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7592 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7593 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
7598 # We need to process the po/ directory.
7601 ac_config_commands="$ac_config_commands default-1"
7604 for lang in $ALL_LINGUAS; do
7605 GMOFILES="$GMOFILES $lang.gmo"
7606 POFILES="$POFILES $lang.po"
7621 if test "$gt_cv_have_gettext" = "yes"; then
7622 if test "x$ALL_LINGUAS" = "x"; then
7625 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7626 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
7628 for presentlang in $ALL_LINGUAS; do
7630 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
7631 desiredlanguages="$LINGUAS"
7633 desiredlanguages="$ALL_LINGUAS"
7635 for desiredlang in $desiredlanguages; do
7636 # Use the presentlang catalog if desiredlang is
7637 # a. equal to presentlang, or
7638 # b. a variant of presentlang (because in this case,
7639 # presentlang can be used as a fallback for messages
7640 # which are not translated in the desiredlang catalog).
7641 case "$desiredlang" in
7642 "$presentlang"*) useit=yes;;
7645 if test $useit = yes; then
7646 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
7649 LINGUAS=$NEW_LINGUAS
7650 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
7651 echo "${ECHO_T}$LINGUAS" >&6; }
7654 if test -n "$LINGUAS"; then
7655 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
7660 if test -n "$ac_aux_dir"; then
7661 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
7663 if test -z "$MKINSTALLDIRS"; then
7664 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
7668 test -d po || mkdir po
7669 if test "x$srcdir" != "x."; then
7670 if test "x`echo $srcdir |
sed 's@/.*@@'`" = "x"; then
7671 posrcprefix="$srcdir/"
7673 posrcprefix="../$srcdir/"
7679 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7680 < $srcdir/po/POTFILES.in > po/POTFILES
7685 case "$am__api_version" in
7687 { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
7688 echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
7689 { (exit 1); exit 1; }; }
7696 { echo "$as_me:$LINENO: checking for intltool >= " >&5
7697 echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6; }
7699 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo |
awk -F.
'{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7700 INTLTOOL_APPLIED_VERSION=`intltool-update
--version |
head -1 | cut
-d" " -f3`
7701 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION |
awk -F.
'{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7703 { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
7704 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
7705 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
7706 { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool or later." >&5
7707 echo "$as_me: error: Your intltool is too old. You need intltool or later." >&2;}
7708 { (exit 1); exit 1; }; }
7711 # Extract the first word of "intltool-update", so it can be a program name with args.
7712 set dummy intltool-update; ac_word=$2
7713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7715 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6
7718 case $INTLTOOL_UPDATE in
7720 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
7723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7727 test -z "$as_dir" && as_dir=.
7728 for ac_exec_ext in '' $ac_executable_extensions; do
7729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7730 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
7731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7741 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
7742 if test -n "$INTLTOOL_UPDATE"; then
7743 { echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
7744 echo "${ECHO_T}$INTLTOOL_UPDATE" >&6; }
7746 { echo "$as_me:$LINENO: result: no" >&5
7747 echo "${ECHO_T}no" >&6; }
7751 # Extract the first word of "intltool-merge", so it can be a program name with args.
7752 set dummy intltool-merge; ac_word=$2
7753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7755 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
7756 echo $ECHO_N "(cached) $ECHO_C" >&6
7758 case $INTLTOOL_MERGE in
7760 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
7763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7767 test -z "$as_dir" && as_dir=.
7768 for ac_exec_ext in '' $ac_executable_extensions; do
7769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7770 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
7771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7781 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
7782 if test -n "$INTLTOOL_MERGE"; then
7783 { echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
7784 echo "${ECHO_T}$INTLTOOL_MERGE" >&6; }
7786 { echo "$as_me:$LINENO: result: no" >&5
7787 echo "${ECHO_T}no" >&6; }
7791 # Extract the first word of "intltool-extract", so it can be a program name with args.
7792 set dummy intltool-extract; ac_word=$2
7793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7795 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
7796 echo $ECHO_N "(cached) $ECHO_C" >&6
7798 case $INTLTOOL_EXTRACT in
7800 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
7803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7807 test -z "$as_dir" && as_dir=.
7808 for ac_exec_ext in '' $ac_executable_extensions; do
7809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7810 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
7811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7821 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
7822 if test -n "$INTLTOOL_EXTRACT"; then
7823 { echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
7824 echo "${ECHO_T}$INTLTOOL_EXTRACT" >&6; }
7826 { echo "$as_me:$LINENO: result: no" >&5
7827 echo "${ECHO_T}no" >&6; }
7831 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
7832 { { echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
7833 echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
7834 { (exit 1); exit 1; }; }
7837 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 $< $@'
7838 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 $< $@'
7839 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 $< $@'
7840 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 $< $@'
7841 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
7842 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 $< $@'
7843 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 $< $@'
7844 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 $< $@'
7845 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 $< $@'
7846 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 $< $@'
7847 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 $< $@'
7848 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
7849 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 $< $@'
7850 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 $< $@'
7851 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 $< $@'
7852 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 $< $@'
7853 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 $< $@'
7854 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 $< $@'
7855 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 $< $@'
7877 # Check the gettext tools to make sure they are GNU
7878 # Extract the first word of "xgettext", so it can be a program name with args.
7879 set dummy xgettext; ac_word=$2
7880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7882 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7883 echo $ECHO_N "(cached) $ECHO_C" >&6
7887 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7894 test -z "$as_dir" && as_dir=.
7895 for ac_exec_ext in '' $ac_executable_extensions; do
7896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7897 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
7898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7908 XGETTEXT=$ac_cv_path_XGETTEXT
7909 if test -n "$XGETTEXT"; then
7910 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7911 echo "${ECHO_T}$XGETTEXT" >&6; }
7913 { echo "$as_me:$LINENO: result: no" >&5
7914 echo "${ECHO_T}no" >&6; }
7918 # Extract the first word of "msgmerge", so it can be a program name with args.
7919 set dummy msgmerge; ac_word=$2
7920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7922 if test "${ac_cv_path_MSGMERGE+set}" = set; then
7923 echo $ECHO_N "(cached) $ECHO_C" >&6
7927 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
7930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7934 test -z "$as_dir" && as_dir=.
7935 for ac_exec_ext in '' $ac_executable_extensions; do
7936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7937 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
7938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7948 MSGMERGE=$ac_cv_path_MSGMERGE
7949 if test -n "$MSGMERGE"; then
7950 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
7951 echo "${ECHO_T}$MSGMERGE" >&6; }
7953 { echo "$as_me:$LINENO: result: no" >&5
7954 echo "${ECHO_T}no" >&6; }
7958 # Extract the first word of "msgfmt", so it can be a program name with args.
7959 set dummy msgfmt; ac_word=$2
7960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7962 if test "${ac_cv_path_MSGFMT+set}" = set; then
7963 echo $ECHO_N "(cached) $ECHO_C" >&6
7967 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7974 test -z "$as_dir" && as_dir=.
7975 for ac_exec_ext in '' $ac_executable_extensions; do
7976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7977 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
7978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7988 MSGFMT=$ac_cv_path_MSGFMT
7989 if test -n "$MSGFMT"; then
7990 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7991 echo "${ECHO_T}$MSGFMT" >&6; }
7993 { echo "$as_me:$LINENO: result: no" >&5
7994 echo "${ECHO_T}no" >&6; }
7998 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
7999 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
8000 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
8001 { (exit 1); exit 1; }; }
8003 xgversion="`$XGETTEXT --version|
grep '(GNU ' 2> /dev
/null
`"
8004 mmversion="`$MSGMERGE --version|
grep '(GNU ' 2> /dev
/null
`"
8005 mfversion="`$MSGFMT --version|
grep '(GNU ' 2> /dev
/null
`"
8006 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
8007 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
8008 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
8009 { (exit 1); exit 1; }; }
8012 # Extract the first word of "perl", so it can be a program name with args.
8013 set dummy perl; ac_word=$2
8014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8016 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
8017 echo $ECHO_N "(cached) $ECHO_C" >&6
8019 case $INTLTOOL_PERL in
8021 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
8024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8028 test -z "$as_dir" && as_dir=.
8029 for ac_exec_ext in '' $ac_executable_extensions; do
8030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8031 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
8032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8042 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
8043 if test -n "$INTLTOOL_PERL"; then
8044 { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
8045 echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
8047 { echo "$as_me:$LINENO: result: no" >&5
8048 echo "${ECHO_T}no" >&6; }
8052 if test -z "$INTLTOOL_PERL"; then
8053 { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
8054 echo "$as_me: error: perl not found; required for intltool" >&2;}
8055 { (exit 1); exit 1; }; }
8057 if test -z "`$INTLTOOL_PERL -v | fgrep
'5.' 2> /dev
/null
`"; then
8058 { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
8059 echo "$as_me: error: perl 5.x required for intltool" >&2;}
8060 { (exit 1); exit 1; }; }
8062 if test "x" != "xno-xml"; then
8063 { echo "$as_me:$LINENO: checking for XML::Parser" >&5
8064 echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
8065 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev
/null
`; then
8066 { echo "$as_me:$LINENO: result: ok" >&5
8067 echo "${ECHO_T}ok" >&6; }
8069 { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
8070 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
8071 { (exit 1); exit 1; }; }
8075 # Substitute ALL_LINGUAS so we can use it in po/Makefile
8078 # Set DATADIRNAME correctly if it is not set yet
8079 # (copied from glib-gettext.m4)
8080 if test -z "$DATADIRNAME"; then
8081 cat >conftest.$ac_ext <<_ACEOF
8084 cat confdefs.h >>conftest.$ac_ext
8085 cat >>conftest.$ac_ext <<_ACEOF
8086 /* end confdefs.h. */
8091 extern int _nl_msg_cat_cntr;
8092 return _nl_msg_cat_cntr
8097 rm -f conftest.$ac_objext conftest$ac_exeext
8098 if { (ac_try="$ac_link"
8100 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8101 *) ac_try_echo
=$ac_try;;
8103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8104 (eval "$ac_link") 2>conftest.er1
8106 grep -v '^ *+' conftest.er1
>conftest.err
8108 cat conftest.err
>&5
8109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8110 (exit $ac_status); } && {
8111 test -z "$ac_c_werror_flag" ||
8112 test ! -s conftest.err
8113 } && test -s conftest
$ac_exeext &&
8114 $as_test_x conftest
$ac_exeext; then
8117 echo "$as_me: failed program was:" >&5
8118 sed 's/^/| /' conftest.
$ac_ext >&5
8122 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
8123 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
8124 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
8125 echo $ECHO_N "(cached) $ECHO_C" >&6
8127 cat >conftest.
$ac_ext <<_ACEOF
8130 cat confdefs.h
>>conftest.
$ac_ext
8131 cat >>conftest.
$ac_ext <<_ACEOF
8132 /* end confdefs.h. */
8133 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
8134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8135 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
8137 /* System header to define __stub macros and hopefully few prototypes,
8138 which can conflict with char bind_textdomain_codeset (); below.
8139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8140 <limits.h> exists even on freestanding compilers. */
8143 # include <limits.h>
8145 # include <assert.h>
8148 #undef bind_textdomain_codeset
8150 /* Override any GCC internal prototype to avoid an error.
8151 Use char because int might match the return type of a GCC
8152 builtin and then its argument prototype would still apply. */
8156 char bind_textdomain_codeset ();
8157 /* The GNU C library defines this for functions which it implements
8158 to always fail with ENOSYS. Some functions are actually named
8159 something starting with __ and the normal name is an alias. */
8160 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
8167 return bind_textdomain_codeset ();
8172 rm -f conftest.
$ac_objext conftest
$ac_exeext
8173 if { (ac_try
="$ac_link"
8175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8176 *) ac_try_echo=$ac_try;;
8178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8179 (eval "$ac_link") 2>conftest.er1
8181 grep -v '^ *+' conftest.er1 >conftest.err
8183 cat conftest.err >&5
8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 (exit $ac_status); } && {
8186 test -z "$ac_c_werror_flag" ||
8187 test ! -s conftest.err
8188 } && test -s conftest$ac_exeext &&
8189 $as_test_x conftest$ac_exeext; then
8190 ac_cv_func_bind_textdomain_codeset=yes
8192 echo "$as_me: failed program was:" >&5
8193 sed 's/^/| /' conftest.$ac_ext >&5
8195 ac_cv_func_bind_textdomain_codeset=no
8198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8199 conftest$ac_exeext conftest.$ac_ext
8201 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
8202 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
8203 if test $ac_cv_func_bind_textdomain_codeset = yes; then
8216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8217 conftest$ac_exeext conftest.$ac_ext
8227 { echo "$as_me:$LINENO: checking for g_malloc0 in -lglib-2.0" >&5
8228 echo $ECHO_N "checking for g_malloc0 in -lglib-2.0... $ECHO_C" >&6; }
8229 if test "${ac_cv_lib_glib_2_0_g_malloc0+set}" = set; then
8230 echo $ECHO_N "(cached) $ECHO_C" >&6
8232 ac_check_lib_save_LIBS=$LIBS
8233 LIBS="-lglib-2.0 $LIBS"
8234 cat >conftest.$ac_ext <<_ACEOF
8237 cat confdefs.h >>conftest.$ac_ext
8238 cat >>conftest.$ac_ext <<_ACEOF
8239 /* end confdefs.h. */
8241 /* Override any GCC internal prototype to avoid an error.
8242 Use char because int might match the return type of a GCC
8243 builtin and then its argument prototype would still apply. */
8251 return g_malloc0 ();
8256 rm -f conftest.$ac_objext conftest$ac_exeext
8257 if { (ac_try="$ac_link"
8259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8260 *) ac_try_echo
=$ac_try;;
8262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8263 (eval "$ac_link") 2>conftest.er1
8265 grep -v '^ *+' conftest.er1
>conftest.err
8267 cat conftest.err
>&5
8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269 (exit $ac_status); } && {
8270 test -z "$ac_c_werror_flag" ||
8271 test ! -s conftest.err
8272 } && test -s conftest
$ac_exeext &&
8273 $as_test_x conftest
$ac_exeext; then
8274 ac_cv_lib_glib_2_0_g_malloc0
=yes
8276 echo "$as_me: failed program was:" >&5
8277 sed 's/^/| /' conftest.
$ac_ext >&5
8279 ac_cv_lib_glib_2_0_g_malloc0
=no
8282 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8283 conftest
$ac_exeext conftest.
$ac_ext
8284 LIBS
=$ac_check_lib_save_LIBS
8286 { echo "$as_me:$LINENO: result: $ac_cv_lib_glib_2_0_g_malloc0" >&5
8287 echo "${ECHO_T}$ac_cv_lib_glib_2_0_g_malloc0" >&6; }
8288 if test $ac_cv_lib_glib_2_0_g_malloc0 = yes; then
8289 cat >>confdefs.h
<<_ACEOF
8290 #define HAVE_LIBGLIB_2_0 1
8293 LIBS
="-lglib-2.0 $LIBS"
8296 { { echo "$as_me:$LINENO: error: \"libglib not installed\"" >&5
8297 echo "$as_me: error: \"libglib not installed\"" >&2;}
8298 { (exit 1); exit 1; }; }
8305 { echo "$as_me:$LINENO: checking for fftw_plan_dft_r2c_2d in -lfftw3" >&5
8306 echo $ECHO_N "checking for fftw_plan_dft_r2c_2d in -lfftw3... $ECHO_C" >&6; }
8307 if test "${ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d+set}" = set; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8310 ac_check_lib_save_LIBS
=$LIBS
8311 LIBS
="-lfftw3 $LIBS"
8312 cat >conftest.
$ac_ext <<_ACEOF
8315 cat confdefs.h
>>conftest.
$ac_ext
8316 cat >>conftest.
$ac_ext <<_ACEOF
8317 /* end confdefs.h. */
8319 /* Override any GCC internal prototype to avoid an error.
8320 Use char because int might match the return type of a GCC
8321 builtin and then its argument prototype would still apply. */
8325 char fftw_plan_dft_r2c_2d ();
8329 return fftw_plan_dft_r2c_2d ();
8334 rm -f conftest.
$ac_objext conftest
$ac_exeext
8335 if { (ac_try
="$ac_link"
8337 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8338 *) ac_try_echo=$ac_try;;
8340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8341 (eval "$ac_link") 2>conftest.er1
8343 grep -v '^ *+' conftest.er1 >conftest.err
8345 cat conftest.err >&5
8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347 (exit $ac_status); } && {
8348 test -z "$ac_c_werror_flag" ||
8349 test ! -s conftest.err
8350 } && test -s conftest$ac_exeext &&
8351 $as_test_x conftest$ac_exeext; then
8352 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d=yes
8354 echo "$as_me: failed program was:" >&5
8355 sed 's/^/| /' conftest.$ac_ext >&5
8357 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d=no
8360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8361 conftest$ac_exeext conftest.$ac_ext
8362 LIBS=$ac_check_lib_save_LIBS
8364 { echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&5
8365 echo "${ECHO_T}$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&6; }
8366 if test $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d = yes; then
8367 cat >>confdefs.h <<_ACEOF
8368 #define HAVE_LIBFFTW3 1
8371 LIBS="-lfftw3 $LIBS"
8374 { { echo "$as_me:$LINENO: error: \"libfftw3 not installed\"" >&5
8375 echo "$as_me: error: \"libfftw3 not installed\"" >&2;}
8376 { (exit 1); exit 1; }; }
8381 { echo "$as_me:$LINENO: checking for main in -lgslcblas" >&5
8382 echo $ECHO_N "checking for main in -lgslcblas... $ECHO_C" >&6; }
8383 if test "${ac_cv_lib_gslcblas_main+set}" = set; then
8384 echo $ECHO_N "(cached) $ECHO_C" >&6
8386 ac_check_lib_save_LIBS=$LIBS
8387 LIBS="-lgslcblas $LIBS"
8388 cat >conftest.$ac_ext <<_ACEOF
8391 cat confdefs.h >>conftest.$ac_ext
8392 cat >>conftest.$ac_ext <<_ACEOF
8393 /* end confdefs.h. */
8404 rm -f conftest.$ac_objext conftest$ac_exeext
8405 if { (ac_try="$ac_link"
8407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8408 *) ac_try_echo
=$ac_try;;
8410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8411 (eval "$ac_link") 2>conftest.er1
8413 grep -v '^ *+' conftest.er1
>conftest.err
8415 cat conftest.err
>&5
8416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8417 (exit $ac_status); } && {
8418 test -z "$ac_c_werror_flag" ||
8419 test ! -s conftest.err
8420 } && test -s conftest
$ac_exeext &&
8421 $as_test_x conftest
$ac_exeext; then
8422 ac_cv_lib_gslcblas_main
=yes
8424 echo "$as_me: failed program was:" >&5
8425 sed 's/^/| /' conftest.
$ac_ext >&5
8427 ac_cv_lib_gslcblas_main
=no
8430 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8431 conftest
$ac_exeext conftest.
$ac_ext
8432 LIBS
=$ac_check_lib_save_LIBS
8434 { echo "$as_me:$LINENO: result: $ac_cv_lib_gslcblas_main" >&5
8435 echo "${ECHO_T}$ac_cv_lib_gslcblas_main" >&6; }
8436 if test $ac_cv_lib_gslcblas_main = yes; then
8437 cat >>confdefs.h
<<_ACEOF
8438 #define HAVE_LIBGSLCBLAS 1
8441 LIBS
="-lgslcblas $LIBS"
8444 { { echo "$as_me:$LINENO: error: \"libgslcblas not installed\"" >&5
8445 echo "$as_me: error: \"libgslcblas not installed\"" >&2;}
8446 { (exit 1); exit 1; }; }
8451 { echo "$as_me:$LINENO: checking for main in -lgsl" >&5
8452 echo $ECHO_N "checking for main in -lgsl... $ECHO_C" >&6; }
8453 if test "${ac_cv_lib_gsl_main+set}" = set; then
8454 echo $ECHO_N "(cached) $ECHO_C" >&6
8456 ac_check_lib_save_LIBS
=$LIBS
8458 cat >conftest.
$ac_ext <<_ACEOF
8461 cat confdefs.h
>>conftest.
$ac_ext
8462 cat >>conftest.
$ac_ext <<_ACEOF
8463 /* end confdefs.h. */
8474 rm -f conftest.
$ac_objext conftest
$ac_exeext
8475 if { (ac_try
="$ac_link"
8477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8478 *) ac_try_echo=$ac_try;;
8480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8481 (eval "$ac_link") 2>conftest.er1
8483 grep -v '^ *+' conftest.er1 >conftest.err
8485 cat conftest.err >&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); } && {
8488 test -z "$ac_c_werror_flag" ||
8489 test ! -s conftest.err
8490 } && test -s conftest$ac_exeext &&
8491 $as_test_x conftest$ac_exeext; then
8492 ac_cv_lib_gsl_main=yes
8494 echo "$as_me: failed program was:" >&5
8495 sed 's/^/| /' conftest.$ac_ext >&5
8497 ac_cv_lib_gsl_main=no
8500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8501 conftest$ac_exeext conftest.$ac_ext
8502 LIBS=$ac_check_lib_save_LIBS
8504 { echo "$as_me:$LINENO: result: $ac_cv_lib_gsl_main" >&5
8505 echo "${ECHO_T}$ac_cv_lib_gsl_main" >&6; }
8506 if test $ac_cv_lib_gsl_main = yes; then
8507 cat >>confdefs.h <<_ACEOF
8508 #define HAVE_LIBGSL 1
8514 { { echo "$as_me:$LINENO: error: \"libgsl not installed\"" >&5
8515 echo "$as_me: error: \"libgsl not installed\"" >&2;}
8516 { (exit 1); exit 1; }; }
8522 { echo "$as_me:$LINENO: checking for gpiv_piv_interrogate_ia in -lgpiv" >&5
8523 echo $ECHO_N "checking for gpiv_piv_interrogate_ia in -lgpiv... $ECHO_C" >&6; }
8524 if test "${ac_cv_lib_gpiv_gpiv_piv_interrogate_ia+set}" = set; then
8525 echo $ECHO_N "(cached) $ECHO_C" >&6
8527 ac_check_lib_save_LIBS=$LIBS
8529 cat >conftest.$ac_ext <<_ACEOF
8532 cat confdefs.h >>conftest.$ac_ext
8533 cat >>conftest.$ac_ext <<_ACEOF
8534 /* end confdefs.h. */
8536 /* Override any GCC internal prototype to avoid an error.
8537 Use char because int might match the return type of a GCC
8538 builtin and then its argument prototype would still apply. */
8542 char gpiv_piv_interrogate_ia ();
8546 return gpiv_piv_interrogate_ia ();
8551 rm -f conftest.$ac_objext conftest$ac_exeext
8552 if { (ac_try="$ac_link"
8554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8555 *) ac_try_echo
=$ac_try;;
8557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8558 (eval "$ac_link") 2>conftest.er1
8560 grep -v '^ *+' conftest.er1
>conftest.err
8562 cat conftest.err
>&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); } && {
8565 test -z "$ac_c_werror_flag" ||
8566 test ! -s conftest.err
8567 } && test -s conftest
$ac_exeext &&
8568 $as_test_x conftest
$ac_exeext; then
8569 ac_cv_lib_gpiv_gpiv_piv_interrogate_ia
=yes
8571 echo "$as_me: failed program was:" >&5
8572 sed 's/^/| /' conftest.
$ac_ext >&5
8574 ac_cv_lib_gpiv_gpiv_piv_interrogate_ia
=no
8577 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8578 conftest
$ac_exeext conftest.
$ac_ext
8579 LIBS
=$ac_check_lib_save_LIBS
8581 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_piv_interrogate_ia" >&5
8582 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_piv_interrogate_ia" >&6; }
8583 if test $ac_cv_lib_gpiv_gpiv_piv_interrogate_ia = yes; then
8584 cat >>confdefs.h
<<_ACEOF
8585 #define HAVE_LIBGPIV 1
8591 { { echo "$as_me:$LINENO: error: libgpiv has not been installed" >&5
8592 echo "$as_me: error: libgpiv has not been installed" >&2;}
8593 { (exit 1); exit 1; }; }
8597 { echo "$as_me:$LINENO: checking for gpiv_scan_resourcefiles in -lgpiv" >&5
8598 echo $ECHO_N "checking for gpiv_scan_resourcefiles in -lgpiv... $ECHO_C" >&6; }
8599 if test "${ac_cv_lib_gpiv_gpiv_scan_resourcefiles+set}" = set; then
8600 echo $ECHO_N "(cached) $ECHO_C" >&6
8602 ac_check_lib_save_LIBS
=$LIBS
8604 cat >conftest.
$ac_ext <<_ACEOF
8607 cat confdefs.h
>>conftest.
$ac_ext
8608 cat >>conftest.
$ac_ext <<_ACEOF
8609 /* end confdefs.h. */
8611 /* Override any GCC internal prototype to avoid an error.
8612 Use char because int might match the return type of a GCC
8613 builtin and then its argument prototype would still apply. */
8617 char gpiv_scan_resourcefiles ();
8621 return gpiv_scan_resourcefiles ();
8626 rm -f conftest.
$ac_objext conftest
$ac_exeext
8627 if { (ac_try
="$ac_link"
8629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8630 *) ac_try_echo=$ac_try;;
8632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8633 (eval "$ac_link") 2>conftest.er1
8635 grep -v '^ *+' conftest.er1 >conftest.err
8637 cat conftest.err >&5
8638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639 (exit $ac_status); } && {
8640 test -z "$ac_c_werror_flag" ||
8641 test ! -s conftest.err
8642 } && test -s conftest$ac_exeext &&
8643 $as_test_x conftest$ac_exeext; then
8644 ac_cv_lib_gpiv_gpiv_scan_resourcefiles=yes
8646 echo "$as_me: failed program was:" >&5
8647 sed 's/^/| /' conftest.$ac_ext >&5
8649 ac_cv_lib_gpiv_gpiv_scan_resourcefiles=no
8652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8653 conftest$ac_exeext conftest.$ac_ext
8654 LIBS=$ac_check_lib_save_LIBS
8656 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_scan_resourcefiles" >&5
8657 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_scan_resourcefiles" >&6; }
8658 if test $ac_cv_lib_gpiv_gpiv_scan_resourcefiles = yes; then
8659 cat >>confdefs.h <<_ACEOF
8660 #define HAVE_LIBGPIV 1
8666 { { echo "$as_me:$LINENO: error: libgpiv has not been installed" >&5
8667 echo "$as_me: error: libgpiv has not been installed" >&2;}
8668 { (exit 1); exit 1; }; }
8677 for ac_header in stdlib.h string.h unistd.h fftw3.h gpiv.h
8679 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8680 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8681 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8684 echo $ECHO_N "(cached) $ECHO_C" >&6
8686 ac_res=`eval echo '${'$as_ac_Header'}'`
8687 { echo "$as_me:$LINENO: result: $ac_res" >&5
8688 echo "${ECHO_T}$ac_res" >&6; }
8690 # Is the header compilable?
8691 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8692 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8693 cat >conftest.$ac_ext <<_ACEOF
8696 cat confdefs.h >>conftest.$ac_ext
8697 cat >>conftest.$ac_ext <<_ACEOF
8698 /* end confdefs.h. */
8699 $ac_includes_default
8700 #include <$ac_header>
8702 rm -f conftest.$ac_objext
8703 if { (ac_try="$ac_compile"
8705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8706 *) ac_try_echo
=$ac_try;;
8708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8709 (eval "$ac_compile") 2>conftest.er1
8711 grep -v '^ *+' conftest.er1
>conftest.err
8713 cat conftest.err
>&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); } && {
8716 test -z "$ac_c_werror_flag" ||
8717 test ! -s conftest.err
8718 } && test -s conftest.
$ac_objext; then
8719 ac_header_compiler
=yes
8721 echo "$as_me: failed program was:" >&5
8722 sed 's/^/| /' conftest.
$ac_ext >&5
8724 ac_header_compiler
=no
8727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8728 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8729 echo "${ECHO_T}$ac_header_compiler" >&6; }
8731 # Is the header present?
8732 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8733 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8734 cat >conftest.
$ac_ext <<_ACEOF
8737 cat confdefs.h
>>conftest.
$ac_ext
8738 cat >>conftest.
$ac_ext <<_ACEOF
8739 /* end confdefs.h. */
8740 #include <$ac_header>
8742 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8744 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8745 *) ac_try_echo=$ac_try;;
8747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8750 grep -v '^ *+' conftest.er1 >conftest.err
8752 cat conftest.err >&5
8753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754 (exit $ac_status); } >/dev/null && {
8755 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8756 test ! -s conftest.err
8758 ac_header_preproc=yes
8760 echo "$as_me: failed program was:" >&5
8761 sed 's/^/| /' conftest.$ac_ext >&5
8763 ac_header_preproc=no
8766 rm -f conftest.err conftest.$ac_ext
8767 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8768 echo "${ECHO_T}$ac_header_preproc" >&6; }
8770 # So? What about this header?
8771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8773 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8774 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8776 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8777 ac_header_preproc=yes
8780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8784 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8785 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8786 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8787 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8789 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8790 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8791 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8793 ## ------------------------------------------------------------------- ##
8794 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
8795 ## ------------------------------------------------------------------- ##
8797 ) | sed "s/^/$as_me: WARNING: /" >&2
8800 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8802 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8803 echo $ECHO_N "(cached) $ECHO_C" >&6
8805 eval "$as_ac_Header=\$ac_header_preproc"
8807 ac_res=`eval echo '${'$as_ac_Header'}'`
8808 { echo "$as_me:$LINENO: result: $ac_res" >&5
8809 echo "${ECHO_T}$ac_res" >&6; }
8812 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8813 cat >>confdefs.h <<_ACEOF
8814 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8822 # Check whether --enable-cam was given.
8823 if test "${enable_cam+set}" = set; then
8824 enableval=$enable_cam; ENABLE_CAM="-DENABLE_CAM"
8831 # Check whether --enable-trig was given.
8832 if test "${enable_trig+set}" = set; then
8833 enableval=$enable_trig; ENABLE_TRIG="-DENABLE_TRIG"
8840 if test $ENABLE_CAM || test $ENABLE_TRIG; then
8841 ENABLE_DAC="-DENABLE_DAC"
8845 if test "${ENABLE_CAM}" == '-DENABLE_CAM'; then
8847 { echo "$as_me:$LINENO: checking for gpiv_cam_get_camvar in -lgpiv" >&5
8848 echo $ECHO_N "checking for gpiv_cam_get_camvar in -lgpiv... $ECHO_C" >&6; }
8849 if test "${ac_cv_lib_gpiv_gpiv_cam_get_camvar+set}" = set; then
8850 echo $ECHO_N "(cached) $ECHO_C" >&6
8852 ac_check_lib_save_LIBS=$LIBS
8854 cat >conftest.$ac_ext <<_ACEOF
8857 cat confdefs.h >>conftest.$ac_ext
8858 cat >>conftest.$ac_ext <<_ACEOF
8859 /* end confdefs.h. */
8861 /* Override any GCC internal prototype to avoid an error.
8862 Use char because int might match the return type of a GCC
8863 builtin and then its argument prototype would still apply. */
8867 char gpiv_cam_get_camvar ();
8871 return gpiv_cam_get_camvar ();
8876 rm -f conftest.$ac_objext conftest$ac_exeext
8877 if { (ac_try="$ac_link"
8879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8880 *) ac_try_echo
=$ac_try;;
8882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8883 (eval "$ac_link") 2>conftest.er1
8885 grep -v '^ *+' conftest.er1
>conftest.err
8887 cat conftest.err
>&5
8888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889 (exit $ac_status); } && {
8890 test -z "$ac_c_werror_flag" ||
8891 test ! -s conftest.err
8892 } && test -s conftest
$ac_exeext &&
8893 $as_test_x conftest
$ac_exeext; then
8894 ac_cv_lib_gpiv_gpiv_cam_get_camvar
=yes
8896 echo "$as_me: failed program was:" >&5
8897 sed 's/^/| /' conftest.
$ac_ext >&5
8899 ac_cv_lib_gpiv_gpiv_cam_get_camvar
=no
8902 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8903 conftest
$ac_exeext conftest.
$ac_ext
8904 LIBS
=$ac_check_lib_save_LIBS
8906 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&5
8907 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&6; }
8908 if test $ac_cv_lib_gpiv_gpiv_cam_get_camvar = yes; then
8909 cat >>confdefs.h
<<_ACEOF
8910 #define HAVE_LIBGPIV 1
8916 { { echo "$as_me:$LINENO: error: \"(IEEE-1394) camera is not working in libgpiv. \
8917 Enable (IEEE-1394) camera in libgpiv or disable it here by leaving out --enable-cam during ./configure\"" >&5
8918 echo "$as_me: 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\"" >&2;}
8920 { (exit 1); exit 1; }; }
8925 { echo "$as_me:$LINENO: checking for raw1394_destroy_handle in -lraw1394" >&5
8926 echo $ECHO_N "checking for raw1394_destroy_handle in -lraw1394... $ECHO_C" >&6; }
8927 if test "${ac_cv_lib_raw1394_raw1394_destroy_handle+set}" = set; then
8928 echo $ECHO_N "(cached) $ECHO_C" >&6
8930 ac_check_lib_save_LIBS
=$LIBS
8931 LIBS
="-lraw1394 $LIBS"
8932 cat >conftest.
$ac_ext <<_ACEOF
8935 cat confdefs.h
>>conftest.
$ac_ext
8936 cat >>conftest.
$ac_ext <<_ACEOF
8937 /* end confdefs.h. */
8939 /* Override any GCC internal prototype to avoid an error.
8940 Use char because int might match the return type of a GCC
8941 builtin and then its argument prototype would still apply. */
8945 char raw1394_destroy_handle ();
8949 return raw1394_destroy_handle ();
8954 rm -f conftest.
$ac_objext conftest
$ac_exeext
8955 if { (ac_try
="$ac_link"
8957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8958 *) ac_try_echo=$ac_try;;
8960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8961 (eval "$ac_link") 2>conftest.er1
8963 grep -v '^ *+' conftest.er1 >conftest.err
8965 cat conftest.err >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 (exit $ac_status); } && {
8968 test -z "$ac_c_werror_flag" ||
8969 test ! -s conftest.err
8970 } && test -s conftest$ac_exeext &&
8971 $as_test_x conftest$ac_exeext; then
8972 ac_cv_lib_raw1394_raw1394_destroy_handle=yes
8974 echo "$as_me: failed program was:" >&5
8975 sed 's/^/| /' conftest.$ac_ext >&5
8977 ac_cv_lib_raw1394_raw1394_destroy_handle=no
8980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8981 conftest$ac_exeext conftest.$ac_ext
8982 LIBS=$ac_check_lib_save_LIBS
8984 { echo "$as_me:$LINENO: result: $ac_cv_lib_raw1394_raw1394_destroy_handle" >&5
8985 echo "${ECHO_T}$ac_cv_lib_raw1394_raw1394_destroy_handle" >&6; }
8986 if test $ac_cv_lib_raw1394_raw1394_destroy_handle = yes; then
8987 cat >>confdefs.h <<_ACEOF
8988 #define HAVE_LIBRAW1394 1
8991 LIBS="-lraw1394 $LIBS"
8994 { { echo "$as_me:$LINENO: error: \"libraw1394 not installed\"" >&5
8995 echo "$as_me: error: \"libraw1394 not installed\"" >&2;}
8996 { (exit 1); exit 1; }; }
9001 { echo "$as_me:$LINENO: checking for dc1394_create_handle in -ldc1394_control" >&5
9002 echo $ECHO_N "checking for dc1394_create_handle in -ldc1394_control... $ECHO_C" >&6; }
9003 if test "${ac_cv_lib_dc1394_control_dc1394_create_handle+set}" = set; then
9004 echo $ECHO_N "(cached) $ECHO_C" >&6
9006 ac_check_lib_save_LIBS=$LIBS
9007 LIBS="-ldc1394_control $LIBS"
9008 cat >conftest.$ac_ext <<_ACEOF
9011 cat confdefs.h >>conftest.$ac_ext
9012 cat >>conftest.$ac_ext <<_ACEOF
9013 /* end confdefs.h. */
9015 /* Override any GCC internal prototype to avoid an error.
9016 Use char because int might match the return type of a GCC
9017 builtin and then its argument prototype would still apply. */
9021 char dc1394_create_handle ();
9025 return dc1394_create_handle ();
9030 rm -f conftest.$ac_objext conftest$ac_exeext
9031 if { (ac_try="$ac_link"
9033 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9034 *) ac_try_echo
=$ac_try;;
9036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9037 (eval "$ac_link") 2>conftest.er1
9039 grep -v '^ *+' conftest.er1
>conftest.err
9041 cat conftest.err
>&5
9042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9043 (exit $ac_status); } && {
9044 test -z "$ac_c_werror_flag" ||
9045 test ! -s conftest.err
9046 } && test -s conftest
$ac_exeext &&
9047 $as_test_x conftest
$ac_exeext; then
9048 ac_cv_lib_dc1394_control_dc1394_create_handle
=yes
9050 echo "$as_me: failed program was:" >&5
9051 sed 's/^/| /' conftest.
$ac_ext >&5
9053 ac_cv_lib_dc1394_control_dc1394_create_handle
=no
9056 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9057 conftest
$ac_exeext conftest.
$ac_ext
9058 LIBS
=$ac_check_lib_save_LIBS
9060 { echo "$as_me:$LINENO: result: $ac_cv_lib_dc1394_control_dc1394_create_handle" >&5
9061 echo "${ECHO_T}$ac_cv_lib_dc1394_control_dc1394_create_handle" >&6; }
9062 if test $ac_cv_lib_dc1394_control_dc1394_create_handle = yes; then
9063 cat >>confdefs.h
<<_ACEOF
9064 #define HAVE_LIBDC1394_CONTROL 1
9067 LIBS
="-ldc1394_control $LIBS"
9070 { { echo "$as_me:$LINENO: error: \"libdc1394_control not installed\"" >&5
9071 echo "$as_me: error: \"libdc1394_control not installed\"" >&2;}
9072 { (exit 1); exit 1; }; }
9076 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
9077 { echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
9078 echo $ECHO_N "checking for libdc1394/dc1394_control.h... $ECHO_C" >&6; }
9079 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
9080 echo $ECHO_N "(cached) $ECHO_C" >&6
9082 { echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
9083 echo "${ECHO_T}$ac_cv_header_libdc1394_dc1394_control_h" >&6; }
9085 # Is the header compilable?
9086 { echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h usability" >&5
9087 echo $ECHO_N "checking libdc1394/dc1394_control.h usability... $ECHO_C" >&6; }
9088 cat >conftest.
$ac_ext <<_ACEOF
9091 cat confdefs.h
>>conftest.
$ac_ext
9092 cat >>conftest.
$ac_ext <<_ACEOF
9093 /* end confdefs.h. */
9094 $ac_includes_default
9095 #include <libdc1394/dc1394_control.h>
9097 rm -f conftest.
$ac_objext
9098 if { (ac_try
="$ac_compile"
9100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9101 *) ac_try_echo=$ac_try;;
9103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9104 (eval "$ac_compile") 2>conftest.er1
9106 grep -v '^ *+' conftest.er1 >conftest.err
9108 cat conftest.err >&5
9109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110 (exit $ac_status); } && {
9111 test -z "$ac_c_werror_flag" ||
9112 test ! -s conftest.err
9113 } && test -s conftest.$ac_objext; then
9114 ac_header_compiler=yes
9116 echo "$as_me: failed program was:" >&5
9117 sed 's/^/| /' conftest.$ac_ext >&5
9119 ac_header_compiler=no
9122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9123 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9124 echo "${ECHO_T}$ac_header_compiler" >&6; }
9126 # Is the header present?
9127 { echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h presence" >&5
9128 echo $ECHO_N "checking libdc1394/dc1394_control.h presence... $ECHO_C" >&6; }
9129 cat >conftest.$ac_ext <<_ACEOF
9132 cat confdefs.h >>conftest.$ac_ext
9133 cat >>conftest.$ac_ext <<_ACEOF
9134 /* end confdefs.h. */
9135 #include <libdc1394/dc1394_control.h>
9137 if { (ac_try="$ac_cpp conftest.$ac_ext"
9139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9140 *) ac_try_echo
=$ac_try;;
9142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9143 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9145 grep -v '^ *+' conftest.er1
>conftest.err
9147 cat conftest.err
>&5
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); } >/dev
/null
&& {
9150 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9151 test ! -s conftest.err
9153 ac_header_preproc
=yes
9155 echo "$as_me: failed program was:" >&5
9156 sed 's/^/| /' conftest.
$ac_ext >&5
9158 ac_header_preproc
=no
9161 rm -f conftest.err conftest.
$ac_ext
9162 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9163 echo "${ECHO_T}$ac_header_preproc" >&6; }
9165 # So? What about this header?
9166 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9168 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&5
9169 echo "$as_me: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9170 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&5
9171 echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&2;}
9172 ac_header_preproc
=yes
9175 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&5
9176 echo "$as_me: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&2;}
9177 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&5
9178 echo "$as_me: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&2;}
9179 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&5
9180 echo "$as_me: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&2;}
9181 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&5
9182 echo "$as_me: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&2;}
9183 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&5
9184 echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&2;}
9185 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&5
9186 echo "$as_me: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&2;}
9188 ## ------------------------------------------------------------------- ##
9189 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
9190 ## ------------------------------------------------------------------- ##
9192 ) |
sed "s/^/$as_me: WARNING: /" >&2
9195 { echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
9196 echo $ECHO_N "checking for libdc1394/dc1394_control.h... $ECHO_C" >&6; }
9197 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
9198 echo $ECHO_N "(cached) $ECHO_C" >&6
9200 ac_cv_header_libdc1394_dc1394_control_h
=$ac_header_preproc
9202 { echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
9203 echo "${ECHO_T}$ac_cv_header_libdc1394_dc1394_control_h" >&6; }
9206 if test $ac_cv_header_libdc1394_dc1394_control_h = yes; then
9209 { { echo "$as_me:$LINENO: error: \"missing dc1394_control.h\"" >&5
9210 echo "$as_me: error: \"missing dc1394_control.h\"" >&2;}
9211 { (exit 1); exit 1; }; }
9216 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9217 { echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
9218 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6; }
9219 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9220 echo $ECHO_N "(cached) $ECHO_C" >&6
9222 { echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
9223 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6; }
9225 # Is the header compilable?
9226 { echo "$as_me:$LINENO: checking libraw1394/raw1394.h usability" >&5
9227 echo $ECHO_N "checking libraw1394/raw1394.h usability... $ECHO_C" >&6; }
9228 cat >conftest.
$ac_ext <<_ACEOF
9231 cat confdefs.h
>>conftest.
$ac_ext
9232 cat >>conftest.
$ac_ext <<_ACEOF
9233 /* end confdefs.h. */
9234 $ac_includes_default
9235 #include <libraw1394/raw1394.h>
9237 rm -f conftest.
$ac_objext
9238 if { (ac_try
="$ac_compile"
9240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9241 *) ac_try_echo=$ac_try;;
9243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9244 (eval "$ac_compile") 2>conftest.er1
9246 grep -v '^ *+' conftest.er1 >conftest.err
9248 cat conftest.err >&5
9249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250 (exit $ac_status); } && {
9251 test -z "$ac_c_werror_flag" ||
9252 test ! -s conftest.err
9253 } && test -s conftest.$ac_objext; then
9254 ac_header_compiler=yes
9256 echo "$as_me: failed program was:" >&5
9257 sed 's/^/| /' conftest.$ac_ext >&5
9259 ac_header_compiler=no
9262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9263 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9264 echo "${ECHO_T}$ac_header_compiler" >&6; }
9266 # Is the header present?
9267 { echo "$as_me:$LINENO: checking libraw1394/raw1394.h presence" >&5
9268 echo $ECHO_N "checking libraw1394/raw1394.h presence... $ECHO_C" >&6; }
9269 cat >conftest.$ac_ext <<_ACEOF
9272 cat confdefs.h >>conftest.$ac_ext
9273 cat >>conftest.$ac_ext <<_ACEOF
9274 /* end confdefs.h. */
9275 #include <libraw1394/raw1394.h>
9277 if { (ac_try="$ac_cpp conftest.$ac_ext"
9279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9280 *) ac_try_echo
=$ac_try;;
9282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9283 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9285 grep -v '^ *+' conftest.er1
>conftest.err
9287 cat conftest.err
>&5
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 (exit $ac_status); } >/dev
/null
&& {
9290 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9291 test ! -s conftest.err
9293 ac_header_preproc
=yes
9295 echo "$as_me: failed program was:" >&5
9296 sed 's/^/| /' conftest.
$ac_ext >&5
9298 ac_header_preproc
=no
9301 rm -f conftest.err conftest.
$ac_ext
9302 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9303 echo "${ECHO_T}$ac_header_preproc" >&6; }
9305 # So? What about this header?
9306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9308 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&5
9309 echo "$as_me: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9310 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&5
9311 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&2;}
9312 ac_header_preproc
=yes
9315 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&5
9316 echo "$as_me: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&2;}
9317 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&5
9318 echo "$as_me: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&2;}
9319 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&5
9320 echo "$as_me: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&2;}
9321 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&5
9322 echo "$as_me: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&2;}
9323 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&5
9324 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&2;}
9325 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&5
9326 echo "$as_me: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&2;}
9328 ## ------------------------------------------------------------------- ##
9329 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
9330 ## ------------------------------------------------------------------- ##
9332 ) |
sed "s/^/$as_me: WARNING: /" >&2
9335 { echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
9336 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6; }
9337 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9338 echo $ECHO_N "(cached) $ECHO_C" >&6
9340 ac_cv_header_libraw1394_raw1394_h
=$ac_header_preproc
9342 { echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
9343 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6; }
9346 if test $ac_cv_header_libraw1394_raw1394_h = yes; then
9349 { { echo "$as_me:$LINENO: error: \"missing raw1394.h\"" >&5
9350 echo "$as_me: error: \"missing raw1394.h\"" >&2;}
9351 { (exit 1); exit 1; }; }
9358 if test "${ENABLE_TRIG}" == '-DENABLE_TRIG'; then
9360 { echo "$as_me:$LINENO: checking for gpiv_trig_openrtfs in -lgpiv" >&5
9361 echo $ECHO_N "checking for gpiv_trig_openrtfs in -lgpiv... $ECHO_C" >&6; }
9362 if test "${ac_cv_lib_gpiv_gpiv_trig_openrtfs+set}" = set; then
9363 echo $ECHO_N "(cached) $ECHO_C" >&6
9365 ac_check_lib_save_LIBS
=$LIBS
9367 cat >conftest.
$ac_ext <<_ACEOF
9370 cat confdefs.h
>>conftest.
$ac_ext
9371 cat >>conftest.
$ac_ext <<_ACEOF
9372 /* end confdefs.h. */
9374 /* Override any GCC internal prototype to avoid an error.
9375 Use char because int might match the return type of a GCC
9376 builtin and then its argument prototype would still apply. */
9380 char gpiv_trig_openrtfs ();
9384 return gpiv_trig_openrtfs ();
9389 rm -f conftest.
$ac_objext conftest
$ac_exeext
9390 if { (ac_try
="$ac_link"
9392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9393 *) ac_try_echo=$ac_try;;
9395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9396 (eval "$ac_link") 2>conftest.er1
9398 grep -v '^ *+' conftest.er1 >conftest.err
9400 cat conftest.err >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); } && {
9403 test -z "$ac_c_werror_flag" ||
9404 test ! -s conftest.err
9405 } && test -s conftest$ac_exeext &&
9406 $as_test_x conftest$ac_exeext; then
9407 ac_cv_lib_gpiv_gpiv_trig_openrtfs=yes
9409 echo "$as_me: failed program was:" >&5
9410 sed 's/^/| /' conftest.$ac_ext >&5
9412 ac_cv_lib_gpiv_gpiv_trig_openrtfs=no
9415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9416 conftest$ac_exeext conftest.$ac_ext
9417 LIBS=$ac_check_lib_save_LIBS
9419 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&5
9420 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&6; }
9421 if test $ac_cv_lib_gpiv_gpiv_trig_openrtfs = yes; then
9422 cat >>confdefs.h <<_ACEOF
9423 #define HAVE_LIBGPIV 1
9429 { { echo "$as_me:$LINENO: error: \"(Realtime) triggering is not working in libgpiv. \
9430 Enable (realtime) triggering in libgpiv or disable it here by leaving out --enable-trig during ./configure\"" >&5
9431 echo "$as_me: 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\"" >&2;}
9433 { (exit 1); exit 1; }; }
9439 # Extract the first word of "gpiv_control", so it can be a program name with args.
9440 set dummy gpiv_control; ac_word=$2
9441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9443 if test "${ac_cv_prog_CONTROL+set}" = set; then
9444 echo $ECHO_N "(cached) $ECHO_C" >&6
9446 if test -n "$CONTROL"; then
9447 ac_cv_prog_CONTROL="$CONTROL" # Let the user override the test.
9449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9453 test -z "$as_dir" && as_dir=.
9454 for ac_exec_ext in '' $ac_executable_extensions; do
9455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9456 ac_cv_prog_CONTROL="true"
9457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9464 test -z "$ac_cv_prog_CONTROL" && ac_cv_prog_CONTROL="false"
9467 CONTROL=$ac_cv_prog_CONTROL
9468 if test -n "$CONTROL"; then
9469 { echo "$as_me:$LINENO: result: $CONTROL" >&5
9470 echo "${ECHO_T}$CONTROL" >&6; }
9472 { echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6; }
9481 HAVE_CONTROL_FALSE='#'
9483 HAVE_CONTROL_TRUE='#'
9488 # Check whether --enable-rta was given.
9489 if test "${enable_rta+set}" = set; then
9490 enableval=$enable_rta; RTA_TOPDIR="$enableval"
9492 RTA_TOPDIR="/usr/lib/realtime"
9499 # Check whether --enable-k was given.
9500 if test "${enable_k+set}" = set; then
9501 enableval=$enable_k; K_TOPDIR="$enableval"
9503 K_TOPDIR="/usr/src/kernel-headers-2.4.27-adeos"
9510 # Check whether --enable-img-width was given.
9511 if test "${enable_img_width+set}" = set; then
9512 enableval=$enable_img_width; OVERRIDE_IMAGE_WIDTH_MAX="-DIMAGE_WIDTH_MAX=$enableval"
9520 # Check whether --enable-img-height was given.
9521 if test "${enable_img_height+set}" = set; then
9522 enableval=$enable_img_height; OVERRIDE_IMAGE_HEIGHT_MAX="-DIMAGE_HEIGHT_MAX=$enableval"
9529 # Check whether --enable-canvas_aa was given.
9530 if test "${enable_canvas_aa+set}" = set; then
9531 enableval=$enable_canvas_aa; CANVAS_AA="-DCANVAS_AA"
9538 # Check whether --enable-debug was given.
9539 if test "${enable_debug+set}" = set; then
9540 enableval=$enable_debug; DEBUG="-DDEBUG"
9548 # Check whether --enable-mpi was given.
9549 if test "${enable_mpi+set}" = set; then
9550 enableval=$enable_mpi; ENABLE_MPI="-DENABLE_MPI"
9556 if test "${ENABLE_MPI}" == '-DENABLE_MPI'; then
9559 { echo "$as_me:$LINENO: checking for gpiv_piv_mpi_bcast_pivpar in -lgpiv" >&5
9560 echo $ECHO_N "checking for gpiv_piv_mpi_bcast_pivpar in -lgpiv... $ECHO_C" >&6; }
9561 if test "${ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar+set}" = set; then
9562 echo $ECHO_N "(cached) $ECHO_C" >&6
9564 ac_check_lib_save_LIBS=$LIBS
9566 cat >conftest.$ac_ext <<_ACEOF
9569 cat confdefs.h >>conftest.$ac_ext
9570 cat >>conftest.$ac_ext <<_ACEOF
9571 /* end confdefs.h. */
9573 /* Override any GCC internal prototype to avoid an error.
9574 Use char because int might match the return type of a GCC
9575 builtin and then its argument prototype would still apply. */
9579 char gpiv_piv_mpi_bcast_pivpar ();
9583 return gpiv_piv_mpi_bcast_pivpar ();
9588 rm -f conftest.$ac_objext conftest$ac_exeext
9589 if { (ac_try="$ac_link"
9591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9592 *) ac_try_echo
=$ac_try;;
9594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9595 (eval "$ac_link") 2>conftest.er1
9597 grep -v '^ *+' conftest.er1
>conftest.err
9599 cat conftest.err
>&5
9600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9601 (exit $ac_status); } && {
9602 test -z "$ac_c_werror_flag" ||
9603 test ! -s conftest.err
9604 } && test -s conftest
$ac_exeext &&
9605 $as_test_x conftest
$ac_exeext; then
9606 ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar
=yes
9608 echo "$as_me: failed program was:" >&5
9609 sed 's/^/| /' conftest.
$ac_ext >&5
9611 ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar
=no
9614 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9615 conftest
$ac_exeext conftest.
$ac_ext
9616 LIBS
=$ac_check_lib_save_LIBS
9618 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar" >&5
9619 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar" >&6; }
9620 if test $ac_cv_lib_gpiv_gpiv_piv_mpi_bcast_pivpar = yes; then
9621 cat >>confdefs.h
<<_ACEOF
9622 #define HAVE_LIBGPIV 1
9628 { { echo "$as_me:$LINENO: error: \"gpiv_piv_mpi_bcast_pivpar is not working in libgpiv. \
9629 Enable MPI in libgpiv or disable it here by leaving out --enable-mpi during ./configure\"" >&5
9630 echo "$as_me: error: \"gpiv_piv_mpi_bcast_pivpar is not working in libgpiv. \
9631 Enable MPI in libgpiv or disable it here by leaving out --enable-mpi during ./configure\"" >&2;}
9632 { (exit 1); exit 1; }; }
9641 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"
9643 cat >confcache
<<\_ACEOF
9644 # This file is a shell script that caches the results of configure
9645 # tests run on this system so they can be shared between configure
9646 # scripts and configure runs, see configure's option --config-cache.
9647 # It is not useful on other systems. If it contains results you don't
9648 # want to keep, you may remove or edit it.
9650 # config.status only pays attention to the cache file if you give it
9651 # the --recheck option to rerun configure.
9653 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9654 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9659 # The following way of writing the cache mishandles newlines in values,
9660 # but we know of no workaround that is simple, portable, and efficient.
9661 # So, we kill variables containing newlines.
9662 # Ultrix sh set writes to stderr and can't be redirected directly,
9663 # and sets the high bit in the cache file unless we assign to the vars.
9665 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9666 eval ac_val
=\$
$ac_var
9670 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9671 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9674 _ | IFS | as_nl
) ;; #(
9675 *) $as_unset $ac_var ;;
9681 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9682 *${as_nl}ac_space
=\
*)
9683 # `set' does not quote correctly, so add quotes (double-quote
9684 # substitution turns \\\\ into \\, and sed turns \\ into \).
9687 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9690 # `set' quotes correctly as required by POSIX, so do not add quotes.
9691 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9700 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9702 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9704 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9705 if test -w "$cache_file"; then
9706 test "x$cache_file" != "x/dev/null" &&
9707 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9708 echo "$as_me: updating cache $cache_file" >&6;}
9709 cat confcache
>$cache_file
9711 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9712 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9717 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9718 # Let make expand exec_prefix.
9719 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9721 # Transform confdefs.h into DEFS.
9722 # Protect against shell expansion while executing Makefile rules.
9723 # Protect against Makefile macro expansion.
9725 # If the first sed substitution is executed (which looks for macros that
9726 # take arguments), then branch to the quote section. Otherwise,
9727 # look for a macro that doesn't take arguments.
9731 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
9733 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
9737 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
9750 DEFS
=`sed -n "$ac_script" confdefs.h`
9755 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9756 # 1. Remove the extension, and $U if already installed.
9757 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
9758 ac_i
=`echo "$ac_i" | sed "$ac_script"`
9759 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9760 # will be set to the directory where LIBOBJS objects are built.
9761 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9762 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9766 LTLIBOBJS
=$ac_ltlibobjs
9769 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
9770 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
9771 Usually this means the macro was only invoked conditionally." >&5
9772 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
9773 Usually this means the macro was only invoked conditionally." >&2;}
9774 { (exit 1); exit 1; }; }
9776 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9777 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9778 Usually this means the macro was only invoked conditionally." >&5
9779 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9780 Usually this means the macro was only invoked conditionally." >&2;}
9781 { (exit 1); exit 1; }; }
9783 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9784 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9785 Usually this means the macro was only invoked conditionally." >&5
9786 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9787 Usually this means the macro was only invoked conditionally." >&2;}
9788 { (exit 1); exit 1; }; }
9790 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9791 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9792 Usually this means the macro was only invoked conditionally." >&5
9793 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9794 Usually this means the macro was only invoked conditionally." >&2;}
9795 { (exit 1); exit 1; }; }
9797 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9798 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9799 Usually this means the macro was only invoked conditionally." >&5
9800 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9801 Usually this means the macro was only invoked conditionally." >&2;}
9802 { (exit 1); exit 1; }; }
9805 ac_config_commands
="$ac_config_commands po/stamp-it"
9808 if test -z "${HAVE_CONTROL_TRUE}" && test -z "${HAVE_CONTROL_FALSE}"; then
9809 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CONTROL\" was never defined.
9810 Usually this means the macro was only invoked conditionally." >&5
9811 echo "$as_me: error: conditional \"HAVE_CONTROL\" was never defined.
9812 Usually this means the macro was only invoked conditionally." >&2;}
9813 { (exit 1); exit 1; }; }
9816 : ${CONFIG_STATUS=./config.status}
9817 ac_clean_files_save
=$ac_clean_files
9818 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9819 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9820 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9821 cat >$CONFIG_STATUS <<_ACEOF
9823 # Generated by $as_me.
9824 # Run this file to recreate the current configuration.
9825 # Compiler output produced by configure, useful for debugging
9826 # configure, is in config.log if it exists.
9831 SHELL=\${CONFIG_SHELL-$SHELL}
9834 cat >>$CONFIG_STATUS <<\_ACEOF
9835 ## --------------------- ##
9836 ## M4sh Initialization. ##
9837 ## --------------------- ##
9839 # Be more Bourne compatible
9840 DUALCASE
=1; export DUALCASE
# for MKS sh
9841 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9844 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9845 # is contrary to our usage. Disable this feature.
9846 alias -g '${1+"$@"}'='"$@"'
9847 setopt NO_GLOB_SUBST
9849 case `(set -o) 2>/dev/null` in
9850 *posix
*) set -o posix
;;
9859 # Avoid depending upon Character Ranges.
9860 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9861 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9862 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9863 as_cr_digits
='0123456789'
9864 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9866 # The user is always right.
9867 if test "${PATH_SEPARATOR+set}" != set; then
9868 echo "#! /bin/sh" >conf$$.sh
9869 echo "exit 0" >>conf$$.sh
9871 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9879 # Support unset when possible.
9880 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
9888 # We need space, tab and new line, in precisely that order. Quoting is
9889 # there to prevent editors from complaining about space-tab.
9890 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9891 # splitting by setting IFS to empty value.)
9896 # Find who we are. Look in the path if we contain no directory separator.
9898 *[\\/]* ) as_myself
=$0 ;;
9899 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9903 test -z "$as_dir" && as_dir
=.
9904 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9910 # We did not find ourselves, most probably we were run as `sh COMMAND'
9911 # in which case we are not to be found in the path.
9912 if test "x$as_myself" = x
; then
9915 if test ! -f "$as_myself"; then
9916 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9917 { (exit 1); exit 1; }
9920 # Work around bugs in pre-3.0 UWIN ksh.
9921 for as_var
in ENV MAIL MAILPATH
9922 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9930 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9931 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9932 LC_TELEPHONE LC_TIME
9934 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9935 eval $as_var=C
; export $as_var
9937 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9941 # Required to use basename.
9942 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9943 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9949 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9950 as_basename
=basename
9956 # Name of the executable.
9957 as_me
=`$as_basename -- "$0" ||
9958 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9959 X"$0" : 'X\(//\)$' \| \
9960 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9962 sed '/^.*\/\([^/][^/]*\)\/*$/{
9983 test "x$as_lineno_1" != "x$as_lineno_2" &&
9984 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
9986 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9987 # uniformly replaced by the line number. The first 'sed' inserts a
9988 # line-number line after each line using $LINENO; the second 'sed'
9989 # does the real work. The second script uses 'N' to pair each
9990 # line-number line with the line containing $LINENO, and appends
9991 # trailing '-' during substitution so that $LINENO is not a special
9993 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9994 # scripts with optimization help from Paolo Bonzini. Blame Lee
9995 # E. McMahon (1931-1989) for sed's syntax. :-)
10007 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10010 ' >$as_me.lineno
&&
10011 chmod +x
"$as_me.lineno" ||
10012 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10013 { (exit 1); exit 1; }; }
10015 # Don't try to exec as it changes $[0], causing all sort of problems
10016 # (the dirname of $[0] is not the place where we might find the
10017 # original and so on. Autoconf is especially sensitive to this).
10018 .
"./$as_me.lineno"
10019 # Exit status is that of the last command.
10024 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10030 ECHO_C
= ECHO_N
= ECHO_T
=
10031 case `echo -n x` in
10033 case `echo 'x\c'` in
10034 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10041 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10042 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10048 rm -f conf$$ conf$$.exe conf$$.
file
10049 if test -d conf$$.dir
; then
10050 rm -f conf$$.dir
/conf$$.
file
10056 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10058 # ... but there are two gotchas:
10059 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10060 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10061 # In both cases, we have to default to `cp -p'.
10062 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
10064 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10069 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10070 rmdir conf$$.dir
2>/dev
/null
10072 if mkdir
-p .
2>/dev
/null
; then
10075 test -d .
/-p && rmdir .
/-p
10079 if test -x / >/dev
/null
2>&1; then
10080 as_test_x
='test -x'
10082 if ls -dL / >/dev
/null
2>&1; then
10089 if test -d "$1"; then
10095 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10096 ???[sx]*):;;*)false;;esac;fi
10100 as_executable_p
=$as_test_x
10102 # Sed expression to map a string onto a valid CPP name.
10103 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10105 # Sed expression to map a string onto a valid variable name.
10106 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10111 # Save the log message, to keep $[0] and so on meaningful, and to
10112 # report actual input values of CONFIG_FILES etc. instead of their
10113 # values after options handling.
10115 This file was extended by gpiv $as_me 0.5.2, which was
10116 generated by GNU Autoconf 2.61. Invocation command line was
10118 CONFIG_FILES = $CONFIG_FILES
10119 CONFIG_HEADERS = $CONFIG_HEADERS
10120 CONFIG_LINKS = $CONFIG_LINKS
10121 CONFIG_COMMANDS = $CONFIG_COMMANDS
10124 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10129 cat >>$CONFIG_STATUS <<_ACEOF
10130 # Files that config.status was made for.
10131 config_files="$ac_config_files"
10132 config_commands="$ac_config_commands"
10136 cat >>$CONFIG_STATUS <<\_ACEOF
10138 \`$as_me' instantiates files from templates according to the
10139 current configuration.
10141 Usage: $0 [OPTIONS] [FILE]...
10143 -h, --help print this help, then exit
10144 -V, --version print version number and configuration settings, then exit
10145 -q, --quiet do not print progress messages
10146 -d, --debug don't remove temporary files
10147 --recheck update $as_me by reconfiguring in the same conditions
10148 --file=FILE[:TEMPLATE]
10149 instantiate the configuration file FILE
10151 Configuration files:
10154 Configuration commands:
10157 Report bugs to <bug-autoconf@gnu.org>."
10160 cat >>$CONFIG_STATUS <<_ACEOF
10162 gpiv config.status 0.5.2
10163 configured by $0, generated by GNU Autoconf 2.61,
10164 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10166 Copyright (C) 2006 Free Software Foundation, Inc.
10167 This config.status script is free software; the Free Software Foundation
10168 gives unlimited permission to copy, distribute and modify it."
10175 cat >>$CONFIG_STATUS <<\_ACEOF
10176 # If no file are specified by the user, then we need to provide default
10177 # value. By we need to know if files were specified by the user.
10183 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10184 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10195 # Handling of the options.
10196 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10198 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10199 echo "$ac_cs_version"; exit ;;
10200 --debug |
--debu |
--deb |
--de |
--d |
-d )
10202 --file |
--fil |
--fi |
--f )
10204 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10205 ac_need_defaults
=false
;;
10206 --he |
--h |
--help |
--hel |
-h )
10207 echo "$ac_cs_usage"; exit ;;
10208 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10209 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10212 # This is an error.
10213 -*) { echo "$as_me: error: unrecognized option: $1
10214 Try \`$0 --help' for more information." >&2
10215 { (exit 1); exit 1; }; } ;;
10217 *) ac_config_targets
="$ac_config_targets $1"
10218 ac_need_defaults
=false
;;
10224 ac_configure_extra_args
=
10226 if $ac_cs_silent; then
10228 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10232 cat >>$CONFIG_STATUS <<_ACEOF
10233 if \$ac_cs_recheck; then
10234 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10235 CONFIG_SHELL=$SHELL
10236 export CONFIG_SHELL
10237 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10241 cat >>$CONFIG_STATUS <<\_ACEOF
10245 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10246 ## Running $as_me. ##
10252 cat >>$CONFIG_STATUS <<_ACEOF
10256 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10261 cat >>$CONFIG_STATUS <<\_ACEOF
10263 # Handling of arguments.
10264 for ac_config_target
in $ac_config_targets
10266 case $ac_config_target in
10267 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10268 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
10269 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10270 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
10271 "doc/C/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/C/Makefile" ;;
10272 "doc/C/figures/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/C/figures/Makefile" ;;
10273 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
10274 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
10275 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
10276 "pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES pixmaps/Makefile" ;;
10277 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
10279 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10280 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10281 { (exit 1); exit 1; }; };;
10286 # If the user did not use the arguments to specify the items to instantiate,
10287 # then the envvar interface is used. Set only those that are not.
10288 # We use the long form for the default assignment because of an extremely
10289 # bizarre bug on SunOS 4.1.3.
10290 if $ac_need_defaults; then
10291 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10292 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10295 # Have a temporary directory for convenience. Make it in the build tree
10296 # simply because there is no reason against having it here, and in addition,
10297 # creating and moving files from /tmp can sometimes cause problems.
10298 # Hook for its removal unless debugging.
10299 # Note that there is a small window in which the directory will not be cleaned:
10300 # after its creation but before its name has been assigned to `$tmp'.
10304 trap 'exit_status=$?
10305 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10307 trap '{ (exit 1); exit 1; }' 1 2 13 15
10309 # Create a (secure) tmp directory for tmp files.
10312 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10313 test -n "$tmp" && test -d "$tmp"
10316 tmp
=.
/conf$$
-$RANDOM
10317 (umask 077 && mkdir
"$tmp")
10320 echo "$me: cannot create a temporary directory in ." >&2
10321 { (exit 1); exit 1; }
10325 # Set up the sed scripts for CONFIG_FILES section.
10328 # No need to generate the scripts if there are no CONFIG_FILES.
10329 # This happens for instance when ./config.status config.h
10330 if test -n "$CONFIG_FILES"; then
10337 for ac_last_try
in false false false false false
:; do
10338 cat >conf$
$subs.
sed <<_ACEOF
10339 SHELL!$SHELL$ac_delim
10340 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10341 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10342 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10343 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10344 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10345 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10346 exec_prefix!$exec_prefix$ac_delim
10347 prefix!$prefix$ac_delim
10348 program_transform_name!$program_transform_name$ac_delim
10349 bindir!$bindir$ac_delim
10350 sbindir!$sbindir$ac_delim
10351 libexecdir!$libexecdir$ac_delim
10352 datarootdir!$datarootdir$ac_delim
10353 datadir!$datadir$ac_delim
10354 sysconfdir!$sysconfdir$ac_delim
10355 sharedstatedir!$sharedstatedir$ac_delim
10356 localstatedir!$localstatedir$ac_delim
10357 includedir!$includedir$ac_delim
10358 oldincludedir!$oldincludedir$ac_delim
10359 docdir!$docdir$ac_delim
10360 infodir!$infodir$ac_delim
10361 htmldir!$htmldir$ac_delim
10362 dvidir!$dvidir$ac_delim
10363 pdfdir!$pdfdir$ac_delim
10364 psdir!$psdir$ac_delim
10365 libdir!$libdir$ac_delim
10366 localedir!$localedir$ac_delim
10367 mandir!$mandir$ac_delim
10368 DEFS!$DEFS$ac_delim
10369 ECHO_C!$ECHO_C$ac_delim
10370 ECHO_N!$ECHO_N$ac_delim
10371 ECHO_T!$ECHO_T$ac_delim
10372 LIBS!$LIBS$ac_delim
10373 build_alias!$build_alias$ac_delim
10374 host_alias!$host_alias$ac_delim
10375 target_alias!$target_alias$ac_delim
10376 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10377 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10378 INSTALL_DATA!$INSTALL_DATA$ac_delim
10379 CYGPATH_W!$CYGPATH_W$ac_delim
10380 PACKAGE!$PACKAGE$ac_delim
10381 VERSION!$VERSION$ac_delim
10382 ACLOCAL!$ACLOCAL$ac_delim
10383 AUTOCONF!$AUTOCONF$ac_delim
10384 AUTOMAKE!$AUTOMAKE$ac_delim
10385 AUTOHEADER!$AUTOHEADER$ac_delim
10386 MAKEINFO!$MAKEINFO$ac_delim
10387 install_sh!$install_sh$ac_delim
10388 STRIP!$STRIP$ac_delim
10389 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
10390 mkdir_p!$mkdir_p$ac_delim
10392 SET_MAKE!$SET_MAKE$ac_delim
10393 am__leading_dot!$am__leading_dot$ac_delim
10394 AMTAR!$AMTAR$ac_delim
10395 am__tar!$am__tar$ac_delim
10396 am__untar!$am__untar$ac_delim
10397 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
10398 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
10399 MAINT!$MAINT$ac_delim
10401 CFLAGS!$CFLAGS$ac_delim
10402 LDFLAGS!$LDFLAGS$ac_delim
10403 CPPFLAGS!$CPPFLAGS$ac_delim
10404 ac_ct_CC!$ac_ct_CC$ac_delim
10405 EXEEXT!$EXEEXT$ac_delim
10406 OBJEXT!$OBJEXT$ac_delim
10407 DEPDIR!$DEPDIR$ac_delim
10408 am__include!$am__include$ac_delim
10409 am__quote!$am__quote$ac_delim
10410 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
10411 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
10412 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
10413 CCDEPMODE!$CCDEPMODE$ac_delim
10414 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
10415 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
10417 GREP!$GREP$ac_delim
10418 EGREP!$EGREP$ac_delim
10419 PKG_CONFIG!$PKG_CONFIG$ac_delim
10420 GPIV_UI_CFLAGS!$GPIV_UI_CFLAGS$ac_delim
10421 GPIV_UI_LIBS!$GPIV_UI_LIBS$ac_delim
10422 GPIV_PRINT_CFLAGS!$GPIV_PRINT_CFLAGS$ac_delim
10423 GPIV_PRINT_LIBS!$GPIV_PRINT_LIBS$ac_delim
10424 GPIV_CFLAGS!$GPIV_CFLAGS$ac_delim
10425 GPIV_LIBS!$GPIV_LIBS$ac_delim
10426 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
10427 USE_NLS!$USE_NLS$ac_delim
10428 MSGFMT!$MSGFMT$ac_delim
10429 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
10430 GMSGFMT!$GMSGFMT$ac_delim
10431 XGETTEXT!$XGETTEXT$ac_delim
10432 CATALOGS!$CATALOGS$ac_delim
10433 CATOBJEXT!$CATOBJEXT$ac_delim
10434 DATADIRNAME!$DATADIRNAME$ac_delim
10435 GMOFILES!$GMOFILES$ac_delim
10438 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
10440 elif $ac_last_try; then
10441 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10442 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10443 { (exit 1); exit 1; }; }
10445 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10449 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10450 if test -n "$ac_eof"; then
10451 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10452 ac_eof
=`expr $ac_eof + 1`
10455 cat >>$CONFIG_STATUS <<_ACEOF
10456 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10457 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10460 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10461 s/^/s,@/; s/!/@,|#_!!_#|/
10464 s/'"$ac_delim"'$/,g/; t
10466 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10467 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10468 rm -f conf$
$subs.
sed
10469 cat >>$CONFIG_STATUS <<_ACEOF
10475 for ac_last_try
in false false false false false
:; do
10476 cat >conf$
$subs.
sed <<_ACEOF
10477 INSTOBJEXT!$INSTOBJEXT$ac_delim
10478 INTLLIBS!$INTLLIBS$ac_delim
10479 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
10480 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
10481 POFILES!$POFILES$ac_delim
10482 POSUB!$POSUB$ac_delim
10483 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
10484 INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
10485 INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
10486 INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
10487 INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
10488 INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
10489 INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
10490 INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
10491 INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
10492 INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
10493 INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
10494 INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
10495 INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
10496 INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
10497 INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
10498 INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
10499 INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
10500 INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
10501 INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
10502 INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
10503 INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
10504 INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
10505 INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
10506 MSGMERGE!$MSGMERGE$ac_delim
10507 INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
10508 ALL_LINGUAS!$ALL_LINGUAS$ac_delim
10509 ENABLE_CAM!$ENABLE_CAM$ac_delim
10510 ENABLE_TRIG!$ENABLE_TRIG$ac_delim
10511 ENABLE_DAC!$ENABLE_DAC$ac_delim
10512 CONTROL!$CONTROL$ac_delim
10513 HAVE_CONTROL_TRUE!$HAVE_CONTROL_TRUE$ac_delim
10514 HAVE_CONTROL_FALSE!$HAVE_CONTROL_FALSE$ac_delim
10515 RTA_TOPDIR!$RTA_TOPDIR$ac_delim
10516 K_TOPDIR!$K_TOPDIR$ac_delim
10517 OVERRIDE_IMAGE_WIDTH_MAX!$OVERRIDE_IMAGE_WIDTH_MAX$ac_delim
10518 OVERRIDE_IMAGE_HEIGHT_MAX!$OVERRIDE_IMAGE_HEIGHT_MAX$ac_delim
10519 CANVAS_AA!$CANVAS_AA$ac_delim
10520 DEBUG!$DEBUG$ac_delim
10521 ENABLE_MPI!$ENABLE_MPI$ac_delim
10522 LIBOBJS!$LIBOBJS$ac_delim
10523 LTLIBOBJS!$LTLIBOBJS$ac_delim
10526 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 47; then
10528 elif $ac_last_try; then
10529 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10530 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10531 { (exit 1); exit 1; }; }
10533 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10537 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10538 if test -n "$ac_eof"; then
10539 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10540 ac_eof
=`expr $ac_eof + 1`
10543 cat >>$CONFIG_STATUS <<_ACEOF
10544 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
10545 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10548 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10549 s/^/s,@/; s/!/@,|#_!!_#|/
10552 s/'"$ac_delim"'$/,g/; t
10554 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10555 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10556 rm -f conf$
$subs.
sed
10557 cat >>$CONFIG_STATUS <<_ACEOF
10564 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10565 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10566 # trailing colons and then remove the whole line if VPATH becomes empty
10567 # (actually we leave an empty line to preserve line numbers).
10568 if test "x$srcdir" = x.
; then
10569 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10570 s/:*\$(srcdir):*/:/
10571 s/:*\${srcdir}:*/:/
10573 s/^\([^=]*=[ ]*\):*/\1/
10579 cat >>$CONFIG_STATUS <<\_ACEOF
10580 fi # test -n "$CONFIG_FILES"
10583 for ac_tag
in :F
$CONFIG_FILES :C
$CONFIG_COMMANDS
10586 :[FHLC
]) ac_mode
=$ac_tag; continue;;
10588 case $ac_mode$ac_tag in
10590 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10591 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10592 { (exit 1); exit 1; }; };;
10593 :[FH
]-) ac_tag
=-:-;;
10594 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
10611 -) ac_f
="$tmp/stdin";;
10612 *) # Look for the file first in the build tree, then in the source tree
10613 # (if the path is not absolute). The absolute path cannot be DOS-style,
10614 # because $ac_f cannot contain `:'.
10618 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
10620 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10621 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10622 { (exit 1); exit 1; }; };;
10624 ac_file_inputs
="$ac_file_inputs $ac_f"
10627 # Let's still pretend it is `configure' which instantiates (i.e., don't
10628 # use $as_me), people would be surprised to read:
10629 # /* config.h. Generated by config.status. */
10630 configure_input
="Generated from "`IFS=:
10631 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10632 if test x
"$ac_file" != x-
; then
10633 configure_input
="$ac_file. $configure_input"
10634 { echo "$as_me:$LINENO: creating $ac_file" >&5
10635 echo "$as_me: creating $ac_file" >&6;}
10639 *:-:* |
*:-) cat >"$tmp/stdin";;
10644 ac_dir
=`$as_dirname -- "$ac_file" ||
10645 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10646 X"$ac_file" : 'X\(//\)[^/]' \| \
10647 X"$ac_file" : 'X\(//\)$' \| \
10648 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10654 /^X\(\/\/\)[^/].*/{
10669 -*) as_dir
=.
/$as_dir;;
10671 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10675 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10676 *) as_qdir
=$as_dir;;
10678 as_dirs
="'$as_qdir' $as_dirs"
10679 as_dir
=`$as_dirname -- "$as_dir" ||
10680 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10681 X"$as_dir" : 'X\(//\)[^/]' \| \
10682 X"$as_dir" : 'X\(//\)$' \| \
10683 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10685 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10689 /^X\(\/\/\)[^/].*/{
10702 test -d "$as_dir" && break
10704 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10705 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10706 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10707 { (exit 1); exit 1; }; }; }
10711 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10713 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10714 # A ".." for each directory in $ac_dir_suffix.
10715 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10716 case $ac_top_builddir_sub in
10717 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10718 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10721 ac_abs_top_builddir
=$ac_pwd
10722 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10723 # for backward compatibility:
10724 ac_top_builddir
=$ac_top_build_prefix
10727 .
) # We are building in place.
10729 ac_top_srcdir
=$ac_top_builddir_sub
10730 ac_abs_top_srcdir
=$ac_pwd ;;
10731 [\\/]* | ?
:[\\/]* ) # Absolute name.
10732 ac_srcdir
=$srcdir$ac_dir_suffix;
10733 ac_top_srcdir
=$srcdir
10734 ac_abs_top_srcdir
=$srcdir ;;
10735 *) # Relative name.
10736 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10737 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10738 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10740 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10750 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10751 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
10755 cat >>$CONFIG_STATUS <<\_ACEOF
10756 # If the template does not know about datarootdir, expand it.
10757 # FIXME: This hack should be removed a few years after 2.60.
10758 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10760 case `sed -n '/datarootdir/ {
10769 ' $ac_file_inputs` in
10770 *datarootdir
*) ac_datarootdir_seen
=yes;;
10771 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
10772 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10773 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10775 cat >>$CONFIG_STATUS <<_ACEOF
10776 ac_datarootdir_hack='
10777 s&@datadir@&$datadir&g
10778 s&@docdir@&$docdir&g
10779 s&@infodir@&$infodir&g
10780 s&@localedir@&$localedir&g
10781 s&@mandir@&$mandir&g
10782 s&\\\${datarootdir}&$datarootdir&g' ;;
10786 # Neutralize VPATH when `$srcdir' = `.'.
10787 # Shell code in configure.ac might set extrasub.
10788 # FIXME: do we really want to maintain this feature?
10789 cat >>$CONFIG_STATUS <<_ACEOF
10793 cat >>$CONFIG_STATUS <<\_ACEOF
10795 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10796 s
&@configure_input@
&$configure_input&;t t
10797 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10798 s
&@srcdir@
&$ac_srcdir&;t t
10799 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10800 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10801 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10802 s
&@builddir@
&$ac_builddir&;t t
10803 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10804 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10805 s
&@INSTALL@
&$ac_INSTALL&;t t
10806 $ac_datarootdir_hack
10807 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
10809 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10810 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
10811 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
10812 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10813 which seems to be undefined. Please make sure it is defined." >&5
10814 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10815 which seems to be undefined. Please make sure it is defined." >&2;}
10819 -) cat "$tmp/out"; rm -f "$tmp/out";;
10820 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10825 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
10826 echo "$as_me: executing $ac_file commands" >&6;}
10831 case $ac_file$ac_mode in
10832 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10833 # Strip MF so we end up with the name of the file.
10834 mf=`echo "$mf" | sed -e 's
/:.
*$
//'`
10835 # Check whether this is an Automake generated Makefile or not.
10836 # We used to match only the files named `Makefile.in', but
10837 # some people rename them; so instead we look at the file content.
10838 # Grep'ing the first line is not enough: some people post-process
10839 # each Makefile.in and add a new line on top of each file to say so.
10840 # So let's grep whole file.
10841 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
10842 dirpart
=`$as_dirname -- "$mf" ||
10843 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10844 X"$mf" : 'X\(//\)[^/]' \| \
10845 X"$mf" : 'X\(//\)$' \| \
10846 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10852 /^X\(\/\/\)[^/].*/{
10868 # Extract the definition of DEPDIR, am__include, and am__quote
10869 # from the Makefile without running `make'.
10870 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
10871 test -z "$DEPDIR" && continue
10872 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
10873 test -z "am__include" && continue
10874 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
10875 # When using ansi2knr, U may be empty or an underscore; expand it
10876 U
=`sed -n 's/^U = //p' < "$mf"`
10877 # Find all dependency output files, they are included files with
10878 # $(DEPDIR) in their names. We invoke sed twice because it is the
10879 # simplest approach to changing $(DEPDIR) to its actual value in the
10881 for file in `sed -n "
10882 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10883 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10884 # Make sure the directory exists.
10885 test -f "$dirpart/$file" && continue
10886 fdir
=`$as_dirname -- "$file" ||
10887 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10888 X"$file" : 'X\(//\)[^/]' \| \
10889 X"$file" : 'X\(//\)$' \| \
10890 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10896 /^X\(\/\/\)[^/].*/{
10909 { as_dir
=$dirpart/$fdir
10911 -*) as_dir
=.
/$as_dir;;
10913 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10917 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10918 *) as_qdir
=$as_dir;;
10920 as_dirs
="'$as_qdir' $as_dirs"
10921 as_dir
=`$as_dirname -- "$as_dir" ||
10922 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10923 X"$as_dir" : 'X\(//\)[^/]' \| \
10924 X"$as_dir" : 'X\(//\)$' \| \
10925 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10931 /^X\(\/\/\)[^/].*/{
10944 test -d "$as_dir" && break
10946 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10947 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10948 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10949 { (exit 1); exit 1; }; }; }
10950 # echo "creating $dirpart/$file"
10951 echo '# dummy' > "$dirpart/$file"
10955 "default-1":C
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
10956 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
10959 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
10964 '"s|^| $ac_top_srcdir/|" \
10965 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
10967 if test ! -f "po/Makefile"; then
10968 { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
10969 echo "$as_me: error: po/Makefile is not ready." >&2;}
10970 { (exit 1); exit 1; }; }
10972 mv "po/Makefile" "po/Makefile.tmp"
10973 sed '/^POTFILES =/,/[^\\]$/ {
10977 ' "po/Makefile.tmp" >"po/Makefile"
10978 rm -f "po/Makefile.tmp"
10979 mv "po/stamp-it.tmp" "po/stamp-it"
10986 { (exit 0); exit 0; }
10988 chmod +x
$CONFIG_STATUS
10989 ac_clean_files
=$ac_clean_files_save
10992 # configure is writing to config.log, and then calls config.status.
10993 # config.status does its own redirection, appending to config.log.
10994 # Unfortunately, on DOS this fails, as config.log is still kept open
10995 # by configure, so config.status won't be able to write to it; its
10996 # output is simply discarded. So we exec the FD to /dev/null,
10997 # effectively closing config.log, so it can be properly (re)opened and
10998 # appended to by config.status. When coming back to configure, we
10999 # need to make the FD available again.
11000 if test "$no_create" != yes; then
11002 ac_config_status_args
=
11003 test "$silent" = yes &&
11004 ac_config_status_args
="$ac_config_status_args --quiet"
11006 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11008 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11009 # would make configure fail if this is the last instruction.
11010 $ac_cs_success ||
{ (exit 1); exit 1; }
11015 echo "===================================================================="
11016 echo "Configuration succesfully finished"
11017 if test $HAVE_GNOME_PRINT; then
11018 echo "with gnomeprint"
11020 echo "without gnomeprint"
11023 if test $ENABLE_CAM; then
11024 echo "with (IEEE-1394) camera enabled"
11027 if test $ENABLE_TRIG; then
11028 echo "with (realtime) triggering enabled."
11030 if test x
$CONTROL = xfalse
; then
11031 echo "Gpiv_control has not been found on this system, and probably gpivtrig-rtl isn't"
11032 echo "resident as well. This script eases to install and uninstall the gpivtrig-rtl"
11033 echo "and RTAI kernel modules that are needed for the triggering of camera and lasers"
11038 if test $ENABLE_MPI; then
11039 echo "Using Message Passing Interface (MPI)"
11040 echo "for processing on distributed memory systems"
11043 echo "Type 'make' and 'make install' to build and install gpiv"
11044 echo "===================================================================="