2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for gpiv 0.6.1.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv
235 $0: about your system, including any error possibly output
236 $0: before this message. Then install a modern shell, or
237 $0: manually run the script under such a shell if you do
244 SHELL
=${CONFIG_SHELL-/bin/sh}
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE
= GREP_OPTIONS
=
248 unset CLICOLOR_FORCE GREP_OPTIONS
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
255 # Portably unset VAR.
258 { eval $1=; unset $1;}
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282 # Create "$as_dir" as a directory, including parents if necessary.
287 -*) as_dir
=.
/$as_dir;;
289 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
293 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 as_dirs
="'$as_qdir' $as_dirs"
297 as_dir
=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320 test -d "$as_dir" && break
322 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
323 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
334 eval 'as_fn_append ()
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
358 as_val
=`expr "$@" || test $? -eq 1`
363 # as_fn_error ERROR [LINENO LOG_FD]
364 # ---------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with status $?, using 1 if that was 0.
370 as_status
=$?
; test $as_status -eq 0 && as_status
=1
372 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
375 $as_echo "$as_me: error: $1" >&2
376 as_fn_exit
$as_status
379 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
386 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
398 as_me
=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
417 # Avoid depending upon Character Ranges.
418 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits
='0123456789'
422 as_cr_alnum
=$as_cr_Letters$as_cr_digits
425 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
426 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 chmod +x
"$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
452 # Exit status is that of the last command.
456 ECHO_C
= ECHO_N
= ECHO_T
=
457 case `echo -n x` in #(((((
459 case `echo 'xy\c'` in
460 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
469 rm -f conf$$ conf$$.exe conf$$.
file
470 if test -d conf$$.dir
; then
471 rm -f conf$$.dir
/conf$$.
file
474 mkdir conf$$.dir
2>/dev
/null
476 if (echo >conf$$.
file) 2>/dev
/null
; then
477 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
485 elif ln conf$$.
file conf$$
2>/dev
/null
; then
493 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
494 rmdir conf$$.dir
2>/dev
/null
496 if mkdir
-p .
2>/dev
/null
; then
497 as_mkdir_p
='mkdir -p "$as_dir"'
499 test -d .
/-p && rmdir .
/-p
503 if test -x / >/dev
/null
2>&1; then
506 if ls -dL / >/dev
/null
2>&1; then
513 if test -d "$1"; then
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
524 as_executable_p
=$as_test_x
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
537 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
538 # so uname gets run too.
539 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
544 ac_default_prefix
=/usr
/local
546 ac_config_libobj_dir
=.
553 # Identity of this package.
555 PACKAGE_TARNAME
='gpiv'
556 PACKAGE_VERSION
='0.6.1'
557 PACKAGE_STRING
='gpiv 0.6.1'
558 PACKAGE_BUGREPORT
='http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv'
561 # Factoring default headers for most tests.
562 ac_includes_default
="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
597 ac_subst_vars
='am__EXEEXT_FALSE
603 OVERRIDE_IMAGE_HEIGHT_MAX
604 OVERRIDE_IMAGE_WIDTH_MAX
621 INTLTOOL_SERVICE_RULE
623 INTLTOOL_SCHEMAS_RULE
625 INTLTOOL_XML_NOMERGE_RULE
630 INTLTOOL_SOUNDLIST_RULE
637 INTLTOOL_DIRECTORY_RULE
638 INTLTOOL_DESKTOP_RULE
684 MAINTAINER_MODE_FALSE
694 INSTALL_STRIP_PROGRAM
736 program_transform_name
749 enable_option_checking
750 enable_maintainer_mode
751 enable_dependency_tracking
764 ac_precious_vars
='build_alias
780 # Initialize some variables set by options.
782 ac_init_version
=false
783 ac_unrecognized_opts
=
785 # The variables have the same names as the options, with
786 # dashes changed to underlines.
794 program_transform_name
=s
,x
,x
,
802 # Installation directory options.
803 # These are left unexpanded so users can "make install exec_prefix=/foo"
804 # and all the variables that are supposed to be based on exec_prefix
805 # by default will actually change.
806 # Use braces instead of parens because sh, perl, etc. also accept them.
807 # (The list follows the same order as the GNU Coding Standards.)
808 bindir
='${exec_prefix}/bin'
809 sbindir
='${exec_prefix}/sbin'
810 libexecdir
='${exec_prefix}/libexec'
811 datarootdir
='${prefix}/share'
812 datadir
='${datarootdir}'
813 sysconfdir
='${prefix}/etc'
814 sharedstatedir
='${prefix}/com'
815 localstatedir
='${prefix}/var'
816 includedir
='${prefix}/include'
817 oldincludedir
='/usr/include'
818 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
819 infodir
='${datarootdir}/info'
824 libdir
='${exec_prefix}/lib'
825 localedir
='${datarootdir}/locale'
826 mandir
='${datarootdir}/man'
832 # If the previous option needs an argument, assign it.
833 if test -n "$ac_prev"; then
834 eval $ac_prev=\
$ac_option
840 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
844 # Accept the important Cygnus configure options, so we can diagnose typos.
846 case $ac_dashdash$ac_option in
850 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
852 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
855 -build |
--build |
--buil |
--bui |
--bu)
856 ac_prev
=build_alias
;;
857 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
858 build_alias
=$ac_optarg ;;
860 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
861 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
862 ac_prev
=cache_file
;;
863 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
864 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
865 cache_file
=$ac_optarg ;;
868 cache_file
=config.cache
;;
870 -datadir |
--datadir |
--datadi |
--datad)
872 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
873 datadir
=$ac_optarg ;;
875 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
876 |
--dataroo |
--dataro |
--datar)
877 ac_prev
=datarootdir
;;
878 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
879 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
880 datarootdir
=$ac_optarg ;;
882 -disable-* |
--disable-*)
883 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884 # Reject names that are not valid shell variable names.
885 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
886 as_fn_error
"invalid feature name: $ac_useropt"
887 ac_useropt_orig
=$ac_useropt
888 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889 case $ac_user_opts in
893 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
894 ac_unrecognized_sep
=', ';;
896 eval enable_
$ac_useropt=no
;;
898 -docdir |
--docdir |
--docdi |
--doc |
--do)
900 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
903 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
905 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
908 -enable-* |
--enable-*)
909 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
910 # Reject names that are not valid shell variable names.
911 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
912 as_fn_error
"invalid feature name: $ac_useropt"
913 ac_useropt_orig
=$ac_useropt
914 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915 case $ac_user_opts in
919 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
920 ac_unrecognized_sep
=', ';;
922 eval enable_
$ac_useropt=\
$ac_optarg ;;
924 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
925 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
926 |
--exec |
--exe |
--ex)
927 ac_prev
=exec_prefix
;;
928 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
929 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
930 |
--exec=* |
--exe=* |
--ex=*)
931 exec_prefix
=$ac_optarg ;;
933 -gas |
--gas |
--ga |
--g)
934 # Obsolete; use --with-gas.
937 -help |
--help |
--hel |
--he |
-h)
939 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
940 ac_init_help
=recursive
;;
941 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
942 ac_init_help
=short
;;
944 -host |
--host |
--hos |
--ho)
945 ac_prev
=host_alias
;;
946 -host=* |
--host=* |
--hos=* |
--ho=*)
947 host_alias
=$ac_optarg ;;
949 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
951 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
953 htmldir
=$ac_optarg ;;
955 -includedir |
--includedir |
--includedi |
--included |
--include \
956 |
--includ |
--inclu |
--incl |
--inc)
957 ac_prev
=includedir
;;
958 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
959 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
960 includedir
=$ac_optarg ;;
962 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
964 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
965 infodir
=$ac_optarg ;;
967 -libdir |
--libdir |
--libdi |
--libd)
969 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
972 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
973 |
--libexe |
--libex |
--libe)
974 ac_prev
=libexecdir
;;
975 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
976 |
--libexe=* |
--libex=* |
--libe=*)
977 libexecdir
=$ac_optarg ;;
979 -localedir |
--localedir |
--localedi |
--localed |
--locale)
981 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
982 localedir
=$ac_optarg ;;
984 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
985 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
986 ac_prev
=localstatedir
;;
987 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
988 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
989 localstatedir
=$ac_optarg ;;
991 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
993 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
997 # Obsolete; use --without-fp.
1000 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1001 |
--no-cr |
--no-c |
-n)
1004 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1005 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1008 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1009 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1010 |
--oldin |
--oldi |
--old |
--ol |
--o)
1011 ac_prev
=oldincludedir
;;
1012 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1013 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1014 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1015 oldincludedir
=$ac_optarg ;;
1017 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1019 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1020 prefix
=$ac_optarg ;;
1022 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1023 |
--program-pre |
--program-pr |
--program-p)
1024 ac_prev
=program_prefix
;;
1025 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1026 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1027 program_prefix
=$ac_optarg ;;
1029 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1030 |
--program-suf |
--program-su |
--program-s)
1031 ac_prev
=program_suffix
;;
1032 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1033 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1034 program_suffix
=$ac_optarg ;;
1036 -program-transform-name |
--program-transform-name \
1037 |
--program-transform-nam |
--program-transform-na \
1038 |
--program-transform-n |
--program-transform- \
1039 |
--program-transform |
--program-transfor \
1040 |
--program-transfo |
--program-transf \
1041 |
--program-trans |
--program-tran \
1042 |
--progr-tra |
--program-tr |
--program-t)
1043 ac_prev
=program_transform_name
;;
1044 -program-transform-name=* |
--program-transform-name=* \
1045 |
--program-transform-nam=* |
--program-transform-na=* \
1046 |
--program-transform-n=* |
--program-transform-=* \
1047 |
--program-transform=* |
--program-transfor=* \
1048 |
--program-transfo=* |
--program-transf=* \
1049 |
--program-trans=* |
--program-tran=* \
1050 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1051 program_transform_name
=$ac_optarg ;;
1053 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1055 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1056 pdfdir
=$ac_optarg ;;
1058 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1060 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1063 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1064 |
-silent |
--silent |
--silen |
--sile |
--sil)
1067 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1069 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1071 sbindir
=$ac_optarg ;;
1073 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1074 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1075 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1077 ac_prev
=sharedstatedir
;;
1078 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1079 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1080 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1082 sharedstatedir
=$ac_optarg ;;
1084 -site |
--site |
--sit)
1086 -site=* |
--site=* |
--sit=*)
1089 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1091 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1092 srcdir
=$ac_optarg ;;
1094 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1095 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1096 ac_prev
=sysconfdir
;;
1097 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1098 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1099 sysconfdir
=$ac_optarg ;;
1101 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1102 ac_prev
=target_alias
;;
1103 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1104 target_alias
=$ac_optarg ;;
1106 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1109 -version |
--version |
--versio |
--versi |
--vers |
-V)
1110 ac_init_version
=: ;;
1113 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1116 as_fn_error
"invalid package name: $ac_useropt"
1117 ac_useropt_orig
=$ac_useropt
1118 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1123 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1124 ac_unrecognized_sep
=', ';;
1126 eval with_
$ac_useropt=\
$ac_optarg ;;
1128 -without-* |
--without-*)
1129 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1130 # Reject names that are not valid shell variable names.
1131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1132 as_fn_error
"invalid package name: $ac_useropt"
1133 ac_useropt_orig
=$ac_useropt
1134 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135 case $ac_user_opts in
1139 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1140 ac_unrecognized_sep
=', ';;
1142 eval with_
$ac_useropt=no
;;
1145 # Obsolete; use --with-x.
1148 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1149 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1150 ac_prev
=x_includes
;;
1151 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1152 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1153 x_includes
=$ac_optarg ;;
1155 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1156 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1157 ac_prev
=x_libraries
;;
1158 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1159 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1160 x_libraries
=$ac_optarg ;;
1162 -*) as_fn_error
"unrecognized option: \`$ac_option'
1163 Try \`$0 --help' for more information."
1167 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1168 # Reject names that are not valid shell variable names.
1169 case $ac_envvar in #(
1170 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1171 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1173 eval $ac_envvar=\
$ac_optarg
1174 export $ac_envvar ;;
1177 # FIXME: should be removed in autoconf 3.0.
1178 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1179 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1180 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1181 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1187 if test -n "$ac_prev"; then
1188 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1189 as_fn_error
"missing argument to $ac_option"
1192 if test -n "$ac_unrecognized_opts"; then
1193 case $enable_option_checking in
1195 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1196 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1200 # Check all directory arguments for consistency.
1201 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1202 datadir sysconfdir sharedstatedir localstatedir includedir \
1203 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1204 libdir localedir mandir
1206 eval ac_val
=\$
$ac_var
1207 # Remove trailing slashes.
1210 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1211 eval $ac_var=\
$ac_val;;
1213 # Be sure to have absolute directory names.
1215 [\\/$
]* | ?
:[\\/]* ) continue;;
1216 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1218 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1221 # There might be people who depend on the old broken behavior: `$host'
1222 # used to hold the argument of --host etc.
1223 # FIXME: To remove some day.
1226 target
=$target_alias
1228 # FIXME: To remove some day.
1229 if test "x$host_alias" != x
; then
1230 if test "x$build_alias" = x
; then
1231 cross_compiling
=maybe
1232 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1233 If a cross compiler is detected then cross compile mode will be used." >&2
1234 elif test "x$build_alias" != "x$host_alias"; then
1240 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1242 test "$silent" = yes && exec 6>/dev
/null
1245 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1246 ac_ls_di
=`ls -di .` &&
1247 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1248 as_fn_error
"working directory cannot be determined"
1249 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1250 as_fn_error
"pwd does not report name of working directory"
1253 # Find the source files, if location was not specified.
1254 if test -z "$srcdir"; then
1255 ac_srcdir_defaulted
=yes
1256 # Try the directory containing this script, then the parent directory.
1257 ac_confdir
=`$as_dirname -- "$as_myself" ||
1258 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1259 X"$as_myself" : 'X\(//\)[^/]' \| \
1260 X"$as_myself" : 'X\(//\)$' \| \
1261 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1262 $as_echo X"$as_myself" |
1263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1281 if test ! -r "$srcdir/$ac_unique_file"; then
1285 ac_srcdir_defaulted
=no
1287 if test ! -r "$srcdir/$ac_unique_file"; then
1288 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1289 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1291 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1293 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1295 # When building in place, set srcdir=.
1296 if test "$ac_abs_confdir" = "$ac_pwd"; then
1299 # Remove unnecessary trailing slashes from srcdir.
1300 # Double slashes in file names in object file debugging info
1301 # mess up M-x gdb in Emacs.
1303 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1305 for ac_var
in $ac_precious_vars; do
1306 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1307 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1308 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1309 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1313 # Report the --help message.
1315 if test "$ac_init_help" = "long"; then
1316 # Omit some internal or obsolete options to make the list less imposing.
1317 # This message is too long to be a string in the A/UX 3.1 sh.
1319 \`configure' configures gpiv 0.6.1 to adapt to many kinds of systems.
1321 Usage: $0 [OPTION]... [VAR=VALUE]...
1323 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1324 VAR=VALUE. See below for descriptions of some of the useful variables.
1326 Defaults for the options are specified in brackets.
1329 -h, --help display this help and exit
1330 --help=short display options specific to this package
1331 --help=recursive display the short help of all the included packages
1332 -V, --version display version information and exit
1333 -q, --quiet, --silent do not print \`checking...' messages
1334 --cache-file=FILE cache test results in FILE [disabled]
1335 -C, --config-cache alias for \`--cache-file=config.cache'
1336 -n, --no-create do not create output files
1337 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1339 Installation directories:
1340 --prefix=PREFIX install architecture-independent files in PREFIX
1341 [$ac_default_prefix]
1342 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1345 By default, \`make install' will install all the files in
1346 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1347 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1348 for instance \`--prefix=\$HOME'.
1350 For better control, use the options below.
1352 Fine tuning of the installation directories:
1353 --bindir=DIR user executables [EPREFIX/bin]
1354 --sbindir=DIR system admin executables [EPREFIX/sbin]
1355 --libexecdir=DIR program executables [EPREFIX/libexec]
1356 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1357 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1358 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1359 --libdir=DIR object code libraries [EPREFIX/lib]
1360 --includedir=DIR C header files [PREFIX/include]
1361 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1362 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1363 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1364 --infodir=DIR info documentation [DATAROOTDIR/info]
1365 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1366 --mandir=DIR man documentation [DATAROOTDIR/man]
1367 --docdir=DIR documentation root [DATAROOTDIR/doc/gpiv]
1368 --htmldir=DIR html documentation [DOCDIR]
1369 --dvidir=DIR dvi documentation [DOCDIR]
1370 --pdfdir=DIR pdf documentation [DOCDIR]
1371 --psdir=DIR ps documentation [DOCDIR]
1377 --program-prefix=PREFIX prepend PREFIX to installed program names
1378 --program-suffix=SUFFIX append SUFFIX to installed program names
1379 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1383 if test -n "$ac_init_help"; then
1384 case $ac_init_help in
1385 short | recursive
) echo "Configuration of gpiv 0.6.1:";;
1390 --disable-option-checking ignore unrecognized
--enable/--with options
1391 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1392 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1393 --enable-maintainer-mode enable make rules and dependencies not useful
1394 (and sometimes confusing
) to the casual installer
1395 --disable-dependency-tracking speeds up one-time build
1396 --enable-dependency-tracking do not reject slow dependency extractors
1397 --disable-nls do not use Native Language Support
1398 --enable-mpi enable Message Protocol Interface
(MPI
)
1399 --enable-rr checks also
for MPI-enabled gpiv_rr
1400 --enable-cam enable data acquisition
1401 --enable-trig enable (realtime
) triggering
1402 --enable-rta=RTA_DIR place where the RTAI code resides
1403 (default
/usr
/lib
/realtime
)
1404 --enable-k=K_DIR place where the installed kernel
1406 (default
/usr
/src
/kernel-headers-2.4
.27-adeos)
1407 --enable-img-width=WIDTH maximum image width to be used
(default SVGA
)
1408 --enable-img-height=HEIGHT maximum image height to be used
(default SVGA
)
1409 --enable-canvas-aa Use Anti Aliased canvas
for viewer
; slower but
1410 better displaying of image and resulting data
1411 --enable-debug debug version
(more verbose
)
1413 Some influential environment variables
:
1414 CC C compiler
command
1415 CFLAGS C compiler flags
1416 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1417 nonstandard directory
<lib dir
>
1418 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1419 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1420 you have headers
in a nonstandard directory
<include dir
>
1422 PKG_CONFIG path to pkg-config utility
1424 C compiler flags
for GPIV_UI
, overriding pkg-config
1426 linker flags
for GPIV_UI
, overriding pkg-config
1427 GPIV_CFLAGS C compiler flags
for GPIV
, overriding pkg-config
1428 GPIV_LIBS linker flags
for GPIV
, overriding pkg-config
1430 Use these variables to override the choices made by
`configure' or to help
1431 it to find libraries and programs with nonstandard names/locations.
1433 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv>.
1438 if test "$ac_init_help" = "recursive"; then
1439 # If there are subdirs, report their specific --help.
1440 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1441 test -d "$ac_dir" ||
1442 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1447 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1449 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1450 # A ".." for each directory in $ac_dir_suffix.
1451 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1452 case $ac_top_builddir_sub in
1453 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1454 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1457 ac_abs_top_builddir=$ac_pwd
1458 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1459 # for backward compatibility:
1460 ac_top_builddir=$ac_top_build_prefix
1463 .) # We are building in place.
1465 ac_top_srcdir=$ac_top_builddir_sub
1466 ac_abs_top_srcdir=$ac_pwd ;;
1467 [\\/]* | ?:[\\/]* ) # Absolute name.
1468 ac_srcdir=$srcdir$ac_dir_suffix;
1469 ac_top_srcdir=$srcdir
1470 ac_abs_top_srcdir=$srcdir ;;
1472 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1473 ac_top_srcdir=$ac_top_build_prefix$srcdir
1474 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1476 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1478 cd "$ac_dir" || { ac_status=$?; continue; }
1479 # Check for guested configure.
1480 if test -f "$ac_srcdir/configure.gnu"; then
1482 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1483 elif test -f "$ac_srcdir/configure"; then
1485 $SHELL "$ac_srcdir/configure" --help=recursive
1487 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1489 cd "$ac_pwd" || { ac_status=$?; break; }
1493 test -n "$ac_init_help" && exit $ac_status
1494 if $ac_init_version; then
1496 gpiv configure 0.6.1
1497 generated by GNU Autoconf 2.65
1499 Copyright (C) 2009 Free Software Foundation, Inc.
1500 This configure script is free software; the Free Software Foundation
1501 gives unlimited permission to copy, distribute and modify it.
1506 ## ------------------------ ##
1507 ## Autoconf initialization. ##
1508 ## ------------------------ ##
1510 # ac_fn_c_try_compile LINENO
1511 # --------------------------
1512 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1513 ac_fn_c_try_compile ()
1515 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1516 rm -f conftest.$ac_objext
1517 if { { ac_try="$ac_compile"
1519 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1520 *) ac_try_echo
=$ac_try;;
1522 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523 $as_echo "$ac_try_echo"; } >&5
1524 (eval "$ac_compile") 2>conftest.err
1526 if test -s conftest.err
; then
1527 grep -v '^ *+' conftest.err
>conftest.er1
1528 cat conftest.er1
>&5
1529 mv -f conftest.er1 conftest.err
1531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1532 test $ac_status = 0; } && {
1533 test -z "$ac_c_werror_flag" ||
1534 test ! -s conftest.err
1535 } && test -s conftest.
$ac_objext; then :
1538 $as_echo "$as_me: failed program was:" >&5
1539 sed 's/^/| /' conftest.
$ac_ext >&5
1543 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1544 as_fn_set_status
$ac_retval
1546 } # ac_fn_c_try_compile
1548 # ac_fn_c_try_link LINENO
1549 # -----------------------
1550 # Try to link conftest.$ac_ext, and return whether this succeeded.
1553 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1554 rm -f conftest.
$ac_objext conftest
$ac_exeext
1555 if { { ac_try
="$ac_link"
1557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1558 *) ac_try_echo=$ac_try;;
1560 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1561 $as_echo "$ac_try_echo"; } >&5
1562 (eval "$ac_link") 2>conftest.err
1564 if test -s conftest.err; then
1565 grep -v '^ *+' conftest.err >conftest.er1
1566 cat conftest.er1 >&5
1567 mv -f conftest.er1 conftest.err
1569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1570 test $ac_status = 0; } && {
1571 test -z "$ac_c_werror_flag" ||
1572 test ! -s conftest.err
1573 } && test -s conftest$ac_exeext && {
1574 test "$cross_compiling" = yes ||
1575 $as_test_x conftest$ac_exeext
1579 $as_echo "$as_me: failed program was:" >&5
1580 sed 's/^/| /' conftest.$ac_ext >&5
1584 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1585 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1586 # interfere with the next link command; also delete a directory that is
1587 # left behind by Apple's compiler. We do this before executing the actions.
1588 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1589 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1590 as_fn_set_status $ac_retval
1592 } # ac_fn_c_try_link
1594 # ac_fn_c_try_cpp LINENO
1595 # ----------------------
1596 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600 if { { ac_try="$ac_cpp conftest.$ac_ext"
1602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1603 *) ac_try_echo
=$ac_try;;
1605 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1606 $as_echo "$ac_try_echo"; } >&5
1607 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1609 if test -s conftest.err
; then
1610 grep -v '^ *+' conftest.err
>conftest.er1
1611 cat conftest.er1
>&5
1612 mv -f conftest.er1 conftest.err
1614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1615 test $ac_status = 0; } >/dev
/null
&& {
1616 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1617 test ! -s conftest.err
1621 $as_echo "$as_me: failed program was:" >&5
1622 sed 's/^/| /' conftest.
$ac_ext >&5
1626 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1627 as_fn_set_status
$ac_retval
1631 # ac_fn_c_try_run LINENO
1632 # ----------------------
1633 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1634 # that executables *can* be run.
1637 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1638 if { { ac_try
="$ac_link"
1640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_link") 2>&5
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1649 { { case "(($ac_try" in
1650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1651 *) ac_try_echo
=$ac_try;;
1653 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_try") 2>&5
1657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658 test $ac_status = 0; }; }; then :
1661 $as_echo "$as_me: program exited with status $ac_status" >&5
1662 $as_echo "$as_me: failed program was:" >&5
1663 sed 's/^/| /' conftest.
$ac_ext >&5
1665 ac_retval
=$ac_status
1667 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1668 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1669 as_fn_set_status
$ac_retval
1673 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1674 # -------------------------------------------------------
1675 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1676 # the include files in INCLUDES and setting the cache variable VAR
1678 ac_fn_c_check_header_mongrel
()
1680 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1681 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1683 $as_echo_n "checking for $2... " >&6; }
1684 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1685 $as_echo_n "(cached) " >&6
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1689 $as_echo "$ac_res" >&6; }
1691 # Is the header compilable?
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1693 $as_echo_n "checking $2 usability... " >&6; }
1694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1695 /* end confdefs.h. */
1699 if ac_fn_c_try_compile
"$LINENO"; then :
1700 ac_header_compiler
=yes
1702 ac_header_compiler
=no
1704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1706 $as_echo "$ac_header_compiler" >&6; }
1708 # Is the header present?
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1710 $as_echo_n "checking $2 presence... " >&6; }
1711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1715 if ac_fn_c_try_cpp
"$LINENO"; then :
1716 ac_header_preproc
=yes
1718 ac_header_preproc
=no
1720 rm -f conftest.err conftest.
$ac_ext
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1722 $as_echo "$ac_header_preproc" >&6; }
1724 # So? What about this header?
1725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1728 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1730 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1734 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1736 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1738 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1740 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1742 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1744 ## ------------------------------------------------------------------- ##
1745 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv ##
1746 ## ------------------------------------------------------------------- ##
1748 ) |
sed "s/^/$as_me: WARNING: /" >&2
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1752 $as_echo_n "checking for $2... " >&6; }
1753 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1754 $as_echo_n "(cached) " >&6
1756 eval "$3=\$ac_header_compiler"
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1760 $as_echo "$ac_res" >&6; }
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1764 } # ac_fn_c_check_header_mongrel
1766 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1767 # -------------------------------------------------------
1768 # Tests whether HEADER exists and can be compiled using the include files in
1769 # INCLUDES, setting the cache variable VAR accordingly.
1770 ac_fn_c_check_header_compile
()
1772 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774 $as_echo_n "checking for $2... " >&6; }
1775 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1776 $as_echo_n "(cached) " >&6
1778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1783 if ac_fn_c_try_compile
"$LINENO"; then :
1788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1793 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1795 } # ac_fn_c_check_header_compile
1797 # ac_fn_c_check_func LINENO FUNC VAR
1798 # ----------------------------------
1799 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1800 ac_fn_c_check_func
()
1802 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1806 $as_echo_n "(cached) " >&6
1808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1810 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1812 #define $2 innocuous_$2
1814 /* System header to define __stub macros and hopefully few prototypes,
1815 which can conflict with char $2 (); below.
1816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1817 <limits.h> exists even on freestanding compilers. */
1820 # include <limits.h>
1822 # include <assert.h>
1827 /* Override any GCC internal prototype to avoid an error.
1828 Use char because int might match the return type of a GCC
1829 builtin and then its argument prototype would still apply. */
1834 /* The GNU C library defines this for functions which it implements
1835 to always fail with ENOSYS. Some functions are actually named
1836 something starting with __ and the normal name is an alias. */
1837 #if defined __stub_$2 || defined __stub___$2
1849 if ac_fn_c_try_link
"$LINENO"; then :
1854 rm -f core conftest.err conftest.
$ac_objext \
1855 conftest
$ac_exeext conftest.
$ac_ext
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1862 } # ac_fn_c_check_func
1863 cat >config.log
<<_ACEOF
1864 This file contains any messages produced by compilers while
1865 running configure, to aid debugging if configure makes a mistake.
1867 It was created by gpiv $as_me 0.6.1, which was
1868 generated by GNU Autoconf 2.65. Invocation command line was
1880 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1881 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1882 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1883 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1884 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1886 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1887 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1889 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1890 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1891 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1892 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1893 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1894 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1895 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1903 test -z "$as_dir" && as_dir
=.
1904 $as_echo "PATH: $as_dir"
1920 # Keep a trace of the command line.
1921 # Strip out --no-create and --no-recursion so they do not pile up.
1922 # Strip out --silent because we don't want to record it for future runs.
1923 # Also quote any args containing shell meta-characters.
1924 # Make two passes to allow for proper duplicate-argument suppression.
1928 ac_must_keep_next
=false
1934 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1935 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1936 |
-silent |
--silent |
--silen |
--sile |
--sil)
1939 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1942 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1944 as_fn_append ac_configure_args1
" '$ac_arg'"
1945 if test $ac_must_keep_next = true
; then
1946 ac_must_keep_next
=false
# Got value, back to normal.
1949 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1950 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1951 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1952 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1953 case "$ac_configure_args0 " in
1954 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1957 -* ) ac_must_keep_next
=true
;;
1960 as_fn_append ac_configure_args
" '$ac_arg'"
1965 { ac_configure_args0
=; unset ac_configure_args0
;}
1966 { ac_configure_args1
=; unset ac_configure_args1
;}
1968 # When interrupted or exit'd, cleanup temporary files, and complete
1969 # config.log. We remove comments because anyway the quotes in there
1970 # would cause problems or look ugly.
1971 # WARNING: Use '\'' to represent an apostrophe within the trap.
1972 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1973 trap 'exit_status=$?
1974 # Save into config.log some information that might help in debugging.
1979 ## ---------------- ##
1980 ## Cache variables. ##
1981 ## ---------------- ##
1984 # The following way of writing the cache mishandles newlines in values,
1986 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1987 eval ac_val=\$$ac_var
1991 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1992 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1995 _ | IFS | as_nl) ;; #(
1996 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1997 *) { eval $ac_var=; unset $ac_var;} ;;
2002 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2003 *${as_nl}ac_space=\ *)
2005 "s/'\''/'\''\\\\'\'''\''/g;
2006 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2009 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2017 ## ----------------- ##
2018 ## Output variables. ##
2019 ## ----------------- ##
2022 for ac_var in $ac_subst_vars
2024 eval ac_val=\$$ac_var
2026 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2028 $as_echo "$ac_var='\''$ac_val'\''"
2032 if test -n "$ac_subst_files"; then
2034 ## ------------------- ##
2035 ## File substitutions. ##
2036 ## ------------------- ##
2039 for ac_var
in $ac_subst_files
2041 eval ac_val
=\$
$ac_var
2043 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2045 $as_echo "$ac_var='\''$ac_val'\''"
2050 if test -s confdefs.h; then
2060 test "$ac_signal" != 0 &&
2061 $as_echo "$as_me: caught signal $ac_signal"
2062 $as_echo "$as_me: exit $exit_status"
2064 rm -f core *.core core.conftest.* &&
2065 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2068 for ac_signal
in 1 2 13 15; do
2069 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2073 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2074 rm -f -r conftest
* confdefs.h
2076 $as_echo "/* confdefs.h */" > confdefs.h
2078 # Predefined preprocessor variables.
2080 cat >>confdefs.h
<<_ACEOF
2081 #define PACKAGE_NAME "$PACKAGE_NAME"
2084 cat >>confdefs.h
<<_ACEOF
2085 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2088 cat >>confdefs.h
<<_ACEOF
2089 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2092 cat >>confdefs.h
<<_ACEOF
2093 #define PACKAGE_STRING "$PACKAGE_STRING"
2096 cat >>confdefs.h
<<_ACEOF
2097 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2100 cat >>confdefs.h
<<_ACEOF
2101 #define PACKAGE_URL "$PACKAGE_URL"
2105 # Let the site file select an alternate cache file if it wants to.
2106 # Prefer an explicitly selected file to automatically selected ones.
2109 if test -n "$CONFIG_SITE"; then
2110 ac_site_file1
=$CONFIG_SITE
2111 elif test "x$prefix" != xNONE
; then
2112 ac_site_file1
=$prefix/share
/config.site
2113 ac_site_file2
=$prefix/etc
/config.site
2115 ac_site_file1
=$ac_default_prefix/share
/config.site
2116 ac_site_file2
=$ac_default_prefix/etc
/config.site
2118 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2120 test "x$ac_site_file" = xNONE
&& continue
2121 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2123 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2124 sed 's/^/| /' "$ac_site_file" >&5
2129 if test -r "$cache_file"; then
2130 # Some versions of bash will fail to source /dev/null (special files
2131 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2132 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2134 $as_echo "$as_me: loading cache $cache_file" >&6;}
2136 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2137 *) .
"./$cache_file";;
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2142 $as_echo "$as_me: creating cache $cache_file" >&6;}
2146 # Check that the precious variables saved in the cache have kept the same
2148 ac_cache_corrupted
=false
2149 for ac_var
in $ac_precious_vars; do
2150 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2151 eval ac_new_set
=\
$ac_env_${ac_var}_set
2152 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2153 eval ac_new_val
=\
$ac_env_${ac_var}_value
2154 case $ac_old_set,$ac_new_set in
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2157 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2158 ac_cache_corrupted
=: ;;
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2161 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2162 ac_cache_corrupted
=: ;;
2165 if test "x$ac_old_val" != "x$ac_new_val"; then
2166 # differences in whitespace do not lead to failure.
2167 ac_old_val_w
=`echo x $ac_old_val`
2168 ac_new_val_w
=`echo x $ac_new_val`
2169 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2171 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2172 ac_cache_corrupted
=:
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2175 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2176 eval $ac_var=\
$ac_old_val
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2179 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2181 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2184 # Pass precious variables to config.status.
2185 if test "$ac_new_set" = set; then
2187 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2188 *) ac_arg
=$ac_var=$ac_new_val ;;
2190 case " $ac_configure_args " in
2191 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2192 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2196 if $ac_cache_corrupted; then
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2200 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2201 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2203 ## -------------------- ##
2204 ## Main body of script. ##
2205 ## -------------------- ##
2208 ac_cpp
='$CPP $CPPFLAGS'
2209 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2210 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2211 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2214 am__api_version
='1.11'
2217 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2218 for ac_t
in install-sh
install.sh shtool
; do
2219 if test -f "$ac_dir/$ac_t"; then
2221 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2226 if test -z "$ac_aux_dir"; then
2227 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2230 # These three variables are undocumented and unsupported,
2231 # and are intended to be withdrawn in a future Autoconf release.
2232 # They can cause serious problems if a builder's source tree is in a directory
2233 # whose full name contains unusual characters.
2234 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2235 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2236 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2239 # Find a good install program. We prefer a C program (faster),
2240 # so one script is as good as another. But avoid the broken or
2241 # incompatible versions:
2242 # SysV /etc/install, /usr/sbin/install
2243 # SunOS /usr/etc/install
2244 # IRIX /sbin/install
2246 # AmigaOS /C/install, which installs bootblocks on floppy discs
2247 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2248 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2249 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2250 # OS/2's system install, which has a completely different semantic
2251 # ./install, which can be erroneously created by make from ./install.sh.
2252 # Reject install programs that cannot install multiple files.
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2254 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2255 if test -z "$INSTALL"; then
2256 if test "${ac_cv_path_install+set}" = set; then :
2257 $as_echo_n "(cached) " >&6
2259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2263 test -z "$as_dir" && as_dir
=.
2264 # Account for people who put trailing slashes in PATH elements.
2265 case $as_dir/ in #((
2266 .
/ | .
// |
/[cC
]/* | \
2267 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2268 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2271 # OSF1 and SCO ODT 3.0 have their own names for install.
2272 # Don't use installbsd from OSF since it installs stuff as root
2274 for ac_prog
in ginstall scoinst
install; do
2275 for ac_exec_ext
in '' $ac_executable_extensions; do
2276 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2277 if test $ac_prog = install &&
2278 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2279 # AIX install. It has an incompatible calling convention.
2281 elif test $ac_prog = install &&
2282 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2283 # program-specific install script used by HP pwplus--don't use.
2286 rm -rf conftest.one conftest.two conftest.dir
2287 echo one
> conftest.one
2288 echo two
> conftest.two
2290 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2291 test -s conftest.one
&& test -s conftest.two
&&
2292 test -s conftest.dir
/conftest.one
&&
2293 test -s conftest.dir
/conftest.two
2295 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2308 rm -rf conftest.one conftest.two conftest.dir
2311 if test "${ac_cv_path_install+set}" = set; then
2312 INSTALL
=$ac_cv_path_install
2314 # As a last resort, use the slow shell script. Don't cache a
2315 # value for INSTALL within a source directory, because that will
2316 # break other packages using the cache if that directory is
2317 # removed, or if the value is a relative name.
2318 INSTALL
=$ac_install_sh
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2322 $as_echo "$INSTALL" >&6; }
2324 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2325 # It thinks the first close brace ends the variable substitution.
2326 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2328 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2330 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2333 $as_echo_n "checking whether build environment is sane... " >&6; }
2336 echo timestamp
> conftest.
file
2337 # Reject unsafe characters in $srcdir or the absolute working directory
2338 # name. Accept space and tab only in the latter.
2342 *[\\\"\
#\$\&\'\`$am_lf]*)
2343 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2346 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2347 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2350 # Do `set' in a subshell so we don't clobber the current shell's
2351 # arguments. Must try -L first in case configure is actually a
2352 # symlink; some systems play weird games with the mod time of symlinks
2353 # (eg FreeBSD returns the mod time of the symlink's containing
2356 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2357 if test "$*" = "X"; then
2359 set X
`ls -t "$srcdir/configure" conftest.file`
2362 if test "$*" != "X $srcdir/configure conftest.file" \
2363 && test "$*" != "X conftest.file $srcdir/configure"; then
2365 # If neither matched, then we have a broken ls. This can happen
2366 # if, for instance, CONFIG_SHELL is bash and it inherits a
2367 # broken ls alias from the environment. This has actually
2368 # happened. Such a system could not be considered "sane".
2369 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2370 alias in your environment" "$LINENO" 5
2373 test "$2" = conftest.
file
2379 as_fn_error
"newly created file is older than distributed files!
2380 Check your system clock" "$LINENO" 5
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2383 $as_echo "yes" >&6; }
2384 test "$program_prefix" != NONE
&&
2385 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2386 # Use a double $ so make ignores it.
2387 test "$program_suffix" != NONE
&&
2388 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2389 # Double any \ or $.
2390 # By default was `s,x,x', remove it if useless.
2391 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2392 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2394 # expand $ac_aux_dir to an absolute path
2395 am_aux_dir
=`cd $ac_aux_dir && pwd`
2397 if test x
"${MISSING+set}" != xset
; then
2400 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2402 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2405 # Use eval to expand $SHELL
2406 if eval "$MISSING --run true"; then
2407 am_missing_run
="$MISSING --run "
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2411 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2414 if test x
"${install_sh}" != xset
; then
2417 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2419 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2423 # Installed binaries are usually stripped using `strip' when the user
2424 # run `make install-strip'. However `strip' might not be the right
2425 # tool to use in cross-compilation environments, therefore Automake
2426 # will honor the `STRIP' environment variable to overrule this program.
2427 if test "$cross_compiling" != no
; then
2428 if test -n "$ac_tool_prefix"; then
2429 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2430 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2432 $as_echo_n "checking for $ac_word... " >&6; }
2433 if test "${ac_cv_prog_STRIP+set}" = set; then :
2434 $as_echo_n "(cached) " >&6
2436 if test -n "$STRIP"; then
2437 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2443 test -z "$as_dir" && as_dir
=.
2444 for ac_exec_ext
in '' $ac_executable_extensions; do
2445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2446 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2456 STRIP
=$ac_cv_prog_STRIP
2457 if test -n "$STRIP"; then
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2459 $as_echo "$STRIP" >&6; }
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2462 $as_echo "no" >&6; }
2467 if test -z "$ac_cv_prog_STRIP"; then
2469 # Extract the first word of "strip", so it can be a program name with args.
2470 set dummy strip
; ac_word
=$2
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2472 $as_echo_n "checking for $ac_word... " >&6; }
2473 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2474 $as_echo_n "(cached) " >&6
2476 if test -n "$ac_ct_STRIP"; then
2477 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2483 test -z "$as_dir" && as_dir
=.
2484 for ac_exec_ext
in '' $ac_executable_extensions; do
2485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2486 ac_cv_prog_ac_ct_STRIP
="strip"
2487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2496 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2497 if test -n "$ac_ct_STRIP"; then
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2499 $as_echo "$ac_ct_STRIP" >&6; }
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2502 $as_echo "no" >&6; }
2505 if test "x$ac_ct_STRIP" = x
; then
2508 case $cross_compiling:$ac_tool_warned in
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2512 ac_tool_warned
=yes ;;
2517 STRIP
="$ac_cv_prog_STRIP"
2521 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2524 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2525 if test -z "$MKDIR_P"; then
2526 if test "${ac_cv_path_mkdir+set}" = set; then :
2527 $as_echo_n "(cached) " >&6
2529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2530 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2533 test -z "$as_dir" && as_dir
=.
2534 for ac_prog
in mkdir gmkdir
; do
2535 for ac_exec_ext
in '' $ac_executable_extensions; do
2536 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2537 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2538 'mkdir (GNU coreutils) '* | \
2539 'mkdir (coreutils) '* | \
2540 'mkdir (fileutils) '4.1*)
2541 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2551 test -d .
/--version && rmdir .
/--version
2552 if test "${ac_cv_path_mkdir+set}" = set; then
2553 MKDIR_P
="$ac_cv_path_mkdir -p"
2555 # As a last resort, use the slow shell script. Don't cache a
2556 # value for MKDIR_P within a source directory, because that will
2557 # break other packages using the cache if that directory is
2558 # removed, or if the value is a relative name.
2559 MKDIR_P
="$ac_install_sh -d"
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2563 $as_echo "$MKDIR_P" >&6; }
2567 [\\/$
]* | ?
:[\\/]*) ;;
2568 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2571 for ac_prog
in gawk mawk nawk
awk
2573 # Extract the first word of "$ac_prog", so it can be a program name with args.
2574 set dummy
$ac_prog; ac_word
=$2
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2576 $as_echo_n "checking for $ac_word... " >&6; }
2577 if test "${ac_cv_prog_AWK+set}" = set; then :
2578 $as_echo_n "(cached) " >&6
2580 if test -n "$AWK"; then
2581 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2587 test -z "$as_dir" && as_dir
=.
2588 for ac_exec_ext
in '' $ac_executable_extensions; do
2589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2590 ac_cv_prog_AWK
="$ac_prog"
2591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2601 if test -n "$AWK"; then
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2603 $as_echo "$AWK" >&6; }
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2606 $as_echo "no" >&6; }
2610 test -n "$AWK" && break
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2614 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2616 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2617 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2618 $as_echo_n "(cached) " >&6
2620 cat >conftest.
make <<\_ACEOF
2623 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2625 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2626 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2628 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2630 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2634 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2636 $as_echo "yes" >&6; }
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2640 $as_echo "no" >&6; }
2641 SET_MAKE
="MAKE=${MAKE-make}"
2644 rm -rf .tst
2>/dev
/null
2645 mkdir .tst
2>/dev
/null
2646 if test -d .tst
; then
2651 rmdir .tst
2>/dev
/null
2653 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2654 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2655 # is not polluted with repeated "-I."
2656 am__isrc
=' -I$(srcdir)'
2657 # test to see if srcdir already configured
2658 if test -f $srcdir/config.status
; then
2659 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2663 # test whether we have cygpath
2664 if test -z "$CYGPATH_W"; then
2665 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2666 CYGPATH_W
='cygpath -w'
2673 # Define the identity of the package.
2678 cat >>confdefs.h
<<_ACEOF
2679 #define PACKAGE "$PACKAGE"
2683 cat >>confdefs.h
<<_ACEOF
2684 #define VERSION "$VERSION"
2687 # Some tools Automake needs.
2689 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2692 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2695 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2698 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2701 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2703 # We need awk for the "check" target. The system "awk" is bad on
2705 # Always define AMTAR for backward compatibility.
2707 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2709 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2717 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2718 # Check whether --enable-maintainer-mode was given.
2719 if test "${enable_maintainer_mode+set}" = set; then :
2720 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2722 USE_MAINTAINER_MODE
=no
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2726 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2727 if test $USE_MAINTAINER_MODE = yes; then
2728 MAINTAINER_MODE_TRUE
=
2729 MAINTAINER_MODE_FALSE
='#'
2731 MAINTAINER_MODE_TRUE
='#'
2732 MAINTAINER_MODE_FALSE
=
2735 MAINT
=$MAINTAINER_MODE_TRUE
2740 DEPDIR
="${am__leading_dot}deps"
2742 ac_config_commands
="$ac_config_commands depfiles"
2745 am_make
=${MAKE-make}
2746 cat > confinc
<< 'END'
2748 @
echo this is the am__doit target
2751 # If we don't find an include directive, just comment out the code.
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2753 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2757 # First try GNU make style include.
2758 echo "include confinc" > confmf
2759 # Ignore all kinds of additional output from `make'.
2760 case `$am_make -s -f confmf 2> /dev/null` in #(
2761 *the\ am__doit\ target
*)
2767 # Now try BSD make style include.
2768 if test "$am__include" = "#"; then
2769 echo '.include "confinc"' > confmf
2770 case `$am_make -s -f confmf 2> /dev/null` in #(
2771 *the\ am__doit\ target
*)
2772 am__include
=.include
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2781 $as_echo "$_am_result" >&6; }
2782 rm -f confinc confmf
2784 # Check whether --enable-dependency-tracking was given.
2785 if test "${enable_dependency_tracking+set}" = set; then :
2786 enableval
=$enable_dependency_tracking;
2789 if test "x$enable_dependency_tracking" != xno
; then
2790 am_depcomp
="$ac_aux_dir/depcomp"
2793 if test "x$enable_dependency_tracking" != xno; then
2803 ac_cpp
='$CPP $CPPFLAGS'
2804 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2805 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2806 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2807 if test -n "$ac_tool_prefix"; then
2808 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2809 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2811 $as_echo_n "checking for $ac_word... " >&6; }
2812 if test "${ac_cv_prog_CC+set}" = set; then :
2813 $as_echo_n "(cached) " >&6
2815 if test -n "$CC"; then
2816 ac_cv_prog_CC
="$CC" # Let the user override the test.
2818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2822 test -z "$as_dir" && as_dir
=.
2823 for ac_exec_ext
in '' $ac_executable_extensions; do
2824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2825 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2836 if test -n "$CC"; then
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2838 $as_echo "$CC" >&6; }
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2841 $as_echo "no" >&6; }
2846 if test -z "$ac_cv_prog_CC"; then
2848 # Extract the first word of "gcc", so it can be a program name with args.
2849 set dummy gcc
; ac_word
=$2
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2851 $as_echo_n "checking for $ac_word... " >&6; }
2852 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2853 $as_echo_n "(cached) " >&6
2855 if test -n "$ac_ct_CC"; then
2856 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2862 test -z "$as_dir" && as_dir
=.
2863 for ac_exec_ext
in '' $ac_executable_extensions; do
2864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2865 ac_cv_prog_ac_ct_CC
="gcc"
2866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2875 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2876 if test -n "$ac_ct_CC"; then
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2878 $as_echo "$ac_ct_CC" >&6; }
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2881 $as_echo "no" >&6; }
2884 if test "x$ac_ct_CC" = x
; then
2887 case $cross_compiling:$ac_tool_warned in
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2891 ac_tool_warned
=yes ;;
2899 if test -z "$CC"; then
2900 if test -n "$ac_tool_prefix"; then
2901 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2902 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904 $as_echo_n "checking for $ac_word... " >&6; }
2905 if test "${ac_cv_prog_CC+set}" = set; then :
2906 $as_echo_n "(cached) " >&6
2908 if test -n "$CC"; then
2909 ac_cv_prog_CC
="$CC" # Let the user override the test.
2911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2915 test -z "$as_dir" && as_dir
=.
2916 for ac_exec_ext
in '' $ac_executable_extensions; do
2917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2918 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 if test -n "$CC"; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2931 $as_echo "$CC" >&6; }
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934 $as_echo "no" >&6; }
2940 if test -z "$CC"; then
2941 # Extract the first word of "cc", so it can be a program name with args.
2942 set dummy cc
; ac_word
=$2
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944 $as_echo_n "checking for $ac_word... " >&6; }
2945 if test "${ac_cv_prog_CC+set}" = set; then :
2946 $as_echo_n "(cached) " >&6
2948 if test -n "$CC"; then
2949 ac_cv_prog_CC
="$CC" # Let the user override the test.
2952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2956 test -z "$as_dir" && as_dir
=.
2957 for ac_exec_ext
in '' $ac_executable_extensions; do
2958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2959 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2960 ac_prog_rejected
=yes
2964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2971 if test $ac_prog_rejected = yes; then
2972 # We found a bogon in the path, so make sure we never use it.
2973 set dummy
$ac_cv_prog_CC
2975 if test $# != 0; then
2976 # We chose a different compiler from the bogus one.
2977 # However, it has the same basename, so the bogon will be chosen
2978 # first if we set CC to just the basename; use the full file name.
2980 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2986 if test -n "$CC"; then
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2988 $as_echo "$CC" >&6; }
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 $as_echo "no" >&6; }
2996 if test -z "$CC"; then
2997 if test -n "$ac_tool_prefix"; then
2998 for ac_prog
in cl.exe
3000 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3001 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003 $as_echo_n "checking for $ac_word... " >&6; }
3004 if test "${ac_cv_prog_CC+set}" = set; then :
3005 $as_echo_n "(cached) " >&6
3007 if test -n "$CC"; then
3008 ac_cv_prog_CC
="$CC" # Let the user override the test.
3010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3014 test -z "$as_dir" && as_dir
=.
3015 for ac_exec_ext
in '' $ac_executable_extensions; do
3016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3017 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3028 if test -n "$CC"; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3030 $as_echo "$CC" >&6; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3037 test -n "$CC" && break
3040 if test -z "$CC"; then
3042 for ac_prog
in cl.exe
3044 # Extract the first word of "$ac_prog", so it can be a program name with args.
3045 set dummy
$ac_prog; ac_word
=$2
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3047 $as_echo_n "checking for $ac_word... " >&6; }
3048 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3049 $as_echo_n "(cached) " >&6
3051 if test -n "$ac_ct_CC"; then
3052 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3058 test -z "$as_dir" && as_dir
=.
3059 for ac_exec_ext
in '' $ac_executable_extensions; do
3060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3061 ac_cv_prog_ac_ct_CC
="$ac_prog"
3062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3071 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3072 if test -n "$ac_ct_CC"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3074 $as_echo "$ac_ct_CC" >&6; }
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3081 test -n "$ac_ct_CC" && break
3084 if test "x$ac_ct_CC" = x
; then
3087 case $cross_compiling:$ac_tool_warned in
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3091 ac_tool_warned
=yes ;;
3100 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3102 as_fn_error
"no acceptable C compiler found in \$PATH
3103 See \`config.log' for more details." "$LINENO" 5; }
3105 # Provide some information about the compiler.
3106 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3109 for ac_option
in --version -v -V -qversion; do
3110 { { ac_try
="$ac_compiler $ac_option >&5"
3112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3116 $as_echo "$ac_try_echo"; } >&5
3117 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3119 if test -s conftest.err; then
3121 ... rest of stderr output deleted ...
3122 10q' conftest.err >conftest.er1
3123 cat conftest.er1 >&5
3125 rm -f conftest.er1 conftest.err
3126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3127 test $ac_status = 0; }
3130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3131 /* end confdefs.h. */
3141 ac_clean_files_save=$ac_clean_files
3142 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3143 # Try to create an executable without -o first, disregard a.out.
3144 # It will help us diagnose broken compilers, and finding out an intuition
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3147 $as_echo_n "checking whether the C compiler works... " >&6; }
3148 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3150 # The possible output files:
3151 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3154 for ac_file in $ac_files
3157 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3158 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3163 if { { ac_try="$ac_link_default"
3165 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3166 *) ac_try_echo
=$ac_try;;
3168 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3169 $as_echo "$ac_try_echo"; } >&5
3170 (eval "$ac_link_default") 2>&5
3172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3173 test $ac_status = 0; }; then :
3174 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3175 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3176 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3177 # so that the user can short-circuit this test for compilers unknown to
3179 for ac_file
in $ac_files ''
3181 test -f "$ac_file" ||
continue
3183 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3186 # We found the default executable, but exeext='' is most
3190 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3192 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3194 # We set ac_cv_exeext here because the later test for it is not
3195 # safe: cross compilers may not add the suffix if given an `-o'
3196 # argument, so we may need to know it at that point already.
3197 # Even if this section looks crufty: it has the advantage of
3204 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3209 if test -z "$ac_file"; then :
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211 $as_echo "no" >&6; }
3212 $as_echo "$as_me: failed program was:" >&5
3213 sed 's/^/| /' conftest.
$ac_ext >&5
3215 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3216 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3217 { as_fn_set_status
77
3218 as_fn_error
"C compiler cannot create executables
3219 See \`config.log' for more details." "$LINENO" 5; }; }
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3222 $as_echo "yes" >&6; }
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3225 $as_echo_n "checking for C compiler default output file name... " >&6; }
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3227 $as_echo "$ac_file" >&6; }
3228 ac_exeext
=$ac_cv_exeext
3230 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3231 ac_clean_files
=$ac_clean_files_save
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3233 $as_echo_n "checking for suffix of executables... " >&6; }
3234 if { { ac_try
="$ac_link"
3236 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3237 *) ac_try_echo=$ac_try;;
3239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3240 $as_echo "$ac_try_echo"; } >&5
3241 (eval "$ac_link") 2>&5
3243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3244 test $ac_status = 0; }; then :
3245 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3246 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3247 # work properly (i.e., refer to `conftest.exe'), while it won't with
3249 for ac_file
in conftest.exe conftest conftest.
*; do
3250 test -f "$ac_file" ||
continue
3252 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3253 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3261 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3262 See \`config.log' for more details." "$LINENO" 5; }
3264 rm -f conftest conftest
$ac_cv_exeext
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3266 $as_echo "$ac_cv_exeext" >&6; }
3268 rm -f conftest.
$ac_ext
3269 EXEEXT
=$ac_cv_exeext
3271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3272 /* end confdefs.h. */
3277 FILE *f = fopen ("conftest.out", "w");
3278 return ferror (f) || fclose (f) != 0;
3284 ac_clean_files
="$ac_clean_files conftest.out"
3285 # Check that the compiler produces executables we can run. If not, either
3286 # the compiler is broken, or we cross compile.
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3288 $as_echo_n "checking whether we are cross compiling... " >&6; }
3289 if test "$cross_compiling" != yes; then
3290 { { ac_try
="$ac_link"
3292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3293 *) ac_try_echo=$ac_try;;
3295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3296 $as_echo "$ac_try_echo"; } >&5
3297 (eval "$ac_link") 2>&5
3299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3300 test $ac_status = 0; }
3301 if { ac_try='./conftest$ac_cv_exeext'
3302 { { case "(($ac_try" in
3303 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3304 *) ac_try_echo
=$ac_try;;
3306 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3307 $as_echo "$ac_try_echo"; } >&5
3308 (eval "$ac_try") 2>&5
3310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3311 test $ac_status = 0; }; }; then
3314 if test "$cross_compiling" = maybe
; then
3317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3319 as_fn_error
"cannot run C compiled programs.
3320 If you meant to cross compile, use \`--host'.
3321 See \`config.log' for more details." "$LINENO" 5; }
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3326 $as_echo "$cross_compiling" >&6; }
3328 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3329 ac_clean_files
=$ac_clean_files_save
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3331 $as_echo_n "checking for suffix of object files... " >&6; }
3332 if test "${ac_cv_objext+set}" = set; then :
3333 $as_echo_n "(cached) " >&6
3335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3336 /* end confdefs.h. */
3346 rm -f conftest.o conftest.obj
3347 if { { ac_try
="$ac_compile"
3349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3350 *) ac_try_echo=$ac_try;;
3352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3353 $as_echo "$ac_try_echo"; } >&5
3354 (eval "$ac_compile") 2>&5
3356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3357 test $ac_status = 0; }; then :
3358 for ac_file in conftest.o conftest.obj conftest.*; do
3359 test -f "$ac_file" || continue;
3361 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3362 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3367 $as_echo "$as_me: failed program was:" >&5
3368 sed 's/^/| /' conftest.$ac_ext >&5
3370 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3372 as_fn_error "cannot compute suffix of object files
: cannot compile
3373 See \
`config.log' for more details." "$LINENO" 5; }
3375 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3378 $as_echo "$ac_cv_objext" >&6; }
3379 OBJEXT=$ac_cv_objext
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3382 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3383 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3384 $as_echo_n "(cached) " >&6
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3400 if ac_fn_c_try_compile "$LINENO"; then :
3405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3406 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3410 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3411 if test $ac_compiler_gnu = yes; then
3416 ac_test_CFLAGS=${CFLAGS+set}
3417 ac_save_CFLAGS=$CFLAGS
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3419 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3420 if test "${ac_cv_prog_cc_g+set}" = set; then :
3421 $as_echo_n "(cached) " >&6
3423 ac_save_c_werror_flag=$ac_c_werror_flag
3424 ac_c_werror_flag=yes
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3438 if ac_fn_c_try_compile "$LINENO"; then :
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3453 if ac_fn_c_try_compile "$LINENO"; then :
3456 ac_c_werror_flag=$ac_save_c_werror_flag
3458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 /* end confdefs.h. */
3469 if ac_fn_c_try_compile "$LINENO"; then :
3472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477 ac_c_werror_flag=$ac_save_c_werror_flag
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3480 $as_echo "$ac_cv_prog_cc_g" >&6; }
3481 if test "$ac_test_CFLAGS" = set; then
3482 CFLAGS=$ac_save_CFLAGS
3483 elif test $ac_cv_prog_cc_g = yes; then
3484 if test "$GCC" = yes; then
3490 if test "$GCC" = yes; then
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3497 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3498 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3499 $as_echo_n "(cached) " >&6
3501 ac_cv_prog_cc_c89=no
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3507 #include <sys/types.h>
3508 #include <sys/stat.h>
3509 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3510 struct buf { int x; };
3511 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3512 static char *e (p, i)
3518 static char *f (char * (*g) (char **, int), char **p, ...)
3523 s = g (p, va_arg (v,int));
3528 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3529 function prototypes and stuff, but not '\xHH' hex character constants.
3530 These don't provoke an error unfortunately, instead are silently treated
3531 as 'x'. The following induces an error, until -std is added to get
3532 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3533 array size at least. It's necessary to write '\x00'==0 to get something
3534 that's true only with -std. */
3535 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3537 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3538 inside strings and character constants. */
3540 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3542 int test (int i, double x);
3543 struct s1 {int (*f) (int a);};
3544 struct s2 {int (*f) (double a);};
3545 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3551 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3556 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3557 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3559 CC="$ac_save_CC $ac_arg"
3560 if ac_fn_c_try_compile "$LINENO"; then :
3561 ac_cv_prog_cc_c89=$ac_arg
3563 rm -f core conftest.err conftest.$ac_objext
3564 test "x$ac_cv_prog_cc_c89" != "xno" && break
3566 rm -f conftest.$ac_ext
3571 case "x$ac_cv_prog_cc_c89" in
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3574 $as_echo "none needed" >&6; } ;;
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3577 $as_echo "unsupported" >&6; } ;;
3579 CC="$CC $ac_cv_prog_cc_c89"
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3581 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3583 if test "x$ac_cv_prog_cc_c89" != xno; then :
3588 ac_cpp='$CPP $CPPFLAGS'
3589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3593 depcc="$CC" am_compiler_list=
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3596 $as_echo_n "checking dependency style of $depcc... " >&6; }
3597 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3598 $as_echo_n "(cached) " >&6
3600 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3601 # We make a subdir and do the tests there. Otherwise we can end up
3602 # making bogus files that we don't know about and never remove. For
3603 # instance it was reported that on HP-UX the gcc test will end up
3604 # making a dummy file named `D
' -- because `-MD' means
`put the output
3607 # Copy depcomp to subdir because otherwise we won't find it if we're
3608 # using a relative directory.
3609 cp "$am_depcomp" conftest.dir
3611 # We will build objects and dependencies in a subdirectory because
3612 # it helps to detect inapplicable dependency modes. For instance
3613 # both Tru64's cc and ICC support -MD to output dependencies as a
3614 # side effect of compilation, but ICC will put the dependencies in
3615 # the current directory while Tru64 will put them in the object
3619 am_cv_CC_dependencies_compiler_type=none
3620 if test "$am_compiler_list" = ""; then
3621 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3624 case " $depcc " in #(
3625 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3628 for depmode in $am_compiler_list; do
3629 # Setup a source with many dependencies, because some compilers
3630 # like to wrap large dependency lists on column 80 (with \), and
3631 # we should not choose a depcomp mode which is confused by this.
3633 # We need to recreate these files for each test, as the compiler may
3634 # overwrite some of them when testing with obscure command lines.
3635 # This happens at least with the AIX C compiler.
3637 for i in 1 2 3 4 5 6; do
3638 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3639 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
3640 # Solaris 8's
{/usr
,}/bin
/sh.
3641 touch sub
/conftst
$i.h
3643 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3645 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3646 # mode. It turns out that the SunPro C++ compiler does not properly
3647 # handle `-M -o', and we need to detect this. Also, some Intel
3648 # versions had trouble with output in subdirs
3649 am__obj
=sub
/conftest.
${OBJEXT-o}
3650 am__minus_obj
="-o $am__obj"
3653 # This depmode causes a compiler race in universal mode.
3654 test "$am__universal" = false ||
continue
3657 # after this tag, mechanisms are not by side-effect, so they'll
3658 # only be used when explicitly requested
3659 if test "x$enable_dependency_tracking" = xyes
; then
3665 msvisualcpp | msvcmsys
)
3666 # This compiler won't grok `-c -o', but also, the minuso test has
3667 # not run yet. These depmodes are late enough in the game, and
3668 # so weak that their functioning should not be impacted.
3669 am__obj
=conftest.
${OBJEXT-o}
3674 if depmode
=$depmode \
3675 source=sub
/conftest.c object
=$am__obj \
3676 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3677 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3678 >/dev
/null
2>conftest.err
&&
3679 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3680 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3681 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3682 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3683 # icc doesn't choke on unknown options, it will just issue warnings
3684 # or remarks (even with -Werror). So we grep stderr for any message
3685 # that says an option was ignored or not supported.
3686 # When given -MP, icc 7.0 and 7.1 complain thusly:
3687 # icc: Command line warning: ignoring option '-M'; no argument required
3688 # The diagnosis changed in icc 8.0:
3689 # icc: Command line remark: option '-MP' not supported
3690 if (grep 'ignoring option' conftest.err ||
3691 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3692 am_cv_CC_dependencies_compiler_type
=$depmode
3701 am_cv_CC_dependencies_compiler_type
=none
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3706 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3707 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3710 test "x$enable_dependency_tracking" != xno \
3711 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3713 am__fastdepCC_FALSE
='#'
3715 am__fastdepCC_TRUE
='#'
3716 am__fastdepCC_FALSE
=
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3722 $as_echo_n "checking for library containing strerror... " >&6; }
3723 if test "${ac_cv_search_strerror+set}" = set; then :
3724 $as_echo_n "(cached) " >&6
3726 ac_func_search_save_LIBS
=$LIBS
3727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3728 /* end confdefs.h. */
3730 /* Override any GCC internal prototype to avoid an error.
3731 Use char because int might match the return type of a GCC
3732 builtin and then its argument prototype would still apply. */
3745 for ac_lib
in '' cposix
; do
3746 if test -z "$ac_lib"; then
3747 ac_res
="none required"
3750 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3752 if ac_fn_c_try_link
"$LINENO"; then :
3753 ac_cv_search_strerror
=$ac_res
3755 rm -f core conftest.err conftest.
$ac_objext \
3757 if test "${ac_cv_search_strerror+set}" = set; then :
3761 if test "${ac_cv_search_strerror+set}" = set; then :
3764 ac_cv_search_strerror
=no
3767 LIBS
=$ac_func_search_save_LIBS
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3770 $as_echo "$ac_cv_search_strerror" >&6; }
3771 ac_res
=$ac_cv_search_strerror
3772 if test "$ac_res" != no
; then :
3773 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3778 ac_cpp
='$CPP $CPPFLAGS'
3779 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3780 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3781 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3782 if test -n "$ac_tool_prefix"; then
3783 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3784 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3786 $as_echo_n "checking for $ac_word... " >&6; }
3787 if test "${ac_cv_prog_CC+set}" = set; then :
3788 $as_echo_n "(cached) " >&6
3790 if test -n "$CC"; then
3791 ac_cv_prog_CC
="$CC" # Let the user override the test.
3793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3797 test -z "$as_dir" && as_dir
=.
3798 for ac_exec_ext
in '' $ac_executable_extensions; do
3799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3800 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3811 if test -n "$CC"; then
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3813 $as_echo "$CC" >&6; }
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816 $as_echo "no" >&6; }
3821 if test -z "$ac_cv_prog_CC"; then
3823 # Extract the first word of "gcc", so it can be a program name with args.
3824 set dummy gcc
; ac_word
=$2
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3826 $as_echo_n "checking for $ac_word... " >&6; }
3827 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3828 $as_echo_n "(cached) " >&6
3830 if test -n "$ac_ct_CC"; then
3831 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3837 test -z "$as_dir" && as_dir
=.
3838 for ac_exec_ext
in '' $ac_executable_extensions; do
3839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3840 ac_cv_prog_ac_ct_CC
="gcc"
3841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3851 if test -n "$ac_ct_CC"; then
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3853 $as_echo "$ac_ct_CC" >&6; }
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3856 $as_echo "no" >&6; }
3859 if test "x$ac_ct_CC" = x
; then
3862 case $cross_compiling:$ac_tool_warned in
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3866 ac_tool_warned
=yes ;;
3874 if test -z "$CC"; then
3875 if test -n "$ac_tool_prefix"; then
3876 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3877 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3879 $as_echo_n "checking for $ac_word... " >&6; }
3880 if test "${ac_cv_prog_CC+set}" = set; then :
3881 $as_echo_n "(cached) " >&6
3883 if test -n "$CC"; then
3884 ac_cv_prog_CC
="$CC" # Let the user override the test.
3886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3890 test -z "$as_dir" && as_dir
=.
3891 for ac_exec_ext
in '' $ac_executable_extensions; do
3892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3893 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3904 if test -n "$CC"; then
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3906 $as_echo "$CC" >&6; }
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3909 $as_echo "no" >&6; }
3915 if test -z "$CC"; then
3916 # Extract the first word of "cc", so it can be a program name with args.
3917 set dummy cc
; ac_word
=$2
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3919 $as_echo_n "checking for $ac_word... " >&6; }
3920 if test "${ac_cv_prog_CC+set}" = set; then :
3921 $as_echo_n "(cached) " >&6
3923 if test -n "$CC"; then
3924 ac_cv_prog_CC
="$CC" # Let the user override the test.
3927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3931 test -z "$as_dir" && as_dir
=.
3932 for ac_exec_ext
in '' $ac_executable_extensions; do
3933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3934 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3935 ac_prog_rejected
=yes
3939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3946 if test $ac_prog_rejected = yes; then
3947 # We found a bogon in the path, so make sure we never use it.
3948 set dummy
$ac_cv_prog_CC
3950 if test $# != 0; then
3951 # We chose a different compiler from the bogus one.
3952 # However, it has the same basename, so the bogon will be chosen
3953 # first if we set CC to just the basename; use the full file name.
3955 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3961 if test -n "$CC"; then
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3963 $as_echo "$CC" >&6; }
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 $as_echo "no" >&6; }
3971 if test -z "$CC"; then
3972 if test -n "$ac_tool_prefix"; then
3973 for ac_prog
in cl.exe
3975 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3976 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3978 $as_echo_n "checking for $ac_word... " >&6; }
3979 if test "${ac_cv_prog_CC+set}" = set; then :
3980 $as_echo_n "(cached) " >&6
3982 if test -n "$CC"; then
3983 ac_cv_prog_CC
="$CC" # Let the user override the test.
3985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3989 test -z "$as_dir" && as_dir
=.
3990 for ac_exec_ext
in '' $ac_executable_extensions; do
3991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3992 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4003 if test -n "$CC"; then
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4005 $as_echo "$CC" >&6; }
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4008 $as_echo "no" >&6; }
4012 test -n "$CC" && break
4015 if test -z "$CC"; then
4017 for ac_prog
in cl.exe
4019 # Extract the first word of "$ac_prog", so it can be a program name with args.
4020 set dummy
$ac_prog; ac_word
=$2
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4022 $as_echo_n "checking for $ac_word... " >&6; }
4023 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4024 $as_echo_n "(cached) " >&6
4026 if test -n "$ac_ct_CC"; then
4027 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4033 test -z "$as_dir" && as_dir
=.
4034 for ac_exec_ext
in '' $ac_executable_extensions; do
4035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4036 ac_cv_prog_ac_ct_CC
="$ac_prog"
4037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4046 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4047 if test -n "$ac_ct_CC"; then
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4049 $as_echo "$ac_ct_CC" >&6; }
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4052 $as_echo "no" >&6; }
4056 test -n "$ac_ct_CC" && break
4059 if test "x$ac_ct_CC" = x
; then
4062 case $cross_compiling:$ac_tool_warned in
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4066 ac_tool_warned
=yes ;;
4075 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4077 as_fn_error
"no acceptable C compiler found in \$PATH
4078 See \`config.log' for more details." "$LINENO" 5; }
4080 # Provide some information about the compiler.
4081 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4084 for ac_option
in --version -v -V -qversion; do
4085 { { ac_try
="$ac_compiler $ac_option >&5"
4087 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4090 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4091 $as_echo "$ac_try_echo"; } >&5
4092 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4094 if test -s conftest.err; then
4096 ... rest of stderr output deleted ...
4097 10q' conftest.err >conftest.er1
4098 cat conftest.er1 >&5
4100 rm -f conftest.er1 conftest.err
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4106 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4107 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4108 $as_echo_n "(cached) " >&6
4110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4111 /* end confdefs.h. */
4124 if ac_fn_c_try_compile "$LINENO"; then :
4129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4130 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4134 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4135 if test $ac_compiler_gnu = yes; then
4140 ac_test_CFLAGS=${CFLAGS+set}
4141 ac_save_CFLAGS=$CFLAGS
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4143 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4144 if test "${ac_cv_prog_cc_g+set}" = set; then :
4145 $as_echo_n "(cached) " >&6
4147 ac_save_c_werror_flag=$ac_c_werror_flag
4148 ac_c_werror_flag=yes
4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4162 if ac_fn_c_try_compile "$LINENO"; then :
4166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4167 /* end confdefs.h. */
4177 if ac_fn_c_try_compile "$LINENO"; then :
4180 ac_c_werror_flag=$ac_save_c_werror_flag
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4193 if ac_fn_c_try_compile "$LINENO"; then :
4196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4201 ac_c_werror_flag=$ac_save_c_werror_flag
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4204 $as_echo "$ac_cv_prog_cc_g" >&6; }
4205 if test "$ac_test_CFLAGS" = set; then
4206 CFLAGS=$ac_save_CFLAGS
4207 elif test $ac_cv_prog_cc_g = yes; then
4208 if test "$GCC" = yes; then
4214 if test "$GCC" = yes; then
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4221 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4222 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4223 $as_echo_n "(cached) " >&6
4225 ac_cv_prog_cc_c89=no
4227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228 /* end confdefs.h. */
4231 #include <sys/types.h>
4232 #include <sys/stat.h>
4233 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4234 struct buf { int x; };
4235 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4236 static char *e (p, i)
4242 static char *f (char * (*g) (char **, int), char **p, ...)
4247 s = g (p, va_arg (v,int));
4252 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4253 function prototypes and stuff, but not '\xHH' hex character constants.
4254 These don't provoke an error unfortunately, instead are silently treated
4255 as 'x'. The following induces an error, until -std is added to get
4256 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4257 array size at least. It's necessary to write '\x00'==0 to get something
4258 that's true only with -std. */
4259 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4261 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4262 inside strings and character constants. */
4264 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4266 int test (int i, double x);
4267 struct s1 {int (*f) (int a);};
4268 struct s2 {int (*f) (double a);};
4269 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4275 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4280 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4281 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4283 CC="$ac_save_CC $ac_arg"
4284 if ac_fn_c_try_compile "$LINENO"; then :
4285 ac_cv_prog_cc_c89=$ac_arg
4287 rm -f core conftest.err conftest.$ac_objext
4288 test "x$ac_cv_prog_cc_c89" != "xno" && break
4290 rm -f conftest.$ac_ext
4295 case "x$ac_cv_prog_cc_c89" in
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4298 $as_echo "none needed" >&6; } ;;
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4301 $as_echo "unsupported" >&6; } ;;
4303 CC="$CC $ac_cv_prog_cc_c89"
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4305 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4307 if test "x$ac_cv_prog_cc_c89" != xno; then :
4312 ac_cpp='$CPP $CPPFLAGS'
4313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4317 depcc="$CC" am_compiler_list=
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4320 $as_echo_n "checking dependency style of $depcc... " >&6; }
4321 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4322 $as_echo_n "(cached) " >&6
4324 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4325 # We make a subdir and do the tests there. Otherwise we can end up
4326 # making bogus files that we don't know about and never remove. For
4327 # instance it was reported that on HP-UX the gcc test will end up
4328 # making a dummy file named `D
' -- because `-MD' means
`put the output
4331 # Copy depcomp to subdir because otherwise we won't find it if we're
4332 # using a relative directory.
4333 cp "$am_depcomp" conftest.dir
4335 # We will build objects and dependencies in a subdirectory because
4336 # it helps to detect inapplicable dependency modes. For instance
4337 # both Tru64's cc and ICC support -MD to output dependencies as a
4338 # side effect of compilation, but ICC will put the dependencies in
4339 # the current directory while Tru64 will put them in the object
4343 am_cv_CC_dependencies_compiler_type=none
4344 if test "$am_compiler_list" = ""; then
4345 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4348 case " $depcc " in #(
4349 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4352 for depmode in $am_compiler_list; do
4353 # Setup a source with many dependencies, because some compilers
4354 # like to wrap large dependency lists on column 80 (with \), and
4355 # we should not choose a depcomp mode which is confused by this.
4357 # We need to recreate these files for each test, as the compiler may
4358 # overwrite some of them when testing with obscure command lines.
4359 # This happens at least with the AIX C compiler.
4361 for i in 1 2 3 4 5 6; do
4362 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4363 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4364 # Solaris 8's
{/usr
,}/bin
/sh.
4365 touch sub
/conftst
$i.h
4367 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4369 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4370 # mode. It turns out that the SunPro C++ compiler does not properly
4371 # handle `-M -o', and we need to detect this. Also, some Intel
4372 # versions had trouble with output in subdirs
4373 am__obj
=sub
/conftest.
${OBJEXT-o}
4374 am__minus_obj
="-o $am__obj"
4377 # This depmode causes a compiler race in universal mode.
4378 test "$am__universal" = false ||
continue
4381 # after this tag, mechanisms are not by side-effect, so they'll
4382 # only be used when explicitly requested
4383 if test "x$enable_dependency_tracking" = xyes
; then
4389 msvisualcpp | msvcmsys
)
4390 # This compiler won't grok `-c -o', but also, the minuso test has
4391 # not run yet. These depmodes are late enough in the game, and
4392 # so weak that their functioning should not be impacted.
4393 am__obj
=conftest.
${OBJEXT-o}
4398 if depmode
=$depmode \
4399 source=sub
/conftest.c object
=$am__obj \
4400 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4401 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4402 >/dev
/null
2>conftest.err
&&
4403 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4404 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4405 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4406 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4407 # icc doesn't choke on unknown options, it will just issue warnings
4408 # or remarks (even with -Werror). So we grep stderr for any message
4409 # that says an option was ignored or not supported.
4410 # When given -MP, icc 7.0 and 7.1 complain thusly:
4411 # icc: Command line warning: ignoring option '-M'; no argument required
4412 # The diagnosis changed in icc 8.0:
4413 # icc: Command line remark: option '-MP' not supported
4414 if (grep 'ignoring option' conftest.err ||
4415 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4416 am_cv_CC_dependencies_compiler_type
=$depmode
4425 am_cv_CC_dependencies_compiler_type
=none
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4430 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4431 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4434 test "x$enable_dependency_tracking" != xno \
4435 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4437 am__fastdepCC_FALSE
='#'
4439 am__fastdepCC_TRUE
='#'
4440 am__fastdepCC_FALSE
=
4445 ac_cpp
='$CPP $CPPFLAGS'
4446 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4447 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4448 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4449 if test -n "$ac_tool_prefix"; then
4450 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4451 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453 $as_echo_n "checking for $ac_word... " >&6; }
4454 if test "${ac_cv_prog_CC+set}" = set; then :
4455 $as_echo_n "(cached) " >&6
4457 if test -n "$CC"; then
4458 ac_cv_prog_CC
="$CC" # Let the user override the test.
4460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4464 test -z "$as_dir" && as_dir
=.
4465 for ac_exec_ext
in '' $ac_executable_extensions; do
4466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4467 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 if test -n "$CC"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4480 $as_echo "$CC" >&6; }
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4488 if test -z "$ac_cv_prog_CC"; then
4490 # Extract the first word of "gcc", so it can be a program name with args.
4491 set dummy gcc
; ac_word
=$2
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4493 $as_echo_n "checking for $ac_word... " >&6; }
4494 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4495 $as_echo_n "(cached) " >&6
4497 if test -n "$ac_ct_CC"; then
4498 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4504 test -z "$as_dir" && as_dir
=.
4505 for ac_exec_ext
in '' $ac_executable_extensions; do
4506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4507 ac_cv_prog_ac_ct_CC
="gcc"
4508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4517 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4518 if test -n "$ac_ct_CC"; then
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4520 $as_echo "$ac_ct_CC" >&6; }
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4523 $as_echo "no" >&6; }
4526 if test "x$ac_ct_CC" = x
; then
4529 case $cross_compiling:$ac_tool_warned in
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4533 ac_tool_warned
=yes ;;
4541 if test -z "$CC"; then
4542 if test -n "$ac_tool_prefix"; then
4543 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4544 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4546 $as_echo_n "checking for $ac_word... " >&6; }
4547 if test "${ac_cv_prog_CC+set}" = set; then :
4548 $as_echo_n "(cached) " >&6
4550 if test -n "$CC"; then
4551 ac_cv_prog_CC
="$CC" # Let the user override the test.
4553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4557 test -z "$as_dir" && as_dir
=.
4558 for ac_exec_ext
in '' $ac_executable_extensions; do
4559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4560 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 if test -n "$CC"; then
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4573 $as_echo "$CC" >&6; }
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4576 $as_echo "no" >&6; }
4582 if test -z "$CC"; then
4583 # Extract the first word of "cc", so it can be a program name with args.
4584 set dummy cc
; ac_word
=$2
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4586 $as_echo_n "checking for $ac_word... " >&6; }
4587 if test "${ac_cv_prog_CC+set}" = set; then :
4588 $as_echo_n "(cached) " >&6
4590 if test -n "$CC"; then
4591 ac_cv_prog_CC
="$CC" # Let the user override the test.
4594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4598 test -z "$as_dir" && as_dir
=.
4599 for ac_exec_ext
in '' $ac_executable_extensions; do
4600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4601 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4602 ac_prog_rejected
=yes
4606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4613 if test $ac_prog_rejected = yes; then
4614 # We found a bogon in the path, so make sure we never use it.
4615 set dummy
$ac_cv_prog_CC
4617 if test $# != 0; then
4618 # We chose a different compiler from the bogus one.
4619 # However, it has the same basename, so the bogon will be chosen
4620 # first if we set CC to just the basename; use the full file name.
4622 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4628 if test -n "$CC"; then
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4630 $as_echo "$CC" >&6; }
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4633 $as_echo "no" >&6; }
4638 if test -z "$CC"; then
4639 if test -n "$ac_tool_prefix"; then
4640 for ac_prog
in cl.exe
4642 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4643 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4645 $as_echo_n "checking for $ac_word... " >&6; }
4646 if test "${ac_cv_prog_CC+set}" = set; then :
4647 $as_echo_n "(cached) " >&6
4649 if test -n "$CC"; then
4650 ac_cv_prog_CC
="$CC" # Let the user override the test.
4652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4656 test -z "$as_dir" && as_dir
=.
4657 for ac_exec_ext
in '' $ac_executable_extensions; do
4658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4659 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4670 if test -n "$CC"; then
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4672 $as_echo "$CC" >&6; }
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4675 $as_echo "no" >&6; }
4679 test -n "$CC" && break
4682 if test -z "$CC"; then
4684 for ac_prog
in cl.exe
4686 # Extract the first word of "$ac_prog", so it can be a program name with args.
4687 set dummy
$ac_prog; ac_word
=$2
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689 $as_echo_n "checking for $ac_word... " >&6; }
4690 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4691 $as_echo_n "(cached) " >&6
4693 if test -n "$ac_ct_CC"; then
4694 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4700 test -z "$as_dir" && as_dir
=.
4701 for ac_exec_ext
in '' $ac_executable_extensions; do
4702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4703 ac_cv_prog_ac_ct_CC
="$ac_prog"
4704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4713 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4714 if test -n "$ac_ct_CC"; then
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4716 $as_echo "$ac_ct_CC" >&6; }
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 $as_echo "no" >&6; }
4723 test -n "$ac_ct_CC" && break
4726 if test "x$ac_ct_CC" = x
; then
4729 case $cross_compiling:$ac_tool_warned in
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4732 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4733 ac_tool_warned
=yes ;;
4742 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4744 as_fn_error
"no acceptable C compiler found in \$PATH
4745 See \`config.log' for more details." "$LINENO" 5; }
4747 # Provide some information about the compiler.
4748 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4751 for ac_option
in --version -v -V -qversion; do
4752 { { ac_try
="$ac_compiler $ac_option >&5"
4754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4755 *) ac_try_echo=$ac_try;;
4757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4758 $as_echo "$ac_try_echo"; } >&5
4759 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4761 if test -s conftest.err; then
4763 ... rest of stderr output deleted ...
4764 10q' conftest.err >conftest.er1
4765 cat conftest.er1 >&5
4767 rm -f conftest.er1 conftest.err
4768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4769 test $ac_status = 0; }
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4773 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4774 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4775 $as_echo_n "(cached) " >&6
4777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4778 /* end confdefs.h. */
4791 if ac_fn_c_try_compile "$LINENO"; then :
4796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4797 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4801 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4802 if test $ac_compiler_gnu = yes; then
4807 ac_test_CFLAGS=${CFLAGS+set}
4808 ac_save_CFLAGS=$CFLAGS
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4810 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4811 if test "${ac_cv_prog_cc_g+set}" = set; then :
4812 $as_echo_n "(cached) " >&6
4814 ac_save_c_werror_flag=$ac_c_werror_flag
4815 ac_c_werror_flag=yes
4818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4819 /* end confdefs.h. */
4829 if ac_fn_c_try_compile "$LINENO"; then :
4833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4834 /* end confdefs.h. */
4844 if ac_fn_c_try_compile "$LINENO"; then :
4847 ac_c_werror_flag=$ac_save_c_werror_flag
4849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850 /* end confdefs.h. */
4860 if ac_fn_c_try_compile "$LINENO"; then :
4863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4868 ac_c_werror_flag=$ac_save_c_werror_flag
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4871 $as_echo "$ac_cv_prog_cc_g" >&6; }
4872 if test "$ac_test_CFLAGS" = set; then
4873 CFLAGS=$ac_save_CFLAGS
4874 elif test $ac_cv_prog_cc_g = yes; then
4875 if test "$GCC" = yes; then
4881 if test "$GCC" = yes; then
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4888 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4889 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4890 $as_echo_n "(cached) " >&6
4892 ac_cv_prog_cc_c89=no
4894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h. */
4898 #include <sys/types.h>
4899 #include <sys/stat.h>
4900 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4901 struct buf { int x; };
4902 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4903 static char *e (p, i)
4909 static char *f (char * (*g) (char **, int), char **p, ...)
4914 s = g (p, va_arg (v,int));
4919 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4920 function prototypes and stuff, but not '\xHH' hex character constants.
4921 These don't provoke an error unfortunately, instead are silently treated
4922 as 'x'. The following induces an error, until -std is added to get
4923 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4924 array size at least. It's necessary to write '\x00'==0 to get something
4925 that's true only with -std. */
4926 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4928 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4929 inside strings and character constants. */
4931 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4933 int test (int i, double x);
4934 struct s1 {int (*f) (int a);};
4935 struct s2 {int (*f) (double a);};
4936 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4942 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4947 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4948 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4950 CC="$ac_save_CC $ac_arg"
4951 if ac_fn_c_try_compile "$LINENO"; then :
4952 ac_cv_prog_cc_c89=$ac_arg
4954 rm -f core conftest.err conftest.$ac_objext
4955 test "x$ac_cv_prog_cc_c89" != "xno" && break
4957 rm -f conftest.$ac_ext
4962 case "x$ac_cv_prog_cc_c89" in
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4965 $as_echo "none needed" >&6; } ;;
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4968 $as_echo "unsupported" >&6; } ;;
4970 CC="$CC $ac_cv_prog_cc_c89"
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4972 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4974 if test "x$ac_cv_prog_cc_c89" != xno; then :
4979 ac_cpp='$CPP $CPPFLAGS'
4980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4984 depcc="$CC" am_compiler_list=
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4987 $as_echo_n "checking dependency style of $depcc... " >&6; }
4988 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4989 $as_echo_n "(cached) " >&6
4991 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4992 # We make a subdir and do the tests there. Otherwise we can end up
4993 # making bogus files that we don't know about and never remove. For
4994 # instance it was reported that on HP-UX the gcc test will end up
4995 # making a dummy file named `D
' -- because `-MD' means
`put the output
4998 # Copy depcomp to subdir because otherwise we won't find it if we're
4999 # using a relative directory.
5000 cp "$am_depcomp" conftest.dir
5002 # We will build objects and dependencies in a subdirectory because
5003 # it helps to detect inapplicable dependency modes. For instance
5004 # both Tru64's cc and ICC support -MD to output dependencies as a
5005 # side effect of compilation, but ICC will put the dependencies in
5006 # the current directory while Tru64 will put them in the object
5010 am_cv_CC_dependencies_compiler_type=none
5011 if test "$am_compiler_list" = ""; then
5012 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5015 case " $depcc " in #(
5016 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5019 for depmode in $am_compiler_list; do
5020 # Setup a source with many dependencies, because some compilers
5021 # like to wrap large dependency lists on column 80 (with \), and
5022 # we should not choose a depcomp mode which is confused by this.
5024 # We need to recreate these files for each test, as the compiler may
5025 # overwrite some of them when testing with obscure command lines.
5026 # This happens at least with the AIX C compiler.
5028 for i in 1 2 3 4 5 6; do
5029 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5030 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5031 # Solaris 8's
{/usr
,}/bin
/sh.
5032 touch sub
/conftst
$i.h
5034 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5036 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5037 # mode. It turns out that the SunPro C++ compiler does not properly
5038 # handle `-M -o', and we need to detect this. Also, some Intel
5039 # versions had trouble with output in subdirs
5040 am__obj
=sub
/conftest.
${OBJEXT-o}
5041 am__minus_obj
="-o $am__obj"
5044 # This depmode causes a compiler race in universal mode.
5045 test "$am__universal" = false ||
continue
5048 # after this tag, mechanisms are not by side-effect, so they'll
5049 # only be used when explicitly requested
5050 if test "x$enable_dependency_tracking" = xyes
; then
5056 msvisualcpp | msvcmsys
)
5057 # This compiler won't grok `-c -o', but also, the minuso test has
5058 # not run yet. These depmodes are late enough in the game, and
5059 # so weak that their functioning should not be impacted.
5060 am__obj
=conftest.
${OBJEXT-o}
5065 if depmode
=$depmode \
5066 source=sub
/conftest.c object
=$am__obj \
5067 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5068 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5069 >/dev
/null
2>conftest.err
&&
5070 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5071 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5072 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5073 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5074 # icc doesn't choke on unknown options, it will just issue warnings
5075 # or remarks (even with -Werror). So we grep stderr for any message
5076 # that says an option was ignored or not supported.
5077 # When given -MP, icc 7.0 and 7.1 complain thusly:
5078 # icc: Command line warning: ignoring option '-M'; no argument required
5079 # The diagnosis changed in icc 8.0:
5080 # icc: Command line remark: option '-MP' not supported
5081 if (grep 'ignoring option' conftest.err ||
5082 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5083 am_cv_CC_dependencies_compiler_type
=$depmode
5092 am_cv_CC_dependencies_compiler_type
=none
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5097 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5098 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5101 test "x$enable_dependency_tracking" != xno \
5102 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5104 am__fastdepCC_FALSE
='#'
5106 am__fastdepCC_TRUE
='#'
5107 am__fastdepCC_FALSE
=
5112 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
5115 ac_cpp
='$CPP $CPPFLAGS'
5116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5120 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5121 # On Suns, sometimes $CPP names a directory.
5122 if test -n "$CPP" && test -d "$CPP"; then
5125 if test -z "$CPP"; then
5126 if test "${ac_cv_prog_CPP+set}" = set; then :
5127 $as_echo_n "(cached) " >&6
5129 # Double quotes because CPP needs to be expanded
5130 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5133 for ac_c_preproc_warn_flag
in '' yes
5135 # Use a header file that comes with gcc, so configuring glibc
5136 # with a fresh cross-compiler works.
5137 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5138 # <limits.h> exists even on freestanding compilers.
5139 # On the NeXT, cc -E runs the code through the compiler's parser,
5140 # not just through cpp. "Syntax error" is here to catch this case.
5141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5142 /* end confdefs.h. */
5144 # include <limits.h>
5146 # include <assert.h>
5150 if ac_fn_c_try_cpp
"$LINENO"; then :
5153 # Broken: fails on valid input.
5156 rm -f conftest.err conftest.
$ac_ext
5158 # OK, works on sane cases. Now check whether nonexistent headers
5159 # can be detected and how.
5160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5161 /* end confdefs.h. */
5162 #include <ac_nonexistent.h>
5164 if ac_fn_c_try_cpp
"$LINENO"; then :
5165 # Broken: success on invalid input.
5168 # Passes both tests.
5172 rm -f conftest.err conftest.
$ac_ext
5175 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5176 rm -f conftest.err conftest.
$ac_ext
5177 if $ac_preproc_ok; then :
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5190 $as_echo "$CPP" >&6; }
5192 for ac_c_preproc_warn_flag
in '' yes
5194 # Use a header file that comes with gcc, so configuring glibc
5195 # with a fresh cross-compiler works.
5196 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5197 # <limits.h> exists even on freestanding compilers.
5198 # On the NeXT, cc -E runs the code through the compiler's parser,
5199 # not just through cpp. "Syntax error" is here to catch this case.
5200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5201 /* end confdefs.h. */
5203 # include <limits.h>
5205 # include <assert.h>
5209 if ac_fn_c_try_cpp
"$LINENO"; then :
5212 # Broken: fails on valid input.
5215 rm -f conftest.err conftest.
$ac_ext
5217 # OK, works on sane cases. Now check whether nonexistent headers
5218 # can be detected and how.
5219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5220 /* end confdefs.h. */
5221 #include <ac_nonexistent.h>
5223 if ac_fn_c_try_cpp
"$LINENO"; then :
5224 # Broken: success on invalid input.
5227 # Passes both tests.
5231 rm -f conftest.err conftest.
$ac_ext
5234 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5235 rm -f conftest.err conftest.
$ac_ext
5236 if $ac_preproc_ok; then :
5239 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5241 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5242 See \`config.log' for more details." "$LINENO" 5; }
5246 ac_cpp
='$CPP $CPPFLAGS'
5247 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5248 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5249 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5253 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5254 if test "${ac_cv_path_GREP+set}" = set; then :
5255 $as_echo_n "(cached) " >&6
5257 if test -z "$GREP"; then
5258 ac_path_GREP_found
=false
5259 # Loop through the user's path and test for each of PROGNAME-LIST
5260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5261 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5264 test -z "$as_dir" && as_dir
=.
5265 for ac_prog
in grep ggrep
; do
5266 for ac_exec_ext
in '' $ac_executable_extensions; do
5267 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5268 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5269 # Check for GNU ac_path_GREP and select it if it is found.
5270 # Check for GNU $ac_path_GREP
5271 case `"$ac_path_GREP" --version 2>&1` in
5273 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5276 $as_echo_n 0123456789 >"conftest.in"
5279 cat "conftest.in" "conftest.in" >"conftest.tmp"
5280 mv "conftest.tmp" "conftest.in"
5281 cp "conftest.in" "conftest.nl"
5282 $as_echo 'GREP' >> "conftest.nl"
5283 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5284 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5285 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5286 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5287 # Best one so far, save it but keep looking for a better one
5288 ac_cv_path_GREP
="$ac_path_GREP"
5289 ac_path_GREP_max
=$ac_count
5291 # 10*(2^10) chars as input seems more than enough
5292 test $ac_count -gt 10 && break
5294 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5297 $ac_path_GREP_found && break 3
5302 if test -z "$ac_cv_path_GREP"; then
5303 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5306 ac_cv_path_GREP
=$GREP
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5311 $as_echo "$ac_cv_path_GREP" >&6; }
5312 GREP
="$ac_cv_path_GREP"
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5316 $as_echo_n "checking for egrep... " >&6; }
5317 if test "${ac_cv_path_EGREP+set}" = set; then :
5318 $as_echo_n "(cached) " >&6
5320 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5321 then ac_cv_path_EGREP
="$GREP -E"
5323 if test -z "$EGREP"; then
5324 ac_path_EGREP_found
=false
5325 # Loop through the user's path and test for each of PROGNAME-LIST
5326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5327 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5330 test -z "$as_dir" && as_dir
=.
5331 for ac_prog
in egrep; do
5332 for ac_exec_ext
in '' $ac_executable_extensions; do
5333 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5334 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5335 # Check for GNU ac_path_EGREP and select it if it is found.
5336 # Check for GNU $ac_path_EGREP
5337 case `"$ac_path_EGREP" --version 2>&1` in
5339 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5342 $as_echo_n 0123456789 >"conftest.in"
5345 cat "conftest.in" "conftest.in" >"conftest.tmp"
5346 mv "conftest.tmp" "conftest.in"
5347 cp "conftest.in" "conftest.nl"
5348 $as_echo 'EGREP' >> "conftest.nl"
5349 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5350 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5351 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5352 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5353 # Best one so far, save it but keep looking for a better one
5354 ac_cv_path_EGREP
="$ac_path_EGREP"
5355 ac_path_EGREP_max
=$ac_count
5357 # 10*(2^10) chars as input seems more than enough
5358 test $ac_count -gt 10 && break
5360 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5363 $ac_path_EGREP_found && break 3
5368 if test -z "$ac_cv_path_EGREP"; then
5369 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5372 ac_cv_path_EGREP
=$EGREP
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5378 $as_echo "$ac_cv_path_EGREP" >&6; }
5379 EGREP
="$ac_cv_path_EGREP"
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5383 $as_echo_n "checking for ANSI C header files... " >&6; }
5384 if test "${ac_cv_header_stdc+set}" = set; then :
5385 $as_echo_n "(cached) " >&6
5387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5388 /* end confdefs.h. */
5402 if ac_fn_c_try_compile
"$LINENO"; then :
5403 ac_cv_header_stdc
=yes
5405 ac_cv_header_stdc
=no
5407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5409 if test $ac_cv_header_stdc = yes; then
5410 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5412 /* end confdefs.h. */
5416 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5417 $EGREP "memchr" >/dev
/null
2>&1; then :
5420 ac_cv_header_stdc
=no
5426 if test $ac_cv_header_stdc = yes; then
5427 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5429 /* end confdefs.h. */
5433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5434 $EGREP "free" >/dev
/null
2>&1; then :
5437 ac_cv_header_stdc
=no
5443 if test $ac_cv_header_stdc = yes; then
5444 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5445 if test "$cross_compiling" = yes; then :
5448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5449 /* end confdefs.h. */
5452 #if ((' ' & 0x0FF) == 0x020)
5453 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5454 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5456 # define ISLOWER(c) \
5457 (('a' <= (c) && (c) <= 'i') \
5458 || ('j' <= (c) && (c) <= 'r') \
5459 || ('s' <= (c) && (c) <= 'z'))
5460 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5463 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5468 for (i = 0; i < 256; i++)
5469 if (XOR (islower (i), ISLOWER (i))
5470 || toupper (i) != TOUPPER (i))
5475 if ac_fn_c_try_run
"$LINENO"; then :
5478 ac_cv_header_stdc
=no
5480 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5481 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5487 $as_echo "$ac_cv_header_stdc" >&6; }
5488 if test $ac_cv_header_stdc = yes; then
5490 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5496 # ============ Switched off:
5502 GNOME_COMPILE_WARNINGS
5505 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
5506 if test -n "$ac_tool_prefix"; then
5507 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5508 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5510 $as_echo_n "checking for $ac_word... " >&6; }
5511 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
5512 $as_echo_n "(cached) " >&6
5516 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
5519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5523 test -z "$as_dir" && as_dir
=.
5524 for ac_exec_ext
in '' $ac_executable_extensions; do
5525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5526 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5537 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
5538 if test -n "$PKG_CONFIG"; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5540 $as_echo "$PKG_CONFIG" >&6; }
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }
5548 if test -z "$ac_cv_path_PKG_CONFIG"; then
5549 ac_pt_PKG_CONFIG
=$PKG_CONFIG
5550 # Extract the first word of "pkg-config", so it can be a program name with args.
5551 set dummy pkg-config
; ac_word
=$2
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5553 $as_echo_n "checking for $ac_word... " >&6; }
5554 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
5555 $as_echo_n "(cached) " >&6
5557 case $ac_pt_PKG_CONFIG in
5559 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
5562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5566 test -z "$as_dir" && as_dir
=.
5567 for ac_exec_ext
in '' $ac_executable_extensions; do
5568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5569 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
5570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5580 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
5581 if test -n "$ac_pt_PKG_CONFIG"; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
5583 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5586 $as_echo "no" >&6; }
5589 if test "x$ac_pt_PKG_CONFIG" = x
; then
5592 case $cross_compiling:$ac_tool_warned in
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5596 ac_tool_warned
=yes ;;
5598 PKG_CONFIG
=$ac_pt_PKG_CONFIG
5601 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
5605 if test -n "$PKG_CONFIG"; then
5606 _pkg_min_version
=0.9.0
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
5608 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
5609 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5611 $as_echo "yes" >&6; }
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPIV_UI" >&5
5622 $as_echo_n "checking for GPIV_UI... " >&6; }
5624 if test -n "$PKG_CONFIG"; then
5625 if test -n "$GPIV_UI_CFLAGS"; then
5626 pkg_cv_GPIV_UI_CFLAGS
="$GPIV_UI_CFLAGS"
5628 if test -n "$PKG_CONFIG" && \
5629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0\""; } >&5
5630 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0") 2>&5
5632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5633 test $ac_status = 0; }; then
5634 pkg_cv_GPIV_UI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeui-2.0" 2>/dev/null`
5642 if test -n "$PKG_CONFIG"; then
5643 if test -n "$GPIV_UI_LIBS"; then
5644 pkg_cv_GPIV_UI_LIBS
="$GPIV_UI_LIBS"
5646 if test -n "$PKG_CONFIG" && \
5647 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0\""; } >&5
5648 ($PKG_CONFIG --exists --print-errors "libgnomeui-2.0") 2>&5
5650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5651 test $ac_status = 0; }; then
5652 pkg_cv_GPIV_UI_LIBS
=`$PKG_CONFIG --libs "libgnomeui-2.0" 2>/dev/null`
5663 if test $pkg_failed = yes; then
5665 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5666 _pkg_short_errors_supported
=yes
5668 _pkg_short_errors_supported
=no
5670 if test $_pkg_short_errors_supported = yes; then
5671 GPIV_UI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0"`
5673 GPIV_UI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0"`
5675 # Put the nasty error message in config.log where it belongs
5676 echo "$GPIV_UI_PKG_ERRORS" >&5
5678 as_fn_error
"Package requirements (libgnomeui-2.0) were not met:
5682 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5683 installed software in a non-standard prefix.
5685 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5686 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5687 See the pkg-config man page for more details.
5689 elif test $pkg_failed = untried
; then
5690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5692 as_fn_error
"The pkg-config script could not be found or is too old. Make sure it
5693 is in your PATH or set the PKG_CONFIG environment variable to the full
5696 Alternatively, you may set the environment variables GPIV_UI_CFLAGS
5697 and GPIV_UI_LIBS to avoid the need to call pkg-config.
5698 See the pkg-config man page for more details.
5700 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5701 See \`config.log' for more details." "$LINENO" 5; }
5703 GPIV_UI_CFLAGS
=$pkg_cv_GPIV_UI_CFLAGS
5704 GPIV_UI_LIBS
=$pkg_cv_GPIV_UI_LIBS
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5706 $as_echo "yes" >&6; }
5709 GPIV_GNOME_LIBS
="libgnomeui-2.0"
5710 echo "configuring with libraries: " $gpiv_gnome_libs
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPIV" >&5
5714 $as_echo_n "checking for GPIV... " >&6; }
5716 if test -n "$PKG_CONFIG"; then
5717 if test -n "$GPIV_CFLAGS"; then
5718 pkg_cv_GPIV_CFLAGS
="$GPIV_CFLAGS"
5720 if test -n "$PKG_CONFIG" && \
5721 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GPIV_GNOME_LIBS\""; } >&5
5722 ($PKG_CONFIG --exists --print-errors "$GPIV_GNOME_LIBS") 2>&5
5724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5725 test $ac_status = 0; }; then
5726 pkg_cv_GPIV_CFLAGS
=`$PKG_CONFIG --cflags "$GPIV_GNOME_LIBS" 2>/dev/null`
5734 if test -n "$PKG_CONFIG"; then
5735 if test -n "$GPIV_LIBS"; then
5736 pkg_cv_GPIV_LIBS
="$GPIV_LIBS"
5738 if test -n "$PKG_CONFIG" && \
5739 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GPIV_GNOME_LIBS\""; } >&5
5740 ($PKG_CONFIG --exists --print-errors "$GPIV_GNOME_LIBS") 2>&5
5742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5743 test $ac_status = 0; }; then
5744 pkg_cv_GPIV_LIBS
=`$PKG_CONFIG --libs "$GPIV_GNOME_LIBS" 2>/dev/null`
5755 if test $pkg_failed = yes; then
5757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5758 _pkg_short_errors_supported
=yes
5760 _pkg_short_errors_supported
=no
5762 if test $_pkg_short_errors_supported = yes; then
5763 GPIV_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$GPIV_GNOME_LIBS"`
5765 GPIV_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$GPIV_GNOME_LIBS"`
5767 # Put the nasty error message in config.log where it belongs
5768 echo "$GPIV_PKG_ERRORS" >&5
5770 as_fn_error
"Package requirements ($GPIV_GNOME_LIBS) were not met:
5774 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5775 installed software in a non-standard prefix.
5777 Alternatively, you may set the environment variables GPIV_CFLAGS
5778 and GPIV_LIBS to avoid the need to call pkg-config.
5779 See the pkg-config man page for more details.
5781 elif test $pkg_failed = untried
; then
5782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5784 as_fn_error
"The pkg-config script could not be found or is too old. Make sure it
5785 is in your PATH or set the PKG_CONFIG environment variable to the full
5788 Alternatively, you may set the environment variables GPIV_CFLAGS
5789 and GPIV_LIBS to avoid the need to call pkg-config.
5790 See the pkg-config man page for more details.
5792 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5793 See \`config.log' for more details." "$LINENO" 5; }
5795 GPIV_CFLAGS
=$pkg_cv_GPIV_CFLAGS
5796 GPIV_LIBS
=$pkg_cv_GPIV_LIBS
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5798 $as_echo "yes" >&6; }
5805 GETTEXT_PACKAGE
=gpiv
5807 cat >>confdefs.h
<<_ACEOF
5808 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
5811 ALL_LINGUAS
="ca de nl"
5812 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5813 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5814 inttypes.h stdint.h unistd.h
5816 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5817 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5819 eval as_val
=\$
$as_ac_Header
5820 if test "x$as_val" = x
""yes; then :
5821 cat >>confdefs.h
<<_ACEOF
5822 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5831 for ac_header
in locale.h
5833 ac_fn_c_check_header_mongrel
"$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5834 if test "x$ac_cv_header_locale_h" = x
""yes; then :
5835 cat >>confdefs.h
<<_ACEOF
5836 #define HAVE_LOCALE_H 1
5843 if test $ac_cv_header_locale_h = yes; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5845 $as_echo_n "checking for LC_MESSAGES... " >&6; }
5846 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
5847 $as_echo_n "(cached) " >&6
5849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5850 /* end confdefs.h. */
5860 if ac_fn_c_try_link
"$LINENO"; then :
5861 am_cv_val_LC_MESSAGES
=yes
5863 am_cv_val_LC_MESSAGES
=no
5865 rm -f core conftest.err conftest.
$ac_objext \
5866 conftest
$ac_exeext conftest.
$ac_ext
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5869 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5870 if test $am_cv_val_LC_MESSAGES = yes; then
5872 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5879 gt_cv_have_gettext
=no
5885 ac_fn_c_check_header_mongrel
"$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5886 if test "x$ac_cv_header_libintl_h" = x
""yes; then :
5887 gt_cv_func_dgettext_libintl
="no"
5888 libintl_extra_libs
=""
5891 # First check in libc
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5894 $as_echo_n "checking for ngettext in libc... " >&6; }
5895 if test "${gt_cv_func_ngettext_libc+set}" = set; then :
5896 $as_echo_n "(cached) " >&6
5898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5899 /* end confdefs.h. */
5901 #include <libintl.h>
5906 return !ngettext ("","", 1)
5911 if ac_fn_c_try_link
"$LINENO"; then :
5912 gt_cv_func_ngettext_libc
=yes
5914 gt_cv_func_ngettext_libc
=no
5916 rm -f core conftest.err conftest.
$ac_objext \
5917 conftest
$ac_exeext conftest.
$ac_ext
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
5921 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
5923 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
5925 $as_echo_n "checking for dgettext in libc... " >&6; }
5926 if test "${gt_cv_func_dgettext_libc+set}" = set; then :
5927 $as_echo_n "(cached) " >&6
5929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5930 /* end confdefs.h. */
5932 #include <libintl.h>
5937 return !dgettext ("","")
5942 if ac_fn_c_try_link
"$LINENO"; then :
5943 gt_cv_func_dgettext_libc
=yes
5945 gt_cv_func_dgettext_libc
=no
5947 rm -f core conftest.err conftest.
$ac_objext \
5948 conftest
$ac_exeext conftest.
$ac_ext
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5952 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
5955 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5956 for ac_func
in bind_textdomain_codeset
5958 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5959 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
5960 cat >>confdefs.h
<<_ACEOF
5961 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
5970 # If we don't have everything we want, check in libintl
5972 if test "$gt_cv_func_dgettext_libc" != "yes" \
5973 ||
test "$gt_cv_func_ngettext_libc" != "yes" \
5974 ||
test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
5977 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
5978 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
5979 $as_echo_n "(cached) " >&6
5981 ac_check_lib_save_LIBS
=$LIBS
5983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5984 /* end confdefs.h. */
5986 /* Override any GCC internal prototype to avoid an error.
5987 Use char because int might match the return type of a GCC
5988 builtin and then its argument prototype would still apply. */
5992 char bindtextdomain ();
5996 return bindtextdomain ();
6001 if ac_fn_c_try_link
"$LINENO"; then :
6002 ac_cv_lib_intl_bindtextdomain
=yes
6004 ac_cv_lib_intl_bindtextdomain
=no
6006 rm -f core conftest.err conftest.
$ac_objext \
6007 conftest
$ac_exeext conftest.
$ac_ext
6008 LIBS
=$ac_check_lib_save_LIBS
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
6011 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
6012 if test "x$ac_cv_lib_intl_bindtextdomain" = x
""yes; then :
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6014 $as_echo_n "checking for ngettext in -lintl... " >&6; }
6015 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
6016 $as_echo_n "(cached) " >&6
6018 ac_check_lib_save_LIBS
=$LIBS
6020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6021 /* end confdefs.h. */
6023 /* Override any GCC internal prototype to avoid an error.
6024 Use char because int might match the return type of a GCC
6025 builtin and then its argument prototype would still apply. */
6038 if ac_fn_c_try_link
"$LINENO"; then :
6039 ac_cv_lib_intl_ngettext
=yes
6041 ac_cv_lib_intl_ngettext
=no
6043 rm -f core conftest.err conftest.
$ac_objext \
6044 conftest
$ac_exeext conftest.
$ac_ext
6045 LIBS
=$ac_check_lib_save_LIBS
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6048 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6049 if test "x$ac_cv_lib_intl_ngettext" = x
""yes; then :
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
6051 $as_echo_n "checking for dgettext in -lintl... " >&6; }
6052 if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
6053 $as_echo_n "(cached) " >&6
6055 ac_check_lib_save_LIBS
=$LIBS
6057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6058 /* end confdefs.h. */
6060 /* Override any GCC internal prototype to avoid an error.
6061 Use char because int might match the return type of a GCC
6062 builtin and then its argument prototype would still apply. */
6075 if ac_fn_c_try_link
"$LINENO"; then :
6076 ac_cv_lib_intl_dgettext
=yes
6078 ac_cv_lib_intl_dgettext
=no
6080 rm -f core conftest.err conftest.
$ac_objext \
6081 conftest
$ac_exeext conftest.
$ac_ext
6082 LIBS
=$ac_check_lib_save_LIBS
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
6085 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
6086 if test "x$ac_cv_lib_intl_dgettext" = x
""yes; then :
6087 gt_cv_func_dgettext_libintl
=yes
6095 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
6097 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
6101 $as_echo_n "checking for ngettext in -lintl... " >&6; }
6102 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
6103 $as_echo_n "(cached) " >&6
6105 ac_check_lib_save_LIBS
=$LIBS
6106 LIBS
="-lintl -liconv $LIBS"
6107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6108 /* end confdefs.h. */
6110 /* Override any GCC internal prototype to avoid an error.
6111 Use char because int might match the return type of a GCC
6112 builtin and then its argument prototype would still apply. */
6125 if ac_fn_c_try_link
"$LINENO"; then :
6126 ac_cv_lib_intl_ngettext
=yes
6128 ac_cv_lib_intl_ngettext
=no
6130 rm -f core conftest.err conftest.
$ac_objext \
6131 conftest
$ac_exeext conftest.
$ac_ext
6132 LIBS
=$ac_check_lib_save_LIBS
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
6135 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
6136 if test "x$ac_cv_lib_intl_ngettext" = x
""yes; then :
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
6138 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
6139 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
6140 $as_echo_n "(cached) " >&6
6142 ac_check_lib_save_LIBS
=$LIBS
6143 LIBS
="-lintl -liconv $LIBS"
6144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6145 /* end confdefs.h. */
6147 /* Override any GCC internal prototype to avoid an error.
6148 Use char because int might match the return type of a GCC
6149 builtin and then its argument prototype would still apply. */
6157 return dcgettext ();
6162 if ac_fn_c_try_link
"$LINENO"; then :
6163 ac_cv_lib_intl_dcgettext
=yes
6165 ac_cv_lib_intl_dcgettext
=no
6167 rm -f core conftest.err conftest.
$ac_objext \
6168 conftest
$ac_exeext conftest.
$ac_ext
6169 LIBS
=$ac_check_lib_save_LIBS
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
6172 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
6173 if test "x$ac_cv_lib_intl_dcgettext" = x
""yes; then :
6174 gt_cv_func_dgettext_libintl
=yes
6175 libintl_extra_libs
=-liconv
6187 # If we found libintl, then check in it for bind_textdomain_codeset();
6188 # we'll prefer libc if neither have bind_textdomain_codeset(),
6189 # and both have dgettext and ngettext
6191 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
6192 glib_save_LIBS
="$LIBS"
6193 LIBS
="$LIBS -lintl $libintl_extra_libs"
6194 unset ac_cv_func_bind_textdomain_codeset
6195 for ac_func
in bind_textdomain_codeset
6197 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6198 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
6199 cat >>confdefs.h
<<_ACEOF
6200 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
6206 LIBS
="$glib_save_LIBS"
6208 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
6209 gt_cv_func_dgettext_libc
=no
6211 if test "$gt_cv_func_dgettext_libc" = "yes" \
6212 && test "$gt_cv_func_ngettext_libc" = "yes"; then
6213 gt_cv_func_dgettext_libintl
=no
6219 if test "$gt_cv_func_dgettext_libc" = "yes" \
6220 ||
test "$gt_cv_func_dgettext_libintl" = "yes"; then
6221 gt_cv_have_gettext
=yes
6224 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
6225 INTLLIBS
="-lintl $libintl_extra_libs"
6228 if test "$gt_cv_have_gettext" = "yes"; then
6230 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6232 # Extract the first word of "msgfmt", so it can be a program name with args.
6233 set dummy msgfmt
; ac_word
=$2
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6235 $as_echo_n "checking for $ac_word... " >&6; }
6236 if test "${ac_cv_path_MSGFMT+set}" = set; then :
6237 $as_echo_n "(cached) " >&6
6241 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6244 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6245 for ac_dir
in $PATH; do
6246 test -z "$ac_dir" && ac_dir
=.
6247 if test -f $ac_dir/$ac_word; then
6248 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6249 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
6255 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
6259 MSGFMT
="$ac_cv_path_MSGFMT"
6260 if test "$MSGFMT" != "no"; then
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6262 $as_echo "$MSGFMT" >&6; }
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6265 $as_echo "no" >&6; }
6267 if test "$MSGFMT" != "no"; then
6268 glib_save_LIBS
="$LIBS"
6269 LIBS
="$LIBS $INTLLIBS"
6270 for ac_func
in dcgettext
6272 ac_fn_c_check_func
"$LINENO" "dcgettext" "ac_cv_func_dcgettext"
6273 if test "x$ac_cv_func_dcgettext" = x
""yes; then :
6274 cat >>confdefs.h
<<_ACEOF
6275 #define HAVE_DCGETTEXT 1
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6283 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
6284 cat >conftest.foo
<<_ACEOF
6288 "Content-Type: text/plain; charset=UTF-8\n"
6289 "Project-Id-Version: test 1.0\n"
6290 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
6291 "Last-Translator: test <foo@bar.xx>\n"
6292 "Language-Team: C <LL@li.org>\n"
6293 "MIME-Version: 1.0\n"
6294 "Content-Transfer-Encoding: 8bit\n"
6297 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
6298 ($MSGFMT -c -o /dev
/null conftest.foo
) 2>&5
6300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6301 test $ac_status = 0; }; then
6302 MSGFMT_OPTS
=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6303 $as_echo "yes" >&6; }
6304 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6305 $as_echo "no" >&6; }
6306 echo "$as_me: failed input was:" >&5
6307 sed 's/^/| /' conftest.foo
>&5
6310 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6311 set dummy gmsgfmt
; ac_word
=$2
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6313 $as_echo_n "checking for $ac_word... " >&6; }
6314 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
6315 $as_echo_n "(cached) " >&6
6319 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6326 test -z "$as_dir" && as_dir
=.
6327 for ac_exec_ext
in '' $ac_executable_extensions; do
6328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6329 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6337 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6341 GMSGFMT
=$ac_cv_path_GMSGFMT
6342 if test -n "$GMSGFMT"; then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6344 $as_echo "$GMSGFMT" >&6; }
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6347 $as_echo "no" >&6; }
6351 # Extract the first word of "xgettext", so it can be a program name with args.
6352 set dummy xgettext
; ac_word
=$2
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6354 $as_echo_n "checking for $ac_word... " >&6; }
6355 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
6356 $as_echo_n "(cached) " >&6
6360 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6363 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6364 for ac_dir
in $PATH; do
6365 test -z "$ac_dir" && ac_dir
=.
6366 if test -f $ac_dir/$ac_word; then
6367 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6368 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
6374 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6378 XGETTEXT
="$ac_cv_path_XGETTEXT"
6379 if test "$XGETTEXT" != ":"; then
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6381 $as_echo "$XGETTEXT" >&6; }
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6384 $as_echo "no" >&6; }
6387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6388 /* end confdefs.h. */
6393 extern int _nl_msg_cat_cntr;
6394 return _nl_msg_cat_cntr
6399 if ac_fn_c_try_link
"$LINENO"; then :
6405 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6406 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
6421 rm -f core conftest.err conftest.
$ac_objext \
6422 conftest
$ac_exeext conftest.
$ac_ext
6423 LIBS
="$glib_save_LIBS"
6426 gt_cv_have_gettext
=no
6434 if test "$gt_cv_have_gettext" = "yes" ; then
6436 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6440 if test "$XGETTEXT" != ":"; then
6441 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6445 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6450 # We need to process the po/ directory.
6453 ac_config_commands
="$ac_config_commands default-1"
6456 for lang
in $ALL_LINGUAS; do
6457 GMOFILES
="$GMOFILES $lang.gmo"
6458 POFILES
="$POFILES $lang.po"
6473 if test "$gt_cv_have_gettext" = "yes"; then
6474 if test "x$ALL_LINGUAS" = "x"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6478 $as_echo_n "checking for catalogs to be installed... " >&6; }
6480 for presentlang
in $ALL_LINGUAS; do
6482 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6483 desiredlanguages
="$LINGUAS"
6485 desiredlanguages
="$ALL_LINGUAS"
6487 for desiredlang
in $desiredlanguages; do
6488 # Use the presentlang catalog if desiredlang is
6489 # a. equal to presentlang, or
6490 # b. a variant of presentlang (because in this case,
6491 # presentlang can be used as a fallback for messages
6492 # which are not translated in the desiredlang catalog).
6493 case "$desiredlang" in
6494 "$presentlang"*) useit
=yes;;
6497 if test $useit = yes; then
6498 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
6501 LINGUAS
=$NEW_LINGUAS
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6503 $as_echo "$LINGUAS" >&6; }
6506 if test -n "$LINGUAS"; then
6507 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
6512 if test -n "$ac_aux_dir"; then
6513 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
6515 if test -z "$MKINSTALLDIRS"; then
6516 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
6520 test -d po || mkdir po
6521 if test "x$srcdir" != "x."; then
6522 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6523 posrcprefix
="$srcdir/"
6525 posrcprefix
="../$srcdir/"
6531 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6532 < $srcdir/po
/POTFILES.
in > po
/POTFILES
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6538 $as_echo_n "checking whether NLS is requested... " >&6; }
6539 # Check whether --enable-nls was given.
6540 if test "${enable_nls+set}" = set; then :
6541 enableval
=$enable_nls; USE_NLS
=$enableval
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6547 $as_echo "$USE_NLS" >&6; }
6552 case "$am__api_version" in
6554 as_fn_error
"Automake 1.5 or newer is required to use intltool" "$LINENO" 5
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
6562 $as_echo_n "checking for intltool >= ... " >&6; }
6564 INTLTOOL_REQUIRED_VERSION_AS_INT
=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6565 INTLTOOL_APPLIED_VERSION
=`intltool-update --version | head -1 | cut -d" " -f3`
6566 INTLTOOL_APPLIED_VERSION_AS_INT
=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
6569 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
6570 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
6571 as_fn_error
"Your intltool is too old. You need intltool or later." "$LINENO" 5
6574 # Extract the first word of "intltool-update", so it can be a program name with args.
6575 set dummy intltool-update
; ac_word
=$2
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577 $as_echo_n "checking for $ac_word... " >&6; }
6578 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
6579 $as_echo_n "(cached) " >&6
6581 case $INTLTOOL_UPDATE in
6583 ac_cv_path_INTLTOOL_UPDATE
="$INTLTOOL_UPDATE" # Let the user override the test with a path.
6586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6590 test -z "$as_dir" && as_dir
=.
6591 for ac_exec_ext
in '' $ac_executable_extensions; do
6592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6593 ac_cv_path_INTLTOOL_UPDATE
="$as_dir/$ac_word$ac_exec_ext"
6594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6604 INTLTOOL_UPDATE
=$ac_cv_path_INTLTOOL_UPDATE
6605 if test -n "$INTLTOOL_UPDATE"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
6607 $as_echo "$INTLTOOL_UPDATE" >&6; }
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 $as_echo "no" >&6; }
6614 # Extract the first word of "intltool-merge", so it can be a program name with args.
6615 set dummy intltool-merge
; ac_word
=$2
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 $as_echo_n "checking for $ac_word... " >&6; }
6618 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
6619 $as_echo_n "(cached) " >&6
6621 case $INTLTOOL_MERGE in
6623 ac_cv_path_INTLTOOL_MERGE
="$INTLTOOL_MERGE" # Let the user override the test with a path.
6626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6630 test -z "$as_dir" && as_dir
=.
6631 for ac_exec_ext
in '' $ac_executable_extensions; do
6632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6633 ac_cv_path_INTLTOOL_MERGE
="$as_dir/$ac_word$ac_exec_ext"
6634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6644 INTLTOOL_MERGE
=$ac_cv_path_INTLTOOL_MERGE
6645 if test -n "$INTLTOOL_MERGE"; then
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
6647 $as_echo "$INTLTOOL_MERGE" >&6; }
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6650 $as_echo "no" >&6; }
6654 # Extract the first word of "intltool-extract", so it can be a program name with args.
6655 set dummy intltool-extract
; ac_word
=$2
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 $as_echo_n "checking for $ac_word... " >&6; }
6658 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
6659 $as_echo_n "(cached) " >&6
6661 case $INTLTOOL_EXTRACT in
6663 ac_cv_path_INTLTOOL_EXTRACT
="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
6666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir
=.
6671 for ac_exec_ext
in '' $ac_executable_extensions; do
6672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673 ac_cv_path_INTLTOOL_EXTRACT
="$as_dir/$ac_word$ac_exec_ext"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6684 INTLTOOL_EXTRACT
=$ac_cv_path_INTLTOOL_EXTRACT
6685 if test -n "$INTLTOOL_EXTRACT"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
6687 $as_echo "$INTLTOOL_EXTRACT" >&6; }
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6694 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
6695 as_fn_error
"The intltool scripts were not found. Please install intltool." "$LINENO" 5
6698 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 $< $@'
6699 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 $< $@'
6700 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 $< $@'
6701 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 $< $@'
6702 INTLTOOL_OAF_RULE
='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
6703 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 $< $@'
6704 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 $< $@'
6705 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 $< $@'
6706 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 $< $@'
6707 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 $< $@'
6708 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 $< $@'
6709 INTLTOOL_XML_NOMERGE_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
6710 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 $< $@'
6711 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 $< $@'
6712 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 $< $@'
6713 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 $< $@'
6714 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 $< $@'
6715 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 $< $@'
6716 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 $< $@'
6814 # Check the gettext tools to make sure they are GNU
6815 # Extract the first word of "xgettext", so it can be a program name with args.
6816 set dummy xgettext
; ac_word
=$2
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6818 $as_echo_n "checking for $ac_word... " >&6; }
6819 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
6820 $as_echo_n "(cached) " >&6
6824 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6831 test -z "$as_dir" && as_dir
=.
6832 for ac_exec_ext
in '' $ac_executable_extensions; do
6833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6834 ac_cv_path_XGETTEXT
="$as_dir/$ac_word$ac_exec_ext"
6835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6845 XGETTEXT
=$ac_cv_path_XGETTEXT
6846 if test -n "$XGETTEXT"; then
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6848 $as_echo "$XGETTEXT" >&6; }
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851 $as_echo "no" >&6; }
6855 # Extract the first word of "msgmerge", so it can be a program name with args.
6856 set dummy msgmerge
; ac_word
=$2
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6858 $as_echo_n "checking for $ac_word... " >&6; }
6859 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
6860 $as_echo_n "(cached) " >&6
6864 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
6867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6871 test -z "$as_dir" && as_dir
=.
6872 for ac_exec_ext
in '' $ac_executable_extensions; do
6873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6874 ac_cv_path_MSGMERGE
="$as_dir/$ac_word$ac_exec_ext"
6875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6885 MSGMERGE
=$ac_cv_path_MSGMERGE
6886 if test -n "$MSGMERGE"; then
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6888 $as_echo "$MSGMERGE" >&6; }
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6891 $as_echo "no" >&6; }
6895 # Extract the first word of "msgfmt", so it can be a program name with args.
6896 set dummy msgfmt
; ac_word
=$2
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6898 $as_echo_n "checking for $ac_word... " >&6; }
6899 if test "${ac_cv_path_MSGFMT+set}" = set; then :
6900 $as_echo_n "(cached) " >&6
6904 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6911 test -z "$as_dir" && as_dir
=.
6912 for ac_exec_ext
in '' $ac_executable_extensions; do
6913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6914 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6925 MSGFMT
=$ac_cv_path_MSGFMT
6926 if test -n "$MSGFMT"; then
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6928 $as_echo "$MSGFMT" >&6; }
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6931 $as_echo "no" >&6; }
6935 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6936 set dummy gmsgfmt
; ac_word
=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
6940 $as_echo_n "(cached) " >&6
6944 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6951 test -z "$as_dir" && as_dir
=.
6952 for ac_exec_ext
in '' $ac_executable_extensions; do
6953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6954 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6962 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6966 GMSGFMT
=$ac_cv_path_GMSGFMT
6967 if test -n "$GMSGFMT"; then
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6969 $as_echo "$GMSGFMT" >&6; }
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6972 $as_echo "no" >&6; }
6976 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
6977 as_fn_error
"GNU gettext tools not found; required for intltool" "$LINENO" 5
6979 xgversion
="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
6980 mmversion
="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
6981 mfversion
="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
6982 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
6983 as_fn_error
"GNU gettext tools not found; required for intltool" "$LINENO" 5
6986 # Extract the first word of "perl", so it can be a program name with args.
6987 set dummy perl
; ac_word
=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6989 $as_echo_n "checking for $ac_word... " >&6; }
6990 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
6991 $as_echo_n "(cached) " >&6
6993 case $INTLTOOL_PERL in
6995 ac_cv_path_INTLTOOL_PERL
="$INTLTOOL_PERL" # Let the user override the test with a path.
6998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7002 test -z "$as_dir" && as_dir
=.
7003 for ac_exec_ext
in '' $ac_executable_extensions; do
7004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7005 ac_cv_path_INTLTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
7006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7016 INTLTOOL_PERL
=$ac_cv_path_INTLTOOL_PERL
7017 if test -n "$INTLTOOL_PERL"; then
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
7019 $as_echo "$INTLTOOL_PERL" >&6; }
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7022 $as_echo "no" >&6; }
7026 if test -z "$INTLTOOL_PERL"; then
7027 as_fn_error
"perl not found" "$LINENO" 5
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
7030 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
7031 $INTLTOOL_PERL -e "use 5.8.1;" > /dev
/null
2>&1
7032 if test $?
-ne 0; then
7033 as_fn_error
"perl 5.8.1 is required for intltool" "$LINENO" 5
7035 IT_PERL_VERSION
="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
7037 $as_echo "$IT_PERL_VERSION" >&6; }
7039 if test "x" != "xno-xml"; then
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
7041 $as_echo_n "checking for XML::Parser... " >&6; }
7042 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7044 $as_echo "ok" >&6; }
7046 as_fn_error
"XML::Parser perl module is required for intltool" "$LINENO" 5
7050 # Substitute ALL_LINGUAS so we can use it in po/Makefile
7053 # Set DATADIRNAME correctly if it is not set yet
7054 # (copied from glib-gettext.m4)
7055 if test -z "$DATADIRNAME"; then
7056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7057 /* end confdefs.h. */
7062 extern int _nl_msg_cat_cntr;
7063 return _nl_msg_cat_cntr
7068 if ac_fn_c_try_link
"$LINENO"; then :
7073 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
7074 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
7086 rm -f core conftest.err conftest.
$ac_objext \
7087 conftest
$ac_exeext conftest.
$ac_ext
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g_malloc0 in -lglib-2.0" >&5
7097 $as_echo_n "checking for g_malloc0 in -lglib-2.0... " >&6; }
7098 if test "${ac_cv_lib_glib_2_0_g_malloc0+set}" = set; then :
7099 $as_echo_n "(cached) " >&6
7101 ac_check_lib_save_LIBS
=$LIBS
7102 LIBS
="-lglib-2.0 $LIBS"
7103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7104 /* end confdefs.h. */
7106 /* Override any GCC internal prototype to avoid an error.
7107 Use char because int might match the return type of a GCC
7108 builtin and then its argument prototype would still apply. */
7116 return g_malloc0 ();
7121 if ac_fn_c_try_link
"$LINENO"; then :
7122 ac_cv_lib_glib_2_0_g_malloc0
=yes
7124 ac_cv_lib_glib_2_0_g_malloc0
=no
7126 rm -f core conftest.err conftest.
$ac_objext \
7127 conftest
$ac_exeext conftest.
$ac_ext
7128 LIBS
=$ac_check_lib_save_LIBS
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glib_2_0_g_malloc0" >&5
7131 $as_echo "$ac_cv_lib_glib_2_0_g_malloc0" >&6; }
7132 if test "x$ac_cv_lib_glib_2_0_g_malloc0" = x
""yes; then :
7133 cat >>confdefs.h
<<_ACEOF
7134 #define HAVE_LIBGLIB_2_0 1
7137 LIBS
="-lglib-2.0 $LIBS"
7140 as_fn_error
"\"libglib not installed\"" "$LINENO" 5
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw_plan_dft_r2c_2d in -lfftw3" >&5
7147 $as_echo_n "checking for fftw_plan_dft_r2c_2d in -lfftw3... " >&6; }
7148 if test "${ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d+set}" = set; then :
7149 $as_echo_n "(cached) " >&6
7151 ac_check_lib_save_LIBS
=$LIBS
7152 LIBS
="-lfftw3 $LIBS"
7153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7154 /* end confdefs.h. */
7156 /* Override any GCC internal prototype to avoid an error.
7157 Use char because int might match the return type of a GCC
7158 builtin and then its argument prototype would still apply. */
7162 char fftw_plan_dft_r2c_2d ();
7166 return fftw_plan_dft_r2c_2d ();
7171 if ac_fn_c_try_link
"$LINENO"; then :
7172 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d
=yes
7174 ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d
=no
7176 rm -f core conftest.err conftest.
$ac_objext \
7177 conftest
$ac_exeext conftest.
$ac_ext
7178 LIBS
=$ac_check_lib_save_LIBS
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&5
7181 $as_echo "$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" >&6; }
7182 if test "x$ac_cv_lib_fftw3_fftw_plan_dft_r2c_2d" = x
""yes; then :
7183 cat >>confdefs.h
<<_ACEOF
7184 #define HAVE_LIBFFTW3 1
7187 LIBS
="-lfftw3 $LIBS"
7190 as_fn_error
"\"libfftw3 not installed\"" "$LINENO" 5
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgslcblas" >&5
7195 $as_echo_n "checking for main in -lgslcblas... " >&6; }
7196 if test "${ac_cv_lib_gslcblas_main+set}" = set; then :
7197 $as_echo_n "(cached) " >&6
7199 ac_check_lib_save_LIBS
=$LIBS
7200 LIBS
="-lgslcblas $LIBS"
7201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7202 /* end confdefs.h. */
7213 if ac_fn_c_try_link
"$LINENO"; then :
7214 ac_cv_lib_gslcblas_main
=yes
7216 ac_cv_lib_gslcblas_main
=no
7218 rm -f core conftest.err conftest.
$ac_objext \
7219 conftest
$ac_exeext conftest.
$ac_ext
7220 LIBS
=$ac_check_lib_save_LIBS
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gslcblas_main" >&5
7223 $as_echo "$ac_cv_lib_gslcblas_main" >&6; }
7224 if test "x$ac_cv_lib_gslcblas_main" = x
""yes; then :
7225 cat >>confdefs.h
<<_ACEOF
7226 #define HAVE_LIBGSLCBLAS 1
7229 LIBS
="-lgslcblas $LIBS"
7232 as_fn_error
"\"libgslcblas not installed\"" "$LINENO" 5
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgsl" >&5
7237 $as_echo_n "checking for main in -lgsl... " >&6; }
7238 if test "${ac_cv_lib_gsl_main+set}" = set; then :
7239 $as_echo_n "(cached) " >&6
7241 ac_check_lib_save_LIBS
=$LIBS
7243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7244 /* end confdefs.h. */
7255 if ac_fn_c_try_link
"$LINENO"; then :
7256 ac_cv_lib_gsl_main
=yes
7258 ac_cv_lib_gsl_main
=no
7260 rm -f core conftest.err conftest.
$ac_objext \
7261 conftest
$ac_exeext conftest.
$ac_ext
7262 LIBS
=$ac_check_lib_save_LIBS
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsl_main" >&5
7265 $as_echo "$ac_cv_lib_gsl_main" >&6; }
7266 if test "x$ac_cv_lib_gsl_main" = x
""yes; then :
7267 cat >>confdefs.h
<<_ACEOF
7268 #define HAVE_LIBGSL 1
7274 as_fn_error
"\"libgsl not installed\"" "$LINENO" 5
7279 # Check whether --enable-mpi was given.
7280 if test "${enable_mpi+set}" = set; then :
7281 enableval
=$enable_mpi; ENABLE_MPI
="-DENABLE_MPI"
7287 # Check whether --enable-rr was given.
7288 if test "${enable_rr+set}" = set; then :
7289 enableval
=$enable_rr; ENABLE_MPI_RR
="-DENABLE_MPI_RR"
7295 if test "${ENABLE_MPI}" == '-DENABLE_MPI'; then
7297 ac_fn_c_check_header_mongrel
"$LINENO" "mpi/mpi.h" "ac_cv_header_mpi_mpi_h" "$ac_includes_default"
7298 if test "x$ac_cv_header_mpi_mpi_h" = x
""yes; then :
7301 as_fn_error
"\"mpi.h is not installed\"" "$LINENO" 5
7306 # Extract the first word of "mpirun", so it can be a program name with args.
7307 set dummy mpirun
; ac_word
=$2
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7309 $as_echo_n "checking for $ac_word... " >&6; }
7310 if test "${ac_cv_prog_MPIRUN+set}" = set; then :
7311 $as_echo_n "(cached) " >&6
7313 if test -n "$MPIRUN"; then
7314 ac_cv_prog_MPIRUN
="$MPIRUN" # Let the user override the test.
7316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7320 test -z "$as_dir" && as_dir
=.
7321 for ac_exec_ext
in '' $ac_executable_extensions; do
7322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7323 ac_cv_prog_MPIRUN
="true"
7324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7331 test -z "$ac_cv_prog_MPIRUN" && ac_cv_prog_MPIRUN
="false"
7334 MPIRUN
=$ac_cv_prog_MPIRUN
7335 if test -n "$MPIRUN"; then
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MPIRUN" >&5
7337 $as_echo "$MPIRUN" >&6; }
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7340 $as_echo "no" >&6; }
7344 if test x
$MPIRUN = xfalse
; then
7345 as_fn_error
"\"missing mpirun \
7346 Needed by gpiv when --enable-mpi\"" "$LINENO" 5
7349 if test "${ENABLE_MPI_RR}" == '-DENABLE_MPI_RR'; then
7350 # Extract the first word of "gpiv_rr", so it can be a program name with args.
7351 set dummy gpiv_rr
; ac_word
=$2
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7353 $as_echo_n "checking for $ac_word... " >&6; }
7354 if test "${ac_cv_prog_RR+set}" = set; then :
7355 $as_echo_n "(cached) " >&6
7357 if test -n "$RR"; then
7358 ac_cv_prog_RR
="$RR" # Let the user override the test.
7360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7364 test -z "$as_dir" && as_dir
=.
7365 for ac_exec_ext
in '' $ac_executable_extensions; do
7366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7367 ac_cv_prog_RR
="true"
7368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7375 test -z "$ac_cv_prog_RR" && ac_cv_prog_RR
="false"
7379 if test -n "$RR"; then
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RR" >&5
7381 $as_echo "$RR" >&6; }
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7384 $as_echo "no" >&6; }
7388 if test x
$RR = xfalse
; then
7389 as_fn_error
"\"missing mpi-enabled gpiv_rr from gpivtools. \
7390 Needed by gpiv when --enable-mpi.\"" "$LINENO" 5
7393 echo "WARNING: Not checking on MPI-enabled gpiv_rr"
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpiv_piv_mpi_bcast_pivpar in -lgpiv_mpi" >&5
7397 $as_echo_n "checking for gpiv_piv_mpi_bcast_pivpar in -lgpiv_mpi... " >&6; }
7398 if test "${ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar+set}" = set; then :
7399 $as_echo_n "(cached) " >&6
7401 ac_check_lib_save_LIBS
=$LIBS
7402 LIBS
="-lgpiv_mpi $LIBS"
7403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7404 /* end confdefs.h. */
7406 /* Override any GCC internal prototype to avoid an error.
7407 Use char because int might match the return type of a GCC
7408 builtin and then its argument prototype would still apply. */
7412 char gpiv_piv_mpi_bcast_pivpar ();
7416 return gpiv_piv_mpi_bcast_pivpar ();
7421 if ac_fn_c_try_link
"$LINENO"; then :
7422 ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar
=yes
7424 ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar
=no
7426 rm -f core conftest.err conftest.
$ac_objext \
7427 conftest
$ac_exeext conftest.
$ac_ext
7428 LIBS
=$ac_check_lib_save_LIBS
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar" >&5
7431 $as_echo "$ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar" >&6; }
7432 if test "x$ac_cv_lib_gpiv_mpi_gpiv_piv_mpi_bcast_pivpar" = x
""yes; then :
7433 cat >>confdefs.h
<<_ACEOF
7434 #define HAVE_LIBGPIV_MPI 1
7437 LIBS
="-lgpiv_mpi $LIBS"
7440 as_fn_error
"\"gpiv_piv_mpi_bcast_pivpar is not working in libgpiv_mpi. \
7441 Enable MPI in libgpiv or disable it here by leaving out --enable-mpi during ./configure\"" "$LINENO" 5
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpiv_piv_interrogate_img in -lgpiv" >&5
7447 $as_echo_n "checking for gpiv_piv_interrogate_img in -lgpiv... " >&6; }
7448 if test "${ac_cv_lib_gpiv_gpiv_piv_interrogate_img+set}" = set; then :
7449 $as_echo_n "(cached) " >&6
7451 ac_check_lib_save_LIBS
=$LIBS
7453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7454 /* end confdefs.h. */
7456 /* Override any GCC internal prototype to avoid an error.
7457 Use char because int might match the return type of a GCC
7458 builtin and then its argument prototype would still apply. */
7462 char gpiv_piv_interrogate_img ();
7466 return gpiv_piv_interrogate_img ();
7471 if ac_fn_c_try_link
"$LINENO"; then :
7472 ac_cv_lib_gpiv_gpiv_piv_interrogate_img
=yes
7474 ac_cv_lib_gpiv_gpiv_piv_interrogate_img
=no
7476 rm -f core conftest.err conftest.
$ac_objext \
7477 conftest
$ac_exeext conftest.
$ac_ext
7478 LIBS
=$ac_check_lib_save_LIBS
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpiv_gpiv_piv_interrogate_img" >&5
7481 $as_echo "$ac_cv_lib_gpiv_gpiv_piv_interrogate_img" >&6; }
7482 if test "x$ac_cv_lib_gpiv_gpiv_piv_interrogate_img" = x
""yes; then :
7483 cat >>confdefs.h
<<_ACEOF
7484 #define HAVE_LIBGPIV 1
7490 as_fn_error
"libgpiv has not been installed" "$LINENO" 5
7496 for ac_header
in stdlib.h string.h unistd.h fftw3.h gpiv.h
7498 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7499 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7500 eval as_val
=\$
$as_ac_Header
7501 if test "x$as_val" = x
""yes; then :
7502 cat >>confdefs.h
<<_ACEOF
7503 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7511 # Check whether --enable-cam was given.
7512 if test "${enable_cam+set}" = set; then :
7513 enableval
=$enable_cam; ENABLE_CAM
="-DENABLE_CAM"
7520 # Check whether --enable-trig was given.
7521 if test "${enable_trig+set}" = set; then :
7522 enableval
=$enable_trig; ENABLE_TRIG
="-DENABLE_TRIG"
7529 if test $ENABLE_CAM ||
test $ENABLE_TRIG; then
7530 ENABLE_DAC
="-DENABLE_DAC"
7534 if test "${ENABLE_CAM}" == '-DENABLE_CAM'; then
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpiv_cam_get_camvar in -lgpiv" >&5
7536 $as_echo_n "checking for gpiv_cam_get_camvar in -lgpiv... " >&6; }
7537 if test "${ac_cv_lib_gpiv_gpiv_cam_get_camvar+set}" = set; then :
7538 $as_echo_n "(cached) " >&6
7540 ac_check_lib_save_LIBS
=$LIBS
7542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7543 /* end confdefs.h. */
7545 /* Override any GCC internal prototype to avoid an error.
7546 Use char because int might match the return type of a GCC
7547 builtin and then its argument prototype would still apply. */
7551 char gpiv_cam_get_camvar ();
7555 return gpiv_cam_get_camvar ();
7560 if ac_fn_c_try_link
"$LINENO"; then :
7561 ac_cv_lib_gpiv_gpiv_cam_get_camvar
=yes
7563 ac_cv_lib_gpiv_gpiv_cam_get_camvar
=no
7565 rm -f core conftest.err conftest.
$ac_objext \
7566 conftest
$ac_exeext conftest.
$ac_ext
7567 LIBS
=$ac_check_lib_save_LIBS
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&5
7570 $as_echo "$ac_cv_lib_gpiv_gpiv_cam_get_camvar" >&6; }
7571 if test "x$ac_cv_lib_gpiv_gpiv_cam_get_camvar" = x
""yes; then :
7572 cat >>confdefs.h
<<_ACEOF
7573 #define HAVE_LIBGPIV 1
7579 as_fn_error
"\"(IEEE-1394) camera is not working in libgpiv. \
7580 Enable (IEEE-1394) camera in libgpiv or disable it here by leaving out --enable-cam during ./configure\"" "$LINENO" 5
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for raw1394_destroy_handle in -lraw1394" >&5
7585 $as_echo_n "checking for raw1394_destroy_handle in -lraw1394... " >&6; }
7586 if test "${ac_cv_lib_raw1394_raw1394_destroy_handle+set}" = set; then :
7587 $as_echo_n "(cached) " >&6
7589 ac_check_lib_save_LIBS
=$LIBS
7590 LIBS
="-lraw1394 $LIBS"
7591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7592 /* end confdefs.h. */
7594 /* Override any GCC internal prototype to avoid an error.
7595 Use char because int might match the return type of a GCC
7596 builtin and then its argument prototype would still apply. */
7600 char raw1394_destroy_handle ();
7604 return raw1394_destroy_handle ();
7609 if ac_fn_c_try_link
"$LINENO"; then :
7610 ac_cv_lib_raw1394_raw1394_destroy_handle
=yes
7612 ac_cv_lib_raw1394_raw1394_destroy_handle
=no
7614 rm -f core conftest.err conftest.
$ac_objext \
7615 conftest
$ac_exeext conftest.
$ac_ext
7616 LIBS
=$ac_check_lib_save_LIBS
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_raw1394_raw1394_destroy_handle" >&5
7619 $as_echo "$ac_cv_lib_raw1394_raw1394_destroy_handle" >&6; }
7620 if test "x$ac_cv_lib_raw1394_raw1394_destroy_handle" = x
""yes; then :
7621 cat >>confdefs.h
<<_ACEOF
7622 #define HAVE_LIBRAW1394 1
7625 LIBS
="-lraw1394 $LIBS"
7628 as_fn_error
"\"libraw1394 not installed\"" "$LINENO" 5
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dc1394_create_handle in -ldc1394_control" >&5
7633 $as_echo_n "checking for dc1394_create_handle in -ldc1394_control... " >&6; }
7634 if test "${ac_cv_lib_dc1394_control_dc1394_create_handle+set}" = set; then :
7635 $as_echo_n "(cached) " >&6
7637 ac_check_lib_save_LIBS
=$LIBS
7638 LIBS
="-ldc1394_control $LIBS"
7639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7640 /* end confdefs.h. */
7642 /* Override any GCC internal prototype to avoid an error.
7643 Use char because int might match the return type of a GCC
7644 builtin and then its argument prototype would still apply. */
7648 char dc1394_create_handle ();
7652 return dc1394_create_handle ();
7657 if ac_fn_c_try_link
"$LINENO"; then :
7658 ac_cv_lib_dc1394_control_dc1394_create_handle
=yes
7660 ac_cv_lib_dc1394_control_dc1394_create_handle
=no
7662 rm -f core conftest.err conftest.
$ac_objext \
7663 conftest
$ac_exeext conftest.
$ac_ext
7664 LIBS
=$ac_check_lib_save_LIBS
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dc1394_control_dc1394_create_handle" >&5
7667 $as_echo "$ac_cv_lib_dc1394_control_dc1394_create_handle" >&6; }
7668 if test "x$ac_cv_lib_dc1394_control_dc1394_create_handle" = x
""yes; then :
7669 cat >>confdefs.h
<<_ACEOF
7670 #define HAVE_LIBDC1394_CONTROL 1
7673 LIBS
="-ldc1394_control $LIBS"
7676 as_fn_error
"\"libdc1394_control not installed\"" "$LINENO" 5
7680 ac_fn_c_check_header_mongrel
"$LINENO" "libdc1394/dc1394_control.h" "ac_cv_header_libdc1394_dc1394_control_h" "$ac_includes_default"
7681 if test "x$ac_cv_header_libdc1394_dc1394_control_h" = x
""yes; then :
7684 as_fn_error
"\"missing dc1394_control.h\"" "$LINENO" 5
7689 ac_fn_c_check_header_mongrel
"$LINENO" "libraw1394/raw1394.h" "ac_cv_header_libraw1394_raw1394_h" "$ac_includes_default"
7690 if test "x$ac_cv_header_libraw1394_raw1394_h" = x
""yes; then :
7693 as_fn_error
"\"missing raw1394.h\"" "$LINENO" 5
7700 if test "${ENABLE_TRIG}" == '-DENABLE_TRIG'; then
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpiv_trig_openrtfs in -lgpiv" >&5
7702 $as_echo_n "checking for gpiv_trig_openrtfs in -lgpiv... " >&6; }
7703 if test "${ac_cv_lib_gpiv_gpiv_trig_openrtfs+set}" = set; then :
7704 $as_echo_n "(cached) " >&6
7706 ac_check_lib_save_LIBS
=$LIBS
7708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7709 /* end confdefs.h. */
7711 /* Override any GCC internal prototype to avoid an error.
7712 Use char because int might match the return type of a GCC
7713 builtin and then its argument prototype would still apply. */
7717 char gpiv_trig_openrtfs ();
7721 return gpiv_trig_openrtfs ();
7726 if ac_fn_c_try_link
"$LINENO"; then :
7727 ac_cv_lib_gpiv_gpiv_trig_openrtfs
=yes
7729 ac_cv_lib_gpiv_gpiv_trig_openrtfs
=no
7731 rm -f core conftest.err conftest.
$ac_objext \
7732 conftest
$ac_exeext conftest.
$ac_ext
7733 LIBS
=$ac_check_lib_save_LIBS
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&5
7736 $as_echo "$ac_cv_lib_gpiv_gpiv_trig_openrtfs" >&6; }
7737 if test "x$ac_cv_lib_gpiv_gpiv_trig_openrtfs" = x
""yes; then :
7738 cat >>confdefs.h
<<_ACEOF
7739 #define HAVE_LIBGPIV 1
7745 as_fn_error
"\"(Realtime) triggering is not working in libgpiv. \
7746 Enable (realtime) triggering in libgpiv or disable it here by leaving out --enable-trig during ./configure\"" "$LINENO" 5
7752 # Extract the first word of "gpiv_control", so it can be a program name with args.
7753 set dummy gpiv_control
; ac_word
=$2
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7755 $as_echo_n "checking for $ac_word... " >&6; }
7756 if test "${ac_cv_prog_CONTROL+set}" = set; then :
7757 $as_echo_n "(cached) " >&6
7759 if test -n "$CONTROL"; then
7760 ac_cv_prog_CONTROL
="$CONTROL" # Let the user override the test.
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_prog_CONTROL
="true"
7770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7777 test -z "$ac_cv_prog_CONTROL" && ac_cv_prog_CONTROL
="false"
7780 CONTROL
=$ac_cv_prog_CONTROL
7781 if test -n "$CONTROL"; then
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONTROL" >&5
7783 $as_echo "$CONTROL" >&6; }
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7786 $as_echo "no" >&6; }
7792 HAVE_CONTROL_FALSE
='#'
7794 HAVE_CONTROL_TRUE
='#'
7799 # Check whether --enable-rta was given.
7800 if test "${enable_rta+set}" = set; then :
7801 enableval
=$enable_rta; RTA_TOPDIR
="$enableval"
7803 RTA_TOPDIR
="/usr/lib/realtime"
7810 # Check whether --enable-k was given.
7811 if test "${enable_k+set}" = set; then :
7812 enableval
=$enable_k; K_TOPDIR
="$enableval"
7814 K_TOPDIR
="/usr/src/kernel-headers-2.4.27-adeos"
7821 # Check whether --enable-img-width was given.
7822 if test "${enable_img_width+set}" = set; then :
7823 enableval
=$enable_img_width; OVERRIDE_IMAGE_WIDTH_MAX
="-DIMAGE_WIDTH_MAX=$enableval"
7831 # Check whether --enable-img-height was given.
7832 if test "${enable_img_height+set}" = set; then :
7833 enableval
=$enable_img_height; OVERRIDE_IMAGE_HEIGHT_MAX
="-DIMAGE_HEIGHT_MAX=$enableval"
7840 # Check whether --enable-canvas_aa was given.
7841 if test "${enable_canvas_aa+set}" = set; then :
7842 enableval
=$enable_canvas_aa; CANVAS_AA
="-DCANVAS_AA"
7849 # Check whether --enable-debug was given.
7850 if test "${enable_debug+set}" = set; then :
7851 enableval
=$enable_debug; DEBUG
="-DDEBUG"
7861 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"
7863 cat >confcache
<<\_ACEOF
7864 # This file is a shell script that caches the results of configure
7865 # tests run on this system so they can be shared between configure
7866 # scripts and configure runs, see configure's option --config-cache.
7867 # It is not useful on other systems. If it contains results you don't
7868 # want to keep, you may remove or edit it.
7870 # config.status only pays attention to the cache file if you give it
7871 # the --recheck option to rerun configure.
7873 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7874 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7879 # The following way of writing the cache mishandles newlines in values,
7880 # but we know of no workaround that is simple, portable, and efficient.
7881 # So, we kill variables containing newlines.
7882 # Ultrix sh set writes to stderr and can't be redirected directly,
7883 # and sets the high bit in the cache file unless we assign to the vars.
7885 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7886 eval ac_val
=\$
$ac_var
7890 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7891 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7894 _ | IFS | as_nl
) ;; #(
7895 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7896 *) { eval $ac_var=; unset $ac_var;} ;;
7902 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7903 *${as_nl}ac_space
=\
*)
7904 # `set' does not quote correctly, so add quotes: double-quote
7905 # substitution turns \\\\ into \\, and sed turns \\ into \.
7908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7911 # `set' quotes correctly as required by POSIX, so do not add quotes.
7912 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7921 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7923 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7925 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7926 if test -w "$cache_file"; then
7927 test "x$cache_file" != "x/dev/null" &&
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7929 $as_echo "$as_me: updating cache $cache_file" >&6;}
7930 cat confcache
>$cache_file
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7933 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7938 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7939 # Let make expand exec_prefix.
7940 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7942 # Transform confdefs.h into DEFS.
7943 # Protect against shell expansion while executing Makefile rules.
7944 # Protect against Makefile macro expansion.
7946 # If the first sed substitution is executed (which looks for macros that
7947 # take arguments), then branch to the quote section. Otherwise,
7948 # look for a macro that doesn't take arguments.
7958 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
7960 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
7964 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7977 DEFS
=`sed -n "$ac_script" confdefs.h`
7982 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7983 # 1. Remove the extension, and $U if already installed.
7984 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7985 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7986 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7987 # will be set to the directory where LIBOBJS objects are built.
7988 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7989 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7993 LTLIBOBJS
=$ac_ltlibobjs
7996 if test -n "$EXEEXT"; then
7998 am__EXEEXT_FALSE
='#'
8004 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8005 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
8006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8008 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8009 as_fn_error
"conditional \"AMDEP\" was never defined.
8010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8012 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8013 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
8014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8016 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8017 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
8018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8020 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8021 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
8022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8025 ac_config_commands
="$ac_config_commands po/stamp-it"
8028 if test -z "${HAVE_CONTROL_TRUE}" && test -z "${HAVE_CONTROL_FALSE}"; then
8029 as_fn_error
"conditional \"HAVE_CONTROL\" was never defined.
8030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
8033 : ${CONFIG_STATUS=./config.status}
8035 ac_clean_files_save
=$ac_clean_files
8036 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
8038 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
8040 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
8042 # Generated by $as_me.
8043 # Run this file to recreate the current configuration.
8044 # Compiler output produced by configure, useful for debugging
8045 # configure, is in config.log if it exists.
8051 SHELL=\${CONFIG_SHELL-$SHELL}
8054 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
8055 ## -------------------- ##
8056 ## M4sh Initialization. ##
8057 ## -------------------- ##
8059 # Be more Bourne compatible
8060 DUALCASE
=1; export DUALCASE
# for MKS sh
8061 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
8064 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
8065 # is contrary to our usage. Disable this feature.
8066 alias -g '${1+"$@"}'='"$@"'
8067 setopt NO_GLOB_SUBST
8069 case `(set -o) 2>/dev/null` in #(
8081 # Printing a long string crashes Solaris 7 /usr/bin/printf.
8082 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
8083 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8084 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8085 # Prefer a ksh shell builtin over an external printf program on Solaris,
8086 # but without wasting forks for bash or zsh.
8087 if test -z "$BASH_VERSION$ZSH_VERSION" \
8088 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
8089 as_echo='print
-r --'
8090 as_echo_n='print
-rn --'
8091 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8092 as_echo='printf %s
\n'
8093 as_echo_n='printf %s
'
8095 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8096 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
8097 as_echo_n='/usr
/ucb
/echo -n'
8099 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8100 as_echo_n_body='eval
8104 expr "X$arg" : "X\\(.*\\)$as_nl";
8105 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8107 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
8109 export as_echo_n_body
8110 as_echo_n='sh
-c $as_echo_n_body as_echo
'
8113 as_echo='sh
-c $as_echo_body as_echo
'
8116 # The user is always right.
8117 if test "${PATH_SEPARATOR+set}" != set; then
8119 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8120 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8127 # We need space, tab and new line, in precisely that order. Quoting is
8128 # there to prevent editors from complaining about space-tab.
8129 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8130 # splitting by setting IFS to empty value.)
8133 # Find who we are. Look in the path if we contain no directory separator.
8135 *[\\/]* ) as_myself=$0 ;;
8136 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8140 test -z "$as_dir" && as_dir=.
8141 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8147 # We did not find ourselves, most probably we were run as `sh COMMAND'
8148 # in which case we are not to be found in the path.
8149 if test "x$as_myself" = x
; then
8152 if test ! -f "$as_myself"; then
8153 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8157 # Unset variables that we do not need and which cause bugs (e.g. in
8158 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
8159 # suppresses any "Segmentation fault" message there. '((' could
8160 # trigger a bug in pdksh 5.2.14.
8161 for as_var
in BASH_ENV ENV MAIL MAILPATH
8162 do eval test x\
${$as_var+set} = xset \
8163 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
8176 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
8179 # as_fn_error ERROR [LINENO LOG_FD]
8180 # ---------------------------------
8181 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
8182 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
8183 # script with status $?, using 1 if that was 0.
8186 as_status
=$?
; test $as_status -eq 0 && as_status
=1
8188 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
8189 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
8191 $as_echo "$as_me: error: $1" >&2
8192 as_fn_exit
$as_status
8196 # as_fn_set_status STATUS
8197 # -----------------------
8198 # Set $? to STATUS, without forking.
8202 } # as_fn_set_status
8206 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
8216 # Portably unset VAR.
8219 { eval $1=; unset $1;}
8221 as_unset
=as_fn_unset
8222 # as_fn_append VAR VALUE
8223 # ----------------------
8224 # Append the text in VALUE to the end of the definition contained in VAR. Take
8225 # advantage of any shell optimizations that allow amortized linear growth over
8226 # repeated appends, instead of the typical quadratic growth present in naive
8228 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
8229 eval 'as_fn_append ()
8240 # as_fn_arith ARG...
8241 # ------------------
8242 # Perform arithmetic evaluation on the ARGs, and store the result in the
8243 # global $as_val. Take advantage of shells that can avoid forks. The arguments
8244 # must be portable across $(()) and expr.
8245 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
8246 eval 'as_fn_arith ()
8253 as_val
=`expr "$@" || test $? -eq 1`
8258 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8259 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8265 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8266 as_basename
=basename
8271 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8277 as_me
=`$as_basename -- "$0" ||
8278 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8279 X"$0" : 'X\(//\)$' \| \
8280 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8282 sed '/^.*\/\([^/][^/]*\)\/*$/{
8296 # Avoid depending upon Character Ranges.
8297 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8298 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8299 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8300 as_cr_digits
='0123456789'
8301 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8303 ECHO_C
= ECHO_N
= ECHO_T
=
8304 case `echo -n x` in #(((((
8306 case `echo 'xy\c'` in
8307 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8309 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
8316 rm -f conf$$ conf$$.exe conf$$.
file
8317 if test -d conf$$.dir
; then
8318 rm -f conf$$.dir
/conf$$.
file
8321 mkdir conf$$.dir
2>/dev
/null
8323 if (echo >conf$$.
file) 2>/dev
/null
; then
8324 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8326 # ... but there are two gotchas:
8327 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8328 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8329 # In both cases, we have to default to `cp -p'.
8330 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8332 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8340 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8341 rmdir conf$$.dir
2>/dev
/null
8346 # Create "$as_dir" as a directory, including parents if necessary.
8351 -*) as_dir
=.
/$as_dir;;
8353 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
8357 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8358 *) as_qdir
=$as_dir;;
8360 as_dirs
="'$as_qdir' $as_dirs"
8361 as_dir
=`$as_dirname -- "$as_dir" ||
8362 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8363 X"$as_dir" : 'X\(//\)[^/]' \| \
8364 X"$as_dir" : 'X\(//\)$' \| \
8365 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8366 $as_echo X"$as_dir" |
8367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8384 test -d "$as_dir" && break
8386 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
8387 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
8391 if mkdir
-p .
2>/dev
/null
; then
8392 as_mkdir_p
='mkdir -p "$as_dir"'
8394 test -d .
/-p && rmdir .
/-p
8398 if test -x / >/dev
/null
2>&1; then
8401 if ls -dL / >/dev
/null
2>&1; then
8408 if test -d "$1"; then
8414 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
8415 ???[sx]*):;;*)false;;esac;fi
8419 as_executable_p
=$as_test_x
8421 # Sed expression to map a string onto a valid CPP name.
8422 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8424 # Sed expression to map a string onto a valid variable name.
8425 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8429 ## ----------------------------------- ##
8430 ## Main body of $CONFIG_STATUS script. ##
8431 ## ----------------------------------- ##
8433 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
8435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8436 # Save the log message, to keep $0 and so on meaningful, and to
8437 # report actual input values of CONFIG_FILES etc. instead of their
8438 # values after options handling.
8440 This file was extended by gpiv $as_me 0.6.1, which was
8441 generated by GNU Autoconf 2.65. Invocation command line was
8443 CONFIG_FILES = $CONFIG_FILES
8444 CONFIG_HEADERS = $CONFIG_HEADERS
8445 CONFIG_LINKS = $CONFIG_LINKS
8446 CONFIG_COMMANDS = $CONFIG_COMMANDS
8449 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8454 case $ac_config_files in *"
8455 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
8460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8461 # Files that config.status was made for.
8462 config_files="$ac_config_files"
8463 config_commands="$ac_config_commands"
8467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8469 \`$as_me' instantiates files and other configuration actions
8470 from templates according to the current configuration. Unless the files
8471 and actions are specified as TAGs, all are instantiated by default.
8473 Usage: $0 [OPTION]... [TAG]...
8475 -h, --help print this help, then exit
8476 -V, --version print version number and configuration settings, then exit
8477 --config print configuration, then exit
8478 -q, --quiet, --silent
8479 do not print progress messages
8480 -d, --debug don't remove temporary files
8481 --recheck update $as_me by reconfiguring in the same conditions
8482 --file=FILE[:TEMPLATE]
8483 instantiate the configuration file FILE
8485 Configuration files:
8488 Configuration commands:
8491 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gpiv>."
8494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8495 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8497 gpiv config.status 0.6.1
8498 configured by $0, generated by GNU Autoconf 2.65,
8499 with options \\"\$ac_cs_config\\"
8501 Copyright (C) 2009 Free Software Foundation, Inc.
8502 This config.status script is free software; the Free Software Foundation
8503 gives unlimited permission to copy, distribute and modify it."
8510 test -n "\$AWK" || AWK=awk
8513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8514 # The default lists apply if the user does not specify any file.
8520 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8521 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8532 # Handling of the options.
8533 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8535 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8536 $as_echo "$ac_cs_version"; exit ;;
8537 --config |
--confi |
--conf |
--con |
--co |
--c )
8538 $as_echo "$ac_cs_config"; exit ;;
8539 --debug |
--debu |
--deb |
--de |
--d |
-d )
8541 --file |
--fil |
--fi |
--f )
8544 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8546 as_fn_append CONFIG_FILES
" '$ac_optarg'"
8547 ac_need_defaults
=false
;;
8548 --he |
--h |
--help |
--hel |
-h )
8549 $as_echo "$ac_cs_usage"; exit ;;
8550 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8551 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8555 -*) as_fn_error
"unrecognized option: \`$1'
8556 Try \`$0 --help' for more information." ;;
8558 *) as_fn_append ac_config_targets
" $1"
8559 ac_need_defaults
=false
;;
8565 ac_configure_extra_args
=
8567 if $ac_cs_silent; then
8569 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8574 if \$ac_cs_recheck; then
8575 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8577 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8578 CONFIG_SHELL='$SHELL'
8584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8588 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8589 ## Running $as_me. ##
8595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8599 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8606 # Handling of arguments.
8607 for ac_config_target
in $ac_config_targets
8609 case $ac_config_target in
8610 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8611 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
8612 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8613 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
8614 "doc/C/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/C/Makefile" ;;
8615 "doc/C/figures/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/C/figures/Makefile" ;;
8616 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
8617 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
8618 "man/Makefile") CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
8619 "pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES pixmaps/Makefile" ;;
8620 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
8622 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8627 # If the user did not use the arguments to specify the items to instantiate,
8628 # then the envvar interface is used. Set only those that are not.
8629 # We use the long form for the default assignment because of an extremely
8630 # bizarre bug on SunOS 4.1.3.
8631 if $ac_need_defaults; then
8632 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8633 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8636 # Have a temporary directory for convenience. Make it in the build tree
8637 # simply because there is no reason against having it here, and in addition,
8638 # creating and moving files from /tmp can sometimes cause problems.
8639 # Hook for its removal unless debugging.
8640 # Note that there is a small window in which the directory will not be cleaned:
8641 # after its creation but before its name has been assigned to `$tmp'.
8645 trap 'exit_status=$?
8646 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8648 trap 'as_fn_exit 1' 1 2 13 15
8650 # Create a (secure) tmp directory for tmp files.
8653 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8654 test -n "$tmp" && test -d "$tmp"
8657 tmp
=.
/conf$$
-$RANDOM
8658 (umask 077 && mkdir
"$tmp")
8659 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
8661 # Set up the scripts for CONFIG_FILES section.
8662 # No need to generate them if there are no CONFIG_FILES.
8663 # This happens for instance with `./config.status config.h'.
8664 if test -n "$CONFIG_FILES"; then
8667 ac_cr
=`echo X | tr X '\015'`
8668 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8669 # But we know of no other shell where ac_cr would be empty at this
8670 # point, so we can use a bashism as a fallback.
8671 if test "x$ac_cr" = x
; then
8672 eval ac_cr
=\$
\'\\r
\'
8674 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8675 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8681 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8686 echo "cat >conf$$subs.awk <<_ACEOF" &&
8687 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8690 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8691 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8693 for ac_last_try in false false false false false :; do
8694 . ./conf$$subs.sh ||
8695 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8697 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8698 if test $ac_delim_n = $ac_delim_num; then
8700 elif $ac_last_try; then
8701 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
8703 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8709 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
8713 s/^/S["/; s
/!.
*/"]=/
8723 s/\(.\{148\}\)..*/\1/
8725 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8730 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8737 s/\(.\{148\}\)..*/\1/
8739 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8743 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8748 ' <conf$$subs.awk | sed '
8753 ' >>$CONFIG_STATUS || ac_write_fail=1
8754 rm -f conf$$subs.awk
8755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8757 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
8758 for (key in S) S_is_set[key] = 1
8764 nfields = split(line, field, "@
")
8766 len = length(field[1])
8767 for (i = 2; i < nfields; i++) {
8769 keylen = length(key)
8770 if (S_is_set[key]) {
8772 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8773 len += length(value) + length(field[++i])
8784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8785 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8786 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8789 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
8790 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
8793 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8794 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
8795 # trailing colons and then remove the whole line if VPATH becomes empty
8796 # (actually we leave an empty line to preserve line numbers).
8797 if test "x
$srcdir" = x.; then
8798 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8802 s/^\([^=]*=[ ]*\):*/\1/
8808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8809 fi # test -n "$CONFIG_FILES"
8812 eval set X " :F
$CONFIG_FILES :C
$CONFIG_COMMANDS"
8817 :[FHLC]) ac_mode=$ac_tag; continue;;
8819 case $ac_mode$ac_tag in
8821 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
8822 :[FH]-) ac_tag=-:-;;
8823 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8840 -) ac_f="$tmp/stdin";;
8841 *) # Look for the file first in the build tree, then in the source tree
8842 # (if the path is not absolute). The absolute path cannot be DOS-style,
8843 # because $ac_f cannot contain `:'.
8847 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8849 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8851 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
8852 as_fn_append ac_file_inputs " '$ac_f'"
8855 # Let's still pretend it is `configure' which instantiates (i.e., don't
8856 # use $as_me), people would be surprised to read:
8857 # /* config.h. Generated by config.status. */
8858 configure_input='Generated from '`
8859 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8861 if test x"$ac_file" != x-; then
8862 configure_input="$ac_file.
$configure_input"
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
8864 $as_echo "$as_me: creating
$ac_file" >&6;}
8866 # Neutralize special characters interpreted by sed in replacement strings.
8867 case $configure_input in #(
8868 *\&* | *\|* | *\\* )
8869 ac_sed_conf_input=`$as_echo "$configure_input" |
8870 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8871 *) ac_sed_conf_input=$configure_input;;
8875 *:-:* | *:-) cat >"$tmp/stdin
" \
8876 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
8881 ac_dir=`$as_dirname -- "$ac_file" ||
8882 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8883 X"$ac_file" : 'X\(//\)[^/]' \| \
8884 X"$ac_file" : 'X\(//\)$' \| \
8885 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8886 $as_echo X"$ac_file" |
8887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8904 as_dir="$ac_dir"; as_fn_mkdir_p
8908 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8910 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8911 # A "..
" for each directory in $ac_dir_suffix.
8912 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8913 case $ac_top_builddir_sub in
8914 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8915 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8918 ac_abs_top_builddir=$ac_pwd
8919 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8920 # for backward compatibility:
8921 ac_top_builddir=$ac_top_build_prefix
8924 .) # We are building in place.
8926 ac_top_srcdir=$ac_top_builddir_sub
8927 ac_abs_top_srcdir=$ac_pwd ;;
8928 [\\/]* | ?:[\\/]* ) # Absolute name.
8929 ac_srcdir=$srcdir$ac_dir_suffix;
8930 ac_top_srcdir=$srcdir
8931 ac_abs_top_srcdir=$srcdir ;;
8933 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8934 ac_top_srcdir=$ac_top_build_prefix$srcdir
8935 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8937 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8947 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8948 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8952 [\\/$]* | ?:[\\/]* ) ;;
8953 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8958 # If the template does not know about datarootdir, expand it.
8959 # FIXME: This hack should be removed a few years after 2.60.
8960 ac_datarootdir_hack=; ac_datarootdir_seen=
8971 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
8972 *datarootdir*) ac_datarootdir_seen=yes;;
8973 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
8975 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
8977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8978 ac_datarootdir_hack='
8979 s&@datadir@&$datadir&g
8980 s&@docdir@&$docdir&g
8981 s&@infodir@&$infodir&g
8982 s&@localedir@&$localedir&g
8983 s&@mandir@&$mandir&g
8984 s&\\\${datarootdir}&$datarootdir&g' ;;
8988 # Neutralize VPATH when `$srcdir' = `.'.
8989 # Shell code in configure.ac might set extrasub.
8990 # FIXME: do we really want to maintain this feature?
8991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8992 ac_sed_extra="$ac_vpsub
8995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8997 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8998 s|@configure_input@|
$ac_sed_conf_input|
;t t
8999 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9000 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
9001 s
&@srcdir@
&$ac_srcdir&;t t
9002 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9003 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9004 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9005 s
&@builddir@
&$ac_builddir&;t t
9006 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9007 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9008 s
&@INSTALL@
&$ac_INSTALL&;t t
9009 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9010 $ac_datarootdir_hack
9012 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
9013 || as_fn_error "could not create
$ac_file" "$LINENO" 5
9015 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9016 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9017 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9019 which seems to be undefined. Please make sure it is defined." >&5
9020 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9021 which seems to be undefined. Please make sure it is defined." >&2;}
9025 -) cat "$tmp/out" && rm -f "$tmp/out";;
9026 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
9028 || as_fn_error "could not create $ac_file" "$LINENO" 5
9032 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
9033 $as_echo "$as_me: executing $ac_file commands" >&6;}
9038 case $ac_file$ac_mode in
9039 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
9040 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9041 # are listed without --file. Let's play safe and only
enable the
eval
9042 # if we detect the quoting.
9043 case $CONFIG_FILES in
9044 *\'*) eval set x
"$CONFIG_FILES" ;;
9045 *) set x
$CONFIG_FILES ;;
9050 # Strip MF so we end up with the name of the file.
9051 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9052 # Check whether this is an Automake generated Makefile or not.
9053 # We used to match only the files named `Makefile.in', but
9054 # some people rename them; so instead we look at the file content.
9055 # Grep'ing the first line is not enough: some people post-process
9056 # each Makefile.in and add a new line on top of each file to say so.
9057 # Grep'ing the whole file is not good either: AIX grep has a line
9058 # limit of 2048, but all sed's we know have understand at least 4000.
9059 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
9060 dirpart
=`$as_dirname -- "$mf" ||
9061 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9062 X"$mf" : 'X\(//\)[^/]' \| \
9063 X"$mf" : 'X\(//\)$' \| \
9064 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9086 # Extract the definition of DEPDIR, am__include, and am__quote
9087 # from the Makefile without running `make'.
9088 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9089 test -z "$DEPDIR" && continue
9090 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9091 test -z "am__include" && continue
9092 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9093 # When using ansi2knr, U may be empty or an underscore; expand it
9094 U
=`sed -n 's/^U = //p' < "$mf"`
9095 # Find all dependency output files, they are included files with
9096 # $(DEPDIR) in their names. We invoke sed twice because it is the
9097 # simplest approach to changing $(DEPDIR) to its actual value in the
9099 for file in `sed -n "
9100 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9101 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9102 # Make sure the directory exists.
9103 test -f "$dirpart/$file" && continue
9104 fdir
=`$as_dirname -- "$file" ||
9105 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9106 X"$file" : 'X\(//\)[^/]' \| \
9107 X"$file" : 'X\(//\)$' \| \
9108 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9127 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
9128 # echo "creating $dirpart/$file"
9129 echo '# dummy' > "$dirpart/$file"
9134 "default-1":C
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
9135 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
9138 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev
/null
; then
9139 as_fn_error
"po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
9141 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
9146 '"s|^| $ac_top_srcdir/|" \
9147 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
9149 sed '/^POTFILES =/,/[^\\]$/ {
9153 ' "po/Makefile.in" >"po/Makefile"
9154 rm -f "po/Makefile.tmp"
9155 mv "po/stamp-it.tmp" "po/stamp-it"
9164 ac_clean_files
=$ac_clean_files_save
9166 test $ac_write_fail = 0 ||
9167 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
9170 # configure is writing to config.log, and then calls config.status.
9171 # config.status does its own redirection, appending to config.log.
9172 # Unfortunately, on DOS this fails, as config.log is still kept open
9173 # by configure, so config.status won't be able to write to it; its
9174 # output is simply discarded. So we exec the FD to /dev/null,
9175 # effectively closing config.log, so it can be properly (re)opened and
9176 # appended to by config.status. When coming back to configure, we
9177 # need to make the FD available again.
9178 if test "$no_create" != yes; then
9180 ac_config_status_args
=
9181 test "$silent" = yes &&
9182 ac_config_status_args
="$ac_config_status_args --quiet"
9184 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9186 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9187 # would make configure fail if this is the last instruction.
9188 $ac_cs_success || as_fn_exit $?
9190 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
9192 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
9197 echo "===================================================================="
9198 echo "Configuration succesfully finished"
9200 if test $ENABLE_CAM; then
9201 echo "with (IEEE-1394) camera enabled"
9204 if test $ENABLE_TRIG; then
9205 echo "with (realtime) triggering enabled."
9207 if test x
$CONTROL = xfalse
; then
9208 echo "Gpiv_control has not been found on this system, and probably gpivtrig-rtl isn't"
9209 echo "resident as well. This script eases to install and uninstall the gpivtrig-rtl"
9210 echo "and RTAI kernel modules that are needed for the triggering of camera and lasers"
9215 if test $ENABLE_MPI; then
9216 echo "Using Message Passing Interface (MPI)."
9217 echo "for processing on distributed memory systems"
9218 echo "MPI-enabled gpivtools package is needed for correct funtioning"
9221 echo "Type 'make' and 'make install' to build and install gpiv"
9222 echo "===================================================================="