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
721 INTLTOOL_DESKTOP_RULE
722 INTLTOOL_DIRECTORY_RULE
729 INTLTOOL_SOUNDLIST_RULE
734 INTLTOOL_XML_NOMERGE_RULE
736 INTLTOOL_SCHEMAS_RULE
738 INTLTOOL_SERVICE_RULE
754 OVERRIDE_IMAGE_WIDTH_MAX
755 OVERRIDE_IMAGE_HEIGHT_MAX
761 ac_precious_vars
='build_alias
779 # Initialize some variables set by options.
781 ac_init_version
=false
782 # The variables have the same names as the options, with
783 # dashes changed to underlines.
791 program_transform_name
=s
,x
,x
,
799 # Installation directory options.
800 # These are left unexpanded so users can "make install exec_prefix=/foo"
801 # and all the variables that are supposed to be based on exec_prefix
802 # by default will actually change.
803 # Use braces instead of parens because sh, perl, etc. also accept them.
804 # (The list follows the same order as the GNU Coding Standards.)
805 bindir
='${exec_prefix}/bin'
806 sbindir
='${exec_prefix}/sbin'
807 libexecdir
='${exec_prefix}/libexec'
808 datarootdir
='${prefix}/share'
809 datadir
='${datarootdir}'
810 sysconfdir
='${prefix}/etc'
811 sharedstatedir
='${prefix}/com'
812 localstatedir
='${prefix}/var'
813 includedir
='${prefix}/include'
814 oldincludedir
='/usr/include'
815 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
816 infodir
='${datarootdir}/info'
821 libdir
='${exec_prefix}/lib'
822 localedir
='${datarootdir}/locale'
823 mandir
='${datarootdir}/man'
829 # If the previous option needs an argument, assign it.
830 if test -n "$ac_prev"; then
831 eval $ac_prev=\
$ac_option
837 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
841 # Accept the important Cygnus configure options, so we can diagnose typos.
843 case $ac_dashdash$ac_option in
847 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
849 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
852 -build |
--build |
--buil |
--bui |
--bu)
853 ac_prev
=build_alias
;;
854 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
855 build_alias
=$ac_optarg ;;
857 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
858 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
859 ac_prev
=cache_file
;;
860 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
861 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
862 cache_file
=$ac_optarg ;;
865 cache_file
=config.cache
;;
867 -datadir |
--datadir |
--datadi |
--datad)
869 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
870 datadir
=$ac_optarg ;;
872 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
873 |
--dataroo |
--dataro |
--datar)
874 ac_prev
=datarootdir
;;
875 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
876 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
877 datarootdir
=$ac_optarg ;;
879 -disable-* |
--disable-*)
880 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
881 # Reject names that are not valid shell variable names.
882 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
883 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
884 { (exit 1); exit 1; }; }
885 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
886 eval enable_
$ac_feature=no
;;
888 -docdir |
--docdir |
--docdi |
--doc |
--do)
890 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
893 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
895 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
898 -enable-* |
--enable-*)
899 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
902 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
903 { (exit 1); exit 1; }; }
904 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
905 eval enable_
$ac_feature=\
$ac_optarg ;;
907 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
908 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
909 |
--exec |
--exe |
--ex)
910 ac_prev
=exec_prefix
;;
911 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
912 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
913 |
--exec=* |
--exe=* |
--ex=*)
914 exec_prefix
=$ac_optarg ;;
916 -gas |
--gas |
--ga |
--g)
917 # Obsolete; use --with-gas.
920 -help |
--help |
--hel |
--he |
-h)
922 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
923 ac_init_help
=recursive
;;
924 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
925 ac_init_help
=short
;;
927 -host |
--host |
--hos |
--ho)
928 ac_prev
=host_alias
;;
929 -host=* |
--host=* |
--hos=* |
--ho=*)
930 host_alias
=$ac_optarg ;;
932 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
934 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
936 htmldir
=$ac_optarg ;;
938 -includedir |
--includedir |
--includedi |
--included |
--include \
939 |
--includ |
--inclu |
--incl |
--inc)
940 ac_prev
=includedir
;;
941 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
942 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
943 includedir
=$ac_optarg ;;
945 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
947 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
948 infodir
=$ac_optarg ;;
950 -libdir |
--libdir |
--libdi |
--libd)
952 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
955 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
956 |
--libexe |
--libex |
--libe)
957 ac_prev
=libexecdir
;;
958 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
959 |
--libexe=* |
--libex=* |
--libe=*)
960 libexecdir
=$ac_optarg ;;
962 -localedir |
--localedir |
--localedi |
--localed |
--locale)
964 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
965 localedir
=$ac_optarg ;;
967 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
968 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
969 ac_prev
=localstatedir
;;
970 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
971 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
972 localstatedir
=$ac_optarg ;;
974 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
976 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
980 # Obsolete; use --without-fp.
983 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
984 |
--no-cr |
--no-c |
-n)
987 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
988 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
991 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
992 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
993 |
--oldin |
--oldi |
--old |
--ol |
--o)
994 ac_prev
=oldincludedir
;;
995 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
996 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
997 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
998 oldincludedir
=$ac_optarg ;;
1000 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1002 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1003 prefix
=$ac_optarg ;;
1005 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1006 |
--program-pre |
--program-pr |
--program-p)
1007 ac_prev
=program_prefix
;;
1008 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1009 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1010 program_prefix
=$ac_optarg ;;
1012 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1013 |
--program-suf |
--program-su |
--program-s)
1014 ac_prev
=program_suffix
;;
1015 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1016 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1017 program_suffix
=$ac_optarg ;;
1019 -program-transform-name |
--program-transform-name \
1020 |
--program-transform-nam |
--program-transform-na \
1021 |
--program-transform-n |
--program-transform- \
1022 |
--program-transform |
--program-transfor \
1023 |
--program-transfo |
--program-transf \
1024 |
--program-trans |
--program-tran \
1025 |
--progr-tra |
--program-tr |
--program-t)
1026 ac_prev
=program_transform_name
;;
1027 -program-transform-name=* |
--program-transform-name=* \
1028 |
--program-transform-nam=* |
--program-transform-na=* \
1029 |
--program-transform-n=* |
--program-transform-=* \
1030 |
--program-transform=* |
--program-transfor=* \
1031 |
--program-transfo=* |
--program-transf=* \
1032 |
--program-trans=* |
--program-tran=* \
1033 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1034 program_transform_name
=$ac_optarg ;;
1036 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1038 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1039 pdfdir
=$ac_optarg ;;
1041 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1043 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1046 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1047 |
-silent |
--silent |
--silen |
--sile |
--sil)
1050 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1052 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1054 sbindir
=$ac_optarg ;;
1056 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1057 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1058 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1060 ac_prev
=sharedstatedir
;;
1061 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1062 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1063 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1065 sharedstatedir
=$ac_optarg ;;
1067 -site |
--site |
--sit)
1069 -site=* |
--site=* |
--sit=*)
1072 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1074 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1075 srcdir
=$ac_optarg ;;
1077 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1078 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1079 ac_prev
=sysconfdir
;;
1080 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1081 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1082 sysconfdir
=$ac_optarg ;;
1084 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1085 ac_prev
=target_alias
;;
1086 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1087 target_alias
=$ac_optarg ;;
1089 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1092 -version |
--version |
--versio |
--versi |
--vers |
-V)
1093 ac_init_version
=: ;;
1096 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1099 { echo "$as_me: error: invalid package name: $ac_package" >&2
1100 { (exit 1); exit 1; }; }
1101 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1102 eval with_
$ac_package=\
$ac_optarg ;;
1104 -without-* |
--without-*)
1105 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1106 # Reject names that are not valid shell variable names.
1107 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1108 { echo "$as_me: error: invalid package name: $ac_package" >&2
1109 { (exit 1); exit 1; }; }
1110 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1111 eval with_
$ac_package=no
;;
1114 # Obsolete; use --with-x.
1117 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1118 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1119 ac_prev
=x_includes
;;
1120 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1121 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1122 x_includes
=$ac_optarg ;;
1124 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1125 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1126 ac_prev
=x_libraries
;;
1127 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1128 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1129 x_libraries
=$ac_optarg ;;
1131 -*) { echo "$as_me: error: unrecognized option: $ac_option
1132 Try \`$0 --help' for more information." >&2
1133 { (exit 1); exit 1; }; }
1137 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1140 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1141 { (exit 1); exit 1; }; }
1142 eval $ac_envvar=\
$ac_optarg
1143 export $ac_envvar ;;
1146 # FIXME: should be removed in autoconf 3.0.
1147 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1148 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1149 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1150 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1156 if test -n "$ac_prev"; then
1157 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1158 { echo "$as_me: error: missing argument to $ac_option" >&2
1159 { (exit 1); exit 1; }; }
1162 # Be sure to have absolute directory names.
1163 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1164 datadir sysconfdir sharedstatedir localstatedir includedir \
1165 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1166 libdir localedir mandir
1168 eval ac_val
=\$
$ac_var
1170 [\\/$
]* | ?
:[\\/]* ) continue;;
1171 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1173 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1174 { (exit 1); exit 1; }; }
1177 # There might be people who depend on the old broken behavior: `$host'
1178 # used to hold the argument of --host etc.
1179 # FIXME: To remove some day.
1182 target
=$target_alias
1184 # FIXME: To remove some day.
1185 if test "x$host_alias" != x
; then
1186 if test "x$build_alias" = x
; then
1187 cross_compiling
=maybe
1188 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1189 If a cross compiler is detected then cross compile mode will be used." >&2
1190 elif test "x$build_alias" != "x$host_alias"; then
1196 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1198 test "$silent" = yes && exec 6>/dev
/null
1201 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1202 ac_ls_di
=`ls -di .` &&
1203 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1204 { echo "$as_me: error: Working directory cannot be determined" >&2
1205 { (exit 1); exit 1; }; }
1206 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1207 { echo "$as_me: error: pwd does not report name of working directory" >&2
1208 { (exit 1); exit 1; }; }
1211 # Find the source files, if location was not specified.
1212 if test -z "$srcdir"; then
1213 ac_srcdir_defaulted
=yes
1214 # Try the directory containing this script, then the parent directory.
1215 ac_confdir
=`$as_dirname -- "$0" ||
1216 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1217 X"$0" : 'X\(//\)[^/]' \| \
1218 X"$0" : 'X\(//\)$' \| \
1219 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1239 if test ! -r "$srcdir/$ac_unique_file"; then
1243 ac_srcdir_defaulted
=no
1245 if test ! -r "$srcdir/$ac_unique_file"; then
1246 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1247 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1248 { (exit 1); exit 1; }; }
1250 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1252 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1253 { (exit 1); exit 1; }; }
1255 # When building in place, set srcdir=.
1256 if test "$ac_abs_confdir" = "$ac_pwd"; then
1259 # Remove unnecessary trailing slashes from srcdir.
1260 # Double slashes in file names in object file debugging info
1261 # mess up M-x gdb in Emacs.
1263 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1265 for ac_var
in $ac_precious_vars; do
1266 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1267 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1268 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1269 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1273 # Report the --help message.
1275 if test "$ac_init_help" = "long"; then
1276 # Omit some internal or obsolete options to make the list less imposing.
1277 # This message is too long to be a string in the A/UX 3.1 sh.
1279 \`configure' configures gpiv 0.5.2 to adapt to many kinds of systems.
1281 Usage: $0 [OPTION]... [VAR=VALUE]...
1283 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1284 VAR=VALUE. See below for descriptions of some of the useful variables.
1286 Defaults for the options are specified in brackets.
1289 -h, --help display this help and exit
1290 --help=short display options specific to this package
1291 --help=recursive display the short help of all the included packages
1292 -V, --version display version information and exit
1293 -q, --quiet, --silent do not print \`checking...' messages
1294 --cache-file=FILE cache test results in FILE [disabled]
1295 -C, --config-cache alias for \`--cache-file=config.cache'
1296 -n, --no-create do not create output files
1297 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1299 Installation directories:
1300 --prefix=PREFIX install architecture-independent files in PREFIX
1301 [$ac_default_prefix]
1302 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1305 By default, \`make install' will install all the files in
1306 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1307 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1308 for instance \`--prefix=\$HOME'.
1310 For better control, use the options below.
1312 Fine tuning of the installation directories:
1313 --bindir=DIR user executables [EPREFIX/bin]
1314 --sbindir=DIR system admin executables [EPREFIX/sbin]
1315 --libexecdir=DIR program executables [EPREFIX/libexec]
1316 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1317 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1318 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1319 --libdir=DIR object code libraries [EPREFIX/lib]
1320 --includedir=DIR C header files [PREFIX/include]
1321 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1322 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1323 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1324 --infodir=DIR info documentation [DATAROOTDIR/info]
1325 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1326 --mandir=DIR man documentation [DATAROOTDIR/man]
1327 --docdir=DIR documentation root [DATAROOTDIR/doc/gpiv]
1328 --htmldir=DIR html documentation [DOCDIR]
1329 --dvidir=DIR dvi documentation [DOCDIR]
1330 --pdfdir=DIR pdf documentation [DOCDIR]
1331 --psdir=DIR ps documentation [DOCDIR]
1337 --program-prefix=PREFIX prepend PREFIX to installed program names
1338 --program-suffix=SUFFIX append SUFFIX to installed program names
1339 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1343 if test -n "$ac_init_help"; then
1344 case $ac_init_help in
1345 short | recursive
) echo "Configuration of gpiv 0.5.2:";;
1350 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1351 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1352 --enable-maintainer-mode enable make rules and dependencies not useful
1353 (and sometimes confusing
) to the casual installer
1354 --disable-dependency-tracking speeds up one-time build
1355 --enable-dependency-tracking do not reject slow dependency extractors
1356 --enable-cam enable data acquisition
1357 --enable-trig enable (realtime
) triggering
1358 --enable-rta=RTA_DIR place where the RTAI code resides
1359 (default
/usr
/lib
/realtime
)
1360 --enable-k=K_DIR place where the installed kernel
1362 (default
/usr
/src
/kernel-headers-2.4
.27-adeos)
1363 --enable-img-width=WIDTH maximum image width to be used
(default SVGA
)
1364 --enable-img-height=HEIGHT maximum image height to be used
(default SVGA
)
1365 --enable-canvas-aa Use Anti Aliased canvas
for viewer
; slower but
1366 better displaying of image and resulting data
1367 --enable-debug debug version
(more verbose
)
1369 Some influential environment variables
:
1370 CC C compiler
command
1371 CFLAGS C compiler flags
1372 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1373 nonstandard directory
<lib dir
>
1374 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1375 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1376 you have headers
in a nonstandard directory
<include dir
>
1378 PKG_CONFIG path to pkg-config utility
1380 C compiler flags
for GPIV_UI
, overriding pkg-config
1382 linker flags
for GPIV_UI
, overriding pkg-config
1384 C compiler flags
for GPIV_PRINT
, overriding pkg-config
1386 linker flags
for GPIV_PRINT
, overriding pkg-config
1387 GPIV_CFLAGS C compiler flags
for GPIV
, overriding pkg-config
1388 GPIV_LIBS linker flags
for GPIV
, overriding pkg-config
1390 Use these variables to override the choices made by
`configure' or to help
1391 it to find libraries and programs with nonstandard names/locations.
1393 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv>.
1398 if test "$ac_init_help" = "recursive"; then
1399 # If there are subdirs, report their specific --help.
1400 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1401 test -d "$ac_dir" || continue
1405 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1407 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1408 # A ".." for each directory in $ac_dir_suffix.
1409 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1410 case $ac_top_builddir_sub in
1411 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1412 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1415 ac_abs_top_builddir=$ac_pwd
1416 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1417 # for backward compatibility:
1418 ac_top_builddir=$ac_top_build_prefix
1421 .) # We are building in place.
1423 ac_top_srcdir=$ac_top_builddir_sub
1424 ac_abs_top_srcdir=$ac_pwd ;;
1425 [\\/]* | ?:[\\/]* ) # Absolute name.
1426 ac_srcdir=$srcdir$ac_dir_suffix;
1427 ac_top_srcdir=$srcdir
1428 ac_abs_top_srcdir=$srcdir ;;
1430 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1431 ac_top_srcdir=$ac_top_build_prefix$srcdir
1432 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1434 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1436 cd "$ac_dir" || { ac_status=$?; continue; }
1437 # Check for guested configure.
1438 if test -f "$ac_srcdir/configure.gnu"; then
1440 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1441 elif test -f "$ac_srcdir/configure"; then
1443 $SHELL "$ac_srcdir/configure" --help=recursive
1445 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1447 cd "$ac_pwd" || { ac_status=$?; break; }
1451 test -n "$ac_init_help" && exit $ac_status
1452 if $ac_init_version; then
1454 gpiv configure 0.5.2
1455 generated by GNU Autoconf 2.61
1457 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1458 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1459 This configure script is free software; the Free Software Foundation
1460 gives unlimited permission to copy, distribute and modify it.
1464 cat >config.log <<_ACEOF
1465 This file contains any messages produced by compilers while
1466 running configure, to aid debugging if configure makes a mistake.
1468 It was created by gpiv $as_me 0.5.2, which was
1469 generated by GNU Autoconf 2.61. Invocation command line was
1481 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1482 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1483 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1484 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1485 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1487 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1488 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1490 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1491 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1492 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1493 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1494 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1495 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1496 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1504 test -z "$as_dir" && as_dir=.
1505 echo "PATH: $as_dir"
1521 # Keep a trace of the command line.
1522 # Strip out --no-create and --no-recursion so they do not pile up.
1523 # Strip out --silent because we don't want to record it for future runs.
1524 # Also quote any args containing shell meta-characters.
1525 # Make two passes to allow for proper duplicate-argument suppression.
1529 ac_must_keep_next=false
1535 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1537 | -silent | --silent | --silen | --sile | --sil)
1540 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1543 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1545 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1546 if test $ac_must_keep_next = true; then
1547 ac_must_keep_next=false # Got value, back to normal.
1550 *=* | --config-cache | -C | -disable-* | --disable-* \
1551 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1552 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1553 | -with-* | --with-* | -without-* | --without-* | --x)
1554 case "$ac_configure_args0 " in
1555 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1558 -* ) ac_must_keep_next=true ;;
1561 ac_configure_args="$ac_configure_args '$ac_arg'"
1566 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1567 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1569 # When interrupted or exit'd, cleanup temporary files, and complete
1570 # config.log. We remove comments because anyway the quotes in there
1571 # would cause problems or look ugly.
1572 # WARNING: Use '\'' to represent an apostrophe within the trap.
1573 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1574 trap 'exit_status=$?
1575 # Save into config.log some information that might help in debugging.
1580 ## ---------------- ##
1581 ## Cache variables. ##
1582 ## ---------------- ##
1585 # The following way of writing the cache mishandles newlines in values,
1587 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1588 eval ac_val=\$$ac_var
1592 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1593 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1596 _ | IFS | as_nl) ;; #(
1597 *) $as_unset $ac_var ;;
1602 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1603 *${as_nl}ac_space=\ *)
1605 "s/'\''/'\''\\\\'\'''\''/g;
1606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1609 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1617 ## ----------------- ##
1618 ## Output variables. ##
1619 ## ----------------- ##
1622 for ac_var in $ac_subst_vars
1624 eval ac_val=\$$ac_var
1626 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1628 echo "$ac_var='\''$ac_val'\''"
1632 if test -n "$ac_subst_files"; then
1634 ## ------------------- ##
1635 ## File substitutions. ##
1636 ## ------------------- ##
1639 for ac_var in $ac_subst_files
1641 eval ac_val=\$$ac_var
1643 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1645 echo "$ac_var='\''$ac_val'\''"
1650 if test -s confdefs.h; then
1660 test "$ac_signal" != 0 &&
1661 echo "$as_me: caught signal $ac_signal"
1662 echo "$as_me: exit $exit_status"
1664 rm -f core *.core core.conftest.* &&
1665 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1668 for ac_signal in 1 2 13 15; do
1669 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1673 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1674 rm -f -r conftest* confdefs.h
1676 # Predefined preprocessor variables.
1678 cat >>confdefs.h <<_ACEOF
1679 #define PACKAGE_NAME "$PACKAGE_NAME"
1683 cat >>confdefs.h <<_ACEOF
1684 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1688 cat >>confdefs.h <<_ACEOF
1689 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1693 cat >>confdefs.h <<_ACEOF
1694 #define PACKAGE_STRING "$PACKAGE_STRING"
1698 cat >>confdefs.h <<_ACEOF
1699 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1703 # Let the site file select an alternate cache file if it wants to.
1704 # Prefer explicitly selected file to automatically selected ones.
1705 if test -n "$CONFIG_SITE"; then
1706 set x "$CONFIG_SITE"
1707 elif test "x$prefix" != xNONE; then
1708 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1710 set x "$ac_default_prefix/share/config.site" \
1711 "$ac_default_prefix/etc/config.site"
1716 if test -r "$ac_site_file"; then
1717 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1718 echo "$as_me: loading site script $ac_site_file" >&6;}
1719 sed 's/^/| /' "$ac_site_file" >&5
1724 if test -r "$cache_file"; then
1725 # Some versions of bash will fail to source /dev/null (special
1726 # files actually), so we avoid doing that.
1727 if test -f "$cache_file"; then
1728 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1729 echo "$as_me: loading cache $cache_file" >&6;}
1731 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1732 *) . "./$cache_file";;
1736 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1737 echo "$as_me: creating cache $cache_file" >&6;}
1741 # Check that the precious variables saved in the cache have kept the same
1743 ac_cache_corrupted=false
1744 for ac_var in $ac_precious_vars; do
1745 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1746 eval ac_new_set=\$ac_env_${ac_var}_set
1747 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1748 eval ac_new_val=\$ac_env_${ac_var}_value
1749 case $ac_old_set,$ac_new_set in
1751 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1752 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1753 ac_cache_corrupted=: ;;
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1756 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1757 ac_cache_corrupted=: ;;
1760 if test "x$ac_old_val" != "x$ac_new_val"; then
1761 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1762 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1763 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1764 echo "$as_me: former value
: $ac_old_val" >&2;}
1765 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1766 echo "$as_me: current value
: $ac_new_val" >&2;}
1767 ac_cache_corrupted=:
1770 # Pass precious variables to config.status.
1771 if test "$ac_new_set" = set; then
1773 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1774 *) ac_arg=$ac_var=$ac_new_val ;;
1776 case " $ac_configure_args " in
1777 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1778 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1782 if $ac_cache_corrupted; then
1783 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1784 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1785 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1786 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1787 { (exit 1); exit 1; }; }
1815 ac_cpp='$CPP $CPPFLAGS'
1816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1821 am__api_version="1.9"
1823 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1824 if test -f "$ac_dir/install-sh"; then
1826 ac_install_sh="$ac_aux_dir/install-sh -c"
1828 elif test -f "$ac_dir/install.sh"; then
1830 ac_install_sh="$ac_aux_dir/install.sh -c"
1832 elif test -f "$ac_dir/shtool"; then
1834 ac_install_sh="$ac_aux_dir/shtool install -c"
1838 if test -z "$ac_aux_dir"; then
1839 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1840 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1841 { (exit 1); exit 1; }; }
1844 # These three variables are undocumented and unsupported,
1845 # and are intended to be withdrawn in a future Autoconf release.
1846 # They can cause serious problems if a builder's source tree is in a directory
1847 # whose full name contains unusual characters.
1848 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1849 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1850 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1853 # Find a good install program. We prefer a C program (faster),
1854 # so one script is as good as another. But avoid the broken or
1855 # incompatible versions:
1856 # SysV /etc/install, /usr/sbin/install
1857 # SunOS /usr/etc/install
1858 # IRIX /sbin/install
1860 # AmigaOS /C/install, which installs bootblocks on floppy discs
1861 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1862 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1863 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1864 # OS/2's system install, which has a completely different semantic
1865 # ./install, which can be erroneously created by make from ./install.sh.
1866 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1867 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1868 if test -z "$INSTALL"; then
1869 if test "${ac_cv_path_install+set}" = set; then
1870 echo $ECHO_N "(cached) $ECHO_C" >&6
1872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1876 test -z "$as_dir" && as_dir=.
1877 # Account for people who put trailing slashes in PATH elements.
1879 ./ | .// | /cC/* | \
1880 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1881 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1884 # OSF1 and SCO ODT 3.0 have their own names for install.
1885 # Don't use installbsd from OSF since it installs stuff as root
1887 for ac_prog in ginstall scoinst install; do
1888 for ac_exec_ext in '' $ac_executable_extensions; do
1889 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1890 if test $ac_prog = install &&
1891 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1892 # AIX install. It has an incompatible calling convention.
1894 elif test $ac_prog = install &&
1895 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1896 # program-specific install script used by HP pwplus--don't use.
1899 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1912 if test "${ac_cv_path_install+set}" = set; then
1913 INSTALL=$ac_cv_path_install
1915 # As a last resort, use the slow shell script. Don't cache a
1916 # value for INSTALL within a source directory, because that will
1917 # break other packages using the cache if that directory is
1918 # removed, or if the value is a relative name.
1919 INSTALL=$ac_install_sh
1922 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1923 echo "${ECHO_T}$INSTALL" >&6; }
1925 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1926 # It thinks the first close brace ends the variable substitution.
1927 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1929 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1931 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1933 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1934 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1937 echo timestamp > conftest.file
1938 # Do `set' in a subshell so we don't clobber the current shell
's
1939 # arguments. Must try -L first in case configure is actually a
1940 # symlink; some systems play weird games with the mod time of symlinks
1941 # (eg FreeBSD returns the mod time of the symlink's containing
1944 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1945 if test "$*" = "X"; then
1947 set X
`ls -t $srcdir/configure conftest.file`
1950 if test "$*" != "X $srcdir/configure conftest.file" \
1951 && test "$*" != "X conftest.file $srcdir/configure"; then
1953 # If neither matched, then we have a broken ls. This can happen
1954 # if, for instance, CONFIG_SHELL is bash and it inherits a
1955 # broken ls alias from the environment. This has actually
1956 # happened. Such a system could not be considered "sane".
1957 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1958 alias in your environment" >&5
1959 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1960 alias in your environment" >&2;}
1961 { (exit 1); exit 1; }; }
1964 test "$2" = conftest.
file
1970 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1971 Check your system clock" >&5
1972 echo "$as_me: error: newly created file is older than distributed files!
1973 Check your system clock" >&2;}
1974 { (exit 1); exit 1; }; }
1976 { echo "$as_me:$LINENO: result: yes" >&5
1977 echo "${ECHO_T}yes" >&6; }
1978 test "$program_prefix" != NONE
&&
1979 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1980 # Use a double $ so make ignores it.
1981 test "$program_suffix" != NONE
&&
1982 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1983 # Double any \ or $. echo might interpret backslashes.
1984 # By default was `s,x,x', remove it if useless.
1985 cat <<\_ACEOF
>conftest.
sed
1986 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1988 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1991 # expand $ac_aux_dir to an absolute path
1992 am_aux_dir
=`cd $ac_aux_dir && pwd`
1994 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1995 # Use eval to expand $SHELL
1996 if eval "$MISSING --run true"; then
1997 am_missing_run
="$MISSING --run "
2000 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2001 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2004 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2005 # We used to keeping the `.' as first argument, in order to
2006 # allow $(mkdir_p) to be used without argument. As in
2007 # $(mkdir_p) $(somedir)
2008 # where $(somedir) is conditionally defined. However this is wrong
2010 # 1. if the package is installed by a user who cannot write `.'
2011 # make install will fail,
2012 # 2. the above comment should most certainly read
2013 # $(mkdir_p) $(DESTDIR)$(somedir)
2014 # so it does not work when $(somedir) is undefined and
2015 # $(DESTDIR) is not.
2016 # To support the latter case, we have to write
2017 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2018 # so the `.' trick is pointless.
2019 mkdir_p
='mkdir -p --'
2021 # On NextStep and OpenStep, the `mkdir' command does not
2022 # recognize any option. It will interpret all options as
2023 # directories to create, and then abort because `.' already
2025 for d
in .
/-p .
/--version;
2027 test -d $d && rmdir $d
2029 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2030 if test -f "$ac_aux_dir/mkinstalldirs"; then
2031 mkdir_p
='$(mkinstalldirs)'
2033 mkdir_p
='$(install_sh) -d'
2037 for ac_prog
in gawk mawk nawk
awk
2039 # Extract the first word of "$ac_prog", so it can be a program name with args.
2040 set dummy
$ac_prog; ac_word
=$2
2041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2043 if test "${ac_cv_prog_AWK+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2046 if test -n "$AWK"; then
2047 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2053 test -z "$as_dir" && as_dir
=.
2054 for ac_exec_ext
in '' $ac_executable_extensions; do
2055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2056 ac_cv_prog_AWK
="$ac_prog"
2057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 if test -n "$AWK"; then
2068 { echo "$as_me:$LINENO: result: $AWK" >&5
2069 echo "${ECHO_T}$AWK" >&6; }
2071 { echo "$as_me:$LINENO: result: no" >&5
2072 echo "${ECHO_T}no" >&6; }
2076 test -n "$AWK" && break
2079 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2080 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2081 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2082 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2085 cat >conftest.
make <<\_ACEOF
2088 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2090 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2091 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2093 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2095 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2099 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2100 { echo "$as_me:$LINENO: result: yes" >&5
2101 echo "${ECHO_T}yes" >&6; }
2104 { echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6; }
2106 SET_MAKE
="MAKE=${MAKE-make}"
2109 rm -rf .tst
2>/dev
/null
2110 mkdir .tst
2>/dev
/null
2111 if test -d .tst
; then
2116 rmdir .tst
2>/dev
/null
2118 # test to see if srcdir already configured
2119 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2120 test -f $srcdir/config.status
; then
2121 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2122 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2123 { (exit 1); exit 1; }; }
2126 # test whether we have cygpath
2127 if test -z "$CYGPATH_W"; then
2128 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2129 CYGPATH_W
='cygpath -w'
2136 # Define the identity of the package.
2141 cat >>confdefs.h
<<_ACEOF
2142 #define PACKAGE "$PACKAGE"
2146 cat >>confdefs.h
<<_ACEOF
2147 #define VERSION "$VERSION"
2150 # Some tools Automake needs.
2152 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2155 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2158 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2161 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2164 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2166 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2168 # Installed binaries are usually stripped using `strip' when the user
2169 # run `make install-strip'. However `strip' might not be the right
2170 # tool to use in cross-compilation environments, therefore Automake
2171 # will honor the `STRIP' environment variable to overrule this program.
2172 if test "$cross_compiling" != no
; then
2173 if test -n "$ac_tool_prefix"; then
2174 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2175 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2178 if test "${ac_cv_prog_STRIP+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 if test -n "$STRIP"; then
2182 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2188 test -z "$as_dir" && as_dir
=.
2189 for ac_exec_ext
in '' $ac_executable_extensions; do
2190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2191 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201 STRIP
=$ac_cv_prog_STRIP
2202 if test -n "$STRIP"; then
2203 { echo "$as_me:$LINENO: result: $STRIP" >&5
2204 echo "${ECHO_T}$STRIP" >&6; }
2206 { echo "$as_me:$LINENO: result: no" >&5
2207 echo "${ECHO_T}no" >&6; }
2212 if test -z "$ac_cv_prog_STRIP"; then
2214 # Extract the first word of "strip", so it can be a program name with args.
2215 set dummy strip
; ac_word
=$2
2216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2218 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 if test -n "$ac_ct_STRIP"; then
2222 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2228 test -z "$as_dir" && as_dir
=.
2229 for ac_exec_ext
in '' $ac_executable_extensions; do
2230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2231 ac_cv_prog_ac_ct_STRIP
="strip"
2232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2241 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2242 if test -n "$ac_ct_STRIP"; then
2243 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2244 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2246 { echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6; }
2250 if test "x$ac_ct_STRIP" = x
; then
2253 case $cross_compiling:$ac_tool_warned in
2255 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2256 whose name does not start with the host triplet. If you think this
2257 configuration is useful to you, please write to autoconf@gnu.org." >&5
2258 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2259 whose name does not start with the host triplet. If you think this
2260 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2261 ac_tool_warned
=yes ;;
2266 STRIP
="$ac_cv_prog_STRIP"
2270 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2272 # We need awk for the "check" target. The system "awk" is bad on
2274 # Always define AMTAR for backward compatibility.
2276 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2278 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2284 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2285 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2286 # Check whether --enable-maintainer-mode was given.
2287 if test "${enable_maintainer_mode+set}" = set; then
2288 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2290 USE_MAINTAINER_MODE
=no
2293 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2294 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2297 if test $USE_MAINTAINER_MODE = yes; then
2298 MAINTAINER_MODE_TRUE
=
2299 MAINTAINER_MODE_FALSE
='#'
2301 MAINTAINER_MODE_TRUE
='#'
2302 MAINTAINER_MODE_FALSE
=
2305 MAINT
=$MAINTAINER_MODE_TRUE
2310 DEPDIR
="${am__leading_dot}deps"
2312 ac_config_commands
="$ac_config_commands depfiles"
2315 am_make
=${MAKE-make}
2316 cat > confinc
<< 'END'
2321 # If we don't find an include directive, just comment out the code.
2322 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2323 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2327 # First try GNU make style include.
2328 echo "include confinc" > confmf
2329 # We grep out `Entering directory' and `Leaving directory'
2330 # messages which can occur if `w' ends up in MAKEFLAGS.
2331 # In particular we don't look at `^make:' because GNU make might
2332 # be invoked under some other name (usually "gmake"), in which
2333 # case it prints its new name instead of `make'.
2334 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2339 # Now try BSD make style include.
2340 if test "$am__include" = "#"; then
2341 echo '.include "confinc"' > confmf
2342 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2343 am__include
=.include
2350 { echo "$as_me:$LINENO: result: $_am_result" >&5
2351 echo "${ECHO_T}$_am_result" >&6; }
2352 rm -f confinc confmf
2354 # Check whether --enable-dependency-tracking was given.
2355 if test "${enable_dependency_tracking+set}" = set; then
2356 enableval
=$enable_dependency_tracking;
2359 if test "x$enable_dependency_tracking" != xno
; then
2360 am_depcomp
="$ac_aux_dir/depcomp"
2365 if test "x$enable_dependency_tracking" != xno; then
2376 ac_cpp
='$CPP $CPPFLAGS'
2377 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2378 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2379 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2380 if test -n "$ac_tool_prefix"; then
2381 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2382 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2385 if test "${ac_cv_prog_CC+set}" = set; then
2386 echo $ECHO_N "(cached) $ECHO_C" >&6
2388 if test -n "$CC"; then
2389 ac_cv_prog_CC
="$CC" # Let the user override the test.
2391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2395 test -z "$as_dir" && as_dir
=.
2396 for ac_exec_ext
in '' $ac_executable_extensions; do
2397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2398 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 if test -n "$CC"; then
2410 { echo "$as_me:$LINENO: result: $CC" >&5
2411 echo "${ECHO_T}$CC" >&6; }
2413 { echo "$as_me:$LINENO: result: no" >&5
2414 echo "${ECHO_T}no" >&6; }
2419 if test -z "$ac_cv_prog_CC"; then
2421 # Extract the first word of "gcc", so it can be a program name with args.
2422 set dummy gcc
; ac_word
=$2
2423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2425 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2428 if test -n "$ac_ct_CC"; then
2429 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2435 test -z "$as_dir" && as_dir
=.
2436 for ac_exec_ext
in '' $ac_executable_extensions; do
2437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2438 ac_cv_prog_ac_ct_CC
="gcc"
2439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2448 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2449 if test -n "$ac_ct_CC"; then
2450 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2451 echo "${ECHO_T}$ac_ct_CC" >&6; }
2453 { echo "$as_me:$LINENO: result: no" >&5
2454 echo "${ECHO_T}no" >&6; }
2457 if test "x$ac_ct_CC" = x
; then
2460 case $cross_compiling:$ac_tool_warned in
2462 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2463 whose name does not start with the host triplet. If you think this
2464 configuration is useful to you, please write to autoconf@gnu.org." >&5
2465 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2466 whose name does not start with the host triplet. If you think this
2467 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2468 ac_tool_warned
=yes ;;
2476 if test -z "$CC"; then
2477 if test -n "$ac_tool_prefix"; then
2478 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2479 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2480 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2482 if test "${ac_cv_prog_CC+set}" = set; then
2483 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 if test -n "$CC"; then
2486 ac_cv_prog_CC
="$CC" # Let the user override the test.
2488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2492 test -z "$as_dir" && as_dir
=.
2493 for ac_exec_ext
in '' $ac_executable_extensions; do
2494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2495 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2506 if test -n "$CC"; then
2507 { echo "$as_me:$LINENO: result: $CC" >&5
2508 echo "${ECHO_T}$CC" >&6; }
2510 { echo "$as_me:$LINENO: result: no" >&5
2511 echo "${ECHO_T}no" >&6; }
2517 if test -z "$CC"; then
2518 # Extract the first word of "cc", so it can be a program name with args.
2519 set dummy cc
; ac_word
=$2
2520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2522 if test "${ac_cv_prog_CC+set}" = set; then
2523 echo $ECHO_N "(cached) $ECHO_C" >&6
2525 if test -n "$CC"; then
2526 ac_cv_prog_CC
="$CC" # Let the user override the test.
2529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2533 test -z "$as_dir" && as_dir
=.
2534 for ac_exec_ext
in '' $ac_executable_extensions; do
2535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2536 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2537 ac_prog_rejected
=yes
2541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 if test $ac_prog_rejected = yes; then
2549 # We found a bogon in the path, so make sure we never use it.
2550 set dummy
$ac_cv_prog_CC
2552 if test $# != 0; then
2553 # We chose a different compiler from the bogus one.
2554 # However, it has the same basename, so the bogon will be chosen
2555 # first if we set CC to just the basename; use the full file name.
2557 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2563 if test -n "$CC"; then
2564 { echo "$as_me:$LINENO: result: $CC" >&5
2565 echo "${ECHO_T}$CC" >&6; }
2567 { echo "$as_me:$LINENO: result: no" >&5
2568 echo "${ECHO_T}no" >&6; }
2573 if test -z "$CC"; then
2574 if test -n "$ac_tool_prefix"; then
2575 for ac_prog
in cl.exe
2577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2578 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2581 if test "${ac_cv_prog_CC+set}" = set; then
2582 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 if test -n "$CC"; then
2585 ac_cv_prog_CC
="$CC" # Let the user override the test.
2587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2591 test -z "$as_dir" && as_dir
=.
2592 for ac_exec_ext
in '' $ac_executable_extensions; do
2593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2594 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2605 if test -n "$CC"; then
2606 { echo "$as_me:$LINENO: result: $CC" >&5
2607 echo "${ECHO_T}$CC" >&6; }
2609 { echo "$as_me:$LINENO: result: no" >&5
2610 echo "${ECHO_T}no" >&6; }
2614 test -n "$CC" && break
2617 if test -z "$CC"; then
2619 for ac_prog
in cl.exe
2621 # Extract the first word of "$ac_prog", so it can be a program name with args.
2622 set dummy
$ac_prog; ac_word
=$2
2623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2625 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2626 echo $ECHO_N "(cached) $ECHO_C" >&6
2628 if test -n "$ac_ct_CC"; then
2629 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2635 test -z "$as_dir" && as_dir
=.
2636 for ac_exec_ext
in '' $ac_executable_extensions; do
2637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2638 ac_cv_prog_ac_ct_CC
="$ac_prog"
2639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2649 if test -n "$ac_ct_CC"; then
2650 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2651 echo "${ECHO_T}$ac_ct_CC" >&6; }
2653 { echo "$as_me:$LINENO: result: no" >&5
2654 echo "${ECHO_T}no" >&6; }
2658 test -n "$ac_ct_CC" && break
2661 if test "x$ac_ct_CC" = x
; then
2664 case $cross_compiling:$ac_tool_warned in
2666 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2667 whose name does not start with the host triplet. If you think this
2668 configuration is useful to you, please write to autoconf@gnu.org." >&5
2669 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2670 whose name does not start with the host triplet. If you think this
2671 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2672 ac_tool_warned
=yes ;;
2681 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2682 See \`config.log' for more details." >&5
2683 echo "$as_me: error: no acceptable C compiler found in \$PATH
2684 See \`config.log' for more details." >&2;}
2685 { (exit 1); exit 1; }; }
2687 # Provide some information about the compiler.
2688 echo "$as_me:$LINENO: checking for C compiler version" >&5
2689 ac_compiler
=`set X $ac_compile; echo $2`
2690 { (ac_try
="$ac_compiler --version >&5"
2692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2696 (eval "$ac_compiler --version >&5") 2>&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }
2700 { (ac_try="$ac_compiler -v >&5"
2702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2703 *) ac_try_echo
=$ac_try;;
2705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2706 (eval "$ac_compiler -v >&5") 2>&5
2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); }
2710 { (ac_try
="$ac_compiler -V >&5"
2712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2716 (eval "$ac_compiler -V >&5") 2>&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }
2721 cat >conftest.$ac_ext <<_ACEOF
2724 cat confdefs.h >>conftest.$ac_ext
2725 cat >>conftest.$ac_ext <<_ACEOF
2726 /* end confdefs.h. */
2736 ac_clean_files_save=$ac_clean_files
2737 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2738 # Try to create an executable without -o first, disregard a.out.
2739 # It will help us diagnose broken compilers, and finding out an intuition
2741 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2742 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2743 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2745 # List of possible output files, starting from the most likely.
2746 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2747 # only as a last resort. b.out is created by i960 compilers.
2748 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2750 # The IRIX 6 linker writes into existing files which may not be
2751 # executable, retaining their permissions. Remove them first so a
2752 # subsequent execution test works.
2754 for ac_file in $ac_files
2757 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2758 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2763 if { (ac_try="$ac_link_default"
2765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2766 *) ac_try_echo=$ac_try;;
2768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2769 (eval "$ac_link_default") 2>&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); }; then
2773 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2774 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2775 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2776 # so that the user can short-circuit this test for compilers unknown to
2778 for ac_file
in $ac_files ''
2780 test -f "$ac_file" ||
continue
2782 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2785 # We found the default executable, but exeext='' is most
2789 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2791 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2793 # We set ac_cv_exeext here because the later test for it is not
2794 # safe: cross compilers may not add the suffix if given an `-o'
2795 # argument, so we may need to know it at that point already.
2796 # Even if this section looks crufty: it has the advantage of
2803 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2809 { echo "$as_me:$LINENO: result: $ac_file" >&5
2810 echo "${ECHO_T}$ac_file" >&6; }
2811 if test -z "$ac_file"; then
2812 echo "$as_me: failed program was:" >&5
2813 sed 's/^/| /' conftest.
$ac_ext >&5
2815 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2816 See \`config.log' for more details." >&5
2817 echo "$as_me: error: C compiler cannot create executables
2818 See \`config.log' for more details." >&2;}
2819 { (exit 77); exit 77; }; }
2822 ac_exeext
=$ac_cv_exeext
2824 # Check that the compiler produces executables we can run. If not, either
2825 # the compiler is broken, or we cross compile.
2826 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2827 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2828 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2829 # If not cross compiling, check that we can run a simple program.
2830 if test "$cross_compiling" != yes; then
2831 if { ac_try
='./$ac_file'
2832 { (case "(($ac_try" in
2833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2837 (eval "$ac_try") 2>&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; }; then
2843 if test "$cross_compiling" = maybe; then
2846 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2847 If you meant to cross compile, use \`--host'.
2848 See \`config.log' for more details.
" >&5
2849 echo "$as_me: error
: cannot run C compiled programs.
2850 If you meant to cross compile
, use \
`--host'.
2851 See \`config.log
' for more details." >&2;}
2852 { (exit 1); exit 1; }; }
2856 { echo "$as_me:$LINENO: result: yes" >&5
2857 echo "${ECHO_T}yes" >&6; }
2859 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2860 ac_clean_files=$ac_clean_files_save
2861 # Check that the compiler produces executables we can run. If not, either
2862 # the compiler is broken, or we cross compile.
2863 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2864 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2865 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2866 echo "${ECHO_T}$cross_compiling" >&6; }
2868 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2869 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2870 if { (ac_try="$ac_link"
2872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2873 *) ac_try_echo=$ac_try;;
2875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2876 (eval "$ac_link") 2>&5
2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 (exit $ac_status); }; then
2880 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2881 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2882 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2884 for ac_file
in conftest.exe conftest conftest.
*; do
2885 test -f "$ac_file" ||
continue
2887 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2888 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2894 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2895 See \`config.log' for more details." >&5
2896 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2897 See \`config.log' for more details." >&2;}
2898 { (exit 1); exit 1; }; }
2901 rm -f conftest
$ac_cv_exeext
2902 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2903 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2905 rm -f conftest.
$ac_ext
2906 EXEEXT
=$ac_cv_exeext
2908 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2909 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2910 if test "${ac_cv_objext+set}" = set; then
2911 echo $ECHO_N "(cached) $ECHO_C" >&6
2913 cat >conftest.
$ac_ext <<_ACEOF
2916 cat confdefs.h
>>conftest.
$ac_ext
2917 cat >>conftest.
$ac_ext <<_ACEOF
2918 /* end confdefs.h. */
2928 rm -f conftest.o conftest.obj
2929 if { (ac_try
="$ac_compile"
2931 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2932 *) ac_try_echo=$ac_try;;
2934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2935 (eval "$ac_compile") 2>&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }; then
2939 for ac_file in conftest.o conftest.obj conftest.*; do
2940 test -f "$ac_file" || continue;
2942 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2943 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2948 echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.$ac_ext >&5
2951 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2952 See \`config.log
' for more details." >&5
2953 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2954 See \`config.log' for more details.
" >&2;}
2955 { (exit 1); exit 1; }; }
2958 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2960 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2961 echo "${ECHO_T}$ac_cv_objext" >&6; }
2962 OBJEXT=$ac_cv_objext
2964 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2965 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2966 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2967 echo $ECHO_N "(cached
) $ECHO_C" >&6
2969 cat >conftest.$ac_ext <<_ACEOF
2972 cat confdefs.h >>conftest.$ac_ext
2973 cat >>conftest.$ac_ext <<_ACEOF
2974 /* end confdefs.h. */
2987 rm -f conftest.$ac_objext
2988 if { (ac_try="$ac_compile"
2990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991 *) ac_try_echo=$ac_try;;
2993 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2994 (eval "$ac_compile") 2>conftest.er1
2996 grep -v '^ *+' conftest.er1 >conftest.err
2998 cat conftest.err >&5
2999 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3000 (exit $ac_status); } && {
3001 test -z "$ac_c_werror_flag" ||
3002 test ! -s conftest.err
3003 } && test -s conftest.$ac_objext; then
3006 echo "$as_me: failed program was
:" >&5
3007 sed 's/^/| /' conftest.$ac_ext >&5
3012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3013 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3016 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
3017 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3018 GCC=`test $ac_compiler_gnu = yes && echo yes`
3019 ac_test_CFLAGS=${CFLAGS+set}
3020 ac_save_CFLAGS=$CFLAGS
3021 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
3022 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
3023 if test "${ac_cv_prog_cc_g+set}" = set; then
3024 echo $ECHO_N "(cached
) $ECHO_C" >&6
3026 ac_save_c_werror_flag=$ac_c_werror_flag
3027 ac_c_werror_flag=yes
3030 cat >conftest.$ac_ext <<_ACEOF
3033 cat confdefs.h >>conftest.$ac_ext
3034 cat >>conftest.$ac_ext <<_ACEOF
3035 /* end confdefs.h. */
3045 rm -f conftest.$ac_objext
3046 if { (ac_try="$ac_compile"
3048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3051 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3052 (eval "$ac_compile") 2>conftest.er1
3054 grep -v '^ *+' conftest.er1 >conftest.err
3056 cat conftest.err >&5
3057 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3058 (exit $ac_status); } && {
3059 test -z "$ac_c_werror_flag" ||
3060 test ! -s conftest.err
3061 } && test -s conftest.$ac_objext; then
3064 echo "$as_me: failed program was
:" >&5
3065 sed 's/^/| /' conftest.$ac_ext >&5
3068 cat >conftest.$ac_ext <<_ACEOF
3071 cat confdefs.h >>conftest.$ac_ext
3072 cat >>conftest.$ac_ext <<_ACEOF
3073 /* end confdefs.h. */
3083 rm -f conftest.$ac_objext
3084 if { (ac_try="$ac_compile"
3086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3087 *) ac_try_echo=$ac_try;;
3089 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3090 (eval "$ac_compile") 2>conftest.er1
3092 grep -v '^ *+' conftest.er1 >conftest.err
3094 cat conftest.err >&5
3095 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3096 (exit $ac_status); } && {
3097 test -z "$ac_c_werror_flag" ||
3098 test ! -s conftest.err
3099 } && test -s conftest.$ac_objext; then
3102 echo "$as_me: failed program was
:" >&5
3103 sed 's/^/| /' conftest.$ac_ext >&5
3105 ac_c_werror_flag=$ac_save_c_werror_flag
3107 cat >conftest.$ac_ext <<_ACEOF
3110 cat confdefs.h >>conftest.$ac_ext
3111 cat >>conftest.$ac_ext <<_ACEOF
3112 /* end confdefs.h. */
3122 rm -f conftest.$ac_objext
3123 if { (ac_try="$ac_compile"
3125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3126 *) ac_try_echo=$ac_try;;
3128 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3129 (eval "$ac_compile") 2>conftest.er1
3131 grep -v '^ *+' conftest.er1 >conftest.err
3133 cat conftest.err >&5
3134 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3135 (exit $ac_status); } && {
3136 test -z "$ac_c_werror_flag" ||
3137 test ! -s conftest.err
3138 } && test -s conftest.$ac_objext; then
3141 echo "$as_me: failed program was
:" >&5
3142 sed 's/^/| /' conftest.$ac_ext >&5
3147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3154 ac_c_werror_flag=$ac_save_c_werror_flag
3156 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
3157 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3158 if test "$ac_test_CFLAGS" = set; then
3159 CFLAGS=$ac_save_CFLAGS
3160 elif test $ac_cv_prog_cc_g = yes; then
3161 if test "$GCC" = yes; then
3167 if test "$GCC" = yes; then
3173 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
3174 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
3175 if test "${ac_cv_prog_cc_c89+set}" = set; then
3176 echo $ECHO_N "(cached
) $ECHO_C" >&6
3178 ac_cv_prog_cc_c89=no
3180 cat >conftest.$ac_ext <<_ACEOF
3183 cat confdefs.h >>conftest.$ac_ext
3184 cat >>conftest.$ac_ext <<_ACEOF
3185 /* end confdefs.h. */
3188 #include <sys/types.h>
3189 #include <sys/stat.h>
3190 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3191 struct buf { int x; };
3192 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3193 static char *e (p, i)
3199 static char *f (char * (*g) (char **, int), char **p, ...)
3204 s = g (p, va_arg (v,int));
3209 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3210 function prototypes and stuff, but not '\xHH' hex character constants.
3211 These don't provoke an error unfortunately, instead are silently treated
3212 as 'x'. The following induces an error, until -std is added to get
3213 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3214 array size at least. It's necessary to write '\x00'==0 to get something
3215 that's true only with -std. */
3216 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3218 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3219 inside strings and character constants. */
3221 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3223 int test (int i, double x);
3224 struct s1 {int (*f) (int a);};
3225 struct s2 {int (*f) (double a);};
3226 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3232 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3237 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3238 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3240 CC="$ac_save_CC $ac_arg"
3241 rm -f conftest.$ac_objext
3242 if { (ac_try="$ac_compile"
3244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3245 *) ac_try_echo=$ac_try;;
3247 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3248 (eval "$ac_compile") 2>conftest.er1
3250 grep -v '^ *+' conftest.er1 >conftest.err
3252 cat conftest.err >&5
3253 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3254 (exit $ac_status); } && {
3255 test -z "$ac_c_werror_flag" ||
3256 test ! -s conftest.err
3257 } && test -s conftest.$ac_objext; then
3258 ac_cv_prog_cc_c89=$ac_arg
3260 echo "$as_me: failed program was
:" >&5
3261 sed 's/^/| /' conftest.$ac_ext >&5
3266 rm -f core conftest.err conftest.$ac_objext
3267 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
3269 rm -f conftest.$ac_ext
3274 case "x
$ac_cv_prog_cc_c89" in
3276 { echo "$as_me:$LINENO: result
: none needed
" >&5
3277 echo "${ECHO_T}none needed
" >&6; } ;;
3279 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3280 echo "${ECHO_T}unsupported
" >&6; } ;;
3282 CC="$CC $ac_cv_prog_cc_c89"
3283 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3284 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3289 ac_cpp='$CPP $CPPFLAGS'
3290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3294 depcc="$CC" am_compiler_list=
3296 { echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
3297 echo $ECHO_N "checking dependency style of
$depcc...
$ECHO_C" >&6; }
3298 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3299 echo $ECHO_N "(cached
) $ECHO_C" >&6
3301 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3302 # We make a subdir and do the tests there. Otherwise we can end up
3303 # making bogus files that we don't know about and never remove. For
3304 # instance it was reported that on HP-UX the gcc test will end up
3305 # making a dummy file named `D' -- because `-MD' means `put the output
3308 # Copy depcomp to subdir because otherwise we won't find it if we're
3309 # using a relative directory.
3310 cp "$am_depcomp" conftest.dir
3312 # We will build objects and dependencies in a subdirectory because
3313 # it helps to detect inapplicable dependency modes. For instance
3314 # both Tru64's cc and ICC support -MD to output dependencies as a
3315 # side effect of compilation, but ICC will put the dependencies in
3316 # the current directory while Tru64 will put them in the object
3320 am_cv_CC_dependencies_compiler_type=none
3321 if test "$am_compiler_list" = ""; then
3322 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3324 for depmode in $am_compiler_list; do
3325 # Setup a source with many dependencies, because some compilers
3326 # like to wrap large dependency lists on column 80 (with \), and
3327 # we should not choose a depcomp mode which is confused by this.
3329 # We need to recreate these files for each test, as the compiler may
3330 # overwrite some of them when testing with obscure command lines.
3331 # This happens at least with the AIX C compiler.
3333 for i in 1 2 3 4 5 6; do
3334 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
3335 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3336 # Solaris 8's {/usr,}/bin/sh.
3337 touch sub/conftst$i.h
3339 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3343 # after this tag, mechanisms are not by side-effect, so they'll
3344 # only be used when explicitly requested
3345 if test "x
$enable_dependency_tracking" = xyes; then
3353 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
3354 # mode. It turns out that the SunPro C++ compiler does not properly
3355 # handle `-M -o', and we need to detect this.
3356 if depmode=$depmode \
3357 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3358 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3359 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3360 >/dev/null 2>conftest.err &&
3361 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3362 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3363 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3364 # icc doesn't choke on unknown options, it will just issue warnings
3365 # or remarks (even with -Werror). So we grep stderr for any message
3366 # that says an option was ignored or not supported.
3367 # When given -MP, icc 7.0 and 7.1 complain thusly:
3368 # icc: Command line warning: ignoring option '-M'; no argument required
3369 # The diagnosis changed in icc 8.0:
3370 # icc: Command line remark: option '-MP' not supported
3371 if (grep 'ignoring option' conftest.err ||
3372 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3373 am_cv_CC_dependencies_compiler_type=$depmode
3382 am_cv_CC_dependencies_compiler_type=none
3386 { echo "$as_me:$LINENO: result
: $am_cv_CC_dependencies_compiler_type" >&5
3387 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3388 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3393 test "x
$enable_dependency_tracking" != xno \
3394 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3396 am__fastdepCC_FALSE='#'
3398 am__fastdepCC_TRUE='#'
3399 am__fastdepCC_FALSE=
3404 { echo "$as_me:$LINENO: checking
for library containing strerror
" >&5
3405 echo $ECHO_N "checking
for library containing strerror...
$ECHO_C" >&6; }
3406 if test "${ac_cv_search_strerror+set}" = set; then
3407 echo $ECHO_N "(cached
) $ECHO_C" >&6
3409 ac_func_search_save_LIBS=$LIBS
3410 cat >conftest.$ac_ext <<_ACEOF
3413 cat confdefs.h >>conftest.$ac_ext
3414 cat >>conftest.$ac_ext <<_ACEOF
3415 /* end confdefs.h. */
3417 /* Override any GCC internal prototype to avoid an error.
3418 Use char because int might match the return type of a GCC
3419 builtin and then its argument prototype would still apply. */
3432 for ac_lib in '' cposix; do
3433 if test -z "$ac_lib"; then
3434 ac_res="none required
"
3437 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3439 rm -f conftest.$ac_objext conftest$ac_exeext
3440 if { (ac_try="$ac_link"
3442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3443 *) ac_try_echo=$ac_try;;
3445 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3446 (eval "$ac_link") 2>conftest.er1
3448 grep -v '^ *+' conftest.er1 >conftest.err
3450 cat conftest.err >&5
3451 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3452 (exit $ac_status); } && {
3453 test -z "$ac_c_werror_flag" ||
3454 test ! -s conftest.err
3455 } && test -s conftest$ac_exeext &&
3456 $as_test_x conftest$ac_exeext; then
3457 ac_cv_search_strerror=$ac_res
3459 echo "$as_me: failed program was
:" >&5
3460 sed 's/^/| /' conftest.$ac_ext >&5
3465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3467 if test "${ac_cv_search_strerror+set}" = set; then
3471 if test "${ac_cv_search_strerror+set}" = set; then
3474 ac_cv_search_strerror=no
3477 LIBS=$ac_func_search_save_LIBS
3479 { echo "$as_me:$LINENO: result
: $ac_cv_search_strerror" >&5
3480 echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3481 ac_res=$ac_cv_search_strerror
3482 if test "$ac_res" != no; then
3483 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
3488 ac_cpp='$CPP $CPPFLAGS'
3489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3492 if test -n "$ac_tool_prefix"; then
3493 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
3494 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3495 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3496 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3497 if test "${ac_cv_prog_CC+set}" = set; then
3498 echo $ECHO_N "(cached
) $ECHO_C" >&6
3500 if test -n "$CC"; then
3501 ac_cv_prog_CC="$CC" # Let the user override the test.
3503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 test -z "$as_dir" && as_dir=.
3508 for ac_exec_ext in '' $ac_executable_extensions; do
3509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3510 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
3511 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3521 if test -n "$CC"; then
3522 { echo "$as_me:$LINENO: result
: $CC" >&5
3523 echo "${ECHO_T}$CC" >&6; }
3525 { echo "$as_me:$LINENO: result
: no
" >&5
3526 echo "${ECHO_T}no
" >&6; }
3531 if test -z "$ac_cv_prog_CC"; then
3533 # Extract the first word of "gcc
", so it can be a program name with args.
3534 set dummy gcc; ac_word=$2
3535 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3536 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3537 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3538 echo $ECHO_N "(cached
) $ECHO_C" >&6
3540 if test -n "$ac_ct_CC"; then
3541 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3547 test -z "$as_dir" && as_dir=.
3548 for ac_exec_ext in '' $ac_executable_extensions; do
3549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3550 ac_cv_prog_ac_ct_CC="gcc
"
3551 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3560 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3561 if test -n "$ac_ct_CC"; then
3562 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3563 echo "${ECHO_T}$ac_ct_CC" >&6; }
3565 { echo "$as_me:$LINENO: result
: no
" >&5
3566 echo "${ECHO_T}no
" >&6; }
3569 if test "x
$ac_ct_CC" = x; then
3572 case $cross_compiling:$ac_tool_warned in
3574 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3575 whose name does not start with the
host triplet. If you think this
3576 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3577 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3578 whose name does not start with the
host triplet. If you think this
3579 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3580 ac_tool_warned=yes ;;
3588 if test -z "$CC"; then
3589 if test -n "$ac_tool_prefix"; then
3590 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
3591 set dummy ${ac_tool_prefix}cc; ac_word=$2
3592 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3593 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3594 if test "${ac_cv_prog_CC+set}" = set; then
3595 echo $ECHO_N "(cached
) $ECHO_C" >&6
3597 if test -n "$CC"; then
3598 ac_cv_prog_CC="$CC" # Let the user override the test.
3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3604 test -z "$as_dir" && as_dir=.
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3607 ac_cv_prog_CC="${ac_tool_prefix}cc
"
3608 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3618 if test -n "$CC"; then
3619 { echo "$as_me:$LINENO: result
: $CC" >&5
3620 echo "${ECHO_T}$CC" >&6; }
3622 { echo "$as_me:$LINENO: result
: no
" >&5
3623 echo "${ECHO_T}no
" >&6; }
3629 if test -z "$CC"; then
3630 # Extract the first word of "cc
", so it can be a program name with args.
3631 set dummy cc; ac_word=$2
3632 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3633 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3634 if test "${ac_cv_prog_CC+set}" = set; then
3635 echo $ECHO_N "(cached
) $ECHO_C" >&6
3637 if test -n "$CC"; then
3638 ac_cv_prog_CC="$CC" # Let the user override the test.
3641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645 test -z "$as_dir" && as_dir=.
3646 for ac_exec_ext in '' $ac_executable_extensions; do
3647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3648 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
3649 ac_prog_rejected=yes
3653 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3660 if test $ac_prog_rejected = yes; then
3661 # We found a bogon in the path, so make sure we never use it.
3662 set dummy $ac_cv_prog_CC
3664 if test $# != 0; then
3665 # We chose a different compiler from the bogus one.
3666 # However, it has the same basename, so the bogon will be chosen
3667 # first if we set CC to just the basename; use the full file name.
3669 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
3675 if test -n "$CC"; then
3676 { echo "$as_me:$LINENO: result
: $CC" >&5
3677 echo "${ECHO_T}$CC" >&6; }
3679 { echo "$as_me:$LINENO: result
: no
" >&5
3680 echo "${ECHO_T}no
" >&6; }
3685 if test -z "$CC"; then
3686 if test -n "$ac_tool_prefix"; then
3687 for ac_prog in cl.exe
3689 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3690 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3691 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3692 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3693 if test "${ac_cv_prog_CC+set}" = set; then
3694 echo $ECHO_N "(cached
) $ECHO_C" >&6
3696 if test -n "$CC"; then
3697 ac_cv_prog_CC="$CC" # Let the user override the test.
3699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703 test -z "$as_dir" && as_dir=.
3704 for ac_exec_ext in '' $ac_executable_extensions; do
3705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3706 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3707 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3717 if test -n "$CC"; then
3718 { echo "$as_me:$LINENO: result
: $CC" >&5
3719 echo "${ECHO_T}$CC" >&6; }
3721 { echo "$as_me:$LINENO: result
: no
" >&5
3722 echo "${ECHO_T}no
" >&6; }
3726 test -n "$CC" && break
3729 if test -z "$CC"; then
3731 for ac_prog in cl.exe
3733 # Extract the first word of "$ac_prog", so it can be a program name with args.
3734 set dummy $ac_prog; ac_word=$2
3735 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3736 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3737 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3738 echo $ECHO_N "(cached
) $ECHO_C" >&6
3740 if test -n "$ac_ct_CC"; then
3741 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 test -z "$as_dir" && as_dir=.
3748 for ac_exec_ext in '' $ac_executable_extensions; do
3749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3750 ac_cv_prog_ac_ct_CC="$ac_prog"
3751 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3760 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3761 if test -n "$ac_ct_CC"; then
3762 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
3763 echo "${ECHO_T}$ac_ct_CC" >&6; }
3765 { echo "$as_me:$LINENO: result
: no
" >&5
3766 echo "${ECHO_T}no
" >&6; }
3770 test -n "$ac_ct_CC" && break
3773 if test "x
$ac_ct_CC" = x; then
3776 case $cross_compiling:$ac_tool_warned in
3778 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3779 whose name does not start with the
host triplet. If you think this
3780 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3781 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3782 whose name does not start with the
host triplet. If you think this
3783 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3784 ac_tool_warned=yes ;;
3793 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
3794 See \
`config.log' for more details." >&5
3795 echo "$as_me: error: no acceptable C compiler found in \$PATH
3796 See \`config.log
' for more details." >&2;}
3797 { (exit 1); exit 1; }; }
3799 # Provide some information about the compiler.
3800 echo "$as_me:$LINENO: checking for C compiler version" >&5
3801 ac_compiler=`set X $ac_compile; echo $2`
3802 { (ac_try="$ac_compiler --version >&5"
3804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3805 *) ac_try_echo=$ac_try;;
3807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3808 (eval "$ac_compiler --version >&5") 2>&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); }
3812 { (ac_try="$ac_compiler -v >&5"
3814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3815 *) ac_try_echo=$ac_try;;
3817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3818 (eval "$ac_compiler -v >&5") 2>&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); }
3822 { (ac_try="$ac_compiler -V >&5"
3824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3825 *) ac_try_echo=$ac_try;;
3827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3828 (eval "$ac_compiler -V >&5") 2>&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); }
3833 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3834 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3835 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3836 echo $ECHO_N "(cached) $ECHO_C" >&6
3838 cat >conftest.$ac_ext <<_ACEOF
3841 cat confdefs.h >>conftest.$ac_ext
3842 cat >>conftest.$ac_ext <<_ACEOF
3843 /* end confdefs.h. */
3856 rm -f conftest.$ac_objext
3857 if { (ac_try="$ac_compile"
3859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3863 (eval "$ac_compile") 2>conftest.er1
3865 grep -v '^
*+' conftest.er1 >conftest.err
3867 cat conftest.err >&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); } && {
3870 test -z "$ac_c_werror_flag" ||
3871 test ! -s conftest.err
3872 } && test -s conftest.$ac_objext; then
3875 echo "$as_me: failed program was:" >&5
3876 sed 's
/^
/|
/' conftest.$ac_ext >&5
3881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3882 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3885 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3886 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3887 GCC=`test $ac_compiler_gnu = yes && echo yes`
3888 ac_test_CFLAGS=${CFLAGS+set}
3889 ac_save_CFLAGS=$CFLAGS
3890 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3891 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3892 if test "${ac_cv_prog_cc_g+set}" = set; then
3893 echo $ECHO_N "(cached) $ECHO_C" >&6
3895 ac_save_c_werror_flag=$ac_c_werror_flag
3896 ac_c_werror_flag=yes
3899 cat >conftest.$ac_ext <<_ACEOF
3902 cat confdefs.h >>conftest.$ac_ext
3903 cat >>conftest.$ac_ext <<_ACEOF
3904 /* end confdefs.h. */
3914 rm -f conftest.$ac_objext
3915 if { (ac_try="$ac_compile"
3917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3918 *) ac_try_echo=$ac_try;;
3920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3921 (eval "$ac_compile") 2>conftest.er1
3923 grep -v '^
*+' conftest.er1 >conftest.err
3925 cat conftest.err >&5
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); } && {
3928 test -z "$ac_c_werror_flag" ||
3929 test ! -s conftest.err
3930 } && test -s conftest.$ac_objext; then
3933 echo "$as_me: failed program was:" >&5
3934 sed 's
/^
/|
/' conftest.$ac_ext >&5
3937 cat >conftest.$ac_ext <<_ACEOF
3940 cat confdefs.h >>conftest.$ac_ext
3941 cat >>conftest.$ac_ext <<_ACEOF
3942 /* end confdefs.h. */
3952 rm -f conftest.$ac_objext
3953 if { (ac_try="$ac_compile"
3955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3956 *) ac_try_echo=$ac_try;;
3958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3959 (eval "$ac_compile") 2>conftest.er1
3961 grep -v '^
*+' conftest.er1 >conftest.err
3963 cat conftest.err >&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); } && {
3966 test -z "$ac_c_werror_flag" ||
3967 test ! -s conftest.err
3968 } && test -s conftest.$ac_objext; then
3971 echo "$as_me: failed program was:" >&5
3972 sed 's
/^
/|
/' conftest.$ac_ext >&5
3974 ac_c_werror_flag=$ac_save_c_werror_flag
3976 cat >conftest.$ac_ext <<_ACEOF
3979 cat confdefs.h >>conftest.$ac_ext
3980 cat >>conftest.$ac_ext <<_ACEOF
3981 /* end confdefs.h. */
3991 rm -f conftest.$ac_objext
3992 if { (ac_try="$ac_compile"
3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3998 (eval "$ac_compile") 2>conftest.er1
4000 grep -v '^
*+' conftest.er1 >conftest.err
4002 cat conftest.err >&5
4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004 (exit $ac_status); } && {
4005 test -z "$ac_c_werror_flag" ||
4006 test ! -s conftest.err
4007 } && test -s conftest.$ac_objext; then
4010 echo "$as_me: failed program was:" >&5
4011 sed 's
/^
/|
/' conftest.$ac_ext >&5
4016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4023 ac_c_werror_flag=$ac_save_c_werror_flag
4025 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4026 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4027 if test "$ac_test_CFLAGS" = set; then
4028 CFLAGS=$ac_save_CFLAGS
4029 elif test $ac_cv_prog_cc_g = yes; then
4030 if test "$GCC" = yes; then
4036 if test "$GCC" = yes; then
4042 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4043 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4044 if test "${ac_cv_prog_cc_c89+set}" = set; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
4047 ac_cv_prog_cc_c89=no
4049 cat >conftest.$ac_ext <<_ACEOF
4052 cat confdefs.h >>conftest.$ac_ext
4053 cat >>conftest.$ac_ext <<_ACEOF
4054 /* end confdefs.h. */
4057 #include <sys/types.h>
4058 #include <sys/stat.h>
4059 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
4060 struct buf
{ int x
; };
4061 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
4062 static char
*e
(p
, i
)
4068 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
4073 s
= g
(p
, va_arg
(v
,int
));
4078 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
4079 function prototypes and stuff
, but not
'\xHH' hex character constants.
4080 These don
't provoke an error unfortunately, instead are silently treated
4081 as 'x
'. The following induces an error, until -std is added to get
4082 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
4083 array size at least. It's necessary to
write '\x00'==0 to get something
4084 that
's true only with -std. */
4085 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4087 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4088 inside strings and character constants. */
4090 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
4092 int test (int i, double x);
4093 struct s1 {int (*f) (int a);};
4094 struct s2 {int (*f) (double a);};
4095 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4101 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4106 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4107 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4109 CC="$ac_save_CC $ac_arg"
4110 rm -f conftest.$ac_objext
4111 if { (ac_try="$ac_compile"
4113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4117 (eval "$ac_compile") 2>conftest.er1
4119 grep -v '^
*+' conftest.er1 >conftest.err
4121 cat conftest.err >&5
4122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123 (exit $ac_status); } && {
4124 test -z "$ac_c_werror_flag" ||
4125 test ! -s conftest.err
4126 } && test -s conftest.$ac_objext; then
4127 ac_cv_prog_cc_c89=$ac_arg
4129 echo "$as_me: failed program was:" >&5
4130 sed 's
/^
/|
/' conftest.$ac_ext >&5
4135 rm -f core conftest.err conftest.$ac_objext
4136 test "x$ac_cv_prog_cc_c89" != "xno" && break
4138 rm -f conftest.$ac_ext
4143 case "x$ac_cv_prog_cc_c89" in
4145 { echo "$as_me:$LINENO: result: none needed" >&5
4146 echo "${ECHO_T}none needed" >&6; } ;;
4148 { echo "$as_me:$LINENO: result: unsupported" >&5
4149 echo "${ECHO_T}unsupported" >&6; } ;;
4151 CC="$CC $ac_cv_prog_cc_c89"
4152 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4153 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4158 ac_cpp='$CPP $CPPFLAGS'
4159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
4160 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
4161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4163 depcc="$CC" am_compiler_list=
4165 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4166 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4167 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4171 # We make a subdir and do the tests there. Otherwise we can end up
4172 # making bogus files that we don't know about and never remove. For
4173 # instance it was reported that on HP-UX the gcc test will end up
4174 # making a dummy file named `D' -- because `-MD' means `put the output
4177 # Copy depcomp to subdir because otherwise we won't find it if we're
4178 # using a relative directory.
4179 cp "$am_depcomp" conftest.dir
4181 # We will build objects and dependencies in a subdirectory because
4182 # it helps to detect inapplicable dependency modes. For instance
4183 # both Tru64's cc and ICC support -MD to output dependencies as a
4184 # side effect of compilation, but ICC will put the dependencies in
4185 # the current directory while Tru64 will put them in the object
4189 am_cv_CC_dependencies_compiler_type
=none
4190 if test "$am_compiler_list" = ""; then
4191 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4193 for depmode
in $am_compiler_list; do
4194 # Setup a source with many dependencies, because some compilers
4195 # like to wrap large dependency lists on column 80 (with \), and
4196 # we should not choose a depcomp mode which is confused by this.
4198 # We need to recreate these files for each test, as the compiler may
4199 # overwrite some of them when testing with obscure command lines.
4200 # This happens at least with the AIX C compiler.
4202 for i
in 1 2 3 4 5 6; do
4203 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4204 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4205 # Solaris 8's {/usr,}/bin/sh.
4206 touch sub
/conftst
$i.h
4208 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4212 # after this tag, mechanisms are not by side-effect, so they'll
4213 # only be used when explicitly requested
4214 if test "x$enable_dependency_tracking" = xyes
; then
4222 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4223 # mode. It turns out that the SunPro C++ compiler does not properly
4224 # handle `-M -o', and we need to detect this.
4225 if depmode
=$depmode \
4226 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4227 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4228 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4229 >/dev
/null
2>conftest.err
&&
4230 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4231 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4232 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4233 # icc doesn't choke on unknown options, it will just issue warnings
4234 # or remarks (even with -Werror). So we grep stderr for any message
4235 # that says an option was ignored or not supported.
4236 # When given -MP, icc 7.0 and 7.1 complain thusly:
4237 # icc: Command line warning: ignoring option '-M'; no argument required
4238 # The diagnosis changed in icc 8.0:
4239 # icc: Command line remark: option '-MP' not supported
4240 if (grep 'ignoring option' conftest.err ||
4241 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4242 am_cv_CC_dependencies_compiler_type
=$depmode
4251 am_cv_CC_dependencies_compiler_type
=none
4255 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4256 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4257 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4262 test "x$enable_dependency_tracking" != xno \
4263 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4265 am__fastdepCC_FALSE
='#'
4267 am__fastdepCC_TRUE
='#'
4268 am__fastdepCC_FALSE
=
4273 ac_cpp
='$CPP $CPPFLAGS'
4274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4277 if test -n "$ac_tool_prefix"; then
4278 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4279 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4282 if test "${ac_cv_prog_CC+set}" = set; then
4283 echo $ECHO_N "(cached) $ECHO_C" >&6
4285 if test -n "$CC"; then
4286 ac_cv_prog_CC
="$CC" # Let the user override the test.
4288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4292 test -z "$as_dir" && as_dir
=.
4293 for ac_exec_ext
in '' $ac_executable_extensions; do
4294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4295 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4306 if test -n "$CC"; then
4307 { echo "$as_me:$LINENO: result: $CC" >&5
4308 echo "${ECHO_T}$CC" >&6; }
4310 { echo "$as_me:$LINENO: result: no" >&5
4311 echo "${ECHO_T}no" >&6; }
4316 if test -z "$ac_cv_prog_CC"; then
4318 # Extract the first word of "gcc", so it can be a program name with args.
4319 set dummy gcc
; ac_word
=$2
4320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4323 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 if test -n "$ac_ct_CC"; then
4326 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4332 test -z "$as_dir" && as_dir
=.
4333 for ac_exec_ext
in '' $ac_executable_extensions; do
4334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4335 ac_cv_prog_ac_ct_CC
="gcc"
4336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4345 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4346 if test -n "$ac_ct_CC"; then
4347 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4348 echo "${ECHO_T}$ac_ct_CC" >&6; }
4350 { echo "$as_me:$LINENO: result: no" >&5
4351 echo "${ECHO_T}no" >&6; }
4354 if test "x$ac_ct_CC" = x
; then
4357 case $cross_compiling:$ac_tool_warned in
4359 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4360 whose name does not start with the host triplet. If you think this
4361 configuration is useful to you, please write to autoconf@gnu.org." >&5
4362 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4363 whose name does not start with the host triplet. If you think this
4364 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4365 ac_tool_warned
=yes ;;
4373 if test -z "$CC"; then
4374 if test -n "$ac_tool_prefix"; then
4375 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4376 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4379 if test "${ac_cv_prog_CC+set}" = set; then
4380 echo $ECHO_N "(cached) $ECHO_C" >&6
4382 if test -n "$CC"; then
4383 ac_cv_prog_CC
="$CC" # Let the user override the test.
4385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4389 test -z "$as_dir" && as_dir
=.
4390 for ac_exec_ext
in '' $ac_executable_extensions; do
4391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4392 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 if test -n "$CC"; then
4404 { echo "$as_me:$LINENO: result: $CC" >&5
4405 echo "${ECHO_T}$CC" >&6; }
4407 { echo "$as_me:$LINENO: result: no" >&5
4408 echo "${ECHO_T}no" >&6; }
4414 if test -z "$CC"; then
4415 # Extract the first word of "cc", so it can be a program name with args.
4416 set dummy cc
; ac_word
=$2
4417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4419 if test "${ac_cv_prog_CC+set}" = set; then
4420 echo $ECHO_N "(cached) $ECHO_C" >&6
4422 if test -n "$CC"; then
4423 ac_cv_prog_CC
="$CC" # Let the user override the test.
4426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4430 test -z "$as_dir" && as_dir
=.
4431 for ac_exec_ext
in '' $ac_executable_extensions; do
4432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4433 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4434 ac_prog_rejected
=yes
4438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4445 if test $ac_prog_rejected = yes; then
4446 # We found a bogon in the path, so make sure we never use it.
4447 set dummy
$ac_cv_prog_CC
4449 if test $# != 0; then
4450 # We chose a different compiler from the bogus one.
4451 # However, it has the same basename, so the bogon will be chosen
4452 # first if we set CC to just the basename; use the full file name.
4454 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4460 if test -n "$CC"; then
4461 { echo "$as_me:$LINENO: result: $CC" >&5
4462 echo "${ECHO_T}$CC" >&6; }
4464 { echo "$as_me:$LINENO: result: no" >&5
4465 echo "${ECHO_T}no" >&6; }
4470 if test -z "$CC"; then
4471 if test -n "$ac_tool_prefix"; then
4472 for ac_prog
in cl.exe
4474 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4475 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4478 if test "${ac_cv_prog_CC+set}" = set; then
4479 echo $ECHO_N "(cached) $ECHO_C" >&6
4481 if test -n "$CC"; then
4482 ac_cv_prog_CC
="$CC" # Let the user override the test.
4484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4488 test -z "$as_dir" && as_dir
=.
4489 for ac_exec_ext
in '' $ac_executable_extensions; do
4490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4491 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4502 if test -n "$CC"; then
4503 { echo "$as_me:$LINENO: result: $CC" >&5
4504 echo "${ECHO_T}$CC" >&6; }
4506 { echo "$as_me:$LINENO: result: no" >&5
4507 echo "${ECHO_T}no" >&6; }
4511 test -n "$CC" && break
4514 if test -z "$CC"; then
4516 for ac_prog
in cl.exe
4518 # Extract the first word of "$ac_prog", so it can be a program name with args.
4519 set dummy
$ac_prog; ac_word
=$2
4520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4522 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4523 echo $ECHO_N "(cached) $ECHO_C" >&6
4525 if test -n "$ac_ct_CC"; then
4526 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4532 test -z "$as_dir" && as_dir
=.
4533 for ac_exec_ext
in '' $ac_executable_extensions; do
4534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4535 ac_cv_prog_ac_ct_CC
="$ac_prog"
4536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4545 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4546 if test -n "$ac_ct_CC"; then
4547 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4548 echo "${ECHO_T}$ac_ct_CC" >&6; }
4550 { echo "$as_me:$LINENO: result: no" >&5
4551 echo "${ECHO_T}no" >&6; }
4555 test -n "$ac_ct_CC" && break
4558 if test "x$ac_ct_CC" = x
; then
4561 case $cross_compiling:$ac_tool_warned in
4563 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4564 whose name does not start with the host triplet. If you think this
4565 configuration is useful to you, please write to autoconf@gnu.org." >&5
4566 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4567 whose name does not start with the host triplet. If you think this
4568 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4569 ac_tool_warned
=yes ;;
4578 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4579 See \`config.log' for more details." >&5
4580 echo "$as_me: error: no acceptable C compiler found in \$PATH
4581 See \`config.log' for more details." >&2;}
4582 { (exit 1); exit 1; }; }
4584 # Provide some information about the compiler.
4585 echo "$as_me:$LINENO: checking for C compiler version" >&5
4586 ac_compiler
=`set X $ac_compile; echo $2`
4587 { (ac_try
="$ac_compiler --version >&5"
4589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4590 *) ac_try_echo=$ac_try;;
4592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4593 (eval "$ac_compiler --version >&5") 2>&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); }
4597 { (ac_try="$ac_compiler -v >&5"
4599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4600 *) ac_try_echo
=$ac_try;;
4602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4603 (eval "$ac_compiler -v >&5") 2>&5
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); }
4607 { (ac_try
="$ac_compiler -V >&5"
4609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4610 *) ac_try_echo=$ac_try;;
4612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4613 (eval "$ac_compiler -V >&5") 2>&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }
4618 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4619 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4620 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4623 cat >conftest.$ac_ext <<_ACEOF
4626 cat confdefs.h >>conftest.$ac_ext
4627 cat >>conftest.$ac_ext <<_ACEOF
4628 /* end confdefs.h. */
4641 rm -f conftest.$ac_objext
4642 if { (ac_try="$ac_compile"
4644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4645 *) ac_try_echo
=$ac_try;;
4647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4648 (eval "$ac_compile") 2>conftest.er1
4650 grep -v '^ *+' conftest.er1
>conftest.err
4652 cat conftest.err
>&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); } && {
4655 test -z "$ac_c_werror_flag" ||
4656 test ! -s conftest.err
4657 } && test -s conftest.
$ac_objext; then
4660 echo "$as_me: failed program was:" >&5
4661 sed 's/^/| /' conftest.
$ac_ext >&5
4666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4667 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4670 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4671 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4672 GCC
=`test $ac_compiler_gnu = yes && echo yes`
4673 ac_test_CFLAGS
=${CFLAGS+set}
4674 ac_save_CFLAGS
=$CFLAGS
4675 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4676 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4677 if test "${ac_cv_prog_cc_g+set}" = set; then
4678 echo $ECHO_N "(cached) $ECHO_C" >&6
4680 ac_save_c_werror_flag
=$ac_c_werror_flag
4681 ac_c_werror_flag
=yes
4684 cat >conftest.
$ac_ext <<_ACEOF
4687 cat confdefs.h
>>conftest.
$ac_ext
4688 cat >>conftest.
$ac_ext <<_ACEOF
4689 /* end confdefs.h. */
4699 rm -f conftest.
$ac_objext
4700 if { (ac_try
="$ac_compile"
4702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4703 *) ac_try_echo=$ac_try;;
4705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4706 (eval "$ac_compile") 2>conftest.er1
4708 grep -v '^ *+' conftest.er1 >conftest.err
4710 cat conftest.err >&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); } && {
4713 test -z "$ac_c_werror_flag" ||
4714 test ! -s conftest.err
4715 } && test -s conftest.$ac_objext; then
4718 echo "$as_me: failed program was:" >&5
4719 sed 's/^/| /' conftest.$ac_ext >&5
4722 cat >conftest.$ac_ext <<_ACEOF
4725 cat confdefs.h >>conftest.$ac_ext
4726 cat >>conftest.$ac_ext <<_ACEOF
4727 /* end confdefs.h. */
4737 rm -f conftest.$ac_objext
4738 if { (ac_try="$ac_compile"
4740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4741 *) ac_try_echo
=$ac_try;;
4743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4744 (eval "$ac_compile") 2>conftest.er1
4746 grep -v '^ *+' conftest.er1
>conftest.err
4748 cat conftest.err
>&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); } && {
4751 test -z "$ac_c_werror_flag" ||
4752 test ! -s conftest.err
4753 } && test -s conftest.
$ac_objext; then
4756 echo "$as_me: failed program was:" >&5
4757 sed 's/^/| /' conftest.
$ac_ext >&5
4759 ac_c_werror_flag
=$ac_save_c_werror_flag
4761 cat >conftest.
$ac_ext <<_ACEOF
4764 cat confdefs.h
>>conftest.
$ac_ext
4765 cat >>conftest.
$ac_ext <<_ACEOF
4766 /* end confdefs.h. */
4776 rm -f conftest.
$ac_objext
4777 if { (ac_try
="$ac_compile"
4779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4780 *) ac_try_echo=$ac_try;;
4782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4783 (eval "$ac_compile") 2>conftest.er1
4785 grep -v '^ *+' conftest.er1 >conftest.err
4787 cat conftest.err >&5
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); } && {
4790 test -z "$ac_c_werror_flag" ||
4791 test ! -s conftest.err
4792 } && test -s conftest.$ac_objext; then
4795 echo "$as_me: failed program was:" >&5
4796 sed 's/^/| /' conftest.$ac_ext >&5
4801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4808 ac_c_werror_flag=$ac_save_c_werror_flag
4810 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4811 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
4812 if test "$ac_test_CFLAGS" = set; then
4813 CFLAGS=$ac_save_CFLAGS
4814 elif test $ac_cv_prog_cc_g = yes; then
4815 if test "$GCC" = yes; then
4821 if test "$GCC" = yes; then
4827 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4828 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
4829 if test "${ac_cv_prog_cc_c89+set}" = set; then
4830 echo $ECHO_N "(cached) $ECHO_C" >&6
4832 ac_cv_prog_cc_c89=no
4834 cat >conftest.$ac_ext <<_ACEOF
4837 cat confdefs.h >>conftest.$ac_ext
4838 cat >>conftest.$ac_ext <<_ACEOF
4839 /* end confdefs.h. */
4842 #include <sys/types.h>
4843 #include <sys/stat.h>
4844 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4845 struct buf { int x; };
4846 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4847 static char *e (p, i)
4853 static char *f (char * (*g) (char **, int), char **p, ...)
4858 s = g (p, va_arg (v,int));
4863 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4864 function prototypes and stuff, but not '\xHH' hex character constants.
4865 These don't provoke an error unfortunately, instead are silently treated
4866 as 'x'. The following induces an error, until -std is added to get
4867 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4868 array size at least. It's necessary to write '\x00'==0 to get something
4869 that's true only with -std. */
4870 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4872 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4873 inside strings and character constants. */
4875 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4877 int test (int i, double x);
4878 struct s1 {int (*f) (int a);};
4879 struct s2 {int (*f) (double a);};
4880 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4886 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4891 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4892 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4894 CC="$ac_save_CC $ac_arg"
4895 rm -f conftest.$ac_objext
4896 if { (ac_try="$ac_compile"
4898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4899 *) ac_try_echo
=$ac_try;;
4901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4902 (eval "$ac_compile") 2>conftest.er1
4904 grep -v '^ *+' conftest.er1
>conftest.err
4906 cat conftest.err
>&5
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); } && {
4909 test -z "$ac_c_werror_flag" ||
4910 test ! -s conftest.err
4911 } && test -s conftest.
$ac_objext; then
4912 ac_cv_prog_cc_c89
=$ac_arg
4914 echo "$as_me: failed program was:" >&5
4915 sed 's/^/| /' conftest.
$ac_ext >&5
4920 rm -f core conftest.err conftest.
$ac_objext
4921 test "x$ac_cv_prog_cc_c89" != "xno" && break
4923 rm -f conftest.
$ac_ext
4928 case "x$ac_cv_prog_cc_c89" in
4930 { echo "$as_me:$LINENO: result: none needed" >&5
4931 echo "${ECHO_T}none needed" >&6; } ;;
4933 { echo "$as_me:$LINENO: result: unsupported" >&5
4934 echo "${ECHO_T}unsupported" >&6; } ;;
4936 CC
="$CC $ac_cv_prog_cc_c89"
4937 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4938 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4943 ac_cpp
='$CPP $CPPFLAGS'
4944 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4945 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4946 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4948 depcc
="$CC" am_compiler_list
=
4950 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4951 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4952 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4953 echo $ECHO_N "(cached) $ECHO_C" >&6
4955 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4956 # We make a subdir and do the tests there. Otherwise we can end up
4957 # making bogus files that we don't know about and never remove. For
4958 # instance it was reported that on HP-UX the gcc test will end up
4959 # making a dummy file named `D' -- because `-MD' means `put the output
4962 # Copy depcomp to subdir because otherwise we won't find it if we're
4963 # using a relative directory.
4964 cp "$am_depcomp" conftest.dir
4966 # We will build objects and dependencies in a subdirectory because
4967 # it helps to detect inapplicable dependency modes. For instance
4968 # both Tru64's cc and ICC support -MD to output dependencies as a
4969 # side effect of compilation, but ICC will put the dependencies in
4970 # the current directory while Tru64 will put them in the object
4974 am_cv_CC_dependencies_compiler_type
=none
4975 if test "$am_compiler_list" = ""; then
4976 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4978 for depmode
in $am_compiler_list; do
4979 # Setup a source with many dependencies, because some compilers
4980 # like to wrap large dependency lists on column 80 (with \), and
4981 # we should not choose a depcomp mode which is confused by this.
4983 # We need to recreate these files for each test, as the compiler may
4984 # overwrite some of them when testing with obscure command lines.
4985 # This happens at least with the AIX C compiler.
4987 for i
in 1 2 3 4 5 6; do
4988 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4989 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4990 # Solaris 8's {/usr,}/bin/sh.
4991 touch sub
/conftst
$i.h
4993 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4997 # after this tag, mechanisms are not by side-effect, so they'll
4998 # only be used when explicitly requested
4999 if test "x$enable_dependency_tracking" = xyes
; then
5007 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5008 # mode. It turns out that the SunPro C++ compiler does not properly
5009 # handle `-M -o', and we need to detect this.
5010 if depmode
=$depmode \
5011 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5012 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5013 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5014 >/dev
/null
2>conftest.err
&&
5015 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5016 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5017 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5018 # icc doesn't choke on unknown options, it will just issue warnings
5019 # or remarks (even with -Werror). So we grep stderr for any message
5020 # that says an option was ignored or not supported.
5021 # When given -MP, icc 7.0 and 7.1 complain thusly:
5022 # icc: Command line warning: ignoring option '-M'; no argument required
5023 # The diagnosis changed in icc 8.0:
5024 # icc: Command line remark: option '-MP' not supported
5025 if (grep 'ignoring option' conftest.err ||
5026 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5027 am_cv_CC_dependencies_compiler_type
=$depmode
5036 am_cv_CC_dependencies_compiler_type
=none
5040 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5041 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
5042 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5047 test "x$enable_dependency_tracking" != xno \
5048 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5050 am__fastdepCC_FALSE
='#'
5052 am__fastdepCC_TRUE
='#'
5053 am__fastdepCC_FALSE
=
5058 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
5061 ac_cpp
='$CPP $CPPFLAGS'
5062 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5063 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5064 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5065 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5066 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5067 # On Suns, sometimes $CPP names a directory.
5068 if test -n "$CPP" && test -d "$CPP"; then
5071 if test -z "$CPP"; then
5072 if test "${ac_cv_prog_CPP+set}" = set; then
5073 echo $ECHO_N "(cached) $ECHO_C" >&6
5075 # Double quotes because CPP needs to be expanded
5076 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5079 for ac_c_preproc_warn_flag
in '' yes
5081 # Use a header file that comes with gcc, so configuring glibc
5082 # with a fresh cross-compiler works.
5083 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5084 # <limits.h> exists even on freestanding compilers.
5085 # On the NeXT, cc -E runs the code through the compiler's parser,
5086 # not just through cpp. "Syntax error" is here to catch this case.
5087 cat >conftest.
$ac_ext <<_ACEOF
5090 cat confdefs.h
>>conftest.
$ac_ext
5091 cat >>conftest.
$ac_ext <<_ACEOF
5092 /* end confdefs.h. */
5094 # include <limits.h>
5096 # include <assert.h>
5100 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5103 *) ac_try_echo=$ac_try;;
5105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5106 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5108 grep -v '^ *+' conftest.er1 >conftest.err
5110 cat conftest.err >&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); } >/dev/null && {
5113 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5114 test ! -s conftest.err
5118 echo "$as_me: failed program was:" >&5
5119 sed 's/^/| /' conftest.$ac_ext >&5
5121 # Broken: fails on valid input.
5125 rm -f conftest.err conftest.$ac_ext
5127 # OK, works on sane cases. Now check whether nonexistent headers
5128 # can be detected and how.
5129 cat >conftest.$ac_ext <<_ACEOF
5132 cat confdefs.h >>conftest.$ac_ext
5133 cat >>conftest.$ac_ext <<_ACEOF
5134 /* end confdefs.h. */
5135 #include <ac_nonexistent.h>
5137 if { (ac_try="$ac_cpp conftest.$ac_ext"
5139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5140 *) ac_try_echo
=$ac_try;;
5142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5143 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5145 grep -v '^ *+' conftest.er1
>conftest.err
5147 cat conftest.err
>&5
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); } >/dev
/null
&& {
5150 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5151 test ! -s conftest.err
5153 # Broken: success on invalid input.
5156 echo "$as_me: failed program was:" >&5
5157 sed 's/^/| /' conftest.
$ac_ext >&5
5159 # Passes both tests.
5164 rm -f conftest.err conftest.
$ac_ext
5167 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5168 rm -f conftest.err conftest.
$ac_ext
5169 if $ac_preproc_ok; then
5181 { echo "$as_me:$LINENO: result: $CPP" >&5
5182 echo "${ECHO_T}$CPP" >&6; }
5184 for ac_c_preproc_warn_flag
in '' yes
5186 # Use a header file that comes with gcc, so configuring glibc
5187 # with a fresh cross-compiler works.
5188 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5189 # <limits.h> exists even on freestanding compilers.
5190 # On the NeXT, cc -E runs the code through the compiler's parser,
5191 # not just through cpp. "Syntax error" is here to catch this case.
5192 cat >conftest.
$ac_ext <<_ACEOF
5195 cat confdefs.h
>>conftest.
$ac_ext
5196 cat >>conftest.
$ac_ext <<_ACEOF
5197 /* end confdefs.h. */
5199 # include <limits.h>
5201 # include <assert.h>
5205 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5208 *) ac_try_echo=$ac_try;;
5210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5211 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5213 grep -v '^ *+' conftest.er1 >conftest.err
5215 cat conftest.err >&5
5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); } >/dev/null && {
5218 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5219 test ! -s conftest.err
5223 echo "$as_me: failed program was:" >&5
5224 sed 's/^/| /' conftest.$ac_ext >&5
5226 # Broken: fails on valid input.
5230 rm -f conftest.err conftest.$ac_ext
5232 # OK, works on sane cases. Now check whether nonexistent headers
5233 # can be detected and how.
5234 cat >conftest.$ac_ext <<_ACEOF
5237 cat confdefs.h >>conftest.$ac_ext
5238 cat >>conftest.$ac_ext <<_ACEOF
5239 /* end confdefs.h. */
5240 #include <ac_nonexistent.h>
5242 if { (ac_try="$ac_cpp conftest.$ac_ext"
5244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5245 *) ac_try_echo
=$ac_try;;
5247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5248 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5250 grep -v '^ *+' conftest.er1
>conftest.err
5252 cat conftest.err
>&5
5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254 (exit $ac_status); } >/dev
/null
&& {
5255 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5256 test ! -s conftest.err
5258 # Broken: success on invalid input.
5261 echo "$as_me: failed program was:" >&5
5262 sed 's/^/| /' conftest.
$ac_ext >&5
5264 # Passes both tests.
5269 rm -f conftest.err conftest.
$ac_ext
5272 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5273 rm -f conftest.err conftest.
$ac_ext
5274 if $ac_preproc_ok; then
5277 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5278 See \`config.log' for more details." >&5
5279 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5280 See \`config.log' for more details." >&2;}
5281 { (exit 1); exit 1; }; }
5285 ac_cpp
='$CPP $CPPFLAGS'
5286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5291 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5292 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5293 if test "${ac_cv_path_GREP+set}" = set; then
5294 echo $ECHO_N "(cached) $ECHO_C" >&6
5296 # Extract the first word of "grep ggrep" to use in msg output
5297 if test -z "$GREP"; then
5298 set dummy
grep ggrep
; ac_prog_name
=$2
5299 if test "${ac_cv_path_GREP+set}" = set; then
5300 echo $ECHO_N "(cached) $ECHO_C" >&6
5302 ac_path_GREP_found
=false
5303 # Loop through the user's path and test for each of PROGNAME-LIST
5304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5305 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5308 test -z "$as_dir" && as_dir
=.
5309 for ac_prog
in grep ggrep
; do
5310 for ac_exec_ext
in '' $ac_executable_extensions; do
5311 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5312 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5313 # Check for GNU ac_path_GREP and select it if it is found.
5314 # Check for GNU $ac_path_GREP
5315 case `"$ac_path_GREP" --version 2>&1` in
5317 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5320 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5323 cat "conftest.in" "conftest.in" >"conftest.tmp"
5324 mv "conftest.tmp" "conftest.in"
5325 cp "conftest.in" "conftest.nl"
5326 echo 'GREP' >> "conftest.nl"
5327 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5328 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5329 ac_count
=`expr $ac_count + 1`
5330 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5331 # Best one so far, save it but keep looking for a better one
5332 ac_cv_path_GREP
="$ac_path_GREP"
5333 ac_path_GREP_max
=$ac_count
5335 # 10*(2^10) chars as input seems more than enough
5336 test $ac_count -gt 10 && break
5338 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5342 $ac_path_GREP_found && break 3
5352 GREP
="$ac_cv_path_GREP"
5353 if test -z "$GREP"; then
5354 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5355 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5356 { (exit 1); exit 1; }; }
5360 ac_cv_path_GREP
=$GREP
5365 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5366 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5367 GREP
="$ac_cv_path_GREP"
5370 { echo "$as_me:$LINENO: checking for egrep" >&5
5371 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5372 if test "${ac_cv_path_EGREP+set}" = set; then
5373 echo $ECHO_N "(cached) $ECHO_C" >&6
5375 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5376 then ac_cv_path_EGREP
="$GREP -E"
5378 # Extract the first word of "egrep" to use in msg output
5379 if test -z "$EGREP"; then
5380 set dummy
egrep; ac_prog_name
=$2
5381 if test "${ac_cv_path_EGREP+set}" = set; then
5382 echo $ECHO_N "(cached) $ECHO_C" >&6
5384 ac_path_EGREP_found
=false
5385 # Loop through the user's path and test for each of PROGNAME-LIST
5386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5387 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5390 test -z "$as_dir" && as_dir
=.
5391 for ac_prog
in egrep; do
5392 for ac_exec_ext
in '' $ac_executable_extensions; do
5393 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5394 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5395 # Check for GNU ac_path_EGREP and select it if it is found.
5396 # Check for GNU $ac_path_EGREP
5397 case `"$ac_path_EGREP" --version 2>&1` in
5399 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5402 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5405 cat "conftest.in" "conftest.in" >"conftest.tmp"
5406 mv "conftest.tmp" "conftest.in"
5407 cp "conftest.in" "conftest.nl"
5408 echo 'EGREP' >> "conftest.nl"
5409 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5410 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5411 ac_count
=`expr $ac_count + 1`
5412 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5413 # Best one so far, save it but keep looking for a better one
5414 ac_cv_path_EGREP
="$ac_path_EGREP"
5415 ac_path_EGREP_max
=$ac_count
5417 # 10*(2^10) chars as input seems more than enough
5418 test $ac_count -gt 10 && break
5420 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5424 $ac_path_EGREP_found && break 3
5434 EGREP
="$ac_cv_path_EGREP"
5435 if test -z "$EGREP"; then
5436 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5437 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5438 { (exit 1); exit 1; }; }
5442 ac_cv_path_EGREP
=$EGREP
5448 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5449 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5450 EGREP
="$ac_cv_path_EGREP"
5453 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5454 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5455 if test "${ac_cv_header_stdc+set}" = set; then
5456 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 cat >conftest.
$ac_ext <<_ACEOF
5461 cat confdefs.h
>>conftest.
$ac_ext
5462 cat >>conftest.
$ac_ext <<_ACEOF
5463 /* end confdefs.h. */
5477 rm -f conftest.
$ac_objext
5478 if { (ac_try
="$ac_compile"
5480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5481 *) ac_try_echo=$ac_try;;
5483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5484 (eval "$ac_compile") 2>conftest.er1
5486 grep -v '^ *+' conftest.er1 >conftest.err
5488 cat conftest.err >&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); } && {
5491 test -z "$ac_c_werror_flag" ||
5492 test ! -s conftest.err
5493 } && test -s conftest.$ac_objext; then
5494 ac_cv_header_stdc=yes
5496 echo "$as_me: failed program was:" >&5
5497 sed 's/^/| /' conftest.$ac_ext >&5
5499 ac_cv_header_stdc=no
5502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5504 if test $ac_cv_header_stdc = yes; then
5505 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5506 cat >conftest.$ac_ext <<_ACEOF
5509 cat confdefs.h >>conftest.$ac_ext
5510 cat >>conftest.$ac_ext <<_ACEOF
5511 /* end confdefs.h. */
5515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5516 $EGREP "memchr" >/dev/null 2>&1; then
5519 ac_cv_header_stdc=no
5525 if test $ac_cv_header_stdc = yes; then
5526 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5527 cat >conftest.$ac_ext <<_ACEOF
5530 cat confdefs.h >>conftest.$ac_ext
5531 cat >>conftest.$ac_ext <<_ACEOF
5532 /* end confdefs.h. */
5536 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5537 $EGREP "free" >/dev/null 2>&1; then
5540 ac_cv_header_stdc=no
5546 if test $ac_cv_header_stdc = yes; then
5547 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5548 if test "$cross_compiling" = yes; then
5551 cat >conftest.$ac_ext <<_ACEOF
5554 cat confdefs.h >>conftest.$ac_ext
5555 cat >>conftest.$ac_ext <<_ACEOF
5556 /* end confdefs.h. */
5559 #if ((' ' & 0x0FF) == 0x020)
5560 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5561 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5563 # define ISLOWER(c) \
5564 (('a' <= (c) && (c) <= 'i') \
5565 || ('j' <= (c) && (c) <= 'r') \
5566 || ('s' <= (c) && (c) <= 'z'))
5567 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5570 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5575 for (i = 0; i < 256; i++)
5576 if (XOR (islower (i), ISLOWER (i))
5577 || toupper (i) != TOUPPER (i))
5582 rm -f conftest$ac_exeext
5583 if { (ac_try="$ac_link"
5585 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5586 *) ac_try_echo
=$ac_try;;
5588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5589 (eval "$ac_link") 2>&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5593 { (case "(($ac_try" in
5594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5595 *) ac_try_echo=$ac_try;;
5597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5598 (eval "$ac_try") 2>&5
5600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601 (exit $ac_status); }; }; then
5604 echo "$as_me: program exited with status $ac_status" >&5
5605 echo "$as_me: failed program was:" >&5
5606 sed 's/^/| /' conftest.$ac_ext >&5
5609 ac_cv_header_stdc=no
5611 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5617 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5618 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5619 if test $ac_cv_header_stdc = yes; then
5621 cat >>confdefs.h <<\_ACEOF
5622 #define STDC_HEADERS 1
5629 # ============ Switched off:
5635 GNOME_COMPILE_WARNINGS
5637 #------------------------------------------------------------------------------
5639 # The gnomeui library is required but the gnomeprint and gnomeprintui libraries
5640 # are optional. First we verify the gnomeui library is present. Then we check
5641 # for the presence of the gnomeprint libraries and set a flag to indicate the
5642 # print libraries are present. Finally, we run pkg-config to get the compile and
5643 # link flags for the combined set of libraries to eliminate duplications in
5645 ## GNOME_MODULES="libgnomeui-2 >= 2.0.0"
5646 GNOME_PRINT="libgnomeprint-2.2 >= 2.2.0 libgnomeprintui-2.2 >=2.2.0"
5649 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5650 if test -n "$ac_tool_prefix"; then
5651 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5652 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5655 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
5656 echo $ECHO_N "(cached) $ECHO_C" >&6
5660 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667 test -z "$as_dir" && as_dir=.
5668 for ac_exec_ext in '' $ac_executable_extensions; do
5669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5670 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5681 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5682 if test -n "$PKG_CONFIG"; then
5683 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5684 echo "${ECHO_T}$PKG_CONFIG" >&6; }
5686 { echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6; }
5692 if test -z "$ac_cv_path_PKG_CONFIG"; then
5693 ac_pt_PKG_CONFIG=$PKG_CONFIG
5694 # Extract the first word of "pkg-config", so it can be a program name with args.
5695 set dummy pkg-config; ac_word=$2
5696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5698 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
5699 echo $ECHO_N "(cached) $ECHO_C" >&6
5701 case $ac_pt_PKG_CONFIG in
5703 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 test -z "$as_dir" && as_dir=.
5711 for ac_exec_ext in '' $ac_executable_extensions; do
5712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5713 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5724 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
5725 if test -n "$ac_pt_PKG_CONFIG"; then
5726 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
5727 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
5729 { echo "$as_me:$LINENO: result: no" >&5
5730 echo "${ECHO_T}no" >&6; }
5733 if test "x$ac_pt_PKG_CONFIG" = x; then
5736 case $cross_compiling:$ac_tool_warned in
5738 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5739 whose name does not start with the host triplet. If you think this
5740 configuration is useful to you, please write to autoconf@gnu.org." >&5
5741 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5742 whose name does not start with the host triplet. If you think this
5743 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5744 ac_tool_warned=yes ;;
5746 PKG_CONFIG=$ac_pt_PKG_CONFIG
5749 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
5753 if test -n "$PKG_CONFIG"; then
5754 _pkg_min_version=0.9.0
5755 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
5756 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
5757 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5758 { echo "$as_me:$LINENO: result: yes" >&5
5759 echo "${ECHO_T}yes" >&6; }
5761 { echo "$as_me:$LINENO: result: no" >&5
5762 echo "${ECHO_T}no" >&6; }
5769 { echo "$as_me:$LINENO: checking for GPIV_UI" >&5
5770 echo $ECHO_N "checking for GPIV_UI... $ECHO_C" >&6; }
5772 if test -n "$PKG_CONFIG"; then
5773 if test -n "$GPIV_UI_CFLAGS"; then
5774 pkg_cv_GPIV_UI_CFLAGS="$GPIV_UI_CFLAGS"
5776 if test -n "$PKG_CONFIG" && \
5777 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0\"") >&5
5778 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0") 2>&5
5780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5781 (exit $ac_status); }; then
5782 pkg_cv_GPIV_UI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0" 2>/dev
/null
`
5790 if test -n "$PKG_CONFIG"; then
5791 if test -n "$GPIV_UI_LIBS"; then
5792 pkg_cv_GPIV_UI_LIBS="$GPIV_UI_LIBS"
5794 if test -n "$PKG_CONFIG" && \
5795 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0\"") >&5
5796 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0") 2>&5
5798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799 (exit $ac_status); }; then
5800 pkg_cv_GPIV_UI_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0" 2>/dev
/null
`
5811 if test $pkg_failed = yes; then
5813 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5814 _pkg_short_errors_supported=yes
5816 _pkg_short_errors_supported=no
5818 if test $_pkg_short_errors_supported = yes; then
5819 GPIV_UI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0"`
5821 GPIV_UI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0"`
5823 # Put the nasty error message in config.log where it belongs
5824 echo "$GPIV_UI_PKG_ERRORS" >&5
5826 { { echo "$as_me:$LINENO: error: Package requirements (libgnomeui-2.0) were not met:
5830 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5831 installed software in a non-standard prefix.
5833 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5834 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5835 See the pkg-config man page for more details.
5837 echo "$as_me: error: Package requirements (libgnomeui-2.0) were not met:
5841 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5842 installed software in a non-standard prefix.
5844 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5845 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5846 See the pkg-config man page for more details.
5848 { (exit 1); exit 1; }; }
5849 elif test $pkg_failed = untried; then
5850 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
5851 is in your PATH or set the PKG_CONFIG environment variable to the full
5854 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5855 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5856 See the pkg-config man page for more details.
5858 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5859 See \`config.log
' for more details." >&5
5860 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
5861 is in your PATH or set the PKG_CONFIG environment variable to the full
5864 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5865 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5866 See the pkg-config man page for more details.
5868 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5869 See \`config.log' for more details.
" >&2;}
5870 { (exit 1); exit 1; }; }
5872 GPIV_UI_CFLAGS=$pkg_cv_GPIV_UI_CFLAGS
5873 GPIV_UI_LIBS=$pkg_cv_GPIV_UI_LIBS
5874 { echo "$as_me:$LINENO: result
: yes" >&5
5875 echo "${ECHO_T}yes" >&6; }
5880 { echo "$as_me:$LINENO: checking
for GPIV_PRINT
" >&5
5881 echo $ECHO_N "checking
for GPIV_PRINT...
$ECHO_C" >&6; }
5883 if test -n "$PKG_CONFIG"; then
5884 if test -n "$GPIV_PRINT_CFLAGS"; then
5885 pkg_cv_GPIV_PRINT_CFLAGS="$GPIV_PRINT_CFLAGS"
5887 if test -n "$PKG_CONFIG" && \
5888 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgnomeprint-2.2 libgnomeprintui-2.2
\"") >&5
5889 ($PKG_CONFIG --exists --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2
") 2>&5
5891 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5892 (exit $ac_status); }; then
5893 pkg_cv_GPIV_PRINT_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprint-2.2 libgnomeprintui-2.2
" 2>/dev/null`
5901 if test -n "$PKG_CONFIG"; then
5902 if test -n "$GPIV_PRINT_LIBS"; then
5903 pkg_cv_GPIV_PRINT_LIBS="$GPIV_PRINT_LIBS"
5905 if test -n "$PKG_CONFIG" && \
5906 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"libgnomeprint-2.2 libgnomeprintui-2.2
\"") >&5
5907 ($PKG_CONFIG --exists --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2
") 2>&5
5909 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5910 (exit $ac_status); }; then
5911 pkg_cv_GPIV_PRINT_LIBS=`$PKG_CONFIG --libs "libgnomeprint-2.2 libgnomeprintui-2.2
" 2>/dev/null`
5922 if test $pkg_failed = yes; then
5924 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5925 _pkg_short_errors_supported=yes
5927 _pkg_short_errors_supported=no
5929 if test $_pkg_short_errors_supported = yes; then
5930 GPIV_PRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2
"`
5932 GPIV_PRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprint-2.2 libgnomeprintui-2.2
"`
5934 # Put the nasty error message in config.log where it belongs
5935 echo "$GPIV_PRINT_PKG_ERRORS" >&5
5937 { echo "$as_me:$LINENO: result
: no
" >&5
5938 echo "${ECHO_T}no
" >&6; }
5939 echo "gnomeprint libraries are not available.
"
5940 elif test $pkg_failed = untried; then
5941 echo "gnomeprint libraries are not available.
"
5943 GPIV_PRINT_CFLAGS=$pkg_cv_GPIV_PRINT_CFLAGS
5944 GPIV_PRINT_LIBS=$pkg_cv_GPIV_PRINT_LIBS
5945 { echo "$as_me:$LINENO: result
: yes" >&5
5946 echo "${ECHO_T}yes" >&6; }
5947 gpiv_have_gnome_print=1
5950 if test "x
$gpiv_have_gnome_print" = "x1
"; then
5951 echo "gnomeprint IS available
"
5952 cat >>confdefs.h <<\_ACEOF
5953 #define HAVE_GNOME_PRINT "1"
5956 GPIV_GNOME_LIBS="libgnomeui-2.0 libgnomeprint-2.2 libgnomeprintui-2.2
"
5958 echo "gnomeprint NOT available
"
5959 GPIV_GNOME_LIBS="libgnomeui-2.0
"
5962 echo "configuring with libraries
: " $gpiv_gnome_libs
5965 { echo "$as_me:$LINENO: checking
for GPIV
" >&5
5966 echo $ECHO_N "checking
for GPIV...
$ECHO_C" >&6; }
5968 if test -n "$PKG_CONFIG"; then
5969 if test -n "$GPIV_CFLAGS"; then
5970 pkg_cv_GPIV_CFLAGS="$GPIV_CFLAGS"
5972 if test -n "$PKG_CONFIG" && \
5973 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"\
$GPIV_GNOME_LIBS\"") >&5
5974 ($PKG_CONFIG --exists --print-errors "$GPIV_GNOME_LIBS") 2>&5
5976 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5977 (exit $ac_status); }; then
5978 pkg_cv_GPIV_CFLAGS=`$PKG_CONFIG --cflags "$GPIV_GNOME_LIBS" 2>/dev/null`
5986 if test -n "$PKG_CONFIG"; then
5987 if test -n "$GPIV_LIBS"; then
5988 pkg_cv_GPIV_LIBS="$GPIV_LIBS"
5990 if test -n "$PKG_CONFIG" && \
5991 { (echo "$as_me:$LINENO: \
$PKG_CONFIG --exists --print-errors \"\
$GPIV_GNOME_LIBS\"") >&5
5992 ($PKG_CONFIG --exists --print-errors "$GPIV_GNOME_LIBS") 2>&5
5994 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5995 (exit $ac_status); }; then
5996 pkg_cv_GPIV_LIBS=`$PKG_CONFIG --libs "$GPIV_GNOME_LIBS" 2>/dev/null`
6007 if test $pkg_failed = yes; then
6009 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6010 _pkg_short_errors_supported=yes
6012 _pkg_short_errors_supported=no
6014 if test $_pkg_short_errors_supported = yes; then
6015 GPIV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GPIV_GNOME_LIBS"`
6017 GPIV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GPIV_GNOME_LIBS"`
6019 # Put the nasty error message in config.log where it belongs
6020 echo "$GPIV_PKG_ERRORS" >&5
6022 { { echo "$as_me:$LINENO: error
: Package requirements
($GPIV_GNOME_LIBS) were not met
:
6026 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
6027 installed software
in a non-standard prefix.
6029 Alternatively
, you may
set the environment variables GPIV_CFLAGS
6030 and GPIV_LIBS to avoid the need to call pkg-config.
6031 See the pkg-config man page
for more details.
6033 echo "$as_me: error
: Package requirements
($GPIV_GNOME_LIBS) were not met
:
6037 Consider adjusting the PKG_CONFIG_PATH environment variable
if you
6038 installed software
in a non-standard prefix.
6040 Alternatively
, you may
set the environment variables GPIV_CFLAGS
6041 and GPIV_LIBS to avoid the need to call pkg-config.
6042 See the pkg-config man page
for more details.
6044 { (exit 1); exit 1; }; }
6045 elif test $pkg_failed = untried; then
6046 { { echo "$as_me:$LINENO: error
: The pkg-config
script could not be found or is too old. Make sure it
6047 is
in your PATH or
set the PKG_CONFIG environment variable to the full
6050 Alternatively
, you may
set the environment variables GPIV_CFLAGS
6051 and GPIV_LIBS to avoid the need to call pkg-config.
6052 See the pkg-config man page
for more details.
6054 To get pkg-config
, see
<http
://pkg-config.freedesktop.org
/>.
6055 See \
`config.log' for more details." >&5
6056 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
6057 is in your PATH or set the PKG_CONFIG environment variable to the full
6060 Alternatively, you may set the environment variables GPIV_CFLAGS
6061 and GPIV_LIBS to avoid the need to call pkg-config.
6062 See the pkg-config man page for more details.
6064 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
6065 See \`config.log
' for more details." >&2;}
6066 { (exit 1); exit 1; }; }
6068 GPIV_CFLAGS=$pkg_cv_GPIV_CFLAGS
6069 GPIV_LIBS=$pkg_cv_GPIV_LIBS
6070 { echo "$as_me:$LINENO: result: yes" >&5
6071 echo "${ECHO_T}yes" >&6; }
6078 GETTEXT_PACKAGE=gpiv
6080 cat >>confdefs.h <<_ACEOF
6081 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
6084 ALL_LINGUAS="ca de nl"
6085 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6095 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6096 inttypes.h stdint.h unistd.h
6098 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6099 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6101 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6102 echo $ECHO_N "(cached) $ECHO_C" >&6
6104 cat >conftest.$ac_ext <<_ACEOF
6107 cat confdefs.h >>conftest.$ac_ext
6108 cat >>conftest.$ac_ext <<_ACEOF
6109 /* end confdefs.h. */
6110 $ac_includes_default
6112 #include <$ac_header>
6114 rm -f conftest.$ac_objext
6115 if { (ac_try="$ac_compile"
6117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6118 *) ac_try_echo=$ac_try;;
6120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6121 (eval "$ac_compile") 2>conftest.er1
6123 grep -v '^
*+' conftest.er1 >conftest.err
6125 cat conftest.err >&5
6126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127 (exit $ac_status); } && {
6128 test -z "$ac_c_werror_flag" ||
6129 test ! -s conftest.err
6130 } && test -s conftest.$ac_objext; then
6131 eval "$as_ac_Header=yes"
6133 echo "$as_me: failed program was:" >&5
6134 sed 's
/^
/|
/' conftest.$ac_ext >&5
6136 eval "$as_ac_Header=no"
6139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6141 ac_res=`eval echo '${'$as_ac_Header'}'`
6142 { echo "$as_me:$LINENO: result: $ac_res" >&5
6143 echo "${ECHO_T}$ac_res" >&6; }
6144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6145 cat >>confdefs.h <<_ACEOF
6146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6156 for ac_header in locale.h
6158 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6160 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6162 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6163 echo $ECHO_N "(cached) $ECHO_C" >&6
6165 ac_res=`eval echo '${'$as_ac_Header'}'`
6166 { echo "$as_me:$LINENO: result: $ac_res" >&5
6167 echo "${ECHO_T}$ac_res" >&6; }
6169 # Is the header compilable?
6170 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6171 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6172 cat >conftest.$ac_ext <<_ACEOF
6175 cat confdefs.h >>conftest.$ac_ext
6176 cat >>conftest.$ac_ext <<_ACEOF
6177 /* end confdefs.h. */
6178 $ac_includes_default
6179 #include <$ac_header>
6181 rm -f conftest.$ac_objext
6182 if { (ac_try="$ac_compile"
6184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6185 *) ac_try_echo=$ac_try;;
6187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6188 (eval "$ac_compile") 2>conftest.er1
6190 grep -v '^
*+' conftest.er1 >conftest.err
6192 cat conftest.err >&5
6193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194 (exit $ac_status); } && {
6195 test -z "$ac_c_werror_flag" ||
6196 test ! -s conftest.err
6197 } && test -s conftest.$ac_objext; then
6198 ac_header_compiler=yes
6200 echo "$as_me: failed program was:" >&5
6201 sed 's
/^
/|
/' conftest.$ac_ext >&5
6203 ac_header_compiler=no
6206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6207 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6208 echo "${ECHO_T}$ac_header_compiler" >&6; }
6210 # Is the header present?
6211 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6212 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6213 cat >conftest.$ac_ext <<_ACEOF
6216 cat confdefs.h >>conftest.$ac_ext
6217 cat >>conftest.$ac_ext <<_ACEOF
6218 /* end confdefs.h. */
6219 #include <$ac_header>
6221 if { (ac_try="$ac_cpp conftest.$ac_ext"
6223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6224 *) ac_try_echo=$ac_try;;
6226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6227 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6229 grep -v '^
*+' conftest.er1 >conftest.err
6231 cat conftest.err >&5
6232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 (exit $ac_status); } >/dev/null && {
6234 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6235 test ! -s conftest.err
6237 ac_header_preproc=yes
6239 echo "$as_me: failed program was:" >&5
6240 sed 's
/^
/|
/' conftest.$ac_ext >&5
6242 ac_header_preproc=no
6245 rm -f conftest.err conftest.$ac_ext
6246 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6247 echo "${ECHO_T}$ac_header_preproc" >&6; }
6249 # So? What about this header?
6250 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6252 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6253 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
6255 echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
6256 ac_header_preproc=yes
6259 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6260 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6261 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6262 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6263 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6264 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6265 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6266 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6267 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
6268 echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
6269 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6270 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6272 ## ------------------------------------------------------------------- ##
6273 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
6274 ## ------------------------------------------------------------------- ##
6276 ) | sed "s/^/$as_me: WARNING: /" >&2
6279 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6281 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6282 echo $ECHO_N "(cached) $ECHO_C" >&6
6284 eval "$as_ac_Header=\$ac_header_preproc"
6286 ac_res=`eval echo '${'$as_ac_Header'}'`
6287 { echo "$as_me:$LINENO: result: $ac_res" >&5
6288 echo "${ECHO_T}$ac_res" >&6; }
6291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6292 cat >>confdefs.h <<_ACEOF
6293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6300 if test $ac_cv_header_locale_h = yes; then
6301 { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
6302 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
6303 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6306 cat >conftest.$ac_ext <<_ACEOF
6309 cat confdefs.h >>conftest.$ac_ext
6310 cat >>conftest.$ac_ext <<_ACEOF
6311 /* end confdefs.h. */
6321 rm -f conftest.$ac_objext conftest$ac_exeext
6322 if { (ac_try="$ac_link"
6324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6325 *) ac_try_echo=$ac_try;;
6327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6328 (eval "$ac_link") 2>conftest.er1
6330 grep -v '^
*+' conftest.er1 >conftest.err
6332 cat conftest.err >&5
6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334 (exit $ac_status); } && {
6335 test -z "$ac_c_werror_flag" ||
6336 test ! -s conftest.err
6337 } && test -s conftest$ac_exeext &&
6338 $as_test_x conftest$ac_exeext; then
6339 am_cv_val_LC_MESSAGES=yes
6341 echo "$as_me: failed program was:" >&5
6342 sed 's
/^
/|
/' conftest.$ac_ext >&5
6344 am_cv_val_LC_MESSAGES=no
6347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6348 conftest$ac_exeext conftest.$ac_ext
6350 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
6351 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
6352 if test $am_cv_val_LC_MESSAGES = yes; then
6354 cat >>confdefs.h <<\_ACEOF
6355 #define HAVE_LC_MESSAGES 1
6363 gt_cv_have_gettext=no
6369 if test "${ac_cv_header_libintl_h+set}" = set; then
6370 { echo "$as_me:$LINENO: checking for libintl.h" >&5
6371 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
6372 if test "${ac_cv_header_libintl_h+set}" = set; then
6373 echo $ECHO_N "(cached) $ECHO_C" >&6
6375 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6376 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
6378 # Is the header compilable?
6379 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
6380 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
6381 cat >conftest.$ac_ext <<_ACEOF
6384 cat confdefs.h >>conftest.$ac_ext
6385 cat >>conftest.$ac_ext <<_ACEOF
6386 /* end confdefs.h. */
6387 $ac_includes_default
6388 #include <libintl.h>
6390 rm -f conftest.$ac_objext
6391 if { (ac_try="$ac_compile"
6393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6394 *) ac_try_echo=$ac_try;;
6396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6397 (eval "$ac_compile") 2>conftest.er1
6399 grep -v '^
*+' conftest.er1 >conftest.err
6401 cat conftest.err >&5
6402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403 (exit $ac_status); } && {
6404 test -z "$ac_c_werror_flag" ||
6405 test ! -s conftest.err
6406 } && test -s conftest.$ac_objext; then
6407 ac_header_compiler=yes
6409 echo "$as_me: failed program was:" >&5
6410 sed 's
/^
/|
/' conftest.$ac_ext >&5
6412 ac_header_compiler=no
6415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6416 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6417 echo "${ECHO_T}$ac_header_compiler" >&6; }
6419 # Is the header present?
6420 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
6421 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
6422 cat >conftest.$ac_ext <<_ACEOF
6425 cat confdefs.h >>conftest.$ac_ext
6426 cat >>conftest.$ac_ext <<_ACEOF
6427 /* end confdefs.h. */
6428 #include <libintl.h>
6430 if { (ac_try="$ac_cpp conftest.$ac_ext"
6432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6433 *) ac_try_echo=$ac_try;;
6435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6436 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6438 grep -v '^
*+' conftest.er1 >conftest.err
6440 cat conftest.err >&5
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); } >/dev/null && {
6443 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6444 test ! -s conftest.err
6446 ac_header_preproc=yes
6448 echo "$as_me: failed program was:" >&5
6449 sed 's
/^
/|
/' conftest.$ac_ext >&5
6451 ac_header_preproc=no
6454 rm -f conftest.err conftest.$ac_ext
6455 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6456 echo "${ECHO_T}$ac_header_preproc" >&6; }
6458 # So? What about this header?
6459 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6461 { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
6462 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6463 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result
" >&5
6464 echo "$as_me: WARNING
: libintl.h
: proceeding with the compiler
's result" >&2;}
6465 ac_header_preproc=yes
6468 { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
6469 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
6470 { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
6471 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
6472 { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
6473 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
6474 { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
6475 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
6476 { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result
" >&5
6477 echo "$as_me: WARNING
: libintl.h
: proceeding with the preprocessor
's result" >&2;}
6478 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
6479 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
6481 ## ------------------------------------------------------------------- ##
6482 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
6483 ## ------------------------------------------------------------------- ##
6485 ) | sed "s/^/$as_me: WARNING: /" >&2
6488 { echo "$as_me:$LINENO: checking for libintl.h" >&5
6489 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
6490 if test "${ac_cv_header_libintl_h+set}" = set; then
6491 echo $ECHO_N "(cached) $ECHO_C" >&6
6493 ac_cv_header_libintl_h=$ac_header_preproc
6495 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
6496 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
6499 if test $ac_cv_header_libintl_h = yes; then
6500 gt_cv_func_dgettext_libintl="no"
6501 libintl_extra_libs=""
6504 # First check in libc
6506 { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
6507 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
6508 if test "${gt_cv_func_ngettext_libc+set}" = set; then
6509 echo $ECHO_N "(cached) $ECHO_C" >&6
6511 cat >conftest.$ac_ext <<_ACEOF
6514 cat confdefs.h >>conftest.$ac_ext
6515 cat >>conftest.$ac_ext <<_ACEOF
6516 /* end confdefs.h. */
6518 #include <libintl.h>
6523 return !ngettext ("","", 1)
6528 rm -f conftest.$ac_objext conftest$ac_exeext
6529 if { (ac_try="$ac_link"
6531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6532 *) ac_try_echo=$ac_try;;
6534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6535 (eval "$ac_link") 2>conftest.er1
6537 grep -v '^
*+' conftest.er1 >conftest.err
6539 cat conftest.err >&5
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); } && {
6542 test -z "$ac_c_werror_flag" ||
6543 test ! -s conftest.err
6544 } && test -s conftest$ac_exeext &&
6545 $as_test_x conftest$ac_exeext; then
6546 gt_cv_func_ngettext_libc=yes
6548 echo "$as_me: failed program was:" >&5
6549 sed 's
/^
/|
/' conftest.$ac_ext >&5
6551 gt_cv_func_ngettext_libc=no
6554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6555 conftest$ac_exeext conftest.$ac_ext
6558 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
6559 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
6561 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6562 { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
6563 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
6564 if test "${gt_cv_func_dgettext_libc+set}" = set; then
6565 echo $ECHO_N "(cached) $ECHO_C" >&6
6567 cat >conftest.$ac_ext <<_ACEOF
6570 cat confdefs.h >>conftest.$ac_ext
6571 cat >>conftest.$ac_ext <<_ACEOF
6572 /* end confdefs.h. */
6574 #include <libintl.h>
6579 return !dgettext ("","")
6584 rm -f conftest.$ac_objext conftest$ac_exeext
6585 if { (ac_try="$ac_link"
6587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6588 *) ac_try_echo=$ac_try;;
6590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6591 (eval "$ac_link") 2>conftest.er1
6593 grep -v '^
*+' conftest.er1 >conftest.err
6595 cat conftest.err >&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); } && {
6598 test -z "$ac_c_werror_flag" ||
6599 test ! -s conftest.err
6600 } && test -s conftest$ac_exeext &&
6601 $as_test_x conftest$ac_exeext; then
6602 gt_cv_func_dgettext_libc=yes
6604 echo "$as_me: failed program was:" >&5
6605 sed 's
/^
/|
/' conftest.$ac_ext >&5
6607 gt_cv_func_dgettext_libc=no
6610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6611 conftest$ac_exeext conftest.$ac_ext
6614 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
6615 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
6618 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
6620 for ac_func in bind_textdomain_codeset
6622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6623 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6625 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6626 echo $ECHO_N "(cached) $ECHO_C" >&6
6628 cat >conftest.$ac_ext <<_ACEOF
6631 cat confdefs.h >>conftest.$ac_ext
6632 cat >>conftest.$ac_ext <<_ACEOF
6633 /* end confdefs.h. */
6634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6636 #define $ac_func innocuous_$ac_func
6638 /* System header to define __stub macros and hopefully few prototypes,
6639 which can conflict with char $ac_func (); below.
6640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6641 <limits.h> exists even on freestanding compilers. */
6644 # include <limits.h>
6646 # include <assert.h>
6651 /* Override any GCC internal prototype to avoid an error.
6652 Use char because int might match the return type of a GCC
6653 builtin and then its argument prototype would still apply. */
6658 /* The GNU C library defines this for functions which it implements
6659 to always fail with ENOSYS. Some functions are actually named
6660 something starting with __ and the normal name is an alias. */
6661 #if defined __stub_$ac_func || defined __stub___$ac_func
6673 rm -f conftest.$ac_objext conftest$ac_exeext
6674 if { (ac_try="$ac_link"
6676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6677 *) ac_try_echo=$ac_try;;
6679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6680 (eval "$ac_link") 2>conftest.er1
6682 grep -v '^
*+' conftest.er1 >conftest.err
6684 cat conftest.err >&5
6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); } && {
6687 test -z "$ac_c_werror_flag" ||
6688 test ! -s conftest.err
6689 } && test -s conftest$ac_exeext &&
6690 $as_test_x conftest$ac_exeext; then
6691 eval "$as_ac_var=yes"
6693 echo "$as_me: failed program was:" >&5
6694 sed 's
/^
/|
/' conftest.$ac_ext >&5
6696 eval "$as_ac_var=no"
6699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6700 conftest$ac_exeext conftest.$ac_ext
6702 ac_res=`eval echo '${'$as_ac_var'}'`
6703 { echo "$as_me:$LINENO: result: $ac_res" >&5
6704 echo "${ECHO_T}$ac_res" >&6; }
6705 if test `eval echo '${'$as_ac_var'}'` = yes; then
6706 cat >>confdefs.h <<_ACEOF
6707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6716 # If we don't have everything we want
, check
in libintl
6718 if test "$gt_cv_func_dgettext_libc" != "yes" \
6719 ||
test "$gt_cv_func_ngettext_libc" != "yes" \
6720 ||
test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
6722 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
6723 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
6724 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
6725 echo $ECHO_N "(cached) $ECHO_C" >&6
6727 ac_check_lib_save_LIBS
=$LIBS
6729 cat >conftest.
$ac_ext <<_ACEOF
6732 cat confdefs.h
>>conftest.
$ac_ext
6733 cat >>conftest.
$ac_ext <<_ACEOF
6734 /* end confdefs.h. */
6736 /* Override any GCC internal prototype to avoid an error.
6737 Use char because int might match the return type of a GCC
6738 builtin and then its argument prototype would still apply. */
6742 char bindtextdomain ();
6746 return bindtextdomain ();
6751 rm -f conftest.
$ac_objext conftest
$ac_exeext
6752 if { (ac_try
="$ac_link"
6754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6755 *) ac_try_echo=$ac_try;;
6757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6758 (eval "$ac_link") 2>conftest.er1
6760 grep -v '^ *+' conftest.er1 >conftest.err
6762 cat conftest.err >&5
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); } && {
6765 test -z "$ac_c_werror_flag" ||
6766 test ! -s conftest.err
6767 } && test -s conftest$ac_exeext &&
6768 $as_test_x conftest$ac_exeext; then
6769 ac_cv_lib_intl_bindtextdomain=yes
6771 echo "$as_me: failed program was:" >&5
6772 sed 's/^/| /' conftest.$ac_ext >&5
6774 ac_cv_lib_intl_bindtextdomain=no
6777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6778 conftest$ac_exeext conftest.$ac_ext
6779 LIBS=$ac_check_lib_save_LIBS
6781 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
6782 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
6783 if test $ac_cv_lib_intl_bindtextdomain = yes; then
6784 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6785 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
6786 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6787 echo $ECHO_N "(cached) $ECHO_C" >&6
6789 ac_check_lib_save_LIBS=$LIBS
6791 cat >conftest.$ac_ext <<_ACEOF
6794 cat confdefs.h >>conftest.$ac_ext
6795 cat >>conftest.$ac_ext <<_ACEOF
6796 /* end confdefs.h. */
6798 /* Override any GCC internal prototype to avoid an error.
6799 Use char because int might match the return type of a GCC
6800 builtin and then its argument prototype would still apply. */
6813 rm -f conftest.$ac_objext conftest$ac_exeext
6814 if { (ac_try="$ac_link"
6816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6817 *) ac_try_echo
=$ac_try;;
6819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6820 (eval "$ac_link") 2>conftest.er1
6822 grep -v '^ *+' conftest.er1
>conftest.err
6824 cat conftest.err
>&5
6825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6826 (exit $ac_status); } && {
6827 test -z "$ac_c_werror_flag" ||
6828 test ! -s conftest.err
6829 } && test -s conftest
$ac_exeext &&
6830 $as_test_x conftest
$ac_exeext; then
6831 ac_cv_lib_intl_ngettext
=yes
6833 echo "$as_me: failed program was:" >&5
6834 sed 's/^/| /' conftest.
$ac_ext >&5
6836 ac_cv_lib_intl_ngettext
=no
6839 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6840 conftest
$ac_exeext conftest.
$ac_ext
6841 LIBS
=$ac_check_lib_save_LIBS
6843 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6844 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
6845 if test $ac_cv_lib_intl_ngettext = yes; then
6846 { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
6847 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
6848 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
6849 echo $ECHO_N "(cached) $ECHO_C" >&6
6851 ac_check_lib_save_LIBS
=$LIBS
6853 cat >conftest.
$ac_ext <<_ACEOF
6856 cat confdefs.h
>>conftest.
$ac_ext
6857 cat >>conftest.
$ac_ext <<_ACEOF
6858 /* end confdefs.h. */
6860 /* Override any GCC internal prototype to avoid an error.
6861 Use char because int might match the return type of a GCC
6862 builtin and then its argument prototype would still apply. */
6875 rm -f conftest.
$ac_objext conftest
$ac_exeext
6876 if { (ac_try
="$ac_link"
6878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6879 *) ac_try_echo=$ac_try;;
6881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6882 (eval "$ac_link") 2>conftest.er1
6884 grep -v '^ *+' conftest.er1 >conftest.err
6886 cat conftest.err >&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); } && {
6889 test -z "$ac_c_werror_flag" ||
6890 test ! -s conftest.err
6891 } && test -s conftest$ac_exeext &&
6892 $as_test_x conftest$ac_exeext; then
6893 ac_cv_lib_intl_dgettext=yes
6895 echo "$as_me: failed program was:" >&5
6896 sed 's/^/| /' conftest.$ac_ext >&5
6898 ac_cv_lib_intl_dgettext=no
6901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6902 conftest$ac_exeext conftest.$ac_ext
6903 LIBS=$ac_check_lib_save_LIBS
6905 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
6906 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
6907 if test $ac_cv_lib_intl_dgettext = yes; then
6908 gt_cv_func_dgettext_libintl=yes
6916 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6917 { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
6918 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
6919 { echo "$as_me:$LINENO: result: " >&5
6920 echo "${ECHO_T}" >&6; }
6921 { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
6922 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
6923 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
6924 echo $ECHO_N "(cached) $ECHO_C" >&6
6926 ac_check_lib_save_LIBS=$LIBS
6927 LIBS="-lintl -liconv $LIBS"
6928 cat >conftest.$ac_ext <<_ACEOF
6931 cat confdefs.h >>conftest.$ac_ext
6932 cat >>conftest.$ac_ext <<_ACEOF
6933 /* end confdefs.h. */
6935 /* Override any GCC internal prototype to avoid an error.
6936 Use char because int might match the return type of a GCC
6937 builtin and then its argument prototype would still apply. */
6950 rm -f conftest.$ac_objext conftest$ac_exeext
6951 if { (ac_try="$ac_link"
6953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6954 *) ac_try_echo
=$ac_try;;
6956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6957 (eval "$ac_link") 2>conftest.er1
6959 grep -v '^ *+' conftest.er1
>conftest.err
6961 cat conftest.err
>&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); } && {
6964 test -z "$ac_c_werror_flag" ||
6965 test ! -s conftest.err
6966 } && test -s conftest
$ac_exeext &&
6967 $as_test_x conftest
$ac_exeext; then
6968 ac_cv_lib_intl_ngettext
=yes
6970 echo "$as_me: failed program was:" >&5
6971 sed 's/^/| /' conftest.
$ac_ext >&5
6973 ac_cv_lib_intl_ngettext
=no
6976 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6977 conftest
$ac_exeext conftest.
$ac_ext
6978 LIBS
=$ac_check_lib_save_LIBS
6980 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
6981 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
6982 if test $ac_cv_lib_intl_ngettext = yes; then
6983 { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
6984 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
6985 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
6986 echo $ECHO_N "(cached) $ECHO_C" >&6
6988 ac_check_lib_save_LIBS
=$LIBS
6989 LIBS
="-lintl -liconv $LIBS"
6990 cat >conftest.
$ac_ext <<_ACEOF
6993 cat confdefs.h
>>conftest.
$ac_ext
6994 cat >>conftest.
$ac_ext <<_ACEOF
6995 /* end confdefs.h. */
6997 /* Override any GCC internal prototype to avoid an error.
6998 Use char because int might match the return type of a GCC
6999 builtin and then its argument prototype would still apply. */
7007 return dcgettext ();
7012 rm -f conftest.
$ac_objext conftest
$ac_exeext
7013 if { (ac_try
="$ac_link"
7015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7016 *) ac_try_echo=$ac_try;;
7018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7019 (eval "$ac_link") 2>conftest.er1
7021 grep -v '^ *+' conftest.er1 >conftest.err
7023 cat conftest.err >&5
7024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025 (exit $ac_status); } && {
7026 test -z "$ac_c_werror_flag" ||
7027 test ! -s conftest.err
7028 } && test -s conftest$ac_exeext &&
7029 $as_test_x conftest$ac_exeext; then
7030 ac_cv_lib_intl_dcgettext=yes
7032 echo "$as_me: failed program was:" >&5
7033 sed 's/^/| /' conftest.$ac_ext >&5
7035 ac_cv_lib_intl_dcgettext=no
7038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7039 conftest$ac_exeext conftest.$ac_ext
7040 LIBS=$ac_check_lib_save_LIBS
7042 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
7043 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
7044 if test $ac_cv_lib_intl_dcgettext = yes; then
7045 gt_cv_func_dgettext_libintl=yes
7046 libintl_extra_libs=-liconv
7058 # If we found libintl, then check in it for bind_textdomain_codeset();
7059 # we'll prefer libc if neither have bind_textdomain_codeset(),
7060 # and both have dgettext and ngettext
7062 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
7063 glib_save_LIBS="$LIBS"
7064 LIBS="$LIBS -lintl $libintl_extra_libs"
7065 unset ac_cv_func_bind_textdomain_codeset
7067 for ac_func in bind_textdomain_codeset
7069 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7070 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7072 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7073 echo $ECHO_N "(cached) $ECHO_C" >&6
7075 cat >conftest.$ac_ext <<_ACEOF
7078 cat confdefs.h >>conftest.$ac_ext
7079 cat >>conftest.$ac_ext <<_ACEOF
7080 /* end confdefs.h. */
7081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7083 #define $ac_func innocuous_$ac_func
7085 /* System header to define __stub macros and hopefully few prototypes,
7086 which can conflict with char $ac_func (); below.
7087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7088 <limits.h> exists even on freestanding compilers. */
7091 # include <limits.h>
7093 # include <assert.h>
7098 /* Override any GCC internal prototype to avoid an error.
7099 Use char because int might match the return type of a GCC
7100 builtin and then its argument prototype would still apply. */
7105 /* The GNU C library defines this for functions which it implements
7106 to always fail with ENOSYS. Some functions are actually named
7107 something starting with __ and the normal name is an alias. */
7108 #if defined __stub_$ac_func || defined __stub___$ac_func
7120 rm -f conftest.$ac_objext conftest$ac_exeext
7121 if { (ac_try="$ac_link"
7123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7124 *) ac_try_echo
=$ac_try;;
7126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7127 (eval "$ac_link") 2>conftest.er1
7129 grep -v '^ *+' conftest.er1
>conftest.err
7131 cat conftest.err
>&5
7132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133 (exit $ac_status); } && {
7134 test -z "$ac_c_werror_flag" ||
7135 test ! -s conftest.err
7136 } && test -s conftest
$ac_exeext &&
7137 $as_test_x conftest
$ac_exeext; then
7138 eval "$as_ac_var=yes"
7140 echo "$as_me: failed program was:" >&5
7141 sed 's/^/| /' conftest.
$ac_ext >&5
7143 eval "$as_ac_var=no"
7146 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7147 conftest
$ac_exeext conftest.
$ac_ext
7149 ac_res
=`eval echo '${'$as_ac_var'}'`
7150 { echo "$as_me:$LINENO: result: $ac_res" >&5
7151 echo "${ECHO_T}$ac_res" >&6; }
7152 if test `eval echo '${'$as_ac_var'}'` = yes; then
7153 cat >>confdefs.h
<<_ACEOF
7154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7160 LIBS
="$glib_save_LIBS"
7162 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
7163 gt_cv_func_dgettext_libc
=no
7165 if test "$gt_cv_func_dgettext_libc" = "yes" \
7166 && test "$gt_cv_func_ngettext_libc" = "yes"; then
7167 gt_cv_func_dgettext_libintl
=no
7173 if test "$gt_cv_func_dgettext_libc" = "yes" \
7174 ||
test "$gt_cv_func_dgettext_libintl" = "yes"; then
7175 gt_cv_have_gettext
=yes
7178 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
7179 INTLLIBS
="-lintl $libintl_extra_libs"
7182 if test "$gt_cv_have_gettext" = "yes"; then
7184 cat >>confdefs.h
<<\_ACEOF
7185 #define HAVE_GETTEXT 1
7188 # Extract the first word of "msgfmt", so it can be a program name with args.
7189 set dummy msgfmt
; ac_word
=$2
7190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7192 if test "${ac_cv_path_MSGFMT+set}" = set; then
7193 echo $ECHO_N "(cached) $ECHO_C" >&6
7197 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
7200 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
7201 for ac_dir
in $PATH; do
7202 test -z "$ac_dir" && ac_dir
=.
7203 if test -f $ac_dir/$ac_word; then
7204 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
7205 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
7211 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
7215 MSGFMT
="$ac_cv_path_MSGFMT"
7216 if test "$MSGFMT" != "no"; then
7217 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7218 echo "${ECHO_T}$MSGFMT" >&6; }
7220 { echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6; }
7223 if test "$MSGFMT" != "no"; then
7224 glib_save_LIBS
="$LIBS"
7225 LIBS
="$LIBS $INTLLIBS"
7227 for ac_func
in dcgettext
7229 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7230 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7232 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7233 echo $ECHO_N "(cached) $ECHO_C" >&6
7235 cat >conftest.
$ac_ext <<_ACEOF
7238 cat confdefs.h
>>conftest.
$ac_ext
7239 cat >>conftest.
$ac_ext <<_ACEOF
7240 /* end confdefs.h. */
7241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7243 #define $ac_func innocuous_$ac_func
7245 /* System header to define __stub macros and hopefully few prototypes,
7246 which can conflict with char $ac_func (); below.
7247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7248 <limits.h> exists even on freestanding compilers. */
7251 # include <limits.h>
7253 # include <assert.h>
7258 /* Override any GCC internal prototype to avoid an error.
7259 Use char because int might match the return type of a GCC
7260 builtin and then its argument prototype would still apply. */
7265 /* The GNU C library defines this for functions which it implements
7266 to always fail with ENOSYS. Some functions are actually named
7267 something starting with __ and the normal name is an alias. */
7268 #if defined __stub_$ac_func || defined __stub___$ac_func
7280 rm -f conftest.
$ac_objext conftest
$ac_exeext
7281 if { (ac_try
="$ac_link"
7283 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7284 *) ac_try_echo=$ac_try;;
7286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7287 (eval "$ac_link") 2>conftest.er1
7289 grep -v '^ *+' conftest.er1 >conftest.err
7291 cat conftest.err >&5
7292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 (exit $ac_status); } && {
7294 test -z "$ac_c_werror_flag" ||
7295 test ! -s conftest.err
7296 } && test -s conftest$ac_exeext &&
7297 $as_test_x conftest$ac_exeext; then
7298 eval "$as_ac_var=yes"
7300 echo "$as_me: failed program was:" >&5
7301 sed 's/^/| /' conftest.$ac_ext >&5
7303 eval "$as_ac_var=no"
7306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7307 conftest$ac_exeext conftest.$ac_ext
7309 ac_res=`eval echo '${'$as_ac_var'}'`
7310 { echo "$as_me:$LINENO: result: $ac_res" >&5
7311 echo "${ECHO_T}$ac_res" >&6; }
7312 if test `eval echo '${'$as_ac_var'}'` = yes; then
7313 cat >>confdefs.h <<_ACEOF
7314 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7321 { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
7322 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
7323 cat >conftest.foo <<_ACEOF
7327 "Content-Type: text/plain; charset=UTF-8\n"
7328 "Project-Id-Version: test 1.0\n"
7329 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
7330 "Last-Translator: test <foo@bar.xx>\n"
7331 "Language-Team: C <LL@li.org>\n"
7332 "MIME-Version: 1.0\n"
7333 "Content-Transfer-Encoding: 8bit\n"
7336 if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
7337 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
7339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340 (exit $ac_status); }; then
7341 MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
7342 echo "${ECHO_T}yes" >&6; }
7343 else { echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6; }
7345 echo "$as_me: failed input was:" >&5
7346 sed 's/^/| /' conftest.foo >&5
7349 # Extract the first word of "gmsgfmt", so it can be a program name with args.
7350 set dummy gmsgfmt; ac_word=$2
7351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7353 if test "${ac_cv_path_GMSGFMT+set}" = set; then
7354 echo $ECHO_N "(cached) $ECHO_C" >&6
7358 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7365 test -z "$as_dir" && as_dir=.
7366 for ac_exec_ext in '' $ac_executable_extensions; do
7367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7368 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7376 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7380 GMSGFMT=$ac_cv_path_GMSGFMT
7381 if test -n "$GMSGFMT"; then
7382 { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7383 echo "${ECHO_T}$GMSGFMT" >&6; }
7385 { echo "$as_me:$LINENO: result: no" >&5
7386 echo "${ECHO_T}no" >&6; }
7390 # Extract the first word of "xgettext", so it can be a program name with args.
7391 set dummy xgettext; ac_word=$2
7392 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7394 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7395 echo $ECHO_N "(cached) $ECHO_C" >&6
7399 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7402 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7403 for ac_dir in $PATH; do
7404 test -z "$ac_dir" && ac_dir=.
7405 if test -f $ac_dir/$ac_word; then
7406 if test -z "`$ac_dir/$ac_word -h 2>&1 |
grep '(HELP)'`"; then
7407 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
7413 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7417 XGETTEXT="$ac_cv_path_XGETTEXT"
7418 if test "$XGETTEXT" != ":"; then
7419 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7420 echo "${ECHO_T}$XGETTEXT" >&6; }
7422 { echo "$as_me:$LINENO: result: no" >&5
7423 echo "${ECHO_T}no" >&6; }
7426 cat >conftest.$ac_ext <<_ACEOF
7429 cat confdefs.h >>conftest.$ac_ext
7430 cat >>conftest.$ac_ext <<_ACEOF
7431 /* end confdefs.h. */
7436 extern int _nl_msg_cat_cntr;
7437 return _nl_msg_cat_cntr
7442 rm -f conftest.$ac_objext conftest$ac_exeext
7443 if { (ac_try="$ac_link"
7445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7446 *) ac_try_echo
=$ac_try;;
7448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7449 (eval "$ac_link") 2>conftest.er1
7451 grep -v '^ *+' conftest.er1
>conftest.err
7453 cat conftest.err
>&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); } && {
7456 test -z "$ac_c_werror_flag" ||
7457 test ! -s conftest.err
7458 } && test -s conftest
$ac_exeext &&
7459 $as_test_x conftest
$ac_exeext; then
7463 echo "$as_me: failed program was:" >&5
7464 sed 's/^/| /' conftest.
$ac_ext >&5
7468 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7469 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
7470 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7471 echo $ECHO_N "(cached) $ECHO_C" >&6
7473 cat >conftest.
$ac_ext <<_ACEOF
7476 cat confdefs.h
>>conftest.
$ac_ext
7477 cat >>conftest.
$ac_ext <<_ACEOF
7478 /* end confdefs.h. */
7479 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7481 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7483 /* System header to define __stub macros and hopefully few prototypes,
7484 which can conflict with char bind_textdomain_codeset (); below.
7485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7486 <limits.h> exists even on freestanding compilers. */
7489 # include <limits.h>
7491 # include <assert.h>
7494 #undef bind_textdomain_codeset
7496 /* Override any GCC internal prototype to avoid an error.
7497 Use char because int might match the return type of a GCC
7498 builtin and then its argument prototype would still apply. */
7502 char bind_textdomain_codeset ();
7503 /* The GNU C library defines this for functions which it implements
7504 to always fail with ENOSYS. Some functions are actually named
7505 something starting with __ and the normal name is an alias. */
7506 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7513 return bind_textdomain_codeset ();
7518 rm -f conftest.
$ac_objext conftest
$ac_exeext
7519 if { (ac_try
="$ac_link"
7521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7522 *) ac_try_echo=$ac_try;;
7524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7525 (eval "$ac_link") 2>conftest.er1
7527 grep -v '^ *+' conftest.er1 >conftest.err
7529 cat conftest.err >&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } && {
7532 test -z "$ac_c_werror_flag" ||
7533 test ! -s conftest.err
7534 } && test -s conftest$ac_exeext &&
7535 $as_test_x conftest$ac_exeext; then
7536 ac_cv_func_bind_textdomain_codeset=yes
7538 echo "$as_me: failed program was:" >&5
7539 sed 's/^/| /' conftest.$ac_ext >&5
7541 ac_cv_func_bind_textdomain_codeset=no
7544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7545 conftest$ac_exeext conftest.$ac_ext
7547 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7548 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
7549 if test $ac_cv_func_bind_textdomain_codeset = yes; then
7565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7566 conftest$ac_exeext conftest.$ac_ext
7567 LIBS="$glib_save_LIBS"
7570 gt_cv_have_gettext=no
7578 if test "$gt_cv_have_gettext" = "yes" ; then
7580 cat >>confdefs.h <<\_ACEOF
7581 #define ENABLE_NLS 1
7586 if test "$XGETTEXT" != ":"; then
7587 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
7590 { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
7591 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
7596 # We need to process the po/ directory.
7599 ac_config_commands="$ac_config_commands default-1"
7602 for lang in $ALL_LINGUAS; do
7603 GMOFILES="$GMOFILES $lang.gmo"
7604 POFILES="$POFILES $lang.po"
7619 if test "$gt_cv_have_gettext" = "yes"; then
7620 if test "x$ALL_LINGUAS" = "x"; then
7623 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
7624 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
7626 for presentlang in $ALL_LINGUAS; do
7628 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
7629 desiredlanguages="$LINGUAS"
7631 desiredlanguages="$ALL_LINGUAS"
7633 for desiredlang in $desiredlanguages; do
7634 # Use the presentlang catalog if desiredlang is
7635 # a. equal to presentlang, or
7636 # b. a variant of presentlang (because in this case,
7637 # presentlang can be used as a fallback for messages
7638 # which are not translated in the desiredlang catalog).
7639 case "$desiredlang" in
7640 "$presentlang"*) useit=yes;;
7643 if test $useit = yes; then
7644 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
7647 LINGUAS=$NEW_LINGUAS
7648 { echo "$as_me:$LINENO: result: $LINGUAS" >&5
7649 echo "${ECHO_T}$LINGUAS" >&6; }
7652 if test -n "$LINGUAS"; then
7653 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
7658 if test -n "$ac_aux_dir"; then
7659 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
7661 if test -z "$MKINSTALLDIRS"; then
7662 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
7666 test -d po || mkdir po
7667 if test "x$srcdir" != "x."; then
7668 if test "x`echo $srcdir |
sed 's@/.*@@'`" = "x"; then
7669 posrcprefix="$srcdir/"
7671 posrcprefix="../$srcdir/"
7677 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
7678 < $srcdir/po/POTFILES.in > po/POTFILES
7683 case "$am__api_version" in
7685 { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
7686 echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
7687 { (exit 1); exit 1; }; }
7694 { echo "$as_me:$LINENO: checking for intltool >= " >&5
7695 echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6; }
7697 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo |
awk -F.
'{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
7698 INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.
in`
7699 INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.
in`
7701 { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
7702 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
7703 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
7704 { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool or later." >&5
7705 echo "$as_me: error: Your intltool is too old. You need intltool or later." >&2;}
7706 { (exit 1); exit 1; }; }
7709 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 $< $@'
7710 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 $< $@'
7711 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 $< $@'
7712 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 $< $@'
7713 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
7714 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 $< $@'
7715 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 $< $@'
7716 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 $< $@'
7717 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 $< $@'
7718 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 $< $@'
7719 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 $< $@'
7720 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
7721 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 $< $@'
7722 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 $< $@'
7723 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 $< $@'
7724 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 $< $@'
7725 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 $< $@'
7726 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 $< $@'
7727 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 $< $@'
7749 # Check the gettext tools to make sure they are GNU
7750 # Extract the first word of "xgettext", so it can be a program name with args.
7751 set dummy xgettext; ac_word=$2
7752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7754 if test "${ac_cv_path_XGETTEXT+set}" = set; then
7755 echo $ECHO_N "(cached) $ECHO_C" >&6
7759 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7766 test -z "$as_dir" && as_dir=.
7767 for ac_exec_ext in '' $ac_executable_extensions; do
7768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7769 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
7770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7780 XGETTEXT=$ac_cv_path_XGETTEXT
7781 if test -n "$XGETTEXT"; then
7782 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7783 echo "${ECHO_T}$XGETTEXT" >&6; }
7785 { echo "$as_me:$LINENO: result: no" >&5
7786 echo "${ECHO_T}no" >&6; }
7790 # Extract the first word of "msgmerge", so it can be a program name with args.
7791 set dummy msgmerge; ac_word=$2
7792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7794 if test "${ac_cv_path_MSGMERGE+set}" = set; then
7795 echo $ECHO_N "(cached) $ECHO_C" >&6
7799 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
7802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7806 test -z "$as_dir" && as_dir=.
7807 for ac_exec_ext in '' $ac_executable_extensions; do
7808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7809 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
7810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7820 MSGMERGE=$ac_cv_path_MSGMERGE
7821 if test -n "$MSGMERGE"; then
7822 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
7823 echo "${ECHO_T}$MSGMERGE" >&6; }
7825 { echo "$as_me:$LINENO: result: no" >&5
7826 echo "${ECHO_T}no" >&6; }
7830 # Extract the first word of "msgfmt", so it can be a program name with args.
7831 set dummy msgfmt; ac_word=$2
7832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7834 if test "${ac_cv_path_MSGFMT+set}" = set; then
7835 echo $ECHO_N "(cached) $ECHO_C" >&6
7839 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7846 test -z "$as_dir" && as_dir=.
7847 for ac_exec_ext in '' $ac_executable_extensions; do
7848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7849 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
7850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7860 MSGFMT=$ac_cv_path_MSGFMT
7861 if test -n "$MSGFMT"; then
7862 { echo "$as_me:$LINENO: result: $MSGFMT" >&5
7863 echo "${ECHO_T}$MSGFMT" >&6; }
7865 { echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6; }
7870 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
7871 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
7872 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
7873 { (exit 1); exit 1; }; }
7875 xgversion="`$XGETTEXT --version|
grep '(GNU ' 2> /dev
/null
`"
7876 mmversion="`$MSGMERGE --version|
grep '(GNU ' 2> /dev
/null
`"
7877 mfversion="`$MSGFMT --version|
grep '(GNU ' 2> /dev
/null
`"
7878 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
7879 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
7880 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
7881 { (exit 1); exit 1; }; }
7884 # Use the tools built into the package, not the ones that are installed.
7885 INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
7887 INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
7889 INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
7892 # Extract the first word of "perl", so it can be a program name with args.
7893 set dummy perl; ac_word=$2
7894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7896 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
7897 echo $ECHO_N "(cached) $ECHO_C" >&6
7899 case $INTLTOOL_PERL in
7901 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7908 test -z "$as_dir" && as_dir=.
7909 for ac_exec_ext in '' $ac_executable_extensions; do
7910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7911 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
7912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7922 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
7923 if test -n "$INTLTOOL_PERL"; then
7924 { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
7925 echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
7927 { echo "$as_me:$LINENO: result: no" >&5
7928 echo "${ECHO_T}no" >&6; }
7932 if test -z "$INTLTOOL_PERL"; then
7933 { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
7934 echo "$as_me: error: perl not found; required for intltool" >&2;}
7935 { (exit 1); exit 1; }; }
7937 if test -z "`$INTLTOOL_PERL -v | fgrep
'5.' 2> /dev
/null
`"; then
7938 { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
7939 echo "$as_me: error: perl 5.x required for intltool" >&2;}
7940 { (exit 1); exit 1; }; }
7942 if test "x" != "xno-xml"; then
7943 { echo "$as_me:$LINENO: checking for XML::Parser" >&5
7944 echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
7945 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev
/null
`; then
7946 { echo "$as_me:$LINENO: result: ok" >&5
7947 echo "${ECHO_T}ok" >&6; }
7949 { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
7950 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
7951 { (exit 1); exit 1; }; }
7955 # Substitute ALL_LINGUAS so we can use it in po/Makefile
7958 # Set DATADIRNAME correctly if it is not set yet
7959 # (copied from glib-gettext.m4)
7960 if test -z "$DATADIRNAME"; then
7961 cat >conftest.$ac_ext <<_ACEOF
7964 cat confdefs.h >>conftest.$ac_ext
7965 cat >>conftest.$ac_ext <<_ACEOF
7966 /* end confdefs.h. */
7971 extern int _nl_msg_cat_cntr;
7972 return _nl_msg_cat_cntr
7977 rm -f conftest.$ac_objext conftest$ac_exeext
7978 if { (ac_try="$ac_link"
7980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7981 *) ac_try_echo
=$ac_try;;
7983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7984 (eval "$ac_link") 2>conftest.er1
7986 grep -v '^ *+' conftest.er1
>conftest.err
7988 cat conftest.err
>&5
7989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7990 (exit $ac_status); } && {
7991 test -z "$ac_c_werror_flag" ||
7992 test ! -s conftest.err
7993 } && test -s conftest
$ac_exeext &&
7994 $as_test_x conftest
$ac_exeext; then
7997 echo "$as_me: failed program was:" >&5
7998 sed 's/^/| /' conftest.
$ac_ext >&5
8002 { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
8003 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
8004 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
8005 echo $ECHO_N "(cached) $ECHO_C" >&6
8007 cat >conftest.
$ac_ext <<_ACEOF
8010 cat confdefs.h
>>conftest.
$ac_ext
8011 cat >>conftest.
$ac_ext <<_ACEOF
8012 /* end confdefs.h. */
8013 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
8014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8015 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
8017 /* System header to define __stub macros and hopefully few prototypes,
8018 which can conflict with char bind_textdomain_codeset (); below.
8019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8020 <limits.h> exists even on freestanding compilers. */
8023 # include <limits.h>
8025 # include <assert.h>
8028 #undef bind_textdomain_codeset
8030 /* Override any GCC internal prototype to avoid an error.
8031 Use char because int might match the return type of a GCC
8032 builtin and then its argument prototype would still apply. */
8036 char bind_textdomain_codeset ();
8037 /* The GNU C library defines this for functions which it implements
8038 to always fail with ENOSYS. Some functions are actually named
8039 something starting with __ and the normal name is an alias. */
8040 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
8047 return bind_textdomain_codeset ();
8052 rm -f conftest.
$ac_objext conftest
$ac_exeext
8053 if { (ac_try
="$ac_link"
8055 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8056 *) ac_try_echo=$ac_try;;
8058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8059 (eval "$ac_link") 2>conftest.er1
8061 grep -v '^ *+' conftest.er1 >conftest.err
8063 cat conftest.err >&5
8064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065 (exit $ac_status); } && {
8066 test -z "$ac_c_werror_flag" ||
8067 test ! -s conftest.err
8068 } && test -s conftest$ac_exeext &&
8069 $as_test_x conftest$ac_exeext; then
8070 ac_cv_func_bind_textdomain_codeset=yes
8072 echo "$as_me: failed program was:" >&5
8073 sed 's/^/| /' conftest.$ac_ext >&5
8075 ac_cv_func_bind_textdomain_codeset=no
8078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8079 conftest$ac_exeext conftest.$ac_ext
8081 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
8082 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
8083 if test $ac_cv_func_bind_textdomain_codeset = yes; then
8096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8097 conftest$ac_exeext conftest.$ac_ext
8104 ac_config_commands="$ac_config_commands intltool"
8111 { echo "$as_me:$LINENO: checking for g_malloc0 in -lglib-2.0" >&5
8112 echo $ECHO_N "checking for g_malloc0 in -lglib-2.0... $ECHO_C" >&6; }
8113 if test "${ac_cv_lib_glib_2_0_g_malloc0+set}" = set; then
8114 echo $ECHO_N "(cached) $ECHO_C" >&6
8116 ac_check_lib_save_LIBS=$LIBS
8117 LIBS="-lglib-2.0 $LIBS"
8118 cat >conftest.$ac_ext <<_ACEOF
8121 cat confdefs.h >>conftest.$ac_ext
8122 cat >>conftest.$ac_ext <<_ACEOF
8123 /* end confdefs.h. */
8125 /* Override any GCC internal prototype to avoid an error.
8126 Use char because int might match the return type of a GCC
8127 builtin and then its argument prototype would still apply. */
8135 return g_malloc0 ();
8140 rm -f conftest.$ac_objext conftest$ac_exeext
8141 if { (ac_try="$ac_link"
8143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8144 *) ac_try_echo
=$ac_try;;
8146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8147 (eval "$ac_link") 2>conftest.er1
8149 grep -v '^ *+' conftest.er1
>conftest.err
8151 cat conftest.err
>&5
8152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8153 (exit $ac_status); } && {
8154 test -z "$ac_c_werror_flag" ||
8155 test ! -s conftest.err
8156 } && test -s conftest
$ac_exeext &&
8157 $as_test_x conftest
$ac_exeext; then
8158 ac_cv_lib_glib_2_0_g_malloc0
=yes
8160 echo "$as_me: failed program was:" >&5
8161 sed 's/^/| /' conftest.
$ac_ext >&5
8163 ac_cv_lib_glib_2_0_g_malloc0
=no
8166 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8167 conftest
$ac_exeext conftest.
$ac_ext
8168 LIBS
=$ac_check_lib_save_LIBS
8170 { echo "$as_me:$LINENO: result: $ac_cv_lib_glib_2_0_g_malloc0" >&5
8171 echo "${ECHO_T}$ac_cv_lib_glib_2_0_g_malloc0" >&6; }
8172 if test $ac_cv_lib_glib_2_0_g_malloc0 = yes; then
8173 cat >>confdefs.h
<<_ACEOF
8174 #define HAVE_LIBGLIB_2_0 1
8177 LIBS
="-lglib-2.0 $LIBS"
8180 { { echo "$as_me:$LINENO: error: \"libglib not installed\"" >&5
8181 echo "$as_me: error: \"libglib not installed\"" >&2;}
8182 { (exit 1); exit 1; }; }
8189 { echo "$as_me:$LINENO: checking for fftw_plan_dft_r2c_2d in -lfftw3" >&5
8190 echo $ECHO_N "checking for fftw_plan_dft_r2c_2d in -lfftw3... $ECHO_C" >&6; }
8191 if test "${ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d+set}" = set; then
8192 echo $ECHO_N "(cached) $ECHO_C" >&6
8194 ac_check_lib_save_LIBS
=$LIBS
8195 LIBS
="-lfftw3 $LIBS"
8196 cat >conftest.
$ac_ext <<_ACEOF
8199 cat confdefs.h
>>conftest.
$ac_ext
8200 cat >>conftest.
$ac_ext <<_ACEOF
8201 /* end confdefs.h. */
8203 /* Override any GCC internal prototype to avoid an error.
8204 Use char because int might match the return type of a GCC
8205 builtin and then its argument prototype would still apply. */
8209 char fftw_plan_dft_r2c_2d ();
8213 return fftw_plan_dft_r2c_2d ();
8218 rm -f conftest.
$ac_objext conftest
$ac_exeext
8219 if { (ac_try
="$ac_link"
8221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8222 *) ac_try_echo=$ac_try;;
8224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8225 (eval "$ac_link") 2>conftest.er1
8227 grep -v '^ *+' conftest.er1 >conftest.err
8229 cat conftest.err >&5
8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231 (exit $ac_status); } && {
8232 test -z "$ac_c_werror_flag" ||
8233 test ! -s conftest.err
8234 } && test -s conftest$ac_exeext &&
8235 $as_test_x conftest$ac_exeext; then
8236 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d=yes
8238 echo "$as_me: failed program was:" >&5
8239 sed 's/^/| /' conftest.$ac_ext >&5
8241 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d=no
8244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8245 conftest$ac_exeext conftest.$ac_ext
8246 LIBS=$ac_check_lib_save_LIBS
8248 { echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&5
8249 echo "${ECHO_T}$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&6; }
8250 if test $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d = yes; then
8251 cat >>confdefs.h <<_ACEOF
8252 #define HAVE_LIBFFTW3 1
8255 LIBS="-lfftw3 $LIBS"
8258 { { echo "$as_me:$LINENO: error: \"libfftw3 not installed\"" >&5
8259 echo "$as_me: error: \"libfftw3 not installed\"" >&2;}
8260 { (exit 1); exit 1; }; }
8265 { echo "$as_me:$LINENO: checking for main in -lgslcblas" >&5
8266 echo $ECHO_N "checking for main in -lgslcblas... $ECHO_C" >&6; }
8267 if test "${ac_cv_lib_gslcblas_main+set}" = set; then
8268 echo $ECHO_N "(cached) $ECHO_C" >&6
8270 ac_check_lib_save_LIBS=$LIBS
8271 LIBS="-lgslcblas $LIBS"
8272 cat >conftest.$ac_ext <<_ACEOF
8275 cat confdefs.h >>conftest.$ac_ext
8276 cat >>conftest.$ac_ext <<_ACEOF
8277 /* end confdefs.h. */
8288 rm -f conftest.$ac_objext conftest$ac_exeext
8289 if { (ac_try="$ac_link"
8291 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8292 *) ac_try_echo
=$ac_try;;
8294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8295 (eval "$ac_link") 2>conftest.er1
8297 grep -v '^ *+' conftest.er1
>conftest.err
8299 cat conftest.err
>&5
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); } && {
8302 test -z "$ac_c_werror_flag" ||
8303 test ! -s conftest.err
8304 } && test -s conftest
$ac_exeext &&
8305 $as_test_x conftest
$ac_exeext; then
8306 ac_cv_lib_gslcblas_main
=yes
8308 echo "$as_me: failed program was:" >&5
8309 sed 's/^/| /' conftest.
$ac_ext >&5
8311 ac_cv_lib_gslcblas_main
=no
8314 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8315 conftest
$ac_exeext conftest.
$ac_ext
8316 LIBS
=$ac_check_lib_save_LIBS
8318 { echo "$as_me:$LINENO: result: $ac_cv_lib_gslcblas_main" >&5
8319 echo "${ECHO_T}$ac_cv_lib_gslcblas_main" >&6; }
8320 if test $ac_cv_lib_gslcblas_main = yes; then
8321 cat >>confdefs.h
<<_ACEOF
8322 #define HAVE_LIBGSLCBLAS 1
8325 LIBS
="-lgslcblas $LIBS"
8328 { { echo "$as_me:$LINENO: error: \"libgslcblas not installed\"" >&5
8329 echo "$as_me: error: \"libgslcblas not installed\"" >&2;}
8330 { (exit 1); exit 1; }; }
8335 { echo "$as_me:$LINENO: checking for main in -lgsl" >&5
8336 echo $ECHO_N "checking for main in -lgsl... $ECHO_C" >&6; }
8337 if test "${ac_cv_lib_gsl_main+set}" = set; then
8338 echo $ECHO_N "(cached) $ECHO_C" >&6
8340 ac_check_lib_save_LIBS
=$LIBS
8342 cat >conftest.
$ac_ext <<_ACEOF
8345 cat confdefs.h
>>conftest.
$ac_ext
8346 cat >>conftest.
$ac_ext <<_ACEOF
8347 /* end confdefs.h. */
8358 rm -f conftest.
$ac_objext conftest
$ac_exeext
8359 if { (ac_try
="$ac_link"
8361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8362 *) ac_try_echo=$ac_try;;
8364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8365 (eval "$ac_link") 2>conftest.er1
8367 grep -v '^ *+' conftest.er1 >conftest.err
8369 cat conftest.err >&5
8370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371 (exit $ac_status); } && {
8372 test -z "$ac_c_werror_flag" ||
8373 test ! -s conftest.err
8374 } && test -s conftest$ac_exeext &&
8375 $as_test_x conftest$ac_exeext; then
8376 ac_cv_lib_gsl_main=yes
8378 echo "$as_me: failed program was:" >&5
8379 sed 's/^/| /' conftest.$ac_ext >&5
8381 ac_cv_lib_gsl_main=no
8384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8385 conftest$ac_exeext conftest.$ac_ext
8386 LIBS=$ac_check_lib_save_LIBS
8388 { echo "$as_me:$LINENO: result: $ac_cv_lib_gsl_main" >&5
8389 echo "${ECHO_T}$ac_cv_lib_gsl_main" >&6; }
8390 if test $ac_cv_lib_gsl_main = yes; then
8391 cat >>confdefs.h <<_ACEOF
8392 #define HAVE_LIBGSL 1
8398 { { echo "$as_me:$LINENO: error: \"libgsl not installed\"" >&5
8399 echo "$as_me: error: \"libgsl not installed\"" >&2;}
8400 { (exit 1); exit 1; }; }
8406 { echo "$as_me:$LINENO: checking for gpiv_piv_interrogate_ia in -lgpiv" >&5
8407 echo $ECHO_N "checking for gpiv_piv_interrogate_ia in -lgpiv... $ECHO_C" >&6; }
8408 if test "${ac_cv_lib_gpiv_gpiv_piv_interrogate_ia+set}" = set; then
8409 echo $ECHO_N "(cached) $ECHO_C" >&6
8411 ac_check_lib_save_LIBS=$LIBS
8413 cat >conftest.$ac_ext <<_ACEOF
8416 cat confdefs.h >>conftest.$ac_ext
8417 cat >>conftest.$ac_ext <<_ACEOF
8418 /* end confdefs.h. */
8420 /* Override any GCC internal prototype to avoid an error.
8421 Use char because int might match the return type of a GCC
8422 builtin and then its argument prototype would still apply. */
8426 char gpiv_piv_interrogate_ia ();
8430 return gpiv_piv_interrogate_ia ();
8435 rm -f conftest.$ac_objext conftest$ac_exeext
8436 if { (ac_try="$ac_link"
8438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8439 *) ac_try_echo
=$ac_try;;
8441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8442 (eval "$ac_link") 2>conftest.er1
8444 grep -v '^ *+' conftest.er1
>conftest.err
8446 cat conftest.err
>&5
8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448 (exit $ac_status); } && {
8449 test -z "$ac_c_werror_flag" ||
8450 test ! -s conftest.err
8451 } && test -s conftest
$ac_exeext &&
8452 $as_test_x conftest
$ac_exeext; then
8453 ac_cv_lib_gpiv_gpiv_piv_interrogate_ia
=yes
8455 echo "$as_me: failed program was:" >&5
8456 sed 's/^/| /' conftest.
$ac_ext >&5
8458 ac_cv_lib_gpiv_gpiv_piv_interrogate_ia
=no
8461 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8462 conftest
$ac_exeext conftest.
$ac_ext
8463 LIBS
=$ac_check_lib_save_LIBS
8465 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_piv_interrogate_ia" >&5
8466 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_piv_interrogate_ia" >&6; }
8467 if test $ac_cv_lib_gpiv_gpiv_piv_interrogate_ia = yes; then
8468 cat >>confdefs.h
<<_ACEOF
8469 #define HAVE_LIBGPIV 1
8475 { { echo "$as_me:$LINENO: error: libgpiv has not been installed" >&5
8476 echo "$as_me: error: libgpiv has not been installed" >&2;}
8477 { (exit 1); exit 1; }; }
8481 { echo "$as_me:$LINENO: checking for gpiv_scan_resourcefiles in -lgpiv" >&5
8482 echo $ECHO_N "checking for gpiv_scan_resourcefiles in -lgpiv... $ECHO_C" >&6; }
8483 if test "${ac_cv_lib_gpiv_gpiv_scan_resourcefiles+set}" = set; then
8484 echo $ECHO_N "(cached) $ECHO_C" >&6
8486 ac_check_lib_save_LIBS
=$LIBS
8488 cat >conftest.
$ac_ext <<_ACEOF
8491 cat confdefs.h
>>conftest.
$ac_ext
8492 cat >>conftest.
$ac_ext <<_ACEOF
8493 /* end confdefs.h. */
8495 /* Override any GCC internal prototype to avoid an error.
8496 Use char because int might match the return type of a GCC
8497 builtin and then its argument prototype would still apply. */
8501 char gpiv_scan_resourcefiles ();
8505 return gpiv_scan_resourcefiles ();
8510 rm -f conftest.
$ac_objext conftest
$ac_exeext
8511 if { (ac_try
="$ac_link"
8513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8514 *) ac_try_echo=$ac_try;;
8516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8517 (eval "$ac_link") 2>conftest.er1
8519 grep -v '^ *+' conftest.er1 >conftest.err
8521 cat conftest.err >&5
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); } && {
8524 test -z "$ac_c_werror_flag" ||
8525 test ! -s conftest.err
8526 } && test -s conftest$ac_exeext &&
8527 $as_test_x conftest$ac_exeext; then
8528 ac_cv_lib_gpiv_gpiv_scan_resourcefiles=yes
8530 echo "$as_me: failed program was:" >&5
8531 sed 's/^/| /' conftest.$ac_ext >&5
8533 ac_cv_lib_gpiv_gpiv_scan_resourcefiles=no
8536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8537 conftest$ac_exeext conftest.$ac_ext
8538 LIBS=$ac_check_lib_save_LIBS
8540 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_scan_resourcefiles" >&5
8541 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_scan_resourcefiles" >&6; }
8542 if test $ac_cv_lib_gpiv_gpiv_scan_resourcefiles = yes; then
8543 cat >>confdefs.h <<_ACEOF
8544 #define HAVE_LIBGPIV 1
8550 { { echo "$as_me:$LINENO: error: libgpiv has not been installed" >&5
8551 echo "$as_me: error: libgpiv has not been installed" >&2;}
8552 { (exit 1); exit 1; }; }
8561 for ac_header in stdlib.h string.h unistd.h fftw3.h gpiv.h
8563 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8564 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8565 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8567 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8568 echo $ECHO_N "(cached) $ECHO_C" >&6
8570 ac_res=`eval echo '${'$as_ac_Header'}'`
8571 { echo "$as_me:$LINENO: result: $ac_res" >&5
8572 echo "${ECHO_T}$ac_res" >&6; }
8574 # Is the header compilable?
8575 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8576 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8577 cat >conftest.$ac_ext <<_ACEOF
8580 cat confdefs.h >>conftest.$ac_ext
8581 cat >>conftest.$ac_ext <<_ACEOF
8582 /* end confdefs.h. */
8583 $ac_includes_default
8584 #include <$ac_header>
8586 rm -f conftest.$ac_objext
8587 if { (ac_try="$ac_compile"
8589 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8590 *) ac_try_echo
=$ac_try;;
8592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8593 (eval "$ac_compile") 2>conftest.er1
8595 grep -v '^ *+' conftest.er1
>conftest.err
8597 cat conftest.err
>&5
8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 (exit $ac_status); } && {
8600 test -z "$ac_c_werror_flag" ||
8601 test ! -s conftest.err
8602 } && test -s conftest.
$ac_objext; then
8603 ac_header_compiler
=yes
8605 echo "$as_me: failed program was:" >&5
8606 sed 's/^/| /' conftest.
$ac_ext >&5
8608 ac_header_compiler
=no
8611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8612 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8613 echo "${ECHO_T}$ac_header_compiler" >&6; }
8615 # Is the header present?
8616 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8617 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8618 cat >conftest.
$ac_ext <<_ACEOF
8621 cat confdefs.h
>>conftest.
$ac_ext
8622 cat >>conftest.
$ac_ext <<_ACEOF
8623 /* end confdefs.h. */
8624 #include <$ac_header>
8626 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8629 *) ac_try_echo=$ac_try;;
8631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8632 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8634 grep -v '^ *+' conftest.er1 >conftest.err
8636 cat conftest.err >&5
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 (exit $ac_status); } >/dev/null && {
8639 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8640 test ! -s conftest.err
8642 ac_header_preproc=yes
8644 echo "$as_me: failed program was:" >&5
8645 sed 's/^/| /' conftest.$ac_ext >&5
8647 ac_header_preproc=no
8650 rm -f conftest.err conftest.$ac_ext
8651 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8652 echo "${ECHO_T}$ac_header_preproc" >&6; }
8654 # So? What about this header?
8655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8657 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8658 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8660 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8661 ac_header_preproc=yes
8664 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8665 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8666 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8667 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8668 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8669 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8670 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8671 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8673 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8674 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8675 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8677 ## ------------------------------------------------------------------- ##
8678 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
8679 ## ------------------------------------------------------------------- ##
8681 ) | sed "s/^/$as_me: WARNING: /" >&2
8684 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8686 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8687 echo $ECHO_N "(cached) $ECHO_C" >&6
8689 eval "$as_ac_Header=\$ac_header_preproc"
8691 ac_res=`eval echo '${'$as_ac_Header'}'`
8692 { echo "$as_me:$LINENO: result: $ac_res" >&5
8693 echo "${ECHO_T}$ac_res" >&6; }
8696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8697 cat >>confdefs.h <<_ACEOF
8698 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8706 # Check whether --enable-cam was given.
8707 if test "${enable_cam+set}" = set; then
8708 enableval=$enable_cam; ENABLE_CAM="-DENABLE_CAM"
8715 # Check whether --enable-trig was given.
8716 if test "${enable_trig+set}" = set; then
8717 enableval=$enable_trig; ENABLE_TRIG="-DENABLE_TRIG"
8724 if test $ENABLE_CAM || test $ENABLE_TRIG; then
8725 ENABLE_DAC="-DENABLE_DAC"
8729 if test "${ENABLE_CAM}" == '-DENABLE_CAM'; then
8731 { echo "$as_me:$LINENO: checking for gpiv_cam_get_camvar in -lgpiv" >&5
8732 echo $ECHO_N "checking for gpiv_cam_get_camvar in -lgpiv... $ECHO_C" >&6; }
8733 if test "${ac_cv_lib_gpiv_gpiv_cam_get_camvar+set}" = set; then
8734 echo $ECHO_N "(cached) $ECHO_C" >&6
8736 ac_check_lib_save_LIBS=$LIBS
8738 cat >conftest.$ac_ext <<_ACEOF
8741 cat confdefs.h >>conftest.$ac_ext
8742 cat >>conftest.$ac_ext <<_ACEOF
8743 /* end confdefs.h. */
8745 /* Override any GCC internal prototype to avoid an error.
8746 Use char because int might match the return type of a GCC
8747 builtin and then its argument prototype would still apply. */
8751 char gpiv_cam_get_camvar ();
8755 return gpiv_cam_get_camvar ();
8760 rm -f conftest.$ac_objext conftest$ac_exeext
8761 if { (ac_try="$ac_link"
8763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8764 *) ac_try_echo
=$ac_try;;
8766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8767 (eval "$ac_link") 2>conftest.er1
8769 grep -v '^ *+' conftest.er1
>conftest.err
8771 cat conftest.err
>&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); } && {
8774 test -z "$ac_c_werror_flag" ||
8775 test ! -s conftest.err
8776 } && test -s conftest
$ac_exeext &&
8777 $as_test_x conftest
$ac_exeext; then
8778 ac_cv_lib_gpiv_gpiv_cam_get_camvar
=yes
8780 echo "$as_me: failed program was:" >&5
8781 sed 's/^/| /' conftest.
$ac_ext >&5
8783 ac_cv_lib_gpiv_gpiv_cam_get_camvar
=no
8786 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8787 conftest
$ac_exeext conftest.
$ac_ext
8788 LIBS
=$ac_check_lib_save_LIBS
8790 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&5
8791 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&6; }
8792 if test $ac_cv_lib_gpiv_gpiv_cam_get_camvar = yes; then
8793 cat >>confdefs.h
<<_ACEOF
8794 #define HAVE_LIBGPIV 1
8800 { { echo "$as_me:$LINENO: error: \"(IEEE-1394) camera is not working in libgpiv. \
8801 Enable (IEEE-1394) camera in libgpiv or disable it here by leaving out --enable-cam during ./configure\"" >&5
8802 echo "$as_me: error: \"(IEEE-1394) camera is not working in libgpiv. \
8803 Enable (IEEE-1394) camera in libgpiv or disable it here by leaving out --enable-cam during ./configure\"" >&2;}
8804 { (exit 1); exit 1; }; }
8809 { echo "$as_me:$LINENO: checking for raw1394_destroy_handle in -lraw1394" >&5
8810 echo $ECHO_N "checking for raw1394_destroy_handle in -lraw1394... $ECHO_C" >&6; }
8811 if test "${ac_cv_lib_raw1394_raw1394_destroy_handle+set}" = set; then
8812 echo $ECHO_N "(cached) $ECHO_C" >&6
8814 ac_check_lib_save_LIBS
=$LIBS
8815 LIBS
="-lraw1394 $LIBS"
8816 cat >conftest.
$ac_ext <<_ACEOF
8819 cat confdefs.h
>>conftest.
$ac_ext
8820 cat >>conftest.
$ac_ext <<_ACEOF
8821 /* end confdefs.h. */
8823 /* Override any GCC internal prototype to avoid an error.
8824 Use char because int might match the return type of a GCC
8825 builtin and then its argument prototype would still apply. */
8829 char raw1394_destroy_handle ();
8833 return raw1394_destroy_handle ();
8838 rm -f conftest.
$ac_objext conftest
$ac_exeext
8839 if { (ac_try
="$ac_link"
8841 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8842 *) ac_try_echo=$ac_try;;
8844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8845 (eval "$ac_link") 2>conftest.er1
8847 grep -v '^ *+' conftest.er1 >conftest.err
8849 cat conftest.err >&5
8850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851 (exit $ac_status); } && {
8852 test -z "$ac_c_werror_flag" ||
8853 test ! -s conftest.err
8854 } && test -s conftest$ac_exeext &&
8855 $as_test_x conftest$ac_exeext; then
8856 ac_cv_lib_raw1394_raw1394_destroy_handle=yes
8858 echo "$as_me: failed program was:" >&5
8859 sed 's/^/| /' conftest.$ac_ext >&5
8861 ac_cv_lib_raw1394_raw1394_destroy_handle=no
8864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8865 conftest$ac_exeext conftest.$ac_ext
8866 LIBS=$ac_check_lib_save_LIBS
8868 { echo "$as_me:$LINENO: result: $ac_cv_lib_raw1394_raw1394_destroy_handle" >&5
8869 echo "${ECHO_T}$ac_cv_lib_raw1394_raw1394_destroy_handle" >&6; }
8870 if test $ac_cv_lib_raw1394_raw1394_destroy_handle = yes; then
8871 cat >>confdefs.h <<_ACEOF
8872 #define HAVE_LIBRAW1394 1
8875 LIBS="-lraw1394 $LIBS"
8878 { { echo "$as_me:$LINENO: error: \"libraw1394 not installed\"" >&5
8879 echo "$as_me: error: \"libraw1394 not installed\"" >&2;}
8880 { (exit 1); exit 1; }; }
8885 { echo "$as_me:$LINENO: checking for dc1394_create_handle in -ldc1394_control" >&5
8886 echo $ECHO_N "checking for dc1394_create_handle in -ldc1394_control... $ECHO_C" >&6; }
8887 if test "${ac_cv_lib_dc1394_control_dc1394_create_handle+set}" = set; then
8888 echo $ECHO_N "(cached) $ECHO_C" >&6
8890 ac_check_lib_save_LIBS=$LIBS
8891 LIBS="-ldc1394_control $LIBS"
8892 cat >conftest.$ac_ext <<_ACEOF
8895 cat confdefs.h >>conftest.$ac_ext
8896 cat >>conftest.$ac_ext <<_ACEOF
8897 /* end confdefs.h. */
8899 /* Override any GCC internal prototype to avoid an error.
8900 Use char because int might match the return type of a GCC
8901 builtin and then its argument prototype would still apply. */
8905 char dc1394_create_handle ();
8909 return dc1394_create_handle ();
8914 rm -f conftest.$ac_objext conftest$ac_exeext
8915 if { (ac_try="$ac_link"
8917 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8918 *) ac_try_echo
=$ac_try;;
8920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8921 (eval "$ac_link") 2>conftest.er1
8923 grep -v '^ *+' conftest.er1
>conftest.err
8925 cat conftest.err
>&5
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8927 (exit $ac_status); } && {
8928 test -z "$ac_c_werror_flag" ||
8929 test ! -s conftest.err
8930 } && test -s conftest
$ac_exeext &&
8931 $as_test_x conftest
$ac_exeext; then
8932 ac_cv_lib_dc1394_control_dc1394_create_handle
=yes
8934 echo "$as_me: failed program was:" >&5
8935 sed 's/^/| /' conftest.
$ac_ext >&5
8937 ac_cv_lib_dc1394_control_dc1394_create_handle
=no
8940 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8941 conftest
$ac_exeext conftest.
$ac_ext
8942 LIBS
=$ac_check_lib_save_LIBS
8944 { echo "$as_me:$LINENO: result: $ac_cv_lib_dc1394_control_dc1394_create_handle" >&5
8945 echo "${ECHO_T}$ac_cv_lib_dc1394_control_dc1394_create_handle" >&6; }
8946 if test $ac_cv_lib_dc1394_control_dc1394_create_handle = yes; then
8947 cat >>confdefs.h
<<_ACEOF
8948 #define HAVE_LIBDC1394_CONTROL 1
8951 LIBS
="-ldc1394_control $LIBS"
8954 { { echo "$as_me:$LINENO: error: \"libdc1394_control not installed\"" >&5
8955 echo "$as_me: error: \"libdc1394_control not installed\"" >&2;}
8956 { (exit 1); exit 1; }; }
8960 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
8961 { echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
8962 echo $ECHO_N "checking for libdc1394/dc1394_control.h... $ECHO_C" >&6; }
8963 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
8964 echo $ECHO_N "(cached) $ECHO_C" >&6
8966 { echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
8967 echo "${ECHO_T}$ac_cv_header_libdc1394_dc1394_control_h" >&6; }
8969 # Is the header compilable?
8970 { echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h usability" >&5
8971 echo $ECHO_N "checking libdc1394/dc1394_control.h usability... $ECHO_C" >&6; }
8972 cat >conftest.
$ac_ext <<_ACEOF
8975 cat confdefs.h
>>conftest.
$ac_ext
8976 cat >>conftest.
$ac_ext <<_ACEOF
8977 /* end confdefs.h. */
8978 $ac_includes_default
8979 #include <libdc1394/dc1394_control.h>
8981 rm -f conftest.
$ac_objext
8982 if { (ac_try
="$ac_compile"
8984 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8985 *) ac_try_echo=$ac_try;;
8987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8988 (eval "$ac_compile") 2>conftest.er1
8990 grep -v '^ *+' conftest.er1 >conftest.err
8992 cat conftest.err >&5
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); } && {
8995 test -z "$ac_c_werror_flag" ||
8996 test ! -s conftest.err
8997 } && test -s conftest.$ac_objext; then
8998 ac_header_compiler=yes
9000 echo "$as_me: failed program was:" >&5
9001 sed 's/^/| /' conftest.$ac_ext >&5
9003 ac_header_compiler=no
9006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9007 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9008 echo "${ECHO_T}$ac_header_compiler" >&6; }
9010 # Is the header present?
9011 { echo "$as_me:$LINENO: checking libdc1394/dc1394_control.h presence" >&5
9012 echo $ECHO_N "checking libdc1394/dc1394_control.h presence... $ECHO_C" >&6; }
9013 cat >conftest.$ac_ext <<_ACEOF
9016 cat confdefs.h >>conftest.$ac_ext
9017 cat >>conftest.$ac_ext <<_ACEOF
9018 /* end confdefs.h. */
9019 #include <libdc1394/dc1394_control.h>
9021 if { (ac_try="$ac_cpp conftest.$ac_ext"
9023 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9024 *) ac_try_echo
=$ac_try;;
9026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9027 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9029 grep -v '^ *+' conftest.er1
>conftest.err
9031 cat conftest.err
>&5
9032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033 (exit $ac_status); } >/dev
/null
&& {
9034 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9035 test ! -s conftest.err
9037 ac_header_preproc
=yes
9039 echo "$as_me: failed program was:" >&5
9040 sed 's/^/| /' conftest.
$ac_ext >&5
9042 ac_header_preproc
=no
9045 rm -f conftest.err conftest.
$ac_ext
9046 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9047 echo "${ECHO_T}$ac_header_preproc" >&6; }
9049 # So? What about this header?
9050 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9052 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&5
9053 echo "$as_me: WARNING: libdc1394/dc1394_control.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9054 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&5
9055 echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the compiler's result" >&2;}
9056 ac_header_preproc
=yes
9059 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&5
9060 echo "$as_me: WARNING: libdc1394/dc1394_control.h: present but cannot be compiled" >&2;}
9061 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&5
9062 echo "$as_me: WARNING: libdc1394/dc1394_control.h: check for missing prerequisite headers?" >&2;}
9063 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&5
9064 echo "$as_me: WARNING: libdc1394/dc1394_control.h: see the Autoconf documentation" >&2;}
9065 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&5
9066 echo "$as_me: WARNING: libdc1394/dc1394_control.h: section \"Present But Cannot Be Compiled\"" >&2;}
9067 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&5
9068 echo "$as_me: WARNING: libdc1394/dc1394_control.h: proceeding with the preprocessor's result" >&2;}
9069 { echo "$as_me:$LINENO: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&5
9070 echo "$as_me: WARNING: libdc1394/dc1394_control.h: in the future, the compiler will take precedence" >&2;}
9072 ## ------------------------------------------------------------------- ##
9073 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
9074 ## ------------------------------------------------------------------- ##
9076 ) |
sed "s/^/$as_me: WARNING: /" >&2
9079 { echo "$as_me:$LINENO: checking for libdc1394/dc1394_control.h" >&5
9080 echo $ECHO_N "checking for libdc1394/dc1394_control.h... $ECHO_C" >&6; }
9081 if test "${ac_cv_header_libdc1394_dc1394_control_h+set}" = set; then
9082 echo $ECHO_N "(cached) $ECHO_C" >&6
9084 ac_cv_header_libdc1394_dc1394_control_h
=$ac_header_preproc
9086 { echo "$as_me:$LINENO: result: $ac_cv_header_libdc1394_dc1394_control_h" >&5
9087 echo "${ECHO_T}$ac_cv_header_libdc1394_dc1394_control_h" >&6; }
9090 if test $ac_cv_header_libdc1394_dc1394_control_h = yes; then
9093 { { echo "$as_me:$LINENO: error: \"missing dc1394_control.h\"" >&5
9094 echo "$as_me: error: \"missing dc1394_control.h\"" >&2;}
9095 { (exit 1); exit 1; }; }
9100 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9101 { echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
9102 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6; }
9103 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9104 echo $ECHO_N "(cached) $ECHO_C" >&6
9106 { echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
9107 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6; }
9109 # Is the header compilable?
9110 { echo "$as_me:$LINENO: checking libraw1394/raw1394.h usability" >&5
9111 echo $ECHO_N "checking libraw1394/raw1394.h usability... $ECHO_C" >&6; }
9112 cat >conftest.
$ac_ext <<_ACEOF
9115 cat confdefs.h
>>conftest.
$ac_ext
9116 cat >>conftest.
$ac_ext <<_ACEOF
9117 /* end confdefs.h. */
9118 $ac_includes_default
9119 #include <libraw1394/raw1394.h>
9121 rm -f conftest.
$ac_objext
9122 if { (ac_try
="$ac_compile"
9124 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9125 *) ac_try_echo=$ac_try;;
9127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9128 (eval "$ac_compile") 2>conftest.er1
9130 grep -v '^ *+' conftest.er1 >conftest.err
9132 cat conftest.err >&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); } && {
9135 test -z "$ac_c_werror_flag" ||
9136 test ! -s conftest.err
9137 } && test -s conftest.$ac_objext; then
9138 ac_header_compiler=yes
9140 echo "$as_me: failed program was:" >&5
9141 sed 's/^/| /' conftest.$ac_ext >&5
9143 ac_header_compiler=no
9146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9147 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9148 echo "${ECHO_T}$ac_header_compiler" >&6; }
9150 # Is the header present?
9151 { echo "$as_me:$LINENO: checking libraw1394/raw1394.h presence" >&5
9152 echo $ECHO_N "checking libraw1394/raw1394.h presence... $ECHO_C" >&6; }
9153 cat >conftest.$ac_ext <<_ACEOF
9156 cat confdefs.h >>conftest.$ac_ext
9157 cat >>conftest.$ac_ext <<_ACEOF
9158 /* end confdefs.h. */
9159 #include <libraw1394/raw1394.h>
9161 if { (ac_try="$ac_cpp conftest.$ac_ext"
9163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9164 *) ac_try_echo
=$ac_try;;
9166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9167 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9169 grep -v '^ *+' conftest.er1
>conftest.err
9171 cat conftest.err
>&5
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); } >/dev
/null
&& {
9174 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9175 test ! -s conftest.err
9177 ac_header_preproc
=yes
9179 echo "$as_me: failed program was:" >&5
9180 sed 's/^/| /' conftest.
$ac_ext >&5
9182 ac_header_preproc
=no
9185 rm -f conftest.err conftest.
$ac_ext
9186 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9187 echo "${ECHO_T}$ac_header_preproc" >&6; }
9189 # So? What about this header?
9190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9192 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&5
9193 echo "$as_me: WARNING: libraw1394/raw1394.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9194 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&5
9195 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the compiler's result" >&2;}
9196 ac_header_preproc
=yes
9199 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&5
9200 echo "$as_me: WARNING: libraw1394/raw1394.h: present but cannot be compiled" >&2;}
9201 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&5
9202 echo "$as_me: WARNING: libraw1394/raw1394.h: check for missing prerequisite headers?" >&2;}
9203 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&5
9204 echo "$as_me: WARNING: libraw1394/raw1394.h: see the Autoconf documentation" >&2;}
9205 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&5
9206 echo "$as_me: WARNING: libraw1394/raw1394.h: section \"Present But Cannot Be Compiled\"" >&2;}
9207 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&5
9208 echo "$as_me: WARNING: libraw1394/raw1394.h: proceeding with the preprocessor's result" >&2;}
9209 { echo "$as_me:$LINENO: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&5
9210 echo "$as_me: WARNING: libraw1394/raw1394.h: in the future, the compiler will take precedence" >&2;}
9212 ## ------------------------------------------------------------------- ##
9213 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
9214 ## ------------------------------------------------------------------- ##
9216 ) |
sed "s/^/$as_me: WARNING: /" >&2
9219 { echo "$as_me:$LINENO: checking for libraw1394/raw1394.h" >&5
9220 echo $ECHO_N "checking for libraw1394/raw1394.h... $ECHO_C" >&6; }
9221 if test "${ac_cv_header_libraw1394_raw1394_h+set}" = set; then
9222 echo $ECHO_N "(cached) $ECHO_C" >&6
9224 ac_cv_header_libraw1394_raw1394_h
=$ac_header_preproc
9226 { echo "$as_me:$LINENO: result: $ac_cv_header_libraw1394_raw1394_h" >&5
9227 echo "${ECHO_T}$ac_cv_header_libraw1394_raw1394_h" >&6; }
9230 if test $ac_cv_header_libraw1394_raw1394_h = yes; then
9233 { { echo "$as_me:$LINENO: error: \"missing raw1394.h\"" >&5
9234 echo "$as_me: error: \"missing raw1394.h\"" >&2;}
9235 { (exit 1); exit 1; }; }
9242 if test "${ENABLE_TRIG}" == '-DENABLE_TRIG'; then
9244 { echo "$as_me:$LINENO: checking for gpiv_trig_openrtfs in -lgpiv" >&5
9245 echo $ECHO_N "checking for gpiv_trig_openrtfs in -lgpiv... $ECHO_C" >&6; }
9246 if test "${ac_cv_lib_gpiv_gpiv_trig_openrtfs+set}" = set; then
9247 echo $ECHO_N "(cached) $ECHO_C" >&6
9249 ac_check_lib_save_LIBS
=$LIBS
9251 cat >conftest.
$ac_ext <<_ACEOF
9254 cat confdefs.h
>>conftest.
$ac_ext
9255 cat >>conftest.
$ac_ext <<_ACEOF
9256 /* end confdefs.h. */
9258 /* Override any GCC internal prototype to avoid an error.
9259 Use char because int might match the return type of a GCC
9260 builtin and then its argument prototype would still apply. */
9264 char gpiv_trig_openrtfs ();
9268 return gpiv_trig_openrtfs ();
9273 rm -f conftest.
$ac_objext conftest
$ac_exeext
9274 if { (ac_try
="$ac_link"
9276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9277 *) ac_try_echo=$ac_try;;
9279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9280 (eval "$ac_link") 2>conftest.er1
9282 grep -v '^ *+' conftest.er1 >conftest.err
9284 cat conftest.err >&5
9285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 (exit $ac_status); } && {
9287 test -z "$ac_c_werror_flag" ||
9288 test ! -s conftest.err
9289 } && test -s conftest$ac_exeext &&
9290 $as_test_x conftest$ac_exeext; then
9291 ac_cv_lib_gpiv_gpiv_trig_openrtfs=yes
9293 echo "$as_me: failed program was:" >&5
9294 sed 's/^/| /' conftest.$ac_ext >&5
9296 ac_cv_lib_gpiv_gpiv_trig_openrtfs=no
9299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9300 conftest$ac_exeext conftest.$ac_ext
9301 LIBS=$ac_check_lib_save_LIBS
9303 { echo "$as_me:$LINENO: result: $ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&5
9304 echo "${ECHO_T}$ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&6; }
9305 if test $ac_cv_lib_gpiv_gpiv_trig_openrtfs = yes; then
9306 cat >>confdefs.h <<_ACEOF
9307 #define HAVE_LIBGPIV 1
9313 { { echo "$as_me:$LINENO: error: \"(Realtime) triggering is not working in libgpiv. \
9314 Enable (realtime) triggering in libgpiv or disable it here by leaving out --enable-trig during ./configure\"" >&5
9315 echo "$as_me: error: \"(Realtime) triggering is not working in libgpiv. \
9316 Enable (realtime) triggering in libgpiv or disable it here by leaving out --enable-trig during ./configure\"" >&2;}
9317 { (exit 1); exit 1; }; }
9323 # Extract the first word of "gpiv_control", so it can be a program name with args.
9324 set dummy gpiv_control; ac_word=$2
9325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9327 if test "${ac_cv_prog_CONTROL+set}" = set; then
9328 echo $ECHO_N "(cached) $ECHO_C" >&6
9330 if test -n "$CONTROL"; then
9331 ac_cv_prog_CONTROL="$CONTROL" # Let the user override the test.
9333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9337 test -z "$as_dir" && as_dir=.
9338 for ac_exec_ext in '' $ac_executable_extensions; do
9339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9340 ac_cv_prog_CONTROL="true"
9341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9348 test -z "$ac_cv_prog_CONTROL" && ac_cv_prog_CONTROL="false"
9351 CONTROL=$ac_cv_prog_CONTROL
9352 if test -n "$CONTROL"; then
9353 { echo "$as_me:$LINENO: result: $CONTROL" >&5
9354 echo "${ECHO_T}$CONTROL" >&6; }
9356 { echo "$as_me:$LINENO: result: no" >&5
9357 echo "${ECHO_T}no" >&6; }
9365 HAVE_CONTROL_FALSE='#'
9367 HAVE_CONTROL_TRUE='#'
9372 # Check whether --enable-rta was given.
9373 if test "${enable_rta+set}" = set; then
9374 enableval=$enable_rta; RTA_TOPDIR="$enableval"
9376 RTA_TOPDIR="/usr/lib/realtime"
9383 # Check whether --enable-k was given.
9384 if test "${enable_k+set}" = set; then
9385 enableval=$enable_k; K_TOPDIR="$enableval"
9387 K_TOPDIR="/usr/src/kernel-headers-2.4.27-adeos"
9394 # Check whether --enable-img-width was given.
9395 if test "${enable_img_width+set}" = set; then
9396 enableval=$enable_img_width; OVERRIDE_IMAGE_WIDTH_MAX="-DIMAGE_WIDTH_MAX=$enableval"
9404 # Check whether --enable-img-height was given.
9405 if test "${enable_img_height+set}" = set; then
9406 enableval=$enable_img_height; OVERRIDE_IMAGE_HEIGHT_MAX="-DIMAGE_HEIGHT_MAX=$enableval"
9413 # Check whether --enable-canvas_aa was given.
9414 if test "${enable_canvas_aa+set}" = set; then
9415 enableval=$enable_canvas_aa; CANVAS_AA="-DCANVAS_AA"
9422 # Check whether --enable-debug was given.
9423 if test "${enable_debug+set}" = set; then
9424 enableval=$enable_debug; DEBUG="-DDEBUG"
9434 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"
9436 cat >confcache <<\_ACEOF
9437 # This file is a shell script that caches the results of configure
9438 # tests run on this system so they can be shared between configure
9439 # scripts and configure runs, see configure's option --config-cache.
9440 # It is not useful on other systems. If it contains results you don't
9441 # want to keep, you may remove or edit it.
9443 # config.status only pays attention to the cache file if you give it
9444 # the --recheck option to rerun configure.
9446 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
9447 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9452 # The following way of writing the cache mishandles newlines in values,
9453 # but we know of no workaround that is simple, portable, and efficient.
9454 # So, we kill variables containing newlines.
9455 # Ultrix sh set writes to stderr and can't be redirected directly,
9456 # and sets the high bit in the cache file unless we assign to the vars.
9458 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9459 eval ac_val
=\$
$ac_var
9463 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
9464 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
9467 _ | IFS | as_nl
) ;; #(
9468 *) $as_unset $ac_var ;;
9474 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9475 *${as_nl}ac_space
=\
*)
9476 # `set' does not quote correctly, so add quotes (double-quote
9477 # substitution turns \\\\ into \\, and sed turns \\ into \).
9480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9483 # `set' quotes correctly as required by POSIX, so do not add quotes.
9484 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9493 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9495 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9497 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9498 if test -w "$cache_file"; then
9499 test "x$cache_file" != "x/dev/null" &&
9500 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
9501 echo "$as_me: updating cache $cache_file" >&6;}
9502 cat confcache
>$cache_file
9504 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9505 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9510 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9511 # Let make expand exec_prefix.
9512 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9514 # Transform confdefs.h into DEFS.
9515 # Protect against shell expansion while executing Makefile rules.
9516 # Protect against Makefile macro expansion.
9518 # If the first sed substitution is executed (which looks for macros that
9519 # take arguments), then branch to the quote section. Otherwise,
9520 # look for a macro that doesn't take arguments.
9524 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
9526 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
9530 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
9543 DEFS
=`sed -n "$ac_script" confdefs.h`
9548 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9549 # 1. Remove the extension, and $U if already installed.
9550 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
9551 ac_i
=`echo "$ac_i" | sed "$ac_script"`
9552 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9553 # will be set to the directory where LIBOBJS objects are built.
9554 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9555 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9559 LTLIBOBJS
=$ac_ltlibobjs
9562 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
9563 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
9564 Usually this means the macro was only invoked conditionally." >&5
9565 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
9566 Usually this means the macro was only invoked conditionally." >&2;}
9567 { (exit 1); exit 1; }; }
9569 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9570 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9571 Usually this means the macro was only invoked conditionally." >&5
9572 echo "$as_me: error: conditional \"AMDEP\" was never defined.
9573 Usually this means the macro was only invoked conditionally." >&2;}
9574 { (exit 1); exit 1; }; }
9576 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9577 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9578 Usually this means the macro was only invoked conditionally." >&5
9579 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9580 Usually this means the macro was only invoked conditionally." >&2;}
9581 { (exit 1); exit 1; }; }
9583 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9584 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9585 Usually this means the macro was only invoked conditionally." >&5
9586 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9587 Usually this means the macro was only invoked conditionally." >&2;}
9588 { (exit 1); exit 1; }; }
9590 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9591 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9592 Usually this means the macro was only invoked conditionally." >&5
9593 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9594 Usually this means the macro was only invoked conditionally." >&2;}
9595 { (exit 1); exit 1; }; }
9598 ac_config_commands
="$ac_config_commands po/stamp-it"
9601 if test -z "${HAVE_CONTROL_TRUE}" && test -z "${HAVE_CONTROL_FALSE}"; then
9602 { { echo "$as_me:$LINENO: error: conditional \"HAVE_CONTROL\" was never defined.
9603 Usually this means the macro was only invoked conditionally." >&5
9604 echo "$as_me: error: conditional \"HAVE_CONTROL\" was never defined.
9605 Usually this means the macro was only invoked conditionally." >&2;}
9606 { (exit 1); exit 1; }; }
9609 : ${CONFIG_STATUS=./config.status}
9610 ac_clean_files_save
=$ac_clean_files
9611 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9612 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9613 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9614 cat >$CONFIG_STATUS <<_ACEOF
9616 # Generated by $as_me.
9617 # Run this file to recreate the current configuration.
9618 # Compiler output produced by configure, useful for debugging
9619 # configure, is in config.log if it exists.
9624 SHELL=\${CONFIG_SHELL-$SHELL}
9627 cat >>$CONFIG_STATUS <<\_ACEOF
9628 ## --------------------- ##
9629 ## M4sh Initialization. ##
9630 ## --------------------- ##
9632 # Be more Bourne compatible
9633 DUALCASE
=1; export DUALCASE
# for MKS sh
9634 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9637 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9638 # is contrary to our usage. Disable this feature.
9639 alias -g '${1+"$@"}'='"$@"'
9640 setopt NO_GLOB_SUBST
9642 case `(set -o) 2>/dev/null` in
9643 *posix
*) set -o posix
;;
9652 # Avoid depending upon Character Ranges.
9653 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9654 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9655 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9656 as_cr_digits
='0123456789'
9657 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9659 # The user is always right.
9660 if test "${PATH_SEPARATOR+set}" != set; then
9661 echo "#! /bin/sh" >conf$$.sh
9662 echo "exit 0" >>conf$$.sh
9664 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9672 # Support unset when possible.
9673 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
9681 # We need space, tab and new line, in precisely that order. Quoting is
9682 # there to prevent editors from complaining about space-tab.
9683 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9684 # splitting by setting IFS to empty value.)
9689 # Find who we are. Look in the path if we contain no directory separator.
9691 *[\\/]* ) as_myself
=$0 ;;
9692 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9696 test -z "$as_dir" && as_dir
=.
9697 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9703 # We did not find ourselves, most probably we were run as `sh COMMAND'
9704 # in which case we are not to be found in the path.
9705 if test "x$as_myself" = x
; then
9708 if test ! -f "$as_myself"; then
9709 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9710 { (exit 1); exit 1; }
9713 # Work around bugs in pre-3.0 UWIN ksh.
9714 for as_var
in ENV MAIL MAILPATH
9715 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9723 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9724 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9725 LC_TELEPHONE LC_TIME
9727 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9728 eval $as_var=C
; export $as_var
9730 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9734 # Required to use basename.
9735 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9736 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9742 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9743 as_basename
=basename
9749 # Name of the executable.
9750 as_me
=`$as_basename -- "$0" ||
9751 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9752 X"$0" : 'X\(//\)$' \| \
9753 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9755 sed '/^.*\/\([^/][^/]*\)\/*$/{
9776 test "x$as_lineno_1" != "x$as_lineno_2" &&
9777 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
9779 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9780 # uniformly replaced by the line number. The first 'sed' inserts a
9781 # line-number line after each line using $LINENO; the second 'sed'
9782 # does the real work. The second script uses 'N' to pair each
9783 # line-number line with the line containing $LINENO, and appends
9784 # trailing '-' during substitution so that $LINENO is not a special
9786 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9787 # scripts with optimization help from Paolo Bonzini. Blame Lee
9788 # E. McMahon (1931-1989) for sed's syntax. :-)
9800 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9804 chmod +x
"$as_me.lineno" ||
9805 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9806 { (exit 1); exit 1; }; }
9808 # Don't try to exec as it changes $[0], causing all sort of problems
9809 # (the dirname of $[0] is not the place where we might find the
9810 # original and so on. Autoconf is especially sensitive to this).
9812 # Exit status is that of the last command.
9817 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9823 ECHO_C
= ECHO_N
= ECHO_T
=
9826 case `echo 'x\c'` in
9827 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9834 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9835 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9841 rm -f conf$$ conf$$.exe conf$$.
file
9842 if test -d conf$$.dir
; then
9843 rm -f conf$$.dir
/conf$$.
file
9849 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9851 # ... but there are two gotchas:
9852 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9853 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9854 # In both cases, we have to default to `cp -p'.
9855 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9857 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9862 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9863 rmdir conf$$.dir
2>/dev
/null
9865 if mkdir
-p .
2>/dev
/null
; then
9868 test -d .
/-p && rmdir .
/-p
9872 if test -x / >/dev
/null
2>&1; then
9875 if ls -dL / >/dev
/null
2>&1; then
9882 if test -d "$1"; then
9888 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9889 ???[sx]*):;;*)false;;esac;fi
9893 as_executable_p
=$as_test_x
9895 # Sed expression to map a string onto a valid CPP name.
9896 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9898 # Sed expression to map a string onto a valid variable name.
9899 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9904 # Save the log message, to keep $[0] and so on meaningful, and to
9905 # report actual input values of CONFIG_FILES etc. instead of their
9906 # values after options handling.
9908 This file was extended by gpiv $as_me 0.5.2, which was
9909 generated by GNU Autoconf 2.61. Invocation command line was
9911 CONFIG_FILES = $CONFIG_FILES
9912 CONFIG_HEADERS = $CONFIG_HEADERS
9913 CONFIG_LINKS = $CONFIG_LINKS
9914 CONFIG_COMMANDS = $CONFIG_COMMANDS
9917 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9922 cat >>$CONFIG_STATUS <<_ACEOF
9923 # Files that config.status was made for.
9924 config_files="$ac_config_files"
9925 config_commands="$ac_config_commands"
9929 cat >>$CONFIG_STATUS <<\_ACEOF
9931 \`$as_me' instantiates files from templates according to the
9932 current configuration.
9934 Usage: $0 [OPTIONS] [FILE]...
9936 -h, --help print this help, then exit
9937 -V, --version print version number and configuration settings, then exit
9938 -q, --quiet do not print progress messages
9939 -d, --debug don't remove temporary files
9940 --recheck update $as_me by reconfiguring in the same conditions
9941 --file=FILE[:TEMPLATE]
9942 instantiate the configuration file FILE
9944 Configuration files:
9947 Configuration commands:
9950 Report bugs to <bug-autoconf@gnu.org>."
9953 cat >>$CONFIG_STATUS <<_ACEOF
9955 gpiv config.status 0.5.2
9956 configured by $0, generated by GNU Autoconf 2.61,
9957 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9959 Copyright (C) 2006 Free Software Foundation, Inc.
9960 This config.status script is free software; the Free Software Foundation
9961 gives unlimited permission to copy, distribute and modify it."
9968 cat >>$CONFIG_STATUS <<\_ACEOF
9969 # If no file are specified by the user, then we need to provide default
9970 # value. By we need to know if files were specified by the user.
9976 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9977 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9988 # Handling of the options.
9989 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9991 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9992 echo "$ac_cs_version"; exit ;;
9993 --debug |
--debu |
--deb |
--de |
--d |
-d )
9995 --file |
--fil |
--fi |
--f )
9997 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9998 ac_need_defaults
=false
;;
9999 --he |
--h |
--help |
--hel |
-h )
10000 echo "$ac_cs_usage"; exit ;;
10001 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10002 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10005 # This is an error.
10006 -*) { echo "$as_me: error: unrecognized option: $1
10007 Try \`$0 --help' for more information." >&2
10008 { (exit 1); exit 1; }; } ;;
10010 *) ac_config_targets
="$ac_config_targets $1"
10011 ac_need_defaults
=false
;;
10017 ac_configure_extra_args
=
10019 if $ac_cs_silent; then
10021 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10025 cat >>$CONFIG_STATUS <<_ACEOF
10026 if \$ac_cs_recheck; then
10027 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10028 CONFIG_SHELL=$SHELL
10029 export CONFIG_SHELL
10030 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10034 cat >>$CONFIG_STATUS <<\_ACEOF
10038 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10039 ## Running $as_me. ##
10045 cat >>$CONFIG_STATUS <<_ACEOF
10049 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10051 INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
10052 prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
10053 INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}'
10057 cat >>$CONFIG_STATUS <<\_ACEOF
10059 # Handling of arguments.
10060 for ac_config_target
in $ac_config_targets
10062 case $ac_config_target in
10063 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10064 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
10065 "intltool") CONFIG_COMMANDS
="$CONFIG_COMMANDS intltool" ;;
10066 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10067 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
10068 "doc/C/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/C/Makefile" ;;
10069 "doc/C/figures/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/C/figures/Makefile" ;;
10070 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
10071 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
10072 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
10073 "pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES pixmaps/Makefile" ;;
10074 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
10076 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10077 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10078 { (exit 1); exit 1; }; };;
10083 # If the user did not use the arguments to specify the items to instantiate,
10084 # then the envvar interface is used. Set only those that are not.
10085 # We use the long form for the default assignment because of an extremely
10086 # bizarre bug on SunOS 4.1.3.
10087 if $ac_need_defaults; then
10088 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10089 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10092 # Have a temporary directory for convenience. Make it in the build tree
10093 # simply because there is no reason against having it here, and in addition,
10094 # creating and moving files from /tmp can sometimes cause problems.
10095 # Hook for its removal unless debugging.
10096 # Note that there is a small window in which the directory will not be cleaned:
10097 # after its creation but before its name has been assigned to `$tmp'.
10101 trap 'exit_status=$?
10102 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10104 trap '{ (exit 1); exit 1; }' 1 2 13 15
10106 # Create a (secure) tmp directory for tmp files.
10109 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10110 test -n "$tmp" && test -d "$tmp"
10113 tmp
=.
/conf$$
-$RANDOM
10114 (umask 077 && mkdir
"$tmp")
10117 echo "$me: cannot create a temporary directory in ." >&2
10118 { (exit 1); exit 1; }
10122 # Set up the sed scripts for CONFIG_FILES section.
10125 # No need to generate the scripts if there are no CONFIG_FILES.
10126 # This happens for instance when ./config.status config.h
10127 if test -n "$CONFIG_FILES"; then
10134 for ac_last_try
in false false false false false
:; do
10135 cat >conf$
$subs.
sed <<_ACEOF
10136 SHELL!$SHELL$ac_delim
10137 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10138 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10139 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10140 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10141 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10142 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10143 exec_prefix!$exec_prefix$ac_delim
10144 prefix!$prefix$ac_delim
10145 program_transform_name!$program_transform_name$ac_delim
10146 bindir!$bindir$ac_delim
10147 sbindir!$sbindir$ac_delim
10148 libexecdir!$libexecdir$ac_delim
10149 datarootdir!$datarootdir$ac_delim
10150 datadir!$datadir$ac_delim
10151 sysconfdir!$sysconfdir$ac_delim
10152 sharedstatedir!$sharedstatedir$ac_delim
10153 localstatedir!$localstatedir$ac_delim
10154 includedir!$includedir$ac_delim
10155 oldincludedir!$oldincludedir$ac_delim
10156 docdir!$docdir$ac_delim
10157 infodir!$infodir$ac_delim
10158 htmldir!$htmldir$ac_delim
10159 dvidir!$dvidir$ac_delim
10160 pdfdir!$pdfdir$ac_delim
10161 psdir!$psdir$ac_delim
10162 libdir!$libdir$ac_delim
10163 localedir!$localedir$ac_delim
10164 mandir!$mandir$ac_delim
10165 DEFS!$DEFS$ac_delim
10166 ECHO_C!$ECHO_C$ac_delim
10167 ECHO_N!$ECHO_N$ac_delim
10168 ECHO_T!$ECHO_T$ac_delim
10169 LIBS!$LIBS$ac_delim
10170 build_alias!$build_alias$ac_delim
10171 host_alias!$host_alias$ac_delim
10172 target_alias!$target_alias$ac_delim
10173 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
10174 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
10175 INSTALL_DATA!$INSTALL_DATA$ac_delim
10176 CYGPATH_W!$CYGPATH_W$ac_delim
10177 PACKAGE!$PACKAGE$ac_delim
10178 VERSION!$VERSION$ac_delim
10179 ACLOCAL!$ACLOCAL$ac_delim
10180 AUTOCONF!$AUTOCONF$ac_delim
10181 AUTOMAKE!$AUTOMAKE$ac_delim
10182 AUTOHEADER!$AUTOHEADER$ac_delim
10183 MAKEINFO!$MAKEINFO$ac_delim
10184 install_sh!$install_sh$ac_delim
10185 STRIP!$STRIP$ac_delim
10186 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
10187 mkdir_p!$mkdir_p$ac_delim
10189 SET_MAKE!$SET_MAKE$ac_delim
10190 am__leading_dot!$am__leading_dot$ac_delim
10191 AMTAR!$AMTAR$ac_delim
10192 am__tar!$am__tar$ac_delim
10193 am__untar!$am__untar$ac_delim
10194 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
10195 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
10196 MAINT!$MAINT$ac_delim
10198 CFLAGS!$CFLAGS$ac_delim
10199 LDFLAGS!$LDFLAGS$ac_delim
10200 CPPFLAGS!$CPPFLAGS$ac_delim
10201 ac_ct_CC!$ac_ct_CC$ac_delim
10202 EXEEXT!$EXEEXT$ac_delim
10203 OBJEXT!$OBJEXT$ac_delim
10204 DEPDIR!$DEPDIR$ac_delim
10205 am__include!$am__include$ac_delim
10206 am__quote!$am__quote$ac_delim
10207 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
10208 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
10209 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
10210 CCDEPMODE!$CCDEPMODE$ac_delim
10211 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
10212 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
10214 GREP!$GREP$ac_delim
10215 EGREP!$EGREP$ac_delim
10216 PKG_CONFIG!$PKG_CONFIG$ac_delim
10217 GPIV_UI_CFLAGS!$GPIV_UI_CFLAGS$ac_delim
10218 GPIV_UI_LIBS!$GPIV_UI_LIBS$ac_delim
10219 GPIV_PRINT_CFLAGS!$GPIV_PRINT_CFLAGS$ac_delim
10220 GPIV_PRINT_LIBS!$GPIV_PRINT_LIBS$ac_delim
10221 GPIV_CFLAGS!$GPIV_CFLAGS$ac_delim
10222 GPIV_LIBS!$GPIV_LIBS$ac_delim
10223 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
10224 USE_NLS!$USE_NLS$ac_delim
10225 MSGFMT!$MSGFMT$ac_delim
10226 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
10227 GMSGFMT!$GMSGFMT$ac_delim
10228 XGETTEXT!$XGETTEXT$ac_delim
10229 CATALOGS!$CATALOGS$ac_delim
10230 CATOBJEXT!$CATOBJEXT$ac_delim
10231 DATADIRNAME!$DATADIRNAME$ac_delim
10232 GMOFILES!$GMOFILES$ac_delim
10235 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
10237 elif $ac_last_try; then
10238 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10239 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10240 { (exit 1); exit 1; }; }
10242 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10246 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10247 if test -n "$ac_eof"; then
10248 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10249 ac_eof
=`expr $ac_eof + 1`
10252 cat >>$CONFIG_STATUS <<_ACEOF
10253 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
10254 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10257 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10258 s/^/s,@/; s/!/@,|#_!!_#|/
10261 s/'"$ac_delim"'$/,g/; t
10263 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10264 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10265 rm -f conf$
$subs.
sed
10266 cat >>$CONFIG_STATUS <<_ACEOF
10272 for ac_last_try
in false false false false false
:; do
10273 cat >conf$
$subs.
sed <<_ACEOF
10274 INSTOBJEXT!$INSTOBJEXT$ac_delim
10275 INTLLIBS!$INTLLIBS$ac_delim
10276 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
10277 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
10278 POFILES!$POFILES$ac_delim
10279 POSUB!$POSUB$ac_delim
10280 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
10281 INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
10282 INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
10283 INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
10284 INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
10285 INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
10286 INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
10287 INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
10288 INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
10289 INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
10290 INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
10291 INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
10292 INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
10293 INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
10294 INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
10295 INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
10296 INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
10297 INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
10298 INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
10299 INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim
10300 MSGMERGE!$MSGMERGE$ac_delim
10301 INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
10302 INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
10303 INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
10304 INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
10305 ALL_LINGUAS!$ALL_LINGUAS$ac_delim
10306 ENABLE_CAM!$ENABLE_CAM$ac_delim
10307 ENABLE_TRIG!$ENABLE_TRIG$ac_delim
10308 ENABLE_DAC!$ENABLE_DAC$ac_delim
10309 CONTROL!$CONTROL$ac_delim
10310 HAVE_CONTROL_TRUE!$HAVE_CONTROL_TRUE$ac_delim
10311 HAVE_CONTROL_FALSE!$HAVE_CONTROL_FALSE$ac_delim
10312 RTA_TOPDIR!$RTA_TOPDIR$ac_delim
10313 K_TOPDIR!$K_TOPDIR$ac_delim
10314 OVERRIDE_IMAGE_WIDTH_MAX!$OVERRIDE_IMAGE_WIDTH_MAX$ac_delim
10315 OVERRIDE_IMAGE_HEIGHT_MAX!$OVERRIDE_IMAGE_HEIGHT_MAX$ac_delim
10316 CANVAS_AA!$CANVAS_AA$ac_delim
10317 DEBUG!$DEBUG$ac_delim
10318 LIBOBJS!$LIBOBJS$ac_delim
10319 LTLIBOBJS!$LTLIBOBJS$ac_delim
10322 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 46; then
10324 elif $ac_last_try; then
10325 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
10326 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
10327 { (exit 1); exit 1; }; }
10329 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
10333 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
10334 if test -n "$ac_eof"; then
10335 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
10336 ac_eof
=`expr $ac_eof + 1`
10339 cat >>$CONFIG_STATUS <<_ACEOF
10340 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
10341 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
10344 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
10345 s/^/s,@/; s/!/@,|#_!!_#|/
10348 s/'"$ac_delim"'$/,g/; t
10350 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
10351 ' >>$CONFIG_STATUS <conf$
$subs.
sed
10352 rm -f conf$
$subs.
sed
10353 cat >>$CONFIG_STATUS <<_ACEOF
10360 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10361 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10362 # trailing colons and then remove the whole line if VPATH becomes empty
10363 # (actually we leave an empty line to preserve line numbers).
10364 if test "x$srcdir" = x.
; then
10365 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10366 s/:*\$(srcdir):*/:/
10367 s/:*\${srcdir}:*/:/
10369 s/^\([^=]*=[ ]*\):*/\1/
10375 cat >>$CONFIG_STATUS <<\_ACEOF
10376 fi # test -n "$CONFIG_FILES"
10379 for ac_tag
in :F
$CONFIG_FILES :C
$CONFIG_COMMANDS
10382 :[FHLC
]) ac_mode
=$ac_tag; continue;;
10384 case $ac_mode$ac_tag in
10386 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
10387 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
10388 { (exit 1); exit 1; }; };;
10389 :[FH
]-) ac_tag
=-:-;;
10390 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
10407 -) ac_f
="$tmp/stdin";;
10408 *) # Look for the file first in the build tree, then in the source tree
10409 # (if the path is not absolute). The absolute path cannot be DOS-style,
10410 # because $ac_f cannot contain `:'.
10414 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
10416 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10417 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10418 { (exit 1); exit 1; }; };;
10420 ac_file_inputs
="$ac_file_inputs $ac_f"
10423 # Let's still pretend it is `configure' which instantiates (i.e., don't
10424 # use $as_me), people would be surprised to read:
10425 # /* config.h. Generated by config.status. */
10426 configure_input
="Generated from "`IFS=:
10427 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
10428 if test x
"$ac_file" != x-
; then
10429 configure_input
="$ac_file. $configure_input"
10430 { echo "$as_me:$LINENO: creating $ac_file" >&5
10431 echo "$as_me: creating $ac_file" >&6;}
10435 *:-:* |
*:-) cat >"$tmp/stdin";;
10440 ac_dir
=`$as_dirname -- "$ac_file" ||
10441 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10442 X"$ac_file" : 'X\(//\)[^/]' \| \
10443 X"$ac_file" : 'X\(//\)$' \| \
10444 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10450 /^X\(\/\/\)[^/].*/{
10465 -*) as_dir
=.
/$as_dir;;
10467 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10471 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10472 *) as_qdir
=$as_dir;;
10474 as_dirs
="'$as_qdir' $as_dirs"
10475 as_dir
=`$as_dirname -- "$as_dir" ||
10476 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10477 X"$as_dir" : 'X\(//\)[^/]' \| \
10478 X"$as_dir" : 'X\(//\)$' \| \
10479 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10485 /^X\(\/\/\)[^/].*/{
10498 test -d "$as_dir" && break
10500 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10501 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10502 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10503 { (exit 1); exit 1; }; }; }
10507 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10509 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10510 # A ".." for each directory in $ac_dir_suffix.
10511 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
10512 case $ac_top_builddir_sub in
10513 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10514 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10517 ac_abs_top_builddir
=$ac_pwd
10518 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10519 # for backward compatibility:
10520 ac_top_builddir
=$ac_top_build_prefix
10523 .
) # We are building in place.
10525 ac_top_srcdir
=$ac_top_builddir_sub
10526 ac_abs_top_srcdir
=$ac_pwd ;;
10527 [\\/]* | ?
:[\\/]* ) # Absolute name.
10528 ac_srcdir
=$srcdir$ac_dir_suffix;
10529 ac_top_srcdir
=$srcdir
10530 ac_abs_top_srcdir
=$srcdir ;;
10531 *) # Relative name.
10532 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10533 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10534 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10536 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10546 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10547 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
10551 cat >>$CONFIG_STATUS <<\_ACEOF
10552 # If the template does not know about datarootdir, expand it.
10553 # FIXME: This hack should be removed a few years after 2.60.
10554 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10556 case `sed -n '/datarootdir/ {
10565 ' $ac_file_inputs` in
10566 *datarootdir
*) ac_datarootdir_seen
=yes;;
10567 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
10568 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10569 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10571 cat >>$CONFIG_STATUS <<_ACEOF
10572 ac_datarootdir_hack='
10573 s&@datadir@&$datadir&g
10574 s&@docdir@&$docdir&g
10575 s&@infodir@&$infodir&g
10576 s&@localedir@&$localedir&g
10577 s&@mandir@&$mandir&g
10578 s&\\\${datarootdir}&$datarootdir&g' ;;
10582 # Neutralize VPATH when `$srcdir' = `.'.
10583 # Shell code in configure.ac might set extrasub.
10584 # FIXME: do we really want to maintain this feature?
10585 cat >>$CONFIG_STATUS <<_ACEOF
10589 cat >>$CONFIG_STATUS <<\_ACEOF
10591 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10592 s
&@configure_input@
&$configure_input&;t t
10593 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10594 s
&@srcdir@
&$ac_srcdir&;t t
10595 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10596 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10597 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10598 s
&@builddir@
&$ac_builddir&;t t
10599 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10600 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10601 s
&@INSTALL@
&$ac_INSTALL&;t t
10602 $ac_datarootdir_hack
10603 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
10605 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10606 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
10607 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
10608 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10609 which seems to be undefined. Please make sure it is defined." >&5
10610 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10611 which seems to be undefined. Please make sure it is defined." >&2;}
10615 -) cat "$tmp/out"; rm -f "$tmp/out";;
10616 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
10621 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
10622 echo "$as_me: executing $ac_file commands" >&6;}
10627 case $ac_file$ac_mode in
10628 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10629 # Strip MF so we end up with the name of the file.
10630 mf=`echo "$mf" | sed -e 's
/:.
*$
//'`
10631 # Check whether this is an Automake generated Makefile or not.
10632 # We used to match only the files named `Makefile.in', but
10633 # some people rename them; so instead we look at the file content.
10634 # Grep'ing the first line is not enough: some people post-process
10635 # each Makefile.in and add a new line on top of each file to say so.
10636 # So let's grep whole file.
10637 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
10638 dirpart
=`$as_dirname -- "$mf" ||
10639 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10640 X"$mf" : 'X\(//\)[^/]' \| \
10641 X"$mf" : 'X\(//\)$' \| \
10642 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10648 /^X\(\/\/\)[^/].*/{
10664 # Extract the definition of DEPDIR, am__include, and am__quote
10665 # from the Makefile without running `make'.
10666 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
10667 test -z "$DEPDIR" && continue
10668 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
10669 test -z "am__include" && continue
10670 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
10671 # When using ansi2knr, U may be empty or an underscore; expand it
10672 U
=`sed -n 's/^U = //p' < "$mf"`
10673 # Find all dependency output files, they are included files with
10674 # $(DEPDIR) in their names. We invoke sed twice because it is the
10675 # simplest approach to changing $(DEPDIR) to its actual value in the
10677 for file in `sed -n "
10678 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10679 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10680 # Make sure the directory exists.
10681 test -f "$dirpart/$file" && continue
10682 fdir
=`$as_dirname -- "$file" ||
10683 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10684 X"$file" : 'X\(//\)[^/]' \| \
10685 X"$file" : 'X\(//\)$' \| \
10686 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10688 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10692 /^X\(\/\/\)[^/].*/{
10705 { as_dir
=$dirpart/$fdir
10707 -*) as_dir
=.
/$as_dir;;
10709 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10713 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10714 *) as_qdir
=$as_dir;;
10716 as_dirs
="'$as_qdir' $as_dirs"
10717 as_dir
=`$as_dirname -- "$as_dir" ||
10718 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10719 X"$as_dir" : 'X\(//\)[^/]' \| \
10720 X"$as_dir" : 'X\(//\)$' \| \
10721 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10727 /^X\(\/\/\)[^/].*/{
10740 test -d "$as_dir" && break
10742 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10743 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10744 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10745 { (exit 1); exit 1; }; }; }
10746 # echo "creating $dirpart/$file"
10747 echo '# dummy' > "$dirpart/$file"
10751 "default-1":C
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
10752 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
10756 for file in intltool-extract intltool-merge intltool-update
; do
10757 sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
10758 -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
10759 -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
10760 < ${ac_aux_dir}/${file}.in > ${file}.out
10761 if cmp -s ${file} ${file}.out
2>/dev
/null
; then
10764 mv -f ${file}.out
${file}
10766 chmod ugo
+x
${file}
10772 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
10777 '"s|^| $ac_top_srcdir/|" \
10778 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
10780 if test ! -f "po/Makefile"; then
10781 { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
10782 echo "$as_me: error: po/Makefile is not ready." >&2;}
10783 { (exit 1); exit 1; }; }
10785 mv "po/Makefile" "po/Makefile.tmp"
10786 sed '/^POTFILES =/,/[^\\]$/ {
10790 ' "po/Makefile.tmp" >"po/Makefile"
10791 rm -f "po/Makefile.tmp"
10792 mv "po/stamp-it.tmp" "po/stamp-it"
10799 { (exit 0); exit 0; }
10801 chmod +x
$CONFIG_STATUS
10802 ac_clean_files
=$ac_clean_files_save
10805 # configure is writing to config.log, and then calls config.status.
10806 # config.status does its own redirection, appending to config.log.
10807 # Unfortunately, on DOS this fails, as config.log is still kept open
10808 # by configure, so config.status won't be able to write to it; its
10809 # output is simply discarded. So we exec the FD to /dev/null,
10810 # effectively closing config.log, so it can be properly (re)opened and
10811 # appended to by config.status. When coming back to configure, we
10812 # need to make the FD available again.
10813 if test "$no_create" != yes; then
10815 ac_config_status_args
=
10816 test "$silent" = yes &&
10817 ac_config_status_args
="$ac_config_status_args --quiet"
10819 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10821 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10822 # would make configure fail if this is the last instruction.
10823 $ac_cs_success ||
{ (exit 1); exit 1; }
10828 echo "===================================================================="
10829 echo "Configuration succesfully finished"
10830 if test $HAVE_GNOME_PRINT; then
10831 echo "with gnomeprint"
10833 echo "without gnomeprint"
10836 if test $ENABLE_CAM; then
10837 echo "with (IEEE-1394) camera enabled"
10840 if test $ENABLE_TRIG; then
10841 echo "with (realtime) triggering enabled."
10843 if test x
$CONTROL = xfalse
; then
10844 echo "Gpiv_control has not been found on this system, and probably gpivtrig-rtl isn't"
10845 echo "resident as well. This script eases to install and uninstall the gpivtrig-rtl"
10846 echo "and RTAI kernel modules that are needed for the triggering of camera and lasers"
10850 echo "Type 'make' and 'make install' to build and install gpiv"
10851 echo "===================================================================="