Cleanup comments etc. in src
[gimp-lqr-plugin.git] / configure
blob9d052e3168c22138c961bdf8e146a1cd76daf324
1 #! /bin/sh
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 :
18 emulate sh
19 NULLCMD=:
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+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
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
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
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'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
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.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
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
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
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 || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
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.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
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
156 as_fn_exit 255
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 :
162 emulate sh
163 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
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; }
183 exitcode=0
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 :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || 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 :
201 as_have_required=yes
202 else
203 as_have_required=no
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207 else
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 IFS=$as_save_IFS
213 test -z "$as_dir" && as_dir=.
214 as_found=:
215 case $as_dir in #(
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 :
224 break 2
227 done;;
228 esac
229 as_found=false
230 done
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
234 fi; }
235 IFS=$as_save_IFS
238 if test "x$CONFIG_SHELL" != x; then :
239 export CONFIG_SHELL
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.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
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
257 exit 255
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."
266 else
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."
272 exit 1
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
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 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
290 { eval $1=; unset $1;}
292 as_unset=as_fn_unset
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_fn_set_status ()
299 return $1
300 } # as_fn_set_status
302 # as_fn_exit STATUS
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305 as_fn_exit ()
307 set +e
308 as_fn_set_status $1
309 exit $1
310 } # as_fn_exit
312 # as_fn_mkdir_p
313 # -------------
314 # Create "$as_dir" as a directory, including parents if necessary.
315 as_fn_mkdir_p ()
318 case $as_dir in #(
319 -*) as_dir=./$as_dir;;
320 esac
321 test -d "$as_dir" || eval $as_mkdir_p || {
322 as_dirs=
323 while :; do
324 case $as_dir in #(
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326 *) as_qdir=$as_dir;;
327 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 s//\1/
339 /^X\(\/\/\)[^/].*/{
340 s//\1/
343 /^X\(\/\/\)$/{
344 s//\1/
347 /^X\(\/\).*/{
348 s//\1/
351 s/.*/./; q'`
352 test -d "$as_dir" && break
353 done
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358 } # as_fn_mkdir_p
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
372 # implementations.
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
376 eval $1+=\$2
378 else
379 as_fn_append ()
381 eval $1=\$$1\$2
383 fi # as_fn_append
385 # as_fn_arith ARG...
386 # ------------------
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 :
391 eval 'as_fn_arith ()
393 as_val=$(( $* ))
395 else
396 as_fn_arith ()
398 as_val=`expr "$@" || test $? -eq 1`
400 fi # as_fn_arith
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.
408 as_fn_error ()
410 as_status=$1; test $as_status -eq 0 && as_status=1
411 if test "$4"; then
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
417 } # as_fn_error
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
421 as_expr=expr
422 else
423 as_expr=false
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427 as_basename=basename
428 else
429 as_basename=false
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433 as_dirname=dirname
434 else
435 as_dirname=false
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 $as_echo X/"$0" |
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
444 s//\1/
447 /^X\/\(\/\/\)$/{
448 s//\1/
451 /^X\/\(\/\).*/{
452 s//\1/
455 s/.*/./; q'`
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. :-)
470 sed -n '
472 /[$]LINENO/=
473 ' <$as_myself |
474 sed '
475 s/[$]LINENO.*/&-/
476 t lineno
478 :lineno
480 :loop
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482 t loop
483 s/-\n.*//
484 ' >$as_me.lineno &&
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).
495 . "./$as_me.lineno"
496 # Exit status is that of the last command.
497 exit
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
502 -n*)
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 xy) ECHO_C='\c';;
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
507 ECHO_T=' ';;
508 esac;;
510 ECHO_N='-n';;
511 esac
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
516 else
517 rm -f conf$$.dir
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
522 as_ln_s='ln -s'
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 ||
528 as_ln_s='cp -pR'
529 elif ln conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s=ln
531 else
532 as_ln_s='cp -pR'
534 else
535 as_ln_s='cp -pR'
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"'
542 else
543 test -d ./-p && rmdir ./-p
544 as_mkdir_p=false
547 as_test_x='test -x'
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
558 exec 6>&1
560 # Name of the host.
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`
566 # Initializations.
568 ac_default_prefix=/usr/local
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
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'
582 PACKAGE_BUGREPORT=''
583 PACKAGE_URL=''
585 ac_unique_file="src/main.c"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
588 #include <stdio.h>
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
591 #endif
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
594 #endif
595 #ifdef STDC_HEADERS
596 # include <stdlib.h>
597 # include <stddef.h>
598 #else
599 # ifdef HAVE_STDLIB_H
600 # include <stdlib.h>
601 # endif
602 #endif
603 #ifdef HAVE_STRING_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 # include <memory.h>
606 # endif
607 # include <string.h>
608 #endif
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
611 #endif
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
614 #endif
615 #ifdef HAVE_STDINT_H
616 # include <stdint.h>
617 #endif
618 #ifdef HAVE_UNISTD_H
619 # include <unistd.h>
620 #endif"
622 ac_subst_vars='LTLIBOBJS
623 LIBOBJS
624 SCRIPTSDIR
625 PLUGIN_DATADIR
626 LOCALEDIR
627 MKINSTALLDIRS
628 POSUB
629 POFILES
630 PO_IN_DATADIR_FALSE
631 PO_IN_DATADIR_TRUE
632 INTLLIBS
633 INSTOBJEXT
634 GMOFILES
635 CATOBJEXT
636 CATALOGS
637 MSGFMT_OPTS
638 DATADIRNAME
639 ALL_LINGUAS
640 INTLTOOL_PERL
641 GMSGFMT
642 MSGFMT
643 MSGMERGE
644 XGETTEXT
645 INTLTOOL_POLICY_RULE
646 INTLTOOL_SERVICE_RULE
647 INTLTOOL_THEME_RULE
648 INTLTOOL_SCHEMAS_RULE
649 INTLTOOL_CAVES_RULE
650 INTLTOOL_XML_NOMERGE_RULE
651 INTLTOOL_XML_RULE
652 INTLTOOL_KBD_RULE
653 INTLTOOL_XAM_RULE
654 INTLTOOL_UI_RULE
655 INTLTOOL_SOUNDLIST_RULE
656 INTLTOOL_SHEET_RULE
657 INTLTOOL_SERVER_RULE
658 INTLTOOL_PONG_RULE
659 INTLTOOL_OAF_RULE
660 INTLTOOL_PROP_RULE
661 INTLTOOL_KEYS_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
667 INTLTOOL__v_MERGE_0
668 INTLTOOL__v_MERGE_
669 INTLTOOL_V_MERGE
670 AM_DEFAULT_VERBOSITY
671 INTLTOOL_EXTRACT
672 INTLTOOL_MERGE
673 INTLTOOL_UPDATE
674 USE_NLS
675 GETTEXT_PACKAGE
676 LQR_LIBDIR
677 LQR_LIBS
678 LQR_CFLAGS
679 GIMP_DATADIR
680 GIMP_LIBDIR
681 GIMP_LIBS
682 GIMP_CFLAGS
683 PKG_CONFIG_LIBDIR
684 PKG_CONFIG_PATH
685 PKG_CONFIG
686 MAINT
687 MAINTAINER_MODE_FALSE
688 MAINTAINER_MODE_TRUE
689 EGREP
690 GREP
692 am__fastdepCC_FALSE
693 am__fastdepCC_TRUE
694 CCDEPMODE
695 AMDEPBACKSLASH
696 AMDEP_FALSE
697 AMDEP_TRUE
698 am__quote
699 am__include
700 DEPDIR
701 OBJEXT
702 EXEEXT
703 ac_ct_CC
704 CPPFLAGS
705 LDFLAGS
706 CFLAGS
708 am__untar
709 am__tar
710 AMTAR
711 am__leading_dot
712 SET_MAKE
714 mkdir_p
715 INSTALL_STRIP_PROGRAM
716 STRIP
717 install_sh
718 MAKEINFO
719 AUTOHEADER
720 AUTOMAKE
721 AUTOCONF
722 ACLOCAL
723 VERSION
724 PACKAGE
725 CYGPATH_W
726 INSTALL_DATA
727 INSTALL_SCRIPT
728 INSTALL_PROGRAM
729 target_alias
730 host_alias
731 build_alias
732 LIBS
733 ECHO_T
734 ECHO_N
735 ECHO_C
736 DEFS
737 mandir
738 localedir
739 libdir
740 psdir
741 pdfdir
742 dvidir
743 htmldir
744 infodir
745 docdir
746 oldincludedir
747 includedir
748 localstatedir
749 sharedstatedir
750 sysconfdir
751 datadir
752 datarootdir
753 libexecdir
754 sbindir
755 bindir
756 program_transform_name
757 prefix
758 exec_prefix
759 PACKAGE_URL
760 PACKAGE_BUGREPORT
761 PACKAGE_STRING
762 PACKAGE_VERSION
763 PACKAGE_TARNAME
764 PACKAGE_NAME
765 PATH_SEPARATOR
766 SHELL'
767 ac_subst_files=''
768 ac_user_opts='
769 enable_option_checking
770 enable_dependency_tracking
771 enable_maintainer_mode
772 enable_nls
774 ac_precious_vars='build_alias
775 host_alias
776 target_alias
778 CFLAGS
779 LDFLAGS
780 LIBS
781 CPPFLAGS
783 PKG_CONFIG
784 PKG_CONFIG_PATH
785 PKG_CONFIG_LIBDIR
786 GIMP_CFLAGS
787 GIMP_LIBS
788 LQR_CFLAGS
789 LQR_LIBS'
792 # Initialize some variables set by options.
793 ac_init_help=
794 ac_init_version=false
795 ac_unrecognized_opts=
796 ac_unrecognized_sep=
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
799 cache_file=/dev/null
800 exec_prefix=NONE
801 no_create=
802 no_recursion=
803 prefix=NONE
804 program_prefix=NONE
805 program_suffix=NONE
806 program_transform_name=s,x,x,
807 silent=
808 site=
809 srcdir=
810 verbose=
811 x_includes=NONE
812 x_libraries=NONE
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'
832 htmldir='${docdir}'
833 dvidir='${docdir}'
834 pdfdir='${docdir}'
835 psdir='${docdir}'
836 libdir='${exec_prefix}/lib'
837 localedir='${datarootdir}/locale'
838 mandir='${datarootdir}/man'
840 ac_prev=
841 ac_dashdash=
842 for ac_option
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\$ac_option
847 ac_prev=
848 continue
851 case $ac_option in
852 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 *=) ac_optarg= ;;
854 *) ac_optarg=yes ;;
855 esac
857 # Accept the important Cygnus configure options, so we can diagnose typos.
859 case $ac_dashdash$ac_option in
861 ac_dashdash=yes ;;
863 -bindir | --bindir | --bindi | --bind | --bin | --bi)
864 ac_prev=bindir ;;
865 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
866 bindir=$ac_optarg ;;
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 ;;
880 --config-cache | -C)
881 cache_file=config.cache ;;
883 -datadir | --datadir | --datadi | --datad)
884 ac_prev=datadir ;;
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
904 "enable_$ac_useropt"
905 "*) ;;
906 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907 ac_unrecognized_sep=', ';;
908 esac
909 eval enable_$ac_useropt=no ;;
911 -docdir | --docdir | --docdi | --doc | --do)
912 ac_prev=docdir ;;
913 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
914 docdir=$ac_optarg ;;
916 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
917 ac_prev=dvidir ;;
918 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
919 dvidir=$ac_optarg ;;
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
930 "enable_$ac_useropt"
931 "*) ;;
932 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933 ac_unrecognized_sep=', ';;
934 esac
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.
948 with_gas=yes ;;
950 -help | --help | --hel | --he | -h)
951 ac_init_help=long ;;
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)
963 ac_prev=htmldir ;;
964 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
965 | --ht=*)
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)
976 ac_prev=infodir ;;
977 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
978 infodir=$ac_optarg ;;
980 -libdir | --libdir | --libdi | --libd)
981 ac_prev=libdir ;;
982 -libdir=* | --libdir=* | --libdi=* | --libd=*)
983 libdir=$ac_optarg ;;
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)
993 ac_prev=localedir ;;
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)
1005 ac_prev=mandir ;;
1006 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1007 mandir=$ac_optarg ;;
1009 -nfp | --nfp | --nf)
1010 # Obsolete; use --without-fp.
1011 with_fp=no ;;
1013 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1014 | --no-cr | --no-c | -n)
1015 no_create=yes ;;
1017 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1018 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1019 no_recursion=yes ;;
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)
1031 ac_prev=prefix ;;
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)
1067 ac_prev=pdfdir ;;
1068 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1069 pdfdir=$ac_optarg ;;
1071 -psdir | --psdir | --psdi | --psd | --ps)
1072 ac_prev=psdir ;;
1073 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1074 psdir=$ac_optarg ;;
1076 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1077 | -silent | --silent | --silen | --sile | --sil)
1078 silent=yes ;;
1080 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1081 ac_prev=sbindir ;;
1082 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1083 | --sbi=* | --sb=*)
1084 sbindir=$ac_optarg ;;
1086 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1087 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1088 | --sharedst | --shareds | --shared | --share | --shar \
1089 | --sha | --sh)
1090 ac_prev=sharedstatedir ;;
1091 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1092 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1093 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1094 | --sha=* | --sh=*)
1095 sharedstatedir=$ac_optarg ;;
1097 -site | --site | --sit)
1098 ac_prev=site ;;
1099 -site=* | --site=* | --sit=*)
1100 site=$ac_optarg ;;
1102 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1103 ac_prev=srcdir ;;
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)
1120 verbose=yes ;;
1122 -version | --version | --versio | --versi | --vers | -V)
1123 ac_init_version=: ;;
1125 -with-* | --with-*)
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
1134 "with_$ac_useropt"
1135 "*) ;;
1136 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137 ac_unrecognized_sep=', ';;
1138 esac
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
1150 "with_$ac_useropt"
1151 "*) ;;
1152 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153 ac_unrecognized_sep=', ';;
1154 esac
1155 eval with_$ac_useropt=no ;;
1157 --x)
1158 # Obsolete; use --with-x.
1159 with_x=yes ;;
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"
1179 *=*)
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'" ;;
1185 esac
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}"
1197 esac
1198 done
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
1207 no) ;;
1208 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1209 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1210 esac
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.
1221 case $ac_val in
1222 */ )
1223 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224 eval $ac_var=\$ac_val;;
1225 esac
1226 # Be sure to have absolute directory names.
1227 case $ac_val in
1228 [\\/$]* | ?:[\\/]* ) continue;;
1229 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1230 esac
1231 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1232 done
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.
1237 build=$build_alias
1238 host=$host_alias
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
1246 cross_compiling=yes
1250 ac_tool_prefix=
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1275 s//\1/
1278 /^X\(\/\/\)[^/].*/{
1279 s//\1/
1282 /^X\(\/\/\)$/{
1283 s//\1/
1286 /^X\(\/\).*/{
1287 s//\1/
1290 s/.*/./; q'`
1291 srcdir=$ac_confdir
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1293 srcdir=..
1295 else
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"
1303 ac_abs_confdir=`(
1304 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1305 pwd)`
1306 # When building in place, set srcdir=.
1307 if test "$ac_abs_confdir" = "$ac_pwd"; then
1308 srcdir=.
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.
1313 case $srcdir in
1314 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1315 esac
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}
1321 done
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.
1329 cat <<_ACEOF
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.
1339 Configuration:
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
1354 [PREFIX]
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]
1383 _ACEOF
1385 cat <<\_ACEOF
1387 Program names:
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
1391 _ACEOF
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:";;
1397 esac
1398 cat <<\_ACEOF
1400 Optional Features:
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>
1418 CPP C preprocessor
1419 PKG_CONFIG path to pkg-config utility
1420 PKG_CONFIG_PATH
1421 directories to add to pkg-config's search path
1422 PKG_CONFIG_LIBDIR
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.
1433 _ACEOF
1434 ac_status=$?
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"; } ||
1442 continue
1443 ac_builddir=.
1445 case "$ac_dir" in
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/ ;;
1454 esac ;;
1455 esac
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
1461 case $srcdir in
1462 .) # We are building in place.
1463 ac_srcdir=.
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 ;;
1470 *) # Relative name.
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 ;;
1474 esac
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
1480 echo &&
1481 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1482 elif test -f "$ac_srcdir/configure"; then
1483 echo &&
1484 $SHELL "$ac_srcdir/configure" --help=recursive
1485 else
1486 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1487 fi || ac_status=$?
1488 cd "$ac_pwd" || { ac_status=$?; break; }
1489 done
1492 test -n "$ac_init_help" && exit $ac_status
1493 if $ac_init_version; then
1494 cat <<\_ACEOF
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.
1501 _ACEOF
1502 exit
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"
1517 case "(($ac_try" in
1518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1519 *) ac_try_echo=$ac_try;;
1520 esac
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
1524 ac_status=$?
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 :
1535 ac_retval=0
1536 else
1537 $as_echo "$as_me: failed program was:" >&5
1538 sed 's/^/| /' conftest.$ac_ext >&5
1540 ac_retval=1
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.
1550 ac_fn_c_try_cpp ()
1552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553 if { { ac_try="$ac_cpp conftest.$ac_ext"
1554 case "(($ac_try" in
1555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1556 *) ac_try_echo=$ac_try;;
1557 esac
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
1561 ac_status=$?
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
1571 }; then :
1572 ac_retval=0
1573 else
1574 $as_echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.$ac_ext >&5
1577 ac_retval=1
1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1580 as_fn_set_status $ac_retval
1582 } # ac_fn_c_try_cpp
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.
1588 ac_fn_c_try_run ()
1590 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1591 if { { ac_try="$ac_link"
1592 case "(($ac_try" in
1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1594 *) ac_try_echo=$ac_try;;
1595 esac
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
1599 ac_status=$?
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;;
1605 esac
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
1609 ac_status=$?
1610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1611 test $ac_status = 0; }; }; then :
1612 ac_retval=0
1613 else
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
1624 } # ac_fn_c_try_run
1626 # ac_fn_c_try_link LINENO
1627 # -----------------------
1628 # Try to link conftest.$ac_ext, and return whether this succeeded.
1629 ac_fn_c_try_link ()
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"
1634 case "(($ac_try" in
1635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1636 *) ac_try_echo=$ac_try;;
1637 esac
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
1641 ac_status=$?
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
1654 }; then :
1655 ac_retval=0
1656 else
1657 $as_echo "$as_me: failed program was:" >&5
1658 sed 's/^/| /' conftest.$ac_ext >&5
1660 ac_retval=1
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
1682 else
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. */
1694 #ifdef __STDC__
1695 # include <limits.h>
1696 #else
1697 # include <assert.h>
1698 #endif
1700 #undef $2
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. */
1705 #ifdef __cplusplus
1706 extern "C"
1707 #endif
1708 char $2 ();
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
1713 choke me
1714 #endif
1717 main ()
1719 return $2 ();
1721 return 0;
1723 _ACEOF
1724 if ac_fn_c_try_link "$LINENO"; then :
1725 eval "$3=yes"
1726 else
1727 eval "$3=no"
1729 rm -f core conftest.err conftest.$ac_objext \
1730 conftest$ac_exeext conftest.$ac_ext
1732 eval ac_res=\$$3
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
1743 # accordingly.
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
1753 eval ac_res=\$$3
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1755 $as_echo "$ac_res" >&6; }
1756 else
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. */
1763 #include <$2>
1764 _ACEOF
1765 if ac_fn_c_try_compile "$LINENO"; then :
1766 ac_header_compiler=yes
1767 else
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. */
1779 #include <$2>
1780 _ACEOF
1781 if ac_fn_c_try_cpp "$LINENO"; then :
1782 ac_header_preproc=yes
1783 else
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 #((
1792 yes:no: )
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;}
1798 no:yes:* )
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;}
1810 esac
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
1815 else
1816 eval "$3=\$ac_header_compiler"
1818 eval ac_res=\$$3
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
1837 else
1838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1839 /* end confdefs.h. */
1841 #include <$2>
1842 _ACEOF
1843 if ac_fn_c_try_compile "$LINENO"; then :
1844 eval "$3=yes"
1845 else
1846 eval "$3=no"
1848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1850 eval ac_res=\$$3
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
1863 $ $0 $@
1865 _ACEOF
1866 exec 5>>config.log
1868 cat <<_ASUNAME
1869 ## --------- ##
1870 ## Platform. ##
1871 ## --------- ##
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`
1890 _ASUNAME
1892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1893 for as_dir in $PATH
1895 IFS=$as_save_IFS
1896 test -z "$as_dir" && as_dir=.
1897 $as_echo "PATH: $as_dir"
1898 done
1899 IFS=$as_save_IFS
1901 } >&5
1903 cat >&5 <<_ACEOF
1906 ## ----------- ##
1907 ## Core tests. ##
1908 ## ----------- ##
1910 _ACEOF
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.
1918 ac_configure_args=
1919 ac_configure_args0=
1920 ac_configure_args1=
1921 ac_must_keep_next=false
1922 for ac_pass in 1 2
1924 for ac_arg
1926 case $ac_arg in
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)
1930 continue ;;
1931 *\'*)
1932 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1933 esac
1934 case $ac_pass in
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.
1940 else
1941 case $ac_arg in
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 ;;
1948 esac
1950 -* ) ac_must_keep_next=true ;;
1951 esac
1953 as_fn_append ac_configure_args " '$ac_arg'"
1955 esac
1956 done
1957 done
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.
1969 echo
1971 $as_echo "## ---------------- ##
1972 ## Cache variables. ##
1973 ## ---------------- ##"
1974 echo
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
1979 case $ac_val in #(
1980 *${as_nl}*)
1981 case $ac_var in #(
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;} ;;
1984 esac
1985 case $ac_var in #(
1986 _ | IFS | as_nl) ;; #(
1987 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1988 *) { eval $ac_var=; unset $ac_var;} ;;
1989 esac ;;
1990 esac
1991 done
1992 (set) 2>&1 |
1993 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1994 *${as_nl}ac_space=\ *)
1995 sed -n \
1996 "s/'\''/'\''\\\\'\'''\''/g;
1997 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1998 ;; #(
2000 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2002 esac |
2003 sort
2005 echo
2007 $as_echo "## ----------------- ##
2008 ## Output variables. ##
2009 ## ----------------- ##"
2010 echo
2011 for ac_var in $ac_subst_vars
2013 eval ac_val=\$$ac_var
2014 case $ac_val in
2015 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2016 esac
2017 $as_echo "$ac_var='\''$ac_val'\''"
2018 done | sort
2019 echo
2021 if test -n "$ac_subst_files"; then
2022 $as_echo "## ------------------- ##
2023 ## File substitutions. ##
2024 ## ------------------- ##"
2025 echo
2026 for ac_var in $ac_subst_files
2028 eval ac_val=\$$ac_var
2029 case $ac_val in
2030 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2031 esac
2032 $as_echo "$ac_var='\''$ac_val'\''"
2033 done | sort
2034 echo
2037 if test -s confdefs.h; then
2038 $as_echo "## ----------- ##
2039 ## confdefs.h. ##
2040 ## ----------- ##"
2041 echo
2042 cat confdefs.h
2043 echo
2045 test "$ac_signal" != 0 &&
2046 $as_echo "$as_me: caught signal $ac_signal"
2047 $as_echo "$as_me: exit $exit_status"
2048 } >&5
2049 rm -f core *.core core.conftest.* &&
2050 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2051 exit $exit_status
2053 for ac_signal in 1 2 13 15; do
2054 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2055 done
2056 ac_signal=0
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"
2067 _ACEOF
2069 cat >>confdefs.h <<_ACEOF
2070 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2071 _ACEOF
2073 cat >>confdefs.h <<_ACEOF
2074 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2075 _ACEOF
2077 cat >>confdefs.h <<_ACEOF
2078 #define PACKAGE_STRING "$PACKAGE_STRING"
2079 _ACEOF
2081 cat >>confdefs.h <<_ACEOF
2082 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2083 _ACEOF
2085 cat >>confdefs.h <<_ACEOF
2086 #define PACKAGE_URL "$PACKAGE_URL"
2087 _ACEOF
2090 # Let the site file select an alternate cache file if it wants to.
2091 # Prefer an explicitly selected file to automatically selected ones.
2092 ac_site_file1=NONE
2093 ac_site_file2=NONE
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;;
2100 esac
2101 elif test "x$prefix" != xNONE; then
2102 ac_site_file1=$prefix/share/config.site
2103 ac_site_file2=$prefix/etc/config.site
2104 else
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
2115 . "$ac_site_file" \
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; }
2121 done
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;}
2129 case $cache_file in
2130 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2131 *) . "./$cache_file";;
2132 esac
2134 else
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2136 $as_echo "$as_me: creating cache $cache_file" >&6;}
2137 >$cache_file
2140 # Check that the precious variables saved in the cache have kept the same
2141 # value.
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
2149 set,)
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=: ;;
2153 ,set)
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=: ;;
2157 ,);;
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=:
2167 else
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;}
2176 fi;;
2177 esac
2178 # Pass precious variables to config.status.
2179 if test "$ac_new_set" = set; then
2180 case $ac_new_val in
2181 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2182 *) ac_arg=$ac_var=$ac_new_val ;;
2183 esac
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'" ;;
2187 esac
2189 done
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 ## -------------------- ##
2201 ac_ext=c
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"
2231 ac_aux_dir=
2232 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2233 if test -f "$ac_dir/install-sh"; then
2234 ac_aux_dir=$ac_dir
2235 ac_install_sh="$ac_aux_dir/install-sh -c"
2236 break
2237 elif test -f "$ac_dir/install.sh"; then
2238 ac_aux_dir=$ac_dir
2239 ac_install_sh="$ac_aux_dir/install.sh -c"
2240 break
2241 elif test -f "$ac_dir/shtool"; then
2242 ac_aux_dir=$ac_dir
2243 ac_install_sh="$ac_aux_dir/shtool install -c"
2244 break
2246 done
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
2266 # AIX /bin/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
2279 else
2280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2281 for as_dir in $PATH
2283 IFS=$as_save_IFS
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[\\/]* | \
2290 /usr/ucb/* ) ;;
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
2294 # by default.
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.
2306 else
2307 rm -rf conftest.one conftest.two conftest.dir
2308 echo one > conftest.one
2309 echo two > conftest.two
2310 mkdir conftest.dir
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
2315 then
2316 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2317 break 3
2321 done
2322 done
2324 esac
2326 done
2327 IFS=$as_save_IFS
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
2334 else
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; }
2355 # Just in case
2356 sleep 1
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
2362 # directory).
2363 if (
2364 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2365 if test "$*" = "X"; then
2366 # -L didn't work.
2367 set X `ls -t $srcdir/configure conftest.file`
2369 rm -f 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
2383 then
2384 # Ok.
2386 else
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 "
2409 else
2410 am_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
2420 # for two reasons:
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 --'
2431 else
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
2435 # exists.
2436 for d in ./-p ./--version;
2438 test -d $d && rmdir $d
2439 done
2440 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2441 if test -f "$ac_aux_dir/mkinstalldirs"; then
2442 mkdir_p='$(mkinstalldirs)'
2443 else
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
2456 else
2457 if test -n "$AWK"; then
2458 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2459 else
2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461 for as_dir in $PATH
2463 IFS=$as_save_IFS
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
2469 break 2
2471 done
2472 done
2473 IFS=$as_save_IFS
2477 AWK=$ac_cv_prog_AWK
2478 if test -n "$AWK"; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2480 $as_echo "$AWK" >&6; }
2481 else
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2483 $as_echo "no" >&6; }
2487 test -n "$AWK" && break
2488 done
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; }
2492 set x ${MAKE-make}
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
2496 else
2497 cat >conftest.make <<\_ACEOF
2498 SHELL = /bin/sh
2499 all:
2500 @echo '@@@%%%=$(MAKE)=@@@%%%'
2501 _ACEOF
2502 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2503 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2504 *@@@%%%=?*=@@@%%%*)
2505 eval ac_cv_prog_make_${ac_make}_set=yes;;
2507 eval ac_cv_prog_make_${ac_make}_set=no;;
2508 esac
2509 rm -f conftest.make
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; }
2514 SET_MAKE=
2515 else
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
2524 am__leading_dot=.
2525 else
2526 am__leading_dot=_
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'
2540 else
2541 CYGPATH_W=echo
2546 # Define the identity of the package.
2547 PACKAGE='gimp-lqr-plugin'
2548 VERSION='0.8.0git'
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
2581 else
2582 if test -n "$STRIP"; then
2583 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2584 else
2585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2586 for as_dir in $PATH
2588 IFS=$as_save_IFS
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
2594 break 2
2596 done
2597 done
2598 IFS=$as_save_IFS
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; }
2606 else
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
2614 ac_ct_STRIP=$STRIP
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
2621 else
2622 if test -n "$ac_ct_STRIP"; then
2623 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2624 else
2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 for as_dir in $PATH
2628 IFS=$as_save_IFS
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
2634 break 2
2636 done
2637 done
2638 IFS=$as_save_IFS
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; }
2646 else
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
2652 STRIP=":"
2653 else
2654 case $cross_compiling:$ac_tool_warned in
2655 yes:)
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 ;;
2659 esac
2660 STRIP=$ac_ct_STRIP
2662 else
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
2670 # some platforms.
2671 # Always define AMTAR for backward compatibility.
2673 AMTAR=${AMTAR-"${am_missing_run}tar"}
2675 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2682 ac_ext=c
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
2694 else
2695 if test -n "$CC"; then
2696 ac_cv_prog_CC="$CC" # Let the user override the test.
2697 else
2698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2699 for as_dir in $PATH
2701 IFS=$as_save_IFS
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
2707 break 2
2709 done
2710 done
2711 IFS=$as_save_IFS
2715 CC=$ac_cv_prog_CC
2716 if test -n "$CC"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2718 $as_echo "$CC" >&6; }
2719 else
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
2727 ac_ct_CC=$CC
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
2734 else
2735 if test -n "$ac_ct_CC"; then
2736 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2737 else
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 for as_dir in $PATH
2741 IFS=$as_save_IFS
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
2747 break 2
2749 done
2750 done
2751 IFS=$as_save_IFS
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; }
2759 else
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
2765 CC=""
2766 else
2767 case $cross_compiling:$ac_tool_warned in
2768 yes:)
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 ;;
2772 esac
2773 CC=$ac_ct_CC
2775 else
2776 CC="$ac_cv_prog_CC"
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
2787 else
2788 if test -n "$CC"; then
2789 ac_cv_prog_CC="$CC" # Let the user override the test.
2790 else
2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 for as_dir in $PATH
2794 IFS=$as_save_IFS
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
2800 break 2
2802 done
2803 done
2804 IFS=$as_save_IFS
2808 CC=$ac_cv_prog_CC
2809 if test -n "$CC"; then
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2811 $as_echo "$CC" >&6; }
2812 else
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
2827 else
2828 if test -n "$CC"; then
2829 ac_cv_prog_CC="$CC" # Let the user override the test.
2830 else
2831 ac_prog_rejected=no
2832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833 for as_dir in $PATH
2835 IFS=$as_save_IFS
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
2841 continue
2843 ac_cv_prog_CC="cc"
2844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 break 2
2847 done
2848 done
2849 IFS=$as_save_IFS
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
2854 shift
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.
2859 shift
2860 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2865 CC=$ac_cv_prog_CC
2866 if test -n "$CC"; then
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2868 $as_echo "$CC" >&6; }
2869 else
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
2886 else
2887 if test -n "$CC"; then
2888 ac_cv_prog_CC="$CC" # Let the user override the test.
2889 else
2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2891 for as_dir in $PATH
2893 IFS=$as_save_IFS
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
2899 break 2
2901 done
2902 done
2903 IFS=$as_save_IFS
2907 CC=$ac_cv_prog_CC
2908 if test -n "$CC"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2910 $as_echo "$CC" >&6; }
2911 else
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2917 test -n "$CC" && break
2918 done
2920 if test -z "$CC"; then
2921 ac_ct_CC=$CC
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
2930 else
2931 if test -n "$ac_ct_CC"; then
2932 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2933 else
2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2935 for as_dir in $PATH
2937 IFS=$as_save_IFS
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
2943 break 2
2945 done
2946 done
2947 IFS=$as_save_IFS
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; }
2955 else
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2957 $as_echo "no" >&6; }
2961 test -n "$ac_ct_CC" && break
2962 done
2964 if test "x$ac_ct_CC" = x; then
2965 CC=""
2966 else
2967 case $cross_compiling:$ac_tool_warned in
2968 yes:)
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 ;;
2972 esac
2973 CC=$ac_ct_CC
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
2987 set X $ac_compile
2988 ac_compiler=$2
2989 for ac_option in --version -v -V -qversion; do
2990 { { ac_try="$ac_compiler $ac_option >&5"
2991 case "(($ac_try" in
2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2994 esac
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
2998 ac_status=$?
2999 if test -s conftest.err; then
3000 sed '10a\
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; }
3008 done
3010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3011 /* end confdefs.h. */
3014 main ()
3018 return 0;
3020 _ACEOF
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
3025 # of exeext.
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.*"
3033 ac_rmfiles=
3034 for ac_file in $ac_files
3036 case $ac_file in
3037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3038 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3039 esac
3040 done
3041 rm -f $ac_rmfiles
3043 if { { ac_try="$ac_link_default"
3044 case "(($ac_try" in
3045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3046 *) ac_try_echo=$ac_try;;
3047 esac
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
3051 ac_status=$?
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
3058 # Autoconf.
3059 for ac_file in $ac_files ''
3061 test -f "$ac_file" || continue
3062 case $ac_file in
3063 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3065 [ab].out )
3066 # We found the default executable, but exeext='' is most
3067 # certainly right.
3068 break;;
3069 *.* )
3070 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3071 then :; else
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
3078 # actually working.
3079 break;;
3081 break;;
3082 esac
3083 done
3084 test "$ac_cv_exeext" = no && ac_cv_exeext=
3086 else
3087 ac_file=''
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; }
3099 else
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"
3114 case "(($ac_try" in
3115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116 *) ac_try_echo=$ac_try;;
3117 esac
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
3121 ac_status=$?
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
3127 # `rm'.
3128 for ac_file in conftest.exe conftest conftest.*; do
3129 test -f "$ac_file" || continue
3130 case $ac_file in
3131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3132 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3133 break;;
3134 * ) break;;
3135 esac
3136 done
3137 else
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
3149 ac_exeext=$EXEEXT
3150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3151 /* end confdefs.h. */
3152 #include <stdio.h>
3154 main ()
3156 FILE *f = fopen ("conftest.out", "w");
3157 return ferror (f) || fclose (f) != 0;
3160 return 0;
3162 _ACEOF
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"
3170 case "(($ac_try" in
3171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3172 *) ac_try_echo=$ac_try;;
3173 esac
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
3177 ac_status=$?
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;;
3184 esac
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
3188 ac_status=$?
3189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3190 test $ac_status = 0; }; }; then
3191 cross_compiling=no
3192 else
3193 if test "$cross_compiling" = maybe; then
3194 cross_compiling=yes
3195 else
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
3213 else
3214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3215 /* end confdefs.h. */
3218 main ()
3222 return 0;
3224 _ACEOF
3225 rm -f conftest.o conftest.obj
3226 if { { ac_try="$ac_compile"
3227 case "(($ac_try" in
3228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3229 *) ac_try_echo=$ac_try;;
3230 esac
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
3234 ac_status=$?
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;
3239 case $ac_file in
3240 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3241 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3242 break;;
3243 esac
3244 done
3245 else
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
3259 ac_objext=$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
3264 else
3265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3266 /* end confdefs.h. */
3269 main ()
3271 #ifndef __GNUC__
3272 choke me
3273 #endif
3276 return 0;
3278 _ACEOF
3279 if ac_fn_c_try_compile "$LINENO"; then :
3280 ac_compiler_gnu=yes
3281 else
3282 ac_compiler_gnu=no
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
3291 GCC=yes
3292 else
3293 GCC=
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
3301 else
3302 ac_save_c_werror_flag=$ac_c_werror_flag
3303 ac_c_werror_flag=yes
3304 ac_cv_prog_cc_g=no
3305 CFLAGS="-g"
3306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3307 /* end confdefs.h. */
3310 main ()
3314 return 0;
3316 _ACEOF
3317 if ac_fn_c_try_compile "$LINENO"; then :
3318 ac_cv_prog_cc_g=yes
3319 else
3320 CFLAGS=""
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3325 main ()
3329 return 0;
3331 _ACEOF
3332 if ac_fn_c_try_compile "$LINENO"; then :
3334 else
3335 ac_c_werror_flag=$ac_save_c_werror_flag
3336 CFLAGS="-g"
3337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h. */
3341 main ()
3345 return 0;
3347 _ACEOF
3348 if ac_fn_c_try_compile "$LINENO"; then :
3349 ac_cv_prog_cc_g=yes
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
3364 CFLAGS="-g -O2"
3365 else
3366 CFLAGS="-g"
3368 else
3369 if test "$GCC" = yes; then
3370 CFLAGS="-O2"
3371 else
3372 CFLAGS=
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
3379 else
3380 ac_cv_prog_cc_c89=no
3381 ac_save_CC=$CC
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3384 #include <stdarg.h>
3385 #include <stdio.h>
3386 struct stat;
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)
3391 char **p;
3392 int i;
3394 return p[i];
3396 static char *f (char * (*g) (char **, int), char **p, ...)
3398 char *s;
3399 va_list v;
3400 va_start (v,p);
3401 s = g (p, va_arg (v,int));
3402 va_end (v);
3403 return s;
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. */
3417 #define FOO(x) 'x'
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);
3424 int argc;
3425 char **argv;
3427 main ()
3429 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3431 return 0;
3433 _ACEOF
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
3443 done
3444 rm -f conftest.$ac_ext
3445 CC=$ac_save_CC
3448 # AC_CACHE_VAL
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; } ;;
3453 xno)
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; } ;;
3460 esac
3461 if test "x$ac_cv_prog_cc_c89" != xno; then :
3465 ac_ext=c
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'
3477 am__doit:
3478 @echo done
3479 .PHONY: am__doit
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; }
3484 am__include="#"
3485 am__quote=
3486 _am_result=none
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
3495 am__include=include
3496 am__quote=
3497 _am_result=GNU
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
3504 am__quote="\""
3505 _am_result=BSD
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"
3521 AMDEPBACKSLASH='\'
3525 if test "x$enable_dependency_tracking" != xno; then
3526 AMDEP_TRUE=
3527 AMDEP_FALSE='#'
3528 else
3529 AMDEP_TRUE='#'
3530 AMDEP_FALSE=
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
3542 else
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
3548 # in D'.
3549 mkdir conftest.dir
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
3553 cd 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
3559 # directory.
3560 mkdir sub
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.
3574 : > sub/conftest.c
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
3580 done
3581 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3583 case $depmode in
3584 nosideeffect)
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
3588 continue
3589 else
3590 break
3593 none) break ;;
3594 esac
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
3616 break
3619 done
3621 cd ..
3622 rm -rf conftest.dir
3623 else
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
3637 am__fastdepCC_TRUE=
3638 am__fastdepCC_FALSE='#'
3639 else
3640 am__fastdepCC_TRUE='#'
3641 am__fastdepCC_FALSE=
3645 ac_ext=c
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
3657 else
3658 if test -n "$CC"; then
3659 ac_cv_prog_CC="$CC" # Let the user override the test.
3660 else
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3662 for as_dir in $PATH
3664 IFS=$as_save_IFS
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
3670 break 2
3672 done
3673 done
3674 IFS=$as_save_IFS
3678 CC=$ac_cv_prog_CC
3679 if test -n "$CC"; then
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3681 $as_echo "$CC" >&6; }
3682 else
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
3690 ac_ct_CC=$CC
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
3697 else
3698 if test -n "$ac_ct_CC"; then
3699 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3700 else
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3704 IFS=$as_save_IFS
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
3710 break 2
3712 done
3713 done
3714 IFS=$as_save_IFS
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; }
3722 else
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
3728 CC=""
3729 else
3730 case $cross_compiling:$ac_tool_warned in
3731 yes:)
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 ;;
3735 esac
3736 CC=$ac_ct_CC
3738 else
3739 CC="$ac_cv_prog_CC"
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
3750 else
3751 if test -n "$CC"; then
3752 ac_cv_prog_CC="$CC" # Let the user override the test.
3753 else
3754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755 for as_dir in $PATH
3757 IFS=$as_save_IFS
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
3763 break 2
3765 done
3766 done
3767 IFS=$as_save_IFS
3771 CC=$ac_cv_prog_CC
3772 if test -n "$CC"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3774 $as_echo "$CC" >&6; }
3775 else
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
3790 else
3791 if test -n "$CC"; then
3792 ac_cv_prog_CC="$CC" # Let the user override the test.
3793 else
3794 ac_prog_rejected=no
3795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3796 for as_dir in $PATH
3798 IFS=$as_save_IFS
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
3804 continue
3806 ac_cv_prog_CC="cc"
3807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3808 break 2
3810 done
3811 done
3812 IFS=$as_save_IFS
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
3817 shift
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.
3822 shift
3823 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3828 CC=$ac_cv_prog_CC
3829 if test -n "$CC"; then
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3831 $as_echo "$CC" >&6; }
3832 else
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
3849 else
3850 if test -n "$CC"; then
3851 ac_cv_prog_CC="$CC" # Let the user override the test.
3852 else
3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3854 for as_dir in $PATH
3856 IFS=$as_save_IFS
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
3862 break 2
3864 done
3865 done
3866 IFS=$as_save_IFS
3870 CC=$ac_cv_prog_CC
3871 if test -n "$CC"; then
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3873 $as_echo "$CC" >&6; }
3874 else
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3876 $as_echo "no" >&6; }
3880 test -n "$CC" && break
3881 done
3883 if test -z "$CC"; then
3884 ac_ct_CC=$CC
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
3893 else
3894 if test -n "$ac_ct_CC"; then
3895 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3896 else
3897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3898 for as_dir in $PATH
3900 IFS=$as_save_IFS
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
3906 break 2
3908 done
3909 done
3910 IFS=$as_save_IFS
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; }
3918 else
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3924 test -n "$ac_ct_CC" && break
3925 done
3927 if test "x$ac_ct_CC" = x; then
3928 CC=""
3929 else
3930 case $cross_compiling:$ac_tool_warned in
3931 yes:)
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 ;;
3935 esac
3936 CC=$ac_ct_CC
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
3950 set X $ac_compile
3951 ac_compiler=$2
3952 for ac_option in --version -v -V -qversion; do
3953 { { ac_try="$ac_compiler $ac_option >&5"
3954 case "(($ac_try" in
3955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3956 *) ac_try_echo=$ac_try;;
3957 esac
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
3961 ac_status=$?
3962 if test -s conftest.err; then
3963 sed '10a\
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; }
3971 done
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
3977 else
3978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3979 /* end confdefs.h. */
3982 main ()
3984 #ifndef __GNUC__
3985 choke me
3986 #endif
3989 return 0;
3991 _ACEOF
3992 if ac_fn_c_try_compile "$LINENO"; then :
3993 ac_compiler_gnu=yes
3994 else
3995 ac_compiler_gnu=no
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
4004 GCC=yes
4005 else
4006 GCC=
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
4014 else
4015 ac_save_c_werror_flag=$ac_c_werror_flag
4016 ac_c_werror_flag=yes
4017 ac_cv_prog_cc_g=no
4018 CFLAGS="-g"
4019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4020 /* end confdefs.h. */
4023 main ()
4027 return 0;
4029 _ACEOF
4030 if ac_fn_c_try_compile "$LINENO"; then :
4031 ac_cv_prog_cc_g=yes
4032 else
4033 CFLAGS=""
4034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035 /* end confdefs.h. */
4038 main ()
4042 return 0;
4044 _ACEOF
4045 if ac_fn_c_try_compile "$LINENO"; then :
4047 else
4048 ac_c_werror_flag=$ac_save_c_werror_flag
4049 CFLAGS="-g"
4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4054 main ()
4058 return 0;
4060 _ACEOF
4061 if ac_fn_c_try_compile "$LINENO"; then :
4062 ac_cv_prog_cc_g=yes
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
4077 CFLAGS="-g -O2"
4078 else
4079 CFLAGS="-g"
4081 else
4082 if test "$GCC" = yes; then
4083 CFLAGS="-O2"
4084 else
4085 CFLAGS=
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
4092 else
4093 ac_cv_prog_cc_c89=no
4094 ac_save_CC=$CC
4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4097 #include <stdarg.h>
4098 #include <stdio.h>
4099 struct stat;
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)
4104 char **p;
4105 int i;
4107 return p[i];
4109 static char *f (char * (*g) (char **, int), char **p, ...)
4111 char *s;
4112 va_list v;
4113 va_start (v,p);
4114 s = g (p, va_arg (v,int));
4115 va_end (v);
4116 return s;
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. */
4130 #define FOO(x) 'x'
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);
4137 int argc;
4138 char **argv;
4140 main ()
4142 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4144 return 0;
4146 _ACEOF
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
4156 done
4157 rm -f conftest.$ac_ext
4158 CC=$ac_save_CC
4161 # AC_CACHE_VAL
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; } ;;
4166 xno)
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; } ;;
4173 esac
4174 if test "x$ac_cv_prog_cc_c89" != xno; then :
4178 ac_ext=c
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
4190 else
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
4196 # in D'.
4197 mkdir conftest.dir
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
4201 cd 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
4207 # directory.
4208 mkdir sub
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.
4222 : > sub/conftest.c
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
4228 done
4229 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4231 case $depmode in
4232 nosideeffect)
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
4236 continue
4237 else
4238 break
4241 none) break ;;
4242 esac
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
4264 break
4267 done
4269 cd ..
4270 rm -rf conftest.dir
4271 else
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
4285 am__fastdepCC_TRUE=
4286 am__fastdepCC_FALSE='#'
4287 else
4288 am__fastdepCC_TRUE='#'
4289 am__fastdepCC_FALSE=
4294 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4297 ac_ext=c
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
4306 CPP=
4308 if test -z "$CPP"; then
4309 if ${ac_cv_prog_CPP+:} false; then :
4310 $as_echo_n "(cached) " >&6
4311 else
4312 # Double quotes because CPP needs to be expanded
4313 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4315 ac_preproc_ok=false
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. */
4326 #ifdef __STDC__
4327 # include <limits.h>
4328 #else
4329 # include <assert.h>
4330 #endif
4331 Syntax error
4332 _ACEOF
4333 if ac_fn_c_try_cpp "$LINENO"; then :
4335 else
4336 # Broken: fails on valid input.
4337 continue
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>
4346 _ACEOF
4347 if ac_fn_c_try_cpp "$LINENO"; then :
4348 # Broken: success on invalid input.
4349 continue
4350 else
4351 # Passes both tests.
4352 ac_preproc_ok=:
4353 break
4355 rm -f conftest.err conftest.i conftest.$ac_ext
4357 done
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 :
4361 break
4364 done
4365 ac_cv_prog_CPP=$CPP
4368 CPP=$ac_cv_prog_CPP
4369 else
4370 ac_cv_prog_CPP=$CPP
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4373 $as_echo "$CPP" >&6; }
4374 ac_preproc_ok=false
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. */
4385 #ifdef __STDC__
4386 # include <limits.h>
4387 #else
4388 # include <assert.h>
4389 #endif
4390 Syntax error
4391 _ACEOF
4392 if ac_fn_c_try_cpp "$LINENO"; then :
4394 else
4395 # Broken: fails on valid input.
4396 continue
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>
4405 _ACEOF
4406 if ac_fn_c_try_cpp "$LINENO"; then :
4407 # Broken: success on invalid input.
4408 continue
4409 else
4410 # Passes both tests.
4411 ac_preproc_ok=:
4412 break
4414 rm -f conftest.err conftest.i conftest.$ac_ext
4416 done
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 :
4421 else
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; }
4428 ac_ext=c
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
4439 else
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/xpg4/bin
4446 IFS=$as_save_IFS
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
4455 *GNU*)
4456 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4458 ac_count=0
4459 $as_echo_n 0123456789 >"conftest.in"
4460 while :
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
4476 done
4477 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4478 esac
4480 $ac_path_GREP_found && break 3
4481 done
4482 done
4483 done
4484 IFS=$as_save_IFS
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
4488 else
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
4502 else
4503 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4504 then ac_cv_path_EGREP="$GREP -E"
4505 else
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/xpg4/bin
4512 IFS=$as_save_IFS
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
4521 *GNU*)
4522 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4524 ac_count=0
4525 $as_echo_n 0123456789 >"conftest.in"
4526 while :
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
4542 done
4543 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4544 esac
4546 $ac_path_EGREP_found && break 3
4547 done
4548 done
4549 done
4550 IFS=$as_save_IFS
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
4554 else
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
4569 else
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4572 #include <stdlib.h>
4573 #include <stdarg.h>
4574 #include <string.h>
4575 #include <float.h>
4578 main ()
4582 return 0;
4584 _ACEOF
4585 if ac_fn_c_try_compile "$LINENO"; then :
4586 ac_cv_header_stdc=yes
4587 else
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. */
4596 #include <string.h>
4598 _ACEOF
4599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4600 $EGREP "memchr" >/dev/null 2>&1; then :
4602 else
4603 ac_cv_header_stdc=no
4605 rm -f conftest*
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. */
4613 #include <stdlib.h>
4615 _ACEOF
4616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4617 $EGREP "free" >/dev/null 2>&1; then :
4619 else
4620 ac_cv_header_stdc=no
4622 rm -f conftest*
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 :
4630 else
4631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632 /* end confdefs.h. */
4633 #include <ctype.h>
4634 #include <stdlib.h>
4635 #if ((' ' & 0x0FF) == 0x020)
4636 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4637 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4638 #else
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))
4644 #endif
4646 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4648 main ()
4650 int i;
4651 for (i = 0; i < 256; i++)
4652 if (XOR (islower (i), ISLOWER (i))
4653 || toupper (i) != TOUPPER (i))
4654 return 2;
4655 return 0;
4657 _ACEOF
4658 if ac_fn_c_try_run "$LINENO"; then :
4660 else
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
4686 else
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='#'
4697 else
4698 MAINTAINER_MODE_TRUE='#'
4699 MAINTAINER_MODE_FALSE=
4702 MAINT=$MAINTAINER_MODE_TRUE
4707 if test "x$GCC" = "xyes"; then
4708 case " $CFLAGS " in
4709 *[\ \ ]-Wall[\ \ ]*) ;;
4710 *) CFLAGS="$CFLAGS -Wall" ;;
4711 esac
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
4732 else
4733 case $PKG_CONFIG in
4734 [\\/]* | ?:[\\/]*)
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
4739 for as_dir in $PATH
4741 IFS=$as_save_IFS
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
4747 break 2
4749 done
4750 done
4751 IFS=$as_save_IFS
4754 esac
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; }
4760 else
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
4775 else
4776 case $ac_pt_PKG_CONFIG in
4777 [\\/]* | ?:[\\/]*)
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
4782 for as_dir in $PATH
4784 IFS=$as_save_IFS
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
4790 break 2
4792 done
4793 done
4794 IFS=$as_save_IFS
4797 esac
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; }
4803 else
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
4809 PKG_CONFIG=""
4810 else
4811 case $cross_compiling:$ac_tool_warned in
4812 yes:)
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 ;;
4816 esac
4817 PKG_CONFIG=$ac_pt_PKG_CONFIG
4819 else
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; }
4831 else
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4833 $as_echo "no" >&6; }
4834 PKG_CONFIG=""
4838 pkg_failed=no
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
4848 ac_status=$?
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
4853 else
4854 pkg_failed=yes
4856 else
4857 pkg_failed=untried
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
4865 ac_status=$?
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
4870 else
4871 pkg_failed=yes
4873 else
4874 pkg_failed=untried
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
4885 else
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`
4890 else
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:
4898 $GIMP_PKG_ERRORS
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
4913 path to pkg-config.
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; }
4921 else
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
4941 pkg_failed=no
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
4951 ac_status=$?
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
4956 else
4957 pkg_failed=yes
4959 else
4960 pkg_failed=untried
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
4968 ac_status=$?
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
4973 else
4974 pkg_failed=yes
4976 else
4977 pkg_failed=untried
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
4988 else
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`
4993 else
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:
5001 $LQR_PKG_ERRORS
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
5016 path to pkg-config.
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; }
5024 else
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"
5047 _ACEOF
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
5058 else
5059 USE_NLS=yes
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5063 $as_echo "$USE_NLS" >&6; }
5068 case "$am__api_version" in
5069 1.01234)
5070 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
5074 esac
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; }'`
5079 if test -n ""; then
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
5094 else
5095 case $INTLTOOL_UPDATE in
5096 [\\/]* | ?:[\\/]*)
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
5101 for as_dir in $PATH
5103 IFS=$as_save_IFS
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
5109 break 2
5111 done
5112 done
5113 IFS=$as_save_IFS
5116 esac
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; }
5122 else
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
5134 else
5135 case $INTLTOOL_MERGE in
5136 [\\/]* | ?:[\\/]*)
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
5141 for as_dir in $PATH
5143 IFS=$as_save_IFS
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
5149 break 2
5151 done
5152 done
5153 IFS=$as_save_IFS
5156 esac
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; }
5162 else
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
5174 else
5175 case $INTLTOOL_EXTRACT in
5176 [\\/]* | ?:[\\/]*)
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
5181 for as_dir in $PATH
5183 IFS=$as_save_IFS
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
5189 break 2
5191 done
5192 done
5193 IFS=$as_save_IFS
5196 esac
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; }
5202 else
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 $< $@'
5244 else
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
5358 else
5359 case $XGETTEXT in
5360 [\\/]* | ?:[\\/]*)
5361 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5365 for as_dir in $PATH
5367 IFS=$as_save_IFS
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
5373 break 2
5375 done
5376 done
5377 IFS=$as_save_IFS
5380 esac
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; }
5386 else
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
5398 else
5399 case $MSGMERGE in
5400 [\\/]* | ?:[\\/]*)
5401 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5405 for as_dir in $PATH
5407 IFS=$as_save_IFS
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
5413 break 2
5415 done
5416 done
5417 IFS=$as_save_IFS
5420 esac
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; }
5426 else
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
5438 else
5439 case $MSGFMT in
5440 [\\/]* | ?:[\\/]*)
5441 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5445 for as_dir in $PATH
5447 IFS=$as_save_IFS
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
5453 break 2
5455 done
5456 done
5457 IFS=$as_save_IFS
5460 esac
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; }
5466 else
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
5478 else
5479 case $GMSGFMT in
5480 [\\/]* | ?:[\\/]*)
5481 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH
5487 IFS=$as_save_IFS
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
5493 break 2
5495 done
5496 done
5497 IFS=$as_save_IFS
5499 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5501 esac
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; }
5507 else
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
5529 else
5530 case $INTLTOOL_PERL in
5531 [\\/]* | ?:[\\/]*)
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
5536 for as_dir in $PATH
5538 IFS=$as_save_IFS
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
5544 break 2
5546 done
5547 done
5548 IFS=$as_save_IFS
5551 esac
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; }
5557 else
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
5571 else
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; }
5582 else
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. */
5597 main ()
5599 extern int _nl_msg_cat_cntr;
5600 return _nl_msg_cat_cntr
5602 return 0;
5604 _ACEOF
5605 if ac_fn_c_try_link "$LINENO"; then :
5606 DATADIRNAME=share
5607 else
5608 case $host in
5609 *-*-solaris*)
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 :
5612 DATADIRNAME=share
5613 else
5614 DATADIRNAME=lib
5619 DATADIRNAME=lib
5621 esac
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
5634 do :
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
5641 _ACEOF
5645 done
5649 for ac_header in locale.h
5650 do :
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
5655 _ACEOF
5659 done
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
5666 else
5667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5668 /* end confdefs.h. */
5669 #include <locale.h>
5671 main ()
5673 return LC_MESSAGES
5675 return 0;
5677 _ACEOF
5678 if ac_fn_c_try_link "$LINENO"; then :
5679 am_cv_val_LC_MESSAGES=yes
5680 else
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
5694 USE_NLS=yes
5697 gt_cv_have_gettext=no
5699 CATOBJEXT=NONE
5700 XGETTEXT=:
5701 INTLLIBS=
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
5715 else
5716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5717 /* end confdefs.h. */
5719 #include <libintl.h>
5722 main ()
5724 return !ngettext ("","", 1)
5726 return 0;
5728 _ACEOF
5729 if ac_fn_c_try_link "$LINENO"; then :
5730 gt_cv_func_ngettext_libc=yes
5731 else
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
5746 else
5747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5748 /* end confdefs.h. */
5750 #include <libintl.h>
5753 main ()
5755 return !dgettext ("","")
5757 return 0;
5759 _ACEOF
5760 if ac_fn_c_try_link "$LINENO"; then :
5761 gt_cv_func_dgettext_libc=yes
5762 else
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
5775 do :
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
5780 _ACEOF
5783 done
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
5798 else
5799 ac_check_lib_save_LIBS=$LIBS
5800 LIBS="-lintl $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. */
5807 #ifdef __cplusplus
5808 extern "C"
5809 #endif
5810 char bindtextdomain ();
5812 main ()
5814 return bindtextdomain ();
5816 return 0;
5818 _ACEOF
5819 if ac_fn_c_try_link "$LINENO"; then :
5820 ac_cv_lib_intl_bindtextdomain=yes
5821 else
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
5835 else
5836 ac_check_lib_save_LIBS=$LIBS
5837 LIBS="-lintl $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. */
5844 #ifdef __cplusplus
5845 extern "C"
5846 #endif
5847 char ngettext ();
5849 main ()
5851 return ngettext ();
5853 return 0;
5855 _ACEOF
5856 if ac_fn_c_try_link "$LINENO"; then :
5857 ac_cv_lib_intl_ngettext=yes
5858 else
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
5872 else
5873 ac_check_lib_save_LIBS=$LIBS
5874 LIBS="-lintl $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. */
5881 #ifdef __cplusplus
5882 extern "C"
5883 #endif
5884 char dgettext ();
5886 main ()
5888 return dgettext ();
5890 return 0;
5892 _ACEOF
5893 if ac_fn_c_try_link "$LINENO"; then :
5894 ac_cv_lib_intl_dgettext=yes
5895 else
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
5917 $as_echo "" >&6; }
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
5922 else
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. */
5931 #ifdef __cplusplus
5932 extern "C"
5933 #endif
5934 char ngettext ();
5936 main ()
5938 return ngettext ();
5940 return 0;
5942 _ACEOF
5943 if ac_fn_c_try_link "$LINENO"; then :
5944 ac_cv_lib_intl_ngettext=yes
5945 else
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
5959 else
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. */
5968 #ifdef __cplusplus
5969 extern "C"
5970 #endif
5971 char dcgettext ();
5973 main ()
5975 return dcgettext ();
5977 return 0;
5979 _ACEOF
5980 if ac_fn_c_try_link "$LINENO"; then :
5981 ac_cv_lib_intl_dcgettext=yes
5982 else
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
5994 else
5998 else
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
6014 do :
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
6019 _ACEOF
6022 done
6024 LIBS="$glib_save_LIBS"
6026 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
6027 gt_cv_func_dgettext_libc=no
6028 else
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
6056 else
6057 case "$MSGFMT" in
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"
6068 break
6071 done
6072 IFS="$ac_save_ifs"
6073 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
6075 esac
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; }
6081 else
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
6089 do :
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
6094 _ACEOF
6097 done
6099 MSGFMT_OPTS=
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
6104 msgid ""
6105 msgstr ""
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"
6114 _ACEOF
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
6117 ac_status=$?
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
6134 else
6135 case $GMSGFMT in
6136 [\\/]* | ?:[\\/]*)
6137 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 for as_dir in $PATH
6143 IFS=$as_save_IFS
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
6149 break 2
6151 done
6152 done
6153 IFS=$as_save_IFS
6155 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6157 esac
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; }
6163 else
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
6175 else
6176 case "$XGETTEXT" in
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"
6187 break
6190 done
6191 IFS="$ac_save_ifs"
6192 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6194 esac
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; }
6200 else
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. */
6209 main ()
6211 extern int _nl_msg_cat_cntr;
6212 return _nl_msg_cat_cntr
6214 return 0;
6216 _ACEOF
6217 if ac_fn_c_try_link "$LINENO"; then :
6218 CATOBJEXT=.gmo
6219 DATADIRNAME=share
6220 else
6221 case $host in
6222 *-*-solaris*)
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 :
6225 CATOBJEXT=.gmo
6226 DATADIRNAME=share
6227 else
6228 CATOBJEXT=.mo
6229 DATADIRNAME=lib
6233 *-*-openbsd*)
6234 CATOBJEXT=.mo
6235 DATADIRNAME=share
6238 CATOBJEXT=.mo
6239 DATADIRNAME=lib
6241 esac
6243 rm -f core conftest.err conftest.$ac_objext \
6244 conftest$ac_exeext conftest.$ac_ext
6245 LIBS="$glib_save_LIBS"
6246 INSTOBJEXT=.mo
6247 else
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
6265 else
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; }
6268 XGETTEXT=":"
6272 # We need to process the po/ directory.
6273 POSUB=po
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"
6281 done
6295 if test "$gt_cv_have_gettext" = "yes"; then
6296 if test "x$ALL_LINGUAS" = "x"; then
6297 LINGUAS=
6298 else
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; }
6301 NEW_LINGUAS=
6302 for presentlang in $ALL_LINGUAS; do
6303 useit=no
6304 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6305 desiredlanguages="$LINGUAS"
6306 else
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;;
6317 esac
6318 done
6319 if test $useit = yes; then
6320 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6322 done
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
6333 MKINSTALLDIRS=
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/"
6346 else
6347 posrcprefix="../$srcdir/"
6349 else
6350 posrcprefix="../"
6352 rm -f po/POTFILES
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
6358 do :
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
6363 _ACEOF
6366 done
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
6384 have_gtk_2_12=yes
6385 else
6386 have_gtk_2_12=no
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
6398 have_gimp_2_8=yes
6399 else
6400 have_gimp_2_8=no
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; }
6411 ac_ext=c
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. */
6420 #ifndef WIN32
6421 #error
6422 #endif
6424 _ACEOF
6425 if ac_fn_c_try_cpp "$LINENO"; then :
6426 is_win32=yes
6427 else
6428 is_win32=no
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; }
6434 CFLAGS="$CFLAGS -s"
6435 LDFLAGS="$LDFLAGS -mwindows"
6436 else
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
6456 # following values.
6458 _ACEOF
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
6468 case $ac_val in #(
6469 *${as_nl}*)
6470 case $ac_var in #(
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;} ;;
6473 esac
6474 case $ac_var in #(
6475 _ | IFS | as_nl) ;; #(
6476 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6477 *) { eval $ac_var=; unset $ac_var;} ;;
6478 esac ;;
6479 esac
6480 done
6482 (set) 2>&1 |
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 \.
6487 sed -n \
6488 "s/'/'\\\\''/g;
6489 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6490 ;; #(
6492 # `set' quotes correctly as required by POSIX, so do not add quotes.
6493 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6495 esac |
6496 sort
6498 sed '
6499 /^ac_cv_env_/b end
6500 t clear
6501 :clear
6502 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6503 t end
6504 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6505 :end' >>confcache
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"
6513 else
6514 case $cache_file in #(
6515 */* | ?:*)
6516 mv -f confcache "$cache_file"$$ &&
6517 mv -f "$cache_file"$$ "$cache_file" ;; #(
6519 mv -f confcache "$cache_file" ;;
6520 esac
6523 else
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;}
6528 rm -f confcache
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
6536 ac_libobjs=
6537 ac_ltlibobjs=
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'
6547 done
6548 LIBOBJS=$ac_libobjs
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}"
6575 ac_write_fail=0
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;}
6580 as_write_fail=0
6581 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6582 #! $SHELL
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.
6588 debug=false
6589 ac_cs_recheck=false
6590 ac_cs_silent=false
6592 SHELL=\${CONFIG_SHELL-$SHELL}
6593 export SHELL
6594 _ASEOF
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 :
6603 emulate sh
6604 NULLCMD=:
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
6609 else
6610 case `(set -o) 2>/dev/null` in #(
6611 *posix*) :
6612 set -o posix ;; #(
6613 *) :
6615 esac
6619 as_nl='
6621 export as_nl
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'
6635 else
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'
6639 else
6640 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6641 as_echo_n_body='eval
6642 arg=$1;
6643 case $arg in #(
6644 *"$as_nl"*)
6645 expr "X$arg" : "X\\(.*\\)$as_nl";
6646 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6647 esac;
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'
6653 export as_echo_body
6654 as_echo='sh -c $as_echo_body as_echo'
6657 # The user is always right.
6658 if test "${PATH_SEPARATOR+set}" != set; then
6659 PATH_SEPARATOR=:
6660 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6661 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6662 PATH_SEPARATOR=';'
6667 # IFS
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.)
6672 IFS=" "" $as_nl"
6674 # Find who we are. Look in the path if we contain no directory separator.
6675 as_myself=
6676 case $0 in #((
6677 *[\\/]* ) as_myself=$0 ;;
6678 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6679 for as_dir in $PATH
6681 IFS=$as_save_IFS
6682 test -z "$as_dir" && as_dir=.
6683 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6684 done
6685 IFS=$as_save_IFS
6688 esac
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
6692 as_myself=$0
6694 if test ! -f "$as_myself"; then
6695 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6696 exit 1
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 || :
6706 done
6707 PS1='$ '
6708 PS2='> '
6709 PS4='+ '
6711 # NLS nuisances.
6712 LC_ALL=C
6713 export LC_ALL
6714 LANGUAGE=C
6715 export LANGUAGE
6717 # CDPATH.
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.
6726 as_fn_error ()
6728 as_status=$1; test $as_status -eq 0 && as_status=1
6729 if test "$4"; then
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
6735 } # as_fn_error
6738 # as_fn_set_status STATUS
6739 # -----------------------
6740 # Set $? to STATUS, without forking.
6741 as_fn_set_status ()
6743 return $1
6744 } # as_fn_set_status
6746 # as_fn_exit STATUS
6747 # -----------------
6748 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6749 as_fn_exit ()
6751 set +e
6752 as_fn_set_status $1
6753 exit $1
6754 } # as_fn_exit
6756 # as_fn_unset VAR
6757 # ---------------
6758 # Portably unset VAR.
6759 as_fn_unset ()
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
6769 # implementations.
6770 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6771 eval 'as_fn_append ()
6773 eval $1+=\$2
6775 else
6776 as_fn_append ()
6778 eval $1=\$$1\$2
6780 fi # 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 ()
6790 as_val=$(( $* ))
6792 else
6793 as_fn_arith ()
6795 as_val=`expr "$@" || test $? -eq 1`
6797 fi # as_fn_arith
6800 if expr a : '\(a\)' >/dev/null 2>&1 &&
6801 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6802 as_expr=expr
6803 else
6804 as_expr=false
6807 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6808 as_basename=basename
6809 else
6810 as_basename=false
6813 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6814 as_dirname=dirname
6815 else
6816 as_dirname=false
6819 as_me=`$as_basename -- "$0" ||
6820 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6821 X"$0" : 'X\(//\)$' \| \
6822 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6823 $as_echo X/"$0" |
6824 sed '/^.*\/\([^/][^/]*\)\/*$/{
6825 s//\1/
6828 /^X\/\(\/\/\)$/{
6829 s//\1/
6832 /^X\/\(\/\).*/{
6833 s//\1/
6836 s/.*/./; q'`
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 #(((((
6847 -n*)
6848 case `echo 'xy\c'` in
6849 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6850 xy) ECHO_C='\c';;
6851 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6852 ECHO_T=' ';;
6853 esac;;
6855 ECHO_N='-n';;
6856 esac
6858 rm -f conf$$ conf$$.exe conf$$.file
6859 if test -d conf$$.dir; then
6860 rm -f conf$$.dir/conf$$.file
6861 else
6862 rm -f conf$$.dir
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
6867 as_ln_s='ln -s'
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 ||
6873 as_ln_s='cp -pR'
6874 elif ln conf$$.file conf$$ 2>/dev/null; then
6875 as_ln_s=ln
6876 else
6877 as_ln_s='cp -pR'
6879 else
6880 as_ln_s='cp -pR'
6882 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6883 rmdir conf$$.dir 2>/dev/null
6886 # as_fn_mkdir_p
6887 # -------------
6888 # Create "$as_dir" as a directory, including parents if necessary.
6889 as_fn_mkdir_p ()
6892 case $as_dir in #(
6893 -*) as_dir=./$as_dir;;
6894 esac
6895 test -d "$as_dir" || eval $as_mkdir_p || {
6896 as_dirs=
6897 while :; do
6898 case $as_dir in #(
6899 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6900 *) as_qdir=$as_dir;;
6901 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6910 s//\1/
6913 /^X\(\/\/\)[^/].*/{
6914 s//\1/
6917 /^X\(\/\/\)$/{
6918 s//\1/
6921 /^X\(\/\).*/{
6922 s//\1/
6925 s/.*/./; q'`
6926 test -d "$as_dir" && break
6927 done
6928 test -z "$as_dirs" || eval "mkdir $as_dirs"
6929 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6932 } # as_fn_mkdir_p
6933 if mkdir -p . 2>/dev/null; then
6934 as_mkdir_p='mkdir -p "$as_dir"'
6935 else
6936 test -d ./-p && rmdir ./-p
6937 as_mkdir_p=false
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
6948 as_test_x='test -x'
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'"
6958 exec 6>&1
6959 ## ----------------------------------- ##
6960 ## Main body of $CONFIG_STATUS script. ##
6961 ## ----------------------------------- ##
6962 _ASEOF
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.
6969 ac_log="
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
6977 $ $0 $@
6979 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6982 _ACEOF
6984 case $ac_config_files in *"
6985 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6986 esac
6988 case $ac_config_headers in *"
6989 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6990 esac
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"
6999 _ACEOF
7001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7002 ac_cs_usage="\
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:
7022 $config_files
7024 Configuration headers:
7025 $config_headers
7027 Configuration commands:
7028 $config_commands
7030 Report bugs to the package provider."
7032 _ACEOF
7033 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7034 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7035 ac_cs_version="\\
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."
7044 ac_pwd='$ac_pwd'
7045 srcdir='$srcdir'
7046 INSTALL='$INSTALL'
7047 AWK='$AWK'
7048 test -n "\$AWK" || AWK=awk
7049 _ACEOF
7051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7052 # The default lists apply if the user does not specify any file.
7053 ac_need_defaults=:
7054 while test $# != 0
7056 case $1 in
7057 --*=?*)
7058 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7059 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7060 ac_shift=:
7062 --*=)
7063 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7064 ac_optarg=
7065 ac_shift=:
7068 ac_option=$1
7069 ac_optarg=$2
7070 ac_shift=shift
7072 esac
7074 case $ac_option in
7075 # Handling of the options.
7076 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7077 ac_cs_recheck=: ;;
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 )
7083 debug=: ;;
7084 --file | --fil | --fi | --f )
7085 $ac_shift
7086 case $ac_optarg in
7087 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7088 '') as_fn_error $? "missing file argument" ;;
7089 esac
7090 as_fn_append CONFIG_FILES " '$ac_optarg'"
7091 ac_need_defaults=false;;
7092 --header | --heade | --head | --hea )
7093 $ac_shift
7094 case $ac_optarg in
7095 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7096 esac
7097 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7098 ac_need_defaults=false;;
7099 --he | --h)
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)
7107 ac_cs_silent=: ;;
7109 # This is an error.
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 ;;
7116 esac
7117 shift
7118 done
7120 ac_configure_extra_args=
7122 if $ac_cs_silent; then
7123 exec 6>/dev/null
7124 ac_configure_extra_args="$ac_configure_extra_args --silent"
7127 _ACEOF
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
7131 shift
7132 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7133 CONFIG_SHELL='$SHELL'
7134 export CONFIG_SHELL
7135 exec "\$@"
7138 _ACEOF
7139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7140 exec 5>>config.log
7142 echo
7143 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7144 ## Running $as_me. ##
7145 _ASBOX
7146 $as_echo "$ac_log"
7147 } >&5
7149 _ACEOF
7150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7152 # INIT-COMMANDS
7154 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7157 _ACEOF
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;;
7184 esac
7185 done
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'.
7204 $debug ||
7206 tmp= ac_tmp=
7207 trap 'exit_status=$?
7208 : "${ac_tmp:=$tmp}"
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` &&
7217 test -d "$tmp"
7218 } ||
7220 tmp=./conf$$-$RANDOM
7221 (umask 077 && mkdir "$tmp")
7222 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7223 ac_tmp=$tmp
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
7240 ac_cs_awk_cr='\\r'
7241 else
7242 ac_cs_awk_cr=$ac_cr
7245 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7246 _ACEOF
7250 echo "cat >conf$$subs.awk <<_ACEOF" &&
7251 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7252 echo "_ACEOF"
7253 } >conf$$subs.sh ||
7254 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7255 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7256 ac_delim='%!_!# '
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
7263 break
7264 elif $ac_last_try; then
7265 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7266 else
7267 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7269 done
7270 rm -f conf$$subs.sh
7272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7273 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7274 _ACEOF
7275 sed -n '
7277 s/^/S["/; s/!.*/"]=/
7280 s/^[^!]*!//
7281 :repl
7282 t repl
7283 s/'"$ac_delim"'$//
7284 t delim
7287 s/\(.\{148\}\)..*/\1/
7288 t more1
7289 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7292 b repl
7293 :more1
7294 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7297 s/.\{148\}//
7298 t nl
7299 :delim
7301 s/\(.\{148\}\)..*/\1/
7302 t more2
7303 s/["\\]/\\&/g; s/^/"/; s/$/"/
7306 :more2
7307 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7310 s/.\{148\}//
7311 t delim
7312 ' <conf$$subs.awk | sed '
7313 /^[^""]/{
7315 s/\n//
7317 ' >>$CONFIG_STATUS || ac_write_fail=1
7318 rm -f conf$$subs.awk
7319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7320 _ACAWK
7321 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7322 for (key in S) S_is_set[key] = 1
7323 FS = "\a"
7327 line = $ 0
7328 nfields = split(line, field, "@")
7329 substed = 0
7330 len = length(field[1])
7331 for (i = 2; i < nfields; i++) {
7332 key = field[i]
7333 keylen = length(key)
7334 if (S_is_set[key]) {
7335 value = S[key]
7336 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7337 len += length(value) + length(field[++i])
7338 substed = 1
7339 } else
7340 len += 1 + keylen
7343 print line
7346 _ACAWK
7347 _ACEOF
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"
7351 else
7353 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7354 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7355 _ACEOF
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[ ]*=[ ]*/{
7364 s///
7365 s/^/:/
7366 s/[ ]*$/:/
7367 s/:\$(srcdir):/:/g
7368 s/:\${srcdir}:/:/g
7369 s/:@srcdir@:/:/g
7370 s/^:*//
7371 s/:*$//
7373 s/\(=[ ]*\).*/\1/
7375 s/\n//
7376 s/^[^=]*=[ ]*$//
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 ||
7388 BEGIN {
7389 _ACEOF
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.
7397 ac_delim='%!_!# '
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
7401 break
7402 elif $ac_last_try; then
7403 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7404 else
7405 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7407 done
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]*
7414 sed -n '
7415 s/.\{148\}/&'"$ac_delim"'/g
7416 t rset
7417 :rset
7418 s/^[ ]*#[ ]*define[ ][ ]*/ /
7419 t def
7421 :def
7422 s/\\$//
7423 t bsnl
7424 s/["\\]/\\&/g
7425 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7426 D["\1"]=" \3"/p
7427 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7429 :bsnl
7430 s/["\\]/\\&/g
7431 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7432 D["\1"]=" \3\\\\\\n"\\/p
7433 t cont
7434 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7435 t cont
7437 :cont
7439 s/.\{148\}/&'"$ac_delim"'/g
7440 t clear
7441 :clear
7442 s/\\$//
7443 t bsnlc
7444 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7446 :bsnlc
7447 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7448 b cont
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
7455 FS = "\a"
7457 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7458 line = \$ 0
7459 split(line, arg, " ")
7460 if (arg[1] == "#") {
7461 defundef = arg[2]
7462 mac1 = arg[3]
7463 } else {
7464 defundef = substr(arg[1], 2)
7465 mac1 = arg[2]
7467 split(mac1, mac2, "(") #)
7468 macro = mac2[1]
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]
7473 next
7474 } else {
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, "*/"
7480 next
7484 { print }
7485 _ACAWK
7486 _ACEOF
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"
7493 shift
7494 for ac_tag
7496 case $ac_tag in
7497 :[FHLC]) ac_mode=$ac_tag; continue;;
7498 esac
7499 case $ac_mode$ac_tag in
7500 :[FHL]*:*);;
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;;
7504 esac
7505 ac_save_IFS=$IFS
7506 IFS=:
7507 set x $ac_tag
7508 IFS=$ac_save_IFS
7509 shift
7510 ac_file=$1
7511 shift
7513 case $ac_mode in
7514 :L) ac_source=$1;;
7515 :[FH])
7516 ac_file_inputs=
7517 for ac_f
7519 case $ac_f 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 `:'.
7524 test -f "$ac_f" ||
7525 case $ac_f in
7526 [\\/$]*) false;;
7527 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7528 esac ||
7529 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7530 esac
7531 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7532 as_fn_append ac_file_inputs " '$ac_f'"
7533 done
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'
7540 `' by configure.'
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;;
7552 esac
7554 case $ac_tag in
7555 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7556 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7557 esac
7559 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7568 s//\1/
7571 /^X\(\/\/\)[^/].*/{
7572 s//\1/
7575 /^X\(\/\/\)$/{
7576 s//\1/
7579 /^X\(\/\).*/{
7580 s//\1/
7583 s/.*/./; q'`
7584 as_dir="$ac_dir"; as_fn_mkdir_p
7585 ac_builddir=.
7587 case "$ac_dir" in
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/ ;;
7596 esac ;;
7597 esac
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
7603 case $srcdir in
7604 .) # We are building in place.
7605 ac_srcdir=.
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 ;;
7612 *) # Relative name.
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 ;;
7616 esac
7617 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7620 case $ac_mode in
7623 # CONFIG_FILE
7626 case $INSTALL in
7627 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7628 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7629 esac
7630 _ACEOF
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=
7636 ac_sed_dataroot='
7637 /datarootdir/ {
7641 /@datadir@/p
7642 /@docdir@/p
7643 /@infodir@/p
7644 /@localedir@/p
7645 /@mandir@/p'
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;}
7651 _ACEOF
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' ;;
7660 esac
7661 _ACEOF
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
7668 $extrasub
7669 _ACEOF
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"
7699 case $ac_file in
7700 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7701 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7702 esac \
7703 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7707 # CONFIG_HEADER
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;}
7718 else
7719 rm -f "$ac_file"
7720 mv "$ac_tmp/config.h" "$ac_file" \
7721 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7723 else
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.
7729 _am_stamp_count=1
7730 for _am_header in $config_headers :; do
7731 case $_am_header in
7732 "$ac_file" | "$ac_file":* )
7733 break ;;
7735 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7736 esac
7737 done
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7745 s//\1/
7748 /^X\(\/\/\)[^/].*/{
7749 s//\1/
7752 /^X\(\/\/\)$/{
7753 s//\1/
7756 /^X\(\/\).*/{
7757 s//\1/
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;}
7766 esac
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 ||
7785 $as_echo X"$mf" |
7786 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7787 s//\1/
7790 /^X\(\/\/\)[^/].*/{
7791 s//\1/
7794 /^X\(\/\/\)$/{
7795 s//\1/
7798 /^X\(\/\).*/{
7799 s//\1/
7802 s/.*/./; q'`
7803 else
7804 continue
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
7818 # expansion.
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 ||
7829 $as_echo X"$file" |
7830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7831 s//\1/
7834 /^X\(\/\/\)[^/].*/{
7835 s//\1/
7838 /^X\(\/\/\)$/{
7839 s//\1/
7842 /^X\(\/\).*/{
7843 s//\1/
7846 s/.*/./; q'`
7847 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7848 # echo "creating $dirpart/$file"
7849 echo '# dummy' > "$dirpart/$file"
7850 done
7851 done
7853 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
7854 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
7855 esac ;;
7856 "po/stamp-it":C)
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"
7861 >"po/stamp-it.tmp"
7862 sed '/^#/d
7863 s/^[[].*] *//
7864 /^[ ]*$/d
7865 '"s|^| $ac_top_srcdir/|" \
7866 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
7868 sed '/^POTFILES =/,/[^\\]$/ {
7869 /^POTFILES =/!d
7870 r po/POTFILES
7872 ' "po/Makefile.in" >"po/Makefile"
7873 rm -f "po/Makefile.tmp"
7874 mv "po/stamp-it.tmp" "po/stamp-it"
7877 esac
7878 done # for ac_tag
7881 as_fn_exit 0
7882 _ACEOF
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
7898 ac_cs_success=:
7899 ac_config_status_args=
7900 test "$silent" = yes &&
7901 ac_config_status_args="$ac_config_status_args --quiet"
7902 exec 5>/dev/null
7903 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7904 exec 5>>config.log
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;}