2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for gimp-lqr-plugin 0.7.0.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status
=$?
; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
550 PACKAGE_NAME
='gimp-lqr-plugin'
551 PACKAGE_TARNAME
='gimp-lqr-plugin'
552 PACKAGE_VERSION
='0.7.0'
553 PACKAGE_STRING
='gimp-lqr-plugin 0.7.0'
557 ac_unique_file
="src/main.c"
558 # Factoring default headers for most tests.
559 ac_includes_default
="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
594 ac_subst_vars
='LTLIBOBJS
618 INTLTOOL_SERVICE_RULE
620 INTLTOOL_SCHEMAS_RULE
622 INTLTOOL_XML_NOMERGE_RULE
627 INTLTOOL_SOUNDLIST_RULE
634 INTLTOOL_DIRECTORY_RULE
635 INTLTOOL_DESKTOP_RULE
650 MAINTAINER_MODE_FALSE
678 INSTALL_STRIP_PROGRAM
719 program_transform_name
732 enable_option_checking
733 enable_dependency_tracking
734 enable_maintainer_mode
737 ac_precious_vars
='build_alias
753 # Initialize some variables set by options.
755 ac_init_version
=false
756 ac_unrecognized_opts
=
758 # The variables have the same names as the options, with
759 # dashes changed to underlines.
767 program_transform_name
=s
,x
,x
,
775 # Installation directory options.
776 # These are left unexpanded so users can "make install exec_prefix=/foo"
777 # and all the variables that are supposed to be based on exec_prefix
778 # by default will actually change.
779 # Use braces instead of parens because sh, perl, etc. also accept them.
780 # (The list follows the same order as the GNU Coding Standards.)
781 bindir
='${exec_prefix}/bin'
782 sbindir
='${exec_prefix}/sbin'
783 libexecdir
='${exec_prefix}/libexec'
784 datarootdir
='${prefix}/share'
785 datadir
='${datarootdir}'
786 sysconfdir
='${prefix}/etc'
787 sharedstatedir
='${prefix}/com'
788 localstatedir
='${prefix}/var'
789 includedir
='${prefix}/include'
790 oldincludedir
='/usr/include'
791 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
792 infodir
='${datarootdir}/info'
797 libdir
='${exec_prefix}/lib'
798 localedir
='${datarootdir}/locale'
799 mandir
='${datarootdir}/man'
805 # If the previous option needs an argument, assign it.
806 if test -n "$ac_prev"; then
807 eval $ac_prev=\
$ac_option
813 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
817 # Accept the important Cygnus configure options, so we can diagnose typos.
819 case $ac_dashdash$ac_option in
823 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
825 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
828 -build |
--build |
--buil |
--bui |
--bu)
829 ac_prev
=build_alias
;;
830 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
831 build_alias
=$ac_optarg ;;
833 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
834 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
835 ac_prev
=cache_file
;;
836 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
837 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
838 cache_file
=$ac_optarg ;;
841 cache_file
=config.cache
;;
843 -datadir |
--datadir |
--datadi |
--datad)
845 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
846 datadir
=$ac_optarg ;;
848 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
849 |
--dataroo |
--dataro |
--datar)
850 ac_prev
=datarootdir
;;
851 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
852 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
853 datarootdir
=$ac_optarg ;;
855 -disable-* |
--disable-*)
856 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
857 # Reject names that are not valid shell variable names.
858 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
859 as_fn_error
"invalid feature name: $ac_useropt"
860 ac_useropt_orig
=$ac_useropt
861 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
862 case $ac_user_opts in
866 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
867 ac_unrecognized_sep
=', ';;
869 eval enable_
$ac_useropt=no
;;
871 -docdir |
--docdir |
--docdi |
--doc |
--do)
873 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
876 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
878 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
881 -enable-* |
--enable-*)
882 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
885 as_fn_error
"invalid feature name: $ac_useropt"
886 ac_useropt_orig
=$ac_useropt
887 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
888 case $ac_user_opts in
892 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
893 ac_unrecognized_sep
=', ';;
895 eval enable_
$ac_useropt=\
$ac_optarg ;;
897 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
898 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
899 |
--exec |
--exe |
--ex)
900 ac_prev
=exec_prefix
;;
901 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
902 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
903 |
--exec=* |
--exe=* |
--ex=*)
904 exec_prefix
=$ac_optarg ;;
906 -gas |
--gas |
--ga |
--g)
907 # Obsolete; use --with-gas.
910 -help |
--help |
--hel |
--he |
-h)
912 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
913 ac_init_help
=recursive
;;
914 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
915 ac_init_help
=short
;;
917 -host |
--host |
--hos |
--ho)
918 ac_prev
=host_alias
;;
919 -host=* |
--host=* |
--hos=* |
--ho=*)
920 host_alias
=$ac_optarg ;;
922 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
924 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
926 htmldir
=$ac_optarg ;;
928 -includedir |
--includedir |
--includedi |
--included |
--include \
929 |
--includ |
--inclu |
--incl |
--inc)
930 ac_prev
=includedir
;;
931 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
932 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
933 includedir
=$ac_optarg ;;
935 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
937 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
938 infodir
=$ac_optarg ;;
940 -libdir |
--libdir |
--libdi |
--libd)
942 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
945 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
946 |
--libexe |
--libex |
--libe)
947 ac_prev
=libexecdir
;;
948 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
949 |
--libexe=* |
--libex=* |
--libe=*)
950 libexecdir
=$ac_optarg ;;
952 -localedir |
--localedir |
--localedi |
--localed |
--locale)
954 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
955 localedir
=$ac_optarg ;;
957 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
958 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
959 ac_prev
=localstatedir
;;
960 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
961 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
962 localstatedir
=$ac_optarg ;;
964 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
966 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
970 # Obsolete; use --without-fp.
973 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
974 |
--no-cr |
--no-c |
-n)
977 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
978 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
981 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
982 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
983 |
--oldin |
--oldi |
--old |
--ol |
--o)
984 ac_prev
=oldincludedir
;;
985 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
986 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
987 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
988 oldincludedir
=$ac_optarg ;;
990 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
992 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
995 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
996 |
--program-pre |
--program-pr |
--program-p)
997 ac_prev
=program_prefix
;;
998 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
999 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1000 program_prefix
=$ac_optarg ;;
1002 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1003 |
--program-suf |
--program-su |
--program-s)
1004 ac_prev
=program_suffix
;;
1005 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1006 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1007 program_suffix
=$ac_optarg ;;
1009 -program-transform-name |
--program-transform-name \
1010 |
--program-transform-nam |
--program-transform-na \
1011 |
--program-transform-n |
--program-transform- \
1012 |
--program-transform |
--program-transfor \
1013 |
--program-transfo |
--program-transf \
1014 |
--program-trans |
--program-tran \
1015 |
--progr-tra |
--program-tr |
--program-t)
1016 ac_prev
=program_transform_name
;;
1017 -program-transform-name=* |
--program-transform-name=* \
1018 |
--program-transform-nam=* |
--program-transform-na=* \
1019 |
--program-transform-n=* |
--program-transform-=* \
1020 |
--program-transform=* |
--program-transfor=* \
1021 |
--program-transfo=* |
--program-transf=* \
1022 |
--program-trans=* |
--program-tran=* \
1023 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1024 program_transform_name
=$ac_optarg ;;
1026 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1028 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1029 pdfdir
=$ac_optarg ;;
1031 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1033 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1036 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1037 |
-silent |
--silent |
--silen |
--sile |
--sil)
1040 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1042 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1044 sbindir
=$ac_optarg ;;
1046 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1047 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1048 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1050 ac_prev
=sharedstatedir
;;
1051 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1052 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1053 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1055 sharedstatedir
=$ac_optarg ;;
1057 -site |
--site |
--sit)
1059 -site=* |
--site=* |
--sit=*)
1062 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1064 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1065 srcdir
=$ac_optarg ;;
1067 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1068 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1069 ac_prev
=sysconfdir
;;
1070 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1071 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1072 sysconfdir
=$ac_optarg ;;
1074 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1075 ac_prev
=target_alias
;;
1076 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1077 target_alias
=$ac_optarg ;;
1079 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1082 -version |
--version |
--versio |
--versi |
--vers |
-V)
1083 ac_init_version
=: ;;
1086 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1089 as_fn_error
"invalid package name: $ac_useropt"
1090 ac_useropt_orig
=$ac_useropt
1091 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1096 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1097 ac_unrecognized_sep
=', ';;
1099 eval with_
$ac_useropt=\
$ac_optarg ;;
1101 -without-* |
--without-*)
1102 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1105 as_fn_error
"invalid package name: $ac_useropt"
1106 ac_useropt_orig
=$ac_useropt
1107 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108 case $ac_user_opts in
1112 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1113 ac_unrecognized_sep
=', ';;
1115 eval with_
$ac_useropt=no
;;
1118 # Obsolete; use --with-x.
1121 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1122 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1123 ac_prev
=x_includes
;;
1124 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1125 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1126 x_includes
=$ac_optarg ;;
1128 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1129 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1130 ac_prev
=x_libraries
;;
1131 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1132 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1133 x_libraries
=$ac_optarg ;;
1135 -*) as_fn_error
"unrecognized option: \`$ac_option'
1136 Try \`$0 --help' for more information."
1140 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1141 # Reject names that are not valid shell variable names.
1142 case $ac_envvar in #(
1143 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1144 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1146 eval $ac_envvar=\
$ac_optarg
1147 export $ac_envvar ;;
1150 # FIXME: should be removed in autoconf 3.0.
1151 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1152 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1153 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1154 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1160 if test -n "$ac_prev"; then
1161 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1162 as_fn_error
"missing argument to $ac_option"
1165 if test -n "$ac_unrecognized_opts"; then
1166 case $enable_option_checking in
1168 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1169 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1173 # Check all directory arguments for consistency.
1174 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1175 datadir sysconfdir sharedstatedir localstatedir includedir \
1176 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1177 libdir localedir mandir
1179 eval ac_val
=\$
$ac_var
1180 # Remove trailing slashes.
1183 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1184 eval $ac_var=\
$ac_val;;
1186 # Be sure to have absolute directory names.
1188 [\\/$
]* | ?
:[\\/]* ) continue;;
1189 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1191 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1199 target
=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x
; then
1203 if test "x$build_alias" = x
; then
1204 cross_compiling
=maybe
1205 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1213 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1215 test "$silent" = yes && exec 6>/dev
/null
1218 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di
=`ls -di .` &&
1220 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1221 as_fn_error
"working directory cannot be determined"
1222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1223 as_fn_error
"pwd does not report name of working directory"
1226 # Find the source files, if location was not specified.
1227 if test -z "$srcdir"; then
1228 ac_srcdir_defaulted
=yes
1229 # Try the directory containing this script, then the parent directory.
1230 ac_confdir
=`$as_dirname -- "$as_myself" ||
1231 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$as_myself" : 'X\(//\)[^/]' \| \
1233 X"$as_myself" : 'X\(//\)$' \| \
1234 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1235 $as_echo X"$as_myself" |
1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1258 ac_srcdir_defaulted
=no
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1262 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1264 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1266 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1276 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1278 for ac_var
in $ac_precious_vars; do
1279 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1281 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1292 \`configure' configures gimp-lqr-plugin 0.7.0 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/gimp-lqr-plugin]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1350 --program-prefix=PREFIX prepend PREFIX to installed program names
1351 --program-suffix=SUFFIX append SUFFIX to installed program names
1352 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1356 if test -n "$ac_init_help"; then
1357 case $ac_init_help in
1358 short | recursive
) echo "Configuration of gimp-lqr-plugin 0.7.0:";;
1363 --disable-option-checking ignore unrecognized
--enable/--with options
1364 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1365 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1366 --disable-dependency-tracking speeds up one-time build
1367 --enable-dependency-tracking do not reject slow dependency extractors
1368 --enable-maintainer-mode enable make rules and dependencies not useful
1369 (and sometimes confusing
) to the casual installer
1370 --disable-nls do not use Native Language Support
1372 Some influential environment variables
:
1373 CC C compiler
command
1374 CFLAGS C compiler flags
1375 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1376 nonstandard directory
<lib dir
>
1377 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1378 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1379 you have headers
in a nonstandard directory
<include dir
>
1381 PKG_CONFIG path to pkg-config utility
1382 GIMP_CFLAGS C compiler flags
for GIMP
, overriding pkg-config
1383 GIMP_LIBS linker flags
for GIMP
, overriding pkg-config
1384 LQR_CFLAGS C compiler flags
for LQR
, overriding pkg-config
1385 LQR_LIBS linker flags
for LQR
, overriding pkg-config
1387 Use these variables to override the choices made by
`configure' or to help
1388 it to find libraries and programs with nonstandard names/locations.
1390 Report bugs to the package provider.
1395 if test "$ac_init_help" = "recursive"; then
1396 # If there are subdirs, report their specific --help.
1397 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1398 test -d "$ac_dir" ||
1399 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1404 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1406 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1407 # A ".." for each directory in $ac_dir_suffix.
1408 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1409 case $ac_top_builddir_sub in
1410 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1414 ac_abs_top_builddir=$ac_pwd
1415 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1416 # for backward compatibility:
1417 ac_top_builddir=$ac_top_build_prefix
1420 .) # We are building in place.
1422 ac_top_srcdir=$ac_top_builddir_sub
1423 ac_abs_top_srcdir=$ac_pwd ;;
1424 [\\/]* | ?:[\\/]* ) # Absolute name.
1425 ac_srcdir=$srcdir$ac_dir_suffix;
1426 ac_top_srcdir=$srcdir
1427 ac_abs_top_srcdir=$srcdir ;;
1429 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1430 ac_top_srcdir=$ac_top_build_prefix$srcdir
1431 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1433 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1435 cd "$ac_dir" || { ac_status=$?; continue; }
1436 # Check for guested configure.
1437 if test -f "$ac_srcdir/configure.gnu"; then
1439 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1440 elif test -f "$ac_srcdir/configure"; then
1442 $SHELL "$ac_srcdir/configure" --help=recursive
1444 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1446 cd "$ac_pwd" || { ac_status=$?; break; }
1450 test -n "$ac_init_help" && exit $ac_status
1451 if $ac_init_version; then
1453 gimp-lqr-plugin configure 0.7.0
1454 generated by GNU Autoconf 2.65
1456 Copyright (C) 2009 Free Software Foundation, Inc.
1457 This configure script is free software; the Free Software Foundation
1458 gives unlimited permission to copy, distribute and modify it.
1463 ## ------------------------ ##
1464 ## Autoconf initialization. ##
1465 ## ------------------------ ##
1467 # ac_fn_c_try_compile LINENO
1468 # --------------------------
1469 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1470 ac_fn_c_try_compile ()
1472 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1473 rm -f conftest.$ac_objext
1474 if { { ac_try="$ac_compile"
1476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1477 *) ac_try_echo
=$ac_try;;
1479 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1480 $as_echo "$ac_try_echo"; } >&5
1481 (eval "$ac_compile") 2>conftest.err
1483 if test -s conftest.err
; then
1484 grep -v '^ *+' conftest.err
>conftest.er1
1485 cat conftest.er1
>&5
1486 mv -f conftest.er1 conftest.err
1488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1489 test $ac_status = 0; } && {
1490 test -z "$ac_c_werror_flag" ||
1491 test ! -s conftest.err
1492 } && test -s conftest.
$ac_objext; then :
1495 $as_echo "$as_me: failed program was:" >&5
1496 sed 's/^/| /' conftest.
$ac_ext >&5
1500 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1501 as_fn_set_status
$ac_retval
1503 } # ac_fn_c_try_compile
1505 # ac_fn_c_try_cpp LINENO
1506 # ----------------------
1507 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1510 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1511 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1514 *) ac_try_echo=$ac_try;;
1516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1517 $as_echo "$ac_try_echo"; } >&5
1518 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1520 if test -s conftest.err; then
1521 grep -v '^ *+' conftest.err >conftest.er1
1522 cat conftest.er1 >&5
1523 mv -f conftest.er1 conftest.err
1525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1526 test $ac_status = 0; } >/dev/null && {
1527 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1528 test ! -s conftest.err
1532 $as_echo "$as_me: failed program was:" >&5
1533 sed 's/^/| /' conftest.$ac_ext >&5
1537 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1538 as_fn_set_status $ac_retval
1542 # ac_fn_c_try_run LINENO
1543 # ----------------------
1544 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1545 # that executables *can* be run.
1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1549 if { { ac_try="$ac_link"
1551 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1552 *) ac_try_echo
=$ac_try;;
1554 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1555 $as_echo "$ac_try_echo"; } >&5
1556 (eval "$ac_link") 2>&5
1558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1559 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1560 { { case "(($ac_try" in
1561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1562 *) ac_try_echo=$ac_try;;
1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565 $as_echo "$ac_try_echo"; } >&5
1566 (eval "$ac_try") 2>&5
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; }; }; then :
1572 $as_echo "$as_me: program exited with status $ac_status" >&5
1573 $as_echo "$as_me: failed program was:" >&5
1574 sed 's/^/| /' conftest.$ac_ext >&5
1576 ac_retval=$ac_status
1578 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1579 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1580 as_fn_set_status $ac_retval
1584 # ac_fn_c_try_link LINENO
1585 # -----------------------
1586 # Try to link conftest.$ac_ext, and return whether this succeeded.
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 rm -f conftest.$ac_objext conftest$ac_exeext
1591 if { { ac_try="$ac_link"
1593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1594 *) ac_try_echo
=$ac_try;;
1596 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_link") 2>conftest.err
1600 if test -s conftest.err
; then
1601 grep -v '^ *+' conftest.err
>conftest.er1
1602 cat conftest.er1
>&5
1603 mv -f conftest.er1 conftest.err
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } && {
1607 test -z "$ac_c_werror_flag" ||
1608 test ! -s conftest.err
1609 } && test -s conftest
$ac_exeext && {
1610 test "$cross_compiling" = yes ||
1611 $as_test_x conftest
$ac_exeext
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.
$ac_ext >&5
1620 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1621 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1622 # interfere with the next link command; also delete a directory that is
1623 # left behind by Apple's compiler. We do this before executing the actions.
1624 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1625 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1626 as_fn_set_status
$ac_retval
1628 } # ac_fn_c_try_link
1630 # ac_fn_c_check_func LINENO FUNC VAR
1631 # ----------------------------------
1632 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1633 ac_fn_c_check_func
()
1635 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1637 $as_echo_n "checking for $2... " >&6; }
1638 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1639 $as_echo_n "(cached) " >&6
1641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1642 /* end confdefs.h. */
1643 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1645 #define $2 innocuous_$2
1647 /* System header to define __stub macros and hopefully few prototypes,
1648 which can conflict with char $2 (); below.
1649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1650 <limits.h> exists even on freestanding compilers. */
1653 # include <limits.h>
1655 # include <assert.h>
1660 /* Override any GCC internal prototype to avoid an error.
1661 Use char because int might match the return type of a GCC
1662 builtin and then its argument prototype would still apply. */
1667 /* The GNU C library defines this for functions which it implements
1668 to always fail with ENOSYS. Some functions are actually named
1669 something starting with __ and the normal name is an alias. */
1670 #if defined __stub_$2 || defined __stub___$2
1682 if ac_fn_c_try_link
"$LINENO"; then :
1687 rm -f core conftest.err conftest.
$ac_objext \
1688 conftest
$ac_exeext conftest.
$ac_ext
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1693 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1695 } # ac_fn_c_check_func
1697 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1698 # -------------------------------------------------------
1699 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1700 # the include files in INCLUDES and setting the cache variable VAR
1702 ac_fn_c_check_header_mongrel
()
1704 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1705 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707 $as_echo_n "checking for $2... " >&6; }
1708 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1709 $as_echo_n "(cached) " >&6
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 $as_echo "$ac_res" >&6; }
1715 # Is the header compilable?
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1717 $as_echo_n "checking $2 usability... " >&6; }
1718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1719 /* end confdefs.h. */
1723 if ac_fn_c_try_compile
"$LINENO"; then :
1724 ac_header_compiler
=yes
1726 ac_header_compiler
=no
1728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1730 $as_echo "$ac_header_compiler" >&6; }
1732 # Is the header present?
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1734 $as_echo_n "checking $2 presence... " >&6; }
1735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1736 /* end confdefs.h. */
1739 if ac_fn_c_try_cpp
"$LINENO"; then :
1740 ac_header_preproc
=yes
1742 ac_header_preproc
=no
1744 rm -f conftest.err conftest.
$ac_ext
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1746 $as_echo "$ac_header_preproc" >&6; }
1748 # So? What about this header?
1749 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1752 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1754 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1758 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1760 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1762 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1764 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1766 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770 $as_echo_n "checking for $2... " >&6; }
1771 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1772 $as_echo_n "(cached) " >&6
1774 eval "$3=\$ac_header_compiler"
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1780 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1782 } # ac_fn_c_check_header_mongrel
1784 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1785 # -------------------------------------------------------
1786 # Tests whether HEADER exists and can be compiled using the include files in
1787 # INCLUDES, setting the cache variable VAR accordingly.
1788 ac_fn_c_check_header_compile
()
1790 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1792 $as_echo_n "checking for $2... " >&6; }
1793 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1794 $as_echo_n "(cached) " >&6
1796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1801 if ac_fn_c_try_compile
"$LINENO"; then :
1806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1810 $as_echo "$ac_res" >&6; }
1811 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1813 } # ac_fn_c_check_header_compile
1814 cat >config.log
<<_ACEOF
1815 This file contains any messages produced by compilers while
1816 running configure, to aid debugging if configure makes a mistake.
1818 It was created by gimp-lqr-plugin $as_me 0.7.0, which was
1819 generated by GNU Autoconf 2.65. Invocation command line was
1831 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1832 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1833 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1834 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1835 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1837 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1838 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1840 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1841 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1842 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1843 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1844 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1845 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1846 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1854 test -z "$as_dir" && as_dir
=.
1855 $as_echo "PATH: $as_dir"
1871 # Keep a trace of the command line.
1872 # Strip out --no-create and --no-recursion so they do not pile up.
1873 # Strip out --silent because we don't want to record it for future runs.
1874 # Also quote any args containing shell meta-characters.
1875 # Make two passes to allow for proper duplicate-argument suppression.
1879 ac_must_keep_next
=false
1885 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1886 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1887 |
-silent |
--silent |
--silen |
--sile |
--sil)
1890 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1893 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1895 as_fn_append ac_configure_args1
" '$ac_arg'"
1896 if test $ac_must_keep_next = true
; then
1897 ac_must_keep_next
=false
# Got value, back to normal.
1900 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1901 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1902 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1903 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1904 case "$ac_configure_args0 " in
1905 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1908 -* ) ac_must_keep_next
=true
;;
1911 as_fn_append ac_configure_args
" '$ac_arg'"
1916 { ac_configure_args0
=; unset ac_configure_args0
;}
1917 { ac_configure_args1
=; unset ac_configure_args1
;}
1919 # When interrupted or exit'd, cleanup temporary files, and complete
1920 # config.log. We remove comments because anyway the quotes in there
1921 # would cause problems or look ugly.
1922 # WARNING: Use '\'' to represent an apostrophe within the trap.
1923 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1924 trap 'exit_status=$?
1925 # Save into config.log some information that might help in debugging.
1930 ## ---------------- ##
1931 ## Cache variables. ##
1932 ## ---------------- ##
1935 # The following way of writing the cache mishandles newlines in values,
1937 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1938 eval ac_val=\$$ac_var
1942 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1943 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1946 _ | IFS | as_nl) ;; #(
1947 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1948 *) { eval $ac_var=; unset $ac_var;} ;;
1953 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1954 *${as_nl}ac_space=\ *)
1956 "s/'\''/'\''\\\\'\'''\''/g;
1957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1960 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1968 ## ----------------- ##
1969 ## Output variables. ##
1970 ## ----------------- ##
1973 for ac_var in $ac_subst_vars
1975 eval ac_val=\$$ac_var
1977 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1979 $as_echo "$ac_var='\''$ac_val'\''"
1983 if test -n "$ac_subst_files"; then
1985 ## ------------------- ##
1986 ## File substitutions. ##
1987 ## ------------------- ##
1990 for ac_var
in $ac_subst_files
1992 eval ac_val
=\$
$ac_var
1994 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1996 $as_echo "$ac_var='\''$ac_val'\''"
2001 if test -s confdefs.h; then
2011 test "$ac_signal" != 0 &&
2012 $as_echo "$as_me: caught signal $ac_signal"
2013 $as_echo "$as_me: exit $exit_status"
2015 rm -f core *.core core.conftest.* &&
2016 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2019 for ac_signal
in 1 2 13 15; do
2020 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2024 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2025 rm -f -r conftest
* confdefs.h
2027 $as_echo "/* confdefs.h */" > confdefs.h
2029 # Predefined preprocessor variables.
2031 cat >>confdefs.h
<<_ACEOF
2032 #define PACKAGE_NAME "$PACKAGE_NAME"
2035 cat >>confdefs.h
<<_ACEOF
2036 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2039 cat >>confdefs.h
<<_ACEOF
2040 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2043 cat >>confdefs.h
<<_ACEOF
2044 #define PACKAGE_STRING "$PACKAGE_STRING"
2047 cat >>confdefs.h
<<_ACEOF
2048 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2051 cat >>confdefs.h
<<_ACEOF
2052 #define PACKAGE_URL "$PACKAGE_URL"
2056 # Let the site file select an alternate cache file if it wants to.
2057 # Prefer an explicitly selected file to automatically selected ones.
2060 if test -n "$CONFIG_SITE"; then
2061 ac_site_file1
=$CONFIG_SITE
2062 elif test "x$prefix" != xNONE
; then
2063 ac_site_file1
=$prefix/share
/config.site
2064 ac_site_file2
=$prefix/etc
/config.site
2066 ac_site_file1
=$ac_default_prefix/share
/config.site
2067 ac_site_file2
=$ac_default_prefix/etc
/config.site
2069 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2071 test "x$ac_site_file" = xNONE
&& continue
2072 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2074 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2075 sed 's/^/| /' "$ac_site_file" >&5
2080 if test -r "$cache_file"; then
2081 # Some versions of bash will fail to source /dev/null (special files
2082 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2083 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2085 $as_echo "$as_me: loading cache $cache_file" >&6;}
2087 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2088 *) .
"./$cache_file";;
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2093 $as_echo "$as_me: creating cache $cache_file" >&6;}
2097 # Check that the precious variables saved in the cache have kept the same
2099 ac_cache_corrupted
=false
2100 for ac_var
in $ac_precious_vars; do
2101 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2102 eval ac_new_set
=\
$ac_env_${ac_var}_set
2103 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2104 eval ac_new_val
=\
$ac_env_${ac_var}_value
2105 case $ac_old_set,$ac_new_set in
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2108 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2109 ac_cache_corrupted
=: ;;
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2112 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2113 ac_cache_corrupted
=: ;;
2116 if test "x$ac_old_val" != "x$ac_new_val"; then
2117 # differences in whitespace do not lead to failure.
2118 ac_old_val_w
=`echo x $ac_old_val`
2119 ac_new_val_w
=`echo x $ac_new_val`
2120 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2122 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2123 ac_cache_corrupted
=:
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2126 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2127 eval $ac_var=\
$ac_old_val
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2130 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2132 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2135 # Pass precious variables to config.status.
2136 if test "$ac_new_set" = set; then
2138 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2139 *) ac_arg
=$ac_var=$ac_new_val ;;
2141 case " $ac_configure_args " in
2142 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2143 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2147 if $ac_cache_corrupted; then
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2151 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2152 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2154 ## -------------------- ##
2155 ## Main body of script. ##
2156 ## -------------------- ##
2159 ac_cpp
='$CPP $CPPFLAGS'
2160 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2161 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2162 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2167 $as_echo "#define PLUGIN_NAME PACKAGE_NAME" >>confdefs.h
2170 $as_echo "#define PLUGIN_VERSION PACKAGE_VERSION" >>confdefs.h
2174 $as_echo "#define PLUGIN_MAJOR_VERSION 0" >>confdefs.h
2177 $as_echo "#define PLUGIN_MINOR_VERSION 7" >>confdefs.h
2180 $as_echo "#define PLUGIN_MICRO_VERSION 0" >>confdefs.h
2184 ac_config_headers
="$ac_config_headers config.h"
2187 am__api_version
="1.9"
2189 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2190 for ac_t
in install-sh
install.sh shtool
; do
2191 if test -f "$ac_dir/$ac_t"; then
2193 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2198 if test -z "$ac_aux_dir"; then
2199 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2202 # These three variables are undocumented and unsupported,
2203 # and are intended to be withdrawn in a future Autoconf release.
2204 # They can cause serious problems if a builder's source tree is in a directory
2205 # whose full name contains unusual characters.
2206 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2207 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2208 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2211 # Find a good install program. We prefer a C program (faster),
2212 # so one script is as good as another. But avoid the broken or
2213 # incompatible versions:
2214 # SysV /etc/install, /usr/sbin/install
2215 # SunOS /usr/etc/install
2216 # IRIX /sbin/install
2218 # AmigaOS /C/install, which installs bootblocks on floppy discs
2219 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2220 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2221 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2222 # OS/2's system install, which has a completely different semantic
2223 # ./install, which can be erroneously created by make from ./install.sh.
2224 # Reject install programs that cannot install multiple files.
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2226 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2227 if test -z "$INSTALL"; then
2228 if test "${ac_cv_path_install+set}" = set; then :
2229 $as_echo_n "(cached) " >&6
2231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2235 test -z "$as_dir" && as_dir
=.
2236 # Account for people who put trailing slashes in PATH elements.
2237 case $as_dir/ in #((
2238 .
/ | .
// |
/[cC
]/* | \
2239 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2240 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2243 # OSF1 and SCO ODT 3.0 have their own names for install.
2244 # Don't use installbsd from OSF since it installs stuff as root
2246 for ac_prog
in ginstall scoinst
install; do
2247 for ac_exec_ext
in '' $ac_executable_extensions; do
2248 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2249 if test $ac_prog = install &&
2250 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2251 # AIX install. It has an incompatible calling convention.
2253 elif test $ac_prog = install &&
2254 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2255 # program-specific install script used by HP pwplus--don't use.
2258 rm -rf conftest.one conftest.two conftest.dir
2259 echo one
> conftest.one
2260 echo two
> conftest.two
2262 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2263 test -s conftest.one
&& test -s conftest.two
&&
2264 test -s conftest.dir
/conftest.one
&&
2265 test -s conftest.dir
/conftest.two
2267 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2280 rm -rf conftest.one conftest.two conftest.dir
2283 if test "${ac_cv_path_install+set}" = set; then
2284 INSTALL
=$ac_cv_path_install
2286 # As a last resort, use the slow shell script. Don't cache a
2287 # value for INSTALL within a source directory, because that will
2288 # break other packages using the cache if that directory is
2289 # removed, or if the value is a relative name.
2290 INSTALL
=$ac_install_sh
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2294 $as_echo "$INSTALL" >&6; }
2296 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2297 # It thinks the first close brace ends the variable substitution.
2298 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2300 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2302 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2305 $as_echo_n "checking whether build environment is sane... " >&6; }
2308 echo timestamp
> conftest.
file
2309 # Do `set' in a subshell so we don't clobber the current shell's
2310 # arguments. Must try -L first in case configure is actually a
2311 # symlink; some systems play weird games with the mod time of symlinks
2312 # (eg FreeBSD returns the mod time of the symlink's containing
2315 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2316 if test "$*" = "X"; then
2318 set X
`ls -t $srcdir/configure conftest.file`
2321 if test "$*" != "X $srcdir/configure conftest.file" \
2322 && test "$*" != "X conftest.file $srcdir/configure"; then
2324 # If neither matched, then we have a broken ls. This can happen
2325 # if, for instance, CONFIG_SHELL is bash and it inherits a
2326 # broken ls alias from the environment. This has actually
2327 # happened. Such a system could not be considered "sane".
2328 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2329 alias in your environment" "$LINENO" 5
2332 test "$2" = conftest.
file
2338 as_fn_error
"newly created file is older than distributed files!
2339 Check your system clock" "$LINENO" 5
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2342 $as_echo "yes" >&6; }
2343 test "$program_prefix" != NONE
&&
2344 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2345 # Use a double $ so make ignores it.
2346 test "$program_suffix" != NONE
&&
2347 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2348 # Double any \ or $.
2349 # By default was `s,x,x', remove it if useless.
2350 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2351 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2353 # expand $ac_aux_dir to an absolute path
2354 am_aux_dir
=`cd $ac_aux_dir && pwd`
2356 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2357 # Use eval to expand $SHELL
2358 if eval "$MISSING --run true"; then
2359 am_missing_run
="$MISSING --run "
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2363 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2366 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2367 # We used to keeping the `.' as first argument, in order to
2368 # allow $(mkdir_p) to be used without argument. As in
2369 # $(mkdir_p) $(somedir)
2370 # where $(somedir) is conditionally defined. However this is wrong
2372 # 1. if the package is installed by a user who cannot write `.'
2373 # make install will fail,
2374 # 2. the above comment should most certainly read
2375 # $(mkdir_p) $(DESTDIR)$(somedir)
2376 # so it does not work when $(somedir) is undefined and
2377 # $(DESTDIR) is not.
2378 # To support the latter case, we have to write
2379 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2380 # so the `.' trick is pointless.
2381 mkdir_p
='mkdir -p --'
2383 # On NextStep and OpenStep, the `mkdir' command does not
2384 # recognize any option. It will interpret all options as
2385 # directories to create, and then abort because `.' already
2387 for d
in .
/-p .
/--version;
2389 test -d $d && rmdir $d
2391 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2392 if test -f "$ac_aux_dir/mkinstalldirs"; then
2393 mkdir_p
='$(mkinstalldirs)'
2395 mkdir_p
='$(install_sh) -d'
2399 for ac_prog
in gawk mawk nawk
awk
2401 # Extract the first word of "$ac_prog", so it can be a program name with args.
2402 set dummy
$ac_prog; ac_word
=$2
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2404 $as_echo_n "checking for $ac_word... " >&6; }
2405 if test "${ac_cv_prog_AWK+set}" = set; then :
2406 $as_echo_n "(cached) " >&6
2408 if test -n "$AWK"; then
2409 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2415 test -z "$as_dir" && as_dir
=.
2416 for ac_exec_ext
in '' $ac_executable_extensions; do
2417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2418 ac_cv_prog_AWK
="$ac_prog"
2419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2429 if test -n "$AWK"; then
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2431 $as_echo "$AWK" >&6; }
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2434 $as_echo "no" >&6; }
2438 test -n "$AWK" && break
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2442 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2444 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2445 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2446 $as_echo_n "(cached) " >&6
2448 cat >conftest.
make <<\_ACEOF
2451 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2453 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2454 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2456 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2458 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2462 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2464 $as_echo "yes" >&6; }
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2468 $as_echo "no" >&6; }
2469 SET_MAKE
="MAKE=${MAKE-make}"
2472 rm -rf .tst
2>/dev
/null
2473 mkdir .tst
2>/dev
/null
2474 if test -d .tst
; then
2479 rmdir .tst
2>/dev
/null
2481 # test to see if srcdir already configured
2482 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2483 test -f $srcdir/config.status
; then
2484 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2487 # test whether we have cygpath
2488 if test -z "$CYGPATH_W"; then
2489 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2490 CYGPATH_W
='cygpath -w'
2497 # Define the identity of the package.
2498 PACKAGE
='gimp-lqr-plugin'
2502 # Some tools Automake needs.
2504 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2507 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2510 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2513 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2516 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2518 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2520 # Installed binaries are usually stripped using `strip' when the user
2521 # run `make install-strip'. However `strip' might not be the right
2522 # tool to use in cross-compilation environments, therefore Automake
2523 # will honor the `STRIP' environment variable to overrule this program.
2524 if test "$cross_compiling" != no
; then
2525 if test -n "$ac_tool_prefix"; then
2526 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2527 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2529 $as_echo_n "checking for $ac_word... " >&6; }
2530 if test "${ac_cv_prog_STRIP+set}" = set; then :
2531 $as_echo_n "(cached) " >&6
2533 if test -n "$STRIP"; then
2534 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2540 test -z "$as_dir" && as_dir
=.
2541 for ac_exec_ext
in '' $ac_executable_extensions; do
2542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2543 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2553 STRIP
=$ac_cv_prog_STRIP
2554 if test -n "$STRIP"; then
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2556 $as_echo "$STRIP" >&6; }
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2559 $as_echo "no" >&6; }
2564 if test -z "$ac_cv_prog_STRIP"; then
2566 # Extract the first word of "strip", so it can be a program name with args.
2567 set dummy strip
; ac_word
=$2
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 $as_echo_n "checking for $ac_word... " >&6; }
2570 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2571 $as_echo_n "(cached) " >&6
2573 if test -n "$ac_ct_STRIP"; then
2574 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2580 test -z "$as_dir" && as_dir
=.
2581 for ac_exec_ext
in '' $ac_executable_extensions; do
2582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2583 ac_cv_prog_ac_ct_STRIP
="strip"
2584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2594 if test -n "$ac_ct_STRIP"; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2596 $as_echo "$ac_ct_STRIP" >&6; }
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2602 if test "x$ac_ct_STRIP" = x
; then
2605 case $cross_compiling:$ac_tool_warned in
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2609 ac_tool_warned
=yes ;;
2614 STRIP
="$ac_cv_prog_STRIP"
2618 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2620 # We need awk for the "check" target. The system "awk" is bad on
2622 # Always define AMTAR for backward compatibility.
2624 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2626 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2634 ac_cpp
='$CPP $CPPFLAGS'
2635 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2636 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2637 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2638 if test -n "$ac_tool_prefix"; then
2639 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2640 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2642 $as_echo_n "checking for $ac_word... " >&6; }
2643 if test "${ac_cv_prog_CC+set}" = set; then :
2644 $as_echo_n "(cached) " >&6
2646 if test -n "$CC"; then
2647 ac_cv_prog_CC
="$CC" # Let the user override the test.
2649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2653 test -z "$as_dir" && as_dir
=.
2654 for ac_exec_ext
in '' $ac_executable_extensions; do
2655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2656 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2667 if test -n "$CC"; then
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2669 $as_echo "$CC" >&6; }
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2672 $as_echo "no" >&6; }
2677 if test -z "$ac_cv_prog_CC"; then
2679 # Extract the first word of "gcc", so it can be a program name with args.
2680 set dummy gcc
; ac_word
=$2
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2682 $as_echo_n "checking for $ac_word... " >&6; }
2683 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2684 $as_echo_n "(cached) " >&6
2686 if test -n "$ac_ct_CC"; then
2687 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2693 test -z "$as_dir" && as_dir
=.
2694 for ac_exec_ext
in '' $ac_executable_extensions; do
2695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2696 ac_cv_prog_ac_ct_CC
="gcc"
2697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2707 if test -n "$ac_ct_CC"; then
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2709 $as_echo "$ac_ct_CC" >&6; }
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2712 $as_echo "no" >&6; }
2715 if test "x$ac_ct_CC" = x
; then
2718 case $cross_compiling:$ac_tool_warned in
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2722 ac_tool_warned
=yes ;;
2730 if test -z "$CC"; then
2731 if test -n "$ac_tool_prefix"; then
2732 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2733 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735 $as_echo_n "checking for $ac_word... " >&6; }
2736 if test "${ac_cv_prog_CC+set}" = set; then :
2737 $as_echo_n "(cached) " >&6
2739 if test -n "$CC"; then
2740 ac_cv_prog_CC
="$CC" # Let the user override the test.
2742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2746 test -z "$as_dir" && as_dir
=.
2747 for ac_exec_ext
in '' $ac_executable_extensions; do
2748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2760 if test -n "$CC"; then
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2762 $as_echo "$CC" >&6; }
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765 $as_echo "no" >&6; }
2771 if test -z "$CC"; then
2772 # Extract the first word of "cc", so it can be a program name with args.
2773 set dummy cc
; ac_word
=$2
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2775 $as_echo_n "checking for $ac_word... " >&6; }
2776 if test "${ac_cv_prog_CC+set}" = set; then :
2777 $as_echo_n "(cached) " >&6
2779 if test -n "$CC"; then
2780 ac_cv_prog_CC
="$CC" # Let the user override the test.
2783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2787 test -z "$as_dir" && as_dir
=.
2788 for ac_exec_ext
in '' $ac_executable_extensions; do
2789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2790 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2791 ac_prog_rejected
=yes
2795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2802 if test $ac_prog_rejected = yes; then
2803 # We found a bogon in the path, so make sure we never use it.
2804 set dummy
$ac_cv_prog_CC
2806 if test $# != 0; then
2807 # We chose a different compiler from the bogus one.
2808 # However, it has the same basename, so the bogon will be chosen
2809 # first if we set CC to just the basename; use the full file name.
2811 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2817 if test -n "$CC"; then
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2819 $as_echo "$CC" >&6; }
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2822 $as_echo "no" >&6; }
2827 if test -z "$CC"; then
2828 if test -n "$ac_tool_prefix"; then
2829 for ac_prog
in cl.exe
2831 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2832 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834 $as_echo_n "checking for $ac_word... " >&6; }
2835 if test "${ac_cv_prog_CC+set}" = set; then :
2836 $as_echo_n "(cached) " >&6
2838 if test -n "$CC"; then
2839 ac_cv_prog_CC
="$CC" # Let the user override the test.
2841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2845 test -z "$as_dir" && as_dir
=.
2846 for ac_exec_ext
in '' $ac_executable_extensions; do
2847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2848 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2859 if test -n "$CC"; then
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2861 $as_echo "$CC" >&6; }
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864 $as_echo "no" >&6; }
2868 test -n "$CC" && break
2871 if test -z "$CC"; then
2873 for ac_prog
in cl.exe
2875 # Extract the first word of "$ac_prog", so it can be a program name with args.
2876 set dummy
$ac_prog; ac_word
=$2
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2878 $as_echo_n "checking for $ac_word... " >&6; }
2879 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2880 $as_echo_n "(cached) " >&6
2882 if test -n "$ac_ct_CC"; then
2883 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2889 test -z "$as_dir" && as_dir
=.
2890 for ac_exec_ext
in '' $ac_executable_extensions; do
2891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2892 ac_cv_prog_ac_ct_CC
="$ac_prog"
2893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2902 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2903 if test -n "$ac_ct_CC"; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2905 $as_echo "$ac_ct_CC" >&6; }
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2908 $as_echo "no" >&6; }
2912 test -n "$ac_ct_CC" && break
2915 if test "x$ac_ct_CC" = x
; then
2918 case $cross_compiling:$ac_tool_warned in
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2922 ac_tool_warned
=yes ;;
2931 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2933 as_fn_error
"no acceptable C compiler found in \$PATH
2934 See \`config.log' for more details." "$LINENO" 5; }
2936 # Provide some information about the compiler.
2937 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2940 for ac_option
in --version -v -V -qversion; do
2941 { { ac_try
="$ac_compiler $ac_option >&5"
2943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2947 $as_echo "$ac_try_echo"; } >&5
2948 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2950 if test -s conftest.err; then
2952 ... rest of stderr output deleted ...
2953 10q' conftest.err >conftest.er1
2954 cat conftest.er1 >&5
2956 rm -f conftest.er1 conftest.err
2957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2958 test $ac_status = 0; }
2961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2962 /* end confdefs.h. */
2972 ac_clean_files_save=$ac_clean_files
2973 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2974 # Try to create an executable without -o first, disregard a.out.
2975 # It will help us diagnose broken compilers, and finding out an intuition
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2978 $as_echo_n "checking whether the C compiler works... " >&6; }
2979 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2981 # The possible output files:
2982 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2985 for ac_file in $ac_files
2988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2989 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2994 if { { ac_try="$ac_link_default"
2996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2997 *) ac_try_echo
=$ac_try;;
2999 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3000 $as_echo "$ac_try_echo"; } >&5
3001 (eval "$ac_link_default") 2>&5
3003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3004 test $ac_status = 0; }; then :
3005 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3006 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3007 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3008 # so that the user can short-circuit this test for compilers unknown to
3010 for ac_file
in $ac_files ''
3012 test -f "$ac_file" ||
continue
3014 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3017 # We found the default executable, but exeext='' is most
3021 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3023 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3025 # We set ac_cv_exeext here because the later test for it is not
3026 # safe: cross compilers may not add the suffix if given an `-o'
3027 # argument, so we may need to know it at that point already.
3028 # Even if this section looks crufty: it has the advantage of
3035 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3040 if test -z "$ac_file"; then :
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3042 $as_echo "no" >&6; }
3043 $as_echo "$as_me: failed program was:" >&5
3044 sed 's/^/| /' conftest.
$ac_ext >&5
3046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3048 { as_fn_set_status
77
3049 as_fn_error
"C compiler cannot create executables
3050 See \`config.log' for more details." "$LINENO" 5; }; }
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3053 $as_echo "yes" >&6; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3056 $as_echo_n "checking for C compiler default output file name... " >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3058 $as_echo "$ac_file" >&6; }
3059 ac_exeext
=$ac_cv_exeext
3061 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3062 ac_clean_files
=$ac_clean_files_save
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3064 $as_echo_n "checking for suffix of executables... " >&6; }
3065 if { { ac_try
="$ac_link"
3067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3068 *) ac_try_echo=$ac_try;;
3070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3071 $as_echo "$ac_try_echo"; } >&5
3072 (eval "$ac_link") 2>&5
3074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3075 test $ac_status = 0; }; then :
3076 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3077 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3078 # work properly (i.e., refer to `conftest.exe'), while it won't with
3080 for ac_file
in conftest.exe conftest conftest.
*; do
3081 test -f "$ac_file" ||
continue
3083 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3084 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3092 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3093 See \`config.log' for more details." "$LINENO" 5; }
3095 rm -f conftest conftest
$ac_cv_exeext
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3097 $as_echo "$ac_cv_exeext" >&6; }
3099 rm -f conftest.
$ac_ext
3100 EXEEXT
=$ac_cv_exeext
3102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3103 /* end confdefs.h. */
3108 FILE *f = fopen ("conftest.out", "w");
3109 return ferror (f) || fclose (f) != 0;
3115 ac_clean_files
="$ac_clean_files conftest.out"
3116 # Check that the compiler produces executables we can run. If not, either
3117 # the compiler is broken, or we cross compile.
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3119 $as_echo_n "checking whether we are cross compiling... " >&6; }
3120 if test "$cross_compiling" != yes; then
3121 { { ac_try
="$ac_link"
3123 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3124 *) ac_try_echo=$ac_try;;
3126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3127 $as_echo "$ac_try_echo"; } >&5
3128 (eval "$ac_link") 2>&5
3130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3131 test $ac_status = 0; }
3132 if { ac_try='./conftest$ac_cv_exeext'
3133 { { case "(($ac_try" in
3134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3135 *) ac_try_echo
=$ac_try;;
3137 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3138 $as_echo "$ac_try_echo"; } >&5
3139 (eval "$ac_try") 2>&5
3141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3142 test $ac_status = 0; }; }; then
3145 if test "$cross_compiling" = maybe
; then
3148 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3150 as_fn_error
"cannot run C compiled programs.
3151 If you meant to cross compile, use \`--host'.
3152 See \`config.log' for more details." "$LINENO" 5; }
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3157 $as_echo "$cross_compiling" >&6; }
3159 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3160 ac_clean_files
=$ac_clean_files_save
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3162 $as_echo_n "checking for suffix of object files... " >&6; }
3163 if test "${ac_cv_objext+set}" = set; then :
3164 $as_echo_n "(cached) " >&6
3166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3177 rm -f conftest.o conftest.obj
3178 if { { ac_try
="$ac_compile"
3180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3181 *) ac_try_echo=$ac_try;;
3183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3184 $as_echo "$ac_try_echo"; } >&5
3185 (eval "$ac_compile") 2>&5
3187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3188 test $ac_status = 0; }; then :
3189 for ac_file in conftest.o conftest.obj conftest.*; do
3190 test -f "$ac_file" || continue;
3192 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3193 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3198 $as_echo "$as_me: failed program was:" >&5
3199 sed 's/^/| /' conftest.$ac_ext >&5
3201 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3203 as_fn_error "cannot compute suffix of object files
: cannot compile
3204 See \
`config.log' for more details." "$LINENO" 5; }
3206 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3209 $as_echo "$ac_cv_objext" >&6; }
3210 OBJEXT=$ac_cv_objext
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3213 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3214 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3215 $as_echo_n "(cached) " >&6
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3231 if ac_fn_c_try_compile "$LINENO"; then :
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3241 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3242 if test $ac_compiler_gnu = yes; then
3247 ac_test_CFLAGS=${CFLAGS+set}
3248 ac_save_CFLAGS=$CFLAGS
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3250 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3251 if test "${ac_cv_prog_cc_g+set}" = set; then :
3252 $as_echo_n "(cached) " >&6
3254 ac_save_c_werror_flag=$ac_c_werror_flag
3255 ac_c_werror_flag=yes
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3269 if ac_fn_c_try_compile "$LINENO"; then :
3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3284 if ac_fn_c_try_compile "$LINENO"; then :
3287 ac_c_werror_flag=$ac_save_c_werror_flag
3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3300 if ac_fn_c_try_compile "$LINENO"; then :
3303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 ac_c_werror_flag=$ac_save_c_werror_flag
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3311 $as_echo "$ac_cv_prog_cc_g" >&6; }
3312 if test "$ac_test_CFLAGS" = set; then
3313 CFLAGS=$ac_save_CFLAGS
3314 elif test $ac_cv_prog_cc_g = yes; then
3315 if test "$GCC" = yes; then
3321 if test "$GCC" = yes; then
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3328 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3329 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3330 $as_echo_n "(cached) " >&6
3332 ac_cv_prog_cc_c89=no
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3338 #include <sys/types.h>
3339 #include <sys/stat.h>
3340 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3341 struct buf { int x; };
3342 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3343 static char *e (p, i)
3349 static char *f (char * (*g) (char **, int), char **p, ...)
3354 s = g (p, va_arg (v,int));
3359 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3360 function prototypes and stuff, but not '\xHH' hex character constants.
3361 These don't provoke an error unfortunately, instead are silently treated
3362 as 'x'. The following induces an error, until -std is added to get
3363 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3364 array size at least. It's necessary to write '\x00'==0 to get something
3365 that's true only with -std. */
3366 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3368 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3369 inside strings and character constants. */
3371 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3373 int test (int i, double x);
3374 struct s1 {int (*f) (int a);};
3375 struct s2 {int (*f) (double a);};
3376 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3382 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3387 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3388 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3390 CC="$ac_save_CC $ac_arg"
3391 if ac_fn_c_try_compile "$LINENO"; then :
3392 ac_cv_prog_cc_c89=$ac_arg
3394 rm -f core conftest.err conftest.$ac_objext
3395 test "x$ac_cv_prog_cc_c89" != "xno" && break
3397 rm -f conftest.$ac_ext
3402 case "x$ac_cv_prog_cc_c89" in
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3405 $as_echo "none needed" >&6; } ;;
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3408 $as_echo "unsupported" >&6; } ;;
3410 CC="$CC $ac_cv_prog_cc_c89"
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3412 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3414 if test "x$ac_cv_prog_cc_c89" != xno; then :
3419 ac_cpp='$CPP $CPPFLAGS'
3420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3423 DEPDIR="${am__leading_dot}deps"
3425 ac_config_commands="$ac_config_commands depfiles"
3428 am_make=${MAKE-make}
3429 cat > confinc << 'END'
3434 # If we don't find an include directive, just comment out the code.
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3436 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3440 # First try GNU make style include.
3441 echo "include confinc" > confmf
3442 # We grep out `Entering directory
' and `Leaving directory'
3443 # messages which can occur if `w' ends up in MAKEFLAGS.
3444 # In particular we don't look at `^make:' because GNU make might
3445 # be invoked under some other name (usually "gmake"), in which
3446 # case it prints its new name instead of `make'.
3447 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3452 # Now try BSD make style include.
3453 if test "$am__include" = "#"; then
3454 echo '.include "confinc"' > confmf
3455 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3456 am__include
=.include
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3464 $as_echo "$_am_result" >&6; }
3465 rm -f confinc confmf
3467 # Check whether --enable-dependency-tracking was given.
3468 if test "${enable_dependency_tracking+set}" = set; then :
3469 enableval
=$enable_dependency_tracking;
3472 if test "x$enable_dependency_tracking" != xno
; then
3473 am_depcomp
="$ac_aux_dir/depcomp"
3478 if test "x$enable_dependency_tracking" != xno; then
3489 depcc
="$CC" am_compiler_list
=
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3492 $as_echo_n "checking dependency style of $depcc... " >&6; }
3493 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3494 $as_echo_n "(cached) " >&6
3496 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3497 # We make a subdir and do the tests there. Otherwise we can end up
3498 # making bogus files that we don't know about and never remove. For
3499 # instance it was reported that on HP-UX the gcc test will end up
3500 # making a dummy file named `D' -- because `-MD' means `put the output
3503 # Copy depcomp to subdir because otherwise we won't find it if we're
3504 # using a relative directory.
3505 cp "$am_depcomp" conftest.dir
3507 # We will build objects and dependencies in a subdirectory because
3508 # it helps to detect inapplicable dependency modes. For instance
3509 # both Tru64's cc and ICC support -MD to output dependencies as a
3510 # side effect of compilation, but ICC will put the dependencies in
3511 # the current directory while Tru64 will put them in the object
3515 am_cv_CC_dependencies_compiler_type
=none
3516 if test "$am_compiler_list" = ""; then
3517 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3519 for depmode
in $am_compiler_list; do
3520 # Setup a source with many dependencies, because some compilers
3521 # like to wrap large dependency lists on column 80 (with \), and
3522 # we should not choose a depcomp mode which is confused by this.
3524 # We need to recreate these files for each test, as the compiler may
3525 # overwrite some of them when testing with obscure command lines.
3526 # This happens at least with the AIX C compiler.
3528 for i
in 1 2 3 4 5 6; do
3529 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3530 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3531 # Solaris 8's {/usr,}/bin/sh.
3532 touch sub
/conftst
$i.h
3534 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3538 # after this tag, mechanisms are not by side-effect, so they'll
3539 # only be used when explicitly requested
3540 if test "x$enable_dependency_tracking" = xyes
; then
3548 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3549 # mode. It turns out that the SunPro C++ compiler does not properly
3550 # handle `-M -o', and we need to detect this.
3551 if depmode
=$depmode \
3552 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3553 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3554 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3555 >/dev
/null
2>conftest.err
&&
3556 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3557 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3558 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3559 # icc doesn't choke on unknown options, it will just issue warnings
3560 # or remarks (even with -Werror). So we grep stderr for any message
3561 # that says an option was ignored or not supported.
3562 # When given -MP, icc 7.0 and 7.1 complain thusly:
3563 # icc: Command line warning: ignoring option '-M'; no argument required
3564 # The diagnosis changed in icc 8.0:
3565 # icc: Command line remark: option '-MP' not supported
3566 if (grep 'ignoring option' conftest.err ||
3567 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3568 am_cv_CC_dependencies_compiler_type
=$depmode
3577 am_cv_CC_dependencies_compiler_type
=none
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3582 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3583 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3588 test "x$enable_dependency_tracking" != xno \
3589 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3591 am__fastdepCC_FALSE
='#'
3593 am__fastdepCC_TRUE
='#'
3594 am__fastdepCC_FALSE
=
3599 ac_cpp
='$CPP $CPPFLAGS'
3600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3603 if test -n "$ac_tool_prefix"; then
3604 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3605 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if test "${ac_cv_prog_CC+set}" = set; then :
3609 $as_echo_n "(cached) " >&6
3611 if test -n "$CC"; then
3612 ac_cv_prog_CC
="$CC" # Let the user override the test.
3614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3618 test -z "$as_dir" && as_dir
=.
3619 for ac_exec_ext
in '' $ac_executable_extensions; do
3620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3621 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3632 if test -n "$CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3634 $as_echo "$CC" >&6; }
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3642 if test -z "$ac_cv_prog_CC"; then
3644 # Extract the first word of "gcc", so it can be a program name with args.
3645 set dummy gcc
; ac_word
=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3649 $as_echo_n "(cached) " >&6
3651 if test -n "$ac_ct_CC"; then
3652 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3658 test -z "$as_dir" && as_dir
=.
3659 for ac_exec_ext
in '' $ac_executable_extensions; do
3660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3661 ac_cv_prog_ac_ct_CC
="gcc"
3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3671 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3672 if test -n "$ac_ct_CC"; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3674 $as_echo "$ac_ct_CC" >&6; }
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3680 if test "x$ac_ct_CC" = x
; then
3683 case $cross_compiling:$ac_tool_warned in
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3687 ac_tool_warned
=yes ;;
3695 if test -z "$CC"; then
3696 if test -n "$ac_tool_prefix"; then
3697 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3698 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if test "${ac_cv_prog_CC+set}" = set; then :
3702 $as_echo_n "(cached) " >&6
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC
="$CC" # Let the user override the test.
3707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3711 test -z "$as_dir" && as_dir
=.
3712 for ac_exec_ext
in '' $ac_executable_extensions; do
3713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3714 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3725 if test -n "$CC"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3727 $as_echo "$CC" >&6; }
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3736 if test -z "$CC"; then
3737 # Extract the first word of "cc", so it can be a program name with args.
3738 set dummy cc
; ac_word
=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if test "${ac_cv_prog_CC+set}" = set; then :
3742 $as_echo_n "(cached) " >&6
3744 if test -n "$CC"; then
3745 ac_cv_prog_CC
="$CC" # Let the user override the test.
3748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3752 test -z "$as_dir" && as_dir
=.
3753 for ac_exec_ext
in '' $ac_executable_extensions; do
3754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3756 ac_prog_rejected
=yes
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3767 if test $ac_prog_rejected = yes; then
3768 # We found a bogon in the path, so make sure we never use it.
3769 set dummy
$ac_cv_prog_CC
3771 if test $# != 0; then
3772 # We chose a different compiler from the bogus one.
3773 # However, it has the same basename, so the bogon will be chosen
3774 # first if we set CC to just the basename; use the full file name.
3776 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3782 if test -n "$CC"; then
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3784 $as_echo "$CC" >&6; }
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3787 $as_echo "no" >&6; }
3792 if test -z "$CC"; then
3793 if test -n "$ac_tool_prefix"; then
3794 for ac_prog
in cl.exe
3796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3797 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if test "${ac_cv_prog_CC+set}" = set; then :
3801 $as_echo_n "(cached) " >&6
3803 if test -n "$CC"; then
3804 ac_cv_prog_CC
="$CC" # Let the user override the test.
3806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3810 test -z "$as_dir" && as_dir
=.
3811 for ac_exec_ext
in '' $ac_executable_extensions; do
3812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3813 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 if test -n "$CC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3826 $as_echo "$CC" >&6; }
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3833 test -n "$CC" && break
3836 if test -z "$CC"; then
3838 for ac_prog
in cl.exe
3840 # Extract the first word of "$ac_prog", so it can be a program name with args.
3841 set dummy
$ac_prog; ac_word
=$2
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843 $as_echo_n "checking for $ac_word... " >&6; }
3844 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3845 $as_echo_n "(cached) " >&6
3847 if test -n "$ac_ct_CC"; then
3848 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3854 test -z "$as_dir" && as_dir
=.
3855 for ac_exec_ext
in '' $ac_executable_extensions; do
3856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3857 ac_cv_prog_ac_ct_CC
="$ac_prog"
3858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3868 if test -n "$ac_ct_CC"; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3870 $as_echo "$ac_ct_CC" >&6; }
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3873 $as_echo "no" >&6; }
3877 test -n "$ac_ct_CC" && break
3880 if test "x$ac_ct_CC" = x
; then
3883 case $cross_compiling:$ac_tool_warned in
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3887 ac_tool_warned
=yes ;;
3896 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3898 as_fn_error
"no acceptable C compiler found in \$PATH
3899 See \`config.log' for more details." "$LINENO" 5; }
3901 # Provide some information about the compiler.
3902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3905 for ac_option
in --version -v -V -qversion; do
3906 { { ac_try
="$ac_compiler $ac_option >&5"
3908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3909 *) ac_try_echo=$ac_try;;
3911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3912 $as_echo "$ac_try_echo"; } >&5
3913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3915 if test -s conftest.err; then
3917 ... rest of stderr output deleted ...
3918 10q' conftest.err >conftest.er1
3919 cat conftest.er1 >&5
3921 rm -f conftest.er1 conftest.err
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3927 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3928 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3929 $as_echo_n "(cached) " >&6
3931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3932 /* end confdefs.h. */
3945 if ac_fn_c_try_compile "$LINENO"; then :
3950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3955 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3956 if test $ac_compiler_gnu = yes; then
3961 ac_test_CFLAGS=${CFLAGS+set}
3962 ac_save_CFLAGS=$CFLAGS
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3964 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3965 if test "${ac_cv_prog_cc_g+set}" = set; then :
3966 $as_echo_n "(cached) " >&6
3968 ac_save_c_werror_flag=$ac_c_werror_flag
3969 ac_c_werror_flag=yes
3972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3973 /* end confdefs.h. */
3983 if ac_fn_c_try_compile "$LINENO"; then :
3987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3988 /* end confdefs.h. */
3998 if ac_fn_c_try_compile "$LINENO"; then :
4001 ac_c_werror_flag=$ac_save_c_werror_flag
4003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4004 /* end confdefs.h. */
4014 if ac_fn_c_try_compile "$LINENO"; then :
4017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4022 ac_c_werror_flag=$ac_save_c_werror_flag
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4025 $as_echo "$ac_cv_prog_cc_g" >&6; }
4026 if test "$ac_test_CFLAGS" = set; then
4027 CFLAGS=$ac_save_CFLAGS
4028 elif test $ac_cv_prog_cc_g = yes; then
4029 if test "$GCC" = yes; then
4035 if test "$GCC" = yes; then
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4042 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4043 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4044 $as_echo_n "(cached) " >&6
4046 ac_cv_prog_cc_c89=no
4048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4052 #include <sys/types.h>
4053 #include <sys/stat.h>
4054 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4055 struct buf { int x; };
4056 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4057 static char *e (p, i)
4063 static char *f (char * (*g) (char **, int), char **p, ...)
4068 s = g (p, va_arg (v,int));
4073 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4074 function prototypes and stuff, but not '\xHH' hex character constants.
4075 These don't provoke an error unfortunately, instead are silently treated
4076 as 'x'. The following induces an error, until -std is added to get
4077 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4078 array size at least. It's necessary to write '\x00'==0 to get something
4079 that's true only with -std. */
4080 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4082 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4083 inside strings and character constants. */
4085 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4087 int test (int i, double x);
4088 struct s1 {int (*f) (int a);};
4089 struct s2 {int (*f) (double a);};
4090 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4096 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4101 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4102 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4104 CC="$ac_save_CC $ac_arg"
4105 if ac_fn_c_try_compile "$LINENO"; then :
4106 ac_cv_prog_cc_c89=$ac_arg
4108 rm -f core conftest.err conftest.$ac_objext
4109 test "x$ac_cv_prog_cc_c89" != "xno" && break
4111 rm -f conftest.$ac_ext
4116 case "x$ac_cv_prog_cc_c89" in
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4119 $as_echo "none needed" >&6; } ;;
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4122 $as_echo "unsupported" >&6; } ;;
4124 CC="$CC $ac_cv_prog_cc_c89"
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4126 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4128 if test "x$ac_cv_prog_cc_c89" != xno; then :
4133 ac_cpp='$CPP $CPPFLAGS'
4134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4138 depcc="$CC" am_compiler_list=
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4141 $as_echo_n "checking dependency style of $depcc... " >&6; }
4142 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4143 $as_echo_n "(cached) " >&6
4145 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4146 # We make a subdir and do the tests there. Otherwise we can end up
4147 # making bogus files that we don't know about and never remove. For
4148 # instance it was reported that on HP-UX the gcc test will end up
4149 # making a dummy file named `D
' -- because `-MD' means
`put the output
4152 # Copy depcomp to subdir because otherwise we won't find it if we're
4153 # using a relative directory.
4154 cp "$am_depcomp" conftest.dir
4156 # We will build objects and dependencies in a subdirectory because
4157 # it helps to detect inapplicable dependency modes. For instance
4158 # both Tru64's cc and ICC support -MD to output dependencies as a
4159 # side effect of compilation, but ICC will put the dependencies in
4160 # the current directory while Tru64 will put them in the object
4164 am_cv_CC_dependencies_compiler_type=none
4165 if test "$am_compiler_list" = ""; then
4166 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4168 for depmode in $am_compiler_list; do
4169 # Setup a source with many dependencies, because some compilers
4170 # like to wrap large dependency lists on column 80 (with \), and
4171 # we should not choose a depcomp mode which is confused by this.
4173 # We need to recreate these files for each test, as the compiler may
4174 # overwrite some of them when testing with obscure command lines.
4175 # This happens at least with the AIX C compiler.
4177 for i in 1 2 3 4 5 6; do
4178 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4179 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4180 # Solaris 8's
{/usr
,}/bin
/sh.
4181 touch sub
/conftst
$i.h
4183 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4187 # after this tag, mechanisms are not by side-effect, so they'll
4188 # only be used when explicitly requested
4189 if test "x$enable_dependency_tracking" = xyes
; then
4197 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4198 # mode. It turns out that the SunPro C++ compiler does not properly
4199 # handle `-M -o', and we need to detect this.
4200 if depmode
=$depmode \
4201 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4202 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4203 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4204 >/dev
/null
2>conftest.err
&&
4205 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4206 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4207 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4208 # icc doesn't choke on unknown options, it will just issue warnings
4209 # or remarks (even with -Werror). So we grep stderr for any message
4210 # that says an option was ignored or not supported.
4211 # When given -MP, icc 7.0 and 7.1 complain thusly:
4212 # icc: Command line warning: ignoring option '-M'; no argument required
4213 # The diagnosis changed in icc 8.0:
4214 # icc: Command line remark: option '-MP' not supported
4215 if (grep 'ignoring option' conftest.err ||
4216 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4217 am_cv_CC_dependencies_compiler_type
=$depmode
4226 am_cv_CC_dependencies_compiler_type
=none
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4231 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4232 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4237 test "x$enable_dependency_tracking" != xno \
4238 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4240 am__fastdepCC_FALSE
='#'
4242 am__fastdepCC_TRUE
='#'
4243 am__fastdepCC_FALSE
=
4248 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
4252 ac_cpp
='$CPP $CPPFLAGS'
4253 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4254 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4255 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4257 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4258 # On Suns, sometimes $CPP names a directory.
4259 if test -n "$CPP" && test -d "$CPP"; then
4262 if test -z "$CPP"; then
4263 if test "${ac_cv_prog_CPP+set}" = set; then :
4264 $as_echo_n "(cached) " >&6
4266 # Double quotes because CPP needs to be expanded
4267 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4270 for ac_c_preproc_warn_flag
in '' yes
4272 # Use a header file that comes with gcc, so configuring glibc
4273 # with a fresh cross-compiler works.
4274 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4275 # <limits.h> exists even on freestanding compilers.
4276 # On the NeXT, cc -E runs the code through the compiler's parser,
4277 # not just through cpp. "Syntax error" is here to catch this case.
4278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4281 # include <limits.h>
4283 # include <assert.h>
4287 if ac_fn_c_try_cpp
"$LINENO"; then :
4290 # Broken: fails on valid input.
4293 rm -f conftest.err conftest.
$ac_ext
4295 # OK, works on sane cases. Now check whether nonexistent headers
4296 # can be detected and how.
4297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4299 #include <ac_nonexistent.h>
4301 if ac_fn_c_try_cpp
"$LINENO"; then :
4302 # Broken: success on invalid input.
4305 # Passes both tests.
4309 rm -f conftest.err conftest.
$ac_ext
4312 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4313 rm -f conftest.err conftest.
$ac_ext
4314 if $ac_preproc_ok; then :
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4327 $as_echo "$CPP" >&6; }
4329 for ac_c_preproc_warn_flag
in '' yes
4331 # Use a header file that comes with gcc, so configuring glibc
4332 # with a fresh cross-compiler works.
4333 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4334 # <limits.h> exists even on freestanding compilers.
4335 # On the NeXT, cc -E runs the code through the compiler's parser,
4336 # not just through cpp. "Syntax error" is here to catch this case.
4337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4340 # include <limits.h>
4342 # include <assert.h>
4346 if ac_fn_c_try_cpp
"$LINENO"; then :
4349 # Broken: fails on valid input.
4352 rm -f conftest.err conftest.
$ac_ext
4354 # OK, works on sane cases. Now check whether nonexistent headers
4355 # can be detected and how.
4356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4358 #include <ac_nonexistent.h>
4360 if ac_fn_c_try_cpp
"$LINENO"; then :
4361 # Broken: success on invalid input.
4364 # Passes both tests.
4368 rm -f conftest.err conftest.
$ac_ext
4371 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4372 rm -f conftest.err conftest.
$ac_ext
4373 if $ac_preproc_ok; then :
4376 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4378 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4379 See \`config.log' for more details." "$LINENO" 5; }
4383 ac_cpp
='$CPP $CPPFLAGS'
4384 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4385 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4386 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4390 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4391 if test "${ac_cv_path_GREP+set}" = set; then :
4392 $as_echo_n "(cached) " >&6
4394 if test -z "$GREP"; then
4395 ac_path_GREP_found
=false
4396 # Loop through the user's path and test for each of PROGNAME-LIST
4397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4398 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4401 test -z "$as_dir" && as_dir
=.
4402 for ac_prog
in grep ggrep
; do
4403 for ac_exec_ext
in '' $ac_executable_extensions; do
4404 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4405 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4406 # Check for GNU ac_path_GREP and select it if it is found.
4407 # Check for GNU $ac_path_GREP
4408 case `"$ac_path_GREP" --version 2>&1` in
4410 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4413 $as_echo_n 0123456789 >"conftest.in"
4416 cat "conftest.in" "conftest.in" >"conftest.tmp"
4417 mv "conftest.tmp" "conftest.in"
4418 cp "conftest.in" "conftest.nl"
4419 $as_echo 'GREP' >> "conftest.nl"
4420 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4421 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4422 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4423 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4424 # Best one so far, save it but keep looking for a better one
4425 ac_cv_path_GREP
="$ac_path_GREP"
4426 ac_path_GREP_max
=$ac_count
4428 # 10*(2^10) chars as input seems more than enough
4429 test $ac_count -gt 10 && break
4431 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4434 $ac_path_GREP_found && break 3
4439 if test -z "$ac_cv_path_GREP"; then
4440 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4443 ac_cv_path_GREP
=$GREP
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4448 $as_echo "$ac_cv_path_GREP" >&6; }
4449 GREP
="$ac_cv_path_GREP"
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4453 $as_echo_n "checking for egrep... " >&6; }
4454 if test "${ac_cv_path_EGREP+set}" = set; then :
4455 $as_echo_n "(cached) " >&6
4457 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4458 then ac_cv_path_EGREP
="$GREP -E"
4460 if test -z "$EGREP"; then
4461 ac_path_EGREP_found
=false
4462 # Loop through the user's path and test for each of PROGNAME-LIST
4463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4464 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4467 test -z "$as_dir" && as_dir
=.
4468 for ac_prog
in egrep; do
4469 for ac_exec_ext
in '' $ac_executable_extensions; do
4470 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4471 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4472 # Check for GNU ac_path_EGREP and select it if it is found.
4473 # Check for GNU $ac_path_EGREP
4474 case `"$ac_path_EGREP" --version 2>&1` in
4476 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4479 $as_echo_n 0123456789 >"conftest.in"
4482 cat "conftest.in" "conftest.in" >"conftest.tmp"
4483 mv "conftest.tmp" "conftest.in"
4484 cp "conftest.in" "conftest.nl"
4485 $as_echo 'EGREP' >> "conftest.nl"
4486 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4487 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4488 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4489 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4490 # Best one so far, save it but keep looking for a better one
4491 ac_cv_path_EGREP
="$ac_path_EGREP"
4492 ac_path_EGREP_max
=$ac_count
4494 # 10*(2^10) chars as input seems more than enough
4495 test $ac_count -gt 10 && break
4497 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4500 $ac_path_EGREP_found && break 3
4505 if test -z "$ac_cv_path_EGREP"; then
4506 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4509 ac_cv_path_EGREP
=$EGREP
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4515 $as_echo "$ac_cv_path_EGREP" >&6; }
4516 EGREP
="$ac_cv_path_EGREP"
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4520 $as_echo_n "checking for ANSI C header files... " >&6; }
4521 if test "${ac_cv_header_stdc+set}" = set; then :
4522 $as_echo_n "(cached) " >&6
4524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4539 if ac_fn_c_try_compile
"$LINENO"; then :
4540 ac_cv_header_stdc
=yes
4542 ac_cv_header_stdc
=no
4544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4546 if test $ac_cv_header_stdc = yes; then
4547 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4554 $EGREP "memchr" >/dev
/null
2>&1; then :
4557 ac_cv_header_stdc
=no
4563 if test $ac_cv_header_stdc = yes; then
4564 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4571 $EGREP "free" >/dev
/null
2>&1; then :
4574 ac_cv_header_stdc
=no
4580 if test $ac_cv_header_stdc = yes; then
4581 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4582 if test "$cross_compiling" = yes; then :
4585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4586 /* end confdefs.h. */
4589 #if ((' ' & 0x0FF) == 0x020)
4590 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4591 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4593 # define ISLOWER(c) \
4594 (('a' <= (c) && (c) <= 'i') \
4595 || ('j' <= (c) && (c) <= 'r') \
4596 || ('s' <= (c) && (c) <= 'z'))
4597 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4600 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4605 for (i = 0; i < 256; i++)
4606 if (XOR (islower (i), ISLOWER (i))
4607 || toupper (i) != TOUPPER (i))
4612 if ac_fn_c_try_run
"$LINENO"; then :
4615 ac_cv_header_stdc
=no
4617 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4618 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4624 $as_echo "$ac_cv_header_stdc" >&6; }
4625 if test $ac_cv_header_stdc = yes; then
4627 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4633 ACLOCAL
="$ACLOCAL $ACLOCAL_FLAGS"
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4636 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4637 # Check whether --enable-maintainer-mode was given.
4638 if test "${enable_maintainer_mode+set}" = set; then :
4639 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4641 USE_MAINTAINER_MODE
=no
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4645 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4648 if test $USE_MAINTAINER_MODE = yes; then
4649 MAINTAINER_MODE_TRUE
=
4650 MAINTAINER_MODE_FALSE
='#'
4652 MAINTAINER_MODE_TRUE
='#'
4653 MAINTAINER_MODE_FALSE
=
4656 MAINT
=$MAINTAINER_MODE_TRUE
4661 if test "x$GCC" = "xyes"; then
4663 *[\ \
]-Wall[\ \
]*) ;;
4664 *) CFLAGS
="$CFLAGS -Wall" ;;
4669 GIMP_REQUIRED_VERSION
=2.4.0
4673 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4674 if test -n "$ac_tool_prefix"; then
4675 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4676 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4678 $as_echo_n "checking for $ac_word... " >&6; }
4679 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
4680 $as_echo_n "(cached) " >&6
4684 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4691 test -z "$as_dir" && as_dir
=.
4692 for ac_exec_ext
in '' $ac_executable_extensions; do
4693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4694 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4705 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4706 if test -n "$PKG_CONFIG"; then
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4708 $as_echo "$PKG_CONFIG" >&6; }
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711 $as_echo "no" >&6; }
4716 if test -z "$ac_cv_path_PKG_CONFIG"; then
4717 ac_pt_PKG_CONFIG
=$PKG_CONFIG
4718 # Extract the first word of "pkg-config", so it can be a program name with args.
4719 set dummy pkg-config
; ac_word
=$2
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4721 $as_echo_n "checking for $ac_word... " >&6; }
4722 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
4723 $as_echo_n "(cached) " >&6
4725 case $ac_pt_PKG_CONFIG in
4727 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4734 test -z "$as_dir" && as_dir
=.
4735 for ac_exec_ext
in '' $ac_executable_extensions; do
4736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4737 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4748 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
4749 if test -n "$ac_pt_PKG_CONFIG"; then
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4751 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 $as_echo "no" >&6; }
4757 if test "x$ac_pt_PKG_CONFIG" = x
; then
4760 case $cross_compiling:$ac_tool_warned in
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4764 ac_tool_warned
=yes ;;
4766 PKG_CONFIG
=$ac_pt_PKG_CONFIG
4769 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
4773 if test -n "$PKG_CONFIG"; then
4774 _pkg_min_version
=0.9.0
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4776 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4777 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4779 $as_echo "yes" >&6; }
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIMP" >&5
4790 $as_echo_n "checking for GIMP... " >&6; }
4792 if test -n "$PKG_CONFIG"; then
4793 if test -n "$GIMP_CFLAGS"; then
4794 pkg_cv_GIMP_CFLAGS
="$GIMP_CFLAGS"
4796 if test -n "$PKG_CONFIG" && \
4797 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gimp-2.0 >= \$GIMP_REQUIRED_VERSION gimpui-2.0 >= \$GIMP_REQUIRED_VERSION\""; } >&5
4798 ($PKG_CONFIG --exists --print-errors "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION") 2>&5
4800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4801 test $ac_status = 0; }; then
4802 pkg_cv_GIMP_CFLAGS
=`$PKG_CONFIG --cflags "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION" 2>/dev/null`
4810 if test -n "$PKG_CONFIG"; then
4811 if test -n "$GIMP_LIBS"; then
4812 pkg_cv_GIMP_LIBS
="$GIMP_LIBS"
4814 if test -n "$PKG_CONFIG" && \
4815 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gimp-2.0 >= \$GIMP_REQUIRED_VERSION gimpui-2.0 >= \$GIMP_REQUIRED_VERSION\""; } >&5
4816 ($PKG_CONFIG --exists --print-errors "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION") 2>&5
4818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4819 test $ac_status = 0; }; then
4820 pkg_cv_GIMP_LIBS
=`$PKG_CONFIG --libs "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION" 2>/dev/null`
4831 if test $pkg_failed = yes; then
4833 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4834 _pkg_short_errors_supported
=yes
4836 _pkg_short_errors_supported
=no
4838 if test $_pkg_short_errors_supported = yes; then
4839 GIMP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION"`
4841 GIMP_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION"`
4843 # Put the nasty error message in config.log where it belongs
4844 echo "$GIMP_PKG_ERRORS" >&5
4846 as_fn_error
"Package requirements (gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION) were not met:
4850 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4851 installed software in a non-standard prefix.
4853 Alternatively, you may set the environment variables GIMP_CFLAGS
4854 and GIMP_LIBS to avoid the need to call pkg-config.
4855 See the pkg-config man page for more details.
4857 elif test $pkg_failed = untried
; then
4858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4860 as_fn_error
"The pkg-config script could not be found or is too old. Make sure it
4861 is in your PATH or set the PKG_CONFIG environment variable to the full
4864 Alternatively, you may set the environment variables GIMP_CFLAGS
4865 and GIMP_LIBS to avoid the need to call pkg-config.
4866 See the pkg-config man page for more details.
4868 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4869 See \`config.log' for more details." "$LINENO" 5; }
4871 GIMP_CFLAGS
=$pkg_cv_GIMP_CFLAGS
4872 GIMP_LIBS
=$pkg_cv_GIMP_LIBS
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4874 $as_echo "yes" >&6; }
4881 GIMP_LIBDIR
=`$PKG_CONFIG --variable=gimplibdir gimp-2.0`
4884 GIMP_DATADIR
=`$PKG_CONFIG --variable=gimpdatadir gimp-2.0`
4888 LQR_REQUIRED_VERSION
=0.4.0
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LQR" >&5
4893 $as_echo_n "checking for LQR... " >&6; }
4895 if test -n "$PKG_CONFIG"; then
4896 if test -n "$LQR_CFLAGS"; then
4897 pkg_cv_LQR_CFLAGS
="$LQR_CFLAGS"
4899 if test -n "$PKG_CONFIG" && \
4900 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lqr-1 >= \$LQR_REQUIRED_VERSION\""; } >&5
4901 ($PKG_CONFIG --exists --print-errors "lqr-1 >= $LQR_REQUIRED_VERSION") 2>&5
4903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4904 test $ac_status = 0; }; then
4905 pkg_cv_LQR_CFLAGS
=`$PKG_CONFIG --cflags "lqr-1 >= $LQR_REQUIRED_VERSION" 2>/dev/null`
4913 if test -n "$PKG_CONFIG"; then
4914 if test -n "$LQR_LIBS"; then
4915 pkg_cv_LQR_LIBS
="$LQR_LIBS"
4917 if test -n "$PKG_CONFIG" && \
4918 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lqr-1 >= \$LQR_REQUIRED_VERSION\""; } >&5
4919 ($PKG_CONFIG --exists --print-errors "lqr-1 >= $LQR_REQUIRED_VERSION") 2>&5
4921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4922 test $ac_status = 0; }; then
4923 pkg_cv_LQR_LIBS
=`$PKG_CONFIG --libs "lqr-1 >= $LQR_REQUIRED_VERSION" 2>/dev/null`
4934 if test $pkg_failed = yes; then
4936 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4937 _pkg_short_errors_supported
=yes
4939 _pkg_short_errors_supported
=no
4941 if test $_pkg_short_errors_supported = yes; then
4942 LQR_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lqr-1 >= $LQR_REQUIRED_VERSION"`
4944 LQR_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "lqr-1 >= $LQR_REQUIRED_VERSION"`
4946 # Put the nasty error message in config.log where it belongs
4947 echo "$LQR_PKG_ERRORS" >&5
4949 as_fn_error
"Package requirements (lqr-1 >= $LQR_REQUIRED_VERSION) were not met:
4953 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4954 installed software in a non-standard prefix.
4956 Alternatively, you may set the environment variables LQR_CFLAGS
4957 and LQR_LIBS to avoid the need to call pkg-config.
4958 See the pkg-config man page for more details.
4960 elif test $pkg_failed = untried
; then
4961 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4963 as_fn_error
"The pkg-config script could not be found or is too old. Make sure it
4964 is in your PATH or set the PKG_CONFIG environment variable to the full
4967 Alternatively, you may set the environment variables LQR_CFLAGS
4968 and LQR_LIBS to avoid the need to call pkg-config.
4969 See the pkg-config man page for more details.
4971 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4972 See \`config.log' for more details." "$LINENO" 5; }
4974 LQR_CFLAGS
=$pkg_cv_LQR_CFLAGS
4975 LQR_LIBS
=$pkg_cv_LQR_LIBS
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4977 $as_echo "yes" >&6; }
4985 LQR_LIBDIR
=`$PKG_CONFIG --variable=libdir lqr-1`
4991 GETTEXT_PACKAGE
=gimp20-lqr-plugin
4994 cat >>confdefs.h
<<_ACEOF
4995 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
4999 ALL_LINGUAS
="it fr ru pt_BR de eu_ES zh_CN es_AR hu ro_RO sr es_ES nb_NO zh_TW"
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5003 $as_echo_n "checking whether NLS is requested... " >&6; }
5004 # Check whether --enable-nls was given.
5005 if test "${enable_nls+set}" = set; then :
5006 enableval
=$enable_nls; USE_NLS
=$enableval
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5012 $as_echo "$USE_NLS" >&6; }
5017 case "$am__api_version" in
5019 as_fn_error
"Automake 1.5 or newer is required to use intltool" "$LINENO" 5
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
5027 $as_echo_n "checking for intltool >= ... " >&6; }
5029 INTLTOOL_REQUIRED_VERSION_AS_INT
=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5030 INTLTOOL_APPLIED_VERSION
=`intltool-update --version | head -1 | cut -d" " -f3`
5031 INTLTOOL_APPLIED_VERSION_AS_INT
=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
5034 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
5035 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
5036 as_fn_error
"Your intltool is too old. You need intltool or later." "$LINENO" 5
5039 # Extract the first word of "intltool-update", so it can be a program name with args.
5040 set dummy intltool-update
; ac_word
=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
5044 $as_echo_n "(cached) " >&6
5046 case $INTLTOOL_UPDATE in
5048 ac_cv_path_INTLTOOL_UPDATE
="$INTLTOOL_UPDATE" # Let the user override the test with a path.
5051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5055 test -z "$as_dir" && as_dir
=.
5056 for ac_exec_ext
in '' $ac_executable_extensions; do
5057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5058 ac_cv_path_INTLTOOL_UPDATE
="$as_dir/$ac_word$ac_exec_ext"
5059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 INTLTOOL_UPDATE
=$ac_cv_path_INTLTOOL_UPDATE
5070 if test -n "$INTLTOOL_UPDATE"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
5072 $as_echo "$INTLTOOL_UPDATE" >&6; }
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5079 # Extract the first word of "intltool-merge", so it can be a program name with args.
5080 set dummy intltool-merge
; ac_word
=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
5084 $as_echo_n "(cached) " >&6
5086 case $INTLTOOL_MERGE in
5088 ac_cv_path_INTLTOOL_MERGE
="$INTLTOOL_MERGE" # Let the user override the test with a path.
5091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5095 test -z "$as_dir" && as_dir
=.
5096 for ac_exec_ext
in '' $ac_executable_extensions; do
5097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5098 ac_cv_path_INTLTOOL_MERGE
="$as_dir/$ac_word$ac_exec_ext"
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5109 INTLTOOL_MERGE
=$ac_cv_path_INTLTOOL_MERGE
5110 if test -n "$INTLTOOL_MERGE"; then
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
5112 $as_echo "$INTLTOOL_MERGE" >&6; }
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5115 $as_echo "no" >&6; }
5119 # Extract the first word of "intltool-extract", so it can be a program name with args.
5120 set dummy intltool-extract
; ac_word
=$2
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5122 $as_echo_n "checking for $ac_word... " >&6; }
5123 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
5124 $as_echo_n "(cached) " >&6
5126 case $INTLTOOL_EXTRACT in
5128 ac_cv_path_INTLTOOL_EXTRACT
="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
5131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5135 test -z "$as_dir" && as_dir
=.
5136 for ac_exec_ext
in '' $ac_executable_extensions; do
5137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5138 ac_cv_path_INTLTOOL_EXTRACT
="$as_dir/$ac_word$ac_exec_ext"
5139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5149 INTLTOOL_EXTRACT
=$ac_cv_path_INTLTOOL_EXTRACT
5150 if test -n "$INTLTOOL_EXTRACT"; then
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
5152 $as_echo "$INTLTOOL_EXTRACT" >&6; }
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5155 $as_echo "no" >&6; }
5159 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
5160 as_fn_error
"The intltool scripts were not found. Please install intltool." "$LINENO" 5
5163 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 $< $@'
5164 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 $< $@'
5165 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 $< $@'
5166 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 $< $@'
5167 INTLTOOL_OAF_RULE
='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
5168 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 $< $@'
5169 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 $< $@'
5170 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 $< $@'
5171 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 $< $@'
5172 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 $< $@'
5173 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 $< $@'
5174 INTLTOOL_XML_NOMERGE_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
5175 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 $< $@'
5176 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 $< $@'
5177 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 $< $@'
5178 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 $< $@'
5179 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 $< $@'
5180 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 $< $@'
5181 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 $< $@'
5279 # Check the gettext tools to make sure they are GNU
5280 # Extract the first word of "xgettext", so it can be a program name with args.
5281 set dummy xgettext
; ac_word
=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5285 $as_echo_n "(cached) " >&6
5289 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5296 test -z "$as_dir" && as_dir
=.
5297 for ac_exec_ext
in '' $ac_executable_extensions; do
5298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5299 ac_cv_path_XGETTEXT
="$as_dir/$ac_word$ac_exec_ext"
5300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5310 XGETTEXT
=$ac_cv_path_XGETTEXT
5311 if test -n "$XGETTEXT"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5313 $as_echo "$XGETTEXT" >&6; }
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5320 # Extract the first word of "msgmerge", so it can be a program name with args.
5321 set dummy msgmerge
; ac_word
=$2
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5323 $as_echo_n "checking for $ac_word... " >&6; }
5324 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
5325 $as_echo_n "(cached) " >&6
5329 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5336 test -z "$as_dir" && as_dir
=.
5337 for ac_exec_ext
in '' $ac_executable_extensions; do
5338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5339 ac_cv_path_MSGMERGE
="$as_dir/$ac_word$ac_exec_ext"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5350 MSGMERGE
=$ac_cv_path_MSGMERGE
5351 if test -n "$MSGMERGE"; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5353 $as_echo "$MSGMERGE" >&6; }
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356 $as_echo "no" >&6; }
5360 # Extract the first word of "msgfmt", so it can be a program name with args.
5361 set dummy msgfmt
; ac_word
=$2
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5363 $as_echo_n "checking for $ac_word... " >&6; }
5364 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5365 $as_echo_n "(cached) " >&6
5369 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5376 test -z "$as_dir" && as_dir
=.
5377 for ac_exec_ext
in '' $ac_executable_extensions; do
5378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5379 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 MSGFMT
=$ac_cv_path_MSGFMT
5391 if test -n "$MSGFMT"; then
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5393 $as_echo "$MSGFMT" >&6; }
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5396 $as_echo "no" >&6; }
5400 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5401 set dummy gmsgfmt
; ac_word
=$2
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403 $as_echo_n "checking for $ac_word... " >&6; }
5404 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5405 $as_echo_n "(cached) " >&6
5409 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5416 test -z "$as_dir" && as_dir
=.
5417 for ac_exec_ext
in '' $ac_executable_extensions; do
5418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5419 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5427 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5431 GMSGFMT
=$ac_cv_path_GMSGFMT
5432 if test -n "$GMSGFMT"; then
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5434 $as_echo "$GMSGFMT" >&6; }
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5437 $as_echo "no" >&6; }
5441 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5442 as_fn_error
"GNU gettext tools not found; required for intltool" "$LINENO" 5
5444 xgversion
="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5445 mmversion
="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5446 mfversion
="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5447 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5448 as_fn_error
"GNU gettext tools not found; required for intltool" "$LINENO" 5
5451 # Extract the first word of "perl", so it can be a program name with args.
5452 set dummy perl
; ac_word
=$2
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5454 $as_echo_n "checking for $ac_word... " >&6; }
5455 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
5456 $as_echo_n "(cached) " >&6
5458 case $INTLTOOL_PERL in
5460 ac_cv_path_INTLTOOL_PERL
="$INTLTOOL_PERL" # Let the user override the test with a path.
5463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir
=.
5468 for ac_exec_ext
in '' $ac_executable_extensions; do
5469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470 ac_cv_path_INTLTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
5471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481 INTLTOOL_PERL
=$ac_cv_path_INTLTOOL_PERL
5482 if test -n "$INTLTOOL_PERL"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
5484 $as_echo "$INTLTOOL_PERL" >&6; }
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5491 if test -z "$INTLTOOL_PERL"; then
5492 as_fn_error
"perl not found" "$LINENO" 5
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5495 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
5496 $INTLTOOL_PERL -e "use 5.8.1;" > /dev
/null
2>&1
5497 if test $?
-ne 0; then
5498 as_fn_error
"perl 5.8.1 is required for intltool" "$LINENO" 5
5500 IT_PERL_VERSION
="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5502 $as_echo "$IT_PERL_VERSION" >&6; }
5504 if test "x" != "xno-xml"; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
5506 $as_echo_n "checking for XML::Parser... " >&6; }
5507 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5509 $as_echo "ok" >&6; }
5511 as_fn_error
"XML::Parser perl module is required for intltool" "$LINENO" 5
5515 # Substitute ALL_LINGUAS so we can use it in po/Makefile
5518 # Set DATADIRNAME correctly if it is not set yet
5519 # (copied from glib-gettext.m4)
5520 if test -z "$DATADIRNAME"; then
5521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5522 /* end confdefs.h. */
5527 extern int _nl_msg_cat_cntr;
5528 return _nl_msg_cat_cntr
5533 if ac_fn_c_try_link
"$LINENO"; then :
5538 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5539 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
5551 rm -f core conftest.err conftest.
$ac_objext \
5552 conftest
$ac_exeext conftest.
$ac_ext
5559 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5560 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5561 inttypes.h stdint.h unistd.h
5563 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5564 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5566 eval as_val
=\$
$as_ac_Header
5567 if test "x$as_val" = x
""yes; then :
5568 cat >>confdefs.h
<<_ACEOF
5569 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5578 for ac_header
in locale.h
5580 ac_fn_c_check_header_mongrel
"$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5581 if test "x$ac_cv_header_locale_h" = x
""yes; then :
5582 cat >>confdefs.h
<<_ACEOF
5583 #define HAVE_LOCALE_H 1
5590 if test $ac_cv_header_locale_h = yes; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5592 $as_echo_n "checking for LC_MESSAGES... " >&6; }
5593 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
5594 $as_echo_n "(cached) " >&6
5596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5597 /* end confdefs.h. */
5607 if ac_fn_c_try_link
"$LINENO"; then :
5608 am_cv_val_LC_MESSAGES
=yes
5610 am_cv_val_LC_MESSAGES
=no
5612 rm -f core conftest.err conftest.
$ac_objext \
5613 conftest
$ac_exeext conftest.
$ac_ext
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5616 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5617 if test $am_cv_val_LC_MESSAGES = yes; then
5619 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5626 gt_cv_have_gettext
=no
5632 ac_fn_c_check_header_mongrel
"$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5633 if test "x$ac_cv_header_libintl_h" = x
""yes; then :
5634 gt_cv_func_dgettext_libintl
="no"
5635 libintl_extra_libs
=""
5638 # First check in libc
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5641 $as_echo_n "checking for ngettext in libc... " >&6; }
5642 if test "${gt_cv_func_ngettext_libc+set}" = set; then :
5643 $as_echo_n "(cached) " >&6
5645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5646 /* end confdefs.h. */
5648 #include <libintl.h>
5653 return !ngettext ("","", 1)
5658 if ac_fn_c_try_link
"$LINENO"; then :
5659 gt_cv_func_ngettext_libc
=yes
5661 gt_cv_func_ngettext_libc
=no
5663 rm -f core conftest.err conftest.
$ac_objext \
5664 conftest
$ac_exeext conftest.
$ac_ext
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
5668 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
5670 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
5672 $as_echo_n "checking for dgettext in libc... " >&6; }
5673 if test "${gt_cv_func_dgettext_libc+set}" = set; then :
5674 $as_echo_n "(cached) " >&6
5676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5677 /* end confdefs.h. */
5679 #include <libintl.h>
5684 return !dgettext ("","")
5689 if ac_fn_c_try_link
"$LINENO"; then :
5690 gt_cv_func_dgettext_libc
=yes
5692 gt_cv_func_dgettext_libc
=no
5694 rm -f core conftest.err conftest.
$ac_objext \
5695 conftest
$ac_exeext conftest.
$ac_ext
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5699 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
5702 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5703 for ac_func
in bind_textdomain_codeset
5705 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5706 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
5707 cat >>confdefs.h
<<_ACEOF
5708 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
5717 # If we don't have everything we want, check in libintl
5719 if test "$gt_cv_func_dgettext_libc" != "yes" \
5720 ||
test "$gt_cv_func_ngettext_libc" != "yes" \
5721 ||
test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
5724 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
5725 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
5726 $as_echo_n "(cached) " >&6
5728 ac_check_lib_save_LIBS
=$LIBS
5730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5731 /* end confdefs.h. */
5733 /* Override any GCC internal prototype to avoid an error.
5734 Use char because int might match the return type of a GCC
5735 builtin and then its argument prototype would still apply. */
5739 char bindtextdomain ();
5743 return bindtextdomain ();
5748 if ac_fn_c_try_link
"$LINENO"; then :
5749 ac_cv_lib_intl_bindtextdomain
=yes
5751 ac_cv_lib_intl_bindtextdomain
=no
5753 rm -f core conftest.err conftest.
$ac_objext \
5754 conftest
$ac_exeext conftest.
$ac_ext
5755 LIBS
=$ac_check_lib_save_LIBS
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
5758 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5759 if test "x$ac_cv_lib_intl_bindtextdomain" = x
""yes; then :
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5761 $as_echo_n "checking for ngettext in -lintl... " >&6; }
5762 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
5763 $as_echo_n "(cached) " >&6
5765 ac_check_lib_save_LIBS
=$LIBS
5767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5768 /* end confdefs.h. */
5770 /* Override any GCC internal prototype to avoid an error.
5771 Use char because int might match the return type of a GCC
5772 builtin and then its argument prototype would still apply. */
5785 if ac_fn_c_try_link
"$LINENO"; then :
5786 ac_cv_lib_intl_ngettext
=yes
5788 ac_cv_lib_intl_ngettext
=no
5790 rm -f core conftest.err conftest.
$ac_objext \
5791 conftest
$ac_exeext conftest.
$ac_ext
5792 LIBS
=$ac_check_lib_save_LIBS
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5795 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5796 if test "x$ac_cv_lib_intl_ngettext" = x
""yes; then :
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
5798 $as_echo_n "checking for dgettext in -lintl... " >&6; }
5799 if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
5800 $as_echo_n "(cached) " >&6
5802 ac_check_lib_save_LIBS
=$LIBS
5804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5805 /* end confdefs.h. */
5807 /* Override any GCC internal prototype to avoid an error.
5808 Use char because int might match the return type of a GCC
5809 builtin and then its argument prototype would still apply. */
5822 if ac_fn_c_try_link
"$LINENO"; then :
5823 ac_cv_lib_intl_dgettext
=yes
5825 ac_cv_lib_intl_dgettext
=no
5827 rm -f core conftest.err conftest.
$ac_objext \
5828 conftest
$ac_exeext conftest.
$ac_ext
5829 LIBS
=$ac_check_lib_save_LIBS
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
5832 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5833 if test "x$ac_cv_lib_intl_dgettext" = x
""yes; then :
5834 gt_cv_func_dgettext_libintl
=yes
5842 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5844 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5848 $as_echo_n "checking for ngettext in -lintl... " >&6; }
5849 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
5850 $as_echo_n "(cached) " >&6
5852 ac_check_lib_save_LIBS
=$LIBS
5853 LIBS
="-lintl -liconv $LIBS"
5854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5855 /* end confdefs.h. */
5857 /* Override any GCC internal prototype to avoid an error.
5858 Use char because int might match the return type of a GCC
5859 builtin and then its argument prototype would still apply. */
5872 if ac_fn_c_try_link
"$LINENO"; then :
5873 ac_cv_lib_intl_ngettext
=yes
5875 ac_cv_lib_intl_ngettext
=no
5877 rm -f core conftest.err conftest.
$ac_objext \
5878 conftest
$ac_exeext conftest.
$ac_ext
5879 LIBS
=$ac_check_lib_save_LIBS
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5882 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5883 if test "x$ac_cv_lib_intl_ngettext" = x
""yes; then :
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
5885 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
5886 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
5887 $as_echo_n "(cached) " >&6
5889 ac_check_lib_save_LIBS
=$LIBS
5890 LIBS
="-lintl -liconv $LIBS"
5891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5892 /* end confdefs.h. */
5894 /* Override any GCC internal prototype to avoid an error.
5895 Use char because int might match the return type of a GCC
5896 builtin and then its argument prototype would still apply. */
5904 return dcgettext ();
5909 if ac_fn_c_try_link
"$LINENO"; then :
5910 ac_cv_lib_intl_dcgettext
=yes
5912 ac_cv_lib_intl_dcgettext
=no
5914 rm -f core conftest.err conftest.
$ac_objext \
5915 conftest
$ac_exeext conftest.
$ac_ext
5916 LIBS
=$ac_check_lib_save_LIBS
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
5919 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
5920 if test "x$ac_cv_lib_intl_dcgettext" = x
""yes; then :
5921 gt_cv_func_dgettext_libintl
=yes
5922 libintl_extra_libs
=-liconv
5934 # If we found libintl, then check in it for bind_textdomain_codeset();
5935 # we'll prefer libc if neither have bind_textdomain_codeset(),
5936 # and both have dgettext and ngettext
5938 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5939 glib_save_LIBS
="$LIBS"
5940 LIBS
="$LIBS -lintl $libintl_extra_libs"
5941 unset ac_cv_func_bind_textdomain_codeset
5942 for ac_func
in bind_textdomain_codeset
5944 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5945 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
5946 cat >>confdefs.h
<<_ACEOF
5947 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
5953 LIBS
="$glib_save_LIBS"
5955 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5956 gt_cv_func_dgettext_libc
=no
5958 if test "$gt_cv_func_dgettext_libc" = "yes" \
5959 && test "$gt_cv_func_ngettext_libc" = "yes"; then
5960 gt_cv_func_dgettext_libintl
=no
5966 if test "$gt_cv_func_dgettext_libc" = "yes" \
5967 ||
test "$gt_cv_func_dgettext_libintl" = "yes"; then
5968 gt_cv_have_gettext
=yes
5971 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5972 INTLLIBS
="-lintl $libintl_extra_libs"
5975 if test "$gt_cv_have_gettext" = "yes"; then
5977 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5979 # Extract the first word of "msgfmt", so it can be a program name with args.
5980 set dummy msgfmt
; ac_word
=$2
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5982 $as_echo_n "checking for $ac_word... " >&6; }
5983 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5984 $as_echo_n "(cached) " >&6
5988 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5991 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5992 for ac_dir
in $PATH; do
5993 test -z "$ac_dir" && ac_dir
=.
5994 if test -f $ac_dir/$ac_word; then
5995 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5996 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
6002 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
6006 MSGFMT
="$ac_cv_path_MSGFMT"
6007 if test "$MSGFMT" != "no"; then
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6009 $as_echo "$MSGFMT" >&6; }
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6012 $as_echo "no" >&6; }
6014 if test "$MSGFMT" != "no"; then
6015 glib_save_LIBS
="$LIBS"
6016 LIBS
="$LIBS $INTLLIBS"
6017 for ac_func
in dcgettext
6019 ac_fn_c_check_func
"$LINENO" "dcgettext" "ac_cv_func_dcgettext"
6020 if test "x$ac_cv_func_dcgettext" = x
""yes; then :
6021 cat >>confdefs.h
<<_ACEOF
6022 #define HAVE_DCGETTEXT 1
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6030 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
6031 cat >conftest.foo
<<_ACEOF
6035 "Content-Type: text/plain; charset=UTF-8\n"
6036 "Project-Id-Version: test 1.0\n"
6037 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
6038 "Last-Translator: test <foo@bar.xx>\n"
6039 "Language-Team: C <LL@li.org>\n"
6040 "MIME-Version: 1.0\n"
6041 "Content-Transfer-Encoding: 8bit\n"
6044 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
6045 ($MSGFMT -c -o /dev
/null conftest.foo
) 2>&5
6047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6048 test $ac_status = 0; }; then
6049 MSGFMT_OPTS
=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6050 $as_echo "yes" >&6; }
6051 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6053 echo "$as_me: failed input was:" >&5
6054 sed 's/^/| /' conftest.foo
>&5
6057 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6058 set dummy gmsgfmt
; ac_word
=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
6062 $as_echo_n "(cached) " >&6
6066 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6073 test -z "$as_dir" && as_dir
=.
6074 for ac_exec_ext
in '' $ac_executable_extensions; do
6075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6084 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6088 GMSGFMT
=$ac_cv_path_GMSGFMT
6089 if test -n "$GMSGFMT"; then
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6091 $as_echo "$GMSGFMT" >&6; }
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 $as_echo "no" >&6; }
6098 # Extract the first word of "xgettext", so it can be a program name with args.
6099 set dummy xgettext
; ac_word
=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
6103 $as_echo_n "(cached) " >&6
6107 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6110 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6111 for ac_dir
in $PATH; do
6112 test -z "$ac_dir" && ac_dir
=.
6113 if test -f $ac_dir/$ac_word; then
6114 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6115 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
6121 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6125 XGETTEXT
="$ac_cv_path_XGETTEXT"
6126 if test "$XGETTEXT" != ":"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6128 $as_echo "$XGETTEXT" >&6; }
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6135 /* end confdefs.h. */
6140 extern int _nl_msg_cat_cntr;
6141 return _nl_msg_cat_cntr
6146 if ac_fn_c_try_link
"$LINENO"; then :
6152 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6153 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
6168 rm -f core conftest.err conftest.
$ac_objext \
6169 conftest
$ac_exeext conftest.
$ac_ext
6170 LIBS
="$glib_save_LIBS"
6173 gt_cv_have_gettext
=no
6181 if test "$gt_cv_have_gettext" = "yes" ; then
6183 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6187 if test "$XGETTEXT" != ":"; then
6188 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6192 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6197 # We need to process the po/ directory.
6200 ac_config_commands
="$ac_config_commands default-1"
6203 for lang
in $ALL_LINGUAS; do
6204 GMOFILES
="$GMOFILES $lang.gmo"
6205 POFILES
="$POFILES $lang.po"
6220 if test "$gt_cv_have_gettext" = "yes"; then
6221 if test "x$ALL_LINGUAS" = "x"; then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6225 $as_echo_n "checking for catalogs to be installed... " >&6; }
6227 for presentlang
in $ALL_LINGUAS; do
6229 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6230 desiredlanguages
="$LINGUAS"
6232 desiredlanguages
="$ALL_LINGUAS"
6234 for desiredlang
in $desiredlanguages; do
6235 # Use the presentlang catalog if desiredlang is
6236 # a. equal to presentlang, or
6237 # b. a variant of presentlang (because in this case,
6238 # presentlang can be used as a fallback for messages
6239 # which are not translated in the desiredlang catalog).
6240 case "$desiredlang" in
6241 "$presentlang"*) useit
=yes;;
6244 if test $useit = yes; then
6245 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
6248 LINGUAS
=$NEW_LINGUAS
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6250 $as_echo "$LINGUAS" >&6; }
6253 if test -n "$LINGUAS"; then
6254 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
6259 if test -n "$ac_aux_dir"; then
6260 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
6262 if test -z "$MKINSTALLDIRS"; then
6263 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
6267 test -d po || mkdir po
6268 if test "x$srcdir" != "x."; then
6269 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6270 posrcprefix
="$srcdir/"
6272 posrcprefix
="../$srcdir/"
6278 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6279 < $srcdir/po
/POTFILES.
in > po
/POTFILES
6282 for ac_func
in bind_textdomain_codeset
6284 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6285 if test "x$ac_cv_func_bind_textdomain_codeset" = x
""yes; then :
6286 cat >>confdefs.h
<<_ACEOF
6287 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
6294 LOCALEDIR
="${datadir}/locale"
6295 if test "$DATADIRNAME" = "lib"; then
6296 LOCALEDIR
="$libdir/locale"
6300 PLUGIN_DATADIR
="${datadir}/gimp-lqr-plugin"
6303 SCRIPTSDIR
="${GIMP_DATADIR}/scripts"
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version 2.12.0 or newer" >&5
6307 $as_echo_n "checking if GTK+ is version 2.12.0 or newer... " >&6; }
6308 if $PKG_CONFIG --atleast-version=2.12.0 gtk
+-2.0
; then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_2_12" >&5
6314 $as_echo "$have_gtk_2_12" >&6; }
6316 if test "x$have_gtk_2_7" != "xyes"; then
6317 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GIMP is version 2.4.0 or newer" >&5
6322 $as_echo_n "checking if GIMP is version 2.4.0 or newer... " >&6; }
6323 if $PKG_CONFIG --atleast-version=2.4.0 gimp-2.0
; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gimp_2_4" >&5
6329 $as_echo "$have_gimp_2_4" >&6; }
6331 if test "x$have_gimp_2_4" != "xyes"; then
6332 CPPFLAGS
="$CPPFLAGS -DGIMP_DISABLE_DEPRECATED"
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we are on Win32" >&5
6336 $as_echo_n "checking if we are on Win32... " >&6; }
6338 ac_cpp
='$CPP $CPPFLAGS'
6339 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6340 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6341 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6351 if ac_fn_c_try_cpp
"$LINENO"; then :
6356 rm -f conftest.err conftest.
$ac_ext
6357 if test "x$is_win32" = "xyes"; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6359 $as_echo "yes" >&6; }
6361 LDFLAGS
="$LDFLAGS -mwindows"
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6364 $as_echo "no" >&6; }
6367 ac_config_files
="$ac_config_files Makefile src/Makefile gap/Makefile batch/Makefile po/Makefile.in help/Makefile help/en/Makefile help/en/images/Makefile help/it/Makefile help/it/images/Makefile help/ru/Makefile help/ru/images/Makefile help/css/Makefile"
6370 cat >confcache
<<\_ACEOF
6371 # This file is a shell script that caches the results of configure
6372 # tests run on this system so they can be shared between configure
6373 # scripts and configure runs, see configure's option --config-cache.
6374 # It is not useful on other systems. If it contains results you don't
6375 # want to keep, you may remove or edit it.
6377 # config.status only pays attention to the cache file if you give it
6378 # the --recheck option to rerun configure.
6380 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6381 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6386 # The following way of writing the cache mishandles newlines in values,
6387 # but we know of no workaround that is simple, portable, and efficient.
6388 # So, we kill variables containing newlines.
6389 # Ultrix sh set writes to stderr and can't be redirected directly,
6390 # and sets the high bit in the cache file unless we assign to the vars.
6392 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6393 eval ac_val
=\$
$ac_var
6397 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6398 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6401 _ | IFS | as_nl
) ;; #(
6402 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6403 *) { eval $ac_var=; unset $ac_var;} ;;
6409 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6410 *${as_nl}ac_space
=\
*)
6411 # `set' does not quote correctly, so add quotes: double-quote
6412 # substitution turns \\\\ into \\, and sed turns \\ into \.
6415 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6418 # `set' quotes correctly as required by POSIX, so do not add quotes.
6419 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6428 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6430 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6432 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6433 if test -w "$cache_file"; then
6434 test "x$cache_file" != "x/dev/null" &&
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6436 $as_echo "$as_me: updating cache $cache_file" >&6;}
6437 cat confcache
>$cache_file
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6440 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6445 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6446 # Let make expand exec_prefix.
6447 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6449 DEFS
=-DHAVE_CONFIG_H
6453 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6454 # 1. Remove the extension, and $U if already installed.
6455 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6456 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6457 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6458 # will be set to the directory where LIBOBJS objects are built.
6459 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6460 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6464 LTLIBOBJS
=$ac_ltlibobjs
6467 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6468 as_fn_error
"conditional \"AMDEP\" was never defined.
6469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6471 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6472 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
6473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6475 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6476 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
6477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6479 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6480 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
6481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6484 ac_config_commands
="$ac_config_commands po/stamp-it"
6488 : ${CONFIG_STATUS=./config.status}
6490 ac_clean_files_save
=$ac_clean_files
6491 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6493 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6495 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6497 # Generated by $as_me.
6498 # Run this file to recreate the current configuration.
6499 # Compiler output produced by configure, useful for debugging
6500 # configure, is in config.log if it exists.
6506 SHELL=\${CONFIG_SHELL-$SHELL}
6509 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6510 ## -------------------- ##
6511 ## M4sh Initialization. ##
6512 ## -------------------- ##
6514 # Be more Bourne compatible
6515 DUALCASE
=1; export DUALCASE
# for MKS sh
6516 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6519 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6520 # is contrary to our usage. Disable this feature.
6521 alias -g '${1+"$@"}'='"$@"'
6522 setopt NO_GLOB_SUBST
6524 case `(set -o) 2>/dev/null` in #(
6536 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6537 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6538 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6539 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6540 # Prefer a ksh shell builtin over an external printf program on Solaris,
6541 # but without wasting forks for bash or zsh.
6542 if test -z "$BASH_VERSION$ZSH_VERSION" \
6543 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6544 as_echo='print
-r --'
6545 as_echo_n='print
-rn --'
6546 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6547 as_echo='printf %s
\n'
6548 as_echo_n='printf %s
'
6550 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6551 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6552 as_echo_n='/usr
/ucb
/echo -n'
6554 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6555 as_echo_n_body='eval
6559 expr "X$arg" : "X\\(.*\\)$as_nl";
6560 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6562 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6564 export as_echo_n_body
6565 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6568 as_echo='sh
-c $as_echo_body as_echo
'
6571 # The user is always right.
6572 if test "${PATH_SEPARATOR+set}" != set; then
6574 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6575 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6582 # We need space, tab and new line, in precisely that order. Quoting is
6583 # there to prevent editors from complaining about space-tab.
6584 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6585 # splitting by setting IFS to empty value.)
6588 # Find who we are. Look in the path if we contain no directory separator.
6590 *[\\/]* ) as_myself=$0 ;;
6591 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 test -z "$as_dir" && as_dir=.
6596 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6602 # We did not find ourselves, most probably we were run as `sh COMMAND'
6603 # in which case we are not to be found in the path.
6604 if test "x$as_myself" = x
; then
6607 if test ! -f "$as_myself"; then
6608 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6612 # Unset variables that we do not need and which cause bugs (e.g. in
6613 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6614 # suppresses any "Segmentation fault" message there. '((' could
6615 # trigger a bug in pdksh 5.2.14.
6616 for as_var
in BASH_ENV ENV MAIL MAILPATH
6617 do eval test x\
${$as_var+set} = xset \
6618 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6631 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6634 # as_fn_error ERROR [LINENO LOG_FD]
6635 # ---------------------------------
6636 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6637 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6638 # script with status $?, using 1 if that was 0.
6641 as_status
=$?
; test $as_status -eq 0 && as_status
=1
6643 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6644 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
6646 $as_echo "$as_me: error: $1" >&2
6647 as_fn_exit
$as_status
6651 # as_fn_set_status STATUS
6652 # -----------------------
6653 # Set $? to STATUS, without forking.
6657 } # as_fn_set_status
6661 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6671 # Portably unset VAR.
6674 { eval $1=; unset $1;}
6676 as_unset
=as_fn_unset
6677 # as_fn_append VAR VALUE
6678 # ----------------------
6679 # Append the text in VALUE to the end of the definition contained in VAR. Take
6680 # advantage of any shell optimizations that allow amortized linear growth over
6681 # repeated appends, instead of the typical quadratic growth present in naive
6683 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6684 eval 'as_fn_append ()
6695 # as_fn_arith ARG...
6696 # ------------------
6697 # Perform arithmetic evaluation on the ARGs, and store the result in the
6698 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6699 # must be portable across $(()) and expr.
6700 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6701 eval 'as_fn_arith ()
6708 as_val
=`expr "$@" || test $? -eq 1`
6713 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6714 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6720 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6721 as_basename
=basename
6726 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6732 as_me
=`$as_basename -- "$0" ||
6733 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6734 X"$0" : 'X\(//\)$' \| \
6735 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6737 sed '/^.*\/\([^/][^/]*\)\/*$/{
6751 # Avoid depending upon Character Ranges.
6752 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6753 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6754 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6755 as_cr_digits
='0123456789'
6756 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6758 ECHO_C
= ECHO_N
= ECHO_T
=
6759 case `echo -n x` in #(((((
6761 case `echo 'xy\c'` in
6762 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6764 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6771 rm -f conf$$ conf$$.exe conf$$.
file
6772 if test -d conf$$.dir
; then
6773 rm -f conf$$.dir
/conf$$.
file
6776 mkdir conf$$.dir
2>/dev
/null
6778 if (echo >conf$$.
file) 2>/dev
/null
; then
6779 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6781 # ... but there are two gotchas:
6782 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6783 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6784 # In both cases, we have to default to `cp -p'.
6785 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6787 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6795 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6796 rmdir conf$$.dir
2>/dev
/null
6801 # Create "$as_dir" as a directory, including parents if necessary.
6806 -*) as_dir
=.
/$as_dir;;
6808 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6812 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6813 *) as_qdir
=$as_dir;;
6815 as_dirs
="'$as_qdir' $as_dirs"
6816 as_dir
=`$as_dirname -- "$as_dir" ||
6817 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6818 X"$as_dir" : 'X\(//\)[^/]' \| \
6819 X"$as_dir" : 'X\(//\)$' \| \
6820 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6821 $as_echo X"$as_dir" |
6822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6839 test -d "$as_dir" && break
6841 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6842 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
6846 if mkdir
-p .
2>/dev
/null
; then
6847 as_mkdir_p
='mkdir -p "$as_dir"'
6849 test -d .
/-p && rmdir .
/-p
6853 if test -x / >/dev
/null
2>&1; then
6856 if ls -dL / >/dev
/null
2>&1; then
6863 if test -d "$1"; then
6869 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6870 ???[sx]*):;;*)false;;esac;fi
6874 as_executable_p
=$as_test_x
6876 # Sed expression to map a string onto a valid CPP name.
6877 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6879 # Sed expression to map a string onto a valid variable name.
6880 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6884 ## ----------------------------------- ##
6885 ## Main body of $CONFIG_STATUS script. ##
6886 ## ----------------------------------- ##
6888 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6891 # Save the log message, to keep $0 and so on meaningful, and to
6892 # report actual input values of CONFIG_FILES etc. instead of their
6893 # values after options handling.
6895 This file was extended by gimp-lqr-plugin $as_me 0.7.0, which was
6896 generated by GNU Autoconf 2.65. Invocation command line was
6898 CONFIG_FILES = $CONFIG_FILES
6899 CONFIG_HEADERS = $CONFIG_HEADERS
6900 CONFIG_LINKS = $CONFIG_LINKS
6901 CONFIG_COMMANDS = $CONFIG_COMMANDS
6904 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6909 case $ac_config_files in *"
6910 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6913 case $ac_config_headers in *"
6914 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6919 # Files that config.status was made for.
6920 config_files="$ac_config_files"
6921 config_headers="$ac_config_headers"
6922 config_commands="$ac_config_commands"
6926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6928 \`$as_me' instantiates files and other configuration actions
6929 from templates according to the current configuration. Unless the files
6930 and actions are specified as TAGs, all are instantiated by default.
6932 Usage: $0 [OPTION]... [TAG]...
6934 -h, --help print this help, then exit
6935 -V, --version print version number and configuration settings, then exit
6936 --config print configuration, then exit
6937 -q, --quiet, --silent
6938 do not print progress messages
6939 -d, --debug don't remove temporary files
6940 --recheck update $as_me by reconfiguring in the same conditions
6941 --file=FILE[:TEMPLATE]
6942 instantiate the configuration file FILE
6943 --header=FILE[:TEMPLATE]
6944 instantiate the configuration header FILE
6946 Configuration files:
6949 Configuration headers:
6952 Configuration commands:
6955 Report bugs to the package provider."
6958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6959 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6961 gimp-lqr-plugin config.status 0.7.0
6962 configured by $0, generated by GNU Autoconf 2.65,
6963 with options \\"\$ac_cs_config\\"
6965 Copyright (C) 2009 Free Software Foundation, Inc.
6966 This config.status script is free software; the Free Software Foundation
6967 gives unlimited permission to copy, distribute and modify it."
6973 test -n "\$AWK" || AWK=awk
6976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6977 # The default lists apply if the user does not specify any file.
6983 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
6984 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
6995 # Handling of the options.
6996 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6998 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
6999 $as_echo "$ac_cs_version"; exit ;;
7000 --config |
--confi |
--conf |
--con |
--co |
--c )
7001 $as_echo "$ac_cs_config"; exit ;;
7002 --debug |
--debu |
--deb |
--de |
--d |
-d )
7004 --file |
--fil |
--fi |
--f )
7007 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7009 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7010 ac_need_defaults
=false
;;
7011 --header |
--heade |
--head |
--hea )
7014 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7016 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7017 ac_need_defaults
=false
;;
7019 # Conflict between --help and --header
7020 as_fn_error
"ambiguous option: \`$1'
7021 Try \`$0 --help' for more information.";;
7022 --help |
--hel |
-h )
7023 $as_echo "$ac_cs_usage"; exit ;;
7024 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7025 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7029 -*) as_fn_error
"unrecognized option: \`$1'
7030 Try \`$0 --help' for more information." ;;
7032 *) as_fn_append ac_config_targets
" $1"
7033 ac_need_defaults
=false
;;
7039 ac_configure_extra_args
=
7041 if $ac_cs_silent; then
7043 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7048 if \$ac_cs_recheck; then
7049 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7051 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7052 CONFIG_SHELL='$SHELL'
7058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7062 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7063 ## Running $as_me. ##
7069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7073 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7080 # Handling of arguments.
7081 for ac_config_target
in $ac_config_targets
7083 case $ac_config_target in
7084 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7085 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7086 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7087 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7088 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
7089 "gap/Makefile") CONFIG_FILES
="$CONFIG_FILES gap/Makefile" ;;
7090 "batch/Makefile") CONFIG_FILES
="$CONFIG_FILES batch/Makefile" ;;
7091 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
7092 "help/Makefile") CONFIG_FILES
="$CONFIG_FILES help/Makefile" ;;
7093 "help/en/Makefile") CONFIG_FILES
="$CONFIG_FILES help/en/Makefile" ;;
7094 "help/en/images/Makefile") CONFIG_FILES
="$CONFIG_FILES help/en/images/Makefile" ;;
7095 "help/it/Makefile") CONFIG_FILES
="$CONFIG_FILES help/it/Makefile" ;;
7096 "help/it/images/Makefile") CONFIG_FILES
="$CONFIG_FILES help/it/images/Makefile" ;;
7097 "help/ru/Makefile") CONFIG_FILES
="$CONFIG_FILES help/ru/Makefile" ;;
7098 "help/ru/images/Makefile") CONFIG_FILES
="$CONFIG_FILES help/ru/images/Makefile" ;;
7099 "help/css/Makefile") CONFIG_FILES
="$CONFIG_FILES help/css/Makefile" ;;
7100 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
7102 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7107 # If the user did not use the arguments to specify the items to instantiate,
7108 # then the envvar interface is used. Set only those that are not.
7109 # We use the long form for the default assignment because of an extremely
7110 # bizarre bug on SunOS 4.1.3.
7111 if $ac_need_defaults; then
7112 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7113 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7114 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7117 # Have a temporary directory for convenience. Make it in the build tree
7118 # simply because there is no reason against having it here, and in addition,
7119 # creating and moving files from /tmp can sometimes cause problems.
7120 # Hook for its removal unless debugging.
7121 # Note that there is a small window in which the directory will not be cleaned:
7122 # after its creation but before its name has been assigned to `$tmp'.
7126 trap 'exit_status=$?
7127 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7129 trap 'as_fn_exit 1' 1 2 13 15
7131 # Create a (secure) tmp directory for tmp files.
7134 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7135 test -n "$tmp" && test -d "$tmp"
7138 tmp
=.
/conf$$
-$RANDOM
7139 (umask 077 && mkdir
"$tmp")
7140 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
7142 # Set up the scripts for CONFIG_FILES section.
7143 # No need to generate them if there are no CONFIG_FILES.
7144 # This happens for instance with `./config.status config.h'.
7145 if test -n "$CONFIG_FILES"; then
7148 ac_cr
=`echo X | tr X '\015'`
7149 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7150 # But we know of no other shell where ac_cr would be empty at this
7151 # point, so we can use a bashism as a fallback.
7152 if test "x$ac_cr" = x
; then
7153 eval ac_cr
=\$
\'\\r
\'
7155 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7156 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7162 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7167 echo "cat >conf$$subs.awk <<_ACEOF" &&
7168 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7171 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7172 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7174 for ac_last_try in false false false false false :; do
7175 . ./conf$$subs.sh ||
7176 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7178 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7179 if test $ac_delim_n = $ac_delim_num; then
7181 elif $ac_last_try; then
7182 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
7184 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7190 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
7194 s/^/S["/; s
/!.
*/"]=/
7204 s/\(.\{148\}\)..*/\1/
7206 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7211 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7218 s/\(.\{148\}\)..*/\1/
7220 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7224 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7229 ' <conf$$subs.awk | sed '
7234 ' >>$CONFIG_STATUS || ac_write_fail=1
7235 rm -f conf$$subs.awk
7236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7238 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
7239 for (key in S) S_is_set[key] = 1
7245 nfields = split(line, field, "@
")
7247 len = length(field[1])
7248 for (i = 2; i < nfields; i++) {
7250 keylen = length(key)
7251 if (S_is_set[key]) {
7253 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7254 len += length(value) + length(field[++i])
7265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7266 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7267 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7270 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
7271 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
7274 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7275 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
7276 # trailing colons and then remove the whole line if VPATH becomes empty
7277 # (actually we leave an empty line to preserve line numbers).
7278 if test "x
$srcdir" = x.; then
7279 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7283 s/^\([^=]*=[ ]*\):*/\1/
7289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7290 fi # test -n "$CONFIG_FILES"
7292 # Set up the scripts for CONFIG_HEADERS section.
7293 # No need to generate them if there are no CONFIG_HEADERS.
7294 # This happens for instance with `./config.status Makefile'.
7295 if test -n "$CONFIG_HEADERS"; then
7296 cat >"$tmp/defines.
awk" <<\_ACAWK ||
7300 # Transform confdefs.h into an awk script `defines.awk', embedded as
7301 # here-document in config.status, that substitutes the proper values into
7302 # config.h.in to produce config.h.
7304 # Create a delimiter string that does not exist in confdefs.h, to ease
7305 # handling of long lines.
7307 for ac_last_try in false false :; do
7308 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
7309 if test -z "$ac_t"; then
7311 elif $ac_last_try; then
7312 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
7314 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7318 # For the awk script, D is an array of macro values keyed by name,
7319 # likewise P contains macro parameters if any. Preserve backslash
7320 # newline sequences.
7322 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7324 s/.\{148\}/&'"$ac_delim"'/g
7327 s/^[ ]*#[ ]*define[ ][ ]*/ /
7334 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7336 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7340 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7341 D["\
1"]=" \
3\\\\\\n
"\\/p
7343 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7348 s/.\{148\}/&'"$ac_delim"'/g
7353 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7356 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7358 ' <confdefs.h | sed '
7359 s/'"$ac_delim"'/"\\\
7360 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7363 for (key in D) D_is_set[key] = 1
7366 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7368 split(line, arg, " ")
7369 if (arg[1] == "#") {
7373 defundef
= substr
(arg
[1], 2)
7376 split(mac1
, mac2
, "(") #)
7378 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7379 if (D_is_set
[macro
]) {
7380 # Preserve the white space surrounding the "#".
7381 print prefix
"define", macro P
[macro
] D
[macro
]
7384 # Replace #undef with comments. This is necessary, for example,
7385 # in the case of _POSIX_SOURCE, which is predefined and required
7386 # on some systems where configure will not decide to define it.
7387 if (defundef
== "undef") {
7388 print
"/*", prefix defundef
, macro
, "*/"
7396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7397 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
7398 fi # test -n "$CONFIG_HEADERS"
7401 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7406 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7408 case $ac_mode$ac_tag in
7410 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7411 :[FH
]-) ac_tag
=-:-;;
7412 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7429 -) ac_f
="$tmp/stdin";;
7430 *) # Look for the file first in the build tree, then in the source tree
7431 # (if the path is not absolute). The absolute path cannot be DOS-style,
7432 # because $ac_f cannot contain `:'.
7436 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7438 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
7440 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7441 as_fn_append ac_file_inputs
" '$ac_f'"
7444 # Let's still pretend it is `configure' which instantiates (i.e., don't
7445 # use $as_me), people would be surprised to read:
7446 # /* config.h. Generated by config.status. */
7447 configure_input
='Generated from '`
7448 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7450 if test x
"$ac_file" != x-
; then
7451 configure_input
="$ac_file. $configure_input"
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7453 $as_echo "$as_me: creating $ac_file" >&6;}
7455 # Neutralize special characters interpreted by sed in replacement strings.
7456 case $configure_input in #(
7457 *\
&* |
*\|
* |
*\\* )
7458 ac_sed_conf_input
=`$as_echo "$configure_input" |
7459 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7460 *) ac_sed_conf_input
=$configure_input;;
7464 *:-:* |
*:-) cat >"$tmp/stdin" \
7465 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
7470 ac_dir
=`$as_dirname -- "$ac_file" ||
7471 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7472 X"$ac_file" : 'X\(//\)[^/]' \| \
7473 X"$ac_file" : 'X\(//\)$' \| \
7474 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7475 $as_echo X"$ac_file" |
7476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7493 as_dir
="$ac_dir"; as_fn_mkdir_p
7497 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7499 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7500 # A ".." for each directory in $ac_dir_suffix.
7501 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7502 case $ac_top_builddir_sub in
7503 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7504 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7507 ac_abs_top_builddir
=$ac_pwd
7508 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7509 # for backward compatibility:
7510 ac_top_builddir
=$ac_top_build_prefix
7513 .
) # We are building in place.
7515 ac_top_srcdir
=$ac_top_builddir_sub
7516 ac_abs_top_srcdir
=$ac_pwd ;;
7517 [\\/]* | ?
:[\\/]* ) # Absolute name.
7518 ac_srcdir
=$srcdir$ac_dir_suffix;
7519 ac_top_srcdir
=$srcdir
7520 ac_abs_top_srcdir
=$srcdir ;;
7522 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7523 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7524 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7526 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7536 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7537 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7542 # If the template does not know about datarootdir, expand it.
7543 # FIXME: This hack should be removed a few years after 2.60.
7544 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7555 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7556 *datarootdir
*) ac_datarootdir_seen
=yes;;
7557 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7559 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7562 ac_datarootdir_hack='
7563 s&@datadir@&$datadir&g
7564 s&@docdir@&$docdir&g
7565 s&@infodir@&$infodir&g
7566 s&@localedir@&$localedir&g
7567 s&@mandir@&$mandir&g
7568 s&\\\${datarootdir}&$datarootdir&g' ;;
7572 # Neutralize VPATH when `$srcdir' = `.'.
7573 # Shell code in configure.ac might set extrasub.
7574 # FIXME: do we really want to maintain this feature?
7575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7576 ac_sed_extra="$ac_vpsub
7579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7581 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7582 s|@configure_input@|
$ac_sed_conf_input|
;t t
7583 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7584 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7585 s
&@srcdir@
&$ac_srcdir&;t t
7586 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7587 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7588 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7589 s
&@builddir@
&$ac_builddir&;t t
7590 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7591 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7592 s
&@INSTALL@
&$ac_INSTALL&;t t
7593 $ac_datarootdir_hack
7595 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
7596 || as_fn_error "could not create
$ac_file" "$LINENO" 5
7598 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7599 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
7600 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7602 which seems to be undefined. Please make sure it is defined." >&5
7603 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7604 which seems to be undefined. Please make sure it is defined." >&2;}
7608 -) cat "$tmp/out" && rm -f "$tmp/out";;
7609 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7611 || as_fn_error "could not create $ac_file" "$LINENO" 5
7617 if test x"$ac_file" != x-; then
7619 $as_echo "/* $configure_input */" \
7620 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7621 } >"$tmp/config.h" \
7622 || as_fn_error "could not create $ac_file" "$LINENO" 5
7623 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7625 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7628 mv "$tmp/config.h" "$ac_file" \
7629 || as_fn_error "could not create $ac_file" "$LINENO" 5
7632 $as_echo "/* $configure_input */" \
7633 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7634 || as_fn_error "could not create -" "$LINENO" 5
7636 # Compute "$ac_file"'s index
in $config_headers.
7638 for _am_header
in $config_headers :; do
7640 "$ac_file" |
"$ac_file":* )
7643 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7646 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
7647 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7648 X"$ac_file" : 'X\(//\)[^/]' \| \
7649 X"$ac_file" : 'X\(//\)$' \| \
7650 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7651 $as_echo X"$ac_file" |
7652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7668 s/.*/./; q'`/stamp-h
$_am_stamp_count
7671 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7672 $as_echo "$as_me: executing $ac_file commands" >&6;}
7677 case $ac_file$ac_mode in
7678 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
7679 # Strip MF so we end up with the name of the file.
7680 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7681 # Check whether this is an Automake generated Makefile or not.
7682 # We used to match only the files named `Makefile.in', but
7683 # some people rename them; so instead we look at the file content.
7684 # Grep'ing the first line is not enough: some people post-process
7685 # each Makefile.in and add a new line on top of each file to say so.
7686 # So let's grep whole file.
7687 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
7688 dirpart
=`$as_dirname -- "$mf" ||
7689 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7690 X"$mf" : 'X\(//\)[^/]' \| \
7691 X"$mf" : 'X\(//\)$' \| \
7692 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7714 # Extract the definition of DEPDIR, am__include, and am__quote
7715 # from the Makefile without running `make'.
7716 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7717 test -z "$DEPDIR" && continue
7718 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
7719 test -z "am__include" && continue
7720 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
7721 # When using ansi2knr, U may be empty or an underscore; expand it
7722 U
=`sed -n 's/^U = //p' < "$mf"`
7723 # Find all dependency output files, they are included files with
7724 # $(DEPDIR) in their names. We invoke sed twice because it is the
7725 # simplest approach to changing $(DEPDIR) to its actual value in the
7727 for file in `sed -n "
7728 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7729 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7730 # Make sure the directory exists.
7731 test -f "$dirpart/$file" && continue
7732 fdir
=`$as_dirname -- "$file" ||
7733 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7734 X"$file" : 'X\(//\)[^/]' \| \
7735 X"$file" : 'X\(//\)$' \| \
7736 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7755 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
7756 # echo "creating $dirpart/$file"
7757 echo '# dummy' > "$dirpart/$file"
7761 "default-1":C
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
7762 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
7765 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev
/null
; then
7766 as_fn_error
"po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
7768 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
7773 '"s|^| $ac_top_srcdir/|" \
7774 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
7776 sed '/^POTFILES =/,/[^\\]$/ {
7780 ' "po/Makefile.in" >"po/Makefile"
7781 rm -f "po/Makefile.tmp"
7782 mv "po/stamp-it.tmp" "po/stamp-it"
7791 ac_clean_files
=$ac_clean_files_save
7793 test $ac_write_fail = 0 ||
7794 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7797 # configure is writing to config.log, and then calls config.status.
7798 # config.status does its own redirection, appending to config.log.
7799 # Unfortunately, on DOS this fails, as config.log is still kept open
7800 # by configure, so config.status won't be able to write to it; its
7801 # output is simply discarded. So we exec the FD to /dev/null,
7802 # effectively closing config.log, so it can be properly (re)opened and
7803 # appended to by config.status. When coming back to configure, we
7804 # need to make the FD available again.
7805 if test "$no_create" != yes; then
7807 ac_config_status_args
=
7808 test "$silent" = yes &&
7809 ac_config_status_args
="$ac_config_status_args --quiet"
7811 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7813 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7814 # would make configure fail if this is the last instruction.
7815 $ac_cs_success || as_fn_exit $?
7817 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7819 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}