Windows installer files new version (with PortableApps)
[gimp-lqr-plugin.git] / configure
blob67ca36da1aab0b9e0118026e972334c1903885b4
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for gimp-lqr-plugin 0.7.0.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8 # Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144 else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
150 esac
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166 else
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
176 as_have_required=yes
177 else
178 as_have_required=no
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182 else
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=.
189 as_found=:
190 case $as_dir in #(
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 break 2
202 done;;
203 esac
204 as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 BASH_ENV=/dev/null
218 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 else
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
236 exit 1
240 SHELL=${CONFIG_SHELL-/bin/sh}
241 export SHELL
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
249 # as_fn_unset VAR
250 # ---------------
251 # Portably unset VAR.
252 as_fn_unset ()
254 { eval $1=; unset $1;}
256 as_unset=as_fn_unset
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
261 as_fn_set_status ()
263 return $1
264 } # as_fn_set_status
266 # as_fn_exit STATUS
267 # -----------------
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269 as_fn_exit ()
271 set +e
272 as_fn_set_status $1
273 exit $1
274 } # as_fn_exit
276 # as_fn_mkdir_p
277 # -------------
278 # Create "$as_dir" as a directory, including parents if necessary.
279 as_fn_mkdir_p ()
282 case $as_dir in #(
283 -*) as_dir=./$as_dir;;
284 esac
285 test -d "$as_dir" || eval $as_mkdir_p || {
286 as_dirs=
287 while :; do
288 case $as_dir in #(
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 *) as_qdir=$as_dir;;
291 esac
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300 s//\1/
303 /^X\(\/\/\)[^/].*/{
304 s//\1/
307 /^X\(\/\/\)$/{
308 s//\1/
311 /^X\(\/\).*/{
312 s//\1/
315 s/.*/./; q'`
316 test -d "$as_dir" && break
317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
322 } # as_fn_mkdir_p
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
328 # implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
332 eval $1+=\$2
334 else
335 as_fn_append ()
337 eval $1=\$$1\$2
339 fi # as_fn_append
341 # as_fn_arith ARG...
342 # ------------------
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347 eval 'as_fn_arith ()
349 as_val=$(( $* ))
351 else
352 as_fn_arith ()
354 as_val=`expr "$@" || test $? -eq 1`
356 fi # as_fn_arith
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
364 as_fn_error ()
366 as_status=$?; test $as_status -eq 0 && as_status=1
367 if test "$3"; then
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
373 } # as_fn_error
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
377 as_expr=expr
378 else
379 as_expr=false
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383 as_basename=basename
384 else
385 as_basename=false
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389 as_dirname=dirname
390 else
391 as_dirname=false
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 $as_echo X/"$0" |
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
400 s//\1/
403 /^X\/\(\/\/\)$/{
404 s//\1/
407 /^X\/\(\/\).*/{
408 s//\1/
411 s/.*/./; q'`
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
426 sed -n '
428 /[$]LINENO/=
429 ' <$as_myself |
430 sed '
431 s/[$]LINENO.*/&-/
432 t lineno
434 :lineno
436 :loop
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 t loop
439 s/-\n.*//
440 ' >$as_me.lineno &&
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
447 . "./$as_me.lineno"
448 # Exit status is that of the last command.
449 exit
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
454 -n*)
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457 xy) ECHO_C='\c';;
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459 ECHO_T=' ';;
460 esac;;
462 ECHO_N='-n';;
463 esac
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
468 else
469 rm -f conf$$.dir
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 as_ln_s='ln -s'
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 as_ln_s='cp -p'
481 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln
483 else
484 as_ln_s='cp -p'
486 else
487 as_ln_s='cp -p'
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
494 else
495 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false
499 if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x'
501 else
502 if ls -dL / >/dev/null 2>&1; then
503 as_ls_L_option=L
504 else
505 as_ls_L_option=
507 as_test_x='
508 eval sh -c '\''
509 if test -d "$1"; then
510 test -d "$1/.";
511 else
512 case $1 in #(
513 -*)set "./$1";;
514 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" || exec 7<&0 </dev/null
530 exec 6>&1
532 # Name of the host.
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
538 # Initializations.
540 ac_default_prefix=/usr/local
541 ac_clean_files=
542 ac_config_libobj_dir=.
543 LIBOBJS=
544 cross_compiling=no
545 subdirs=
546 MFLAGS=
547 MAKEFLAGS=
549 # Identity of this package.
550 PACKAGE_NAME='gimp-lqr-plugin'
551 PACKAGE_TARNAME='gimp-lqr-plugin'
552 PACKAGE_VERSION='0.7.0'
553 PACKAGE_STRING='gimp-lqr-plugin 0.7.0'
554 PACKAGE_BUGREPORT=''
555 PACKAGE_URL=''
557 ac_unique_file="src/main.c"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
560 #include <stdio.h>
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
563 #endif
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
566 #endif
567 #ifdef STDC_HEADERS
568 # include <stdlib.h>
569 # include <stddef.h>
570 #else
571 # ifdef HAVE_STDLIB_H
572 # include <stdlib.h>
573 # endif
574 #endif
575 #ifdef HAVE_STRING_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577 # include <memory.h>
578 # endif
579 # include <string.h>
580 #endif
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
583 #endif
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
586 #endif
587 #ifdef HAVE_STDINT_H
588 # include <stdint.h>
589 #endif
590 #ifdef HAVE_UNISTD_H
591 # include <unistd.h>
592 #endif"
594 ac_subst_vars='LTLIBOBJS
595 LIBOBJS
596 SCRIPTSDIR
597 PLUGIN_DATADIR
598 LOCALEDIR
599 MKINSTALLDIRS
600 POSUB
601 POFILES
602 PO_IN_DATADIR_FALSE
603 PO_IN_DATADIR_TRUE
604 INTLLIBS
605 INSTOBJEXT
606 GMOFILES
607 CATOBJEXT
608 CATALOGS
609 MSGFMT_OPTS
610 DATADIRNAME
611 ALL_LINGUAS
612 INTLTOOL_PERL
613 GMSGFMT
614 MSGFMT
615 MSGMERGE
616 XGETTEXT
617 INTLTOOL_POLICY_RULE
618 INTLTOOL_SERVICE_RULE
619 INTLTOOL_THEME_RULE
620 INTLTOOL_SCHEMAS_RULE
621 INTLTOOL_CAVES_RULE
622 INTLTOOL_XML_NOMERGE_RULE
623 INTLTOOL_XML_RULE
624 INTLTOOL_KBD_RULE
625 INTLTOOL_XAM_RULE
626 INTLTOOL_UI_RULE
627 INTLTOOL_SOUNDLIST_RULE
628 INTLTOOL_SHEET_RULE
629 INTLTOOL_SERVER_RULE
630 INTLTOOL_PONG_RULE
631 INTLTOOL_OAF_RULE
632 INTLTOOL_PROP_RULE
633 INTLTOOL_KEYS_RULE
634 INTLTOOL_DIRECTORY_RULE
635 INTLTOOL_DESKTOP_RULE
636 INTLTOOL_EXTRACT
637 INTLTOOL_MERGE
638 INTLTOOL_UPDATE
639 USE_NLS
640 GETTEXT_PACKAGE
641 LQR_LIBDIR
642 LQR_LIBS
643 LQR_CFLAGS
644 GIMP_DATADIR
645 GIMP_LIBDIR
646 GIMP_LIBS
647 GIMP_CFLAGS
648 PKG_CONFIG
649 MAINT
650 MAINTAINER_MODE_FALSE
651 MAINTAINER_MODE_TRUE
652 EGREP
653 GREP
655 am__fastdepCC_FALSE
656 am__fastdepCC_TRUE
657 CCDEPMODE
658 AMDEPBACKSLASH
659 AMDEP_FALSE
660 AMDEP_TRUE
661 am__quote
662 am__include
663 DEPDIR
664 OBJEXT
665 EXEEXT
666 ac_ct_CC
667 CPPFLAGS
668 LDFLAGS
669 CFLAGS
671 am__untar
672 am__tar
673 AMTAR
674 am__leading_dot
675 SET_MAKE
677 mkdir_p
678 INSTALL_STRIP_PROGRAM
679 STRIP
680 install_sh
681 MAKEINFO
682 AUTOHEADER
683 AUTOMAKE
684 AUTOCONF
685 ACLOCAL
686 VERSION
687 PACKAGE
688 CYGPATH_W
689 INSTALL_DATA
690 INSTALL_SCRIPT
691 INSTALL_PROGRAM
692 target_alias
693 host_alias
694 build_alias
695 LIBS
696 ECHO_T
697 ECHO_N
698 ECHO_C
699 DEFS
700 mandir
701 localedir
702 libdir
703 psdir
704 pdfdir
705 dvidir
706 htmldir
707 infodir
708 docdir
709 oldincludedir
710 includedir
711 localstatedir
712 sharedstatedir
713 sysconfdir
714 datadir
715 datarootdir
716 libexecdir
717 sbindir
718 bindir
719 program_transform_name
720 prefix
721 exec_prefix
722 PACKAGE_URL
723 PACKAGE_BUGREPORT
724 PACKAGE_STRING
725 PACKAGE_VERSION
726 PACKAGE_TARNAME
727 PACKAGE_NAME
728 PATH_SEPARATOR
729 SHELL'
730 ac_subst_files=''
731 ac_user_opts='
732 enable_option_checking
733 enable_dependency_tracking
734 enable_maintainer_mode
735 enable_nls
737 ac_precious_vars='build_alias
738 host_alias
739 target_alias
741 CFLAGS
742 LDFLAGS
743 LIBS
744 CPPFLAGS
746 PKG_CONFIG
747 GIMP_CFLAGS
748 GIMP_LIBS
749 LQR_CFLAGS
750 LQR_LIBS'
753 # Initialize some variables set by options.
754 ac_init_help=
755 ac_init_version=false
756 ac_unrecognized_opts=
757 ac_unrecognized_sep=
758 # The variables have the same names as the options, with
759 # dashes changed to underlines.
760 cache_file=/dev/null
761 exec_prefix=NONE
762 no_create=
763 no_recursion=
764 prefix=NONE
765 program_prefix=NONE
766 program_suffix=NONE
767 program_transform_name=s,x,x,
768 silent=
769 site=
770 srcdir=
771 verbose=
772 x_includes=NONE
773 x_libraries=NONE
775 # Installation directory options.
776 # These are left unexpanded so users can "make install exec_prefix=/foo"
777 # and all the variables that are supposed to be based on exec_prefix
778 # by default will actually change.
779 # Use braces instead of parens because sh, perl, etc. also accept them.
780 # (The list follows the same order as the GNU Coding Standards.)
781 bindir='${exec_prefix}/bin'
782 sbindir='${exec_prefix}/sbin'
783 libexecdir='${exec_prefix}/libexec'
784 datarootdir='${prefix}/share'
785 datadir='${datarootdir}'
786 sysconfdir='${prefix}/etc'
787 sharedstatedir='${prefix}/com'
788 localstatedir='${prefix}/var'
789 includedir='${prefix}/include'
790 oldincludedir='/usr/include'
791 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
792 infodir='${datarootdir}/info'
793 htmldir='${docdir}'
794 dvidir='${docdir}'
795 pdfdir='${docdir}'
796 psdir='${docdir}'
797 libdir='${exec_prefix}/lib'
798 localedir='${datarootdir}/locale'
799 mandir='${datarootdir}/man'
801 ac_prev=
802 ac_dashdash=
803 for ac_option
805 # If the previous option needs an argument, assign it.
806 if test -n "$ac_prev"; then
807 eval $ac_prev=\$ac_option
808 ac_prev=
809 continue
812 case $ac_option in
813 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
814 *) ac_optarg=yes ;;
815 esac
817 # Accept the important Cygnus configure options, so we can diagnose typos.
819 case $ac_dashdash$ac_option in
821 ac_dashdash=yes ;;
823 -bindir | --bindir | --bindi | --bind | --bin | --bi)
824 ac_prev=bindir ;;
825 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
826 bindir=$ac_optarg ;;
828 -build | --build | --buil | --bui | --bu)
829 ac_prev=build_alias ;;
830 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
831 build_alias=$ac_optarg ;;
833 -cache-file | --cache-file | --cache-fil | --cache-fi \
834 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
835 ac_prev=cache_file ;;
836 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
837 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
838 cache_file=$ac_optarg ;;
840 --config-cache | -C)
841 cache_file=config.cache ;;
843 -datadir | --datadir | --datadi | --datad)
844 ac_prev=datadir ;;
845 -datadir=* | --datadir=* | --datadi=* | --datad=*)
846 datadir=$ac_optarg ;;
848 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
849 | --dataroo | --dataro | --datar)
850 ac_prev=datarootdir ;;
851 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
852 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
853 datarootdir=$ac_optarg ;;
855 -disable-* | --disable-*)
856 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
857 # Reject names that are not valid shell variable names.
858 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
859 as_fn_error "invalid feature name: $ac_useropt"
860 ac_useropt_orig=$ac_useropt
861 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
862 case $ac_user_opts in
864 "enable_$ac_useropt"
865 "*) ;;
866 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
867 ac_unrecognized_sep=', ';;
868 esac
869 eval enable_$ac_useropt=no ;;
871 -docdir | --docdir | --docdi | --doc | --do)
872 ac_prev=docdir ;;
873 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
874 docdir=$ac_optarg ;;
876 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
877 ac_prev=dvidir ;;
878 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
879 dvidir=$ac_optarg ;;
881 -enable-* | --enable-*)
882 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
885 as_fn_error "invalid feature name: $ac_useropt"
886 ac_useropt_orig=$ac_useropt
887 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
888 case $ac_user_opts in
890 "enable_$ac_useropt"
891 "*) ;;
892 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
893 ac_unrecognized_sep=', ';;
894 esac
895 eval enable_$ac_useropt=\$ac_optarg ;;
897 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
898 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
899 | --exec | --exe | --ex)
900 ac_prev=exec_prefix ;;
901 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
902 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
903 | --exec=* | --exe=* | --ex=*)
904 exec_prefix=$ac_optarg ;;
906 -gas | --gas | --ga | --g)
907 # Obsolete; use --with-gas.
908 with_gas=yes ;;
910 -help | --help | --hel | --he | -h)
911 ac_init_help=long ;;
912 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
913 ac_init_help=recursive ;;
914 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
915 ac_init_help=short ;;
917 -host | --host | --hos | --ho)
918 ac_prev=host_alias ;;
919 -host=* | --host=* | --hos=* | --ho=*)
920 host_alias=$ac_optarg ;;
922 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
923 ac_prev=htmldir ;;
924 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
925 | --ht=*)
926 htmldir=$ac_optarg ;;
928 -includedir | --includedir | --includedi | --included | --include \
929 | --includ | --inclu | --incl | --inc)
930 ac_prev=includedir ;;
931 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
932 | --includ=* | --inclu=* | --incl=* | --inc=*)
933 includedir=$ac_optarg ;;
935 -infodir | --infodir | --infodi | --infod | --info | --inf)
936 ac_prev=infodir ;;
937 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
938 infodir=$ac_optarg ;;
940 -libdir | --libdir | --libdi | --libd)
941 ac_prev=libdir ;;
942 -libdir=* | --libdir=* | --libdi=* | --libd=*)
943 libdir=$ac_optarg ;;
945 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
946 | --libexe | --libex | --libe)
947 ac_prev=libexecdir ;;
948 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
949 | --libexe=* | --libex=* | --libe=*)
950 libexecdir=$ac_optarg ;;
952 -localedir | --localedir | --localedi | --localed | --locale)
953 ac_prev=localedir ;;
954 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
955 localedir=$ac_optarg ;;
957 -localstatedir | --localstatedir | --localstatedi | --localstated \
958 | --localstate | --localstat | --localsta | --localst | --locals)
959 ac_prev=localstatedir ;;
960 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
961 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
962 localstatedir=$ac_optarg ;;
964 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
965 ac_prev=mandir ;;
966 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
967 mandir=$ac_optarg ;;
969 -nfp | --nfp | --nf)
970 # Obsolete; use --without-fp.
971 with_fp=no ;;
973 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
974 | --no-cr | --no-c | -n)
975 no_create=yes ;;
977 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
978 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
979 no_recursion=yes ;;
981 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
982 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
983 | --oldin | --oldi | --old | --ol | --o)
984 ac_prev=oldincludedir ;;
985 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
986 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
987 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
988 oldincludedir=$ac_optarg ;;
990 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
991 ac_prev=prefix ;;
992 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
993 prefix=$ac_optarg ;;
995 -program-prefix | --program-prefix | --program-prefi | --program-pref \
996 | --program-pre | --program-pr | --program-p)
997 ac_prev=program_prefix ;;
998 -program-prefix=* | --program-prefix=* | --program-prefi=* \
999 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1000 program_prefix=$ac_optarg ;;
1002 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1003 | --program-suf | --program-su | --program-s)
1004 ac_prev=program_suffix ;;
1005 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1006 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1007 program_suffix=$ac_optarg ;;
1009 -program-transform-name | --program-transform-name \
1010 | --program-transform-nam | --program-transform-na \
1011 | --program-transform-n | --program-transform- \
1012 | --program-transform | --program-transfor \
1013 | --program-transfo | --program-transf \
1014 | --program-trans | --program-tran \
1015 | --progr-tra | --program-tr | --program-t)
1016 ac_prev=program_transform_name ;;
1017 -program-transform-name=* | --program-transform-name=* \
1018 | --program-transform-nam=* | --program-transform-na=* \
1019 | --program-transform-n=* | --program-transform-=* \
1020 | --program-transform=* | --program-transfor=* \
1021 | --program-transfo=* | --program-transf=* \
1022 | --program-trans=* | --program-tran=* \
1023 | --progr-tra=* | --program-tr=* | --program-t=*)
1024 program_transform_name=$ac_optarg ;;
1026 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1027 ac_prev=pdfdir ;;
1028 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1029 pdfdir=$ac_optarg ;;
1031 -psdir | --psdir | --psdi | --psd | --ps)
1032 ac_prev=psdir ;;
1033 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1034 psdir=$ac_optarg ;;
1036 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1037 | -silent | --silent | --silen | --sile | --sil)
1038 silent=yes ;;
1040 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1041 ac_prev=sbindir ;;
1042 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1043 | --sbi=* | --sb=*)
1044 sbindir=$ac_optarg ;;
1046 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1047 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1048 | --sharedst | --shareds | --shared | --share | --shar \
1049 | --sha | --sh)
1050 ac_prev=sharedstatedir ;;
1051 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1052 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1053 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1054 | --sha=* | --sh=*)
1055 sharedstatedir=$ac_optarg ;;
1057 -site | --site | --sit)
1058 ac_prev=site ;;
1059 -site=* | --site=* | --sit=*)
1060 site=$ac_optarg ;;
1062 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1063 ac_prev=srcdir ;;
1064 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1065 srcdir=$ac_optarg ;;
1067 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1068 | --syscon | --sysco | --sysc | --sys | --sy)
1069 ac_prev=sysconfdir ;;
1070 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1071 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1072 sysconfdir=$ac_optarg ;;
1074 -target | --target | --targe | --targ | --tar | --ta | --t)
1075 ac_prev=target_alias ;;
1076 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1077 target_alias=$ac_optarg ;;
1079 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1080 verbose=yes ;;
1082 -version | --version | --versio | --versi | --vers | -V)
1083 ac_init_version=: ;;
1085 -with-* | --with-*)
1086 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089 as_fn_error "invalid package name: $ac_useropt"
1090 ac_useropt_orig=$ac_useropt
1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1094 "with_$ac_useropt"
1095 "*) ;;
1096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1097 ac_unrecognized_sep=', ';;
1098 esac
1099 eval with_$ac_useropt=\$ac_optarg ;;
1101 -without-* | --without-*)
1102 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1105 as_fn_error "invalid package name: $ac_useropt"
1106 ac_useropt_orig=$ac_useropt
1107 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108 case $ac_user_opts in
1110 "with_$ac_useropt"
1111 "*) ;;
1112 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1113 ac_unrecognized_sep=', ';;
1114 esac
1115 eval with_$ac_useropt=no ;;
1117 --x)
1118 # Obsolete; use --with-x.
1119 with_x=yes ;;
1121 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1122 | --x-incl | --x-inc | --x-in | --x-i)
1123 ac_prev=x_includes ;;
1124 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1125 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1126 x_includes=$ac_optarg ;;
1128 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1129 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1130 ac_prev=x_libraries ;;
1131 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1132 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1133 x_libraries=$ac_optarg ;;
1135 -*) as_fn_error "unrecognized option: \`$ac_option'
1136 Try \`$0 --help' for more information."
1139 *=*)
1140 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1141 # Reject names that are not valid shell variable names.
1142 case $ac_envvar in #(
1143 '' | [0-9]* | *[!_$as_cr_alnum]* )
1144 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1145 esac
1146 eval $ac_envvar=\$ac_optarg
1147 export $ac_envvar ;;
1150 # FIXME: should be removed in autoconf 3.0.
1151 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1152 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1153 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1154 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1157 esac
1158 done
1160 if test -n "$ac_prev"; then
1161 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1162 as_fn_error "missing argument to $ac_option"
1165 if test -n "$ac_unrecognized_opts"; then
1166 case $enable_option_checking in
1167 no) ;;
1168 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1169 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1170 esac
1173 # Check all directory arguments for consistency.
1174 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1175 datadir sysconfdir sharedstatedir localstatedir includedir \
1176 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1177 libdir localedir mandir
1179 eval ac_val=\$$ac_var
1180 # Remove trailing slashes.
1181 case $ac_val in
1182 */ )
1183 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1184 eval $ac_var=\$ac_val;;
1185 esac
1186 # Be sure to have absolute directory names.
1187 case $ac_val in
1188 [\\/$]* | ?:[\\/]* ) continue;;
1189 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1190 esac
1191 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1192 done
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1197 build=$build_alias
1198 host=$host_alias
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1208 cross_compiling=yes
1212 ac_tool_prefix=
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 as_fn_error "working directory cannot be determined"
1222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1223 as_fn_error "pwd does not report name of working directory"
1226 # Find the source files, if location was not specified.
1227 if test -z "$srcdir"; then
1228 ac_srcdir_defaulted=yes
1229 # Try the directory containing this script, then the parent directory.
1230 ac_confdir=`$as_dirname -- "$as_myself" ||
1231 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$as_myself" : 'X\(//\)[^/]' \| \
1233 X"$as_myself" : 'X\(//\)$' \| \
1234 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1235 $as_echo X"$as_myself" |
1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1237 s//\1/
1240 /^X\(\/\/\)[^/].*/{
1241 s//\1/
1244 /^X\(\/\/\)$/{
1245 s//\1/
1248 /^X\(\/\).*/{
1249 s//\1/
1252 s/.*/./; q'`
1253 srcdir=$ac_confdir
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1255 srcdir=..
1257 else
1258 ac_srcdir_defaulted=no
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1262 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1264 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1265 ac_abs_confdir=`(
1266 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1267 pwd)`
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1270 srcdir=.
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1275 case $srcdir in
1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277 esac
1278 for ac_var in $ac_precious_vars; do
1279 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_${ac_var}_value=\$${ac_var}
1281 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1283 done
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1291 cat <<_ACEOF
1292 \`configure' configures gimp-lqr-plugin 0.7.0 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1301 Configuration:
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1316 [PREFIX]
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/gimp-lqr-plugin]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1345 _ACEOF
1347 cat <<\_ACEOF
1349 Program names:
1350 --program-prefix=PREFIX prepend PREFIX to installed program names
1351 --program-suffix=SUFFIX append SUFFIX to installed program names
1352 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1353 _ACEOF
1356 if test -n "$ac_init_help"; then
1357 case $ac_init_help in
1358 short | recursive ) echo "Configuration of gimp-lqr-plugin 0.7.0:";;
1359 esac
1360 cat <<\_ACEOF
1362 Optional Features:
1363 --disable-option-checking ignore unrecognized --enable/--with options
1364 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1365 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1366 --disable-dependency-tracking speeds up one-time build
1367 --enable-dependency-tracking do not reject slow dependency extractors
1368 --enable-maintainer-mode enable make rules and dependencies not useful
1369 (and sometimes confusing) to the casual installer
1370 --disable-nls do not use Native Language Support
1372 Some influential environment variables:
1373 CC C compiler command
1374 CFLAGS C compiler flags
1375 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1376 nonstandard directory <lib dir>
1377 LIBS libraries to pass to the linker, e.g. -l<library>
1378 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1379 you have headers in a nonstandard directory <include dir>
1380 CPP C preprocessor
1381 PKG_CONFIG path to pkg-config utility
1382 GIMP_CFLAGS C compiler flags for GIMP, overriding pkg-config
1383 GIMP_LIBS linker flags for GIMP, overriding pkg-config
1384 LQR_CFLAGS C compiler flags for LQR, overriding pkg-config
1385 LQR_LIBS linker flags for LQR, overriding pkg-config
1387 Use these variables to override the choices made by `configure' or to help
1388 it to find libraries and programs with nonstandard names/locations.
1390 Report bugs to the package provider.
1391 _ACEOF
1392 ac_status=$?
1395 if test "$ac_init_help" = "recursive"; then
1396 # If there are subdirs, report their specific --help.
1397 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1398 test -d "$ac_dir" ||
1399 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1400 continue
1401 ac_builddir=.
1403 case "$ac_dir" in
1404 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1406 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1407 # A ".." for each directory in $ac_dir_suffix.
1408 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1409 case $ac_top_builddir_sub in
1410 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1412 esac ;;
1413 esac
1414 ac_abs_top_builddir=$ac_pwd
1415 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1416 # for backward compatibility:
1417 ac_top_builddir=$ac_top_build_prefix
1419 case $srcdir in
1420 .) # We are building in place.
1421 ac_srcdir=.
1422 ac_top_srcdir=$ac_top_builddir_sub
1423 ac_abs_top_srcdir=$ac_pwd ;;
1424 [\\/]* | ?:[\\/]* ) # Absolute name.
1425 ac_srcdir=$srcdir$ac_dir_suffix;
1426 ac_top_srcdir=$srcdir
1427 ac_abs_top_srcdir=$srcdir ;;
1428 *) # Relative name.
1429 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1430 ac_top_srcdir=$ac_top_build_prefix$srcdir
1431 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1432 esac
1433 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1435 cd "$ac_dir" || { ac_status=$?; continue; }
1436 # Check for guested configure.
1437 if test -f "$ac_srcdir/configure.gnu"; then
1438 echo &&
1439 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1440 elif test -f "$ac_srcdir/configure"; then
1441 echo &&
1442 $SHELL "$ac_srcdir/configure" --help=recursive
1443 else
1444 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1445 fi || ac_status=$?
1446 cd "$ac_pwd" || { ac_status=$?; break; }
1447 done
1450 test -n "$ac_init_help" && exit $ac_status
1451 if $ac_init_version; then
1452 cat <<\_ACEOF
1453 gimp-lqr-plugin configure 0.7.0
1454 generated by GNU Autoconf 2.65
1456 Copyright (C) 2009 Free Software Foundation, Inc.
1457 This configure script is free software; the Free Software Foundation
1458 gives unlimited permission to copy, distribute and modify it.
1459 _ACEOF
1460 exit
1463 ## ------------------------ ##
1464 ## Autoconf initialization. ##
1465 ## ------------------------ ##
1467 # ac_fn_c_try_compile LINENO
1468 # --------------------------
1469 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1470 ac_fn_c_try_compile ()
1472 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1473 rm -f conftest.$ac_objext
1474 if { { ac_try="$ac_compile"
1475 case "(($ac_try" in
1476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1477 *) ac_try_echo=$ac_try;;
1478 esac
1479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1480 $as_echo "$ac_try_echo"; } >&5
1481 (eval "$ac_compile") 2>conftest.err
1482 ac_status=$?
1483 if test -s conftest.err; then
1484 grep -v '^ *+' conftest.err >conftest.er1
1485 cat conftest.er1 >&5
1486 mv -f conftest.er1 conftest.err
1488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1489 test $ac_status = 0; } && {
1490 test -z "$ac_c_werror_flag" ||
1491 test ! -s conftest.err
1492 } && test -s conftest.$ac_objext; then :
1493 ac_retval=0
1494 else
1495 $as_echo "$as_me: failed program was:" >&5
1496 sed 's/^/| /' conftest.$ac_ext >&5
1498 ac_retval=1
1500 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1501 as_fn_set_status $ac_retval
1503 } # ac_fn_c_try_compile
1505 # ac_fn_c_try_cpp LINENO
1506 # ----------------------
1507 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1508 ac_fn_c_try_cpp ()
1510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1511 if { { ac_try="$ac_cpp conftest.$ac_ext"
1512 case "(($ac_try" in
1513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1514 *) ac_try_echo=$ac_try;;
1515 esac
1516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1517 $as_echo "$ac_try_echo"; } >&5
1518 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1519 ac_status=$?
1520 if test -s conftest.err; then
1521 grep -v '^ *+' conftest.err >conftest.er1
1522 cat conftest.er1 >&5
1523 mv -f conftest.er1 conftest.err
1525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1526 test $ac_status = 0; } >/dev/null && {
1527 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1528 test ! -s conftest.err
1529 }; then :
1530 ac_retval=0
1531 else
1532 $as_echo "$as_me: failed program was:" >&5
1533 sed 's/^/| /' conftest.$ac_ext >&5
1535 ac_retval=1
1537 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1538 as_fn_set_status $ac_retval
1540 } # ac_fn_c_try_cpp
1542 # ac_fn_c_try_run LINENO
1543 # ----------------------
1544 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1545 # that executables *can* be run.
1546 ac_fn_c_try_run ()
1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1549 if { { ac_try="$ac_link"
1550 case "(($ac_try" in
1551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1552 *) ac_try_echo=$ac_try;;
1553 esac
1554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1555 $as_echo "$ac_try_echo"; } >&5
1556 (eval "$ac_link") 2>&5
1557 ac_status=$?
1558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1559 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1560 { { case "(($ac_try" in
1561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1562 *) ac_try_echo=$ac_try;;
1563 esac
1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565 $as_echo "$ac_try_echo"; } >&5
1566 (eval "$ac_try") 2>&5
1567 ac_status=$?
1568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1569 test $ac_status = 0; }; }; then :
1570 ac_retval=0
1571 else
1572 $as_echo "$as_me: program exited with status $ac_status" >&5
1573 $as_echo "$as_me: failed program was:" >&5
1574 sed 's/^/| /' conftest.$ac_ext >&5
1576 ac_retval=$ac_status
1578 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1579 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1580 as_fn_set_status $ac_retval
1582 } # ac_fn_c_try_run
1584 # ac_fn_c_try_link LINENO
1585 # -----------------------
1586 # Try to link conftest.$ac_ext, and return whether this succeeded.
1587 ac_fn_c_try_link ()
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 rm -f conftest.$ac_objext conftest$ac_exeext
1591 if { { ac_try="$ac_link"
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>conftest.err
1599 ac_status=$?
1600 if test -s conftest.err; then
1601 grep -v '^ *+' conftest.err >conftest.er1
1602 cat conftest.er1 >&5
1603 mv -f conftest.er1 conftest.err
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } && {
1607 test -z "$ac_c_werror_flag" ||
1608 test ! -s conftest.err
1609 } && test -s conftest$ac_exeext && {
1610 test "$cross_compiling" = yes ||
1611 $as_test_x conftest$ac_exeext
1612 }; then :
1613 ac_retval=0
1614 else
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.$ac_ext >&5
1618 ac_retval=1
1620 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1621 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1622 # interfere with the next link command; also delete a directory that is
1623 # left behind by Apple's compiler. We do this before executing the actions.
1624 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1625 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1626 as_fn_set_status $ac_retval
1628 } # ac_fn_c_try_link
1630 # ac_fn_c_check_func LINENO FUNC VAR
1631 # ----------------------------------
1632 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1633 ac_fn_c_check_func ()
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1637 $as_echo_n "checking for $2... " >&6; }
1638 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1639 $as_echo_n "(cached) " >&6
1640 else
1641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642 /* end confdefs.h. */
1643 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1645 #define $2 innocuous_$2
1647 /* System header to define __stub macros and hopefully few prototypes,
1648 which can conflict with char $2 (); below.
1649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1650 <limits.h> exists even on freestanding compilers. */
1652 #ifdef __STDC__
1653 # include <limits.h>
1654 #else
1655 # include <assert.h>
1656 #endif
1658 #undef $2
1660 /* Override any GCC internal prototype to avoid an error.
1661 Use char because int might match the return type of a GCC
1662 builtin and then its argument prototype would still apply. */
1663 #ifdef __cplusplus
1664 extern "C"
1665 #endif
1666 char $2 ();
1667 /* The GNU C library defines this for functions which it implements
1668 to always fail with ENOSYS. Some functions are actually named
1669 something starting with __ and the normal name is an alias. */
1670 #if defined __stub_$2 || defined __stub___$2
1671 choke me
1672 #endif
1675 main ()
1677 return $2 ();
1679 return 0;
1681 _ACEOF
1682 if ac_fn_c_try_link "$LINENO"; then :
1683 eval "$3=yes"
1684 else
1685 eval "$3=no"
1687 rm -f core conftest.err conftest.$ac_objext \
1688 conftest$ac_exeext conftest.$ac_ext
1690 eval ac_res=\$$3
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1693 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1695 } # ac_fn_c_check_func
1697 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1698 # -------------------------------------------------------
1699 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1700 # the include files in INCLUDES and setting the cache variable VAR
1701 # accordingly.
1702 ac_fn_c_check_header_mongrel ()
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707 $as_echo_n "checking for $2... " >&6; }
1708 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1709 $as_echo_n "(cached) " >&6
1711 eval ac_res=\$$3
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1713 $as_echo "$ac_res" >&6; }
1714 else
1715 # Is the header compilable?
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1717 $as_echo_n "checking $2 usability... " >&6; }
1718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1719 /* end confdefs.h. */
1721 #include <$2>
1722 _ACEOF
1723 if ac_fn_c_try_compile "$LINENO"; then :
1724 ac_header_compiler=yes
1725 else
1726 ac_header_compiler=no
1728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1730 $as_echo "$ac_header_compiler" >&6; }
1732 # Is the header present?
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1734 $as_echo_n "checking $2 presence... " >&6; }
1735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1736 /* end confdefs.h. */
1737 #include <$2>
1738 _ACEOF
1739 if ac_fn_c_try_cpp "$LINENO"; then :
1740 ac_header_preproc=yes
1741 else
1742 ac_header_preproc=no
1744 rm -f conftest.err conftest.$ac_ext
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1746 $as_echo "$ac_header_preproc" >&6; }
1748 # So? What about this header?
1749 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1750 yes:no: )
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1752 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1754 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1756 no:yes:* )
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1758 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1760 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1762 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1764 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1766 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1768 esac
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770 $as_echo_n "checking for $2... " >&6; }
1771 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1772 $as_echo_n "(cached) " >&6
1773 else
1774 eval "$3=\$ac_header_compiler"
1776 eval ac_res=\$$3
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778 $as_echo "$ac_res" >&6; }
1780 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1782 } # ac_fn_c_check_header_mongrel
1784 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1785 # -------------------------------------------------------
1786 # Tests whether HEADER exists and can be compiled using the include files in
1787 # INCLUDES, setting the cache variable VAR accordingly.
1788 ac_fn_c_check_header_compile ()
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1792 $as_echo_n "checking for $2... " >&6; }
1793 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1794 $as_echo_n "(cached) " >&6
1795 else
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1799 #include <$2>
1800 _ACEOF
1801 if ac_fn_c_try_compile "$LINENO"; then :
1802 eval "$3=yes"
1803 else
1804 eval "$3=no"
1806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1808 eval ac_res=\$$3
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1810 $as_echo "$ac_res" >&6; }
1811 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1813 } # ac_fn_c_check_header_compile
1814 cat >config.log <<_ACEOF
1815 This file contains any messages produced by compilers while
1816 running configure, to aid debugging if configure makes a mistake.
1818 It was created by gimp-lqr-plugin $as_me 0.7.0, which was
1819 generated by GNU Autoconf 2.65. Invocation command line was
1821 $ $0 $@
1823 _ACEOF
1824 exec 5>>config.log
1826 cat <<_ASUNAME
1827 ## --------- ##
1828 ## Platform. ##
1829 ## --------- ##
1831 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1832 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1833 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1834 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1835 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1837 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1838 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1840 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1841 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1842 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1843 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1844 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1845 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1846 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1848 _ASUNAME
1850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1851 for as_dir in $PATH
1853 IFS=$as_save_IFS
1854 test -z "$as_dir" && as_dir=.
1855 $as_echo "PATH: $as_dir"
1856 done
1857 IFS=$as_save_IFS
1859 } >&5
1861 cat >&5 <<_ACEOF
1864 ## ----------- ##
1865 ## Core tests. ##
1866 ## ----------- ##
1868 _ACEOF
1871 # Keep a trace of the command line.
1872 # Strip out --no-create and --no-recursion so they do not pile up.
1873 # Strip out --silent because we don't want to record it for future runs.
1874 # Also quote any args containing shell meta-characters.
1875 # Make two passes to allow for proper duplicate-argument suppression.
1876 ac_configure_args=
1877 ac_configure_args0=
1878 ac_configure_args1=
1879 ac_must_keep_next=false
1880 for ac_pass in 1 2
1882 for ac_arg
1884 case $ac_arg in
1885 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1886 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1887 | -silent | --silent | --silen | --sile | --sil)
1888 continue ;;
1889 *\'*)
1890 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1891 esac
1892 case $ac_pass in
1893 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1895 as_fn_append ac_configure_args1 " '$ac_arg'"
1896 if test $ac_must_keep_next = true; then
1897 ac_must_keep_next=false # Got value, back to normal.
1898 else
1899 case $ac_arg in
1900 *=* | --config-cache | -C | -disable-* | --disable-* \
1901 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1902 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1903 | -with-* | --with-* | -without-* | --without-* | --x)
1904 case "$ac_configure_args0 " in
1905 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1906 esac
1908 -* ) ac_must_keep_next=true ;;
1909 esac
1911 as_fn_append ac_configure_args " '$ac_arg'"
1913 esac
1914 done
1915 done
1916 { ac_configure_args0=; unset ac_configure_args0;}
1917 { ac_configure_args1=; unset ac_configure_args1;}
1919 # When interrupted or exit'd, cleanup temporary files, and complete
1920 # config.log. We remove comments because anyway the quotes in there
1921 # would cause problems or look ugly.
1922 # WARNING: Use '\'' to represent an apostrophe within the trap.
1923 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1924 trap 'exit_status=$?
1925 # Save into config.log some information that might help in debugging.
1927 echo
1929 cat <<\_ASBOX
1930 ## ---------------- ##
1931 ## Cache variables. ##
1932 ## ---------------- ##
1933 _ASBOX
1934 echo
1935 # The following way of writing the cache mishandles newlines in values,
1937 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1938 eval ac_val=\$$ac_var
1939 case $ac_val in #(
1940 *${as_nl}*)
1941 case $ac_var in #(
1942 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1943 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1944 esac
1945 case $ac_var in #(
1946 _ | IFS | as_nl) ;; #(
1947 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1948 *) { eval $ac_var=; unset $ac_var;} ;;
1949 esac ;;
1950 esac
1951 done
1952 (set) 2>&1 |
1953 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1954 *${as_nl}ac_space=\ *)
1955 sed -n \
1956 "s/'\''/'\''\\\\'\'''\''/g;
1957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1958 ;; #(
1960 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1962 esac |
1963 sort
1965 echo
1967 cat <<\_ASBOX
1968 ## ----------------- ##
1969 ## Output variables. ##
1970 ## ----------------- ##
1971 _ASBOX
1972 echo
1973 for ac_var in $ac_subst_vars
1975 eval ac_val=\$$ac_var
1976 case $ac_val in
1977 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1978 esac
1979 $as_echo "$ac_var='\''$ac_val'\''"
1980 done | sort
1981 echo
1983 if test -n "$ac_subst_files"; then
1984 cat <<\_ASBOX
1985 ## ------------------- ##
1986 ## File substitutions. ##
1987 ## ------------------- ##
1988 _ASBOX
1989 echo
1990 for ac_var in $ac_subst_files
1992 eval ac_val=\$$ac_var
1993 case $ac_val in
1994 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1995 esac
1996 $as_echo "$ac_var='\''$ac_val'\''"
1997 done | sort
1998 echo
2001 if test -s confdefs.h; then
2002 cat <<\_ASBOX
2003 ## ----------- ##
2004 ## confdefs.h. ##
2005 ## ----------- ##
2006 _ASBOX
2007 echo
2008 cat confdefs.h
2009 echo
2011 test "$ac_signal" != 0 &&
2012 $as_echo "$as_me: caught signal $ac_signal"
2013 $as_echo "$as_me: exit $exit_status"
2014 } >&5
2015 rm -f core *.core core.conftest.* &&
2016 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2017 exit $exit_status
2019 for ac_signal in 1 2 13 15; do
2020 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2021 done
2022 ac_signal=0
2024 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2025 rm -f -r conftest* confdefs.h
2027 $as_echo "/* confdefs.h */" > confdefs.h
2029 # Predefined preprocessor variables.
2031 cat >>confdefs.h <<_ACEOF
2032 #define PACKAGE_NAME "$PACKAGE_NAME"
2033 _ACEOF
2035 cat >>confdefs.h <<_ACEOF
2036 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2037 _ACEOF
2039 cat >>confdefs.h <<_ACEOF
2040 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2041 _ACEOF
2043 cat >>confdefs.h <<_ACEOF
2044 #define PACKAGE_STRING "$PACKAGE_STRING"
2045 _ACEOF
2047 cat >>confdefs.h <<_ACEOF
2048 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2049 _ACEOF
2051 cat >>confdefs.h <<_ACEOF
2052 #define PACKAGE_URL "$PACKAGE_URL"
2053 _ACEOF
2056 # Let the site file select an alternate cache file if it wants to.
2057 # Prefer an explicitly selected file to automatically selected ones.
2058 ac_site_file1=NONE
2059 ac_site_file2=NONE
2060 if test -n "$CONFIG_SITE"; then
2061 ac_site_file1=$CONFIG_SITE
2062 elif test "x$prefix" != xNONE; then
2063 ac_site_file1=$prefix/share/config.site
2064 ac_site_file2=$prefix/etc/config.site
2065 else
2066 ac_site_file1=$ac_default_prefix/share/config.site
2067 ac_site_file2=$ac_default_prefix/etc/config.site
2069 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2071 test "x$ac_site_file" = xNONE && continue
2072 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2074 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2075 sed 's/^/| /' "$ac_site_file" >&5
2076 . "$ac_site_file"
2078 done
2080 if test -r "$cache_file"; then
2081 # Some versions of bash will fail to source /dev/null (special files
2082 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2083 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2085 $as_echo "$as_me: loading cache $cache_file" >&6;}
2086 case $cache_file in
2087 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2088 *) . "./$cache_file";;
2089 esac
2091 else
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2093 $as_echo "$as_me: creating cache $cache_file" >&6;}
2094 >$cache_file
2097 # Check that the precious variables saved in the cache have kept the same
2098 # value.
2099 ac_cache_corrupted=false
2100 for ac_var in $ac_precious_vars; do
2101 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2102 eval ac_new_set=\$ac_env_${ac_var}_set
2103 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2104 eval ac_new_val=\$ac_env_${ac_var}_value
2105 case $ac_old_set,$ac_new_set in
2106 set,)
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2108 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2109 ac_cache_corrupted=: ;;
2110 ,set)
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2112 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2113 ac_cache_corrupted=: ;;
2114 ,);;
2116 if test "x$ac_old_val" != "x$ac_new_val"; then
2117 # differences in whitespace do not lead to failure.
2118 ac_old_val_w=`echo x $ac_old_val`
2119 ac_new_val_w=`echo x $ac_new_val`
2120 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2122 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2123 ac_cache_corrupted=:
2124 else
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2126 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2127 eval $ac_var=\$ac_old_val
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2130 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2132 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2133 fi;;
2134 esac
2135 # Pass precious variables to config.status.
2136 if test "$ac_new_set" = set; then
2137 case $ac_new_val in
2138 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2139 *) ac_arg=$ac_var=$ac_new_val ;;
2140 esac
2141 case " $ac_configure_args " in
2142 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2143 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2144 esac
2146 done
2147 if $ac_cache_corrupted; then
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2151 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2152 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2154 ## -------------------- ##
2155 ## Main body of script. ##
2156 ## -------------------- ##
2158 ac_ext=c
2159 ac_cpp='$CPP $CPPFLAGS'
2160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2167 $as_echo "#define PLUGIN_NAME PACKAGE_NAME" >>confdefs.h
2170 $as_echo "#define PLUGIN_VERSION PACKAGE_VERSION" >>confdefs.h
2174 $as_echo "#define PLUGIN_MAJOR_VERSION 0" >>confdefs.h
2177 $as_echo "#define PLUGIN_MINOR_VERSION 7" >>confdefs.h
2180 $as_echo "#define PLUGIN_MICRO_VERSION 0" >>confdefs.h
2184 ac_config_headers="$ac_config_headers config.h"
2187 am__api_version="1.9"
2188 ac_aux_dir=
2189 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2190 for ac_t in install-sh install.sh shtool; do
2191 if test -f "$ac_dir/$ac_t"; then
2192 ac_aux_dir=$ac_dir
2193 ac_install_sh="$ac_aux_dir/$ac_t -c"
2194 break 2
2196 done
2197 done
2198 if test -z "$ac_aux_dir"; then
2199 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2202 # These three variables are undocumented and unsupported,
2203 # and are intended to be withdrawn in a future Autoconf release.
2204 # They can cause serious problems if a builder's source tree is in a directory
2205 # whose full name contains unusual characters.
2206 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2207 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2208 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2211 # Find a good install program. We prefer a C program (faster),
2212 # so one script is as good as another. But avoid the broken or
2213 # incompatible versions:
2214 # SysV /etc/install, /usr/sbin/install
2215 # SunOS /usr/etc/install
2216 # IRIX /sbin/install
2217 # AIX /bin/install
2218 # AmigaOS /C/install, which installs bootblocks on floppy discs
2219 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2220 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2221 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2222 # OS/2's system install, which has a completely different semantic
2223 # ./install, which can be erroneously created by make from ./install.sh.
2224 # Reject install programs that cannot install multiple files.
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2226 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2227 if test -z "$INSTALL"; then
2228 if test "${ac_cv_path_install+set}" = set; then :
2229 $as_echo_n "(cached) " >&6
2230 else
2231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2232 for as_dir in $PATH
2234 IFS=$as_save_IFS
2235 test -z "$as_dir" && as_dir=.
2236 # Account for people who put trailing slashes in PATH elements.
2237 case $as_dir/ in #((
2238 ./ | .// | /[cC]/* | \
2239 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2240 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2241 /usr/ucb/* ) ;;
2243 # OSF1 and SCO ODT 3.0 have their own names for install.
2244 # Don't use installbsd from OSF since it installs stuff as root
2245 # by default.
2246 for ac_prog in ginstall scoinst install; do
2247 for ac_exec_ext in '' $ac_executable_extensions; do
2248 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2249 if test $ac_prog = install &&
2250 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2251 # AIX install. It has an incompatible calling convention.
2253 elif test $ac_prog = install &&
2254 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2255 # program-specific install script used by HP pwplus--don't use.
2257 else
2258 rm -rf conftest.one conftest.two conftest.dir
2259 echo one > conftest.one
2260 echo two > conftest.two
2261 mkdir conftest.dir
2262 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2263 test -s conftest.one && test -s conftest.two &&
2264 test -s conftest.dir/conftest.one &&
2265 test -s conftest.dir/conftest.two
2266 then
2267 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2268 break 3
2272 done
2273 done
2275 esac
2277 done
2278 IFS=$as_save_IFS
2280 rm -rf conftest.one conftest.two conftest.dir
2283 if test "${ac_cv_path_install+set}" = set; then
2284 INSTALL=$ac_cv_path_install
2285 else
2286 # As a last resort, use the slow shell script. Don't cache a
2287 # value for INSTALL within a source directory, because that will
2288 # break other packages using the cache if that directory is
2289 # removed, or if the value is a relative name.
2290 INSTALL=$ac_install_sh
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2294 $as_echo "$INSTALL" >&6; }
2296 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2297 # It thinks the first close brace ends the variable substitution.
2298 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2300 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2302 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2305 $as_echo_n "checking whether build environment is sane... " >&6; }
2306 # Just in case
2307 sleep 1
2308 echo timestamp > conftest.file
2309 # Do `set' in a subshell so we don't clobber the current shell's
2310 # arguments. Must try -L first in case configure is actually a
2311 # symlink; some systems play weird games with the mod time of symlinks
2312 # (eg FreeBSD returns the mod time of the symlink's containing
2313 # directory).
2314 if (
2315 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2316 if test "$*" = "X"; then
2317 # -L didn't work.
2318 set X `ls -t $srcdir/configure conftest.file`
2320 rm -f conftest.file
2321 if test "$*" != "X $srcdir/configure conftest.file" \
2322 && test "$*" != "X conftest.file $srcdir/configure"; then
2324 # If neither matched, then we have a broken ls. This can happen
2325 # if, for instance, CONFIG_SHELL is bash and it inherits a
2326 # broken ls alias from the environment. This has actually
2327 # happened. Such a system could not be considered "sane".
2328 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2329 alias in your environment" "$LINENO" 5
2332 test "$2" = conftest.file
2334 then
2335 # Ok.
2337 else
2338 as_fn_error "newly created file is older than distributed files!
2339 Check your system clock" "$LINENO" 5
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2342 $as_echo "yes" >&6; }
2343 test "$program_prefix" != NONE &&
2344 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2345 # Use a double $ so make ignores it.
2346 test "$program_suffix" != NONE &&
2347 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2348 # Double any \ or $.
2349 # By default was `s,x,x', remove it if useless.
2350 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2351 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2353 # expand $ac_aux_dir to an absolute path
2354 am_aux_dir=`cd $ac_aux_dir && pwd`
2356 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2357 # Use eval to expand $SHELL
2358 if eval "$MISSING --run true"; then
2359 am_missing_run="$MISSING --run "
2360 else
2361 am_missing_run=
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2363 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2366 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2367 # We used to keeping the `.' as first argument, in order to
2368 # allow $(mkdir_p) to be used without argument. As in
2369 # $(mkdir_p) $(somedir)
2370 # where $(somedir) is conditionally defined. However this is wrong
2371 # for two reasons:
2372 # 1. if the package is installed by a user who cannot write `.'
2373 # make install will fail,
2374 # 2. the above comment should most certainly read
2375 # $(mkdir_p) $(DESTDIR)$(somedir)
2376 # so it does not work when $(somedir) is undefined and
2377 # $(DESTDIR) is not.
2378 # To support the latter case, we have to write
2379 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2380 # so the `.' trick is pointless.
2381 mkdir_p='mkdir -p --'
2382 else
2383 # On NextStep and OpenStep, the `mkdir' command does not
2384 # recognize any option. It will interpret all options as
2385 # directories to create, and then abort because `.' already
2386 # exists.
2387 for d in ./-p ./--version;
2389 test -d $d && rmdir $d
2390 done
2391 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2392 if test -f "$ac_aux_dir/mkinstalldirs"; then
2393 mkdir_p='$(mkinstalldirs)'
2394 else
2395 mkdir_p='$(install_sh) -d'
2399 for ac_prog in gawk mawk nawk awk
2401 # Extract the first word of "$ac_prog", so it can be a program name with args.
2402 set dummy $ac_prog; ac_word=$2
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2404 $as_echo_n "checking for $ac_word... " >&6; }
2405 if test "${ac_cv_prog_AWK+set}" = set; then :
2406 $as_echo_n "(cached) " >&6
2407 else
2408 if test -n "$AWK"; then
2409 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2410 else
2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412 for as_dir in $PATH
2414 IFS=$as_save_IFS
2415 test -z "$as_dir" && as_dir=.
2416 for ac_exec_ext in '' $ac_executable_extensions; do
2417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2418 ac_cv_prog_AWK="$ac_prog"
2419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 break 2
2422 done
2423 done
2424 IFS=$as_save_IFS
2428 AWK=$ac_cv_prog_AWK
2429 if test -n "$AWK"; then
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2431 $as_echo "$AWK" >&6; }
2432 else
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2434 $as_echo "no" >&6; }
2438 test -n "$AWK" && break
2439 done
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2442 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2443 set x ${MAKE-make}
2444 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2445 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2446 $as_echo_n "(cached) " >&6
2447 else
2448 cat >conftest.make <<\_ACEOF
2449 SHELL = /bin/sh
2450 all:
2451 @echo '@@@%%%=$(MAKE)=@@@%%%'
2452 _ACEOF
2453 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2454 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2455 *@@@%%%=?*=@@@%%%*)
2456 eval ac_cv_prog_make_${ac_make}_set=yes;;
2458 eval ac_cv_prog_make_${ac_make}_set=no;;
2459 esac
2460 rm -f conftest.make
2462 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2464 $as_echo "yes" >&6; }
2465 SET_MAKE=
2466 else
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2468 $as_echo "no" >&6; }
2469 SET_MAKE="MAKE=${MAKE-make}"
2472 rm -rf .tst 2>/dev/null
2473 mkdir .tst 2>/dev/null
2474 if test -d .tst; then
2475 am__leading_dot=.
2476 else
2477 am__leading_dot=_
2479 rmdir .tst 2>/dev/null
2481 # test to see if srcdir already configured
2482 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2483 test -f $srcdir/config.status; then
2484 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2487 # test whether we have cygpath
2488 if test -z "$CYGPATH_W"; then
2489 if (cygpath --version) >/dev/null 2>/dev/null; then
2490 CYGPATH_W='cygpath -w'
2491 else
2492 CYGPATH_W=echo
2497 # Define the identity of the package.
2498 PACKAGE='gimp-lqr-plugin'
2499 VERSION='0.7.0'
2502 # Some tools Automake needs.
2504 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2507 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2510 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2513 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2516 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2518 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2520 # Installed binaries are usually stripped using `strip' when the user
2521 # run `make install-strip'. However `strip' might not be the right
2522 # tool to use in cross-compilation environments, therefore Automake
2523 # will honor the `STRIP' environment variable to overrule this program.
2524 if test "$cross_compiling" != no; then
2525 if test -n "$ac_tool_prefix"; then
2526 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2527 set dummy ${ac_tool_prefix}strip; ac_word=$2
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2529 $as_echo_n "checking for $ac_word... " >&6; }
2530 if test "${ac_cv_prog_STRIP+set}" = set; then :
2531 $as_echo_n "(cached) " >&6
2532 else
2533 if test -n "$STRIP"; then
2534 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2535 else
2536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 for as_dir in $PATH
2539 IFS=$as_save_IFS
2540 test -z "$as_dir" && as_dir=.
2541 for ac_exec_ext in '' $ac_executable_extensions; do
2542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2543 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2545 break 2
2547 done
2548 done
2549 IFS=$as_save_IFS
2553 STRIP=$ac_cv_prog_STRIP
2554 if test -n "$STRIP"; then
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2556 $as_echo "$STRIP" >&6; }
2557 else
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2559 $as_echo "no" >&6; }
2564 if test -z "$ac_cv_prog_STRIP"; then
2565 ac_ct_STRIP=$STRIP
2566 # Extract the first word of "strip", so it can be a program name with args.
2567 set dummy strip; ac_word=$2
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 $as_echo_n "checking for $ac_word... " >&6; }
2570 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2571 $as_echo_n "(cached) " >&6
2572 else
2573 if test -n "$ac_ct_STRIP"; then
2574 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2575 else
2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 for as_dir in $PATH
2579 IFS=$as_save_IFS
2580 test -z "$as_dir" && as_dir=.
2581 for ac_exec_ext in '' $ac_executable_extensions; do
2582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2583 ac_cv_prog_ac_ct_STRIP="strip"
2584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2585 break 2
2587 done
2588 done
2589 IFS=$as_save_IFS
2593 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2594 if test -n "$ac_ct_STRIP"; then
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2596 $as_echo "$ac_ct_STRIP" >&6; }
2597 else
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2602 if test "x$ac_ct_STRIP" = x; then
2603 STRIP=":"
2604 else
2605 case $cross_compiling:$ac_tool_warned in
2606 yes:)
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2608 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2609 ac_tool_warned=yes ;;
2610 esac
2611 STRIP=$ac_ct_STRIP
2613 else
2614 STRIP="$ac_cv_prog_STRIP"
2618 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2620 # We need awk for the "check" target. The system "awk" is bad on
2621 # some platforms.
2622 # Always define AMTAR for backward compatibility.
2624 AMTAR=${AMTAR-"${am_missing_run}tar"}
2626 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2633 ac_ext=c
2634 ac_cpp='$CPP $CPPFLAGS'
2635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2638 if test -n "$ac_tool_prefix"; then
2639 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2640 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2642 $as_echo_n "checking for $ac_word... " >&6; }
2643 if test "${ac_cv_prog_CC+set}" = set; then :
2644 $as_echo_n "(cached) " >&6
2645 else
2646 if test -n "$CC"; then
2647 ac_cv_prog_CC="$CC" # Let the user override the test.
2648 else
2649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2650 for as_dir in $PATH
2652 IFS=$as_save_IFS
2653 test -z "$as_dir" && as_dir=.
2654 for ac_exec_ext in '' $ac_executable_extensions; do
2655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2656 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2658 break 2
2660 done
2661 done
2662 IFS=$as_save_IFS
2666 CC=$ac_cv_prog_CC
2667 if test -n "$CC"; then
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2669 $as_echo "$CC" >&6; }
2670 else
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2672 $as_echo "no" >&6; }
2677 if test -z "$ac_cv_prog_CC"; then
2678 ac_ct_CC=$CC
2679 # Extract the first word of "gcc", so it can be a program name with args.
2680 set dummy gcc; ac_word=$2
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2682 $as_echo_n "checking for $ac_word... " >&6; }
2683 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2684 $as_echo_n "(cached) " >&6
2685 else
2686 if test -n "$ac_ct_CC"; then
2687 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2688 else
2689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690 for as_dir in $PATH
2692 IFS=$as_save_IFS
2693 test -z "$as_dir" && as_dir=.
2694 for ac_exec_ext in '' $ac_executable_extensions; do
2695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2696 ac_cv_prog_ac_ct_CC="gcc"
2697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2698 break 2
2700 done
2701 done
2702 IFS=$as_save_IFS
2706 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2707 if test -n "$ac_ct_CC"; then
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2709 $as_echo "$ac_ct_CC" >&6; }
2710 else
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2712 $as_echo "no" >&6; }
2715 if test "x$ac_ct_CC" = x; then
2716 CC=""
2717 else
2718 case $cross_compiling:$ac_tool_warned in
2719 yes:)
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2722 ac_tool_warned=yes ;;
2723 esac
2724 CC=$ac_ct_CC
2726 else
2727 CC="$ac_cv_prog_CC"
2730 if test -z "$CC"; then
2731 if test -n "$ac_tool_prefix"; then
2732 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2733 set dummy ${ac_tool_prefix}cc; ac_word=$2
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735 $as_echo_n "checking for $ac_word... " >&6; }
2736 if test "${ac_cv_prog_CC+set}" = set; then :
2737 $as_echo_n "(cached) " >&6
2738 else
2739 if test -n "$CC"; then
2740 ac_cv_prog_CC="$CC" # Let the user override the test.
2741 else
2742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743 for as_dir in $PATH
2745 IFS=$as_save_IFS
2746 test -z "$as_dir" && as_dir=.
2747 for ac_exec_ext in '' $ac_executable_extensions; do
2748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2749 ac_cv_prog_CC="${ac_tool_prefix}cc"
2750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2751 break 2
2753 done
2754 done
2755 IFS=$as_save_IFS
2759 CC=$ac_cv_prog_CC
2760 if test -n "$CC"; then
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2762 $as_echo "$CC" >&6; }
2763 else
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765 $as_echo "no" >&6; }
2771 if test -z "$CC"; then
2772 # Extract the first word of "cc", so it can be a program name with args.
2773 set dummy cc; ac_word=$2
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2775 $as_echo_n "checking for $ac_word... " >&6; }
2776 if test "${ac_cv_prog_CC+set}" = set; then :
2777 $as_echo_n "(cached) " >&6
2778 else
2779 if test -n "$CC"; then
2780 ac_cv_prog_CC="$CC" # Let the user override the test.
2781 else
2782 ac_prog_rejected=no
2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2784 for as_dir in $PATH
2786 IFS=$as_save_IFS
2787 test -z "$as_dir" && as_dir=.
2788 for ac_exec_ext in '' $ac_executable_extensions; do
2789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2790 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2791 ac_prog_rejected=yes
2792 continue
2794 ac_cv_prog_CC="cc"
2795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2796 break 2
2798 done
2799 done
2800 IFS=$as_save_IFS
2802 if test $ac_prog_rejected = yes; then
2803 # We found a bogon in the path, so make sure we never use it.
2804 set dummy $ac_cv_prog_CC
2805 shift
2806 if test $# != 0; then
2807 # We chose a different compiler from the bogus one.
2808 # However, it has the same basename, so the bogon will be chosen
2809 # first if we set CC to just the basename; use the full file name.
2810 shift
2811 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2816 CC=$ac_cv_prog_CC
2817 if test -n "$CC"; then
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2819 $as_echo "$CC" >&6; }
2820 else
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2822 $as_echo "no" >&6; }
2827 if test -z "$CC"; then
2828 if test -n "$ac_tool_prefix"; then
2829 for ac_prog in cl.exe
2831 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2832 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2834 $as_echo_n "checking for $ac_word... " >&6; }
2835 if test "${ac_cv_prog_CC+set}" = set; then :
2836 $as_echo_n "(cached) " >&6
2837 else
2838 if test -n "$CC"; then
2839 ac_cv_prog_CC="$CC" # Let the user override the test.
2840 else
2841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2842 for as_dir in $PATH
2844 IFS=$as_save_IFS
2845 test -z "$as_dir" && as_dir=.
2846 for ac_exec_ext in '' $ac_executable_extensions; do
2847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2848 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 break 2
2852 done
2853 done
2854 IFS=$as_save_IFS
2858 CC=$ac_cv_prog_CC
2859 if test -n "$CC"; then
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2861 $as_echo "$CC" >&6; }
2862 else
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2864 $as_echo "no" >&6; }
2868 test -n "$CC" && break
2869 done
2871 if test -z "$CC"; then
2872 ac_ct_CC=$CC
2873 for ac_prog in cl.exe
2875 # Extract the first word of "$ac_prog", so it can be a program name with args.
2876 set dummy $ac_prog; ac_word=$2
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2878 $as_echo_n "checking for $ac_word... " >&6; }
2879 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2880 $as_echo_n "(cached) " >&6
2881 else
2882 if test -n "$ac_ct_CC"; then
2883 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2884 else
2885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2886 for as_dir in $PATH
2888 IFS=$as_save_IFS
2889 test -z "$as_dir" && as_dir=.
2890 for ac_exec_ext in '' $ac_executable_extensions; do
2891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2892 ac_cv_prog_ac_ct_CC="$ac_prog"
2893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2894 break 2
2896 done
2897 done
2898 IFS=$as_save_IFS
2902 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2903 if test -n "$ac_ct_CC"; then
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2905 $as_echo "$ac_ct_CC" >&6; }
2906 else
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2908 $as_echo "no" >&6; }
2912 test -n "$ac_ct_CC" && break
2913 done
2915 if test "x$ac_ct_CC" = x; then
2916 CC=""
2917 else
2918 case $cross_compiling:$ac_tool_warned in
2919 yes:)
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2922 ac_tool_warned=yes ;;
2923 esac
2924 CC=$ac_ct_CC
2931 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2933 as_fn_error "no acceptable C compiler found in \$PATH
2934 See \`config.log' for more details." "$LINENO" 5; }
2936 # Provide some information about the compiler.
2937 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2938 set X $ac_compile
2939 ac_compiler=$2
2940 for ac_option in --version -v -V -qversion; do
2941 { { ac_try="$ac_compiler $ac_option >&5"
2942 case "(($ac_try" in
2943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2945 esac
2946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2947 $as_echo "$ac_try_echo"; } >&5
2948 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2949 ac_status=$?
2950 if test -s conftest.err; then
2951 sed '10a\
2952 ... rest of stderr output deleted ...
2953 10q' conftest.err >conftest.er1
2954 cat conftest.er1 >&5
2956 rm -f conftest.er1 conftest.err
2957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2958 test $ac_status = 0; }
2959 done
2961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2962 /* end confdefs.h. */
2965 main ()
2969 return 0;
2971 _ACEOF
2972 ac_clean_files_save=$ac_clean_files
2973 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2974 # Try to create an executable without -o first, disregard a.out.
2975 # It will help us diagnose broken compilers, and finding out an intuition
2976 # of exeext.
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2978 $as_echo_n "checking whether the C compiler works... " >&6; }
2979 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2981 # The possible output files:
2982 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2984 ac_rmfiles=
2985 for ac_file in $ac_files
2987 case $ac_file in
2988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2989 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2990 esac
2991 done
2992 rm -f $ac_rmfiles
2994 if { { ac_try="$ac_link_default"
2995 case "(($ac_try" in
2996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2997 *) ac_try_echo=$ac_try;;
2998 esac
2999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3000 $as_echo "$ac_try_echo"; } >&5
3001 (eval "$ac_link_default") 2>&5
3002 ac_status=$?
3003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3004 test $ac_status = 0; }; then :
3005 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3006 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3007 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3008 # so that the user can short-circuit this test for compilers unknown to
3009 # Autoconf.
3010 for ac_file in $ac_files ''
3012 test -f "$ac_file" || continue
3013 case $ac_file in
3014 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3016 [ab].out )
3017 # We found the default executable, but exeext='' is most
3018 # certainly right.
3019 break;;
3020 *.* )
3021 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3022 then :; else
3023 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3025 # We set ac_cv_exeext here because the later test for it is not
3026 # safe: cross compilers may not add the suffix if given an `-o'
3027 # argument, so we may need to know it at that point already.
3028 # Even if this section looks crufty: it has the advantage of
3029 # actually working.
3030 break;;
3032 break;;
3033 esac
3034 done
3035 test "$ac_cv_exeext" = no && ac_cv_exeext=
3037 else
3038 ac_file=''
3040 if test -z "$ac_file"; then :
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3042 $as_echo "no" >&6; }
3043 $as_echo "$as_me: failed program was:" >&5
3044 sed 's/^/| /' conftest.$ac_ext >&5
3046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3048 { as_fn_set_status 77
3049 as_fn_error "C compiler cannot create executables
3050 See \`config.log' for more details." "$LINENO" 5; }; }
3051 else
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3053 $as_echo "yes" >&6; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3056 $as_echo_n "checking for C compiler default output file name... " >&6; }
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3058 $as_echo "$ac_file" >&6; }
3059 ac_exeext=$ac_cv_exeext
3061 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3062 ac_clean_files=$ac_clean_files_save
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3064 $as_echo_n "checking for suffix of executables... " >&6; }
3065 if { { ac_try="$ac_link"
3066 case "(($ac_try" in
3067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3068 *) ac_try_echo=$ac_try;;
3069 esac
3070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3071 $as_echo "$ac_try_echo"; } >&5
3072 (eval "$ac_link") 2>&5
3073 ac_status=$?
3074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3075 test $ac_status = 0; }; then :
3076 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3077 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3078 # work properly (i.e., refer to `conftest.exe'), while it won't with
3079 # `rm'.
3080 for ac_file in conftest.exe conftest conftest.*; do
3081 test -f "$ac_file" || continue
3082 case $ac_file in
3083 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3084 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3085 break;;
3086 * ) break;;
3087 esac
3088 done
3089 else
3090 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3092 as_fn_error "cannot compute suffix of executables: cannot compile and link
3093 See \`config.log' for more details." "$LINENO" 5; }
3095 rm -f conftest conftest$ac_cv_exeext
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3097 $as_echo "$ac_cv_exeext" >&6; }
3099 rm -f conftest.$ac_ext
3100 EXEEXT=$ac_cv_exeext
3101 ac_exeext=$EXEEXT
3102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3103 /* end confdefs.h. */
3104 #include <stdio.h>
3106 main ()
3108 FILE *f = fopen ("conftest.out", "w");
3109 return ferror (f) || fclose (f) != 0;
3112 return 0;
3114 _ACEOF
3115 ac_clean_files="$ac_clean_files conftest.out"
3116 # Check that the compiler produces executables we can run. If not, either
3117 # the compiler is broken, or we cross compile.
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3119 $as_echo_n "checking whether we are cross compiling... " >&6; }
3120 if test "$cross_compiling" != yes; then
3121 { { ac_try="$ac_link"
3122 case "(($ac_try" in
3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124 *) ac_try_echo=$ac_try;;
3125 esac
3126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3127 $as_echo "$ac_try_echo"; } >&5
3128 (eval "$ac_link") 2>&5
3129 ac_status=$?
3130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3131 test $ac_status = 0; }
3132 if { ac_try='./conftest$ac_cv_exeext'
3133 { { case "(($ac_try" in
3134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135 *) ac_try_echo=$ac_try;;
3136 esac
3137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3138 $as_echo "$ac_try_echo"; } >&5
3139 (eval "$ac_try") 2>&5
3140 ac_status=$?
3141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3142 test $ac_status = 0; }; }; then
3143 cross_compiling=no
3144 else
3145 if test "$cross_compiling" = maybe; then
3146 cross_compiling=yes
3147 else
3148 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3150 as_fn_error "cannot run C compiled programs.
3151 If you meant to cross compile, use \`--host'.
3152 See \`config.log' for more details." "$LINENO" 5; }
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3157 $as_echo "$cross_compiling" >&6; }
3159 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3160 ac_clean_files=$ac_clean_files_save
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3162 $as_echo_n "checking for suffix of object files... " >&6; }
3163 if test "${ac_cv_objext+set}" = set; then :
3164 $as_echo_n "(cached) " >&6
3165 else
3166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3170 main ()
3174 return 0;
3176 _ACEOF
3177 rm -f conftest.o conftest.obj
3178 if { { ac_try="$ac_compile"
3179 case "(($ac_try" in
3180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3181 *) ac_try_echo=$ac_try;;
3182 esac
3183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3184 $as_echo "$ac_try_echo"; } >&5
3185 (eval "$ac_compile") 2>&5
3186 ac_status=$?
3187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3188 test $ac_status = 0; }; then :
3189 for ac_file in conftest.o conftest.obj conftest.*; do
3190 test -f "$ac_file" || continue;
3191 case $ac_file in
3192 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3193 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3194 break;;
3195 esac
3196 done
3197 else
3198 $as_echo "$as_me: failed program was:" >&5
3199 sed 's/^/| /' conftest.$ac_ext >&5
3201 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3203 as_fn_error "cannot compute suffix of object files: cannot compile
3204 See \`config.log' for more details." "$LINENO" 5; }
3206 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3209 $as_echo "$ac_cv_objext" >&6; }
3210 OBJEXT=$ac_cv_objext
3211 ac_objext=$OBJEXT
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3213 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3214 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3215 $as_echo_n "(cached) " >&6
3216 else
3217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218 /* end confdefs.h. */
3221 main ()
3223 #ifndef __GNUC__
3224 choke me
3225 #endif
3228 return 0;
3230 _ACEOF
3231 if ac_fn_c_try_compile "$LINENO"; then :
3232 ac_compiler_gnu=yes
3233 else
3234 ac_compiler_gnu=no
3236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3237 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3241 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3242 if test $ac_compiler_gnu = yes; then
3243 GCC=yes
3244 else
3245 GCC=
3247 ac_test_CFLAGS=${CFLAGS+set}
3248 ac_save_CFLAGS=$CFLAGS
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3250 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3251 if test "${ac_cv_prog_cc_g+set}" = set; then :
3252 $as_echo_n "(cached) " >&6
3253 else
3254 ac_save_c_werror_flag=$ac_c_werror_flag
3255 ac_c_werror_flag=yes
3256 ac_cv_prog_cc_g=no
3257 CFLAGS="-g"
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3262 main ()
3266 return 0;
3268 _ACEOF
3269 if ac_fn_c_try_compile "$LINENO"; then :
3270 ac_cv_prog_cc_g=yes
3271 else
3272 CFLAGS=""
3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3277 main ()
3281 return 0;
3283 _ACEOF
3284 if ac_fn_c_try_compile "$LINENO"; then :
3286 else
3287 ac_c_werror_flag=$ac_save_c_werror_flag
3288 CFLAGS="-g"
3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3293 main ()
3297 return 0;
3299 _ACEOF
3300 if ac_fn_c_try_compile "$LINENO"; then :
3301 ac_cv_prog_cc_g=yes
3303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308 ac_c_werror_flag=$ac_save_c_werror_flag
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3311 $as_echo "$ac_cv_prog_cc_g" >&6; }
3312 if test "$ac_test_CFLAGS" = set; then
3313 CFLAGS=$ac_save_CFLAGS
3314 elif test $ac_cv_prog_cc_g = yes; then
3315 if test "$GCC" = yes; then
3316 CFLAGS="-g -O2"
3317 else
3318 CFLAGS="-g"
3320 else
3321 if test "$GCC" = yes; then
3322 CFLAGS="-O2"
3323 else
3324 CFLAGS=
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3328 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3329 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3330 $as_echo_n "(cached) " >&6
3331 else
3332 ac_cv_prog_cc_c89=no
3333 ac_save_CC=$CC
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3336 #include <stdarg.h>
3337 #include <stdio.h>
3338 #include <sys/types.h>
3339 #include <sys/stat.h>
3340 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3341 struct buf { int x; };
3342 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3343 static char *e (p, i)
3344 char **p;
3345 int i;
3347 return p[i];
3349 static char *f (char * (*g) (char **, int), char **p, ...)
3351 char *s;
3352 va_list v;
3353 va_start (v,p);
3354 s = g (p, va_arg (v,int));
3355 va_end (v);
3356 return s;
3359 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3360 function prototypes and stuff, but not '\xHH' hex character constants.
3361 These don't provoke an error unfortunately, instead are silently treated
3362 as 'x'. The following induces an error, until -std is added to get
3363 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3364 array size at least. It's necessary to write '\x00'==0 to get something
3365 that's true only with -std. */
3366 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3368 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3369 inside strings and character constants. */
3370 #define FOO(x) 'x'
3371 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3373 int test (int i, double x);
3374 struct s1 {int (*f) (int a);};
3375 struct s2 {int (*f) (double a);};
3376 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3377 int argc;
3378 char **argv;
3380 main ()
3382 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3384 return 0;
3386 _ACEOF
3387 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3388 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3390 CC="$ac_save_CC $ac_arg"
3391 if ac_fn_c_try_compile "$LINENO"; then :
3392 ac_cv_prog_cc_c89=$ac_arg
3394 rm -f core conftest.err conftest.$ac_objext
3395 test "x$ac_cv_prog_cc_c89" != "xno" && break
3396 done
3397 rm -f conftest.$ac_ext
3398 CC=$ac_save_CC
3401 # AC_CACHE_VAL
3402 case "x$ac_cv_prog_cc_c89" in
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3405 $as_echo "none needed" >&6; } ;;
3406 xno)
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3408 $as_echo "unsupported" >&6; } ;;
3410 CC="$CC $ac_cv_prog_cc_c89"
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3412 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3413 esac
3414 if test "x$ac_cv_prog_cc_c89" != xno; then :
3418 ac_ext=c
3419 ac_cpp='$CPP $CPPFLAGS'
3420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3423 DEPDIR="${am__leading_dot}deps"
3425 ac_config_commands="$ac_config_commands depfiles"
3428 am_make=${MAKE-make}
3429 cat > confinc << 'END'
3430 am__doit:
3431 @echo done
3432 .PHONY: am__doit
3434 # If we don't find an include directive, just comment out the code.
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3436 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3437 am__include="#"
3438 am__quote=
3439 _am_result=none
3440 # First try GNU make style include.
3441 echo "include confinc" > confmf
3442 # We grep out `Entering directory' and `Leaving directory'
3443 # messages which can occur if `w' ends up in MAKEFLAGS.
3444 # In particular we don't look at `^make:' because GNU make might
3445 # be invoked under some other name (usually "gmake"), in which
3446 # case it prints its new name instead of `make'.
3447 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3448 am__include=include
3449 am__quote=
3450 _am_result=GNU
3452 # Now try BSD make style include.
3453 if test "$am__include" = "#"; then
3454 echo '.include "confinc"' > confmf
3455 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3456 am__include=.include
3457 am__quote="\""
3458 _am_result=BSD
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3464 $as_echo "$_am_result" >&6; }
3465 rm -f confinc confmf
3467 # Check whether --enable-dependency-tracking was given.
3468 if test "${enable_dependency_tracking+set}" = set; then :
3469 enableval=$enable_dependency_tracking;
3472 if test "x$enable_dependency_tracking" != xno; then
3473 am_depcomp="$ac_aux_dir/depcomp"
3474 AMDEPBACKSLASH='\'
3478 if test "x$enable_dependency_tracking" != xno; then
3479 AMDEP_TRUE=
3480 AMDEP_FALSE='#'
3481 else
3482 AMDEP_TRUE='#'
3483 AMDEP_FALSE=
3489 depcc="$CC" am_compiler_list=
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3492 $as_echo_n "checking dependency style of $depcc... " >&6; }
3493 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3494 $as_echo_n "(cached) " >&6
3495 else
3496 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3497 # We make a subdir and do the tests there. Otherwise we can end up
3498 # making bogus files that we don't know about and never remove. For
3499 # instance it was reported that on HP-UX the gcc test will end up
3500 # making a dummy file named `D' -- because `-MD' means `put the output
3501 # in D'.
3502 mkdir conftest.dir
3503 # Copy depcomp to subdir because otherwise we won't find it if we're
3504 # using a relative directory.
3505 cp "$am_depcomp" conftest.dir
3506 cd conftest.dir
3507 # We will build objects and dependencies in a subdirectory because
3508 # it helps to detect inapplicable dependency modes. For instance
3509 # both Tru64's cc and ICC support -MD to output dependencies as a
3510 # side effect of compilation, but ICC will put the dependencies in
3511 # the current directory while Tru64 will put them in the object
3512 # directory.
3513 mkdir sub
3515 am_cv_CC_dependencies_compiler_type=none
3516 if test "$am_compiler_list" = ""; then
3517 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3519 for depmode in $am_compiler_list; do
3520 # Setup a source with many dependencies, because some compilers
3521 # like to wrap large dependency lists on column 80 (with \), and
3522 # we should not choose a depcomp mode which is confused by this.
3524 # We need to recreate these files for each test, as the compiler may
3525 # overwrite some of them when testing with obscure command lines.
3526 # This happens at least with the AIX C compiler.
3527 : > sub/conftest.c
3528 for i in 1 2 3 4 5 6; do
3529 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3530 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3531 # Solaris 8's {/usr,}/bin/sh.
3532 touch sub/conftst$i.h
3533 done
3534 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3536 case $depmode in
3537 nosideeffect)
3538 # after this tag, mechanisms are not by side-effect, so they'll
3539 # only be used when explicitly requested
3540 if test "x$enable_dependency_tracking" = xyes; then
3541 continue
3542 else
3543 break
3546 none) break ;;
3547 esac
3548 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3549 # mode. It turns out that the SunPro C++ compiler does not properly
3550 # handle `-M -o', and we need to detect this.
3551 if depmode=$depmode \
3552 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3553 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3554 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3555 >/dev/null 2>conftest.err &&
3556 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3557 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3558 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3559 # icc doesn't choke on unknown options, it will just issue warnings
3560 # or remarks (even with -Werror). So we grep stderr for any message
3561 # that says an option was ignored or not supported.
3562 # When given -MP, icc 7.0 and 7.1 complain thusly:
3563 # icc: Command line warning: ignoring option '-M'; no argument required
3564 # The diagnosis changed in icc 8.0:
3565 # icc: Command line remark: option '-MP' not supported
3566 if (grep 'ignoring option' conftest.err ||
3567 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3568 am_cv_CC_dependencies_compiler_type=$depmode
3569 break
3572 done
3574 cd ..
3575 rm -rf conftest.dir
3576 else
3577 am_cv_CC_dependencies_compiler_type=none
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3582 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3583 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3588 test "x$enable_dependency_tracking" != xno \
3589 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3590 am__fastdepCC_TRUE=
3591 am__fastdepCC_FALSE='#'
3592 else
3593 am__fastdepCC_TRUE='#'
3594 am__fastdepCC_FALSE=
3598 ac_ext=c
3599 ac_cpp='$CPP $CPPFLAGS'
3600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3603 if test -n "$ac_tool_prefix"; then
3604 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3605 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if test "${ac_cv_prog_CC+set}" = set; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 if test -n "$CC"; then
3612 ac_cv_prog_CC="$CC" # Let the user override the test.
3613 else
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 for as_dir in $PATH
3617 IFS=$as_save_IFS
3618 test -z "$as_dir" && as_dir=.
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3621 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 break 2
3625 done
3626 done
3627 IFS=$as_save_IFS
3631 CC=$ac_cv_prog_CC
3632 if test -n "$CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3634 $as_echo "$CC" >&6; }
3635 else
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3642 if test -z "$ac_cv_prog_CC"; then
3643 ac_ct_CC=$CC
3644 # Extract the first word of "gcc", so it can be a program name with args.
3645 set dummy gcc; ac_word=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3649 $as_echo_n "(cached) " >&6
3650 else
3651 if test -n "$ac_ct_CC"; then
3652 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3653 else
3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 for as_dir in $PATH
3657 IFS=$as_save_IFS
3658 test -z "$as_dir" && as_dir=.
3659 for ac_exec_ext in '' $ac_executable_extensions; do
3660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3661 ac_cv_prog_ac_ct_CC="gcc"
3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 break 2
3665 done
3666 done
3667 IFS=$as_save_IFS
3671 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3672 if test -n "$ac_ct_CC"; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3674 $as_echo "$ac_ct_CC" >&6; }
3675 else
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3680 if test "x$ac_ct_CC" = x; then
3681 CC=""
3682 else
3683 case $cross_compiling:$ac_tool_warned in
3684 yes:)
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3687 ac_tool_warned=yes ;;
3688 esac
3689 CC=$ac_ct_CC
3691 else
3692 CC="$ac_cv_prog_CC"
3695 if test -z "$CC"; then
3696 if test -n "$ac_tool_prefix"; then
3697 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3698 set dummy ${ac_tool_prefix}cc; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if test "${ac_cv_prog_CC+set}" = set; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC="$CC" # Let the user override the test.
3706 else
3707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3708 for as_dir in $PATH
3710 IFS=$as_save_IFS
3711 test -z "$as_dir" && as_dir=.
3712 for ac_exec_ext in '' $ac_executable_extensions; do
3713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3714 ac_cv_prog_CC="${ac_tool_prefix}cc"
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3716 break 2
3718 done
3719 done
3720 IFS=$as_save_IFS
3724 CC=$ac_cv_prog_CC
3725 if test -n "$CC"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3727 $as_echo "$CC" >&6; }
3728 else
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3736 if test -z "$CC"; then
3737 # Extract the first word of "cc", so it can be a program name with args.
3738 set dummy cc; ac_word=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if test "${ac_cv_prog_CC+set}" = set; then :
3742 $as_echo_n "(cached) " >&6
3743 else
3744 if test -n "$CC"; then
3745 ac_cv_prog_CC="$CC" # Let the user override the test.
3746 else
3747 ac_prog_rejected=no
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 for as_dir in $PATH
3751 IFS=$as_save_IFS
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3756 ac_prog_rejected=yes
3757 continue
3759 ac_cv_prog_CC="cc"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 break 2
3763 done
3764 done
3765 IFS=$as_save_IFS
3767 if test $ac_prog_rejected = yes; then
3768 # We found a bogon in the path, so make sure we never use it.
3769 set dummy $ac_cv_prog_CC
3770 shift
3771 if test $# != 0; then
3772 # We chose a different compiler from the bogus one.
3773 # However, it has the same basename, so the bogon will be chosen
3774 # first if we set CC to just the basename; use the full file name.
3775 shift
3776 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3781 CC=$ac_cv_prog_CC
3782 if test -n "$CC"; then
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3784 $as_echo "$CC" >&6; }
3785 else
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3787 $as_echo "no" >&6; }
3792 if test -z "$CC"; then
3793 if test -n "$ac_tool_prefix"; then
3794 for ac_prog in cl.exe
3796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3797 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if test "${ac_cv_prog_CC+set}" = set; then :
3801 $as_echo_n "(cached) " >&6
3802 else
3803 if test -n "$CC"; then
3804 ac_cv_prog_CC="$CC" # Let the user override the test.
3805 else
3806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3807 for as_dir in $PATH
3809 IFS=$as_save_IFS
3810 test -z "$as_dir" && as_dir=.
3811 for ac_exec_ext in '' $ac_executable_extensions; do
3812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3813 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 break 2
3817 done
3818 done
3819 IFS=$as_save_IFS
3823 CC=$ac_cv_prog_CC
3824 if test -n "$CC"; then
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3826 $as_echo "$CC" >&6; }
3827 else
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3829 $as_echo "no" >&6; }
3833 test -n "$CC" && break
3834 done
3836 if test -z "$CC"; then
3837 ac_ct_CC=$CC
3838 for ac_prog in cl.exe
3840 # Extract the first word of "$ac_prog", so it can be a program name with args.
3841 set dummy $ac_prog; ac_word=$2
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3843 $as_echo_n "checking for $ac_word... " >&6; }
3844 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3845 $as_echo_n "(cached) " >&6
3846 else
3847 if test -n "$ac_ct_CC"; then
3848 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3849 else
3850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3851 for as_dir in $PATH
3853 IFS=$as_save_IFS
3854 test -z "$as_dir" && as_dir=.
3855 for ac_exec_ext in '' $ac_executable_extensions; do
3856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3857 ac_cv_prog_ac_ct_CC="$ac_prog"
3858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 break 2
3861 done
3862 done
3863 IFS=$as_save_IFS
3867 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3868 if test -n "$ac_ct_CC"; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3870 $as_echo "$ac_ct_CC" >&6; }
3871 else
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3873 $as_echo "no" >&6; }
3877 test -n "$ac_ct_CC" && break
3878 done
3880 if test "x$ac_ct_CC" = x; then
3881 CC=""
3882 else
3883 case $cross_compiling:$ac_tool_warned in
3884 yes:)
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3886 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3887 ac_tool_warned=yes ;;
3888 esac
3889 CC=$ac_ct_CC
3896 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3898 as_fn_error "no acceptable C compiler found in \$PATH
3899 See \`config.log' for more details." "$LINENO" 5; }
3901 # Provide some information about the compiler.
3902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3903 set X $ac_compile
3904 ac_compiler=$2
3905 for ac_option in --version -v -V -qversion; do
3906 { { ac_try="$ac_compiler $ac_option >&5"
3907 case "(($ac_try" in
3908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3909 *) ac_try_echo=$ac_try;;
3910 esac
3911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3912 $as_echo "$ac_try_echo"; } >&5
3913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3914 ac_status=$?
3915 if test -s conftest.err; then
3916 sed '10a\
3917 ... rest of stderr output deleted ...
3918 10q' conftest.err >conftest.er1
3919 cat conftest.er1 >&5
3921 rm -f conftest.er1 conftest.err
3922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3923 test $ac_status = 0; }
3924 done
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3927 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3928 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3929 $as_echo_n "(cached) " >&6
3930 else
3931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3932 /* end confdefs.h. */
3935 main ()
3937 #ifndef __GNUC__
3938 choke me
3939 #endif
3942 return 0;
3944 _ACEOF
3945 if ac_fn_c_try_compile "$LINENO"; then :
3946 ac_compiler_gnu=yes
3947 else
3948 ac_compiler_gnu=no
3950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3955 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3956 if test $ac_compiler_gnu = yes; then
3957 GCC=yes
3958 else
3959 GCC=
3961 ac_test_CFLAGS=${CFLAGS+set}
3962 ac_save_CFLAGS=$CFLAGS
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3964 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3965 if test "${ac_cv_prog_cc_g+set}" = set; then :
3966 $as_echo_n "(cached) " >&6
3967 else
3968 ac_save_c_werror_flag=$ac_c_werror_flag
3969 ac_c_werror_flag=yes
3970 ac_cv_prog_cc_g=no
3971 CFLAGS="-g"
3972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3973 /* end confdefs.h. */
3976 main ()
3980 return 0;
3982 _ACEOF
3983 if ac_fn_c_try_compile "$LINENO"; then :
3984 ac_cv_prog_cc_g=yes
3985 else
3986 CFLAGS=""
3987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3988 /* end confdefs.h. */
3991 main ()
3995 return 0;
3997 _ACEOF
3998 if ac_fn_c_try_compile "$LINENO"; then :
4000 else
4001 ac_c_werror_flag=$ac_save_c_werror_flag
4002 CFLAGS="-g"
4003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4004 /* end confdefs.h. */
4007 main ()
4011 return 0;
4013 _ACEOF
4014 if ac_fn_c_try_compile "$LINENO"; then :
4015 ac_cv_prog_cc_g=yes
4017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4022 ac_c_werror_flag=$ac_save_c_werror_flag
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4025 $as_echo "$ac_cv_prog_cc_g" >&6; }
4026 if test "$ac_test_CFLAGS" = set; then
4027 CFLAGS=$ac_save_CFLAGS
4028 elif test $ac_cv_prog_cc_g = yes; then
4029 if test "$GCC" = yes; then
4030 CFLAGS="-g -O2"
4031 else
4032 CFLAGS="-g"
4034 else
4035 if test "$GCC" = yes; then
4036 CFLAGS="-O2"
4037 else
4038 CFLAGS=
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4042 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4043 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4044 $as_echo_n "(cached) " >&6
4045 else
4046 ac_cv_prog_cc_c89=no
4047 ac_save_CC=$CC
4048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4050 #include <stdarg.h>
4051 #include <stdio.h>
4052 #include <sys/types.h>
4053 #include <sys/stat.h>
4054 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4055 struct buf { int x; };
4056 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4057 static char *e (p, i)
4058 char **p;
4059 int i;
4061 return p[i];
4063 static char *f (char * (*g) (char **, int), char **p, ...)
4065 char *s;
4066 va_list v;
4067 va_start (v,p);
4068 s = g (p, va_arg (v,int));
4069 va_end (v);
4070 return s;
4073 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4074 function prototypes and stuff, but not '\xHH' hex character constants.
4075 These don't provoke an error unfortunately, instead are silently treated
4076 as 'x'. The following induces an error, until -std is added to get
4077 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4078 array size at least. It's necessary to write '\x00'==0 to get something
4079 that's true only with -std. */
4080 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4082 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4083 inside strings and character constants. */
4084 #define FOO(x) 'x'
4085 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4087 int test (int i, double x);
4088 struct s1 {int (*f) (int a);};
4089 struct s2 {int (*f) (double a);};
4090 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4091 int argc;
4092 char **argv;
4094 main ()
4096 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4098 return 0;
4100 _ACEOF
4101 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4102 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4104 CC="$ac_save_CC $ac_arg"
4105 if ac_fn_c_try_compile "$LINENO"; then :
4106 ac_cv_prog_cc_c89=$ac_arg
4108 rm -f core conftest.err conftest.$ac_objext
4109 test "x$ac_cv_prog_cc_c89" != "xno" && break
4110 done
4111 rm -f conftest.$ac_ext
4112 CC=$ac_save_CC
4115 # AC_CACHE_VAL
4116 case "x$ac_cv_prog_cc_c89" in
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4119 $as_echo "none needed" >&6; } ;;
4120 xno)
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4122 $as_echo "unsupported" >&6; } ;;
4124 CC="$CC $ac_cv_prog_cc_c89"
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4126 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4127 esac
4128 if test "x$ac_cv_prog_cc_c89" != xno; then :
4132 ac_ext=c
4133 ac_cpp='$CPP $CPPFLAGS'
4134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4138 depcc="$CC" am_compiler_list=
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4141 $as_echo_n "checking dependency style of $depcc... " >&6; }
4142 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4143 $as_echo_n "(cached) " >&6
4144 else
4145 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4146 # We make a subdir and do the tests there. Otherwise we can end up
4147 # making bogus files that we don't know about and never remove. For
4148 # instance it was reported that on HP-UX the gcc test will end up
4149 # making a dummy file named `D' -- because `-MD' means `put the output
4150 # in D'.
4151 mkdir conftest.dir
4152 # Copy depcomp to subdir because otherwise we won't find it if we're
4153 # using a relative directory.
4154 cp "$am_depcomp" conftest.dir
4155 cd conftest.dir
4156 # We will build objects and dependencies in a subdirectory because
4157 # it helps to detect inapplicable dependency modes. For instance
4158 # both Tru64's cc and ICC support -MD to output dependencies as a
4159 # side effect of compilation, but ICC will put the dependencies in
4160 # the current directory while Tru64 will put them in the object
4161 # directory.
4162 mkdir sub
4164 am_cv_CC_dependencies_compiler_type=none
4165 if test "$am_compiler_list" = ""; then
4166 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4168 for depmode in $am_compiler_list; do
4169 # Setup a source with many dependencies, because some compilers
4170 # like to wrap large dependency lists on column 80 (with \), and
4171 # we should not choose a depcomp mode which is confused by this.
4173 # We need to recreate these files for each test, as the compiler may
4174 # overwrite some of them when testing with obscure command lines.
4175 # This happens at least with the AIX C compiler.
4176 : > sub/conftest.c
4177 for i in 1 2 3 4 5 6; do
4178 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4179 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4180 # Solaris 8's {/usr,}/bin/sh.
4181 touch sub/conftst$i.h
4182 done
4183 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4185 case $depmode in
4186 nosideeffect)
4187 # after this tag, mechanisms are not by side-effect, so they'll
4188 # only be used when explicitly requested
4189 if test "x$enable_dependency_tracking" = xyes; then
4190 continue
4191 else
4192 break
4195 none) break ;;
4196 esac
4197 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4198 # mode. It turns out that the SunPro C++ compiler does not properly
4199 # handle `-M -o', and we need to detect this.
4200 if depmode=$depmode \
4201 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4202 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4203 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4204 >/dev/null 2>conftest.err &&
4205 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4206 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4207 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4208 # icc doesn't choke on unknown options, it will just issue warnings
4209 # or remarks (even with -Werror). So we grep stderr for any message
4210 # that says an option was ignored or not supported.
4211 # When given -MP, icc 7.0 and 7.1 complain thusly:
4212 # icc: Command line warning: ignoring option '-M'; no argument required
4213 # The diagnosis changed in icc 8.0:
4214 # icc: Command line remark: option '-MP' not supported
4215 if (grep 'ignoring option' conftest.err ||
4216 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4217 am_cv_CC_dependencies_compiler_type=$depmode
4218 break
4221 done
4223 cd ..
4224 rm -rf conftest.dir
4225 else
4226 am_cv_CC_dependencies_compiler_type=none
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4231 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4232 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4237 test "x$enable_dependency_tracking" != xno \
4238 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4239 am__fastdepCC_TRUE=
4240 am__fastdepCC_FALSE='#'
4241 else
4242 am__fastdepCC_TRUE='#'
4243 am__fastdepCC_FALSE=
4248 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4251 ac_ext=c
4252 ac_cpp='$CPP $CPPFLAGS'
4253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4257 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4258 # On Suns, sometimes $CPP names a directory.
4259 if test -n "$CPP" && test -d "$CPP"; then
4260 CPP=
4262 if test -z "$CPP"; then
4263 if test "${ac_cv_prog_CPP+set}" = set; then :
4264 $as_echo_n "(cached) " >&6
4265 else
4266 # Double quotes because CPP needs to be expanded
4267 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4269 ac_preproc_ok=false
4270 for ac_c_preproc_warn_flag in '' yes
4272 # Use a header file that comes with gcc, so configuring glibc
4273 # with a fresh cross-compiler works.
4274 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4275 # <limits.h> exists even on freestanding compilers.
4276 # On the NeXT, cc -E runs the code through the compiler's parser,
4277 # not just through cpp. "Syntax error" is here to catch this case.
4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4280 #ifdef __STDC__
4281 # include <limits.h>
4282 #else
4283 # include <assert.h>
4284 #endif
4285 Syntax error
4286 _ACEOF
4287 if ac_fn_c_try_cpp "$LINENO"; then :
4289 else
4290 # Broken: fails on valid input.
4291 continue
4293 rm -f conftest.err conftest.$ac_ext
4295 # OK, works on sane cases. Now check whether nonexistent headers
4296 # can be detected and how.
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4299 #include <ac_nonexistent.h>
4300 _ACEOF
4301 if ac_fn_c_try_cpp "$LINENO"; then :
4302 # Broken: success on invalid input.
4303 continue
4304 else
4305 # Passes both tests.
4306 ac_preproc_ok=:
4307 break
4309 rm -f conftest.err conftest.$ac_ext
4311 done
4312 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4313 rm -f conftest.err conftest.$ac_ext
4314 if $ac_preproc_ok; then :
4315 break
4318 done
4319 ac_cv_prog_CPP=$CPP
4322 CPP=$ac_cv_prog_CPP
4323 else
4324 ac_cv_prog_CPP=$CPP
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4327 $as_echo "$CPP" >&6; }
4328 ac_preproc_ok=false
4329 for ac_c_preproc_warn_flag in '' yes
4331 # Use a header file that comes with gcc, so configuring glibc
4332 # with a fresh cross-compiler works.
4333 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4334 # <limits.h> exists even on freestanding compilers.
4335 # On the NeXT, cc -E runs the code through the compiler's parser,
4336 # not just through cpp. "Syntax error" is here to catch this case.
4337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4339 #ifdef __STDC__
4340 # include <limits.h>
4341 #else
4342 # include <assert.h>
4343 #endif
4344 Syntax error
4345 _ACEOF
4346 if ac_fn_c_try_cpp "$LINENO"; then :
4348 else
4349 # Broken: fails on valid input.
4350 continue
4352 rm -f conftest.err conftest.$ac_ext
4354 # OK, works on sane cases. Now check whether nonexistent headers
4355 # can be detected and how.
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4358 #include <ac_nonexistent.h>
4359 _ACEOF
4360 if ac_fn_c_try_cpp "$LINENO"; then :
4361 # Broken: success on invalid input.
4362 continue
4363 else
4364 # Passes both tests.
4365 ac_preproc_ok=:
4366 break
4368 rm -f conftest.err conftest.$ac_ext
4370 done
4371 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4372 rm -f conftest.err conftest.$ac_ext
4373 if $ac_preproc_ok; then :
4375 else
4376 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4378 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4379 See \`config.log' for more details." "$LINENO" 5; }
4382 ac_ext=c
4383 ac_cpp='$CPP $CPPFLAGS'
4384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4390 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4391 if test "${ac_cv_path_GREP+set}" = set; then :
4392 $as_echo_n "(cached) " >&6
4393 else
4394 if test -z "$GREP"; then
4395 ac_path_GREP_found=false
4396 # Loop through the user's path and test for each of PROGNAME-LIST
4397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4398 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4400 IFS=$as_save_IFS
4401 test -z "$as_dir" && as_dir=.
4402 for ac_prog in grep ggrep; do
4403 for ac_exec_ext in '' $ac_executable_extensions; do
4404 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4405 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4406 # Check for GNU ac_path_GREP and select it if it is found.
4407 # Check for GNU $ac_path_GREP
4408 case `"$ac_path_GREP" --version 2>&1` in
4409 *GNU*)
4410 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4412 ac_count=0
4413 $as_echo_n 0123456789 >"conftest.in"
4414 while :
4416 cat "conftest.in" "conftest.in" >"conftest.tmp"
4417 mv "conftest.tmp" "conftest.in"
4418 cp "conftest.in" "conftest.nl"
4419 $as_echo 'GREP' >> "conftest.nl"
4420 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4421 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4422 as_fn_arith $ac_count + 1 && ac_count=$as_val
4423 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4424 # Best one so far, save it but keep looking for a better one
4425 ac_cv_path_GREP="$ac_path_GREP"
4426 ac_path_GREP_max=$ac_count
4428 # 10*(2^10) chars as input seems more than enough
4429 test $ac_count -gt 10 && break
4430 done
4431 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4432 esac
4434 $ac_path_GREP_found && break 3
4435 done
4436 done
4437 done
4438 IFS=$as_save_IFS
4439 if test -z "$ac_cv_path_GREP"; then
4440 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4442 else
4443 ac_cv_path_GREP=$GREP
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4448 $as_echo "$ac_cv_path_GREP" >&6; }
4449 GREP="$ac_cv_path_GREP"
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4453 $as_echo_n "checking for egrep... " >&6; }
4454 if test "${ac_cv_path_EGREP+set}" = set; then :
4455 $as_echo_n "(cached) " >&6
4456 else
4457 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4458 then ac_cv_path_EGREP="$GREP -E"
4459 else
4460 if test -z "$EGREP"; then
4461 ac_path_EGREP_found=false
4462 # Loop through the user's path and test for each of PROGNAME-LIST
4463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4466 IFS=$as_save_IFS
4467 test -z "$as_dir" && as_dir=.
4468 for ac_prog in egrep; do
4469 for ac_exec_ext in '' $ac_executable_extensions; do
4470 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4471 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4472 # Check for GNU ac_path_EGREP and select it if it is found.
4473 # Check for GNU $ac_path_EGREP
4474 case `"$ac_path_EGREP" --version 2>&1` in
4475 *GNU*)
4476 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4478 ac_count=0
4479 $as_echo_n 0123456789 >"conftest.in"
4480 while :
4482 cat "conftest.in" "conftest.in" >"conftest.tmp"
4483 mv "conftest.tmp" "conftest.in"
4484 cp "conftest.in" "conftest.nl"
4485 $as_echo 'EGREP' >> "conftest.nl"
4486 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4487 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4488 as_fn_arith $ac_count + 1 && ac_count=$as_val
4489 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4490 # Best one so far, save it but keep looking for a better one
4491 ac_cv_path_EGREP="$ac_path_EGREP"
4492 ac_path_EGREP_max=$ac_count
4494 # 10*(2^10) chars as input seems more than enough
4495 test $ac_count -gt 10 && break
4496 done
4497 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4498 esac
4500 $ac_path_EGREP_found && break 3
4501 done
4502 done
4503 done
4504 IFS=$as_save_IFS
4505 if test -z "$ac_cv_path_EGREP"; then
4506 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4508 else
4509 ac_cv_path_EGREP=$EGREP
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4515 $as_echo "$ac_cv_path_EGREP" >&6; }
4516 EGREP="$ac_cv_path_EGREP"
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4520 $as_echo_n "checking for ANSI C header files... " >&6; }
4521 if test "${ac_cv_header_stdc+set}" = set; then :
4522 $as_echo_n "(cached) " >&6
4523 else
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4526 #include <stdlib.h>
4527 #include <stdarg.h>
4528 #include <string.h>
4529 #include <float.h>
4532 main ()
4536 return 0;
4538 _ACEOF
4539 if ac_fn_c_try_compile "$LINENO"; then :
4540 ac_cv_header_stdc=yes
4541 else
4542 ac_cv_header_stdc=no
4544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4546 if test $ac_cv_header_stdc = yes; then
4547 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4550 #include <string.h>
4552 _ACEOF
4553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4554 $EGREP "memchr" >/dev/null 2>&1; then :
4556 else
4557 ac_cv_header_stdc=no
4559 rm -f conftest*
4563 if test $ac_cv_header_stdc = yes; then
4564 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4567 #include <stdlib.h>
4569 _ACEOF
4570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4571 $EGREP "free" >/dev/null 2>&1; then :
4573 else
4574 ac_cv_header_stdc=no
4576 rm -f conftest*
4580 if test $ac_cv_header_stdc = yes; then
4581 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4582 if test "$cross_compiling" = yes; then :
4584 else
4585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4586 /* end confdefs.h. */
4587 #include <ctype.h>
4588 #include <stdlib.h>
4589 #if ((' ' & 0x0FF) == 0x020)
4590 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4591 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4592 #else
4593 # define ISLOWER(c) \
4594 (('a' <= (c) && (c) <= 'i') \
4595 || ('j' <= (c) && (c) <= 'r') \
4596 || ('s' <= (c) && (c) <= 'z'))
4597 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4598 #endif
4600 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4602 main ()
4604 int i;
4605 for (i = 0; i < 256; i++)
4606 if (XOR (islower (i), ISLOWER (i))
4607 || toupper (i) != TOUPPER (i))
4608 return 2;
4609 return 0;
4611 _ACEOF
4612 if ac_fn_c_try_run "$LINENO"; then :
4614 else
4615 ac_cv_header_stdc=no
4617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4618 conftest.$ac_objext conftest.beam conftest.$ac_ext
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4624 $as_echo "$ac_cv_header_stdc" >&6; }
4625 if test $ac_cv_header_stdc = yes; then
4627 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4633 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4636 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4637 # Check whether --enable-maintainer-mode was given.
4638 if test "${enable_maintainer_mode+set}" = set; then :
4639 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4640 else
4641 USE_MAINTAINER_MODE=no
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4645 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4648 if test $USE_MAINTAINER_MODE = yes; then
4649 MAINTAINER_MODE_TRUE=
4650 MAINTAINER_MODE_FALSE='#'
4651 else
4652 MAINTAINER_MODE_TRUE='#'
4653 MAINTAINER_MODE_FALSE=
4656 MAINT=$MAINTAINER_MODE_TRUE
4661 if test "x$GCC" = "xyes"; then
4662 case " $CFLAGS " in
4663 *[\ \ ]-Wall[\ \ ]*) ;;
4664 *) CFLAGS="$CFLAGS -Wall" ;;
4665 esac
4669 GIMP_REQUIRED_VERSION=2.4.0
4673 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4674 if test -n "$ac_tool_prefix"; then
4675 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4676 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4678 $as_echo_n "checking for $ac_word... " >&6; }
4679 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
4680 $as_echo_n "(cached) " >&6
4681 else
4682 case $PKG_CONFIG in
4683 [\\/]* | ?:[\\/]*)
4684 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688 for as_dir in $PATH
4690 IFS=$as_save_IFS
4691 test -z "$as_dir" && as_dir=.
4692 for ac_exec_ext in '' $ac_executable_extensions; do
4693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4694 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4696 break 2
4698 done
4699 done
4700 IFS=$as_save_IFS
4703 esac
4705 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4706 if test -n "$PKG_CONFIG"; then
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4708 $as_echo "$PKG_CONFIG" >&6; }
4709 else
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711 $as_echo "no" >&6; }
4716 if test -z "$ac_cv_path_PKG_CONFIG"; then
4717 ac_pt_PKG_CONFIG=$PKG_CONFIG
4718 # Extract the first word of "pkg-config", so it can be a program name with args.
4719 set dummy pkg-config; ac_word=$2
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4721 $as_echo_n "checking for $ac_word... " >&6; }
4722 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
4723 $as_echo_n "(cached) " >&6
4724 else
4725 case $ac_pt_PKG_CONFIG in
4726 [\\/]* | ?:[\\/]*)
4727 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4731 for as_dir in $PATH
4733 IFS=$as_save_IFS
4734 test -z "$as_dir" && as_dir=.
4735 for ac_exec_ext in '' $ac_executable_extensions; do
4736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4737 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4739 break 2
4741 done
4742 done
4743 IFS=$as_save_IFS
4746 esac
4748 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4749 if test -n "$ac_pt_PKG_CONFIG"; then
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4751 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4752 else
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 $as_echo "no" >&6; }
4757 if test "x$ac_pt_PKG_CONFIG" = x; then
4758 PKG_CONFIG=""
4759 else
4760 case $cross_compiling:$ac_tool_warned in
4761 yes:)
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4764 ac_tool_warned=yes ;;
4765 esac
4766 PKG_CONFIG=$ac_pt_PKG_CONFIG
4768 else
4769 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4773 if test -n "$PKG_CONFIG"; then
4774 _pkg_min_version=0.9.0
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4776 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4777 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4779 $as_echo "yes" >&6; }
4780 else
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4783 PKG_CONFIG=""
4788 pkg_failed=no
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIMP" >&5
4790 $as_echo_n "checking for GIMP... " >&6; }
4792 if test -n "$PKG_CONFIG"; then
4793 if test -n "$GIMP_CFLAGS"; then
4794 pkg_cv_GIMP_CFLAGS="$GIMP_CFLAGS"
4795 else
4796 if test -n "$PKG_CONFIG" && \
4797 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gimp-2.0 >= \$GIMP_REQUIRED_VERSION gimpui-2.0 >= \$GIMP_REQUIRED_VERSION\""; } >&5
4798 ($PKG_CONFIG --exists --print-errors "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION") 2>&5
4799 ac_status=$?
4800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4801 test $ac_status = 0; }; then
4802 pkg_cv_GIMP_CFLAGS=`$PKG_CONFIG --cflags "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION" 2>/dev/null`
4803 else
4804 pkg_failed=yes
4807 else
4808 pkg_failed=untried
4810 if test -n "$PKG_CONFIG"; then
4811 if test -n "$GIMP_LIBS"; then
4812 pkg_cv_GIMP_LIBS="$GIMP_LIBS"
4813 else
4814 if test -n "$PKG_CONFIG" && \
4815 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gimp-2.0 >= \$GIMP_REQUIRED_VERSION gimpui-2.0 >= \$GIMP_REQUIRED_VERSION\""; } >&5
4816 ($PKG_CONFIG --exists --print-errors "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION") 2>&5
4817 ac_status=$?
4818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4819 test $ac_status = 0; }; then
4820 pkg_cv_GIMP_LIBS=`$PKG_CONFIG --libs "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION" 2>/dev/null`
4821 else
4822 pkg_failed=yes
4825 else
4826 pkg_failed=untried
4831 if test $pkg_failed = yes; then
4833 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4834 _pkg_short_errors_supported=yes
4835 else
4836 _pkg_short_errors_supported=no
4838 if test $_pkg_short_errors_supported = yes; then
4839 GIMP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION"`
4840 else
4841 GIMP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION"`
4843 # Put the nasty error message in config.log where it belongs
4844 echo "$GIMP_PKG_ERRORS" >&5
4846 as_fn_error "Package requirements (gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION) were not met:
4848 $GIMP_PKG_ERRORS
4850 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4851 installed software in a non-standard prefix.
4853 Alternatively, you may set the environment variables GIMP_CFLAGS
4854 and GIMP_LIBS to avoid the need to call pkg-config.
4855 See the pkg-config man page for more details.
4856 " "$LINENO" 5
4857 elif test $pkg_failed = untried; then
4858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4860 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
4861 is in your PATH or set the PKG_CONFIG environment variable to the full
4862 path to pkg-config.
4864 Alternatively, you may set the environment variables GIMP_CFLAGS
4865 and GIMP_LIBS to avoid the need to call pkg-config.
4866 See the pkg-config man page for more details.
4868 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4869 See \`config.log' for more details." "$LINENO" 5; }
4870 else
4871 GIMP_CFLAGS=$pkg_cv_GIMP_CFLAGS
4872 GIMP_LIBS=$pkg_cv_GIMP_LIBS
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4874 $as_echo "yes" >&6; }
4881 GIMP_LIBDIR=`$PKG_CONFIG --variable=gimplibdir gimp-2.0`
4884 GIMP_DATADIR=`$PKG_CONFIG --variable=gimpdatadir gimp-2.0`
4888 LQR_REQUIRED_VERSION=0.4.0
4891 pkg_failed=no
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LQR" >&5
4893 $as_echo_n "checking for LQR... " >&6; }
4895 if test -n "$PKG_CONFIG"; then
4896 if test -n "$LQR_CFLAGS"; then
4897 pkg_cv_LQR_CFLAGS="$LQR_CFLAGS"
4898 else
4899 if test -n "$PKG_CONFIG" && \
4900 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lqr-1 >= \$LQR_REQUIRED_VERSION\""; } >&5
4901 ($PKG_CONFIG --exists --print-errors "lqr-1 >= $LQR_REQUIRED_VERSION") 2>&5
4902 ac_status=$?
4903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4904 test $ac_status = 0; }; then
4905 pkg_cv_LQR_CFLAGS=`$PKG_CONFIG --cflags "lqr-1 >= $LQR_REQUIRED_VERSION" 2>/dev/null`
4906 else
4907 pkg_failed=yes
4910 else
4911 pkg_failed=untried
4913 if test -n "$PKG_CONFIG"; then
4914 if test -n "$LQR_LIBS"; then
4915 pkg_cv_LQR_LIBS="$LQR_LIBS"
4916 else
4917 if test -n "$PKG_CONFIG" && \
4918 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lqr-1 >= \$LQR_REQUIRED_VERSION\""; } >&5
4919 ($PKG_CONFIG --exists --print-errors "lqr-1 >= $LQR_REQUIRED_VERSION") 2>&5
4920 ac_status=$?
4921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4922 test $ac_status = 0; }; then
4923 pkg_cv_LQR_LIBS=`$PKG_CONFIG --libs "lqr-1 >= $LQR_REQUIRED_VERSION" 2>/dev/null`
4924 else
4925 pkg_failed=yes
4928 else
4929 pkg_failed=untried
4934 if test $pkg_failed = yes; then
4936 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4937 _pkg_short_errors_supported=yes
4938 else
4939 _pkg_short_errors_supported=no
4941 if test $_pkg_short_errors_supported = yes; then
4942 LQR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lqr-1 >= $LQR_REQUIRED_VERSION"`
4943 else
4944 LQR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lqr-1 >= $LQR_REQUIRED_VERSION"`
4946 # Put the nasty error message in config.log where it belongs
4947 echo "$LQR_PKG_ERRORS" >&5
4949 as_fn_error "Package requirements (lqr-1 >= $LQR_REQUIRED_VERSION) were not met:
4951 $LQR_PKG_ERRORS
4953 Consider adjusting the PKG_CONFIG_PATH environment variable if you
4954 installed software in a non-standard prefix.
4956 Alternatively, you may set the environment variables LQR_CFLAGS
4957 and LQR_LIBS to avoid the need to call pkg-config.
4958 See the pkg-config man page for more details.
4959 " "$LINENO" 5
4960 elif test $pkg_failed = untried; then
4961 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4963 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
4964 is in your PATH or set the PKG_CONFIG environment variable to the full
4965 path to pkg-config.
4967 Alternatively, you may set the environment variables LQR_CFLAGS
4968 and LQR_LIBS to avoid the need to call pkg-config.
4969 See the pkg-config man page for more details.
4971 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4972 See \`config.log' for more details." "$LINENO" 5; }
4973 else
4974 LQR_CFLAGS=$pkg_cv_LQR_CFLAGS
4975 LQR_LIBS=$pkg_cv_LQR_LIBS
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4977 $as_echo "yes" >&6; }
4985 LQR_LIBDIR=`$PKG_CONFIG --variable=libdir lqr-1`
4991 GETTEXT_PACKAGE=gimp20-lqr-plugin
4994 cat >>confdefs.h <<_ACEOF
4995 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
4996 _ACEOF
4999 ALL_LINGUAS="it fr ru pt_BR de eu_ES zh_CN es_AR hu ro_RO sr es_ES nb_NO zh_TW"
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5003 $as_echo_n "checking whether NLS is requested... " >&6; }
5004 # Check whether --enable-nls was given.
5005 if test "${enable_nls+set}" = set; then :
5006 enableval=$enable_nls; USE_NLS=$enableval
5007 else
5008 USE_NLS=yes
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5012 $as_echo "$USE_NLS" >&6; }
5017 case "$am__api_version" in
5018 1.01234)
5019 as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
5023 esac
5025 if test -n ""; then
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5
5027 $as_echo_n "checking for intltool >= ... " >&6; }
5029 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5030 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
5031 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
5034 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
5035 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
5036 as_fn_error "Your intltool is too old. You need intltool or later." "$LINENO" 5
5039 # Extract the first word of "intltool-update", so it can be a program name with args.
5040 set dummy intltool-update; ac_word=$2
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5042 $as_echo_n "checking for $ac_word... " >&6; }
5043 if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
5044 $as_echo_n "(cached) " >&6
5045 else
5046 case $INTLTOOL_UPDATE in
5047 [\\/]* | ?:[\\/]*)
5048 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
5051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5052 for as_dir in $PATH
5054 IFS=$as_save_IFS
5055 test -z "$as_dir" && as_dir=.
5056 for ac_exec_ext in '' $ac_executable_extensions; do
5057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5058 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
5059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5060 break 2
5062 done
5063 done
5064 IFS=$as_save_IFS
5067 esac
5069 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
5070 if test -n "$INTLTOOL_UPDATE"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
5072 $as_echo "$INTLTOOL_UPDATE" >&6; }
5073 else
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5079 # Extract the first word of "intltool-merge", so it can be a program name with args.
5080 set dummy intltool-merge; ac_word=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
5084 $as_echo_n "(cached) " >&6
5085 else
5086 case $INTLTOOL_MERGE in
5087 [\\/]* | ?:[\\/]*)
5088 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
5091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092 for as_dir in $PATH
5094 IFS=$as_save_IFS
5095 test -z "$as_dir" && as_dir=.
5096 for ac_exec_ext in '' $ac_executable_extensions; do
5097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5098 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
5099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100 break 2
5102 done
5103 done
5104 IFS=$as_save_IFS
5107 esac
5109 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
5110 if test -n "$INTLTOOL_MERGE"; then
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
5112 $as_echo "$INTLTOOL_MERGE" >&6; }
5113 else
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5115 $as_echo "no" >&6; }
5119 # Extract the first word of "intltool-extract", so it can be a program name with args.
5120 set dummy intltool-extract; ac_word=$2
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5122 $as_echo_n "checking for $ac_word... " >&6; }
5123 if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
5124 $as_echo_n "(cached) " >&6
5125 else
5126 case $INTLTOOL_EXTRACT in
5127 [\\/]* | ?:[\\/]*)
5128 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
5131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5132 for as_dir in $PATH
5134 IFS=$as_save_IFS
5135 test -z "$as_dir" && as_dir=.
5136 for ac_exec_ext in '' $ac_executable_extensions; do
5137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5138 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
5139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5140 break 2
5142 done
5143 done
5144 IFS=$as_save_IFS
5147 esac
5149 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
5150 if test -n "$INTLTOOL_EXTRACT"; then
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
5152 $as_echo "$INTLTOOL_EXTRACT" >&6; }
5153 else
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5155 $as_echo "no" >&6; }
5159 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
5160 as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
5163 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5164 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5165 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5166 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5167 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
5168 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5169 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5170 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5171 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5172 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5173 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5174 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
5175 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5176 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5177 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5178 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5179 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5180 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5181 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5279 # Check the gettext tools to make sure they are GNU
5280 # Extract the first word of "xgettext", so it can be a program name with args.
5281 set dummy xgettext; ac_word=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5285 $as_echo_n "(cached) " >&6
5286 else
5287 case $XGETTEXT in
5288 [\\/]* | ?:[\\/]*)
5289 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5293 for as_dir in $PATH
5295 IFS=$as_save_IFS
5296 test -z "$as_dir" && as_dir=.
5297 for ac_exec_ext in '' $ac_executable_extensions; do
5298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5299 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5301 break 2
5303 done
5304 done
5305 IFS=$as_save_IFS
5308 esac
5310 XGETTEXT=$ac_cv_path_XGETTEXT
5311 if test -n "$XGETTEXT"; then
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5313 $as_echo "$XGETTEXT" >&6; }
5314 else
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5316 $as_echo "no" >&6; }
5320 # Extract the first word of "msgmerge", so it can be a program name with args.
5321 set dummy msgmerge; ac_word=$2
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5323 $as_echo_n "checking for $ac_word... " >&6; }
5324 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
5325 $as_echo_n "(cached) " >&6
5326 else
5327 case $MSGMERGE in
5328 [\\/]* | ?:[\\/]*)
5329 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 for as_dir in $PATH
5335 IFS=$as_save_IFS
5336 test -z "$as_dir" && as_dir=.
5337 for ac_exec_ext in '' $ac_executable_extensions; do
5338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5339 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 break 2
5343 done
5344 done
5345 IFS=$as_save_IFS
5348 esac
5350 MSGMERGE=$ac_cv_path_MSGMERGE
5351 if test -n "$MSGMERGE"; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5353 $as_echo "$MSGMERGE" >&6; }
5354 else
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5356 $as_echo "no" >&6; }
5360 # Extract the first word of "msgfmt", so it can be a program name with args.
5361 set dummy msgfmt; ac_word=$2
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5363 $as_echo_n "checking for $ac_word... " >&6; }
5364 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5365 $as_echo_n "(cached) " >&6
5366 else
5367 case $MSGFMT in
5368 [\\/]* | ?:[\\/]*)
5369 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 for as_dir in $PATH
5375 IFS=$as_save_IFS
5376 test -z "$as_dir" && as_dir=.
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5379 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381 break 2
5383 done
5384 done
5385 IFS=$as_save_IFS
5388 esac
5390 MSGFMT=$ac_cv_path_MSGFMT
5391 if test -n "$MSGFMT"; then
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5393 $as_echo "$MSGFMT" >&6; }
5394 else
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5396 $as_echo "no" >&6; }
5400 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5401 set dummy gmsgfmt; ac_word=$2
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5403 $as_echo_n "checking for $ac_word... " >&6; }
5404 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5405 $as_echo_n "(cached) " >&6
5406 else
5407 case $GMSGFMT in
5408 [\\/]* | ?:[\\/]*)
5409 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5415 IFS=$as_save_IFS
5416 test -z "$as_dir" && as_dir=.
5417 for ac_exec_ext in '' $ac_executable_extensions; do
5418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5419 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 break 2
5423 done
5424 done
5425 IFS=$as_save_IFS
5427 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5429 esac
5431 GMSGFMT=$ac_cv_path_GMSGFMT
5432 if test -n "$GMSGFMT"; then
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5434 $as_echo "$GMSGFMT" >&6; }
5435 else
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5437 $as_echo "no" >&6; }
5441 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5442 as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
5444 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5445 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5446 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5447 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5448 as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
5451 # Extract the first word of "perl", so it can be a program name with args.
5452 set dummy perl; ac_word=$2
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5454 $as_echo_n "checking for $ac_word... " >&6; }
5455 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
5456 $as_echo_n "(cached) " >&6
5457 else
5458 case $INTLTOOL_PERL in
5459 [\\/]* | ?:[\\/]*)
5460 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5464 for as_dir in $PATH
5466 IFS=$as_save_IFS
5467 test -z "$as_dir" && as_dir=.
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5470 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
5471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5472 break 2
5474 done
5475 done
5476 IFS=$as_save_IFS
5479 esac
5481 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
5482 if test -n "$INTLTOOL_PERL"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
5484 $as_echo "$INTLTOOL_PERL" >&6; }
5485 else
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5491 if test -z "$INTLTOOL_PERL"; then
5492 as_fn_error "perl not found" "$LINENO" 5
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5495 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
5496 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
5497 if test $? -ne 0; then
5498 as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
5499 else
5500 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5502 $as_echo "$IT_PERL_VERSION" >&6; }
5504 if test "x" != "xno-xml"; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
5506 $as_echo_n "checking for XML::Parser... " >&6; }
5507 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5509 $as_echo "ok" >&6; }
5510 else
5511 as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
5515 # Substitute ALL_LINGUAS so we can use it in po/Makefile
5518 # Set DATADIRNAME correctly if it is not set yet
5519 # (copied from glib-gettext.m4)
5520 if test -z "$DATADIRNAME"; then
5521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5522 /* end confdefs.h. */
5525 main ()
5527 extern int _nl_msg_cat_cntr;
5528 return _nl_msg_cat_cntr
5530 return 0;
5532 _ACEOF
5533 if ac_fn_c_try_link "$LINENO"; then :
5534 DATADIRNAME=share
5535 else
5536 case $host in
5537 *-*-solaris*)
5538 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5539 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5540 DATADIRNAME=share
5541 else
5542 DATADIRNAME=lib
5547 DATADIRNAME=lib
5549 esac
5551 rm -f core conftest.err conftest.$ac_objext \
5552 conftest$ac_exeext conftest.$ac_ext
5559 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5560 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5561 inttypes.h stdint.h unistd.h
5562 do :
5563 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5564 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5566 eval as_val=\$$as_ac_Header
5567 if test "x$as_val" = x""yes; then :
5568 cat >>confdefs.h <<_ACEOF
5569 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5570 _ACEOF
5574 done
5578 for ac_header in locale.h
5579 do :
5580 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5581 if test "x$ac_cv_header_locale_h" = x""yes; then :
5582 cat >>confdefs.h <<_ACEOF
5583 #define HAVE_LOCALE_H 1
5584 _ACEOF
5588 done
5590 if test $ac_cv_header_locale_h = yes; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5592 $as_echo_n "checking for LC_MESSAGES... " >&6; }
5593 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
5594 $as_echo_n "(cached) " >&6
5595 else
5596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5597 /* end confdefs.h. */
5598 #include <locale.h>
5600 main ()
5602 return LC_MESSAGES
5604 return 0;
5606 _ACEOF
5607 if ac_fn_c_try_link "$LINENO"; then :
5608 am_cv_val_LC_MESSAGES=yes
5609 else
5610 am_cv_val_LC_MESSAGES=no
5612 rm -f core conftest.err conftest.$ac_objext \
5613 conftest$ac_exeext conftest.$ac_ext
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5616 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5617 if test $am_cv_val_LC_MESSAGES = yes; then
5619 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5623 USE_NLS=yes
5626 gt_cv_have_gettext=no
5628 CATOBJEXT=NONE
5629 XGETTEXT=:
5630 INTLLIBS=
5632 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5633 if test "x$ac_cv_header_libintl_h" = x""yes; then :
5634 gt_cv_func_dgettext_libintl="no"
5635 libintl_extra_libs=""
5638 # First check in libc
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5641 $as_echo_n "checking for ngettext in libc... " >&6; }
5642 if test "${gt_cv_func_ngettext_libc+set}" = set; then :
5643 $as_echo_n "(cached) " >&6
5644 else
5645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5646 /* end confdefs.h. */
5648 #include <libintl.h>
5651 main ()
5653 return !ngettext ("","", 1)
5655 return 0;
5657 _ACEOF
5658 if ac_fn_c_try_link "$LINENO"; then :
5659 gt_cv_func_ngettext_libc=yes
5660 else
5661 gt_cv_func_ngettext_libc=no
5663 rm -f core conftest.err conftest.$ac_objext \
5664 conftest$ac_exeext conftest.$ac_ext
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
5668 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
5670 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
5672 $as_echo_n "checking for dgettext in libc... " >&6; }
5673 if test "${gt_cv_func_dgettext_libc+set}" = set; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5677 /* end confdefs.h. */
5679 #include <libintl.h>
5682 main ()
5684 return !dgettext ("","")
5686 return 0;
5688 _ACEOF
5689 if ac_fn_c_try_link "$LINENO"; then :
5690 gt_cv_func_dgettext_libc=yes
5691 else
5692 gt_cv_func_dgettext_libc=no
5694 rm -f core conftest.err conftest.$ac_objext \
5695 conftest$ac_exeext conftest.$ac_ext
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5699 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
5702 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5703 for ac_func in bind_textdomain_codeset
5704 do :
5705 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5706 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5707 cat >>confdefs.h <<_ACEOF
5708 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
5709 _ACEOF
5712 done
5717 # If we don't have everything we want, check in libintl
5719 if test "$gt_cv_func_dgettext_libc" != "yes" \
5720 || test "$gt_cv_func_ngettext_libc" != "yes" \
5721 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
5724 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
5725 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
5726 $as_echo_n "(cached) " >&6
5727 else
5728 ac_check_lib_save_LIBS=$LIBS
5729 LIBS="-lintl $LIBS"
5730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5731 /* end confdefs.h. */
5733 /* Override any GCC internal prototype to avoid an error.
5734 Use char because int might match the return type of a GCC
5735 builtin and then its argument prototype would still apply. */
5736 #ifdef __cplusplus
5737 extern "C"
5738 #endif
5739 char bindtextdomain ();
5741 main ()
5743 return bindtextdomain ();
5745 return 0;
5747 _ACEOF
5748 if ac_fn_c_try_link "$LINENO"; then :
5749 ac_cv_lib_intl_bindtextdomain=yes
5750 else
5751 ac_cv_lib_intl_bindtextdomain=no
5753 rm -f core conftest.err conftest.$ac_objext \
5754 conftest$ac_exeext conftest.$ac_ext
5755 LIBS=$ac_check_lib_save_LIBS
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
5758 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5759 if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5761 $as_echo_n "checking for ngettext in -lintl... " >&6; }
5762 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
5763 $as_echo_n "(cached) " >&6
5764 else
5765 ac_check_lib_save_LIBS=$LIBS
5766 LIBS="-lintl $LIBS"
5767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5768 /* end confdefs.h. */
5770 /* Override any GCC internal prototype to avoid an error.
5771 Use char because int might match the return type of a GCC
5772 builtin and then its argument prototype would still apply. */
5773 #ifdef __cplusplus
5774 extern "C"
5775 #endif
5776 char ngettext ();
5778 main ()
5780 return ngettext ();
5782 return 0;
5784 _ACEOF
5785 if ac_fn_c_try_link "$LINENO"; then :
5786 ac_cv_lib_intl_ngettext=yes
5787 else
5788 ac_cv_lib_intl_ngettext=no
5790 rm -f core conftest.err conftest.$ac_objext \
5791 conftest$ac_exeext conftest.$ac_ext
5792 LIBS=$ac_check_lib_save_LIBS
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5795 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5796 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
5798 $as_echo_n "checking for dgettext in -lintl... " >&6; }
5799 if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
5800 $as_echo_n "(cached) " >&6
5801 else
5802 ac_check_lib_save_LIBS=$LIBS
5803 LIBS="-lintl $LIBS"
5804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5805 /* end confdefs.h. */
5807 /* Override any GCC internal prototype to avoid an error.
5808 Use char because int might match the return type of a GCC
5809 builtin and then its argument prototype would still apply. */
5810 #ifdef __cplusplus
5811 extern "C"
5812 #endif
5813 char dgettext ();
5815 main ()
5817 return dgettext ();
5819 return 0;
5821 _ACEOF
5822 if ac_fn_c_try_link "$LINENO"; then :
5823 ac_cv_lib_intl_dgettext=yes
5824 else
5825 ac_cv_lib_intl_dgettext=no
5827 rm -f core conftest.err conftest.$ac_objext \
5828 conftest$ac_exeext conftest.$ac_ext
5829 LIBS=$ac_check_lib_save_LIBS
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
5832 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5833 if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
5834 gt_cv_func_dgettext_libintl=yes
5842 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5844 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5846 $as_echo "" >&6; }
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5848 $as_echo_n "checking for ngettext in -lintl... " >&6; }
5849 if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
5850 $as_echo_n "(cached) " >&6
5851 else
5852 ac_check_lib_save_LIBS=$LIBS
5853 LIBS="-lintl -liconv $LIBS"
5854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5855 /* end confdefs.h. */
5857 /* Override any GCC internal prototype to avoid an error.
5858 Use char because int might match the return type of a GCC
5859 builtin and then its argument prototype would still apply. */
5860 #ifdef __cplusplus
5861 extern "C"
5862 #endif
5863 char ngettext ();
5865 main ()
5867 return ngettext ();
5869 return 0;
5871 _ACEOF
5872 if ac_fn_c_try_link "$LINENO"; then :
5873 ac_cv_lib_intl_ngettext=yes
5874 else
5875 ac_cv_lib_intl_ngettext=no
5877 rm -f core conftest.err conftest.$ac_objext \
5878 conftest$ac_exeext conftest.$ac_ext
5879 LIBS=$ac_check_lib_save_LIBS
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5882 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5883 if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
5885 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
5886 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
5887 $as_echo_n "(cached) " >&6
5888 else
5889 ac_check_lib_save_LIBS=$LIBS
5890 LIBS="-lintl -liconv $LIBS"
5891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5892 /* end confdefs.h. */
5894 /* Override any GCC internal prototype to avoid an error.
5895 Use char because int might match the return type of a GCC
5896 builtin and then its argument prototype would still apply. */
5897 #ifdef __cplusplus
5898 extern "C"
5899 #endif
5900 char dcgettext ();
5902 main ()
5904 return dcgettext ();
5906 return 0;
5908 _ACEOF
5909 if ac_fn_c_try_link "$LINENO"; then :
5910 ac_cv_lib_intl_dcgettext=yes
5911 else
5912 ac_cv_lib_intl_dcgettext=no
5914 rm -f core conftest.err conftest.$ac_objext \
5915 conftest$ac_exeext conftest.$ac_ext
5916 LIBS=$ac_check_lib_save_LIBS
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
5919 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
5920 if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
5921 gt_cv_func_dgettext_libintl=yes
5922 libintl_extra_libs=-liconv
5923 else
5927 else
5934 # If we found libintl, then check in it for bind_textdomain_codeset();
5935 # we'll prefer libc if neither have bind_textdomain_codeset(),
5936 # and both have dgettext and ngettext
5938 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5939 glib_save_LIBS="$LIBS"
5940 LIBS="$LIBS -lintl $libintl_extra_libs"
5941 unset ac_cv_func_bind_textdomain_codeset
5942 for ac_func in bind_textdomain_codeset
5943 do :
5944 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5945 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5946 cat >>confdefs.h <<_ACEOF
5947 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
5948 _ACEOF
5951 done
5953 LIBS="$glib_save_LIBS"
5955 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5956 gt_cv_func_dgettext_libc=no
5957 else
5958 if test "$gt_cv_func_dgettext_libc" = "yes" \
5959 && test "$gt_cv_func_ngettext_libc" = "yes"; then
5960 gt_cv_func_dgettext_libintl=no
5966 if test "$gt_cv_func_dgettext_libc" = "yes" \
5967 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
5968 gt_cv_have_gettext=yes
5971 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5972 INTLLIBS="-lintl $libintl_extra_libs"
5975 if test "$gt_cv_have_gettext" = "yes"; then
5977 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5979 # Extract the first word of "msgfmt", so it can be a program name with args.
5980 set dummy msgfmt; ac_word=$2
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5982 $as_echo_n "checking for $ac_word... " >&6; }
5983 if test "${ac_cv_path_MSGFMT+set}" = set; then :
5984 $as_echo_n "(cached) " >&6
5985 else
5986 case "$MSGFMT" in
5988 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5991 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5992 for ac_dir in $PATH; do
5993 test -z "$ac_dir" && ac_dir=.
5994 if test -f $ac_dir/$ac_word; then
5995 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5996 ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5997 break
6000 done
6001 IFS="$ac_save_ifs"
6002 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
6004 esac
6006 MSGFMT="$ac_cv_path_MSGFMT"
6007 if test "$MSGFMT" != "no"; then
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6009 $as_echo "$MSGFMT" >&6; }
6010 else
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6012 $as_echo "no" >&6; }
6014 if test "$MSGFMT" != "no"; then
6015 glib_save_LIBS="$LIBS"
6016 LIBS="$LIBS $INTLLIBS"
6017 for ac_func in dcgettext
6018 do :
6019 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
6020 if test "x$ac_cv_func_dcgettext" = x""yes; then :
6021 cat >>confdefs.h <<_ACEOF
6022 #define HAVE_DCGETTEXT 1
6023 _ACEOF
6026 done
6028 MSGFMT_OPTS=
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
6030 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
6031 cat >conftest.foo <<_ACEOF
6033 msgid ""
6034 msgstr ""
6035 "Content-Type: text/plain; charset=UTF-8\n"
6036 "Project-Id-Version: test 1.0\n"
6037 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
6038 "Last-Translator: test <foo@bar.xx>\n"
6039 "Language-Team: C <LL@li.org>\n"
6040 "MIME-Version: 1.0\n"
6041 "Content-Transfer-Encoding: 8bit\n"
6043 _ACEOF
6044 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
6045 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
6046 ac_status=$?
6047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6048 test $ac_status = 0; }; then
6049 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6050 $as_echo "yes" >&6; }
6051 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6053 echo "$as_me: failed input was:" >&5
6054 sed 's/^/| /' conftest.foo >&5
6057 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6058 set dummy gmsgfmt; ac_word=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
6062 $as_echo_n "(cached) " >&6
6063 else
6064 case $GMSGFMT in
6065 [\\/]* | ?:[\\/]*)
6066 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH
6072 IFS=$as_save_IFS
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 break 2
6080 done
6081 done
6082 IFS=$as_save_IFS
6084 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6086 esac
6088 GMSGFMT=$ac_cv_path_GMSGFMT
6089 if test -n "$GMSGFMT"; then
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6091 $as_echo "$GMSGFMT" >&6; }
6092 else
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 $as_echo "no" >&6; }
6098 # Extract the first word of "xgettext", so it can be a program name with args.
6099 set dummy xgettext; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
6103 $as_echo_n "(cached) " >&6
6104 else
6105 case "$XGETTEXT" in
6107 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6110 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6111 for ac_dir in $PATH; do
6112 test -z "$ac_dir" && ac_dir=.
6113 if test -f $ac_dir/$ac_word; then
6114 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
6115 ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
6116 break
6119 done
6120 IFS="$ac_save_ifs"
6121 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6123 esac
6125 XGETTEXT="$ac_cv_path_XGETTEXT"
6126 if test "$XGETTEXT" != ":"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6128 $as_echo "$XGETTEXT" >&6; }
6129 else
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6135 /* end confdefs.h. */
6138 main ()
6140 extern int _nl_msg_cat_cntr;
6141 return _nl_msg_cat_cntr
6143 return 0;
6145 _ACEOF
6146 if ac_fn_c_try_link "$LINENO"; then :
6147 CATOBJEXT=.gmo
6148 DATADIRNAME=share
6149 else
6150 case $host in
6151 *-*-solaris*)
6152 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6153 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
6154 CATOBJEXT=.gmo
6155 DATADIRNAME=share
6156 else
6157 CATOBJEXT=.mo
6158 DATADIRNAME=lib
6163 CATOBJEXT=.mo
6164 DATADIRNAME=lib
6166 esac
6168 rm -f core conftest.err conftest.$ac_objext \
6169 conftest$ac_exeext conftest.$ac_ext
6170 LIBS="$glib_save_LIBS"
6171 INSTOBJEXT=.mo
6172 else
6173 gt_cv_have_gettext=no
6181 if test "$gt_cv_have_gettext" = "yes" ; then
6183 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
6187 if test "$XGETTEXT" != ":"; then
6188 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
6190 else
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
6192 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
6193 XGETTEXT=":"
6197 # We need to process the po/ directory.
6198 POSUB=po
6200 ac_config_commands="$ac_config_commands default-1"
6203 for lang in $ALL_LINGUAS; do
6204 GMOFILES="$GMOFILES $lang.gmo"
6205 POFILES="$POFILES $lang.po"
6206 done
6220 if test "$gt_cv_have_gettext" = "yes"; then
6221 if test "x$ALL_LINGUAS" = "x"; then
6222 LINGUAS=
6223 else
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
6225 $as_echo_n "checking for catalogs to be installed... " >&6; }
6226 NEW_LINGUAS=
6227 for presentlang in $ALL_LINGUAS; do
6228 useit=no
6229 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
6230 desiredlanguages="$LINGUAS"
6231 else
6232 desiredlanguages="$ALL_LINGUAS"
6234 for desiredlang in $desiredlanguages; do
6235 # Use the presentlang catalog if desiredlang is
6236 # a. equal to presentlang, or
6237 # b. a variant of presentlang (because in this case,
6238 # presentlang can be used as a fallback for messages
6239 # which are not translated in the desiredlang catalog).
6240 case "$desiredlang" in
6241 "$presentlang"*) useit=yes;;
6242 esac
6243 done
6244 if test $useit = yes; then
6245 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
6247 done
6248 LINGUAS=$NEW_LINGUAS
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
6250 $as_echo "$LINGUAS" >&6; }
6253 if test -n "$LINGUAS"; then
6254 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
6258 MKINSTALLDIRS=
6259 if test -n "$ac_aux_dir"; then
6260 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
6262 if test -z "$MKINSTALLDIRS"; then
6263 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
6267 test -d po || mkdir po
6268 if test "x$srcdir" != "x."; then
6269 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
6270 posrcprefix="$srcdir/"
6271 else
6272 posrcprefix="../$srcdir/"
6274 else
6275 posrcprefix="../"
6277 rm -f po/POTFILES
6278 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
6279 < $srcdir/po/POTFILES.in > po/POTFILES
6282 for ac_func in bind_textdomain_codeset
6283 do :
6284 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6285 if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
6286 cat >>confdefs.h <<_ACEOF
6287 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
6288 _ACEOF
6291 done
6294 LOCALEDIR="${datadir}/locale"
6295 if test "$DATADIRNAME" = "lib"; then
6296 LOCALEDIR="$libdir/locale"
6300 PLUGIN_DATADIR="${datadir}/gimp-lqr-plugin"
6303 SCRIPTSDIR="${GIMP_DATADIR}/scripts"
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version 2.12.0 or newer" >&5
6307 $as_echo_n "checking if GTK+ is version 2.12.0 or newer... " >&6; }
6308 if $PKG_CONFIG --atleast-version=2.12.0 gtk+-2.0; then
6309 have_gtk_2_12=yes
6310 else
6311 have_gtk_2_12=no
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_2_12" >&5
6314 $as_echo "$have_gtk_2_12" >&6; }
6316 if test "x$have_gtk_2_7" != "xyes"; then
6317 CPPFLAGS="$CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GIMP is version 2.4.0 or newer" >&5
6322 $as_echo_n "checking if GIMP is version 2.4.0 or newer... " >&6; }
6323 if $PKG_CONFIG --atleast-version=2.4.0 gimp-2.0; then
6324 have_gimp_2_4=yes
6325 else
6326 have_gimp_2_4=no
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gimp_2_4" >&5
6329 $as_echo "$have_gimp_2_4" >&6; }
6331 if test "x$have_gimp_2_4" != "xyes"; then
6332 CPPFLAGS="$CPPFLAGS -DGIMP_DISABLE_DEPRECATED"
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we are on Win32" >&5
6336 $as_echo_n "checking if we are on Win32... " >&6; }
6337 ac_ext=c
6338 ac_cpp='$CPP $CPPFLAGS'
6339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6346 #ifndef WIN32
6347 #error
6348 #endif
6350 _ACEOF
6351 if ac_fn_c_try_cpp "$LINENO"; then :
6352 is_win32=yes
6353 else
6354 is_win32=no
6356 rm -f conftest.err conftest.$ac_ext
6357 if test "x$is_win32" = "xyes"; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6359 $as_echo "yes" >&6; }
6360 CFLAGS="$CFLAGS -s"
6361 LDFLAGS="$LDFLAGS -mwindows"
6362 else
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6364 $as_echo "no" >&6; }
6367 ac_config_files="$ac_config_files Makefile src/Makefile gap/Makefile batch/Makefile po/Makefile.in help/Makefile help/en/Makefile help/en/images/Makefile help/it/Makefile help/it/images/Makefile help/ru/Makefile help/ru/images/Makefile help/css/Makefile"
6370 cat >confcache <<\_ACEOF
6371 # This file is a shell script that caches the results of configure
6372 # tests run on this system so they can be shared between configure
6373 # scripts and configure runs, see configure's option --config-cache.
6374 # It is not useful on other systems. If it contains results you don't
6375 # want to keep, you may remove or edit it.
6377 # config.status only pays attention to the cache file if you give it
6378 # the --recheck option to rerun configure.
6380 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6381 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6382 # following values.
6384 _ACEOF
6386 # The following way of writing the cache mishandles newlines in values,
6387 # but we know of no workaround that is simple, portable, and efficient.
6388 # So, we kill variables containing newlines.
6389 # Ultrix sh set writes to stderr and can't be redirected directly,
6390 # and sets the high bit in the cache file unless we assign to the vars.
6392 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6393 eval ac_val=\$$ac_var
6394 case $ac_val in #(
6395 *${as_nl}*)
6396 case $ac_var in #(
6397 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6398 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6399 esac
6400 case $ac_var in #(
6401 _ | IFS | as_nl) ;; #(
6402 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6403 *) { eval $ac_var=; unset $ac_var;} ;;
6404 esac ;;
6405 esac
6406 done
6408 (set) 2>&1 |
6409 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6410 *${as_nl}ac_space=\ *)
6411 # `set' does not quote correctly, so add quotes: double-quote
6412 # substitution turns \\\\ into \\, and sed turns \\ into \.
6413 sed -n \
6414 "s/'/'\\\\''/g;
6415 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6416 ;; #(
6418 # `set' quotes correctly as required by POSIX, so do not add quotes.
6419 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6421 esac |
6422 sort
6424 sed '
6425 /^ac_cv_env_/b end
6426 t clear
6427 :clear
6428 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6429 t end
6430 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6431 :end' >>confcache
6432 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6433 if test -w "$cache_file"; then
6434 test "x$cache_file" != "x/dev/null" &&
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6436 $as_echo "$as_me: updating cache $cache_file" >&6;}
6437 cat confcache >$cache_file
6438 else
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6440 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6443 rm -f confcache
6445 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6446 # Let make expand exec_prefix.
6447 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6449 DEFS=-DHAVE_CONFIG_H
6451 ac_libobjs=
6452 ac_ltlibobjs=
6453 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6454 # 1. Remove the extension, and $U if already installed.
6455 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6456 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6457 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6458 # will be set to the directory where LIBOBJS objects are built.
6459 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6460 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6461 done
6462 LIBOBJS=$ac_libobjs
6464 LTLIBOBJS=$ac_ltlibobjs
6467 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6468 as_fn_error "conditional \"AMDEP\" was never defined.
6469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6471 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6472 as_fn_error "conditional \"am__fastdepCC\" was never defined.
6473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6475 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6476 as_fn_error "conditional \"am__fastdepCC\" was never defined.
6477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6479 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6480 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
6481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6484 ac_config_commands="$ac_config_commands po/stamp-it"
6488 : ${CONFIG_STATUS=./config.status}
6489 ac_write_fail=0
6490 ac_clean_files_save=$ac_clean_files
6491 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6493 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6494 as_write_fail=0
6495 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6496 #! $SHELL
6497 # Generated by $as_me.
6498 # Run this file to recreate the current configuration.
6499 # Compiler output produced by configure, useful for debugging
6500 # configure, is in config.log if it exists.
6502 debug=false
6503 ac_cs_recheck=false
6504 ac_cs_silent=false
6506 SHELL=\${CONFIG_SHELL-$SHELL}
6507 export SHELL
6508 _ASEOF
6509 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6510 ## -------------------- ##
6511 ## M4sh Initialization. ##
6512 ## -------------------- ##
6514 # Be more Bourne compatible
6515 DUALCASE=1; export DUALCASE # for MKS sh
6516 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6517 emulate sh
6518 NULLCMD=:
6519 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6520 # is contrary to our usage. Disable this feature.
6521 alias -g '${1+"$@"}'='"$@"'
6522 setopt NO_GLOB_SUBST
6523 else
6524 case `(set -o) 2>/dev/null` in #(
6525 *posix*) :
6526 set -o posix ;; #(
6527 *) :
6529 esac
6533 as_nl='
6535 export as_nl
6536 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6537 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6538 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6539 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6540 # Prefer a ksh shell builtin over an external printf program on Solaris,
6541 # but without wasting forks for bash or zsh.
6542 if test -z "$BASH_VERSION$ZSH_VERSION" \
6543 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6544 as_echo='print -r --'
6545 as_echo_n='print -rn --'
6546 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6547 as_echo='printf %s\n'
6548 as_echo_n='printf %s'
6549 else
6550 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6551 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6552 as_echo_n='/usr/ucb/echo -n'
6553 else
6554 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6555 as_echo_n_body='eval
6556 arg=$1;
6557 case $arg in #(
6558 *"$as_nl"*)
6559 expr "X$arg" : "X\\(.*\\)$as_nl";
6560 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6561 esac;
6562 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6564 export as_echo_n_body
6565 as_echo_n='sh -c $as_echo_n_body as_echo'
6567 export as_echo_body
6568 as_echo='sh -c $as_echo_body as_echo'
6571 # The user is always right.
6572 if test "${PATH_SEPARATOR+set}" != set; then
6573 PATH_SEPARATOR=:
6574 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6575 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6576 PATH_SEPARATOR=';'
6581 # IFS
6582 # We need space, tab and new line, in precisely that order. Quoting is
6583 # there to prevent editors from complaining about space-tab.
6584 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6585 # splitting by setting IFS to empty value.)
6586 IFS=" "" $as_nl"
6588 # Find who we are. Look in the path if we contain no directory separator.
6589 case $0 in #((
6590 *[\\/]* ) as_myself=$0 ;;
6591 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6592 for as_dir in $PATH
6594 IFS=$as_save_IFS
6595 test -z "$as_dir" && as_dir=.
6596 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6597 done
6598 IFS=$as_save_IFS
6601 esac
6602 # We did not find ourselves, most probably we were run as `sh COMMAND'
6603 # in which case we are not to be found in the path.
6604 if test "x$as_myself" = x; then
6605 as_myself=$0
6607 if test ! -f "$as_myself"; then
6608 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6609 exit 1
6612 # Unset variables that we do not need and which cause bugs (e.g. in
6613 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6614 # suppresses any "Segmentation fault" message there. '((' could
6615 # trigger a bug in pdksh 5.2.14.
6616 for as_var in BASH_ENV ENV MAIL MAILPATH
6617 do eval test x\${$as_var+set} = xset \
6618 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6619 done
6620 PS1='$ '
6621 PS2='> '
6622 PS4='+ '
6624 # NLS nuisances.
6625 LC_ALL=C
6626 export LC_ALL
6627 LANGUAGE=C
6628 export LANGUAGE
6630 # CDPATH.
6631 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6634 # as_fn_error ERROR [LINENO LOG_FD]
6635 # ---------------------------------
6636 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6637 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6638 # script with status $?, using 1 if that was 0.
6639 as_fn_error ()
6641 as_status=$?; test $as_status -eq 0 && as_status=1
6642 if test "$3"; then
6643 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6644 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
6646 $as_echo "$as_me: error: $1" >&2
6647 as_fn_exit $as_status
6648 } # as_fn_error
6651 # as_fn_set_status STATUS
6652 # -----------------------
6653 # Set $? to STATUS, without forking.
6654 as_fn_set_status ()
6656 return $1
6657 } # as_fn_set_status
6659 # as_fn_exit STATUS
6660 # -----------------
6661 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6662 as_fn_exit ()
6664 set +e
6665 as_fn_set_status $1
6666 exit $1
6667 } # as_fn_exit
6669 # as_fn_unset VAR
6670 # ---------------
6671 # Portably unset VAR.
6672 as_fn_unset ()
6674 { eval $1=; unset $1;}
6676 as_unset=as_fn_unset
6677 # as_fn_append VAR VALUE
6678 # ----------------------
6679 # Append the text in VALUE to the end of the definition contained in VAR. Take
6680 # advantage of any shell optimizations that allow amortized linear growth over
6681 # repeated appends, instead of the typical quadratic growth present in naive
6682 # implementations.
6683 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6684 eval 'as_fn_append ()
6686 eval $1+=\$2
6688 else
6689 as_fn_append ()
6691 eval $1=\$$1\$2
6693 fi # as_fn_append
6695 # as_fn_arith ARG...
6696 # ------------------
6697 # Perform arithmetic evaluation on the ARGs, and store the result in the
6698 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6699 # must be portable across $(()) and expr.
6700 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6701 eval 'as_fn_arith ()
6703 as_val=$(( $* ))
6705 else
6706 as_fn_arith ()
6708 as_val=`expr "$@" || test $? -eq 1`
6710 fi # as_fn_arith
6713 if expr a : '\(a\)' >/dev/null 2>&1 &&
6714 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6715 as_expr=expr
6716 else
6717 as_expr=false
6720 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6721 as_basename=basename
6722 else
6723 as_basename=false
6726 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6727 as_dirname=dirname
6728 else
6729 as_dirname=false
6732 as_me=`$as_basename -- "$0" ||
6733 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6734 X"$0" : 'X\(//\)$' \| \
6735 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6736 $as_echo X/"$0" |
6737 sed '/^.*\/\([^/][^/]*\)\/*$/{
6738 s//\1/
6741 /^X\/\(\/\/\)$/{
6742 s//\1/
6745 /^X\/\(\/\).*/{
6746 s//\1/
6749 s/.*/./; q'`
6751 # Avoid depending upon Character Ranges.
6752 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6753 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6754 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6755 as_cr_digits='0123456789'
6756 as_cr_alnum=$as_cr_Letters$as_cr_digits
6758 ECHO_C= ECHO_N= ECHO_T=
6759 case `echo -n x` in #(((((
6760 -n*)
6761 case `echo 'xy\c'` in
6762 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6763 xy) ECHO_C='\c';;
6764 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6765 ECHO_T=' ';;
6766 esac;;
6768 ECHO_N='-n';;
6769 esac
6771 rm -f conf$$ conf$$.exe conf$$.file
6772 if test -d conf$$.dir; then
6773 rm -f conf$$.dir/conf$$.file
6774 else
6775 rm -f conf$$.dir
6776 mkdir conf$$.dir 2>/dev/null
6778 if (echo >conf$$.file) 2>/dev/null; then
6779 if ln -s conf$$.file conf$$ 2>/dev/null; then
6780 as_ln_s='ln -s'
6781 # ... but there are two gotchas:
6782 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6783 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6784 # In both cases, we have to default to `cp -p'.
6785 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6786 as_ln_s='cp -p'
6787 elif ln conf$$.file conf$$ 2>/dev/null; then
6788 as_ln_s=ln
6789 else
6790 as_ln_s='cp -p'
6792 else
6793 as_ln_s='cp -p'
6795 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6796 rmdir conf$$.dir 2>/dev/null
6799 # as_fn_mkdir_p
6800 # -------------
6801 # Create "$as_dir" as a directory, including parents if necessary.
6802 as_fn_mkdir_p ()
6805 case $as_dir in #(
6806 -*) as_dir=./$as_dir;;
6807 esac
6808 test -d "$as_dir" || eval $as_mkdir_p || {
6809 as_dirs=
6810 while :; do
6811 case $as_dir in #(
6812 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6813 *) as_qdir=$as_dir;;
6814 esac
6815 as_dirs="'$as_qdir' $as_dirs"
6816 as_dir=`$as_dirname -- "$as_dir" ||
6817 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6818 X"$as_dir" : 'X\(//\)[^/]' \| \
6819 X"$as_dir" : 'X\(//\)$' \| \
6820 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6821 $as_echo X"$as_dir" |
6822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6823 s//\1/
6826 /^X\(\/\/\)[^/].*/{
6827 s//\1/
6830 /^X\(\/\/\)$/{
6831 s//\1/
6834 /^X\(\/\).*/{
6835 s//\1/
6838 s/.*/./; q'`
6839 test -d "$as_dir" && break
6840 done
6841 test -z "$as_dirs" || eval "mkdir $as_dirs"
6842 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
6845 } # as_fn_mkdir_p
6846 if mkdir -p . 2>/dev/null; then
6847 as_mkdir_p='mkdir -p "$as_dir"'
6848 else
6849 test -d ./-p && rmdir ./-p
6850 as_mkdir_p=false
6853 if test -x / >/dev/null 2>&1; then
6854 as_test_x='test -x'
6855 else
6856 if ls -dL / >/dev/null 2>&1; then
6857 as_ls_L_option=L
6858 else
6859 as_ls_L_option=
6861 as_test_x='
6862 eval sh -c '\''
6863 if test -d "$1"; then
6864 test -d "$1/.";
6865 else
6866 case $1 in #(
6867 -*)set "./$1";;
6868 esac;
6869 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
6870 ???[sx]*):;;*)false;;esac;fi
6871 '\'' sh
6874 as_executable_p=$as_test_x
6876 # Sed expression to map a string onto a valid CPP name.
6877 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6879 # Sed expression to map a string onto a valid variable name.
6880 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6883 exec 6>&1
6884 ## ----------------------------------- ##
6885 ## Main body of $CONFIG_STATUS script. ##
6886 ## ----------------------------------- ##
6887 _ASEOF
6888 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6891 # Save the log message, to keep $0 and so on meaningful, and to
6892 # report actual input values of CONFIG_FILES etc. instead of their
6893 # values after options handling.
6894 ac_log="
6895 This file was extended by gimp-lqr-plugin $as_me 0.7.0, which was
6896 generated by GNU Autoconf 2.65. Invocation command line was
6898 CONFIG_FILES = $CONFIG_FILES
6899 CONFIG_HEADERS = $CONFIG_HEADERS
6900 CONFIG_LINKS = $CONFIG_LINKS
6901 CONFIG_COMMANDS = $CONFIG_COMMANDS
6902 $ $0 $@
6904 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6907 _ACEOF
6909 case $ac_config_files in *"
6910 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6911 esac
6913 case $ac_config_headers in *"
6914 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6915 esac
6918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6919 # Files that config.status was made for.
6920 config_files="$ac_config_files"
6921 config_headers="$ac_config_headers"
6922 config_commands="$ac_config_commands"
6924 _ACEOF
6926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6927 ac_cs_usage="\
6928 \`$as_me' instantiates files and other configuration actions
6929 from templates according to the current configuration. Unless the files
6930 and actions are specified as TAGs, all are instantiated by default.
6932 Usage: $0 [OPTION]... [TAG]...
6934 -h, --help print this help, then exit
6935 -V, --version print version number and configuration settings, then exit
6936 --config print configuration, then exit
6937 -q, --quiet, --silent
6938 do not print progress messages
6939 -d, --debug don't remove temporary files
6940 --recheck update $as_me by reconfiguring in the same conditions
6941 --file=FILE[:TEMPLATE]
6942 instantiate the configuration file FILE
6943 --header=FILE[:TEMPLATE]
6944 instantiate the configuration header FILE
6946 Configuration files:
6947 $config_files
6949 Configuration headers:
6950 $config_headers
6952 Configuration commands:
6953 $config_commands
6955 Report bugs to the package provider."
6957 _ACEOF
6958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6959 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6960 ac_cs_version="\\
6961 gimp-lqr-plugin config.status 0.7.0
6962 configured by $0, generated by GNU Autoconf 2.65,
6963 with options \\"\$ac_cs_config\\"
6965 Copyright (C) 2009 Free Software Foundation, Inc.
6966 This config.status script is free software; the Free Software Foundation
6967 gives unlimited permission to copy, distribute and modify it."
6969 ac_pwd='$ac_pwd'
6970 srcdir='$srcdir'
6971 INSTALL='$INSTALL'
6972 AWK='$AWK'
6973 test -n "\$AWK" || AWK=awk
6974 _ACEOF
6976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6977 # The default lists apply if the user does not specify any file.
6978 ac_need_defaults=:
6979 while test $# != 0
6981 case $1 in
6982 --*=*)
6983 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6984 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6985 ac_shift=:
6988 ac_option=$1
6989 ac_optarg=$2
6990 ac_shift=shift
6992 esac
6994 case $ac_option in
6995 # Handling of the options.
6996 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6997 ac_cs_recheck=: ;;
6998 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6999 $as_echo "$ac_cs_version"; exit ;;
7000 --config | --confi | --conf | --con | --co | --c )
7001 $as_echo "$ac_cs_config"; exit ;;
7002 --debug | --debu | --deb | --de | --d | -d )
7003 debug=: ;;
7004 --file | --fil | --fi | --f )
7005 $ac_shift
7006 case $ac_optarg in
7007 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7008 esac
7009 as_fn_append CONFIG_FILES " '$ac_optarg'"
7010 ac_need_defaults=false;;
7011 --header | --heade | --head | --hea )
7012 $ac_shift
7013 case $ac_optarg in
7014 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7015 esac
7016 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7017 ac_need_defaults=false;;
7018 --he | --h)
7019 # Conflict between --help and --header
7020 as_fn_error "ambiguous option: \`$1'
7021 Try \`$0 --help' for more information.";;
7022 --help | --hel | -h )
7023 $as_echo "$ac_cs_usage"; exit ;;
7024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7025 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7026 ac_cs_silent=: ;;
7028 # This is an error.
7029 -*) as_fn_error "unrecognized option: \`$1'
7030 Try \`$0 --help' for more information." ;;
7032 *) as_fn_append ac_config_targets " $1"
7033 ac_need_defaults=false ;;
7035 esac
7036 shift
7037 done
7039 ac_configure_extra_args=
7041 if $ac_cs_silent; then
7042 exec 6>/dev/null
7043 ac_configure_extra_args="$ac_configure_extra_args --silent"
7046 _ACEOF
7047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7048 if \$ac_cs_recheck; then
7049 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7050 shift
7051 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7052 CONFIG_SHELL='$SHELL'
7053 export CONFIG_SHELL
7054 exec "\$@"
7057 _ACEOF
7058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7059 exec 5>>config.log
7061 echo
7062 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7063 ## Running $as_me. ##
7064 _ASBOX
7065 $as_echo "$ac_log"
7066 } >&5
7068 _ACEOF
7069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7071 # INIT-COMMANDS
7073 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7076 _ACEOF
7078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7080 # Handling of arguments.
7081 for ac_config_target in $ac_config_targets
7083 case $ac_config_target in
7084 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7085 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7086 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
7087 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7088 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7089 "gap/Makefile") CONFIG_FILES="$CONFIG_FILES gap/Makefile" ;;
7090 "batch/Makefile") CONFIG_FILES="$CONFIG_FILES batch/Makefile" ;;
7091 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7092 "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
7093 "help/en/Makefile") CONFIG_FILES="$CONFIG_FILES help/en/Makefile" ;;
7094 "help/en/images/Makefile") CONFIG_FILES="$CONFIG_FILES help/en/images/Makefile" ;;
7095 "help/it/Makefile") CONFIG_FILES="$CONFIG_FILES help/it/Makefile" ;;
7096 "help/it/images/Makefile") CONFIG_FILES="$CONFIG_FILES help/it/images/Makefile" ;;
7097 "help/ru/Makefile") CONFIG_FILES="$CONFIG_FILES help/ru/Makefile" ;;
7098 "help/ru/images/Makefile") CONFIG_FILES="$CONFIG_FILES help/ru/images/Makefile" ;;
7099 "help/css/Makefile") CONFIG_FILES="$CONFIG_FILES help/css/Makefile" ;;
7100 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
7102 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7103 esac
7104 done
7107 # If the user did not use the arguments to specify the items to instantiate,
7108 # then the envvar interface is used. Set only those that are not.
7109 # We use the long form for the default assignment because of an extremely
7110 # bizarre bug on SunOS 4.1.3.
7111 if $ac_need_defaults; then
7112 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7113 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7114 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7117 # Have a temporary directory for convenience. Make it in the build tree
7118 # simply because there is no reason against having it here, and in addition,
7119 # creating and moving files from /tmp can sometimes cause problems.
7120 # Hook for its removal unless debugging.
7121 # Note that there is a small window in which the directory will not be cleaned:
7122 # after its creation but before its name has been assigned to `$tmp'.
7123 $debug ||
7125 tmp=
7126 trap 'exit_status=$?
7127 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7129 trap 'as_fn_exit 1' 1 2 13 15
7131 # Create a (secure) tmp directory for tmp files.
7134 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7135 test -n "$tmp" && test -d "$tmp"
7136 } ||
7138 tmp=./conf$$-$RANDOM
7139 (umask 077 && mkdir "$tmp")
7140 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
7142 # Set up the scripts for CONFIG_FILES section.
7143 # No need to generate them if there are no CONFIG_FILES.
7144 # This happens for instance with `./config.status config.h'.
7145 if test -n "$CONFIG_FILES"; then
7148 ac_cr=`echo X | tr X '\015'`
7149 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7150 # But we know of no other shell where ac_cr would be empty at this
7151 # point, so we can use a bashism as a fallback.
7152 if test "x$ac_cr" = x; then
7153 eval ac_cr=\$\'\\r\'
7155 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7156 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7157 ac_cs_awk_cr='\r'
7158 else
7159 ac_cs_awk_cr=$ac_cr
7162 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7163 _ACEOF
7167 echo "cat >conf$$subs.awk <<_ACEOF" &&
7168 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7169 echo "_ACEOF"
7170 } >conf$$subs.sh ||
7171 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
7172 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
7173 ac_delim='%!_!# '
7174 for ac_last_try in false false false false false :; do
7175 . ./conf$$subs.sh ||
7176 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
7178 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7179 if test $ac_delim_n = $ac_delim_num; then
7180 break
7181 elif $ac_last_try; then
7182 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
7183 else
7184 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7186 done
7187 rm -f conf$$subs.sh
7189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7190 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
7191 _ACEOF
7192 sed -n '
7194 s/^/S["/; s/!.*/"]=/
7197 s/^[^!]*!//
7198 :repl
7199 t repl
7200 s/'"$ac_delim"'$//
7201 t delim
7204 s/\(.\{148\}\)..*/\1/
7205 t more1
7206 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7209 b repl
7210 :more1
7211 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7214 s/.\{148\}//
7215 t nl
7216 :delim
7218 s/\(.\{148\}\)..*/\1/
7219 t more2
7220 s/["\\]/\\&/g; s/^/"/; s/$/"/
7223 :more2
7224 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7227 s/.\{148\}//
7228 t delim
7229 ' <conf$$subs.awk | sed '
7230 /^[^""]/{
7232 s/\n//
7234 ' >>$CONFIG_STATUS || ac_write_fail=1
7235 rm -f conf$$subs.awk
7236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7237 _ACAWK
7238 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
7239 for (key in S) S_is_set[key] = 1
7240 FS = "\a"
7244 line = $ 0
7245 nfields = split(line, field, "@")
7246 substed = 0
7247 len = length(field[1])
7248 for (i = 2; i < nfields; i++) {
7249 key = field[i]
7250 keylen = length(key)
7251 if (S_is_set[key]) {
7252 value = S[key]
7253 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7254 len += length(value) + length(field[++i])
7255 substed = 1
7256 } else
7257 len += 1 + keylen
7260 print line
7263 _ACAWK
7264 _ACEOF
7265 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7266 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7267 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7268 else
7270 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
7271 || as_fn_error "could not setup config files machinery" "$LINENO" 5
7272 _ACEOF
7274 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7275 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7276 # trailing colons and then remove the whole line if VPATH becomes empty
7277 # (actually we leave an empty line to preserve line numbers).
7278 if test "x$srcdir" = x.; then
7279 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7280 s/:*\$(srcdir):*/:/
7281 s/:*\${srcdir}:*/:/
7282 s/:*@srcdir@:*/:/
7283 s/^\([^=]*=[ ]*\):*/\1/
7284 s/:*$//
7285 s/^[^=]*=[ ]*$//
7289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7290 fi # test -n "$CONFIG_FILES"
7292 # Set up the scripts for CONFIG_HEADERS section.
7293 # No need to generate them if there are no CONFIG_HEADERS.
7294 # This happens for instance with `./config.status Makefile'.
7295 if test -n "$CONFIG_HEADERS"; then
7296 cat >"$tmp/defines.awk" <<\_ACAWK ||
7297 BEGIN {
7298 _ACEOF
7300 # Transform confdefs.h into an awk script `defines.awk', embedded as
7301 # here-document in config.status, that substitutes the proper values into
7302 # config.h.in to produce config.h.
7304 # Create a delimiter string that does not exist in confdefs.h, to ease
7305 # handling of long lines.
7306 ac_delim='%!_!# '
7307 for ac_last_try in false false :; do
7308 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
7309 if test -z "$ac_t"; then
7310 break
7311 elif $ac_last_try; then
7312 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
7313 else
7314 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7316 done
7318 # For the awk script, D is an array of macro values keyed by name,
7319 # likewise P contains macro parameters if any. Preserve backslash
7320 # newline sequences.
7322 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7323 sed -n '
7324 s/.\{148\}/&'"$ac_delim"'/g
7325 t rset
7326 :rset
7327 s/^[ ]*#[ ]*define[ ][ ]*/ /
7328 t def
7330 :def
7331 s/\\$//
7332 t bsnl
7333 s/["\\]/\\&/g
7334 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7335 D["\1"]=" \3"/p
7336 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7338 :bsnl
7339 s/["\\]/\\&/g
7340 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7341 D["\1"]=" \3\\\\\\n"\\/p
7342 t cont
7343 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7344 t cont
7346 :cont
7348 s/.\{148\}/&'"$ac_delim"'/g
7349 t clear
7350 :clear
7351 s/\\$//
7352 t bsnlc
7353 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7355 :bsnlc
7356 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7357 b cont
7358 ' <confdefs.h | sed '
7359 s/'"$ac_delim"'/"\\\
7360 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7363 for (key in D) D_is_set[key] = 1
7364 FS = "\a"
7366 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7367 line = \$ 0
7368 split(line, arg, " ")
7369 if (arg[1] == "#") {
7370 defundef = arg[2]
7371 mac1 = arg[3]
7372 } else {
7373 defundef = substr(arg[1], 2)
7374 mac1 = arg[2]
7376 split(mac1, mac2, "(") #)
7377 macro = mac2[1]
7378 prefix = substr(line, 1, index(line, defundef) - 1)
7379 if (D_is_set[macro]) {
7380 # Preserve the white space surrounding the "#".
7381 print prefix "define", macro P[macro] D[macro]
7382 next
7383 } else {
7384 # Replace #undef with comments. This is necessary, for example,
7385 # in the case of _POSIX_SOURCE, which is predefined and required
7386 # on some systems where configure will not decide to define it.
7387 if (defundef == "undef") {
7388 print "/*", prefix defundef, macro, "*/"
7389 next
7393 { print }
7394 _ACAWK
7395 _ACEOF
7396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7397 as_fn_error "could not setup config headers machinery" "$LINENO" 5
7398 fi # test -n "$CONFIG_HEADERS"
7401 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7402 shift
7403 for ac_tag
7405 case $ac_tag in
7406 :[FHLC]) ac_mode=$ac_tag; continue;;
7407 esac
7408 case $ac_mode$ac_tag in
7409 :[FHL]*:*);;
7410 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
7411 :[FH]-) ac_tag=-:-;;
7412 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7413 esac
7414 ac_save_IFS=$IFS
7415 IFS=:
7416 set x $ac_tag
7417 IFS=$ac_save_IFS
7418 shift
7419 ac_file=$1
7420 shift
7422 case $ac_mode in
7423 :L) ac_source=$1;;
7424 :[FH])
7425 ac_file_inputs=
7426 for ac_f
7428 case $ac_f in
7429 -) ac_f="$tmp/stdin";;
7430 *) # Look for the file first in the build tree, then in the source tree
7431 # (if the path is not absolute). The absolute path cannot be DOS-style,
7432 # because $ac_f cannot contain `:'.
7433 test -f "$ac_f" ||
7434 case $ac_f in
7435 [\\/$]*) false;;
7436 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7437 esac ||
7438 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7439 esac
7440 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7441 as_fn_append ac_file_inputs " '$ac_f'"
7442 done
7444 # Let's still pretend it is `configure' which instantiates (i.e., don't
7445 # use $as_me), people would be surprised to read:
7446 # /* config.h. Generated by config.status. */
7447 configure_input='Generated from '`
7448 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7449 `' by configure.'
7450 if test x"$ac_file" != x-; then
7451 configure_input="$ac_file. $configure_input"
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7453 $as_echo "$as_me: creating $ac_file" >&6;}
7455 # Neutralize special characters interpreted by sed in replacement strings.
7456 case $configure_input in #(
7457 *\&* | *\|* | *\\* )
7458 ac_sed_conf_input=`$as_echo "$configure_input" |
7459 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7460 *) ac_sed_conf_input=$configure_input;;
7461 esac
7463 case $ac_tag in
7464 *:-:* | *:-) cat >"$tmp/stdin" \
7465 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
7466 esac
7468 esac
7470 ac_dir=`$as_dirname -- "$ac_file" ||
7471 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7472 X"$ac_file" : 'X\(//\)[^/]' \| \
7473 X"$ac_file" : 'X\(//\)$' \| \
7474 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7475 $as_echo X"$ac_file" |
7476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7477 s//\1/
7480 /^X\(\/\/\)[^/].*/{
7481 s//\1/
7484 /^X\(\/\/\)$/{
7485 s//\1/
7488 /^X\(\/\).*/{
7489 s//\1/
7492 s/.*/./; q'`
7493 as_dir="$ac_dir"; as_fn_mkdir_p
7494 ac_builddir=.
7496 case "$ac_dir" in
7497 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7499 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7500 # A ".." for each directory in $ac_dir_suffix.
7501 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7502 case $ac_top_builddir_sub in
7503 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7504 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7505 esac ;;
7506 esac
7507 ac_abs_top_builddir=$ac_pwd
7508 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7509 # for backward compatibility:
7510 ac_top_builddir=$ac_top_build_prefix
7512 case $srcdir in
7513 .) # We are building in place.
7514 ac_srcdir=.
7515 ac_top_srcdir=$ac_top_builddir_sub
7516 ac_abs_top_srcdir=$ac_pwd ;;
7517 [\\/]* | ?:[\\/]* ) # Absolute name.
7518 ac_srcdir=$srcdir$ac_dir_suffix;
7519 ac_top_srcdir=$srcdir
7520 ac_abs_top_srcdir=$srcdir ;;
7521 *) # Relative name.
7522 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7523 ac_top_srcdir=$ac_top_build_prefix$srcdir
7524 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7525 esac
7526 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7529 case $ac_mode in
7532 # CONFIG_FILE
7535 case $INSTALL in
7536 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7537 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7538 esac
7539 _ACEOF
7541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7542 # If the template does not know about datarootdir, expand it.
7543 # FIXME: This hack should be removed a few years after 2.60.
7544 ac_datarootdir_hack=; ac_datarootdir_seen=
7545 ac_sed_dataroot='
7546 /datarootdir/ {
7550 /@datadir@/p
7551 /@docdir@/p
7552 /@infodir@/p
7553 /@localedir@/p
7554 /@mandir@/p'
7555 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7556 *datarootdir*) ac_datarootdir_seen=yes;;
7557 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7559 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7560 _ACEOF
7561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7562 ac_datarootdir_hack='
7563 s&@datadir@&$datadir&g
7564 s&@docdir@&$docdir&g
7565 s&@infodir@&$infodir&g
7566 s&@localedir@&$localedir&g
7567 s&@mandir@&$mandir&g
7568 s&\\\${datarootdir}&$datarootdir&g' ;;
7569 esac
7570 _ACEOF
7572 # Neutralize VPATH when `$srcdir' = `.'.
7573 # Shell code in configure.ac might set extrasub.
7574 # FIXME: do we really want to maintain this feature?
7575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7576 ac_sed_extra="$ac_vpsub
7577 $extrasub
7578 _ACEOF
7579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7581 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7582 s|@configure_input@|$ac_sed_conf_input|;t t
7583 s&@top_builddir@&$ac_top_builddir_sub&;t t
7584 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7585 s&@srcdir@&$ac_srcdir&;t t
7586 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7587 s&@top_srcdir@&$ac_top_srcdir&;t t
7588 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7589 s&@builddir@&$ac_builddir&;t t
7590 s&@abs_builddir@&$ac_abs_builddir&;t t
7591 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7592 s&@INSTALL@&$ac_INSTALL&;t t
7593 $ac_datarootdir_hack
7595 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
7596 || as_fn_error "could not create $ac_file" "$LINENO" 5
7598 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7599 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7600 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7602 which seems to be undefined. Please make sure it is defined." >&5
7603 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7604 which seems to be undefined. Please make sure it is defined." >&2;}
7606 rm -f "$tmp/stdin"
7607 case $ac_file in
7608 -) cat "$tmp/out" && rm -f "$tmp/out";;
7609 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
7610 esac \
7611 || as_fn_error "could not create $ac_file" "$LINENO" 5
7615 # CONFIG_HEADER
7617 if test x"$ac_file" != x-; then
7619 $as_echo "/* $configure_input */" \
7620 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
7621 } >"$tmp/config.h" \
7622 || as_fn_error "could not create $ac_file" "$LINENO" 5
7623 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7625 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7626 else
7627 rm -f "$ac_file"
7628 mv "$tmp/config.h" "$ac_file" \
7629 || as_fn_error "could not create $ac_file" "$LINENO" 5
7631 else
7632 $as_echo "/* $configure_input */" \
7633 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
7634 || as_fn_error "could not create -" "$LINENO" 5
7636 # Compute "$ac_file"'s index in $config_headers.
7637 _am_stamp_count=1
7638 for _am_header in $config_headers :; do
7639 case $_am_header in
7640 "$ac_file" | "$ac_file":* )
7641 break ;;
7643 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7644 esac
7645 done
7646 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
7647 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7648 X"$ac_file" : 'X\(//\)[^/]' \| \
7649 X"$ac_file" : 'X\(//\)$' \| \
7650 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7651 $as_echo X"$ac_file" |
7652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7653 s//\1/
7656 /^X\(\/\/\)[^/].*/{
7657 s//\1/
7660 /^X\(\/\/\)$/{
7661 s//\1/
7664 /^X\(\/\).*/{
7665 s//\1/
7668 s/.*/./; q'`/stamp-h$_am_stamp_count
7671 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7672 $as_echo "$as_me: executing $ac_file commands" >&6;}
7674 esac
7677 case $ac_file$ac_mode in
7678 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7679 # Strip MF so we end up with the name of the file.
7680 mf=`echo "$mf" | sed -e 's/:.*$//'`
7681 # Check whether this is an Automake generated Makefile or not.
7682 # We used to match only the files named `Makefile.in', but
7683 # some people rename them; so instead we look at the file content.
7684 # Grep'ing the first line is not enough: some people post-process
7685 # each Makefile.in and add a new line on top of each file to say so.
7686 # So let's grep whole file.
7687 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7688 dirpart=`$as_dirname -- "$mf" ||
7689 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7690 X"$mf" : 'X\(//\)[^/]' \| \
7691 X"$mf" : 'X\(//\)$' \| \
7692 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7693 $as_echo X"$mf" |
7694 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7695 s//\1/
7698 /^X\(\/\/\)[^/].*/{
7699 s//\1/
7702 /^X\(\/\/\)$/{
7703 s//\1/
7706 /^X\(\/\).*/{
7707 s//\1/
7710 s/.*/./; q'`
7711 else
7712 continue
7714 # Extract the definition of DEPDIR, am__include, and am__quote
7715 # from the Makefile without running `make'.
7716 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7717 test -z "$DEPDIR" && continue
7718 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7719 test -z "am__include" && continue
7720 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7721 # When using ansi2knr, U may be empty or an underscore; expand it
7722 U=`sed -n 's/^U = //p' < "$mf"`
7723 # Find all dependency output files, they are included files with
7724 # $(DEPDIR) in their names. We invoke sed twice because it is the
7725 # simplest approach to changing $(DEPDIR) to its actual value in the
7726 # expansion.
7727 for file in `sed -n "
7728 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7729 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7730 # Make sure the directory exists.
7731 test -f "$dirpart/$file" && continue
7732 fdir=`$as_dirname -- "$file" ||
7733 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7734 X"$file" : 'X\(//\)[^/]' \| \
7735 X"$file" : 'X\(//\)$' \| \
7736 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7737 $as_echo X"$file" |
7738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7739 s//\1/
7742 /^X\(\/\/\)[^/].*/{
7743 s//\1/
7746 /^X\(\/\/\)$/{
7747 s//\1/
7750 /^X\(\/\).*/{
7751 s//\1/
7754 s/.*/./; q'`
7755 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7756 # echo "creating $dirpart/$file"
7757 echo '# dummy' > "$dirpart/$file"
7758 done
7759 done
7761 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
7762 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
7763 esac ;;
7764 "po/stamp-it":C)
7765 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
7766 as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
7768 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
7769 >"po/stamp-it.tmp"
7770 sed '/^#/d
7771 s/^[[].*] *//
7772 /^[ ]*$/d
7773 '"s|^| $ac_top_srcdir/|" \
7774 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
7776 sed '/^POTFILES =/,/[^\\]$/ {
7777 /^POTFILES =/!d
7778 r po/POTFILES
7780 ' "po/Makefile.in" >"po/Makefile"
7781 rm -f "po/Makefile.tmp"
7782 mv "po/stamp-it.tmp" "po/stamp-it"
7785 esac
7786 done # for ac_tag
7789 as_fn_exit 0
7790 _ACEOF
7791 ac_clean_files=$ac_clean_files_save
7793 test $ac_write_fail = 0 ||
7794 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
7797 # configure is writing to config.log, and then calls config.status.
7798 # config.status does its own redirection, appending to config.log.
7799 # Unfortunately, on DOS this fails, as config.log is still kept open
7800 # by configure, so config.status won't be able to write to it; its
7801 # output is simply discarded. So we exec the FD to /dev/null,
7802 # effectively closing config.log, so it can be properly (re)opened and
7803 # appended to by config.status. When coming back to configure, we
7804 # need to make the FD available again.
7805 if test "$no_create" != yes; then
7806 ac_cs_success=:
7807 ac_config_status_args=
7808 test "$silent" = yes &&
7809 ac_config_status_args="$ac_config_status_args --quiet"
7810 exec 5>/dev/null
7811 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7812 exec 5>>config.log
7813 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7814 # would make configure fail if this is the last instruction.
7815 $ac_cs_success || as_fn_exit $?
7817 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7819 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}