2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for gimp-lqr-plugin 0.8.0git.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
578 PACKAGE_NAME
='gimp-lqr-plugin'
579 PACKAGE_TARNAME
='gimp-lqr-plugin'
580 PACKAGE_VERSION
='0.8.0git'
581 PACKAGE_STRING
='gimp-lqr-plugin 0.8.0git'
585 ac_unique_file
="src/main.c"
586 # Factoring default headers for most tests.
587 ac_includes_default
="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars
='LTLIBOBJS
646 INTLTOOL_SERVICE_RULE
648 INTLTOOL_SCHEMAS_RULE
650 INTLTOOL_XML_NOMERGE_RULE
655 INTLTOOL_SOUNDLIST_RULE
662 INTLTOOL_DIRECTORY_RULE
663 INTLTOOL_DESKTOP_RULE
664 intltool__v_merge_options_0
665 intltool__v_merge_options_
666 INTLTOOL_V_MERGE_OPTIONS
687 MAINTAINER_MODE_FALSE
715 INSTALL_STRIP_PROGRAM
756 program_transform_name
769 enable_option_checking
770 enable_dependency_tracking
771 enable_maintainer_mode
774 ac_precious_vars
='build_alias
792 # Initialize some variables set by options.
794 ac_init_version
=false
795 ac_unrecognized_opts
=
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
806 program_transform_name
=s
,x
,x
,
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir
='${exec_prefix}/bin'
821 sbindir
='${exec_prefix}/sbin'
822 libexecdir
='${exec_prefix}/libexec'
823 datarootdir
='${prefix}/share'
824 datadir
='${datarootdir}'
825 sysconfdir
='${prefix}/etc'
826 sharedstatedir
='${prefix}/com'
827 localstatedir
='${prefix}/var'
828 includedir
='${prefix}/include'
829 oldincludedir
='/usr/include'
830 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir
='${datarootdir}/info'
836 libdir
='${exec_prefix}/lib'
837 localedir
='${datarootdir}/locale'
838 mandir
='${datarootdir}/man'
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\
$ac_option
852 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857 # Accept the important Cygnus configure options, so we can diagnose typos.
859 case $ac_dashdash$ac_option in
863 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
865 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
868 -build |
--build |
--buil |
--bui |
--bu)
869 ac_prev
=build_alias
;;
870 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
871 build_alias
=$ac_optarg ;;
873 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
874 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
875 ac_prev
=cache_file
;;
876 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
877 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
878 cache_file
=$ac_optarg ;;
881 cache_file
=config.cache
;;
883 -datadir |
--datadir |
--datadi |
--datad)
885 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
886 datadir
=$ac_optarg ;;
888 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
889 |
--dataroo |
--dataro |
--datar)
890 ac_prev
=datarootdir
;;
891 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
892 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
893 datarootdir
=$ac_optarg ;;
895 -disable-* |
--disable-*)
896 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
899 as_fn_error $?
"invalid feature name: $ac_useropt"
900 ac_useropt_orig
=$ac_useropt
901 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
906 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907 ac_unrecognized_sep
=', ';;
909 eval enable_
$ac_useropt=no
;;
911 -docdir |
--docdir |
--docdi |
--doc |
--do)
913 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
916 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
918 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
921 -enable-* |
--enable-*)
922 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
925 as_fn_error $?
"invalid feature name: $ac_useropt"
926 ac_useropt_orig
=$ac_useropt
927 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928 case $ac_user_opts in
932 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933 ac_unrecognized_sep
=', ';;
935 eval enable_
$ac_useropt=\
$ac_optarg ;;
937 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
938 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
939 |
--exec |
--exe |
--ex)
940 ac_prev
=exec_prefix
;;
941 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
942 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
943 |
--exec=* |
--exe=* |
--ex=*)
944 exec_prefix
=$ac_optarg ;;
946 -gas |
--gas |
--ga |
--g)
947 # Obsolete; use --with-gas.
950 -help |
--help |
--hel |
--he |
-h)
952 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
953 ac_init_help
=recursive
;;
954 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
955 ac_init_help
=short
;;
957 -host |
--host |
--hos |
--ho)
958 ac_prev
=host_alias
;;
959 -host=* |
--host=* |
--hos=* |
--ho=*)
960 host_alias
=$ac_optarg ;;
962 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
964 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
966 htmldir
=$ac_optarg ;;
968 -includedir |
--includedir |
--includedi |
--included |
--include \
969 |
--includ |
--inclu |
--incl |
--inc)
970 ac_prev
=includedir
;;
971 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
972 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
973 includedir
=$ac_optarg ;;
975 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
977 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
978 infodir
=$ac_optarg ;;
980 -libdir |
--libdir |
--libdi |
--libd)
982 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
985 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
986 |
--libexe |
--libex |
--libe)
987 ac_prev
=libexecdir
;;
988 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
989 |
--libexe=* |
--libex=* |
--libe=*)
990 libexecdir
=$ac_optarg ;;
992 -localedir |
--localedir |
--localedi |
--localed |
--locale)
994 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
995 localedir
=$ac_optarg ;;
997 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
998 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
999 ac_prev
=localstatedir
;;
1000 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1001 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1002 localstatedir
=$ac_optarg ;;
1004 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1006 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1007 mandir
=$ac_optarg ;;
1009 -nfp |
--nfp |
--nf)
1010 # Obsolete; use --without-fp.
1013 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1014 |
--no-cr |
--no-c |
-n)
1017 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1018 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1021 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1022 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1023 |
--oldin |
--oldi |
--old |
--ol |
--o)
1024 ac_prev
=oldincludedir
;;
1025 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1026 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1027 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1028 oldincludedir
=$ac_optarg ;;
1030 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1032 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1033 prefix
=$ac_optarg ;;
1035 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1036 |
--program-pre |
--program-pr |
--program-p)
1037 ac_prev
=program_prefix
;;
1038 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1039 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1040 program_prefix
=$ac_optarg ;;
1042 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1043 |
--program-suf |
--program-su |
--program-s)
1044 ac_prev
=program_suffix
;;
1045 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1046 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1047 program_suffix
=$ac_optarg ;;
1049 -program-transform-name |
--program-transform-name \
1050 |
--program-transform-nam |
--program-transform-na \
1051 |
--program-transform-n |
--program-transform- \
1052 |
--program-transform |
--program-transfor \
1053 |
--program-transfo |
--program-transf \
1054 |
--program-trans |
--program-tran \
1055 |
--progr-tra |
--program-tr |
--program-t)
1056 ac_prev
=program_transform_name
;;
1057 -program-transform-name=* |
--program-transform-name=* \
1058 |
--program-transform-nam=* |
--program-transform-na=* \
1059 |
--program-transform-n=* |
--program-transform-=* \
1060 |
--program-transform=* |
--program-transfor=* \
1061 |
--program-transfo=* |
--program-transf=* \
1062 |
--program-trans=* |
--program-tran=* \
1063 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1064 program_transform_name
=$ac_optarg ;;
1066 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1068 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1069 pdfdir
=$ac_optarg ;;
1071 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1073 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1076 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1077 |
-silent |
--silent |
--silen |
--sile |
--sil)
1080 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1082 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1084 sbindir
=$ac_optarg ;;
1086 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1087 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1088 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1090 ac_prev
=sharedstatedir
;;
1091 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1092 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1093 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1095 sharedstatedir
=$ac_optarg ;;
1097 -site |
--site |
--sit)
1099 -site=* |
--site=* |
--sit=*)
1102 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1104 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1105 srcdir
=$ac_optarg ;;
1107 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1108 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1109 ac_prev
=sysconfdir
;;
1110 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1111 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1112 sysconfdir
=$ac_optarg ;;
1114 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1115 ac_prev
=target_alias
;;
1116 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1117 target_alias
=$ac_optarg ;;
1119 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1122 -version |
--version |
--versio |
--versi |
--vers |
-V)
1123 ac_init_version
=: ;;
1126 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1129 as_fn_error $?
"invalid package name: $ac_useropt"
1130 ac_useropt_orig
=$ac_useropt
1131 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132 case $ac_user_opts in
1136 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137 ac_unrecognized_sep
=', ';;
1139 eval with_
$ac_useropt=\
$ac_optarg ;;
1141 -without-* |
--without-*)
1142 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1145 as_fn_error $?
"invalid package name: $ac_useropt"
1146 ac_useropt_orig
=$ac_useropt
1147 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148 case $ac_user_opts in
1152 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153 ac_unrecognized_sep
=', ';;
1155 eval with_
$ac_useropt=no
;;
1158 # Obsolete; use --with-x.
1161 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1162 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1163 ac_prev
=x_includes
;;
1164 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1165 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1166 x_includes
=$ac_optarg ;;
1168 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1169 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1170 ac_prev
=x_libraries
;;
1171 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1172 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1173 x_libraries
=$ac_optarg ;;
1175 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1176 Try \`$0 --help' for more information"
1180 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1181 # Reject names that are not valid shell variable names.
1182 case $ac_envvar in #(
1183 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1184 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1186 eval $ac_envvar=\
$ac_optarg
1187 export $ac_envvar ;;
1190 # FIXME: should be removed in autoconf 3.0.
1191 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1193 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1200 if test -n "$ac_prev"; then
1201 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1202 as_fn_error $?
"missing argument to $ac_option"
1205 if test -n "$ac_unrecognized_opts"; then
1206 case $enable_option_checking in
1208 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1209 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1213 # Check all directory arguments for consistency.
1214 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1215 datadir sysconfdir sharedstatedir localstatedir includedir \
1216 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217 libdir localedir mandir
1219 eval ac_val
=\$
$ac_var
1220 # Remove trailing slashes.
1223 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224 eval $ac_var=\
$ac_val;;
1226 # Be sure to have absolute directory names.
1228 [\\/$
]* | ?
:[\\/]* ) continue;;
1229 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1231 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1234 # There might be people who depend on the old broken behavior: `$host'
1235 # used to hold the argument of --host etc.
1236 # FIXME: To remove some day.
1239 target
=$target_alias
1241 # FIXME: To remove some day.
1242 if test "x$host_alias" != x
; then
1243 if test "x$build_alias" = x
; then
1244 cross_compiling
=maybe
1245 elif test "x$build_alias" != "x$host_alias"; then
1251 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1253 test "$silent" = yes && exec 6>/dev
/null
1256 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1257 ac_ls_di
=`ls -di .` &&
1258 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1259 as_fn_error $?
"working directory cannot be determined"
1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261 as_fn_error $?
"pwd does not report name of working directory"
1264 # Find the source files, if location was not specified.
1265 if test -z "$srcdir"; then
1266 ac_srcdir_defaulted
=yes
1267 # Try the directory containing this script, then the parent directory.
1268 ac_confdir
=`$as_dirname -- "$as_myself" ||
1269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270 X"$as_myself" : 'X\(//\)[^/]' \| \
1271 X"$as_myself" : 'X\(//\)$' \| \
1272 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1273 $as_echo X"$as_myself" |
1274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1296 ac_srcdir_defaulted
=no
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1299 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1300 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1302 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1304 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1306 # When building in place, set srcdir=.
1307 if test "$ac_abs_confdir" = "$ac_pwd"; then
1310 # Remove unnecessary trailing slashes from srcdir.
1311 # Double slashes in file names in object file debugging info
1312 # mess up M-x gdb in Emacs.
1314 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1316 for ac_var
in $ac_precious_vars; do
1317 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1318 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1319 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1320 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1324 # Report the --help message.
1326 if test "$ac_init_help" = "long"; then
1327 # Omit some internal or obsolete options to make the list less imposing.
1328 # This message is too long to be a string in the A/UX 3.1 sh.
1330 \`configure' configures gimp-lqr-plugin 0.8.0git to adapt to many kinds of systems.
1332 Usage: $0 [OPTION]... [VAR=VALUE]...
1334 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1335 VAR=VALUE. See below for descriptions of some of the useful variables.
1337 Defaults for the options are specified in brackets.
1340 -h, --help display this help and exit
1341 --help=short display options specific to this package
1342 --help=recursive display the short help of all the included packages
1343 -V, --version display version information and exit
1344 -q, --quiet, --silent do not print \`checking ...' messages
1345 --cache-file=FILE cache test results in FILE [disabled]
1346 -C, --config-cache alias for \`--cache-file=config.cache'
1347 -n, --no-create do not create output files
1348 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1350 Installation directories:
1351 --prefix=PREFIX install architecture-independent files in PREFIX
1352 [$ac_default_prefix]
1353 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1356 By default, \`make install' will install all the files in
1357 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1358 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1359 for instance \`--prefix=\$HOME'.
1361 For better control, use the options below.
1363 Fine tuning of the installation directories:
1364 --bindir=DIR user executables [EPREFIX/bin]
1365 --sbindir=DIR system admin executables [EPREFIX/sbin]
1366 --libexecdir=DIR program executables [EPREFIX/libexec]
1367 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1368 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1369 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1370 --libdir=DIR object code libraries [EPREFIX/lib]
1371 --includedir=DIR C header files [PREFIX/include]
1372 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1373 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1374 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1375 --infodir=DIR info documentation [DATAROOTDIR/info]
1376 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1377 --mandir=DIR man documentation [DATAROOTDIR/man]
1378 --docdir=DIR documentation root [DATAROOTDIR/doc/gimp-lqr-plugin]
1379 --htmldir=DIR html documentation [DOCDIR]
1380 --dvidir=DIR dvi documentation [DOCDIR]
1381 --pdfdir=DIR pdf documentation [DOCDIR]
1382 --psdir=DIR ps documentation [DOCDIR]
1388 --program-prefix=PREFIX prepend PREFIX to installed program names
1389 --program-suffix=SUFFIX append SUFFIX to installed program names
1390 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1394 if test -n "$ac_init_help"; then
1395 case $ac_init_help in
1396 short | recursive
) echo "Configuration of gimp-lqr-plugin 0.8.0git:";;
1401 --disable-option-checking ignore unrecognized
--enable/--with options
1402 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1403 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1404 --disable-dependency-tracking speeds up one-time build
1405 --enable-dependency-tracking do not reject slow dependency extractors
1406 --enable-maintainer-mode enable make rules and dependencies not useful
1407 (and sometimes confusing
) to the casual installer
1408 --disable-nls do not use Native Language Support
1410 Some influential environment variables
:
1411 CC C compiler
command
1412 CFLAGS C compiler flags
1413 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1414 nonstandard directory
<lib dir
>
1415 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1416 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1417 you have headers
in a nonstandard directory
<include dir
>
1419 PKG_CONFIG path to pkg-config utility
1421 directories to add to pkg-config
's search path
1423 path overriding pkg-config's built-in search path
1424 GIMP_CFLAGS C compiler flags
for GIMP
, overriding pkg-config
1425 GIMP_LIBS linker flags
for GIMP
, overriding pkg-config
1426 LQR_CFLAGS C compiler flags
for LQR
, overriding pkg-config
1427 LQR_LIBS linker flags
for LQR
, overriding pkg-config
1429 Use these variables to override the choices made by
`configure' or to help
1430 it to find libraries and programs with nonstandard names/locations.
1432 Report bugs to the package provider.
1437 if test "$ac_init_help" = "recursive"; then
1438 # If there are subdirs, report their specific --help.
1439 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1440 test -d "$ac_dir" ||
1441 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1448 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1449 # A ".." for each directory in $ac_dir_suffix.
1450 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1451 case $ac_top_builddir_sub in
1452 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1453 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1456 ac_abs_top_builddir=$ac_pwd
1457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1458 # for backward compatibility:
1459 ac_top_builddir=$ac_top_build_prefix
1462 .) # We are building in place.
1464 ac_top_srcdir=$ac_top_builddir_sub
1465 ac_abs_top_srcdir=$ac_pwd ;;
1466 [\\/]* | ?:[\\/]* ) # Absolute name.
1467 ac_srcdir=$srcdir$ac_dir_suffix;
1468 ac_top_srcdir=$srcdir
1469 ac_abs_top_srcdir=$srcdir ;;
1471 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1472 ac_top_srcdir=$ac_top_build_prefix$srcdir
1473 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1477 cd "$ac_dir" || { ac_status=$?; continue; }
1478 # Check for guested configure.
1479 if test -f "$ac_srcdir/configure.gnu"; then
1481 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1482 elif test -f "$ac_srcdir/configure"; then
1484 $SHELL "$ac_srcdir/configure" --help=recursive
1486 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1488 cd "$ac_pwd" || { ac_status=$?; break; }
1492 test -n "$ac_init_help" && exit $ac_status
1493 if $ac_init_version; then
1495 gimp-lqr-plugin configure 0.8.0git
1496 generated by GNU Autoconf 2.69
1498 Copyright (C) 2012 Free Software Foundation, Inc.
1499 This configure script is free software; the Free Software Foundation
1500 gives unlimited permission to copy, distribute and modify it.
1505 ## ------------------------ ##
1506 ## Autoconf initialization. ##
1507 ## ------------------------ ##
1509 # ac_fn_c_try_compile LINENO
1510 # --------------------------
1511 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1512 ac_fn_c_try_compile ()
1514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1515 rm -f conftest.$ac_objext
1516 if { { ac_try="$ac_compile"
1518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1519 *) ac_try_echo
=$ac_try;;
1521 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1522 $as_echo "$ac_try_echo"; } >&5
1523 (eval "$ac_compile") 2>conftest.err
1525 if test -s conftest.err
; then
1526 grep -v '^ *+' conftest.err
>conftest.er1
1527 cat conftest.er1
>&5
1528 mv -f conftest.er1 conftest.err
1530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1531 test $ac_status = 0; } && {
1532 test -z "$ac_c_werror_flag" ||
1533 test ! -s conftest.err
1534 } && test -s conftest.
$ac_objext; then :
1537 $as_echo "$as_me: failed program was:" >&5
1538 sed 's/^/| /' conftest.
$ac_ext >&5
1542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1543 as_fn_set_status
$ac_retval
1545 } # ac_fn_c_try_compile
1547 # ac_fn_c_try_cpp LINENO
1548 # ----------------------
1549 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1552 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1553 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1556 *) ac_try_echo=$ac_try;;
1558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1559 $as_echo "$ac_try_echo"; } >&5
1560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1562 if test -s conftest.err; then
1563 grep -v '^ *+' conftest.err >conftest.er1
1564 cat conftest.er1 >&5
1565 mv -f conftest.er1 conftest.err
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; } > conftest.i && {
1569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1570 test ! -s conftest.err
1574 $as_echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.$ac_ext >&5
1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1580 as_fn_set_status $ac_retval
1584 # ac_fn_c_try_run LINENO
1585 # ----------------------
1586 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1587 # that executables *can* be run.
1590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
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>&5
1600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1601 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1602 { { case "(($ac_try" in
1603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1604 *) ac_try_echo=$ac_try;;
1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1607 $as_echo "$ac_try_echo"; } >&5
1608 (eval "$ac_try") 2>&5
1610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1611 test $ac_status = 0; }; }; then :
1614 $as_echo "$as_me: program exited with status $ac_status" >&5
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1618 ac_retval=$ac_status
1620 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1622 as_fn_set_status $ac_retval
1626 # ac_fn_c_try_link LINENO
1627 # -----------------------
1628 # Try to link conftest.$ac_ext, and return whether this succeeded.
1631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1632 rm -f conftest.$ac_objext conftest$ac_exeext
1633 if { { ac_try="$ac_link"
1635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1636 *) ac_try_echo
=$ac_try;;
1638 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640 (eval "$ac_link") 2>conftest.err
1642 if test -s conftest.err
; then
1643 grep -v '^ *+' conftest.err
>conftest.er1
1644 cat conftest.er1
>&5
1645 mv -f conftest.er1 conftest.err
1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648 test $ac_status = 0; } && {
1649 test -z "$ac_c_werror_flag" ||
1650 test ! -s conftest.err
1651 } && test -s conftest
$ac_exeext && {
1652 test "$cross_compiling" = yes ||
1653 test -x conftest
$ac_exeext
1657 $as_echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.
$ac_ext >&5
1662 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1663 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1664 # interfere with the next link command; also delete a directory that is
1665 # left behind by Apple's compiler. We do this before executing the actions.
1666 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668 as_fn_set_status
$ac_retval
1670 } # ac_fn_c_try_link
1672 # ac_fn_c_check_func LINENO FUNC VAR
1673 # ----------------------------------
1674 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1675 ac_fn_c_check_func
()
1677 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1679 $as_echo_n "checking for $2... " >&6; }
1680 if eval \
${$3+:} false
; then :
1681 $as_echo_n "(cached) " >&6
1683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h. */
1685 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1687 #define $2 innocuous_$2
1689 /* System header to define __stub macros and hopefully few prototypes,
1690 which can conflict with char $2 (); below.
1691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1692 <limits.h> exists even on freestanding compilers. */
1695 # include <limits.h>
1697 # include <assert.h>
1702 /* Override any GCC internal prototype to avoid an error.
1703 Use char because int might match the return type of a GCC
1704 builtin and then its argument prototype would still apply. */
1709 /* The GNU C library defines this for functions which it implements
1710 to always fail with ENOSYS. Some functions are actually named
1711 something starting with __ and the normal name is an alias. */
1712 #if defined __stub_$2 || defined __stub___$2
1724 if ac_fn_c_try_link
"$LINENO"; then :
1729 rm -f core conftest.err conftest.
$ac_objext \
1730 conftest
$ac_exeext conftest.
$ac_ext
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1734 $as_echo "$ac_res" >&6; }
1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1737 } # ac_fn_c_check_func
1739 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1740 # -------------------------------------------------------
1741 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1742 # the include files in INCLUDES and setting the cache variable VAR
1744 ac_fn_c_check_header_mongrel
()
1746 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1747 if eval \
${$3+:} false
; then :
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1749 $as_echo_n "checking for $2... " >&6; }
1750 if eval \
${$3+:} false
; then :
1751 $as_echo_n "(cached) " >&6
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1755 $as_echo "$ac_res" >&6; }
1757 # Is the header compilable?
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1759 $as_echo_n "checking $2 usability... " >&6; }
1760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1761 /* end confdefs.h. */
1765 if ac_fn_c_try_compile
"$LINENO"; then :
1766 ac_header_compiler
=yes
1768 ac_header_compiler
=no
1770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1772 $as_echo "$ac_header_compiler" >&6; }
1774 # Is the header present?
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1776 $as_echo_n "checking $2 presence... " >&6; }
1777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1778 /* end confdefs.h. */
1781 if ac_fn_c_try_cpp
"$LINENO"; then :
1782 ac_header_preproc
=yes
1784 ac_header_preproc
=no
1786 rm -f conftest.err conftest.i conftest.
$ac_ext
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1788 $as_echo "$ac_header_preproc" >&6; }
1790 # So? What about this header?
1791 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1794 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1796 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1800 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1802 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1804 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1806 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1808 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812 $as_echo_n "checking for $2... " >&6; }
1813 if eval \
${$3+:} false
; then :
1814 $as_echo_n "(cached) " >&6
1816 eval "$3=\$ac_header_compiler"
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1820 $as_echo "$ac_res" >&6; }
1822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1824 } # ac_fn_c_check_header_mongrel
1826 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1827 # -------------------------------------------------------
1828 # Tests whether HEADER exists and can be compiled using the include files in
1829 # INCLUDES, setting the cache variable VAR accordingly.
1830 ac_fn_c_check_header_compile
()
1832 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834 $as_echo_n "checking for $2... " >&6; }
1835 if eval \
${$3+:} false
; then :
1836 $as_echo_n "(cached) " >&6
1838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1839 /* end confdefs.h. */
1843 if ac_fn_c_try_compile
"$LINENO"; then :
1848 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 $as_echo "$ac_res" >&6; }
1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855 } # ac_fn_c_check_header_compile
1856 cat >config.log
<<_ACEOF
1857 This file contains any messages produced by compilers while
1858 running configure, to aid debugging if configure makes a mistake.
1860 It was created by gimp-lqr-plugin $as_me 0.8.0git, which was
1861 generated by GNU Autoconf 2.69. Invocation command line was
1873 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1874 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1875 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1876 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1877 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1879 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1880 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1882 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1883 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1884 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1885 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1886 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1887 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1888 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1896 test -z "$as_dir" && as_dir
=.
1897 $as_echo "PATH: $as_dir"
1913 # Keep a trace of the command line.
1914 # Strip out --no-create and --no-recursion so they do not pile up.
1915 # Strip out --silent because we don't want to record it for future runs.
1916 # Also quote any args containing shell meta-characters.
1917 # Make two passes to allow for proper duplicate-argument suppression.
1921 ac_must_keep_next
=false
1927 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1928 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1929 |
-silent |
--silent |
--silen |
--sile |
--sil)
1932 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1935 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1937 as_fn_append ac_configure_args1
" '$ac_arg'"
1938 if test $ac_must_keep_next = true
; then
1939 ac_must_keep_next
=false
# Got value, back to normal.
1942 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1943 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1944 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1945 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1946 case "$ac_configure_args0 " in
1947 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1950 -* ) ac_must_keep_next
=true
;;
1953 as_fn_append ac_configure_args
" '$ac_arg'"
1958 { ac_configure_args0
=; unset ac_configure_args0
;}
1959 { ac_configure_args1
=; unset ac_configure_args1
;}
1961 # When interrupted or exit'd, cleanup temporary files, and complete
1962 # config.log. We remove comments because anyway the quotes in there
1963 # would cause problems or look ugly.
1964 # WARNING: Use '\'' to represent an apostrophe within the trap.
1965 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1966 trap 'exit_status=$?
1967 # Save into config.log some information that might help in debugging.
1971 $as_echo "## ---------------- ##
1972 ## Cache variables. ##
1973 ## ---------------- ##"
1975 # The following way of writing the cache mishandles newlines in values,
1977 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1978 eval ac_val=\$$ac_var
1982 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1983 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1986 _ | IFS | as_nl) ;; #(
1987 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1988 *) { eval $ac_var=; unset $ac_var;} ;;
1993 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1994 *${as_nl}ac_space=\ *)
1996 "s/'\''/'\''\\\\'\'''\''/g;
1997 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2000 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2007 $as_echo "## ----------------- ##
2008 ## Output variables. ##
2009 ## ----------------- ##"
2011 for ac_var in $ac_subst_vars
2013 eval ac_val=\$$ac_var
2015 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2017 $as_echo "$ac_var='\''$ac_val'\''"
2021 if test -n "$ac_subst_files"; then
2022 $as_echo "## ------------------- ##
2023 ## File substitutions. ##
2024 ## ------------------- ##"
2026 for ac_var
in $ac_subst_files
2028 eval ac_val
=\$
$ac_var
2030 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2032 $as_echo "$ac_var='\''$ac_val'\''"
2037 if test -s confdefs.h; then
2038 $as_echo "## ----------- ##
2045 test "$ac_signal" != 0 &&
2046 $as_echo "$as_me: caught signal $ac_signal"
2047 $as_echo "$as_me: exit $exit_status"
2049 rm -f core *.core core.conftest.* &&
2050 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2053 for ac_signal
in 1 2 13 15; do
2054 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2058 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2059 rm -f -r conftest
* confdefs.h
2061 $as_echo "/* confdefs.h */" > confdefs.h
2063 # Predefined preprocessor variables.
2065 cat >>confdefs.h
<<_ACEOF
2066 #define PACKAGE_NAME "$PACKAGE_NAME"
2069 cat >>confdefs.h
<<_ACEOF
2070 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2073 cat >>confdefs.h
<<_ACEOF
2074 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2077 cat >>confdefs.h
<<_ACEOF
2078 #define PACKAGE_STRING "$PACKAGE_STRING"
2081 cat >>confdefs.h
<<_ACEOF
2082 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2085 cat >>confdefs.h
<<_ACEOF
2086 #define PACKAGE_URL "$PACKAGE_URL"
2090 # Let the site file select an alternate cache file if it wants to.
2091 # Prefer an explicitly selected file to automatically selected ones.
2094 if test -n "$CONFIG_SITE"; then
2095 # We do not want a PATH search for config.site.
2096 case $CONFIG_SITE in #((
2097 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2098 */*) ac_site_file1
=$CONFIG_SITE;;
2099 *) ac_site_file1
=.
/$CONFIG_SITE;;
2101 elif test "x$prefix" != xNONE
; then
2102 ac_site_file1
=$prefix/share
/config.site
2103 ac_site_file2
=$prefix/etc
/config.site
2105 ac_site_file1
=$ac_default_prefix/share
/config.site
2106 ac_site_file2
=$ac_default_prefix/etc
/config.site
2108 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2110 test "x$ac_site_file" = xNONE
&& continue
2111 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2113 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2114 sed 's/^/| /' "$ac_site_file" >&5
2116 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2118 as_fn_error $?
"failed to load site script $ac_site_file
2119 See \`config.log' for more details" "$LINENO" 5; }
2123 if test -r "$cache_file"; then
2124 # Some versions of bash will fail to source /dev/null (special files
2125 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2126 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2128 $as_echo "$as_me: loading cache $cache_file" >&6;}
2130 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2131 *) .
"./$cache_file";;
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2136 $as_echo "$as_me: creating cache $cache_file" >&6;}
2140 # Check that the precious variables saved in the cache have kept the same
2142 ac_cache_corrupted
=false
2143 for ac_var
in $ac_precious_vars; do
2144 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2145 eval ac_new_set
=\
$ac_env_${ac_var}_set
2146 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2147 eval ac_new_val
=\
$ac_env_${ac_var}_value
2148 case $ac_old_set,$ac_new_set in
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2151 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2152 ac_cache_corrupted
=: ;;
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2155 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2156 ac_cache_corrupted
=: ;;
2159 if test "x$ac_old_val" != "x$ac_new_val"; then
2160 # differences in whitespace do not lead to failure.
2161 ac_old_val_w
=`echo x $ac_old_val`
2162 ac_new_val_w
=`echo x $ac_new_val`
2163 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2165 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2166 ac_cache_corrupted
=:
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2169 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2170 eval $ac_var=\
$ac_old_val
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2173 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2175 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2178 # Pass precious variables to config.status.
2179 if test "$ac_new_set" = set; then
2181 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2182 *) ac_arg
=$ac_var=$ac_new_val ;;
2184 case " $ac_configure_args " in
2185 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2186 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2190 if $ac_cache_corrupted; then
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2194 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2195 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2197 ## -------------------- ##
2198 ## Main body of script. ##
2199 ## -------------------- ##
2202 ac_cpp
='$CPP $CPPFLAGS'
2203 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2204 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2205 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2210 $as_echo "#define PLUGIN_NAME PACKAGE_NAME" >>confdefs.h
2213 $as_echo "#define PLUGIN_VERSION PACKAGE_VERSION" >>confdefs.h
2217 $as_echo "#define PLUGIN_MAJOR_VERSION 0" >>confdefs.h
2220 $as_echo "#define PLUGIN_MINOR_VERSION 8" >>confdefs.h
2223 $as_echo "#define PLUGIN_MICRO_VERSION 0git" >>confdefs.h
2227 ac_config_headers
="$ac_config_headers config.h"
2230 am__api_version
="1.9"
2232 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2233 if test -f "$ac_dir/install-sh"; then
2235 ac_install_sh
="$ac_aux_dir/install-sh -c"
2237 elif test -f "$ac_dir/install.sh"; then
2239 ac_install_sh
="$ac_aux_dir/install.sh -c"
2241 elif test -f "$ac_dir/shtool"; then
2243 ac_install_sh
="$ac_aux_dir/shtool install -c"
2247 if test -z "$ac_aux_dir"; then
2248 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2251 # These three variables are undocumented and unsupported,
2252 # and are intended to be withdrawn in a future Autoconf release.
2253 # They can cause serious problems if a builder's source tree is in a directory
2254 # whose full name contains unusual characters.
2255 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2256 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2257 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2260 # Find a good install program. We prefer a C program (faster),
2261 # so one script is as good as another. But avoid the broken or
2262 # incompatible versions:
2263 # SysV /etc/install, /usr/sbin/install
2264 # SunOS /usr/etc/install
2265 # IRIX /sbin/install
2267 # AmigaOS /C/install, which installs bootblocks on floppy discs
2268 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2269 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2270 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2271 # OS/2's system install, which has a completely different semantic
2272 # ./install, which can be erroneously created by make from ./install.sh.
2273 # Reject install programs that cannot install multiple files.
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2275 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2276 if test -z "$INSTALL"; then
2277 if ${ac_cv_path_install+:} false
; then :
2278 $as_echo_n "(cached) " >&6
2280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2284 test -z "$as_dir" && as_dir
=.
2285 # Account for people who put trailing slashes in PATH elements.
2286 case $as_dir/ in #((
2287 .
/ | .
// |
/[cC
]/* | \
2288 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2289 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2292 # OSF1 and SCO ODT 3.0 have their own names for install.
2293 # Don't use installbsd from OSF since it installs stuff as root
2295 for ac_prog
in ginstall scoinst
install; do
2296 for ac_exec_ext
in '' $ac_executable_extensions; do
2297 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2298 if test $ac_prog = install &&
2299 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2300 # AIX install. It has an incompatible calling convention.
2302 elif test $ac_prog = install &&
2303 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2304 # program-specific install script used by HP pwplus--don't use.
2307 rm -rf conftest.one conftest.two conftest.dir
2308 echo one
> conftest.one
2309 echo two
> conftest.two
2311 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2312 test -s conftest.one
&& test -s conftest.two
&&
2313 test -s conftest.dir
/conftest.one
&&
2314 test -s conftest.dir
/conftest.two
2316 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2329 rm -rf conftest.one conftest.two conftest.dir
2332 if test "${ac_cv_path_install+set}" = set; then
2333 INSTALL
=$ac_cv_path_install
2335 # As a last resort, use the slow shell script. Don't cache a
2336 # value for INSTALL within a source directory, because that will
2337 # break other packages using the cache if that directory is
2338 # removed, or if the value is a relative name.
2339 INSTALL
=$ac_install_sh
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2343 $as_echo "$INSTALL" >&6; }
2345 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2346 # It thinks the first close brace ends the variable substitution.
2347 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2349 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2351 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2354 $as_echo_n "checking whether build environment is sane... " >&6; }
2357 echo timestamp
> conftest.
file
2358 # Do `set' in a subshell so we don't clobber the current shell's
2359 # arguments. Must try -L first in case configure is actually a
2360 # symlink; some systems play weird games with the mod time of symlinks
2361 # (eg FreeBSD returns the mod time of the symlink's containing
2364 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2365 if test "$*" = "X"; then
2367 set X
`ls -t $srcdir/configure conftest.file`
2370 if test "$*" != "X $srcdir/configure conftest.file" \
2371 && test "$*" != "X conftest.file $srcdir/configure"; then
2373 # If neither matched, then we have a broken ls. This can happen
2374 # if, for instance, CONFIG_SHELL is bash and it inherits a
2375 # broken ls alias from the environment. This has actually
2376 # happened. Such a system could not be considered "sane".
2377 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2378 alias in your environment" "$LINENO" 5
2381 test "$2" = conftest.
file
2387 as_fn_error $?
"newly created file is older than distributed files!
2388 Check your system clock" "$LINENO" 5
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2391 $as_echo "yes" >&6; }
2392 test "$program_prefix" != NONE
&&
2393 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2394 # Use a double $ so make ignores it.
2395 test "$program_suffix" != NONE
&&
2396 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2397 # Double any \ or $.
2398 # By default was `s,x,x', remove it if useless.
2399 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2400 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2402 # expand $ac_aux_dir to an absolute path
2403 am_aux_dir
=`cd $ac_aux_dir && pwd`
2405 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2406 # Use eval to expand $SHELL
2407 if eval "$MISSING --run true"; then
2408 am_missing_run
="$MISSING --run "
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2412 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2415 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
2416 # We used to keeping the `.' as first argument, in order to
2417 # allow $(mkdir_p) to be used without argument. As in
2418 # $(mkdir_p) $(somedir)
2419 # where $(somedir) is conditionally defined. However this is wrong
2421 # 1. if the package is installed by a user who cannot write `.'
2422 # make install will fail,
2423 # 2. the above comment should most certainly read
2424 # $(mkdir_p) $(DESTDIR)$(somedir)
2425 # so it does not work when $(somedir) is undefined and
2426 # $(DESTDIR) is not.
2427 # To support the latter case, we have to write
2428 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2429 # so the `.' trick is pointless.
2430 mkdir_p
='mkdir -p --'
2432 # On NextStep and OpenStep, the `mkdir' command does not
2433 # recognize any option. It will interpret all options as
2434 # directories to create, and then abort because `.' already
2436 for d
in .
/-p .
/--version;
2438 test -d $d && rmdir $d
2440 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2441 if test -f "$ac_aux_dir/mkinstalldirs"; then
2442 mkdir_p
='$(mkinstalldirs)'
2444 mkdir_p
='$(install_sh) -d'
2448 for ac_prog
in gawk mawk nawk
awk
2450 # Extract the first word of "$ac_prog", so it can be a program name with args.
2451 set dummy
$ac_prog; ac_word
=$2
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2453 $as_echo_n "checking for $ac_word... " >&6; }
2454 if ${ac_cv_prog_AWK+:} false
; then :
2455 $as_echo_n "(cached) " >&6
2457 if test -n "$AWK"; then
2458 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2464 test -z "$as_dir" && as_dir
=.
2465 for ac_exec_ext
in '' $ac_executable_extensions; do
2466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2467 ac_cv_prog_AWK
="$ac_prog"
2468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2478 if test -n "$AWK"; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2480 $as_echo "$AWK" >&6; }
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2483 $as_echo "no" >&6; }
2487 test -n "$AWK" && break
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2491 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2493 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2494 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2495 $as_echo_n "(cached) " >&6
2497 cat >conftest.
make <<\_ACEOF
2500 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2502 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2503 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2505 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2507 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2511 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2513 $as_echo "yes" >&6; }
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2517 $as_echo "no" >&6; }
2518 SET_MAKE
="MAKE=${MAKE-make}"
2521 rm -rf .tst
2>/dev
/null
2522 mkdir .tst
2>/dev
/null
2523 if test -d .tst
; then
2528 rmdir .tst
2>/dev
/null
2530 # test to see if srcdir already configured
2531 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2532 test -f $srcdir/config.status
; then
2533 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2536 # test whether we have cygpath
2537 if test -z "$CYGPATH_W"; then
2538 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2539 CYGPATH_W
='cygpath -w'
2546 # Define the identity of the package.
2547 PACKAGE
='gimp-lqr-plugin'
2551 # Some tools Automake needs.
2553 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2556 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2559 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2562 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2565 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2567 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2569 # Installed binaries are usually stripped using `strip' when the user
2570 # run `make install-strip'. However `strip' might not be the right
2571 # tool to use in cross-compilation environments, therefore Automake
2572 # will honor the `STRIP' environment variable to overrule this program.
2573 if test "$cross_compiling" != no
; then
2574 if test -n "$ac_tool_prefix"; then
2575 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2576 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2578 $as_echo_n "checking for $ac_word... " >&6; }
2579 if ${ac_cv_prog_STRIP+:} false
; then :
2580 $as_echo_n "(cached) " >&6
2582 if test -n "$STRIP"; then
2583 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2589 test -z "$as_dir" && as_dir
=.
2590 for ac_exec_ext
in '' $ac_executable_extensions; do
2591 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2592 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2602 STRIP
=$ac_cv_prog_STRIP
2603 if test -n "$STRIP"; then
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2605 $as_echo "$STRIP" >&6; }
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2608 $as_echo "no" >&6; }
2613 if test -z "$ac_cv_prog_STRIP"; then
2615 # Extract the first word of "strip", so it can be a program name with args.
2616 set dummy strip
; ac_word
=$2
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2618 $as_echo_n "checking for $ac_word... " >&6; }
2619 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2620 $as_echo_n "(cached) " >&6
2622 if test -n "$ac_ct_STRIP"; then
2623 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2629 test -z "$as_dir" && as_dir
=.
2630 for ac_exec_ext
in '' $ac_executable_extensions; do
2631 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2632 ac_cv_prog_ac_ct_STRIP
="strip"
2633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2642 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2643 if test -n "$ac_ct_STRIP"; then
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2645 $as_echo "$ac_ct_STRIP" >&6; }
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2648 $as_echo "no" >&6; }
2651 if test "x$ac_ct_STRIP" = x
; then
2654 case $cross_compiling:$ac_tool_warned in
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2658 ac_tool_warned
=yes ;;
2663 STRIP
="$ac_cv_prog_STRIP"
2667 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2669 # We need awk for the "check" target. The system "awk" is bad on
2671 # Always define AMTAR for backward compatibility.
2673 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2675 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2683 ac_cpp
='$CPP $CPPFLAGS'
2684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2687 if test -n "$ac_tool_prefix"; then
2688 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2689 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691 $as_echo_n "checking for $ac_word... " >&6; }
2692 if ${ac_cv_prog_CC+:} false
; then :
2693 $as_echo_n "(cached) " >&6
2695 if test -n "$CC"; then
2696 ac_cv_prog_CC
="$CC" # Let the user override the test.
2698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2702 test -z "$as_dir" && as_dir
=.
2703 for ac_exec_ext
in '' $ac_executable_extensions; do
2704 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2705 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2716 if test -n "$CC"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2718 $as_echo "$CC" >&6; }
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 $as_echo "no" >&6; }
2726 if test -z "$ac_cv_prog_CC"; then
2728 # Extract the first word of "gcc", so it can be a program name with args.
2729 set dummy gcc
; ac_word
=$2
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731 $as_echo_n "checking for $ac_word... " >&6; }
2732 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2733 $as_echo_n "(cached) " >&6
2735 if test -n "$ac_ct_CC"; then
2736 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir
=.
2743 for ac_exec_ext
in '' $ac_executable_extensions; do
2744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2745 ac_cv_prog_ac_ct_CC
="gcc"
2746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2755 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2756 if test -n "$ac_ct_CC"; then
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2758 $as_echo "$ac_ct_CC" >&6; }
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2764 if test "x$ac_ct_CC" = x
; then
2767 case $cross_compiling:$ac_tool_warned in
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2771 ac_tool_warned
=yes ;;
2779 if test -z "$CC"; then
2780 if test -n "$ac_tool_prefix"; then
2781 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2782 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2784 $as_echo_n "checking for $ac_word... " >&6; }
2785 if ${ac_cv_prog_CC+:} false
; then :
2786 $as_echo_n "(cached) " >&6
2788 if test -n "$CC"; then
2789 ac_cv_prog_CC
="$CC" # Let the user override the test.
2791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2795 test -z "$as_dir" && as_dir
=.
2796 for ac_exec_ext
in '' $ac_executable_extensions; do
2797 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2798 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 if test -n "$CC"; then
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2811 $as_echo "$CC" >&6; }
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2814 $as_echo "no" >&6; }
2820 if test -z "$CC"; then
2821 # Extract the first word of "cc", so it can be a program name with args.
2822 set dummy cc
; ac_word
=$2
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2824 $as_echo_n "checking for $ac_word... " >&6; }
2825 if ${ac_cv_prog_CC+:} false
; then :
2826 $as_echo_n "(cached) " >&6
2828 if test -n "$CC"; then
2829 ac_cv_prog_CC
="$CC" # Let the user override the test.
2832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2836 test -z "$as_dir" && as_dir
=.
2837 for ac_exec_ext
in '' $ac_executable_extensions; do
2838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2839 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2840 ac_prog_rejected
=yes
2844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2851 if test $ac_prog_rejected = yes; then
2852 # We found a bogon in the path, so make sure we never use it.
2853 set dummy
$ac_cv_prog_CC
2855 if test $# != 0; then
2856 # We chose a different compiler from the bogus one.
2857 # However, it has the same basename, so the bogon will be chosen
2858 # first if we set CC to just the basename; use the full file name.
2860 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2866 if test -n "$CC"; then
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2868 $as_echo "$CC" >&6; }
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2871 $as_echo "no" >&6; }
2876 if test -z "$CC"; then
2877 if test -n "$ac_tool_prefix"; then
2878 for ac_prog
in cl.exe
2880 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2881 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if ${ac_cv_prog_CC+:} false
; then :
2885 $as_echo_n "(cached) " >&6
2887 if test -n "$CC"; then
2888 ac_cv_prog_CC
="$CC" # Let the user override the test.
2890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir
=.
2895 for ac_exec_ext
in '' $ac_executable_extensions; do
2896 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2897 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2908 if test -n "$CC"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2910 $as_echo "$CC" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2917 test -n "$CC" && break
2920 if test -z "$CC"; then
2922 for ac_prog
in cl.exe
2924 # Extract the first word of "$ac_prog", so it can be a program name with args.
2925 set dummy
$ac_prog; ac_word
=$2
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2927 $as_echo_n "checking for $ac_word... " >&6; }
2928 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2929 $as_echo_n "(cached) " >&6
2931 if test -n "$ac_ct_CC"; then
2932 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2938 test -z "$as_dir" && as_dir
=.
2939 for ac_exec_ext
in '' $ac_executable_extensions; do
2940 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2941 ac_cv_prog_ac_ct_CC
="$ac_prog"
2942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2951 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2952 if test -n "$ac_ct_CC"; then
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2954 $as_echo "$ac_ct_CC" >&6; }
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2957 $as_echo "no" >&6; }
2961 test -n "$ac_ct_CC" && break
2964 if test "x$ac_ct_CC" = x
; then
2967 case $cross_compiling:$ac_tool_warned in
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2971 ac_tool_warned
=yes ;;
2980 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2982 as_fn_error $?
"no acceptable C compiler found in \$PATH
2983 See \`config.log' for more details" "$LINENO" 5; }
2985 # Provide some information about the compiler.
2986 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2989 for ac_option
in --version -v -V -qversion; do
2990 { { ac_try
="$ac_compiler $ac_option >&5"
2992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 $as_echo "$ac_try_echo"; } >&5
2997 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2999 if test -s conftest.err; then
3001 ... rest of stderr output deleted ...
3002 10q' conftest.err >conftest.er1
3003 cat conftest.er1 >&5
3005 rm -f conftest.er1 conftest.err
3006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3007 test $ac_status = 0; }
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3021 ac_clean_files_save=$ac_clean_files
3022 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3023 # Try to create an executable without -o first, disregard a.out.
3024 # It will help us diagnose broken compilers, and finding out an intuition
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3027 $as_echo_n "checking whether the C compiler works... " >&6; }
3028 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3030 # The possible output files:
3031 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3034 for ac_file in $ac_files
3037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3038 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3043 if { { ac_try="$ac_link_default"
3045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3046 *) ac_try_echo
=$ac_try;;
3048 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3049 $as_echo "$ac_try_echo"; } >&5
3050 (eval "$ac_link_default") 2>&5
3052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3053 test $ac_status = 0; }; then :
3054 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3055 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3056 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3057 # so that the user can short-circuit this test for compilers unknown to
3059 for ac_file
in $ac_files ''
3061 test -f "$ac_file" ||
continue
3063 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3066 # We found the default executable, but exeext='' is most
3070 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3072 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3074 # We set ac_cv_exeext here because the later test for it is not
3075 # safe: cross compilers may not add the suffix if given an `-o'
3076 # argument, so we may need to know it at that point already.
3077 # Even if this section looks crufty: it has the advantage of
3084 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3089 if test -z "$ac_file"; then :
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3091 $as_echo "no" >&6; }
3092 $as_echo "$as_me: failed program was:" >&5
3093 sed 's/^/| /' conftest.
$ac_ext >&5
3095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3097 as_fn_error
77 "C compiler cannot create executables
3098 See \`config.log' for more details" "$LINENO" 5; }
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3101 $as_echo "yes" >&6; }
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3104 $as_echo_n "checking for C compiler default output file name... " >&6; }
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3106 $as_echo "$ac_file" >&6; }
3107 ac_exeext
=$ac_cv_exeext
3109 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3110 ac_clean_files
=$ac_clean_files_save
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3112 $as_echo_n "checking for suffix of executables... " >&6; }
3113 if { { ac_try
="$ac_link"
3115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3116 *) ac_try_echo=$ac_try;;
3118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3119 $as_echo "$ac_try_echo"; } >&5
3120 (eval "$ac_link") 2>&5
3122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3123 test $ac_status = 0; }; then :
3124 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3125 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3126 # work properly (i.e., refer to `conftest.exe'), while it won't with
3128 for ac_file
in conftest.exe conftest conftest.
*; do
3129 test -f "$ac_file" ||
continue
3131 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3132 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3140 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3141 See \`config.log' for more details" "$LINENO" 5; }
3143 rm -f conftest conftest
$ac_cv_exeext
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3145 $as_echo "$ac_cv_exeext" >&6; }
3147 rm -f conftest.
$ac_ext
3148 EXEEXT
=$ac_cv_exeext
3150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3151 /* end confdefs.h. */
3156 FILE *f = fopen ("conftest.out", "w");
3157 return ferror (f) || fclose (f) != 0;
3163 ac_clean_files
="$ac_clean_files conftest.out"
3164 # Check that the compiler produces executables we can run. If not, either
3165 # the compiler is broken, or we cross compile.
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3167 $as_echo_n "checking whether we are cross compiling... " >&6; }
3168 if test "$cross_compiling" != yes; then
3169 { { ac_try
="$ac_link"
3171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3172 *) ac_try_echo=$ac_try;;
3174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3175 $as_echo "$ac_try_echo"; } >&5
3176 (eval "$ac_link") 2>&5
3178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3179 test $ac_status = 0; }
3180 if { ac_try='./conftest$ac_cv_exeext'
3181 { { case "(($ac_try" in
3182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3183 *) ac_try_echo
=$ac_try;;
3185 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3186 $as_echo "$ac_try_echo"; } >&5
3187 (eval "$ac_try") 2>&5
3189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3190 test $ac_status = 0; }; }; then
3193 if test "$cross_compiling" = maybe
; then
3196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3198 as_fn_error $?
"cannot run C compiled programs.
3199 If you meant to cross compile, use \`--host'.
3200 See \`config.log' for more details" "$LINENO" 5; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3205 $as_echo "$cross_compiling" >&6; }
3207 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3208 ac_clean_files
=$ac_clean_files_save
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3210 $as_echo_n "checking for suffix of object files... " >&6; }
3211 if ${ac_cv_objext+:} false
; then :
3212 $as_echo_n "(cached) " >&6
3214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3215 /* end confdefs.h. */
3225 rm -f conftest.o conftest.obj
3226 if { { ac_try
="$ac_compile"
3228 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3229 *) ac_try_echo=$ac_try;;
3231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3232 $as_echo "$ac_try_echo"; } >&5
3233 (eval "$ac_compile") 2>&5
3235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3236 test $ac_status = 0; }; then :
3237 for ac_file in conftest.o conftest.obj conftest.*; do
3238 test -f "$ac_file" || continue;
3240 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3241 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3246 $as_echo "$as_me: failed program was:" >&5
3247 sed 's/^/| /' conftest.$ac_ext >&5
3249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3251 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3252 See \
`config.log' for more details" "$LINENO" 5; }
3254 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3257 $as_echo "$ac_cv_objext" >&6; }
3258 OBJEXT=$ac_cv_objext
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3261 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3262 if ${ac_cv_c_compiler_gnu+:} false; then :
3263 $as_echo_n "(cached) " >&6
3265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3266 /* end confdefs.h. */
3279 if ac_fn_c_try_compile "$LINENO"; then :
3284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3285 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3289 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3290 if test $ac_compiler_gnu = yes; then
3295 ac_test_CFLAGS=${CFLAGS+set}
3296 ac_save_CFLAGS=$CFLAGS
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3298 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3299 if ${ac_cv_prog_cc_g+:} false; then :
3300 $as_echo_n "(cached) " >&6
3302 ac_save_c_werror_flag=$ac_c_werror_flag
3303 ac_c_werror_flag=yes
3306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3307 /* end confdefs.h. */
3317 if ac_fn_c_try_compile "$LINENO"; then :
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3332 if ac_fn_c_try_compile "$LINENO"; then :
3335 ac_c_werror_flag=$ac_save_c_werror_flag
3337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h. */
3348 if ac_fn_c_try_compile "$LINENO"; then :
3351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3356 ac_c_werror_flag=$ac_save_c_werror_flag
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3359 $as_echo "$ac_cv_prog_cc_g" >&6; }
3360 if test "$ac_test_CFLAGS" = set; then
3361 CFLAGS=$ac_save_CFLAGS
3362 elif test $ac_cv_prog_cc_g = yes; then
3363 if test "$GCC" = yes; then
3369 if test "$GCC" = yes; then
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3376 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3377 if ${ac_cv_prog_cc_c89+:} false; then :
3378 $as_echo_n "(cached) " >&6
3380 ac_cv_prog_cc_c89=no
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3387 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3388 struct buf { int x; };
3389 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3390 static char *e (p, i)
3396 static char *f (char * (*g) (char **, int), char **p, ...)
3401 s = g (p, va_arg (v,int));
3406 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3407 function prototypes and stuff, but not '\xHH' hex character constants.
3408 These don't provoke an error unfortunately, instead are silently treated
3409 as 'x'. The following induces an error, until -std is added to get
3410 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3411 array size at least. It's necessary to write '\x00'==0 to get something
3412 that's true only with -std. */
3413 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3415 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3416 inside strings and character constants. */
3418 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3420 int test (int i, double x);
3421 struct s1 {int (*f) (int a);};
3422 struct s2 {int (*f) (double a);};
3423 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3429 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3434 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3435 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3437 CC="$ac_save_CC $ac_arg"
3438 if ac_fn_c_try_compile "$LINENO"; then :
3439 ac_cv_prog_cc_c89=$ac_arg
3441 rm -f core conftest.err conftest.$ac_objext
3442 test "x$ac_cv_prog_cc_c89" != "xno" && break
3444 rm -f conftest.$ac_ext
3449 case "x$ac_cv_prog_cc_c89" in
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3452 $as_echo "none needed" >&6; } ;;
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3455 $as_echo "unsupported" >&6; } ;;
3457 CC="$CC $ac_cv_prog_cc_c89"
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3459 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3461 if test "x$ac_cv_prog_cc_c89" != xno; then :
3466 ac_cpp='$CPP $CPPFLAGS'
3467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3470 DEPDIR="${am__leading_dot}deps"
3472 ac_config_commands="$ac_config_commands depfiles"
3475 am_make=${MAKE-make}
3476 cat > confinc << 'END'
3481 # If we don't find an include directive, just comment out the code.
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3483 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3487 # First try GNU make style include.
3488 echo "include confinc" > confmf
3489 # We grep out `Entering directory
' and `Leaving directory'
3490 # messages which can occur if `w' ends up in MAKEFLAGS.
3491 # In particular we don't look at `^make:' because GNU make might
3492 # be invoked under some other name (usually "gmake"), in which
3493 # case it prints its new name instead of `make'.
3494 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3499 # Now try BSD make style include.
3500 if test "$am__include" = "#"; then
3501 echo '.include "confinc"' > confmf
3502 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3503 am__include
=.include
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3511 $as_echo "$_am_result" >&6; }
3512 rm -f confinc confmf
3514 # Check whether --enable-dependency-tracking was given.
3515 if test "${enable_dependency_tracking+set}" = set; then :
3516 enableval
=$enable_dependency_tracking;
3519 if test "x$enable_dependency_tracking" != xno
; then
3520 am_depcomp
="$ac_aux_dir/depcomp"
3525 if test "x$enable_dependency_tracking" != xno; then
3536 depcc
="$CC" am_compiler_list
=
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3539 $as_echo_n "checking dependency style of $depcc... " >&6; }
3540 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
3541 $as_echo_n "(cached) " >&6
3543 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3544 # We make a subdir and do the tests there. Otherwise we can end up
3545 # making bogus files that we don't know about and never remove. For
3546 # instance it was reported that on HP-UX the gcc test will end up
3547 # making a dummy file named `D' -- because `-MD' means `put the output
3550 # Copy depcomp to subdir because otherwise we won't find it if we're
3551 # using a relative directory.
3552 cp "$am_depcomp" conftest.dir
3554 # We will build objects and dependencies in a subdirectory because
3555 # it helps to detect inapplicable dependency modes. For instance
3556 # both Tru64's cc and ICC support -MD to output dependencies as a
3557 # side effect of compilation, but ICC will put the dependencies in
3558 # the current directory while Tru64 will put them in the object
3562 am_cv_CC_dependencies_compiler_type
=none
3563 if test "$am_compiler_list" = ""; then
3564 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3566 for depmode
in $am_compiler_list; do
3567 # Setup a source with many dependencies, because some compilers
3568 # like to wrap large dependency lists on column 80 (with \), and
3569 # we should not choose a depcomp mode which is confused by this.
3571 # We need to recreate these files for each test, as the compiler may
3572 # overwrite some of them when testing with obscure command lines.
3573 # This happens at least with the AIX C compiler.
3575 for i
in 1 2 3 4 5 6; do
3576 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3577 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3578 # Solaris 8's {/usr,}/bin/sh.
3579 touch sub
/conftst
$i.h
3581 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3585 # after this tag, mechanisms are not by side-effect, so they'll
3586 # only be used when explicitly requested
3587 if test "x$enable_dependency_tracking" = xyes
; then
3595 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3596 # mode. It turns out that the SunPro C++ compiler does not properly
3597 # handle `-M -o', and we need to detect this.
3598 if depmode
=$depmode \
3599 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3600 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3601 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3602 >/dev
/null
2>conftest.err
&&
3603 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3604 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3605 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3606 # icc doesn't choke on unknown options, it will just issue warnings
3607 # or remarks (even with -Werror). So we grep stderr for any message
3608 # that says an option was ignored or not supported.
3609 # When given -MP, icc 7.0 and 7.1 complain thusly:
3610 # icc: Command line warning: ignoring option '-M'; no argument required
3611 # The diagnosis changed in icc 8.0:
3612 # icc: Command line remark: option '-MP' not supported
3613 if (grep 'ignoring option' conftest.err ||
3614 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3615 am_cv_CC_dependencies_compiler_type
=$depmode
3624 am_cv_CC_dependencies_compiler_type
=none
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3629 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3630 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3635 test "x$enable_dependency_tracking" != xno \
3636 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3638 am__fastdepCC_FALSE
='#'
3640 am__fastdepCC_TRUE
='#'
3641 am__fastdepCC_FALSE
=
3646 ac_cpp
='$CPP $CPPFLAGS'
3647 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3648 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3649 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3650 if test -n "$ac_tool_prefix"; then
3651 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3652 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3654 $as_echo_n "checking for $ac_word... " >&6; }
3655 if ${ac_cv_prog_CC+:} false
; then :
3656 $as_echo_n "(cached) " >&6
3658 if test -n "$CC"; then
3659 ac_cv_prog_CC
="$CC" # Let the user override the test.
3661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3665 test -z "$as_dir" && as_dir
=.
3666 for ac_exec_ext
in '' $ac_executable_extensions; do
3667 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3668 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3679 if test -n "$CC"; then
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3681 $as_echo "$CC" >&6; }
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3684 $as_echo "no" >&6; }
3689 if test -z "$ac_cv_prog_CC"; then
3691 # Extract the first word of "gcc", so it can be a program name with args.
3692 set dummy gcc
; ac_word
=$2
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 $as_echo_n "checking for $ac_word... " >&6; }
3695 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3696 $as_echo_n "(cached) " >&6
3698 if test -n "$ac_ct_CC"; then
3699 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3705 test -z "$as_dir" && as_dir
=.
3706 for ac_exec_ext
in '' $ac_executable_extensions; do
3707 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3708 ac_cv_prog_ac_ct_CC
="gcc"
3709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3718 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3719 if test -n "$ac_ct_CC"; then
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3721 $as_echo "$ac_ct_CC" >&6; }
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3727 if test "x$ac_ct_CC" = x
; then
3730 case $cross_compiling:$ac_tool_warned in
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3733 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3734 ac_tool_warned
=yes ;;
3742 if test -z "$CC"; then
3743 if test -n "$ac_tool_prefix"; then
3744 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3745 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if ${ac_cv_prog_CC+:} false
; then :
3749 $as_echo_n "(cached) " >&6
3751 if test -n "$CC"; then
3752 ac_cv_prog_CC
="$CC" # Let the user override the test.
3754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3758 test -z "$as_dir" && as_dir
=.
3759 for ac_exec_ext
in '' $ac_executable_extensions; do
3760 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3761 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 if test -n "$CC"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3774 $as_echo "$CC" >&6; }
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3783 if test -z "$CC"; then
3784 # Extract the first word of "cc", so it can be a program name with args.
3785 set dummy cc
; ac_word
=$2
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3787 $as_echo_n "checking for $ac_word... " >&6; }
3788 if ${ac_cv_prog_CC+:} false
; then :
3789 $as_echo_n "(cached) " >&6
3791 if test -n "$CC"; then
3792 ac_cv_prog_CC
="$CC" # Let the user override the test.
3795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3799 test -z "$as_dir" && as_dir
=.
3800 for ac_exec_ext
in '' $ac_executable_extensions; do
3801 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3802 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3803 ac_prog_rejected
=yes
3807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 if test $ac_prog_rejected = yes; then
3815 # We found a bogon in the path, so make sure we never use it.
3816 set dummy
$ac_cv_prog_CC
3818 if test $# != 0; then
3819 # We chose a different compiler from the bogus one.
3820 # However, it has the same basename, so the bogon will be chosen
3821 # first if we set CC to just the basename; use the full file name.
3823 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3829 if test -n "$CC"; then
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3831 $as_echo "$CC" >&6; }
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3834 $as_echo "no" >&6; }
3839 if test -z "$CC"; then
3840 if test -n "$ac_tool_prefix"; then
3841 for ac_prog
in cl.exe
3843 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3844 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3846 $as_echo_n "checking for $ac_word... " >&6; }
3847 if ${ac_cv_prog_CC+:} false
; then :
3848 $as_echo_n "(cached) " >&6
3850 if test -n "$CC"; then
3851 ac_cv_prog_CC
="$CC" # Let the user override the test.
3853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3857 test -z "$as_dir" && as_dir
=.
3858 for ac_exec_ext
in '' $ac_executable_extensions; do
3859 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3860 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3871 if test -n "$CC"; then
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3873 $as_echo "$CC" >&6; }
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3876 $as_echo "no" >&6; }
3880 test -n "$CC" && break
3883 if test -z "$CC"; then
3885 for ac_prog
in cl.exe
3887 # Extract the first word of "$ac_prog", so it can be a program name with args.
3888 set dummy
$ac_prog; ac_word
=$2
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3890 $as_echo_n "checking for $ac_word... " >&6; }
3891 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3892 $as_echo_n "(cached) " >&6
3894 if test -n "$ac_ct_CC"; then
3895 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3901 test -z "$as_dir" && as_dir
=.
3902 for ac_exec_ext
in '' $ac_executable_extensions; do
3903 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3904 ac_cv_prog_ac_ct_CC
="$ac_prog"
3905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3914 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3915 if test -n "$ac_ct_CC"; then
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3917 $as_echo "$ac_ct_CC" >&6; }
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3924 test -n "$ac_ct_CC" && break
3927 if test "x$ac_ct_CC" = x
; then
3930 case $cross_compiling:$ac_tool_warned in
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3934 ac_tool_warned
=yes ;;
3943 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3945 as_fn_error $?
"no acceptable C compiler found in \$PATH
3946 See \`config.log' for more details" "$LINENO" 5; }
3948 # Provide some information about the compiler.
3949 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3952 for ac_option
in --version -v -V -qversion; do
3953 { { ac_try
="$ac_compiler $ac_option >&5"
3955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3956 *) ac_try_echo=$ac_try;;
3958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3959 $as_echo "$ac_try_echo"; } >&5
3960 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3962 if test -s conftest.err; then
3964 ... rest of stderr output deleted ...
3965 10q' conftest.err >conftest.er1
3966 cat conftest.er1 >&5
3968 rm -f conftest.er1 conftest.err
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3974 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3975 if ${ac_cv_c_compiler_gnu+:} false; then :
3976 $as_echo_n "(cached) " >&6
3978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3979 /* end confdefs.h. */
3992 if ac_fn_c_try_compile "$LINENO"; then :
3997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3998 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4002 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4003 if test $ac_compiler_gnu = yes; then
4008 ac_test_CFLAGS=${CFLAGS+set}
4009 ac_save_CFLAGS=$CFLAGS
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4011 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4012 if ${ac_cv_prog_cc_g+:} false; then :
4013 $as_echo_n "(cached) " >&6
4015 ac_save_c_werror_flag=$ac_c_werror_flag
4016 ac_c_werror_flag=yes
4019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4020 /* end confdefs.h. */
4030 if ac_fn_c_try_compile "$LINENO"; then :
4034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035 /* end confdefs.h. */
4045 if ac_fn_c_try_compile "$LINENO"; then :
4048 ac_c_werror_flag=$ac_save_c_werror_flag
4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4061 if ac_fn_c_try_compile "$LINENO"; then :
4064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4069 ac_c_werror_flag=$ac_save_c_werror_flag
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4072 $as_echo "$ac_cv_prog_cc_g" >&6; }
4073 if test "$ac_test_CFLAGS" = set; then
4074 CFLAGS=$ac_save_CFLAGS
4075 elif test $ac_cv_prog_cc_g = yes; then
4076 if test "$GCC" = yes; then
4082 if test "$GCC" = yes; then
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4089 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4090 if ${ac_cv_prog_cc_c89+:} false; then :
4091 $as_echo_n "(cached) " >&6
4093 ac_cv_prog_cc_c89=no
4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4100 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4101 struct buf { int x; };
4102 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4103 static char *e (p, i)
4109 static char *f (char * (*g) (char **, int), char **p, ...)
4114 s = g (p, va_arg (v,int));
4119 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4120 function prototypes and stuff, but not '\xHH' hex character constants.
4121 These don't provoke an error unfortunately, instead are silently treated
4122 as 'x'. The following induces an error, until -std is added to get
4123 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4124 array size at least. It's necessary to write '\x00'==0 to get something
4125 that's true only with -std. */
4126 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4128 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4129 inside strings and character constants. */
4131 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4133 int test (int i, double x);
4134 struct s1 {int (*f) (int a);};
4135 struct s2 {int (*f) (double a);};
4136 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4142 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4147 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4148 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4150 CC="$ac_save_CC $ac_arg"
4151 if ac_fn_c_try_compile "$LINENO"; then :
4152 ac_cv_prog_cc_c89=$ac_arg
4154 rm -f core conftest.err conftest.$ac_objext
4155 test "x$ac_cv_prog_cc_c89" != "xno" && break
4157 rm -f conftest.$ac_ext
4162 case "x$ac_cv_prog_cc_c89" in
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4165 $as_echo "none needed" >&6; } ;;
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4168 $as_echo "unsupported" >&6; } ;;
4170 CC="$CC $ac_cv_prog_cc_c89"
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4172 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4174 if test "x$ac_cv_prog_cc_c89" != xno; then :
4179 ac_cpp='$CPP $CPPFLAGS'
4180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4184 depcc="$CC" am_compiler_list=
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4187 $as_echo_n "checking dependency style of $depcc... " >&6; }
4188 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4189 $as_echo_n "(cached) " >&6
4191 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4192 # We make a subdir and do the tests there. Otherwise we can end up
4193 # making bogus files that we don't know about and never remove. For
4194 # instance it was reported that on HP-UX the gcc test will end up
4195 # making a dummy file named `D
' -- because `-MD' means
`put the output
4198 # Copy depcomp to subdir because otherwise we won't find it if we're
4199 # using a relative directory.
4200 cp "$am_depcomp" conftest.dir
4202 # We will build objects and dependencies in a subdirectory because
4203 # it helps to detect inapplicable dependency modes. For instance
4204 # both Tru64's cc and ICC support -MD to output dependencies as a
4205 # side effect of compilation, but ICC will put the dependencies in
4206 # the current directory while Tru64 will put them in the object
4210 am_cv_CC_dependencies_compiler_type=none
4211 if test "$am_compiler_list" = ""; then
4212 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4214 for depmode in $am_compiler_list; do
4215 # Setup a source with many dependencies, because some compilers
4216 # like to wrap large dependency lists on column 80 (with \), and
4217 # we should not choose a depcomp mode which is confused by this.
4219 # We need to recreate these files for each test, as the compiler may
4220 # overwrite some of them when testing with obscure command lines.
4221 # This happens at least with the AIX C compiler.
4223 for i in 1 2 3 4 5 6; do
4224 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4225 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4226 # Solaris 8's
{/usr
,}/bin
/sh.
4227 touch sub
/conftst
$i.h
4229 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4233 # after this tag, mechanisms are not by side-effect, so they'll
4234 # only be used when explicitly requested
4235 if test "x$enable_dependency_tracking" = xyes
; then
4243 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4244 # mode. It turns out that the SunPro C++ compiler does not properly
4245 # handle `-M -o', and we need to detect this.
4246 if depmode
=$depmode \
4247 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
4248 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4249 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
4250 >/dev
/null
2>conftest.err
&&
4251 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4252 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
4253 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4254 # icc doesn't choke on unknown options, it will just issue warnings
4255 # or remarks (even with -Werror). So we grep stderr for any message
4256 # that says an option was ignored or not supported.
4257 # When given -MP, icc 7.0 and 7.1 complain thusly:
4258 # icc: Command line warning: ignoring option '-M'; no argument required
4259 # The diagnosis changed in icc 8.0:
4260 # icc: Command line remark: option '-MP' not supported
4261 if (grep 'ignoring option' conftest.err ||
4262 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4263 am_cv_CC_dependencies_compiler_type
=$depmode
4272 am_cv_CC_dependencies_compiler_type
=none
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4277 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4278 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4283 test "x$enable_dependency_tracking" != xno \
4284 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4286 am__fastdepCC_FALSE
='#'
4288 am__fastdepCC_TRUE
='#'
4289 am__fastdepCC_FALSE
=
4294 am_cv_prog_cc_stdc
=$ac_cv_prog_cc_stdc
4298 ac_cpp
='$CPP $CPPFLAGS'
4299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4303 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4304 # On Suns, sometimes $CPP names a directory.
4305 if test -n "$CPP" && test -d "$CPP"; then
4308 if test -z "$CPP"; then
4309 if ${ac_cv_prog_CPP+:} false
; then :
4310 $as_echo_n "(cached) " >&6
4312 # Double quotes because CPP needs to be expanded
4313 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4316 for ac_c_preproc_warn_flag
in '' yes
4318 # Use a header file that comes with gcc, so configuring glibc
4319 # with a fresh cross-compiler works.
4320 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4321 # <limits.h> exists even on freestanding compilers.
4322 # On the NeXT, cc -E runs the code through the compiler's parser,
4323 # not just through cpp. "Syntax error" is here to catch this case.
4324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4327 # include <limits.h>
4329 # include <assert.h>
4333 if ac_fn_c_try_cpp
"$LINENO"; then :
4336 # Broken: fails on valid input.
4339 rm -f conftest.err conftest.i conftest.
$ac_ext
4341 # OK, works on sane cases. Now check whether nonexistent headers
4342 # can be detected and how.
4343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4345 #include <ac_nonexistent.h>
4347 if ac_fn_c_try_cpp
"$LINENO"; then :
4348 # Broken: success on invalid input.
4351 # Passes both tests.
4355 rm -f conftest.err conftest.i conftest.
$ac_ext
4358 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4359 rm -f conftest.i conftest.err conftest.
$ac_ext
4360 if $ac_preproc_ok; then :
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4373 $as_echo "$CPP" >&6; }
4375 for ac_c_preproc_warn_flag
in '' yes
4377 # Use a header file that comes with gcc, so configuring glibc
4378 # with a fresh cross-compiler works.
4379 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4380 # <limits.h> exists even on freestanding compilers.
4381 # On the NeXT, cc -E runs the code through the compiler's parser,
4382 # not just through cpp. "Syntax error" is here to catch this case.
4383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4384 /* end confdefs.h. */
4386 # include <limits.h>
4388 # include <assert.h>
4392 if ac_fn_c_try_cpp
"$LINENO"; then :
4395 # Broken: fails on valid input.
4398 rm -f conftest.err conftest.i conftest.
$ac_ext
4400 # OK, works on sane cases. Now check whether nonexistent headers
4401 # can be detected and how.
4402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4403 /* end confdefs.h. */
4404 #include <ac_nonexistent.h>
4406 if ac_fn_c_try_cpp
"$LINENO"; then :
4407 # Broken: success on invalid input.
4410 # Passes both tests.
4414 rm -f conftest.err conftest.i conftest.
$ac_ext
4417 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4418 rm -f conftest.i conftest.err conftest.
$ac_ext
4419 if $ac_preproc_ok; then :
4422 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4424 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4425 See \`config.log' for more details" "$LINENO" 5; }
4429 ac_cpp
='$CPP $CPPFLAGS'
4430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4436 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4437 if ${ac_cv_path_GREP+:} false
; then :
4438 $as_echo_n "(cached) " >&6
4440 if test -z "$GREP"; then
4441 ac_path_GREP_found
=false
4442 # Loop through the user's path and test for each of PROGNAME-LIST
4443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4444 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4447 test -z "$as_dir" && as_dir
=.
4448 for ac_prog
in grep ggrep
; do
4449 for ac_exec_ext
in '' $ac_executable_extensions; do
4450 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4451 as_fn_executable_p
"$ac_path_GREP" ||
continue
4452 # Check for GNU ac_path_GREP and select it if it is found.
4453 # Check for GNU $ac_path_GREP
4454 case `"$ac_path_GREP" --version 2>&1` in
4456 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4459 $as_echo_n 0123456789 >"conftest.in"
4462 cat "conftest.in" "conftest.in" >"conftest.tmp"
4463 mv "conftest.tmp" "conftest.in"
4464 cp "conftest.in" "conftest.nl"
4465 $as_echo 'GREP' >> "conftest.nl"
4466 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4467 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4468 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4469 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4470 # Best one so far, save it but keep looking for a better one
4471 ac_cv_path_GREP
="$ac_path_GREP"
4472 ac_path_GREP_max
=$ac_count
4474 # 10*(2^10) chars as input seems more than enough
4475 test $ac_count -gt 10 && break
4477 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4480 $ac_path_GREP_found && break 3
4485 if test -z "$ac_cv_path_GREP"; then
4486 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4489 ac_cv_path_GREP
=$GREP
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4494 $as_echo "$ac_cv_path_GREP" >&6; }
4495 GREP
="$ac_cv_path_GREP"
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4499 $as_echo_n "checking for egrep... " >&6; }
4500 if ${ac_cv_path_EGREP+:} false
; then :
4501 $as_echo_n "(cached) " >&6
4503 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4504 then ac_cv_path_EGREP
="$GREP -E"
4506 if test -z "$EGREP"; then
4507 ac_path_EGREP_found
=false
4508 # Loop through the user's path and test for each of PROGNAME-LIST
4509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4510 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4513 test -z "$as_dir" && as_dir
=.
4514 for ac_prog
in egrep; do
4515 for ac_exec_ext
in '' $ac_executable_extensions; do
4516 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4517 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4518 # Check for GNU ac_path_EGREP and select it if it is found.
4519 # Check for GNU $ac_path_EGREP
4520 case `"$ac_path_EGREP" --version 2>&1` in
4522 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4525 $as_echo_n 0123456789 >"conftest.in"
4528 cat "conftest.in" "conftest.in" >"conftest.tmp"
4529 mv "conftest.tmp" "conftest.in"
4530 cp "conftest.in" "conftest.nl"
4531 $as_echo 'EGREP' >> "conftest.nl"
4532 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4533 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4534 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4535 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4536 # Best one so far, save it but keep looking for a better one
4537 ac_cv_path_EGREP
="$ac_path_EGREP"
4538 ac_path_EGREP_max
=$ac_count
4540 # 10*(2^10) chars as input seems more than enough
4541 test $ac_count -gt 10 && break
4543 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4546 $ac_path_EGREP_found && break 3
4551 if test -z "$ac_cv_path_EGREP"; then
4552 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4555 ac_cv_path_EGREP
=$EGREP
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4561 $as_echo "$ac_cv_path_EGREP" >&6; }
4562 EGREP
="$ac_cv_path_EGREP"
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4566 $as_echo_n "checking for ANSI C header files... " >&6; }
4567 if ${ac_cv_header_stdc+:} false
; then :
4568 $as_echo_n "(cached) " >&6
4570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4585 if ac_fn_c_try_compile
"$LINENO"; then :
4586 ac_cv_header_stdc
=yes
4588 ac_cv_header_stdc
=no
4590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4592 if test $ac_cv_header_stdc = yes; then
4593 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4600 $EGREP "memchr" >/dev
/null
2>&1; then :
4603 ac_cv_header_stdc
=no
4609 if test $ac_cv_header_stdc = yes; then
4610 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4617 $EGREP "free" >/dev
/null
2>&1; then :
4620 ac_cv_header_stdc
=no
4626 if test $ac_cv_header_stdc = yes; then
4627 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4628 if test "$cross_compiling" = yes; then :
4631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4635 #if ((' ' & 0x0FF) == 0x020)
4636 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4637 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4639 # define ISLOWER(c) \
4640 (('a' <= (c) && (c) <= 'i') \
4641 || ('j' <= (c) && (c) <= 'r') \
4642 || ('s' <= (c) && (c) <= 'z'))
4643 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4646 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4651 for (i = 0; i < 256; i++)
4652 if (XOR (islower (i), ISLOWER (i))
4653 || toupper (i) != TOUPPER (i))
4658 if ac_fn_c_try_run
"$LINENO"; then :
4661 ac_cv_header_stdc
=no
4663 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4664 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4670 $as_echo "$ac_cv_header_stdc" >&6; }
4671 if test $ac_cv_header_stdc = yes; then
4673 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4679 ACLOCAL
="$ACLOCAL $ACLOCAL_FLAGS"
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4682 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4683 # Check whether --enable-maintainer-mode was given.
4684 if test "${enable_maintainer_mode+set}" = set; then :
4685 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4687 USE_MAINTAINER_MODE
=no
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4691 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4694 if test $USE_MAINTAINER_MODE = yes; then
4695 MAINTAINER_MODE_TRUE
=
4696 MAINTAINER_MODE_FALSE
='#'
4698 MAINTAINER_MODE_TRUE
='#'
4699 MAINTAINER_MODE_FALSE
=
4702 MAINT
=$MAINTAINER_MODE_TRUE
4707 if test "x$GCC" = "xyes"; then
4709 *[\ \
]-Wall[\ \
]*) ;;
4710 *) CFLAGS
="$CFLAGS -Wall" ;;
4715 GIMP_REQUIRED_VERSION
=2.8.0
4724 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4725 if test -n "$ac_tool_prefix"; then
4726 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4727 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4729 $as_echo_n "checking for $ac_word... " >&6; }
4730 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
4731 $as_echo_n "(cached) " >&6
4735 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4742 test -z "$as_dir" && as_dir
=.
4743 for ac_exec_ext
in '' $ac_executable_extensions; do
4744 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4745 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4756 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4757 if test -n "$PKG_CONFIG"; then
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4759 $as_echo "$PKG_CONFIG" >&6; }
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4762 $as_echo "no" >&6; }
4767 if test -z "$ac_cv_path_PKG_CONFIG"; then
4768 ac_pt_PKG_CONFIG
=$PKG_CONFIG
4769 # Extract the first word of "pkg-config", so it can be a program name with args.
4770 set dummy pkg-config
; ac_word
=$2
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4772 $as_echo_n "checking for $ac_word... " >&6; }
4773 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
4774 $as_echo_n "(cached) " >&6
4776 case $ac_pt_PKG_CONFIG in
4778 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4785 test -z "$as_dir" && as_dir
=.
4786 for ac_exec_ext
in '' $ac_executable_extensions; do
4787 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4788 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4799 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
4800 if test -n "$ac_pt_PKG_CONFIG"; then
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4802 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4805 $as_echo "no" >&6; }
4808 if test "x$ac_pt_PKG_CONFIG" = x
; then
4811 case $cross_compiling:$ac_tool_warned in
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4815 ac_tool_warned
=yes ;;
4817 PKG_CONFIG
=$ac_pt_PKG_CONFIG
4820 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
4824 if test -n "$PKG_CONFIG"; then
4825 _pkg_min_version
=0.9.0
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4827 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4828 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4830 $as_echo "yes" >&6; }
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4833 $as_echo "no" >&6; }
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIMP" >&5
4840 $as_echo_n "checking for GIMP... " >&6; }
4842 if test -n "$GIMP_CFLAGS"; then
4843 pkg_cv_GIMP_CFLAGS
="$GIMP_CFLAGS"
4844 elif test -n "$PKG_CONFIG"; then
4845 if test -n "$PKG_CONFIG" && \
4846 { { $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
4847 ($PKG_CONFIG --exists --print-errors "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION") 2>&5
4849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4850 test $ac_status = 0; }; then
4851 pkg_cv_GIMP_CFLAGS
=`$PKG_CONFIG --cflags "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION" 2>/dev/null`
4852 test "x$?" != "x0" && pkg_failed
=yes
4859 if test -n "$GIMP_LIBS"; then
4860 pkg_cv_GIMP_LIBS
="$GIMP_LIBS"
4861 elif test -n "$PKG_CONFIG"; then
4862 if test -n "$PKG_CONFIG" && \
4863 { { $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
4864 ($PKG_CONFIG --exists --print-errors "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION") 2>&5
4866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4867 test $ac_status = 0; }; then
4868 pkg_cv_GIMP_LIBS
=`$PKG_CONFIG --libs "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION" 2>/dev/null`
4869 test "x$?" != "x0" && pkg_failed
=yes
4879 if test $pkg_failed = yes; then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4881 $as_echo "no" >&6; }
4883 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4884 _pkg_short_errors_supported
=yes
4886 _pkg_short_errors_supported
=no
4888 if test $_pkg_short_errors_supported = yes; then
4889 GIMP_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION" 2>&1`
4891 GIMP_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION" 2>&1`
4893 # Put the nasty error message in config.log where it belongs
4894 echo "$GIMP_PKG_ERRORS" >&5
4896 as_fn_error $?
"Package requirements (gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION) were not met:
4900 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4901 installed software in a non-standard prefix.
4903 Alternatively, you may set the environment variables GIMP_CFLAGS
4904 and GIMP_LIBS to avoid the need to call pkg-config.
4905 See the pkg-config man page for more details." "$LINENO" 5
4906 elif test $pkg_failed = untried
; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4909 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4911 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
4912 is in your PATH or set the PKG_CONFIG environment variable to the full
4915 Alternatively, you may set the environment variables GIMP_CFLAGS
4916 and GIMP_LIBS to avoid the need to call pkg-config.
4917 See the pkg-config man page for more details.
4919 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4920 See \`config.log' for more details" "$LINENO" 5; }
4922 GIMP_CFLAGS
=$pkg_cv_GIMP_CFLAGS
4923 GIMP_LIBS
=$pkg_cv_GIMP_LIBS
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4925 $as_echo "yes" >&6; }
4932 GIMP_LIBDIR
=`$PKG_CONFIG --variable=gimplibdir gimp-2.0`
4935 GIMP_DATADIR
=`$PKG_CONFIG --variable=gimpdatadir gimp-2.0`
4938 LQR_REQUIRED_VERSION
=0.4.0
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LQR" >&5
4943 $as_echo_n "checking for LQR... " >&6; }
4945 if test -n "$LQR_CFLAGS"; then
4946 pkg_cv_LQR_CFLAGS
="$LQR_CFLAGS"
4947 elif test -n "$PKG_CONFIG"; then
4948 if test -n "$PKG_CONFIG" && \
4949 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lqr-1 >= \$LQR_REQUIRED_VERSION\""; } >&5
4950 ($PKG_CONFIG --exists --print-errors "lqr-1 >= $LQR_REQUIRED_VERSION") 2>&5
4952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4953 test $ac_status = 0; }; then
4954 pkg_cv_LQR_CFLAGS
=`$PKG_CONFIG --cflags "lqr-1 >= $LQR_REQUIRED_VERSION" 2>/dev/null`
4955 test "x$?" != "x0" && pkg_failed
=yes
4962 if test -n "$LQR_LIBS"; then
4963 pkg_cv_LQR_LIBS
="$LQR_LIBS"
4964 elif test -n "$PKG_CONFIG"; then
4965 if test -n "$PKG_CONFIG" && \
4966 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lqr-1 >= \$LQR_REQUIRED_VERSION\""; } >&5
4967 ($PKG_CONFIG --exists --print-errors "lqr-1 >= $LQR_REQUIRED_VERSION") 2>&5
4969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4970 test $ac_status = 0; }; then
4971 pkg_cv_LQR_LIBS
=`$PKG_CONFIG --libs "lqr-1 >= $LQR_REQUIRED_VERSION" 2>/dev/null`
4972 test "x$?" != "x0" && pkg_failed
=yes
4982 if test $pkg_failed = yes; then
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 $as_echo "no" >&6; }
4986 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4987 _pkg_short_errors_supported
=yes
4989 _pkg_short_errors_supported
=no
4991 if test $_pkg_short_errors_supported = yes; then
4992 LQR_PKG_ERRORS
=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lqr-1 >= $LQR_REQUIRED_VERSION" 2>&1`
4994 LQR_PKG_ERRORS
=`$PKG_CONFIG --print-errors --cflags --libs "lqr-1 >= $LQR_REQUIRED_VERSION" 2>&1`
4996 # Put the nasty error message in config.log where it belongs
4997 echo "$LQR_PKG_ERRORS" >&5
4999 as_fn_error $?
"Package requirements (lqr-1 >= $LQR_REQUIRED_VERSION) were not met:
5003 Consider adjusting the PKG_CONFIG_PATH environment variable if you
5004 installed software in a non-standard prefix.
5006 Alternatively, you may set the environment variables LQR_CFLAGS
5007 and LQR_LIBS to avoid the need to call pkg-config.
5008 See the pkg-config man page for more details." "$LINENO" 5
5009 elif test $pkg_failed = untried
; then
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011 $as_echo "no" >&6; }
5012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5014 as_fn_error $?
"The pkg-config script could not be found or is too old. Make sure it
5015 is in your PATH or set the PKG_CONFIG environment variable to the full
5018 Alternatively, you may set the environment variables LQR_CFLAGS
5019 and LQR_LIBS to avoid the need to call pkg-config.
5020 See the pkg-config man page for more details.
5022 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
5023 See \`config.log' for more details" "$LINENO" 5; }
5025 LQR_CFLAGS
=$pkg_cv_LQR_CFLAGS
5026 LQR_LIBS
=$pkg_cv_LQR_LIBS
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5028 $as_echo "yes" >&6; }
5036 LQR_LIBDIR
=`$PKG_CONFIG --variable=libdir lqr-1`
5042 GETTEXT_PACKAGE
=gimp20-lqr-plugin
5045 cat >>confdefs.h
<<_ACEOF
5046 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
5050 ALL_LINGUAS
="it fr ru pt_BR de eu_ES zh_CN es_AR hu ro_RO sr es_ES nb_NO zh_TW"
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5054 $as_echo_n "checking whether NLS is requested... " >&6; }
5055 # Check whether --enable-nls was given.
5056 if test "${enable_nls+set}" = set; then :
5057 enableval
=$enable_nls; USE_NLS
=$enableval
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5063 $as_echo "$USE_NLS" >&6; }
5068 case "$am__api_version" in
5070 as_fn_error $?
"Automake 1.5 or newer is required to use intltool" "$LINENO" 5
5076 INTLTOOL_REQUIRED_VERSION_AS_INT
=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5077 INTLTOOL_APPLIED_VERSION
=`intltool-update --version | head -1 | cut -d" " -f3`
5078 INTLTOOL_APPLIED_VERSION_AS_INT
=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
5081 $as_echo_n "checking for intltool >= ... " >&6; }
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
5083 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
5084 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
5085 as_fn_error $?
"Your intltool is too old. You need intltool or later." "$LINENO" 5
5088 # Extract the first word of "intltool-update", so it can be a program name with args.
5089 set dummy intltool-update
; ac_word
=$2
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5091 $as_echo_n "checking for $ac_word... " >&6; }
5092 if ${ac_cv_path_INTLTOOL_UPDATE+:} false
; then :
5093 $as_echo_n "(cached) " >&6
5095 case $INTLTOOL_UPDATE in
5097 ac_cv_path_INTLTOOL_UPDATE
="$INTLTOOL_UPDATE" # Let the user override the test with a path.
5100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5104 test -z "$as_dir" && as_dir
=.
5105 for ac_exec_ext
in '' $ac_executable_extensions; do
5106 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5107 ac_cv_path_INTLTOOL_UPDATE
="$as_dir/$ac_word$ac_exec_ext"
5108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5118 INTLTOOL_UPDATE
=$ac_cv_path_INTLTOOL_UPDATE
5119 if test -n "$INTLTOOL_UPDATE"; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
5121 $as_echo "$INTLTOOL_UPDATE" >&6; }
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5128 # Extract the first word of "intltool-merge", so it can be a program name with args.
5129 set dummy intltool-merge
; ac_word
=$2
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5131 $as_echo_n "checking for $ac_word... " >&6; }
5132 if ${ac_cv_path_INTLTOOL_MERGE+:} false
; then :
5133 $as_echo_n "(cached) " >&6
5135 case $INTLTOOL_MERGE in
5137 ac_cv_path_INTLTOOL_MERGE
="$INTLTOOL_MERGE" # Let the user override the test with a path.
5140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5144 test -z "$as_dir" && as_dir
=.
5145 for ac_exec_ext
in '' $ac_executable_extensions; do
5146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5147 ac_cv_path_INTLTOOL_MERGE
="$as_dir/$ac_word$ac_exec_ext"
5148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 INTLTOOL_MERGE
=$ac_cv_path_INTLTOOL_MERGE
5159 if test -n "$INTLTOOL_MERGE"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
5161 $as_echo "$INTLTOOL_MERGE" >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5168 # Extract the first word of "intltool-extract", so it can be a program name with args.
5169 set dummy intltool-extract
; ac_word
=$2
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171 $as_echo_n "checking for $ac_word... " >&6; }
5172 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false
; then :
5173 $as_echo_n "(cached) " >&6
5175 case $INTLTOOL_EXTRACT in
5177 ac_cv_path_INTLTOOL_EXTRACT
="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
5180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5184 test -z "$as_dir" && as_dir
=.
5185 for ac_exec_ext
in '' $ac_executable_extensions; do
5186 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5187 ac_cv_path_INTLTOOL_EXTRACT
="$as_dir/$ac_word$ac_exec_ext"
5188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 INTLTOOL_EXTRACT
=$ac_cv_path_INTLTOOL_EXTRACT
5199 if test -n "$INTLTOOL_EXTRACT"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
5201 $as_echo "$INTLTOOL_EXTRACT" >&6; }
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5208 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
5209 as_fn_error $?
"The intltool scripts were not found. Please install intltool." "$LINENO" 5
5212 if test -z "$AM_DEFAULT_VERBOSITY"; then
5213 AM_DEFAULT_VERBOSITY
=1
5217 INTLTOOL_V_MERGE
='$(INTLTOOL__v_MERGE_$(V))'
5218 INTLTOOL__v_MERGE_
='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
5219 INTLTOOL__v_MERGE_0
='@echo " ITMRG " $@;'
5224 INTLTOOL_V_MERGE_OPTIONS
='$(intltool__v_merge_options_$(V))'
5225 intltool__v_merge_options_
='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
5226 intltool__v_merge_options_0
='-q'
5231 INTLTOOL_DESKTOP_RULE
='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5232 INTLTOOL_DIRECTORY_RULE
='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5233 INTLTOOL_KEYS_RULE
='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5234 INTLTOOL_PROP_RULE
='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5235 INTLTOOL_OAF_RULE
='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
5236 INTLTOOL_PONG_RULE
='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5237 INTLTOOL_SERVER_RULE
='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5238 INTLTOOL_SHEET_RULE
='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5239 INTLTOOL_SOUNDLIST_RULE
='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5240 INTLTOOL_UI_RULE
='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5241 INTLTOOL_XML_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5242 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
5243 INTLTOOL_XML_NOMERGE_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
5245 INTLTOOL_XML_NOMERGE_RULE
='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
5247 INTLTOOL_XAM_RULE
='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5248 INTLTOOL_KBD_RULE
='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5249 INTLTOOL_CAVES_RULE
='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5250 INTLTOOL_SCHEMAS_RULE
='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5251 INTLTOOL_THEME_RULE
='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5252 INTLTOOL_SERVICE_RULE
='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5253 INTLTOOL_POLICY_RULE
='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5351 # Check the gettext tools to make sure they are GNU
5352 # Extract the first word of "xgettext", so it can be a program name with args.
5353 set dummy xgettext
; ac_word
=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if ${ac_cv_path_XGETTEXT+:} false
; then :
5357 $as_echo_n "(cached) " >&6
5361 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
5364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5368 test -z "$as_dir" && as_dir
=.
5369 for ac_exec_ext
in '' $ac_executable_extensions; do
5370 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5371 ac_cv_path_XGETTEXT
="$as_dir/$ac_word$ac_exec_ext"
5372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5382 XGETTEXT
=$ac_cv_path_XGETTEXT
5383 if test -n "$XGETTEXT"; then
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5385 $as_echo "$XGETTEXT" >&6; }
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5388 $as_echo "no" >&6; }
5392 # Extract the first word of "msgmerge", so it can be a program name with args.
5393 set dummy msgmerge
; ac_word
=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if ${ac_cv_path_MSGMERGE+:} false
; then :
5397 $as_echo_n "(cached) " >&6
5401 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
5404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5408 test -z "$as_dir" && as_dir
=.
5409 for ac_exec_ext
in '' $ac_executable_extensions; do
5410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5411 ac_cv_path_MSGMERGE
="$as_dir/$ac_word$ac_exec_ext"
5412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5422 MSGMERGE
=$ac_cv_path_MSGMERGE
5423 if test -n "$MSGMERGE"; then
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5425 $as_echo "$MSGMERGE" >&6; }
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5428 $as_echo "no" >&6; }
5432 # Extract the first word of "msgfmt", so it can be a program name with args.
5433 set dummy msgfmt
; ac_word
=$2
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5435 $as_echo_n "checking for $ac_word... " >&6; }
5436 if ${ac_cv_path_MSGFMT+:} false
; then :
5437 $as_echo_n "(cached) " >&6
5441 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
5444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir
=.
5449 for ac_exec_ext
in '' $ac_executable_extensions; do
5450 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5451 ac_cv_path_MSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5462 MSGFMT
=$ac_cv_path_MSGFMT
5463 if test -n "$MSGFMT"; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5465 $as_echo "$MSGFMT" >&6; }
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 $as_echo "no" >&6; }
5472 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5473 set dummy gmsgfmt
; ac_word
=$2
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475 $as_echo_n "checking for $ac_word... " >&6; }
5476 if ${ac_cv_path_GMSGFMT+:} false
; then :
5477 $as_echo_n "(cached) " >&6
5481 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
5484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5488 test -z "$as_dir" && as_dir
=.
5489 for ac_exec_ext
in '' $ac_executable_extensions; do
5490 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5491 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5499 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
5503 GMSGFMT
=$ac_cv_path_GMSGFMT
5504 if test -n "$GMSGFMT"; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5506 $as_echo "$GMSGFMT" >&6; }
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509 $as_echo "no" >&6; }
5513 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5514 as_fn_error $?
"GNU gettext tools not found; required for intltool" "$LINENO" 5
5516 xgversion
="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5517 mmversion
="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5518 mfversion
="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5519 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5520 as_fn_error $?
"GNU gettext tools not found; required for intltool" "$LINENO" 5
5523 # Extract the first word of "perl", so it can be a program name with args.
5524 set dummy perl
; ac_word
=$2
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5526 $as_echo_n "checking for $ac_word... " >&6; }
5527 if ${ac_cv_path_INTLTOOL_PERL+:} false
; then :
5528 $as_echo_n "(cached) " >&6
5530 case $INTLTOOL_PERL in
5532 ac_cv_path_INTLTOOL_PERL
="$INTLTOOL_PERL" # Let the user override the test with a path.
5535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5539 test -z "$as_dir" && as_dir
=.
5540 for ac_exec_ext
in '' $ac_executable_extensions; do
5541 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5542 ac_cv_path_INTLTOOL_PERL
="$as_dir/$ac_word$ac_exec_ext"
5543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5553 INTLTOOL_PERL
=$ac_cv_path_INTLTOOL_PERL
5554 if test -n "$INTLTOOL_PERL"; then
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
5556 $as_echo "$INTLTOOL_PERL" >&6; }
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5559 $as_echo "no" >&6; }
5563 if test -z "$INTLTOOL_PERL"; then
5564 as_fn_error $?
"perl not found" "$LINENO" 5
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5567 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
5568 $INTLTOOL_PERL -e "use 5.8.1;" > /dev
/null
2>&1
5569 if test $?
-ne 0; then
5570 as_fn_error $?
"perl 5.8.1 is required for intltool" "$LINENO" 5
5572 IT_PERL_VERSION
=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5574 $as_echo "$IT_PERL_VERSION" >&6; }
5576 if test "x" != "xno-xml"; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
5578 $as_echo_n "checking for XML::Parser... " >&6; }
5579 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5581 $as_echo "ok" >&6; }
5583 as_fn_error $?
"XML::Parser perl module is required for intltool" "$LINENO" 5
5587 # Substitute ALL_LINGUAS so we can use it in po/Makefile
5590 # Set DATADIRNAME correctly if it is not set yet
5591 # (copied from glib-gettext.m4)
5592 if test -z "$DATADIRNAME"; then
5593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5594 /* end confdefs.h. */
5599 extern int _nl_msg_cat_cntr;
5600 return _nl_msg_cat_cntr
5605 if ac_fn_c_try_link
"$LINENO"; then :
5610 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5611 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes
; then :
5623 rm -f core conftest.err conftest.
$ac_objext \
5624 conftest
$ac_exeext conftest.
$ac_ext
5631 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5632 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5633 inttypes.h stdint.h unistd.h
5635 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5636 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5638 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5639 cat >>confdefs.h
<<_ACEOF
5640 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5649 for ac_header
in locale.h
5651 ac_fn_c_check_header_mongrel
"$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5652 if test "x$ac_cv_header_locale_h" = xyes
; then :
5653 cat >>confdefs.h
<<_ACEOF
5654 #define HAVE_LOCALE_H 1
5661 if test $ac_cv_header_locale_h = yes; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5663 $as_echo_n "checking for LC_MESSAGES... " >&6; }
5664 if ${am_cv_val_LC_MESSAGES+:} false
; then :
5665 $as_echo_n "(cached) " >&6
5667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5668 /* end confdefs.h. */
5678 if ac_fn_c_try_link
"$LINENO"; then :
5679 am_cv_val_LC_MESSAGES
=yes
5681 am_cv_val_LC_MESSAGES
=no
5683 rm -f core conftest.err conftest.
$ac_objext \
5684 conftest
$ac_exeext conftest.
$ac_ext
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5687 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5688 if test $am_cv_val_LC_MESSAGES = yes; then
5690 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5697 gt_cv_have_gettext
=no
5703 ac_fn_c_check_header_mongrel
"$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5704 if test "x$ac_cv_header_libintl_h" = xyes
; then :
5705 gt_cv_func_dgettext_libintl
="no"
5706 libintl_extra_libs
=""
5709 # First check in libc
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5712 $as_echo_n "checking for ngettext in libc... " >&6; }
5713 if ${gt_cv_func_ngettext_libc+:} false
; then :
5714 $as_echo_n "(cached) " >&6
5716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5717 /* end confdefs.h. */
5719 #include <libintl.h>
5724 return !ngettext ("","", 1)
5729 if ac_fn_c_try_link
"$LINENO"; then :
5730 gt_cv_func_ngettext_libc
=yes
5732 gt_cv_func_ngettext_libc
=no
5734 rm -f core conftest.err conftest.
$ac_objext \
5735 conftest
$ac_exeext conftest.
$ac_ext
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
5739 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
5741 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
5743 $as_echo_n "checking for dgettext in libc... " >&6; }
5744 if ${gt_cv_func_dgettext_libc+:} false
; then :
5745 $as_echo_n "(cached) " >&6
5747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5748 /* end confdefs.h. */
5750 #include <libintl.h>
5755 return !dgettext ("","")
5760 if ac_fn_c_try_link
"$LINENO"; then :
5761 gt_cv_func_dgettext_libc
=yes
5763 gt_cv_func_dgettext_libc
=no
5765 rm -f core conftest.err conftest.
$ac_objext \
5766 conftest
$ac_exeext conftest.
$ac_ext
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5770 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
5773 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5774 for ac_func
in bind_textdomain_codeset
5776 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5777 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes
; then :
5778 cat >>confdefs.h
<<_ACEOF
5779 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
5788 # If we don't have everything we want, check in libintl
5790 if test "$gt_cv_func_dgettext_libc" != "yes" \
5791 ||
test "$gt_cv_func_ngettext_libc" != "yes" \
5792 ||
test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
5795 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
5796 if ${ac_cv_lib_intl_bindtextdomain+:} false
; then :
5797 $as_echo_n "(cached) " >&6
5799 ac_check_lib_save_LIBS
=$LIBS
5801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5802 /* end confdefs.h. */
5804 /* Override any GCC internal prototype to avoid an error.
5805 Use char because int might match the return type of a GCC
5806 builtin and then its argument prototype would still apply. */
5810 char bindtextdomain ();
5814 return bindtextdomain ();
5819 if ac_fn_c_try_link
"$LINENO"; then :
5820 ac_cv_lib_intl_bindtextdomain
=yes
5822 ac_cv_lib_intl_bindtextdomain
=no
5824 rm -f core conftest.err conftest.
$ac_objext \
5825 conftest
$ac_exeext conftest.
$ac_ext
5826 LIBS
=$ac_check_lib_save_LIBS
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
5829 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5830 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes
; then :
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5832 $as_echo_n "checking for ngettext in -lintl... " >&6; }
5833 if ${ac_cv_lib_intl_ngettext+:} false
; then :
5834 $as_echo_n "(cached) " >&6
5836 ac_check_lib_save_LIBS
=$LIBS
5838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5839 /* end confdefs.h. */
5841 /* Override any GCC internal prototype to avoid an error.
5842 Use char because int might match the return type of a GCC
5843 builtin and then its argument prototype would still apply. */
5856 if ac_fn_c_try_link
"$LINENO"; then :
5857 ac_cv_lib_intl_ngettext
=yes
5859 ac_cv_lib_intl_ngettext
=no
5861 rm -f core conftest.err conftest.
$ac_objext \
5862 conftest
$ac_exeext conftest.
$ac_ext
5863 LIBS
=$ac_check_lib_save_LIBS
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5866 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5867 if test "x$ac_cv_lib_intl_ngettext" = xyes
; then :
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
5869 $as_echo_n "checking for dgettext in -lintl... " >&6; }
5870 if ${ac_cv_lib_intl_dgettext+:} false
; then :
5871 $as_echo_n "(cached) " >&6
5873 ac_check_lib_save_LIBS
=$LIBS
5875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5876 /* end confdefs.h. */
5878 /* Override any GCC internal prototype to avoid an error.
5879 Use char because int might match the return type of a GCC
5880 builtin and then its argument prototype would still apply. */
5893 if ac_fn_c_try_link
"$LINENO"; then :
5894 ac_cv_lib_intl_dgettext
=yes
5896 ac_cv_lib_intl_dgettext
=no
5898 rm -f core conftest.err conftest.
$ac_objext \
5899 conftest
$ac_exeext conftest.
$ac_ext
5900 LIBS
=$ac_check_lib_save_LIBS
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
5903 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5904 if test "x$ac_cv_lib_intl_dgettext" = xyes
; then :
5905 gt_cv_func_dgettext_libintl
=yes
5913 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5915 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5919 $as_echo_n "checking for ngettext in -lintl... " >&6; }
5920 if ${ac_cv_lib_intl_ngettext+:} false
; then :
5921 $as_echo_n "(cached) " >&6
5923 ac_check_lib_save_LIBS
=$LIBS
5924 LIBS
="-lintl -liconv $LIBS"
5925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5926 /* end confdefs.h. */
5928 /* Override any GCC internal prototype to avoid an error.
5929 Use char because int might match the return type of a GCC
5930 builtin and then its argument prototype would still apply. */
5943 if ac_fn_c_try_link
"$LINENO"; then :
5944 ac_cv_lib_intl_ngettext
=yes
5946 ac_cv_lib_intl_ngettext
=no
5948 rm -f core conftest.err conftest.
$ac_objext \
5949 conftest
$ac_exeext conftest.
$ac_ext
5950 LIBS
=$ac_check_lib_save_LIBS
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5953 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5954 if test "x$ac_cv_lib_intl_ngettext" = xyes
; then :
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
5956 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
5957 if ${ac_cv_lib_intl_dcgettext+:} false
; then :
5958 $as_echo_n "(cached) " >&6
5960 ac_check_lib_save_LIBS
=$LIBS
5961 LIBS
="-lintl -liconv $LIBS"
5962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5963 /* end confdefs.h. */
5965 /* Override any GCC internal prototype to avoid an error.
5966 Use char because int might match the return type of a GCC
5967 builtin and then its argument prototype would still apply. */
5975 return dcgettext ();
5980 if ac_fn_c_try_link
"$LINENO"; then :
5981 ac_cv_lib_intl_dcgettext
=yes
5983 ac_cv_lib_intl_dcgettext
=no
5985 rm -f core conftest.err conftest.
$ac_objext \
5986 conftest
$ac_exeext conftest.
$ac_ext
5987 LIBS
=$ac_check_lib_save_LIBS
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
5990 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
5991 if test "x$ac_cv_lib_intl_dcgettext" = xyes
; then :
5992 gt_cv_func_dgettext_libintl
=yes
5993 libintl_extra_libs
=-liconv
6005 # If we found libintl, then check in it for bind_textdomain_codeset();
6006 # we'll prefer libc if neither have bind_textdomain_codeset(),
6007 # and both have dgettext and ngettext
6009 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
6010 glib_save_LIBS
="$LIBS"
6011 LIBS
="$LIBS -lintl $libintl_extra_libs"
6012 unset ac_cv_func_bind_textdomain_codeset
6013 for ac_func
in bind_textdomain_codeset
6015 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6016 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes
; then :
6017 cat >>confdefs.h
<<_ACEOF
6018 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
6024 LIBS
="$glib_save_LIBS"
6026 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
6027 gt_cv_func_dgettext_libc
=no
6029 if test "$gt_cv_func_dgettext_libc" = "yes" \
6030 && test "$gt_cv_func_ngettext_libc" = "yes"; then
6031 gt_cv_func_dgettext_libintl
=no
6037 if test "$gt_cv_func_dgettext_libc" = "yes" \
6038 ||
test "$gt_cv_func_dgettext_libintl" = "yes"; then
6039 gt_cv_have_gettext
=yes
6042 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
6043 INTLLIBS
="-lintl $libintl_extra_libs"
6046 if test "$gt_cv_have_gettext" = "yes"; then
6048 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
6050 # Extract the first word of "msgfmt", so it can be a program name with args.
6051 set dummy msgfmt
; ac_word
=$2
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6053 $as_echo_n "checking for $ac_word... " >&6; }
6054 if ${ac_cv_path_MSGFMT+:} false
; then :
6055 $as_echo_n "(cached) " >&6
6059 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
6062 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6063 for ac_dir
in $PATH; do
6064 test -z "$ac_dir" && ac_dir
=.
6065 if test -f $ac_dir/$ac_word; then
6066 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
6067 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
6073 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
="no"
6077 MSGFMT
="$ac_cv_path_MSGFMT"
6078 if test "$MSGFMT" != "no"; then
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6080 $as_echo "$MSGFMT" >&6; }
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 $as_echo "no" >&6; }
6085 if test "$MSGFMT" != "no"; then
6086 glib_save_LIBS
="$LIBS"
6087 LIBS
="$LIBS $INTLLIBS"
6088 for ac_func
in dcgettext
6090 ac_fn_c_check_func
"$LINENO" "dcgettext" "ac_cv_func_dcgettext"
6091 if test "x$ac_cv_func_dcgettext" = xyes
; then :
6092 cat >>confdefs.h
<<_ACEOF
6093 #define HAVE_DCGETTEXT 1
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6101 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
6102 cat >conftest.foo
<<_ACEOF
6106 "Content-Type: text/plain; charset=UTF-8\n"
6107 "Project-Id-Version: test 1.0\n"
6108 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
6109 "Last-Translator: test <foo@bar.xx>\n"
6110 "Language-Team: C <LL@li.org>\n"
6111 "MIME-Version: 1.0\n"
6112 "Content-Transfer-Encoding: 8bit\n"
6115 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
6116 ($MSGFMT -c -o /dev
/null conftest.foo
) 2>&5
6118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6119 test $ac_status = 0; }; then
6120 MSGFMT_OPTS
=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6121 $as_echo "yes" >&6; }
6122 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6123 $as_echo "no" >&6; }
6124 echo "$as_me: failed input was:" >&5
6125 sed 's/^/| /' conftest.foo
>&5
6128 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6129 set dummy gmsgfmt
; ac_word
=$2
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 $as_echo_n "checking for $ac_word... " >&6; }
6132 if ${ac_cv_path_GMSGFMT+:} false
; then :
6133 $as_echo_n "(cached) " >&6
6137 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
6140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6144 test -z "$as_dir" && as_dir
=.
6145 for ac_exec_ext
in '' $ac_executable_extensions; do
6146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6147 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
6148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6155 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
6159 GMSGFMT
=$ac_cv_path_GMSGFMT
6160 if test -n "$GMSGFMT"; then
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6162 $as_echo "$GMSGFMT" >&6; }
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6165 $as_echo "no" >&6; }
6169 # Extract the first word of "xgettext", so it can be a program name with args.
6170 set dummy xgettext
; ac_word
=$2
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6172 $as_echo_n "checking for $ac_word... " >&6; }
6173 if ${ac_cv_path_XGETTEXT+:} false
; then :
6174 $as_echo_n "(cached) " >&6
6178 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
6181 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6182 for ac_dir
in $PATH; do
6183 test -z "$ac_dir" && ac_dir
=.
6184 if test -f $ac_dir/$ac_word; then
6185 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6186 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
6192 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
6196 XGETTEXT
="$ac_cv_path_XGETTEXT"
6197 if test "$XGETTEXT" != ":"; then
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6199 $as_echo "$XGETTEXT" >&6; }
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6202 $as_echo "no" >&6; }
6205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6206 /* end confdefs.h. */
6211 extern int _nl_msg_cat_cntr;
6212 return _nl_msg_cat_cntr
6217 if ac_fn_c_try_link
"$LINENO"; then :
6223 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6224 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes
; then :
6243 rm -f core conftest.err conftest.
$ac_objext \
6244 conftest
$ac_exeext conftest.
$ac_ext
6245 LIBS
="$glib_save_LIBS"
6248 gt_cv_have_gettext
=no
6256 if test "$gt_cv_have_gettext" = "yes" ; then
6258 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6262 if test "$XGETTEXT" != ":"; then
6263 if $XGETTEXT --omit-header /dev
/null
2> /dev
/null
; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6267 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6272 # We need to process the po/ directory.
6275 ac_config_commands
="$ac_config_commands default-1"
6278 for lang
in $ALL_LINGUAS; do
6279 GMOFILES
="$GMOFILES $lang.gmo"
6280 POFILES
="$POFILES $lang.po"
6295 if test "$gt_cv_have_gettext" = "yes"; then
6296 if test "x$ALL_LINGUAS" = "x"; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6300 $as_echo_n "checking for catalogs to be installed... " >&6; }
6302 for presentlang
in $ALL_LINGUAS; do
6304 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6305 desiredlanguages
="$LINGUAS"
6307 desiredlanguages
="$ALL_LINGUAS"
6309 for desiredlang
in $desiredlanguages; do
6310 # Use the presentlang catalog if desiredlang is
6311 # a. equal to presentlang, or
6312 # b. a variant of presentlang (because in this case,
6313 # presentlang can be used as a fallback for messages
6314 # which are not translated in the desiredlang catalog).
6315 case "$desiredlang" in
6316 "$presentlang"*) useit
=yes;;
6319 if test $useit = yes; then
6320 NEW_LINGUAS
="$NEW_LINGUAS $presentlang"
6323 LINGUAS
=$NEW_LINGUAS
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6325 $as_echo "$LINGUAS" >&6; }
6328 if test -n "$LINGUAS"; then
6329 for lang
in $LINGUAS; do CATALOGS
="$CATALOGS $lang$CATOBJEXT"; done
6334 if test -n "$ac_aux_dir"; then
6335 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
6337 if test -z "$MKINSTALLDIRS"; then
6338 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
6342 test -d po || mkdir po
6343 if test "x$srcdir" != "x."; then
6344 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6345 posrcprefix
="$srcdir/"
6347 posrcprefix
="../$srcdir/"
6353 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6354 < $srcdir/po
/POTFILES.
in > po
/POTFILES
6357 for ac_func
in bind_textdomain_codeset
6359 ac_fn_c_check_func
"$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6360 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes
; then :
6361 cat >>confdefs.h
<<_ACEOF
6362 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
6369 LOCALEDIR
="${datadir}/locale"
6370 if test "$DATADIRNAME" = "lib"; then
6371 LOCALEDIR
="$libdir/locale"
6375 PLUGIN_DATADIR
="${datadir}/gimp-lqr-plugin"
6378 SCRIPTSDIR
="${GIMP_DATADIR}/scripts"
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version 2.12.0 or newer" >&5
6382 $as_echo_n "checking if GTK+ is version 2.12.0 or newer... " >&6; }
6383 if $PKG_CONFIG --atleast-version=2.12.0 gtk
+-2.0
; then
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_2_12" >&5
6389 $as_echo "$have_gtk_2_12" >&6; }
6391 if test "x$have_gtk_2_12" != "xyes"; then
6392 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GIMP is version 2.8.0 or newer" >&5
6396 $as_echo_n "checking if GIMP is version 2.8.0 or newer... " >&6; }
6397 if $PKG_CONFIG --atleast-version=2.8.0 gimp-2.0
; then
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gimp_2_8" >&5
6403 $as_echo "$have_gimp_2_8" >&6; }
6405 if test "x$have_gimp_2_8" != "xyes"; then
6406 CPPFLAGS
="$CPPFLAGS -DGIMP_DISABLE_DEPRECATED"
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we are on Win32" >&5
6410 $as_echo_n "checking if we are on Win32... " >&6; }
6412 ac_cpp
='$CPP $CPPFLAGS'
6413 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6414 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6415 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6418 /* end confdefs.h. */
6425 if ac_fn_c_try_cpp
"$LINENO"; then :
6430 rm -f conftest.err conftest.i conftest.
$ac_ext
6431 if test "x$is_win32" = "xyes"; then
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6433 $as_echo "yes" >&6; }
6435 LDFLAGS
="$LDFLAGS -mwindows"
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6438 $as_echo "no" >&6; }
6441 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"
6444 cat >confcache
<<\_ACEOF
6445 # This file is a shell script that caches the results of configure
6446 # tests run on this system so they can be shared between configure
6447 # scripts and configure runs, see configure's option --config-cache.
6448 # It is not useful on other systems. If it contains results you don't
6449 # want to keep, you may remove or edit it.
6451 # config.status only pays attention to the cache file if you give it
6452 # the --recheck option to rerun configure.
6454 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6455 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6460 # The following way of writing the cache mishandles newlines in values,
6461 # but we know of no workaround that is simple, portable, and efficient.
6462 # So, we kill variables containing newlines.
6463 # Ultrix sh set writes to stderr and can't be redirected directly,
6464 # and sets the high bit in the cache file unless we assign to the vars.
6466 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6467 eval ac_val
=\$
$ac_var
6471 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6472 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6475 _ | IFS | as_nl
) ;; #(
6476 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
6477 *) { eval $ac_var=; unset $ac_var;} ;;
6483 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6484 *${as_nl}ac_space
=\
*)
6485 # `set' does not quote correctly, so add quotes: double-quote
6486 # substitution turns \\\\ into \\, and sed turns \\ into \.
6489 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6492 # `set' quotes correctly as required by POSIX, so do not add quotes.
6493 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6502 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6504 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6506 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
6507 if test -w "$cache_file"; then
6508 if test "x$cache_file" != "x/dev/null"; then
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6510 $as_echo "$as_me: updating cache $cache_file" >&6;}
6511 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
6512 cat confcache
>"$cache_file"
6514 case $cache_file in #(
6516 mv -f confcache
"$cache_file"$$
&&
6517 mv -f "$cache_file"$$
"$cache_file" ;; #(
6519 mv -f confcache
"$cache_file" ;;
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6525 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6530 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6531 # Let make expand exec_prefix.
6532 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6534 DEFS
=-DHAVE_CONFIG_H
6539 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6540 # 1. Remove the extension, and $U if already installed.
6541 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
6542 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
6543 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6544 # will be set to the directory where LIBOBJS objects are built.
6545 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6546 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
6550 LTLIBOBJS
=$ac_ltlibobjs
6553 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6554 as_fn_error $?
"conditional \"AMDEP\" was never defined.
6555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6557 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6558 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6561 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6562 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
6563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6565 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6566 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
6567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6570 ac_config_commands
="$ac_config_commands po/stamp-it"
6574 : "${CONFIG_STATUS=./config.status}"
6576 ac_clean_files_save
=$ac_clean_files
6577 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6579 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6581 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6583 # Generated by $as_me.
6584 # Run this file to recreate the current configuration.
6585 # Compiler output produced by configure, useful for debugging
6586 # configure, is in config.log if it exists.
6592 SHELL=\${CONFIG_SHELL-$SHELL}
6595 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
6596 ## -------------------- ##
6597 ## M4sh Initialization. ##
6598 ## -------------------- ##
6600 # Be more Bourne compatible
6601 DUALCASE
=1; export DUALCASE
# for MKS sh
6602 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
6605 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6606 # is contrary to our usage. Disable this feature.
6607 alias -g '${1+"$@"}'='"$@"'
6608 setopt NO_GLOB_SUBST
6610 case `(set -o) 2>/dev/null` in #(
6622 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6623 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6624 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6625 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6626 # Prefer a ksh shell builtin over an external printf program on Solaris,
6627 # but without wasting forks for bash or zsh.
6628 if test -z "$BASH_VERSION$ZSH_VERSION" \
6629 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6630 as_echo='print
-r --'
6631 as_echo_n='print
-rn --'
6632 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6633 as_echo='printf %s
\n'
6634 as_echo_n='printf %s
'
6636 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6637 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
6638 as_echo_n='/usr
/ucb
/echo -n'
6640 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6641 as_echo_n_body='eval
6645 expr "X$arg" : "X\\(.*\\)$as_nl";
6646 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6648 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
6650 export as_echo_n_body
6651 as_echo_n='sh
-c $as_echo_n_body as_echo
'
6654 as_echo='sh
-c $as_echo_body as_echo
'
6657 # The user is always right.
6658 if test "${PATH_SEPARATOR+set}" != set; then
6660 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6661 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6668 # We need space, tab and new line, in precisely that order. Quoting is
6669 # there to prevent editors from complaining about space-tab.
6670 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6671 # splitting by setting IFS to empty value.)
6674 # Find who we are. Look in the path if we contain no directory separator.
6677 *[\\/]* ) as_myself=$0 ;;
6678 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682 test -z "$as_dir" && as_dir=.
6683 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6689 # We did not find ourselves, most probably we were run as `sh COMMAND'
6690 # in which case we are not to be found in the path.
6691 if test "x$as_myself" = x
; then
6694 if test ! -f "$as_myself"; then
6695 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6699 # Unset variables that we do not need and which cause bugs (e.g. in
6700 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6701 # suppresses any "Segmentation fault" message there. '((' could
6702 # trigger a bug in pdksh 5.2.14.
6703 for as_var
in BASH_ENV ENV MAIL MAILPATH
6704 do eval test x\
${$as_var+set} = xset \
6705 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
6718 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
6721 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6722 # ----------------------------------------
6723 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6724 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6725 # script with STATUS, using 1 if that was 0.
6728 as_status
=$1; test $as_status -eq 0 && as_status
=1
6730 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
6731 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6733 $as_echo "$as_me: error: $2" >&2
6734 as_fn_exit
$as_status
6738 # as_fn_set_status STATUS
6739 # -----------------------
6740 # Set $? to STATUS, without forking.
6744 } # as_fn_set_status
6748 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6758 # Portably unset VAR.
6761 { eval $1=; unset $1;}
6763 as_unset
=as_fn_unset
6764 # as_fn_append VAR VALUE
6765 # ----------------------
6766 # Append the text in VALUE to the end of the definition contained in VAR. Take
6767 # advantage of any shell optimizations that allow amortized linear growth over
6768 # repeated appends, instead of the typical quadratic growth present in naive
6770 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
6771 eval 'as_fn_append ()
6782 # as_fn_arith ARG...
6783 # ------------------
6784 # Perform arithmetic evaluation on the ARGs, and store the result in the
6785 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6786 # must be portable across $(()) and expr.
6787 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
6788 eval 'as_fn_arith ()
6795 as_val
=`expr "$@" || test $? -eq 1`
6800 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
6801 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
6807 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6808 as_basename
=basename
6813 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
6819 as_me
=`$as_basename -- "$0" ||
6820 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6821 X"$0" : 'X\(//\)$' \| \
6822 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6824 sed '/^.*\/\([^/][^/]*\)\/*$/{
6838 # Avoid depending upon Character Ranges.
6839 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6840 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6841 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6842 as_cr_digits
='0123456789'
6843 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6845 ECHO_C
= ECHO_N
= ECHO_T
=
6846 case `echo -n x` in #(((((
6848 case `echo 'xy\c'` in
6849 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
6851 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
6858 rm -f conf$$ conf$$.exe conf$$.
file
6859 if test -d conf$$.dir
; then
6860 rm -f conf$$.dir
/conf$$.
file
6863 mkdir conf$$.dir
2>/dev
/null
6865 if (echo >conf$$.
file) 2>/dev
/null
; then
6866 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6868 # ... but there are two gotchas:
6869 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6870 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6871 # In both cases, we have to default to `cp -pR'.
6872 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
6874 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6882 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
6883 rmdir conf$$.dir
2>/dev
/null
6888 # Create "$as_dir" as a directory, including parents if necessary.
6893 -*) as_dir
=.
/$as_dir;;
6895 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
6899 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6900 *) as_qdir
=$as_dir;;
6902 as_dirs
="'$as_qdir' $as_dirs"
6903 as_dir
=`$as_dirname -- "$as_dir" ||
6904 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6905 X"$as_dir" : 'X\(//\)[^/]' \| \
6906 X"$as_dir" : 'X\(//\)$' \| \
6907 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6908 $as_echo X"$as_dir" |
6909 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6926 test -d "$as_dir" && break
6928 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
6929 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
6933 if mkdir
-p .
2>/dev
/null
; then
6934 as_mkdir_p
='mkdir -p "$as_dir"'
6936 test -d .
/-p && rmdir .
/-p
6941 # as_fn_executable_p FILE
6942 # -----------------------
6943 # Test if FILE is an executable regular file.
6944 as_fn_executable_p
()
6946 test -f "$1" && test -x "$1"
6947 } # as_fn_executable_p
6949 as_executable_p
=as_fn_executable_p
6951 # Sed expression to map a string onto a valid CPP name.
6952 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6954 # Sed expression to map a string onto a valid variable name.
6955 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6959 ## ----------------------------------- ##
6960 ## Main body of $CONFIG_STATUS script. ##
6961 ## ----------------------------------- ##
6963 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
6965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
6966 # Save the log message, to keep $0 and so on meaningful, and to
6967 # report actual input values of CONFIG_FILES etc. instead of their
6968 # values after options handling.
6970 This file was extended by gimp-lqr-plugin $as_me 0.8.0git, which was
6971 generated by GNU Autoconf 2.69. Invocation command line was
6973 CONFIG_FILES = $CONFIG_FILES
6974 CONFIG_HEADERS = $CONFIG_HEADERS
6975 CONFIG_LINKS = $CONFIG_LINKS
6976 CONFIG_COMMANDS = $CONFIG_COMMANDS
6979 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6984 case $ac_config_files in *"
6985 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
6988 case $ac_config_headers in *"
6989 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
6993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6994 # Files that config.status was made for.
6995 config_files="$ac_config_files"
6996 config_headers="$ac_config_headers"
6997 config_commands="$ac_config_commands"
7001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7003 \`$as_me' instantiates files and other configuration actions
7004 from templates according to the current configuration. Unless the files
7005 and actions are specified as TAGs, all are instantiated by default.
7007 Usage: $0 [OPTION]... [TAG]...
7009 -h, --help print this help, then exit
7010 -V, --version print version number and configuration settings, then exit
7011 --config print configuration, then exit
7012 -q, --quiet, --silent
7013 do not print progress messages
7014 -d, --debug don't remove temporary files
7015 --recheck update $as_me by reconfiguring in the same conditions
7016 --file=FILE[:TEMPLATE]
7017 instantiate the configuration file FILE
7018 --header=FILE[:TEMPLATE]
7019 instantiate the configuration header FILE
7021 Configuration files:
7024 Configuration headers:
7027 Configuration commands:
7030 Report bugs to the package provider."
7033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7034 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7036 gimp-lqr-plugin config.status 0.8.0git
7037 configured by $0, generated by GNU Autoconf 2.69,
7038 with options \\"\$ac_cs_config\\"
7040 Copyright (C) 2012 Free Software Foundation, Inc.
7041 This config.status script is free software; the Free Software Foundation
7042 gives unlimited permission to copy, distribute and modify it."
7048 test -n "\$AWK" || AWK=awk
7051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7052 # The default lists apply if the user does not specify any file.
7058 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7059 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7063 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7075 # Handling of the options.
7076 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7078 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7079 $as_echo "$ac_cs_version"; exit ;;
7080 --config |
--confi |
--conf |
--con |
--co |
--c )
7081 $as_echo "$ac_cs_config"; exit ;;
7082 --debug |
--debu |
--deb |
--de |
--d |
-d )
7084 --file |
--fil |
--fi |
--f )
7087 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7088 '') as_fn_error $?
"missing file argument" ;;
7090 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7091 ac_need_defaults
=false
;;
7092 --header |
--heade |
--head |
--hea )
7095 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7097 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7098 ac_need_defaults
=false
;;
7100 # Conflict between --help and --header
7101 as_fn_error $?
"ambiguous option: \`$1'
7102 Try \`$0 --help' for more information.";;
7103 --help |
--hel |
-h )
7104 $as_echo "$ac_cs_usage"; exit ;;
7105 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7106 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7110 -*) as_fn_error $?
"unrecognized option: \`$1'
7111 Try \`$0 --help' for more information." ;;
7113 *) as_fn_append ac_config_targets
" $1"
7114 ac_need_defaults
=false
;;
7120 ac_configure_extra_args
=
7122 if $ac_cs_silent; then
7124 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7129 if \$ac_cs_recheck; then
7130 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7132 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7133 CONFIG_SHELL='$SHELL'
7139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7143 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7144 ## Running $as_me. ##
7150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7154 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7161 # Handling of arguments.
7162 for ac_config_target
in $ac_config_targets
7164 case $ac_config_target in
7165 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7166 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7167 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
7168 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7169 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
7170 "gap/Makefile") CONFIG_FILES
="$CONFIG_FILES gap/Makefile" ;;
7171 "batch/Makefile") CONFIG_FILES
="$CONFIG_FILES batch/Makefile" ;;
7172 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
7173 "help/Makefile") CONFIG_FILES
="$CONFIG_FILES help/Makefile" ;;
7174 "help/en/Makefile") CONFIG_FILES
="$CONFIG_FILES help/en/Makefile" ;;
7175 "help/en/images/Makefile") CONFIG_FILES
="$CONFIG_FILES help/en/images/Makefile" ;;
7176 "help/it/Makefile") CONFIG_FILES
="$CONFIG_FILES help/it/Makefile" ;;
7177 "help/it/images/Makefile") CONFIG_FILES
="$CONFIG_FILES help/it/images/Makefile" ;;
7178 "help/ru/Makefile") CONFIG_FILES
="$CONFIG_FILES help/ru/Makefile" ;;
7179 "help/ru/images/Makefile") CONFIG_FILES
="$CONFIG_FILES help/ru/images/Makefile" ;;
7180 "help/css/Makefile") CONFIG_FILES
="$CONFIG_FILES help/css/Makefile" ;;
7181 "po/stamp-it") CONFIG_COMMANDS
="$CONFIG_COMMANDS po/stamp-it" ;;
7183 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7188 # If the user did not use the arguments to specify the items to instantiate,
7189 # then the envvar interface is used. Set only those that are not.
7190 # We use the long form for the default assignment because of an extremely
7191 # bizarre bug on SunOS 4.1.3.
7192 if $ac_need_defaults; then
7193 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7194 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7195 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7198 # Have a temporary directory for convenience. Make it in the build tree
7199 # simply because there is no reason against having it here, and in addition,
7200 # creating and moving files from /tmp can sometimes cause problems.
7201 # Hook for its removal unless debugging.
7202 # Note that there is a small window in which the directory will not be cleaned:
7203 # after its creation but before its name has been assigned to `$tmp'.
7207 trap 'exit_status=$?
7209 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7211 trap 'as_fn_exit 1' 1 2 13 15
7213 # Create a (secure) tmp directory for tmp files.
7216 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7220 tmp
=.
/conf$$
-$RANDOM
7221 (umask 077 && mkdir
"$tmp")
7222 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
7225 # Set up the scripts for CONFIG_FILES section.
7226 # No need to generate them if there are no CONFIG_FILES.
7227 # This happens for instance with `./config.status config.h'.
7228 if test -n "$CONFIG_FILES"; then
7231 ac_cr
=`echo X | tr X '\015'`
7232 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7233 # But we know of no other shell where ac_cr would be empty at this
7234 # point, so we can use a bashism as a fallback.
7235 if test "x$ac_cr" = x
; then
7236 eval ac_cr
=\$
\'\\r
\'
7238 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7239 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7245 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7250 echo "cat >conf$$subs.awk <<_ACEOF" &&
7251 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7254 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7255 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7257 for ac_last_try in false false false false false :; do
7258 . ./conf$$subs.sh ||
7259 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7261 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
7262 if test $ac_delim_n = $ac_delim_num; then
7264 elif $ac_last_try; then
7265 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
7267 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7273 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
7277 s/^/S["/; s
/!.
*/"]=/
7287 s/\(.\{148\}\)..*/\1/
7289 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
7294 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7301 s/\(.\{148\}\)..*/\1/
7303 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
7307 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
7312 ' <conf$$subs.awk | sed '
7317 ' >>$CONFIG_STATUS || ac_write_fail=1
7318 rm -f conf$$subs.awk
7319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7321 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
7322 for (key in S) S_is_set[key] = 1
7328 nfields = split(line, field, "@
")
7330 len = length(field[1])
7331 for (i = 2; i < nfields; i++) {
7333 keylen = length(key)
7334 if (S_is_set[key]) {
7336 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7337 len += length(value) + length(field[++i])
7348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7349 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7350 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
7353 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
7354 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
7357 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7358 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
7359 # trailing colons and then remove the whole line if VPATH becomes empty
7360 # (actually we leave an empty line to preserve line numbers).
7361 if test "x
$srcdir" = x.; then
7362 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7381 fi # test -n "$CONFIG_FILES"
7383 # Set up the scripts for CONFIG_HEADERS section.
7384 # No need to generate them if there are no CONFIG_HEADERS.
7385 # This happens for instance with `./config.status Makefile'.
7386 if test -n "$CONFIG_HEADERS"; then
7387 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
7391 # Transform confdefs.h into an awk script `defines.awk', embedded as
7392 # here-document in config.status, that substitutes the proper values into
7393 # config.h.in to produce config.h.
7395 # Create a delimiter string that does not exist in confdefs.h, to ease
7396 # handling of long lines.
7398 for ac_last_try in false false :; do
7399 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
7400 if test -z "$ac_tt"; then
7402 elif $ac_last_try; then
7403 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
7405 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
7409 # For the awk script, D is an array of macro values keyed by name,
7410 # likewise P contains macro parameters if any. Preserve backslash
7411 # newline sequences.
7413 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7415 s/.\{148\}/&'"$ac_delim"'/g
7418 s/^[ ]*#[ ]*define[ ][ ]*/ /
7425 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
7427 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
7431 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
7432 D["\
1"]=" \
3\\\\\\n
"\\/p
7434 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
7439 s/.\{148\}/&'"$ac_delim"'/g
7444 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
7447 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
7449 ' <confdefs.h | sed '
7450 s/'"$ac_delim"'/"\\\
7451 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7454 for (key in D) D_is_set[key] = 1
7457 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7459 split(line, arg, " ")
7460 if (arg[1] == "#") {
7464 defundef
= substr
(arg
[1], 2)
7467 split(mac1
, mac2
, "(") #)
7469 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
7470 if (D_is_set
[macro
]) {
7471 # Preserve the white space surrounding the "#".
7472 print prefix
"define", macro P
[macro
] D
[macro
]
7475 # Replace #undef with comments. This is necessary, for example,
7476 # in the case of _POSIX_SOURCE, which is predefined and required
7477 # on some systems where configure will not decide to define it.
7478 if (defundef
== "undef") {
7479 print
"/*", prefix defundef
, macro
, "*/"
7487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7488 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
7489 fi # test -n "$CONFIG_HEADERS"
7492 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7497 :[FHLC
]) ac_mode
=$ac_tag; continue;;
7499 case $ac_mode$ac_tag in
7501 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
7502 :[FH
]-) ac_tag
=-:-;;
7503 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
7520 -) ac_f
="$ac_tmp/stdin";;
7521 *) # Look for the file first in the build tree, then in the source tree
7522 # (if the path is not absolute). The absolute path cannot be DOS-style,
7523 # because $ac_f cannot contain `:'.
7527 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
7529 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7531 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7532 as_fn_append ac_file_inputs
" '$ac_f'"
7535 # Let's still pretend it is `configure' which instantiates (i.e., don't
7536 # use $as_me), people would be surprised to read:
7537 # /* config.h. Generated by config.status. */
7538 configure_input
='Generated from '`
7539 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7541 if test x
"$ac_file" != x-
; then
7542 configure_input
="$ac_file. $configure_input"
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7544 $as_echo "$as_me: creating $ac_file" >&6;}
7546 # Neutralize special characters interpreted by sed in replacement strings.
7547 case $configure_input in #(
7548 *\
&* |
*\|
* |
*\\* )
7549 ac_sed_conf_input
=`$as_echo "$configure_input" |
7550 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7551 *) ac_sed_conf_input
=$configure_input;;
7555 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
7556 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
7561 ac_dir
=`$as_dirname -- "$ac_file" ||
7562 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7563 X"$ac_file" : 'X\(//\)[^/]' \| \
7564 X"$ac_file" : 'X\(//\)$' \| \
7565 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7566 $as_echo X"$ac_file" |
7567 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7584 as_dir
="$ac_dir"; as_fn_mkdir_p
7588 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7590 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7591 # A ".." for each directory in $ac_dir_suffix.
7592 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7593 case $ac_top_builddir_sub in
7594 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
7595 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
7598 ac_abs_top_builddir
=$ac_pwd
7599 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
7600 # for backward compatibility:
7601 ac_top_builddir
=$ac_top_build_prefix
7604 .
) # We are building in place.
7606 ac_top_srcdir
=$ac_top_builddir_sub
7607 ac_abs_top_srcdir
=$ac_pwd ;;
7608 [\\/]* | ?
:[\\/]* ) # Absolute name.
7609 ac_srcdir
=$srcdir$ac_dir_suffix;
7610 ac_top_srcdir
=$srcdir
7611 ac_abs_top_srcdir
=$srcdir ;;
7613 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
7614 ac_top_srcdir
=$ac_top_build_prefix$srcdir
7615 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
7617 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
7627 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7628 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
7632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7633 # If the template does not know about datarootdir, expand it.
7634 # FIXME: This hack should be removed a few years after 2.60.
7635 ac_datarootdir_hack
=; ac_datarootdir_seen
=
7646 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7647 *datarootdir
*) ac_datarootdir_seen
=yes;;
7648 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7650 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7653 ac_datarootdir_hack='
7654 s&@datadir@&$datadir&g
7655 s&@docdir@&$docdir&g
7656 s&@infodir@&$infodir&g
7657 s&@localedir@&$localedir&g
7658 s&@mandir@&$mandir&g
7659 s&\\\${datarootdir}&$datarootdir&g' ;;
7663 # Neutralize VPATH when `$srcdir' = `.'.
7664 # Shell code in configure.ac might set extrasub.
7665 # FIXME: do we really want to maintain this feature?
7666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7667 ac_sed_extra="$ac_vpsub
7670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7672 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7673 s|@configure_input@|
$ac_sed_conf_input|
;t t
7674 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
7675 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
7676 s
&@srcdir@
&$ac_srcdir&;t t
7677 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
7678 s
&@top_srcdir@
&$ac_top_srcdir&;t t
7679 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
7680 s
&@builddir@
&$ac_builddir&;t t
7681 s
&@abs_builddir@
&$ac_abs_builddir&;t t
7682 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
7683 s
&@INSTALL@
&$ac_INSTALL&;t t
7684 $ac_datarootdir_hack
7686 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
7687 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
7689 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7690 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
7691 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7692 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
7694 which seems to be undefined. Please make sure it is defined" >&5
7695 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
7696 which seems to be undefined. Please make sure it is defined" >&2;}
7698 rm -f "$ac_tmp/stdin"
7700 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7701 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7703 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7709 if test x"$ac_file" != x-; then
7711 $as_echo "/* $configure_input */" \
7712 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7713 } >"$ac_tmp/config.h" \
7714 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7715 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7717 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7720 mv "$ac_tmp/config.h" "$ac_file" \
7721 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7724 $as_echo "/* $configure_input */" \
7725 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7726 || as_fn_error $? "could not create -" "$LINENO" 5
7728 # Compute "$ac_file"'s index
in $config_headers.
7730 for _am_header
in $config_headers :; do
7732 "$ac_file" |
"$ac_file":* )
7735 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7738 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
7739 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7740 X"$ac_file" : 'X\(//\)[^/]' \| \
7741 X"$ac_file" : 'X\(//\)$' \| \
7742 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7743 $as_echo X"$ac_file" |
7744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7760 s/.*/./; q'`/stamp-h
$_am_stamp_count
7763 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7764 $as_echo "$as_me: executing $ac_file commands" >&6;}
7769 case $ac_file$ac_mode in
7770 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
7771 # Strip MF so we end up with the name of the file.
7772 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7773 # Check whether this is an Automake generated Makefile or not.
7774 # We used to match only the files named `Makefile.in', but
7775 # some people rename them; so instead we look at the file content.
7776 # Grep'ing the first line is not enough: some people post-process
7777 # each Makefile.in and add a new line on top of each file to say so.
7778 # So let's grep whole file.
7779 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
7780 dirpart
=`$as_dirname -- "$mf" ||
7781 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7782 X"$mf" : 'X\(//\)[^/]' \| \
7783 X"$mf" : 'X\(//\)$' \| \
7784 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7786 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7806 # Extract the definition of DEPDIR, am__include, and am__quote
7807 # from the Makefile without running `make'.
7808 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7809 test -z "$DEPDIR" && continue
7810 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
7811 test -z "am__include" && continue
7812 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
7813 # When using ansi2knr, U may be empty or an underscore; expand it
7814 U
=`sed -n 's/^U = //p' < "$mf"`
7815 # Find all dependency output files, they are included files with
7816 # $(DEPDIR) in their names. We invoke sed twice because it is the
7817 # simplest approach to changing $(DEPDIR) to its actual value in the
7819 for file in `sed -n "
7820 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7821 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7822 # Make sure the directory exists.
7823 test -f "$dirpart/$file" && continue
7824 fdir
=`$as_dirname -- "$file" ||
7825 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7826 X"$file" : 'X\(//\)[^/]' \| \
7827 X"$file" : 'X\(//\)$' \| \
7828 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7847 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
7848 # echo "creating $dirpart/$file"
7849 echo '# dummy' > "$dirpart/$file"
7853 "default-1":C
) case "$CONFIG_FILES" in *po
/Makefile.
in*)
7854 sed -e "/POTFILES =/r po/POTFILES" po
/Makefile.
in > po
/Makefile
7857 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev
/null
; then
7858 as_fn_error $?
"po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
7860 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
7865 '"s|^| $ac_top_srcdir/|" \
7866 "$srcdir/po/POTFILES.in" |
sed '$!s/$/ \\/' >"po/POTFILES"
7868 sed '/^POTFILES =/,/[^\\]$/ {
7872 ' "po/Makefile.in" >"po/Makefile"
7873 rm -f "po/Makefile.tmp"
7874 mv "po/stamp-it.tmp" "po/stamp-it"
7883 ac_clean_files
=$ac_clean_files_save
7885 test $ac_write_fail = 0 ||
7886 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
7889 # configure is writing to config.log, and then calls config.status.
7890 # config.status does its own redirection, appending to config.log.
7891 # Unfortunately, on DOS this fails, as config.log is still kept open
7892 # by configure, so config.status won't be able to write to it; its
7893 # output is simply discarded. So we exec the FD to /dev/null,
7894 # effectively closing config.log, so it can be properly (re)opened and
7895 # appended to by config.status. When coming back to configure, we
7896 # need to make the FD available again.
7897 if test "$no_create" != yes; then
7899 ac_config_status_args
=
7900 test "$silent" = yes &&
7901 ac_config_status_args
="$ac_config_status_args --quiet"
7903 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7905 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7906 # would make configure fail if this is the last instruction.
7907 $ac_cs_success || as_fn_exit
1
7909 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7911 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}