Debian Codegraph @

configure

raw symbols SCIP
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.72 for GIMP-Help 3.0.2.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
7 # Inc.
8 #
9 #
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
19 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 case e in #(
27 e) case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac ;;
33 esac
34 fi
35
36
37
38 # Reset variables that may have inherited troublesome values from
39 # the environment.
40
41 # IFS needs to be set, to space, tab, and newline, in precisely that order.
42 # (If _AS_PATH_WALK were called with IFS unset, it would have the
43 # side effect of setting IFS to empty, thus disabling word splitting.)
44 # Quoting is to prevent editors from complaining about space-tab.
45 as_nl='
46 '
47 export as_nl
48 IFS=" "" $as_nl"
49
50 PS1='$ '
51 PS2='> '
52 PS4='+ '
53
54 # Ensure predictable behavior from utilities with locale-dependent output.
55 LC_ALL=C
56 export LC_ALL
57 LANGUAGE=C
58 export LANGUAGE
59
60 # We cannot yet rely on "unset" to work, but we need these variables
61 # to be unset--not just set to an empty or harmless value--now, to
62 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
63 # also avoids known problems related to "unset" and subshell syntax
64 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
65 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
66 do eval test \${$as_var+y} \
67 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
68 done
69
70 # Ensure that fds 0, 1, and 2 are open.
71 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
72 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
73 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
74
75 # The user is always right.
76 if ${PATH_SEPARATOR+false} :; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # Find who we are. Look in the path if we contain no directory separator.
86 as_myself=
87 case $0 in #((
88 *[\\/]* ) as_myself=$0 ;;
89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90 for as_dir in $PATH
91 do
92 IFS=$as_save_IFS
93 case $as_dir in #(((
94 '') as_dir=./ ;;
95 */) ;;
96 *) as_dir=$as_dir/ ;;
97 esac
98 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as 'sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114
115 # Use a proper internal environment variable to ensure we don't fall
116 # into an infinite loop, continuously re-executing ourselves.
117 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
118 _as_can_reexec=no; export _as_can_reexec;
119 # We cannot yet assume a decent shell, so we have to provide a
120 # neutralization value for shells without unset; and this also
121 # works around shells that cannot unset nonexistent variables.
122 # Preserve -v and -x to the replacement shell.
123 BASH_ENV=/dev/null
124 ENV=/dev/null
125 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
126 case $- in # ((((
127 *v*x* | *x*v* ) as_opts=-vx ;;
128 *v* ) as_opts=-v ;;
129 *x* ) as_opts=-x ;;
130 * ) as_opts= ;;
131 esac
132 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
133 # Admittedly, this is quite paranoid, since all the known shells bail
134 # out after a failed 'exec'.
135 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
136 exit 255
137 fi
138 # We don't want this to propagate to other subprocesses.
139 { _as_can_reexec=; unset _as_can_reexec;}
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
142 then :
143 emulate sh
144 NULLCMD=:
145 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
146 # is contrary to our usage. Disable this feature.
147 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 setopt NO_GLOB_SUBST
149 else case e in #(
150 e) case \`(set -o) 2>/dev/null\` in #(
151 *posix*) :
152 set -o posix ;; #(
153 *) :
154 ;;
155 esac ;;
156 esac
157 fi
158 "
159 as_required="as_fn_return () { (exit \$1); }
160 as_fn_success () { as_fn_return 0; }
161 as_fn_failure () { as_fn_return 1; }
162 as_fn_ret_success () { return 0; }
163 as_fn_ret_failure () { return 1; }
164
165 exitcode=0
166 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
167 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
168 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
169 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
170 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
171 then :
172
173 else case e in #(
174 e) exitcode=1; echo positional parameters were not saved. ;;
175 esac
176 fi
177 test x\$exitcode = x0 || exit 1
178 blah=\$(echo \$(echo blah))
179 test x\"\$blah\" = xblah || exit 1
180 test -x / || exit 1"
181 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
182 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
183 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
184 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null
187 then :
188 as_have_required=yes
189 else case e in #(
190 e) as_have_required=no ;;
191 esac
192 fi
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
195
196 else case e in #(
197 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200 do
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
209 /*)
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
220 fi
221 fi
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
229
230 else case e in #(
231 e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi ;;
236 esac
237 fi
238
239
240 if test "x$CONFIG_SHELL" != x
241 then :
242 export CONFIG_SHELL
243 # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
247 BASH_ENV=/dev/null
248 ENV=/dev/null
249 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 case $- in # ((((
251 *v*x* | *x*v* ) as_opts=-vx ;;
252 *v* ) as_opts=-v ;;
253 *x* ) as_opts=-x ;;
254 * ) as_opts= ;;
255 esac
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed 'exec'.
259 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
260 exit 255
261 fi
262
263 if test x$as_have_required = xno
264 then :
265 printf "%s\n" "$0: This script requires a shell more modern than all"
266 printf "%s\n" "$0: the shells that I found on your system."
267 if test ${ZSH_VERSION+y} ; then
268 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
269 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
270 else
271 printf "%s\n" "$0: Please tell [email protected] about your system,
272 $0: including any error possibly output before this
273 $0: message. Then install a modern shell, or manually run
274 $0: the script under such a shell if you do have one."
275 fi
276 exit 1
277 fi ;;
278 esac
279 fi
280 fi
281 SHELL=${CONFIG_SHELL-/bin/sh}
282 export SHELL
283 # Unset more variables known to interfere with behavior of common tools.
284 CLICOLOR_FORCE= GREP_OPTIONS=
285 unset CLICOLOR_FORCE GREP_OPTIONS
286
287 ## --------------------- ##
288 ## M4sh Shell Functions. ##
289 ## --------------------- ##
290 # as_fn_unset VAR
291 # ---------------
292 # Portably unset VAR.
293 as_fn_unset ()
294 {
295 { eval $1=; unset $1;}
296 }
297 as_unset=as_fn_unset
298
299
300 # as_fn_set_status STATUS
301 # -----------------------
302 # Set $? to STATUS, without forking.
303 as_fn_set_status ()
304 {
305 return $1
306 } # as_fn_set_status
307
308 # as_fn_exit STATUS
309 # -----------------
310 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
311 as_fn_exit ()
312 {
313 set +e
314 as_fn_set_status $1
315 exit $1
316 } # as_fn_exit
317
318 # as_fn_mkdir_p
319 # -------------
320 # Create "$as_dir" as a directory, including parents if necessary.
321 as_fn_mkdir_p ()
322 {
323
324 case $as_dir in #(
325 -*) as_dir=./$as_dir;;
326 esac
327 test -d "$as_dir" || eval $as_mkdir_p || {
328 as_dirs=
329 while :; do
330 case $as_dir in #(
331 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
332 *) as_qdir=$as_dir;;
333 esac
334 as_dirs="'$as_qdir' $as_dirs"
335 as_dir=`$as_dirname -- "$as_dir" ||
336 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
337 X"$as_dir" : 'X\(//\)[^/]' \| \
338 X"$as_dir" : 'X\(//\)$' \| \
339 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
340 printf "%s\n" X"$as_dir" |
341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
342 s//\1/
343 q
344 }
345 /^X\(\/\/\)[^/].*/{
346 s//\1/
347 q
348 }
349 /^X\(\/\/\)$/{
350 s//\1/
351 q
352 }
353 /^X\(\/\).*/{
354 s//\1/
355 q
356 }
357 s/.*/./; q'`
358 test -d "$as_dir" && break
359 done
360 test -z "$as_dirs" || eval "mkdir $as_dirs"
361 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
362
363
364 } # as_fn_mkdir_p
365
366 # as_fn_executable_p FILE
367 # -----------------------
368 # Test if FILE is an executable regular file.
369 as_fn_executable_p ()
370 {
371 test -f "$1" && test -x "$1"
372 } # as_fn_executable_p
373 # as_fn_append VAR VALUE
374 # ----------------------
375 # Append the text in VALUE to the end of the definition contained in VAR. Take
376 # advantage of any shell optimizations that allow amortized linear growth over
377 # repeated appends, instead of the typical quadratic growth present in naive
378 # implementations.
379 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
380 then :
381 eval 'as_fn_append ()
382 {
383 eval $1+=\$2
384 }'
385 else case e in #(
386 e) as_fn_append ()
387 {
388 eval $1=\$$1\$2
389 } ;;
390 esac
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
399 then :
400 eval 'as_fn_arith ()
401 {
402 as_val=$(( $* ))
403 }'
404 else case e in #(
405 e) as_fn_arith ()
406 {
407 as_val=`expr "$@" || test $? -eq 1`
408 } ;;
409 esac
410 fi # as_fn_arith
411
412
413 # as_fn_error STATUS ERROR [LINENO LOG_FD]
414 # ----------------------------------------
415 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
416 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
417 # script with STATUS, using 1 if that was 0.
418 as_fn_error ()
419 {
420 as_status=$1; test $as_status -eq 0 && as_status=1
421 if test "$4"; then
422 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
423 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
424 fi
425 printf "%s\n" "$as_me: error: $2" >&2
426 as_fn_exit $as_status
427 } # as_fn_error
428
429 if expr a : '\(a\)' >/dev/null 2>&1 &&
430 test "X`expr 00001 : '.*\(...\)'`" = X001; then
431 as_expr=expr
432 else
433 as_expr=false
434 fi
435
436 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
437 as_basename=basename
438 else
439 as_basename=false
440 fi
441
442 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
443 as_dirname=dirname
444 else
445 as_dirname=false
446 fi
447
448 as_me=`$as_basename -- "$0" ||
449 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
450 X"$0" : 'X\(//\)$' \| \
451 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
452 printf "%s\n" X/"$0" |
453 sed '/^.*\/\([^/][^/]*\)\/*$/{
454 s//\1/
455 q
456 }
457 /^X\/\(\/\/\)$/{
458 s//\1/
459 q
460 }
461 /^X\/\(\/\).*/{
462 s//\1/
463 q
464 }
465 s/.*/./; q'`
466
467 # Avoid depending upon Character Ranges.
468 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
469 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
470 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
471 as_cr_digits='0123456789'
472 as_cr_alnum=$as_cr_Letters$as_cr_digits
473
474
475 as_lineno_1=$LINENO as_lineno_1a=$LINENO
476 as_lineno_2=$LINENO as_lineno_2a=$LINENO
477 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
478 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
479 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
480 sed -n '
481 p
482 /[$]LINENO/=
483 ' <$as_myself |
484 sed '
485 t clear
486 :clear
487 s/[$]LINENO.*/&-/
488 t lineno
489 b
490 :lineno
491 N
492 :loop
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
494 t loop
495 s/-\n.*//
496 ' >$as_me.lineno &&
497 chmod +x "$as_me.lineno" ||
498 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
507 . "./$as_me.lineno"
508 # Exit status is that of the last command.
509 exit
510 }
511
512
513 # Determine whether it's possible to make 'echo' print without a newline.
514 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
515 # for compatibility with existing Makefiles.
516 ECHO_C= ECHO_N= ECHO_T=
517 case `echo -n x` in #(((((
518 -n*)
519 case `echo 'xy\c'` in
520 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
521 xy) ECHO_C='\c';;
522 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
523 ECHO_T=' ';;
524 esac;;
525 *)
526 ECHO_N='-n';;
527 esac
528
529 # For backward compatibility with old third-party macros, we provide
530 # the shell variables $as_echo and $as_echo_n. New code should use
531 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
532 as_echo='printf %s\n'
533 as_echo_n='printf %s'
534
535 rm -f conf$$ conf$$.exe conf$$.file
536 if test -d conf$$.dir; then
537 rm -f conf$$.dir/conf$$.file
538 else
539 rm -f conf$$.dir
540 mkdir conf$$.dir 2>/dev/null
541 fi
542 if (echo >conf$$.file) 2>/dev/null; then
543 if ln -s conf$$.file conf$$ 2>/dev/null; then
544 as_ln_s='ln -s'
545 # ... but there are two gotchas:
546 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
547 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
548 # In both cases, we have to default to 'cp -pR'.
549 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
550 as_ln_s='cp -pR'
551 elif ln conf$$.file conf$$ 2>/dev/null; then
552 as_ln_s=ln
553 else
554 as_ln_s='cp -pR'
555 fi
556 else
557 as_ln_s='cp -pR'
558 fi
559 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
560 rmdir conf$$.dir 2>/dev/null
561
562 if mkdir -p . 2>/dev/null; then
563 as_mkdir_p='mkdir -p "$as_dir"'
564 else
565 test -d ./-p && rmdir ./-p
566 as_mkdir_p=false
567 fi
568
569 as_test_x='test -x'
570 as_executable_p=as_fn_executable_p
571
572 # Sed expression to map a string onto a valid CPP name.
573 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
574 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
575
576 # Sed expression to map a string onto a valid variable name.
577 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
578 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
579
580
581 test -n "$DJDIR" || exec 7<&0 </dev/null
582 exec 6>&1
583
584 # Name of the host.
585 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
586 # so uname gets run too.
587 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
588
589 #
590 # Initializations.
591 #
592 ac_default_prefix=/usr/local
593 ac_clean_files=
594 ac_config_libobj_dir=.
595 LIBOBJS=
596 cross_compiling=no
597 subdirs=
598 MFLAGS=
599 MAKEFLAGS=
600
601 # Identity of this package.
602 PACKAGE_NAME='GIMP-Help'
603 PACKAGE_TARNAME='gimp-help'
604 PACKAGE_VERSION='3.0.2'
605 PACKAGE_STRING='GIMP-Help 3.0.2'
606 PACKAGE_BUGREPORT=''
607 PACKAGE_URL=''
608
609 ac_unique_file="src/gimp.xml"
610 ac_subst_vars='LTLIBOBJS
611 LIBOBJS
612 gimpdatadir
613 GIMP_LIBS
614 GIMP_CFLAGS
615 PKG_CONFIG_LIBDIR
616 PKG_CONFIG_PATH
617 PKG_CONFIG
618 STYLEBASE
619 HAVE_PNGOPTIMIZERS_FALSE
620 HAVE_PNGOPTIMIZERS_TRUE
621 PNGCRUSH
622 PNGNQ
623 XSLTFLAGS
624 HAVE_GETTEXT_TOOLS_FALSE
625 HAVE_GETTEXT_TOOLS_TRUE
626 HAVE_I18N_TOOLS_FALSE
627 HAVE_I18N_TOOLS_TRUE
628 HAVE_DOT_FALSE
629 HAVE_DOT_TRUE
630 DOT
631 INTLTOOL_EXTRACT
632 INTLTOOL_UPDATE
633 INTLTOOL_MERGE
634 BUILD_WINDOWS_INSTALLER_FALSE
635 BUILD_WINDOWS_INSTALLER_TRUE
636 MSGWIDTH
637 MSGCATFLAGS
638 MSGCAT
639 MSGUNIQFLAGS
640 MSGUNIQ
641 MSGMERGEFLAGS
642 MSGMERGE
643 MSGINITFLAGS
644 MSGINIT
645 MSGFMTFLAGS
646 MSGFMT
647 XML2POFLAGS
648 XML2PO
649 pkgpyexecdir
650 pyexecdir
651 pkgpythondir
652 pythondir
653 PYTHON_PLATFORM
654 PYTHON_EXEC_PREFIX
655 PYTHON_PREFIX
656 PYTHON_VERSION
657 PYTHON
658 SVG2PDF_FLAGS
659 HAVE_SVG2PDF_FALSE
660 HAVE_SVG2PDF_TRUE
661 SVG2PDF
662 DBLATEXFLAGS
663 HAVE_DBLATEX_FALSE
664 HAVE_DBLATEX_TRUE
665 DBLATEX
666 XMLLINTFLAGS
667 HAVE_XMLLINT_FALSE
668 HAVE_XMLLINT_TRUE
669 XMLLINT
670 XSLTPROC
671 ALL_LINGUAS
672 SED
673 LN_S
674 MAINT
675 MAINTAINER_MODE_FALSE
676 MAINTAINER_MODE_TRUE
677 am__xargs_n
678 am__rm_f_notfound
679 AM_BACKSLASH
680 AM_DEFAULT_VERBOSITY
681 AM_DEFAULT_V
682 AM_V
683 CSCOPE
684 ETAGS
685 CTAGS
686 am__untar
687 am__tar
688 AMTAR
689 am__leading_dot
690 SET_MAKE
691 AWK
692 mkdir_p
693 MKDIR_P
694 INSTALL_STRIP_PROGRAM
695 STRIP
696 install_sh
697 MAKEINFO
698 AUTOHEADER
699 AUTOMAKE
700 AUTOCONF
701 ACLOCAL
702 VERSION
703 PACKAGE
704 CYGPATH_W
705 am__isrc
706 INSTALL_DATA
707 INSTALL_SCRIPT
708 INSTALL_PROGRAM
709 CYGWIN_FALSE
710 CYGWIN_TRUE
711 build_os
712 build_vendor
713 build_cpu
714 build
715 target_alias
716 host_alias
717 build_alias
718 LIBS
719 ECHO_T
720 ECHO_N
721 ECHO_C
722 DEFS
723 mandir
724 localedir
725 libdir
726 psdir
727 pdfdir
728 dvidir
729 htmldir
730 infodir
731 docdir
732 oldincludedir
733 includedir
734 runstatedir
735 localstatedir
736 sharedstatedir
737 sysconfdir
738 datadir
739 datarootdir
740 libexecdir
741 sbindir
742 bindir
743 program_transform_name
744 prefix
745 exec_prefix
746 PACKAGE_URL
747 PACKAGE_BUGREPORT
748 PACKAGE_STRING
749 PACKAGE_VERSION
750 PACKAGE_TARNAME
751 PACKAGE_NAME
752 PATH_SEPARATOR
753 SHELL'
754 ac_subst_files=''
755 ac_user_opts='
756 enable_option_checking
757 enable_silent_rules
758 enable_maintainer_mode
759 enable_build
760 enable_windows_installer
761 enable_network
762 enable_languageMenu
763 with_xsl
764 with_gimp
765 '
766 ac_precious_vars='build_alias
767 host_alias
768 target_alias
769 PYTHON
770 PKG_CONFIG
771 PKG_CONFIG_PATH
772 PKG_CONFIG_LIBDIR
773 GIMP_CFLAGS
774 GIMP_LIBS'
775
776
777 # Initialize some variables set by options.
778 ac_init_help=
779 ac_init_version=false
780 ac_unrecognized_opts=
781 ac_unrecognized_sep=
782 # The variables have the same names as the options, with
783 # dashes changed to underlines.
784 cache_file=/dev/null
785 exec_prefix=NONE
786 no_create=
787 no_recursion=
788 prefix=NONE
789 program_prefix=NONE
790 program_suffix=NONE
791 program_transform_name=s,x,x,
792 silent=
793 site=
794 srcdir=
795 verbose=
796 x_includes=NONE
797 x_libraries=NONE
798
799 # Installation directory options.
800 # These are left unexpanded so users can "make install exec_prefix=/foo"
801 # and all the variables that are supposed to be based on exec_prefix
802 # by default will actually change.
803 # Use braces instead of parens because sh, perl, etc. also accept them.
804 # (The list follows the same order as the GNU Coding Standards.)
805 bindir='${exec_prefix}/bin'
806 sbindir='${exec_prefix}/sbin'
807 libexecdir='${exec_prefix}/libexec'
808 datarootdir='${prefix}/share'
809 datadir='${datarootdir}'
810 sysconfdir='${prefix}/etc'
811 sharedstatedir='${prefix}/com'
812 localstatedir='${prefix}/var'
813 runstatedir='${localstatedir}/run'
814 includedir='${prefix}/include'
815 oldincludedir='/usr/include'
816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
817 infodir='${datarootdir}/info'
818 htmldir='${docdir}'
819 dvidir='${docdir}'
820 pdfdir='${docdir}'
821 psdir='${docdir}'
822 libdir='${exec_prefix}/lib'
823 localedir='${datarootdir}/locale'
824 mandir='${datarootdir}/man'
825
826 ac_prev=
827 ac_dashdash=
828 for ac_option
829 do
830 # If the previous option needs an argument, assign it.
831 if test -n "$ac_prev"; then
832 eval $ac_prev=\$ac_option
833 ac_prev=
834 continue
835 fi
836
837 case $ac_option in
838 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
839 *=) ac_optarg= ;;
840 *) ac_optarg=yes ;;
841 esac
842
843 case $ac_dashdash$ac_option in
844 --)
845 ac_dashdash=yes ;;
846
847 -bindir | --bindir | --bindi | --bind | --bin | --bi)
848 ac_prev=bindir ;;
849 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
850 bindir=$ac_optarg ;;
851
852 -build | --build | --buil | --bui | --bu)
853 ac_prev=build_alias ;;
854 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
855 build_alias=$ac_optarg ;;
856
857 -cache-file | --cache-file | --cache-fil | --cache-fi \
858 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
859 ac_prev=cache_file ;;
860 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
861 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
862 cache_file=$ac_optarg ;;
863
864 --config-cache | -C)
865 cache_file=config.cache ;;
866
867 -datadir | --datadir | --datadi | --datad)
868 ac_prev=datadir ;;
869 -datadir=* | --datadir=* | --datadi=* | --datad=*)
870 datadir=$ac_optarg ;;
871
872 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
873 | --dataroo | --dataro | --datar)
874 ac_prev=datarootdir ;;
875 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
876 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
877 datarootdir=$ac_optarg ;;
878
879 -disable-* | --disable-*)
880 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
881 # Reject names that are not valid shell variable names.
882 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
883 as_fn_error $? "invalid feature name: '$ac_useropt'"
884 ac_useropt_orig=$ac_useropt
885 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
886 case $ac_user_opts in
887 *"
888 "enable_$ac_useropt"
889 "*) ;;
890 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
891 ac_unrecognized_sep=', ';;
892 esac
893 eval enable_$ac_useropt=no ;;
894
895 -docdir | --docdir | --docdi | --doc | --do)
896 ac_prev=docdir ;;
897 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
898 docdir=$ac_optarg ;;
899
900 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
901 ac_prev=dvidir ;;
902 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
903 dvidir=$ac_optarg ;;
904
905 -enable-* | --enable-*)
906 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
907 # Reject names that are not valid shell variable names.
908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
909 as_fn_error $? "invalid feature name: '$ac_useropt'"
910 ac_useropt_orig=$ac_useropt
911 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
912 case $ac_user_opts in
913 *"
914 "enable_$ac_useropt"
915 "*) ;;
916 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
917 ac_unrecognized_sep=', ';;
918 esac
919 eval enable_$ac_useropt=\$ac_optarg ;;
920
921 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
922 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
923 | --exec | --exe | --ex)
924 ac_prev=exec_prefix ;;
925 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
926 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
927 | --exec=* | --exe=* | --ex=*)
928 exec_prefix=$ac_optarg ;;
929
930 -gas | --gas | --ga | --g)
931 # Obsolete; use --with-gas.
932 with_gas=yes ;;
933
934 -help | --help | --hel | --he | -h)
935 ac_init_help=long ;;
936 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
937 ac_init_help=recursive ;;
938 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
939 ac_init_help=short ;;
940
941 -host | --host | --hos | --ho)
942 ac_prev=host_alias ;;
943 -host=* | --host=* | --hos=* | --ho=*)
944 host_alias=$ac_optarg ;;
945
946 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
947 ac_prev=htmldir ;;
948 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
949 | --ht=*)
950 htmldir=$ac_optarg ;;
951
952 -includedir | --includedir | --includedi | --included | --include \
953 | --includ | --inclu | --incl | --inc)
954 ac_prev=includedir ;;
955 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
956 | --includ=* | --inclu=* | --incl=* | --inc=*)
957 includedir=$ac_optarg ;;
958
959 -infodir | --infodir | --infodi | --infod | --info | --inf)
960 ac_prev=infodir ;;
961 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
962 infodir=$ac_optarg ;;
963
964 -libdir | --libdir | --libdi | --libd)
965 ac_prev=libdir ;;
966 -libdir=* | --libdir=* | --libdi=* | --libd=*)
967 libdir=$ac_optarg ;;
968
969 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
970 | --libexe | --libex | --libe)
971 ac_prev=libexecdir ;;
972 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
973 | --libexe=* | --libex=* | --libe=*)
974 libexecdir=$ac_optarg ;;
975
976 -localedir | --localedir | --localedi | --localed | --locale)
977 ac_prev=localedir ;;
978 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
979 localedir=$ac_optarg ;;
980
981 -localstatedir | --localstatedir | --localstatedi | --localstated \
982 | --localstate | --localstat | --localsta | --localst | --locals)
983 ac_prev=localstatedir ;;
984 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
985 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
986 localstatedir=$ac_optarg ;;
987
988 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
989 ac_prev=mandir ;;
990 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
991 mandir=$ac_optarg ;;
992
993 -nfp | --nfp | --nf)
994 # Obsolete; use --without-fp.
995 with_fp=no ;;
996
997 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
998 | --no-cr | --no-c | -n)
999 no_create=yes ;;
1000
1001 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1002 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1003 no_recursion=yes ;;
1004
1005 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1006 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1007 | --oldin | --oldi | --old | --ol | --o)
1008 ac_prev=oldincludedir ;;
1009 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1010 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1011 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1012 oldincludedir=$ac_optarg ;;
1013
1014 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1015 ac_prev=prefix ;;
1016 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1017 prefix=$ac_optarg ;;
1018
1019 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1020 | --program-pre | --program-pr | --program-p)
1021 ac_prev=program_prefix ;;
1022 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1023 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1024 program_prefix=$ac_optarg ;;
1025
1026 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1027 | --program-suf | --program-su | --program-s)
1028 ac_prev=program_suffix ;;
1029 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1030 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1031 program_suffix=$ac_optarg ;;
1032
1033 -program-transform-name | --program-transform-name \
1034 | --program-transform-nam | --program-transform-na \
1035 | --program-transform-n | --program-transform- \
1036 | --program-transform | --program-transfor \
1037 | --program-transfo | --program-transf \
1038 | --program-trans | --program-tran \
1039 | --progr-tra | --program-tr | --program-t)
1040 ac_prev=program_transform_name ;;
1041 -program-transform-name=* | --program-transform-name=* \
1042 | --program-transform-nam=* | --program-transform-na=* \
1043 | --program-transform-n=* | --program-transform-=* \
1044 | --program-transform=* | --program-transfor=* \
1045 | --program-transfo=* | --program-transf=* \
1046 | --program-trans=* | --program-tran=* \
1047 | --progr-tra=* | --program-tr=* | --program-t=*)
1048 program_transform_name=$ac_optarg ;;
1049
1050 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1051 ac_prev=pdfdir ;;
1052 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1053 pdfdir=$ac_optarg ;;
1054
1055 -psdir | --psdir | --psdi | --psd | --ps)
1056 ac_prev=psdir ;;
1057 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1058 psdir=$ac_optarg ;;
1059
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1062 silent=yes ;;
1063
1064 -runstatedir | --runstatedir | --runstatedi | --runstated \
1065 | --runstate | --runstat | --runsta | --runst | --runs \
1066 | --run | --ru | --r)
1067 ac_prev=runstatedir ;;
1068 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1069 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1070 | --run=* | --ru=* | --r=*)
1071 runstatedir=$ac_optarg ;;
1072
1073 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1074 ac_prev=sbindir ;;
1075 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1076 | --sbi=* | --sb=*)
1077 sbindir=$ac_optarg ;;
1078
1079 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1080 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1081 | --sharedst | --shareds | --shared | --share | --shar \
1082 | --sha | --sh)
1083 ac_prev=sharedstatedir ;;
1084 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1085 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1086 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1087 | --sha=* | --sh=*)
1088 sharedstatedir=$ac_optarg ;;
1089
1090 -site | --site | --sit)
1091 ac_prev=site ;;
1092 -site=* | --site=* | --sit=*)
1093 site=$ac_optarg ;;
1094
1095 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1096 ac_prev=srcdir ;;
1097 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1098 srcdir=$ac_optarg ;;
1099
1100 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1101 | --syscon | --sysco | --sysc | --sys | --sy)
1102 ac_prev=sysconfdir ;;
1103 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1104 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1105 sysconfdir=$ac_optarg ;;
1106
1107 -target | --target | --targe | --targ | --tar | --ta | --t)
1108 ac_prev=target_alias ;;
1109 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1110 target_alias=$ac_optarg ;;
1111
1112 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1113 verbose=yes ;;
1114
1115 -version | --version | --versio | --versi | --vers | -V)
1116 ac_init_version=: ;;
1117
1118 -with-* | --with-*)
1119 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122 as_fn_error $? "invalid package name: '$ac_useropt'"
1123 ac_useropt_orig=$ac_useropt
1124 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1126 *"
1127 "with_$ac_useropt"
1128 "*) ;;
1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1130 ac_unrecognized_sep=', ';;
1131 esac
1132 eval with_$ac_useropt=\$ac_optarg ;;
1133
1134 -without-* | --without-*)
1135 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1138 as_fn_error $? "invalid package name: '$ac_useropt'"
1139 ac_useropt_orig=$ac_useropt
1140 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1141 case $ac_user_opts in
1142 *"
1143 "with_$ac_useropt"
1144 "*) ;;
1145 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1146 ac_unrecognized_sep=', ';;
1147 esac
1148 eval with_$ac_useropt=no ;;
1149
1150 --x)
1151 # Obsolete; use --with-x.
1152 with_x=yes ;;
1153
1154 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1155 | --x-incl | --x-inc | --x-in | --x-i)
1156 ac_prev=x_includes ;;
1157 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1158 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1159 x_includes=$ac_optarg ;;
1160
1161 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1162 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1163 ac_prev=x_libraries ;;
1164 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1165 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1166 x_libraries=$ac_optarg ;;
1167
1168 -*) as_fn_error $? "unrecognized option: '$ac_option'
1169 Try '$0 --help' for more information"
1170 ;;
1171
1172 *=*)
1173 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1174 # Reject names that are not valid shell variable names.
1175 case $ac_envvar in #(
1176 '' | [0-9]* | *[!_$as_cr_alnum]* )
1177 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1178 esac
1179 eval $ac_envvar=\$ac_optarg
1180 export $ac_envvar ;;
1181
1182 *)
1183 # FIXME: should be removed in autoconf 3.0.
1184 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1186 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1187 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1188 ;;
1189
1190 esac
1191 done
1192
1193 if test -n "$ac_prev"; then
1194 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1195 as_fn_error $? "missing argument to $ac_option"
1196 fi
1197
1198 if test -n "$ac_unrecognized_opts"; then
1199 case $enable_option_checking in
1200 no) ;;
1201 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1202 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1203 esac
1204 fi
1205
1206 # Check all directory arguments for consistency.
1207 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1208 datadir sysconfdir sharedstatedir localstatedir includedir \
1209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1210 libdir localedir mandir runstatedir
1211 do
1212 eval ac_val=\$$ac_var
1213 # Remove trailing slashes.
1214 case $ac_val in
1215 */ )
1216 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1217 eval $ac_var=\$ac_val;;
1218 esac
1219 # Be sure to have absolute directory names.
1220 case $ac_val in
1221 [\\/$]* | ?:[\\/]* ) continue;;
1222 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1223 esac
1224 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1225 done
1226
1227 # There might be people who depend on the old broken behavior: '$host'
1228 # used to hold the argument of --host etc.
1229 # FIXME: To remove some day.
1230 build=$build_alias
1231 host=$host_alias
1232 target=$target_alias
1233
1234 # FIXME: To remove some day.
1235 if test "x$host_alias" != x; then
1236 if test "x$build_alias" = x; then
1237 cross_compiling=maybe
1238 elif test "x$build_alias" != "x$host_alias"; then
1239 cross_compiling=yes
1240 fi
1241 fi
1242
1243 ac_tool_prefix=
1244 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1245
1246 test "$silent" = yes && exec 6>/dev/null
1247
1248
1249 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1250 ac_ls_di=`ls -di .` &&
1251 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1252 as_fn_error $? "working directory cannot be determined"
1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1254 as_fn_error $? "pwd does not report name of working directory"
1255
1256
1257 # Find the source files, if location was not specified.
1258 if test -z "$srcdir"; then
1259 ac_srcdir_defaulted=yes
1260 # Try the directory containing this script, then the parent directory.
1261 ac_confdir=`$as_dirname -- "$as_myself" ||
1262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1263 X"$as_myself" : 'X\(//\)[^/]' \| \
1264 X"$as_myself" : 'X\(//\)$' \| \
1265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1266 printf "%s\n" X"$as_myself" |
1267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1268 s//\1/
1269 q
1270 }
1271 /^X\(\/\/\)[^/].*/{
1272 s//\1/
1273 q
1274 }
1275 /^X\(\/\/\)$/{
1276 s//\1/
1277 q
1278 }
1279 /^X\(\/\).*/{
1280 s//\1/
1281 q
1282 }
1283 s/.*/./; q'`
1284 srcdir=$ac_confdir
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1286 srcdir=..
1287 fi
1288 else
1289 ac_srcdir_defaulted=no
1290 fi
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1292 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1293 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1294 fi
1295 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1296 ac_abs_confdir=`(
1297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1298 pwd)`
1299 # When building in place, set srcdir=.
1300 if test "$ac_abs_confdir" = "$ac_pwd"; then
1301 srcdir=.
1302 fi
1303 # Remove unnecessary trailing slashes from srcdir.
1304 # Double slashes in file names in object file debugging info
1305 # mess up M-x gdb in Emacs.
1306 case $srcdir in
1307 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1308 esac
1309 for ac_var in $ac_precious_vars; do
1310 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1311 eval ac_env_${ac_var}_value=\$${ac_var}
1312 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1313 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1314 done
1315
1316 #
1317 # Report the --help message.
1318 #
1319 if test "$ac_init_help" = "long"; then
1320 # Omit some internal or obsolete options to make the list less imposing.
1321 # This message is too long to be a string in the A/UX 3.1 sh.
1322 cat <<_ACEOF
1323 'configure' configures GIMP-Help 3.0.2 to adapt to many kinds of systems.
1324
1325 Usage: $0 [OPTION]... [VAR=VALUE]...
1326
1327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1328 VAR=VALUE. See below for descriptions of some of the useful variables.
1329
1330 Defaults for the options are specified in brackets.
1331
1332 Configuration:
1333 -h, --help display this help and exit
1334 --help=short display options specific to this package
1335 --help=recursive display the short help of all the included packages
1336 -V, --version display version information and exit
1337 -q, --quiet, --silent do not print 'checking ...' messages
1338 --cache-file=FILE cache test results in FILE [disabled]
1339 -C, --config-cache alias for '--cache-file=config.cache'
1340 -n, --no-create do not create output files
1341 --srcdir=DIR find the sources in DIR [configure dir or '..']
1342
1343 Installation directories:
1344 --prefix=PREFIX install architecture-independent files in PREFIX
1345 [$ac_default_prefix]
1346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1347 [PREFIX]
1348
1349 By default, 'make install' will install all the files in
1350 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1351 an installation prefix other than '$ac_default_prefix' using '--prefix',
1352 for instance '--prefix=\$HOME'.
1353
1354 For better control, use the options below.
1355
1356 Fine tuning of the installation directories:
1357 --bindir=DIR user executables [EPREFIX/bin]
1358 --sbindir=DIR system admin executables [EPREFIX/sbin]
1359 --libexecdir=DIR program executables [EPREFIX/libexec]
1360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1362 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1363 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1364 --libdir=DIR object code libraries [EPREFIX/lib]
1365 --includedir=DIR C header files [PREFIX/include]
1366 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1367 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1368 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1369 --infodir=DIR info documentation [DATAROOTDIR/info]
1370 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1371 --mandir=DIR man documentation [DATAROOTDIR/man]
1372 --docdir=DIR documentation root [DATAROOTDIR/doc/gimp-help]
1373 --htmldir=DIR html documentation [DOCDIR]
1374 --dvidir=DIR dvi documentation [DOCDIR]
1375 --pdfdir=DIR pdf documentation [DOCDIR]
1376 --psdir=DIR ps documentation [DOCDIR]
1377 _ACEOF
1378
1379 cat <<\_ACEOF
1380
1381 Program names:
1382 --program-prefix=PREFIX prepend PREFIX to installed program names
1383 --program-suffix=SUFFIX append SUFFIX to installed program names
1384 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1385
1386 System types:
1387 --build=BUILD configure for building on BUILD [guessed]
1388 _ACEOF
1389 fi
1390
1391 if test -n "$ac_init_help"; then
1392 case $ac_init_help in
1393 short | recursive ) echo "Configuration of GIMP-Help 3.0.2:";;
1394 esac
1395 cat <<\_ACEOF
1396
1397 Optional Features:
1398 --disable-option-checking ignore unrecognized --enable/--with options
1399 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1400 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1401 --enable-silent-rules less verbose build output (undo: "make V=1")
1402 --disable-silent-rules verbose build output (undo: "make V=0")
1403 --enable-maintainer-mode
1404 enable make rules and dependencies not useful (and
1405 sometimes confusing) to the casual installer
1406 --disable-build obsolete
1407 --enable-windows-installer
1408 generate files needed for the Windows installer
1409 (default=no)
1410 --enable-network allow xsltproc to fetch DTDs/entities over the
1411 network
1412 --enable-languageMenu Compile the HTML output with a language selector.
1413
1414 Optional Packages:
1415 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1416 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1417 --with-xsl=<basedir> path to the base of the DocBook Modular Stylesheets
1418 (deprecated - fix your DocBook Stylesheets package!)
1419 --without-gimp skip check for gimp3, install into PREFIX
1420
1421 Some influential environment variables:
1422 PYTHON the Python interpreter
1423 PKG_CONFIG path to pkg-config utility
1424 PKG_CONFIG_PATH
1425 directories to add to pkg-config's search path
1426 PKG_CONFIG_LIBDIR
1427 path overriding pkg-config's built-in search path
1428 GIMP_CFLAGS C compiler flags for GIMP, overriding pkg-config
1429 GIMP_LIBS linker flags for GIMP, overriding pkg-config
1430
1431 Use these variables to override the choices made by 'configure' or to help
1432 it to find libraries and programs with nonstandard names/locations.
1433
1434 Report bugs to the package provider.
1435 _ACEOF
1436 ac_status=$?
1437 fi
1438
1439 if test "$ac_init_help" = "recursive"; then
1440 # If there are subdirs, report their specific --help.
1441 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1442 test -d "$ac_dir" ||
1443 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1444 continue
1445 ac_builddir=.
1446
1447 case "$ac_dir" in
1448 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1449 *)
1450 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1451 # A ".." for each directory in $ac_dir_suffix.
1452 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1453 case $ac_top_builddir_sub in
1454 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1455 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1456 esac ;;
1457 esac
1458 ac_abs_top_builddir=$ac_pwd
1459 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1460 # for backward compatibility:
1461 ac_top_builddir=$ac_top_build_prefix
1462
1463 case $srcdir in
1464 .) # We are building in place.
1465 ac_srcdir=.
1466 ac_top_srcdir=$ac_top_builddir_sub
1467 ac_abs_top_srcdir=$ac_pwd ;;
1468 [\\/]* | ?:[\\/]* ) # Absolute name.
1469 ac_srcdir=$srcdir$ac_dir_suffix;
1470 ac_top_srcdir=$srcdir
1471 ac_abs_top_srcdir=$srcdir ;;
1472 *) # Relative name.
1473 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1474 ac_top_srcdir=$ac_top_build_prefix$srcdir
1475 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1476 esac
1477 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1478
1479 cd "$ac_dir" || { ac_status=$?; continue; }
1480 # Check for configure.gnu first; this name is used for a wrapper for
1481 # Metaconfig's "Configure" on case-insensitive file systems.
1482 if test -f "$ac_srcdir/configure.gnu"; then
1483 echo &&
1484 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1485 elif test -f "$ac_srcdir/configure"; then
1486 echo &&
1487 $SHELL "$ac_srcdir/configure" --help=recursive
1488 else
1489 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1490 fi || ac_status=$?
1491 cd "$ac_pwd" || { ac_status=$?; break; }
1492 done
1493 fi
1494
1495 test -n "$ac_init_help" && exit $ac_status
1496 if $ac_init_version; then
1497 cat <<\_ACEOF
1498 GIMP-Help configure 3.0.2
1499 generated by GNU Autoconf 2.72
1500
1501 Copyright (C) 2023 Free Software Foundation, Inc.
1502 This configure script is free software; the Free Software Foundation
1503 gives unlimited permission to copy, distribute and modify it.
1504 _ACEOF
1505 exit
1506 fi
1507
1508 ## ------------------------ ##
1509 ## Autoconf initialization. ##
1510 ## ------------------------ ##
1511 ac_configure_args_raw=
1512 for ac_arg
1513 do
1514 case $ac_arg in
1515 *\'*)
1516 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1517 esac
1518 as_fn_append ac_configure_args_raw " '$ac_arg'"
1519 done
1520
1521 case $ac_configure_args_raw in
1522 *$as_nl*)
1523 ac_safe_unquote= ;;
1524 *)
1525 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1526 ac_unsafe_a="$ac_unsafe_z#~"
1527 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1528 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1529 esac
1530
1531 cat >config.log <<_ACEOF
1532 This file contains any messages produced by compilers while
1533 running configure, to aid debugging if configure makes a mistake.
1534
1535 It was created by GIMP-Help $as_me 3.0.2, which was
1536 generated by GNU Autoconf 2.72. Invocation command line was
1537
1538 $ $0$ac_configure_args_raw
1539
1540 _ACEOF
1541 exec 5>>config.log
1542 {
1543 cat <<_ASUNAME
1544 ## --------- ##
1545 ## Platform. ##
1546 ## --------- ##
1547
1548 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1549 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1550 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1551 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1552 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1553
1554 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1555 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1556
1557 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1558 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1559 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1560 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1561 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1562 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1563 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1564
1565 _ASUNAME
1566
1567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1568 for as_dir in $PATH
1569 do
1570 IFS=$as_save_IFS
1571 case $as_dir in #(((
1572 '') as_dir=./ ;;
1573 */) ;;
1574 *) as_dir=$as_dir/ ;;
1575 esac
1576 printf "%s\n" "PATH: $as_dir"
1577 done
1578 IFS=$as_save_IFS
1579
1580 } >&5
1581
1582 cat >&5 <<_ACEOF
1583
1584
1585 ## ----------- ##
1586 ## Core tests. ##
1587 ## ----------- ##
1588
1589 _ACEOF
1590
1591
1592 # Keep a trace of the command line.
1593 # Strip out --no-create and --no-recursion so they do not pile up.
1594 # Strip out --silent because we don't want to record it for future runs.
1595 # Also quote any args containing shell meta-characters.
1596 # Make two passes to allow for proper duplicate-argument suppression.
1597 ac_configure_args=
1598 ac_configure_args0=
1599 ac_configure_args1=
1600 ac_must_keep_next=false
1601 for ac_pass in 1 2
1602 do
1603 for ac_arg
1604 do
1605 case $ac_arg in
1606 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1607 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1608 | -silent | --silent | --silen | --sile | --sil)
1609 continue ;;
1610 *\'*)
1611 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1612 esac
1613 case $ac_pass in
1614 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1615 2)
1616 as_fn_append ac_configure_args1 " '$ac_arg'"
1617 if test $ac_must_keep_next = true; then
1618 ac_must_keep_next=false # Got value, back to normal.
1619 else
1620 case $ac_arg in
1621 *=* | --config-cache | -C | -disable-* | --disable-* \
1622 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1623 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1624 | -with-* | --with-* | -without-* | --without-* | --x)
1625 case "$ac_configure_args0 " in
1626 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1627 esac
1628 ;;
1629 -* ) ac_must_keep_next=true ;;
1630 esac
1631 fi
1632 as_fn_append ac_configure_args " '$ac_arg'"
1633 ;;
1634 esac
1635 done
1636 done
1637 { ac_configure_args0=; unset ac_configure_args0;}
1638 { ac_configure_args1=; unset ac_configure_args1;}
1639
1640 # When interrupted or exit'd, cleanup temporary files, and complete
1641 # config.log. We remove comments because anyway the quotes in there
1642 # would cause problems or look ugly.
1643 # WARNING: Use '\'' to represent an apostrophe within the trap.
1644 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1645 trap 'exit_status=$?
1646 # Sanitize IFS.
1647 IFS=" "" $as_nl"
1648 # Save into config.log some information that might help in debugging.
1649 {
1650 echo
1651
1652 printf "%s\n" "## ---------------- ##
1653 ## Cache variables. ##
1654 ## ---------------- ##"
1655 echo
1656 # The following way of writing the cache mishandles newlines in values,
1657 (
1658 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1659 eval ac_val=\$$ac_var
1660 case $ac_val in #(
1661 *${as_nl}*)
1662 case $ac_var in #(
1663 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1664 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1665 esac
1666 case $ac_var in #(
1667 _ | IFS | as_nl) ;; #(
1668 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1669 *) { eval $ac_var=; unset $ac_var;} ;;
1670 esac ;;
1671 esac
1672 done
1673 (set) 2>&1 |
1674 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1675 *${as_nl}ac_space=\ *)
1676 sed -n \
1677 "s/'\''/'\''\\\\'\'''\''/g;
1678 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1679 ;; #(
1680 *)
1681 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1682 ;;
1683 esac |
1684 sort
1685 )
1686 echo
1687
1688 printf "%s\n" "## ----------------- ##
1689 ## Output variables. ##
1690 ## ----------------- ##"
1691 echo
1692 for ac_var in $ac_subst_vars
1693 do
1694 eval ac_val=\$$ac_var
1695 case $ac_val in
1696 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1697 esac
1698 printf "%s\n" "$ac_var='\''$ac_val'\''"
1699 done | sort
1700 echo
1701
1702 if test -n "$ac_subst_files"; then
1703 printf "%s\n" "## ------------------- ##
1704 ## File substitutions. ##
1705 ## ------------------- ##"
1706 echo
1707 for ac_var in $ac_subst_files
1708 do
1709 eval ac_val=\$$ac_var
1710 case $ac_val in
1711 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1712 esac
1713 printf "%s\n" "$ac_var='\''$ac_val'\''"
1714 done | sort
1715 echo
1716 fi
1717
1718 if test -s confdefs.h; then
1719 printf "%s\n" "## ----------- ##
1720 ## confdefs.h. ##
1721 ## ----------- ##"
1722 echo
1723 cat confdefs.h
1724 echo
1725 fi
1726 test "$ac_signal" != 0 &&
1727 printf "%s\n" "$as_me: caught signal $ac_signal"
1728 printf "%s\n" "$as_me: exit $exit_status"
1729 } >&5
1730 rm -f core *.core core.conftest.* &&
1731 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1732 exit $exit_status
1733 ' 0
1734 for ac_signal in 1 2 13 15; do
1735 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1736 done
1737 ac_signal=0
1738
1739 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1740 rm -f -r conftest* confdefs.h
1741
1742 printf "%s\n" "/* confdefs.h */" > confdefs.h
1743
1744 # Predefined preprocessor variables.
1745
1746 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1747
1748 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1749
1750 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1751
1752 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1753
1754 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1755
1756 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1757
1758
1759 # Let the site file select an alternate cache file if it wants to.
1760 # Prefer an explicitly selected file to automatically selected ones.
1761 if test -n "$CONFIG_SITE"; then
1762 ac_site_files="$CONFIG_SITE"
1763 elif test "x$prefix" != xNONE; then
1764 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1765 else
1766 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1767 fi
1768
1769 for ac_site_file in $ac_site_files
1770 do
1771 case $ac_site_file in #(
1772 */*) :
1773 ;; #(
1774 *) :
1775 ac_site_file=./$ac_site_file ;;
1776 esac
1777 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1779 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1780 sed 's/^/| /' "$ac_site_file" >&5
1781 . "$ac_site_file" \
1782 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
1783 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1784 as_fn_error $? "failed to load site script $ac_site_file
1785 See 'config.log' for more details" "$LINENO" 5; }
1786 fi
1787 done
1788
1789 if test -r "$cache_file"; then
1790 # Some versions of bash will fail to source /dev/null (special files
1791 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1792 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1794 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1795 case $cache_file in
1796 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1797 *) . "./$cache_file";;
1798 esac
1799 fi
1800 else
1801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1802 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1803 >$cache_file
1804 fi
1805
1806
1807 # Auxiliary files required by this configure script.
1808 ac_aux_files="missing install-sh config.guess config.sub"
1809
1810 # Locations in which to look for auxiliary files.
1811 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
1812
1813 # Search for a directory containing all of the required auxiliary files,
1814 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
1815 # If we don't find one directory that contains all the files we need,
1816 # we report the set of missing files from the *first* directory in
1817 # $ac_aux_dir_candidates and give up.
1818 ac_missing_aux_files=""
1819 ac_first_candidate=:
1820 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
1821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1822 as_found=false
1823 for as_dir in $ac_aux_dir_candidates
1824 do
1825 IFS=$as_save_IFS
1826 case $as_dir in #(((
1827 '') as_dir=./ ;;
1828 */) ;;
1829 *) as_dir=$as_dir/ ;;
1830 esac
1831 as_found=:
1832
1833 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
1834 ac_aux_dir_found=yes
1835 ac_install_sh=
1836 for ac_aux in $ac_aux_files
1837 do
1838 # As a special case, if "install-sh" is required, that requirement
1839 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
1840 # and $ac_install_sh is set appropriately for whichever one is found.
1841 if test x"$ac_aux" = x"install-sh"
1842 then
1843 if test -f "${as_dir}install-sh"; then
1844 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
1845 ac_install_sh="${as_dir}install-sh -c"
1846 elif test -f "${as_dir}install.sh"; then
1847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
1848 ac_install_sh="${as_dir}install.sh -c"
1849 elif test -f "${as_dir}shtool"; then
1850 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
1851 ac_install_sh="${as_dir}shtool install -c"
1852 else
1853 ac_aux_dir_found=no
1854 if $ac_first_candidate; then
1855 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
1856 else
1857 break
1858 fi
1859 fi
1860 else
1861 if test -f "${as_dir}${ac_aux}"; then
1862 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
1863 else
1864 ac_aux_dir_found=no
1865 if $ac_first_candidate; then
1866 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
1867 else
1868 break
1869 fi
1870 fi
1871 fi
1872 done
1873 if test "$ac_aux_dir_found" = yes; then
1874 ac_aux_dir="$as_dir"
1875 break
1876 fi
1877 ac_first_candidate=false
1878
1879 as_found=false
1880 done
1881 IFS=$as_save_IFS
1882 if $as_found
1883 then :
1884
1885 else case e in #(
1886 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
1887 esac
1888 fi
1889
1890
1891 # These three variables are undocumented and unsupported,
1892 # and are intended to be withdrawn in a future Autoconf release.
1893 # They can cause serious problems if a builder's source tree is in a directory
1894 # whose full name contains unusual characters.
1895 if test -f "${ac_aux_dir}config.guess"; then
1896 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
1897 fi
1898 if test -f "${ac_aux_dir}config.sub"; then
1899 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
1900 fi
1901 if test -f "$ac_aux_dir/configure"; then
1902 ac_configure="$SHELL ${ac_aux_dir}configure"
1903 fi
1904
1905 # Check that the precious variables saved in the cache have kept the same
1906 # value.
1907 ac_cache_corrupted=false
1908 for ac_var in $ac_precious_vars; do
1909 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1910 eval ac_new_set=\$ac_env_${ac_var}_set
1911 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1912 eval ac_new_val=\$ac_env_${ac_var}_value
1913 case $ac_old_set,$ac_new_set in
1914 set,)
1915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
1916 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
1917 ac_cache_corrupted=: ;;
1918 ,set)
1919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
1920 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
1921 ac_cache_corrupted=: ;;
1922 ,);;
1923 *)
1924 if test "x$ac_old_val" != "x$ac_new_val"; then
1925 # differences in whitespace do not lead to failure.
1926 ac_old_val_w=`echo x $ac_old_val`
1927 ac_new_val_w=`echo x $ac_new_val`
1928 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
1930 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
1931 ac_cache_corrupted=:
1932 else
1933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
1934 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
1935 eval $ac_var=\$ac_old_val
1936 fi
1937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
1938 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
1939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
1940 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
1941 fi;;
1942 esac
1943 # Pass precious variables to config.status.
1944 if test "$ac_new_set" = set; then
1945 case $ac_new_val in
1946 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1947 *) ac_arg=$ac_var=$ac_new_val ;;
1948 esac
1949 case " $ac_configure_args " in
1950 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1951 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1952 esac
1953 fi
1954 done
1955 if $ac_cache_corrupted; then
1956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
1957 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
1958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1959 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1960 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
1961 and start over" "$LINENO" 5
1962 fi
1963 ## -------------------- ##
1964 ## Main body of script. ##
1965 ## -------------------- ##
1966
1967 ac_ext=c
1968 ac_cpp='$CPP $CPPFLAGS'
1969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1972
1973
1974
1975 # Apparently this macro must be called before "AM_INIT_AUTOMAKE"
1976
1977
1978
1979 # Make sure we can run config.sub.
1980 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
1981 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
1982
1983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1984 printf %s "checking build system type... " >&6; }
1985 if test ${ac_cv_build+y}
1986 then :
1987 printf %s "(cached) " >&6
1988 else case e in #(
1989 e) ac_build_alias=$build_alias
1990 test "x$ac_build_alias" = x &&
1991 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
1992 test "x$ac_build_alias" = x &&
1993 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1994 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
1995 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
1996 ;;
1997 esac
1998 fi
1999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2000 printf "%s\n" "$ac_cv_build" >&6; }
2001 case $ac_cv_build in
2002 *-*-*) ;;
2003 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2004 esac
2005 build=$ac_cv_build
2006 ac_save_IFS=$IFS; IFS='-'
2007 set x $ac_cv_build
2008 shift
2009 build_cpu=$1
2010 build_vendor=$2
2011 shift; shift
2012 # Remember, the first character of IFS is used to create $*,
2013 # except with old shells:
2014 build_os=$*
2015 IFS=$ac_save_IFS
2016 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2017
2018
2019 case $build_os in
2020 *cygwin*|mingw*) IS_CYGWIN=yes;;
2021 *) IS_CYGWIN=no;;
2022 esac
2023 # for use in Makefile.am
2024 if test $IS_CYGWIN = yes; then
2025 CYGWIN_TRUE=
2026 CYGWIN_FALSE='#'
2027 else
2028 CYGWIN_TRUE='#'
2029 CYGWIN_FALSE=
2030 fi
2031
2032 # for use in Makefile
2033 #AC_SUBST(IS_CYGWIN)
2034
2035
2036
2037 ac_config_commands="$ac_config_commands stylesheets"
2038
2039 # XXX: use this if 'configure' (instead of 'config.status') should do it:
2040 #AC_CONFIG_COMMANDS_POST([
2041 # test "${srcdir:-.}" != "${builddir:-.}" &&
2042 # { test -d stylesheets || mkdir stylesheets; } &&
2043 # cp -f $srcdir/stylesheets/*.xsl $srcdir/stylesheets/*.dtd $srcdir/stylesheets/languageVocab.xml $srcdir/stylesheets/entities.xml stylesheets/
2044 #])
2045
2046 am__api_version='1.18'
2047
2048
2049 # Find a good install program. We prefer a C program (faster),
2050 # so one script is as good as another. But avoid the broken or
2051 # incompatible versions:
2052 # SysV /etc/install, /usr/sbin/install
2053 # SunOS /usr/etc/install
2054 # IRIX /sbin/install
2055 # AIX /bin/install
2056 # AmigaOS /C/install, which installs bootblocks on floppy discs
2057 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2058 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2059 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2060 # OS/2's system install, which has a completely different semantic
2061 # ./install, which can be erroneously created by make from ./install.sh.
2062 # Reject install programs that cannot install multiple files.
2063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2064 printf %s "checking for a BSD-compatible install... " >&6; }
2065 if test -z "$INSTALL"; then
2066 if test ${ac_cv_path_install+y}
2067 then :
2068 printf %s "(cached) " >&6
2069 else case e in #(
2070 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2071 for as_dir in $PATH
2072 do
2073 IFS=$as_save_IFS
2074 case $as_dir in #(((
2075 '') as_dir=./ ;;
2076 */) ;;
2077 *) as_dir=$as_dir/ ;;
2078 esac
2079 # Account for fact that we put trailing slashes in our PATH walk.
2080 case $as_dir in #((
2081 ./ | /[cC]/* | \
2082 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2083 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2084 /usr/ucb/* ) ;;
2085 *)
2086 # OSF1 and SCO ODT 3.0 have their own names for install.
2087 # Don't use installbsd from OSF since it installs stuff as root
2088 # by default.
2089 for ac_prog in ginstall scoinst install; do
2090 for ac_exec_ext in '' $ac_executable_extensions; do
2091 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2092 if test $ac_prog = install &&
2093 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2094 # AIX install. It has an incompatible calling convention.
2095 :
2096 elif test $ac_prog = install &&
2097 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2098 # program-specific install script used by HP pwplus--don't use.
2099 :
2100 else
2101 rm -rf conftest.one conftest.two conftest.dir
2102 echo one > conftest.one
2103 echo two > conftest.two
2104 mkdir conftest.dir
2105 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2106 test -s conftest.one && test -s conftest.two &&
2107 test -s conftest.dir/conftest.one &&
2108 test -s conftest.dir/conftest.two
2109 then
2110 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2111 break 3
2112 fi
2113 fi
2114 fi
2115 done
2116 done
2117 ;;
2118 esac
2119
2120 done
2121 IFS=$as_save_IFS
2122
2123 rm -rf conftest.one conftest.two conftest.dir
2124 ;;
2125 esac
2126 fi
2127 if test ${ac_cv_path_install+y}; then
2128 INSTALL=$ac_cv_path_install
2129 else
2130 # As a last resort, use the slow shell script. Don't cache a
2131 # value for INSTALL within a source directory, because that will
2132 # break other packages using the cache if that directory is
2133 # removed, or if the value is a relative name.
2134 INSTALL=$ac_install_sh
2135 fi
2136 fi
2137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2138 printf "%s\n" "$INSTALL" >&6; }
2139
2140 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2141 # It thinks the first close brace ends the variable substitution.
2142 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2143
2144 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2145
2146 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2147
2148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
2149 printf %s "checking whether sleep supports fractional seconds... " >&6; }
2150 if test ${am_cv_sleep_fractional_seconds+y}
2151 then :
2152 printf %s "(cached) " >&6
2153 else case e in #(
2154 e) if sleep 0.001 2>/dev/null
2155 then :
2156 am_cv_sleep_fractional_seconds=yes
2157 else case e in #(
2158 e) am_cv_sleep_fractional_seconds=no ;;
2159 esac
2160 fi
2161 ;;
2162 esac
2163 fi
2164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
2165 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
2166
2167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
2168 printf %s "checking filesystem timestamp resolution... " >&6; }
2169 if test ${am_cv_filesystem_timestamp_resolution+y}
2170 then :
2171 printf %s "(cached) " >&6
2172 else case e in #(
2173 e) # Default to the worst case.
2174 am_cv_filesystem_timestamp_resolution=2
2175
2176 # Only try to go finer than 1 sec if sleep can do it.
2177 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
2178 # - 1 sec is not much of a win compared to 2 sec, and
2179 # - it takes 2 seconds to perform the test whether 1 sec works.
2180 #
2181 # Instead, just use the default 2s on platforms that have 1s resolution,
2182 # accept the extra 1s delay when using $sleep in the Automake tests, in
2183 # exchange for not incurring the 2s delay for running the test for all
2184 # packages.
2185 #
2186 am_try_resolutions=
2187 if test "$am_cv_sleep_fractional_seconds" = yes; then
2188 # Even a millisecond often causes a bunch of false positives,
2189 # so just try a hundredth of a second. The time saved between .001 and
2190 # .01 is not terribly consequential.
2191 am_try_resolutions="0.01 0.1 $am_try_resolutions"
2192 fi
2193
2194 # In order to catch current-generation FAT out, we must *modify* files
2195 # that already exist; the *creation* timestamp is finer. Use names
2196 # that make ls -t sort them differently when they have equal
2197 # timestamps than when they have distinct timestamps, keeping
2198 # in mind that ls -t prints the *newest* file first.
2199 rm -f conftest.ts?
2200 : > conftest.ts1
2201 : > conftest.ts2
2202 : > conftest.ts3
2203
2204 # Make sure ls -t actually works. Do 'set' in a subshell so we don't
2205 # clobber the current shell's arguments. (Outer-level square brackets
2206 # are removed by m4; they're present so that m4 does not expand
2207 # <dollar><star>; be careful, easy to get confused.)
2208 if (
2209 set X `ls -t conftest.ts[12]` &&
2210 {
2211 test "$*" != "X conftest.ts1 conftest.ts2" ||
2212 test "$*" != "X conftest.ts2 conftest.ts1";
2213 }
2214 ); then :; else
2215 # If neither matched, then we have a broken ls. This can happen
2216 # if, for instance, CONFIG_SHELL is bash and it inherits a
2217 # broken ls alias from the environment. This has actually
2218 # happened. Such a system could not be considered "sane".
2219 printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
2220 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2221 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2222 as_fn_error $? "ls -t produces unexpected output.
2223 Make sure there is not a broken ls alias in your environment.
2224 See 'config.log' for more details" "$LINENO" 5; }
2225 fi
2226
2227 for am_try_res in $am_try_resolutions; do
2228 # Any one fine-grained sleep might happen to cross the boundary
2229 # between two values of a coarser actual resolution, but if we do
2230 # two fine-grained sleeps in a row, at least one of them will fall
2231 # entirely within a coarse interval.
2232 echo alpha > conftest.ts1
2233 sleep $am_try_res
2234 echo beta > conftest.ts2
2235 sleep $am_try_res
2236 echo gamma > conftest.ts3
2237
2238 # We assume that 'ls -t' will make use of high-resolution
2239 # timestamps if the operating system supports them at all.
2240 if (set X `ls -t conftest.ts?` &&
2241 test "$2" = conftest.ts3 &&
2242 test "$3" = conftest.ts2 &&
2243 test "$4" = conftest.ts1); then
2244 #
2245 # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
2246 # because we don't need to test make.
2247 make_ok=true
2248 if test $am_try_res != 1; then
2249 # But if we've succeeded so far with a subsecond resolution, we
2250 # have one more thing to check: make. It can happen that
2251 # everything else supports the subsecond mtimes, but make doesn't;
2252 # notably on macOS, which ships make 3.81 from 2006 (the last one
2253 # released under GPLv2). https://bugs.gnu.org/68808
2254 #
2255 # We test $MAKE if it is defined in the environment, else "make".
2256 # It might get overridden later, but our hope is that in practice
2257 # it does not matter: it is the system "make" which is (by far)
2258 # the most likely to be broken, whereas if the user overrides it,
2259 # probably they did so with a better, or at least not worse, make.
2260 # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
2261 #
2262 # Create a Makefile (real tab character here):
2263 rm -f conftest.mk
2264 echo 'conftest.ts1: conftest.ts2' >conftest.mk
2265 echo ' touch conftest.ts2' >>conftest.mk
2266 #
2267 # Now, running
2268 # touch conftest.ts1; touch conftest.ts2; make
2269 # should touch ts1 because ts2 is newer. This could happen by luck,
2270 # but most often, it will fail if make's support is insufficient. So
2271 # test for several consecutive successes.
2272 #
2273 # (We reuse conftest.ts[12] because we still want to modify existing
2274 # files, not create new ones, per above.)
2275 n=0
2276 make=${MAKE-make}
2277 until test $n -eq 3; do
2278 echo one > conftest.ts1
2279 sleep $am_try_res
2280 echo two > conftest.ts2 # ts2 should now be newer than ts1
2281 if $make -f conftest.mk | grep 'up to date' >/dev/null; then
2282 make_ok=false
2283 break # out of $n loop
2284 fi
2285 n=`expr $n + 1`
2286 done
2287 fi
2288 #
2289 if $make_ok; then
2290 # Everything we know to check worked out, so call this resolution good.
2291 am_cv_filesystem_timestamp_resolution=$am_try_res
2292 break # out of $am_try_res loop
2293 fi
2294 # Otherwise, we'll go on to check the next resolution.
2295 fi
2296 done
2297 rm -f conftest.ts?
2298 # (end _am_filesystem_timestamp_resolution)
2299 ;;
2300 esac
2301 fi
2302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
2303 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
2304
2305 # This check should not be cached, as it may vary across builds of
2306 # different projects.
2307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2308 printf %s "checking whether build environment is sane... " >&6; }
2309 # Reject unsafe characters in $srcdir or the absolute working directory
2310 # name. Accept space and tab only in the latter.
2311 am_lf='
2312 '
2313 case `pwd` in
2314 *[\\\"\#\$\&\'\`$am_lf]*)
2315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2316 printf "%s\n" "no" >&6; }
2317 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2318 esac
2319 case $srcdir in
2320 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2322 printf "%s\n" "no" >&6; }
2323 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2324 esac
2325
2326 # Do 'set' in a subshell so we don't clobber the current shell's
2327 # arguments. Must try -L first in case configure is actually a
2328 # symlink; some systems play weird games with the mod time of symlinks
2329 # (eg FreeBSD returns the mod time of the symlink's containing
2330 # directory).
2331 am_build_env_is_sane=no
2332 am_has_slept=no
2333 rm -f conftest.file
2334 for am_try in 1 2; do
2335 echo "timestamp, slept: $am_has_slept" > conftest.file
2336 if (
2337 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2338 if test "$*" = "X"; then
2339 # -L didn't work.
2340 set X `ls -t "$srcdir/configure" conftest.file`
2341 fi
2342 test "$2" = conftest.file
2343 ); then
2344 am_build_env_is_sane=yes
2345 break
2346 fi
2347 # Just in case.
2348 sleep "$am_cv_filesystem_timestamp_resolution"
2349 am_has_slept=yes
2350 done
2351
2352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
2353 printf "%s\n" "$am_build_env_is_sane" >&6; }
2354 if test "$am_build_env_is_sane" = no; then
2355 as_fn_error $? "newly created file is older than distributed files!
2356 Check your system clock" "$LINENO" 5
2357 fi
2358
2359 # If we didn't sleep, we still need to ensure time stamps of config.status and
2360 # generated files are strictly newer.
2361 am_sleep_pid=
2362 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
2363 then :
2364
2365 else case e in #(
2366 e) ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
2367 am_sleep_pid=$!
2368 ;;
2369 esac
2370 fi
2371
2372 rm -f conftest.file
2373
2374 test "$program_prefix" != NONE &&
2375 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2376 # Use a double $ so make ignores it.
2377 test "$program_suffix" != NONE &&
2378 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2379 # Double any \ or $.
2380 # By default was 's,x,x', remove it if useless.
2381 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2382 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2383
2384
2385 # Expand $ac_aux_dir to an absolute path.
2386 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2387
2388
2389 if test x"${MISSING+set}" != xset; then
2390 MISSING="\${SHELL} '$am_aux_dir/missing'"
2391 fi
2392 # Use eval to expand $SHELL
2393 if eval "$MISSING --is-lightweight"; then
2394 am_missing_run="$MISSING "
2395 else
2396 am_missing_run=
2397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2398 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2399 fi
2400
2401 if test x"${install_sh+set}" != xset; then
2402 case $am_aux_dir in
2403 *\ * | *\ *)
2404 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2405 *)
2406 install_sh="\${SHELL} $am_aux_dir/install-sh"
2407 esac
2408 fi
2409
2410 # Installed binaries are usually stripped using 'strip' when the user
2411 # run "make install-strip". However 'strip' might not be the right
2412 # tool to use in cross-compilation environments, therefore Automake
2413 # will honor the 'STRIP' environment variable to overrule this program.
2414 if test "$cross_compiling" != no; then
2415 if test -n "$ac_tool_prefix"; then
2416 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2417 set dummy ${ac_tool_prefix}strip; ac_word=$2
2418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2419 printf %s "checking for $ac_word... " >&6; }
2420 if test ${ac_cv_prog_STRIP+y}
2421 then :
2422 printf %s "(cached) " >&6
2423 else case e in #(
2424 e) if test -n "$STRIP"; then
2425 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2426 else
2427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2428 for as_dir in $PATH
2429 do
2430 IFS=$as_save_IFS
2431 case $as_dir in #(((
2432 '') as_dir=./ ;;
2433 */) ;;
2434 *) as_dir=$as_dir/ ;;
2435 esac
2436 for ac_exec_ext in '' $ac_executable_extensions; do
2437 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2438 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2440 break 2
2441 fi
2442 done
2443 done
2444 IFS=$as_save_IFS
2445
2446 fi ;;
2447 esac
2448 fi
2449 STRIP=$ac_cv_prog_STRIP
2450 if test -n "$STRIP"; then
2451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2452 printf "%s\n" "$STRIP" >&6; }
2453 else
2454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2455 printf "%s\n" "no" >&6; }
2456 fi
2457
2458
2459 fi
2460 if test -z "$ac_cv_prog_STRIP"; then
2461 ac_ct_STRIP=$STRIP
2462 # Extract the first word of "strip", so it can be a program name with args.
2463 set dummy strip; ac_word=$2
2464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2465 printf %s "checking for $ac_word... " >&6; }
2466 if test ${ac_cv_prog_ac_ct_STRIP+y}
2467 then :
2468 printf %s "(cached) " >&6
2469 else case e in #(
2470 e) if test -n "$ac_ct_STRIP"; then
2471 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2472 else
2473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 for as_dir in $PATH
2475 do
2476 IFS=$as_save_IFS
2477 case $as_dir in #(((
2478 '') as_dir=./ ;;
2479 */) ;;
2480 *) as_dir=$as_dir/ ;;
2481 esac
2482 for ac_exec_ext in '' $ac_executable_extensions; do
2483 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2484 ac_cv_prog_ac_ct_STRIP="strip"
2485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2486 break 2
2487 fi
2488 done
2489 done
2490 IFS=$as_save_IFS
2491
2492 fi ;;
2493 esac
2494 fi
2495 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2496 if test -n "$ac_ct_STRIP"; then
2497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2498 printf "%s\n" "$ac_ct_STRIP" >&6; }
2499 else
2500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2501 printf "%s\n" "no" >&6; }
2502 fi
2503
2504 if test "x$ac_ct_STRIP" = x; then
2505 STRIP=":"
2506 else
2507 case $cross_compiling:$ac_tool_warned in
2508 yes:)
2509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2510 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2511 ac_tool_warned=yes ;;
2512 esac
2513 STRIP=$ac_ct_STRIP
2514 fi
2515 else
2516 STRIP="$ac_cv_prog_STRIP"
2517 fi
2518
2519 fi
2520 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2521
2522
2523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2524 printf %s "checking for a race-free mkdir -p... " >&6; }
2525 if test -z "$MKDIR_P"; then
2526 if test ${ac_cv_path_mkdir+y}
2527 then :
2528 printf %s "(cached) " >&6
2529 else case e in #(
2530 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2531 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2532 do
2533 IFS=$as_save_IFS
2534 case $as_dir in #(((
2535 '') as_dir=./ ;;
2536 */) ;;
2537 *) as_dir=$as_dir/ ;;
2538 esac
2539 for ac_prog in mkdir gmkdir; do
2540 for ac_exec_ext in '' $ac_executable_extensions; do
2541 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2542 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2543 'mkdir ('*'coreutils) '* | \
2544 *'BusyBox '* | \
2545 'mkdir (fileutils) '4.1*)
2546 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2547 break 3;;
2548 esac
2549 done
2550 done
2551 done
2552 IFS=$as_save_IFS
2553 ;;
2554 esac
2555 fi
2556
2557 test -d ./--version && rmdir ./--version
2558 if test ${ac_cv_path_mkdir+y}; then
2559 MKDIR_P="$ac_cv_path_mkdir -p"
2560 else
2561 # As a last resort, use plain mkdir -p,
2562 # in the hope it doesn't have the bugs of ancient mkdir.
2563 MKDIR_P='mkdir -p'
2564 fi
2565 fi
2566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2567 printf "%s\n" "$MKDIR_P" >&6; }
2568
2569 for ac_prog in gawk mawk nawk awk
2570 do
2571 # Extract the first word of "$ac_prog", so it can be a program name with args.
2572 set dummy $ac_prog; ac_word=$2
2573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2574 printf %s "checking for $ac_word... " >&6; }
2575 if test ${ac_cv_prog_AWK+y}
2576 then :
2577 printf %s "(cached) " >&6
2578 else case e in #(
2579 e) if test -n "$AWK"; then
2580 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2581 else
2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2583 for as_dir in $PATH
2584 do
2585 IFS=$as_save_IFS
2586 case $as_dir in #(((
2587 '') as_dir=./ ;;
2588 */) ;;
2589 *) as_dir=$as_dir/ ;;
2590 esac
2591 for ac_exec_ext in '' $ac_executable_extensions; do
2592 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2593 ac_cv_prog_AWK="$ac_prog"
2594 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2595 break 2
2596 fi
2597 done
2598 done
2599 IFS=$as_save_IFS
2600
2601 fi ;;
2602 esac
2603 fi
2604 AWK=$ac_cv_prog_AWK
2605 if test -n "$AWK"; then
2606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2607 printf "%s\n" "$AWK" >&6; }
2608 else
2609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2610 printf "%s\n" "no" >&6; }
2611 fi
2612
2613
2614 test -n "$AWK" && break
2615 done
2616
2617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2618 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2619 set x ${MAKE-make}
2620 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2621 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2622 then :
2623 printf %s "(cached) " >&6
2624 else case e in #(
2625 e) cat >conftest.make <<\_ACEOF
2626 SHELL = /bin/sh
2627 all:
2628 @echo '@@@%%%=$(MAKE)=@@@%%%'
2629 _ACEOF
2630 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2631 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2632 *@@@%%%=?*=@@@%%%*)
2633 eval ac_cv_prog_make_${ac_make}_set=yes;;
2634 *)
2635 eval ac_cv_prog_make_${ac_make}_set=no;;
2636 esac
2637 rm -f conftest.make ;;
2638 esac
2639 fi
2640 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2642 printf "%s\n" "yes" >&6; }
2643 SET_MAKE=
2644 else
2645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2646 printf "%s\n" "no" >&6; }
2647 SET_MAKE="MAKE=${MAKE-make}"
2648 fi
2649
2650 rm -rf .tst 2>/dev/null
2651 mkdir .tst 2>/dev/null
2652 if test -d .tst; then
2653 am__leading_dot=.
2654 else
2655 am__leading_dot=_
2656 fi
2657 rmdir .tst 2>/dev/null
2658
2659 AM_DEFAULT_VERBOSITY=1
2660 # Check whether --enable-silent-rules was given.
2661 if test ${enable_silent_rules+y}
2662 then :
2663 enableval=$enable_silent_rules;
2664 fi
2665
2666 am_make=${MAKE-make}
2667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2668 printf %s "checking whether $am_make supports nested variables... " >&6; }
2669 if test ${am_cv_make_support_nested_variables+y}
2670 then :
2671 printf %s "(cached) " >&6
2672 else case e in #(
2673 e) if printf "%s\n" 'TRUE=$(BAR$(V))
2674 BAR0=false
2675 BAR1=true
2676 V=1
2677 am__doit:
2678 @$(TRUE)
2679 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2680 am_cv_make_support_nested_variables=yes
2681 else
2682 am_cv_make_support_nested_variables=no
2683 fi ;;
2684 esac
2685 fi
2686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2687 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2688 AM_BACKSLASH='\'
2689
2690 am__rm_f_notfound=
2691 if (rm -f && rm -fr && rm -rf) 2>/dev/null
2692 then :
2693
2694 else case e in #(
2695 e) am__rm_f_notfound='""' ;;
2696 esac
2697 fi
2698
2699
2700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
2701 printf %s "checking xargs -n works... " >&6; }
2702 if test ${am_cv_xargs_n_works+y}
2703 then :
2704 printf %s "(cached) " >&6
2705 else case e in #(
2706 e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
2707 3"
2708 then :
2709 am_cv_xargs_n_works=yes
2710 else case e in #(
2711 e) am_cv_xargs_n_works=no ;;
2712 esac
2713 fi ;;
2714 esac
2715 fi
2716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
2717 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
2718 if test "$am_cv_xargs_n_works" = yes
2719 then :
2720 am__xargs_n='xargs -n'
2721 else case e in #(
2722 e) am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
2723 ;;
2724 esac
2725 fi
2726
2727 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2728 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2729 # is not polluted with repeated "-I."
2730 am__isrc=' -I$(srcdir)'
2731 # test to see if srcdir already configured
2732 if test -f $srcdir/config.status; then
2733 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2734 fi
2735 fi
2736
2737 # test whether we have cygpath
2738 if test -z "$CYGPATH_W"; then
2739 if (cygpath --version) >/dev/null 2>/dev/null; then
2740 CYGPATH_W='cygpath -w'
2741 else
2742 CYGPATH_W=echo
2743 fi
2744 fi
2745
2746
2747 # Define the identity of the package.
2748 PACKAGE='gimp-help'
2749 VERSION='3.0.2'
2750
2751
2752 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2753
2754
2755 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2756
2757 # Some tools Automake needs.
2758
2759 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2760
2761
2762 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2763
2764
2765 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2766
2767
2768 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2769
2770
2771 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2772
2773 # For better backward compatibility. To be removed once Automake 1.9.x
2774 # dies out for good. For more background, see:
2775 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2776 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2777 mkdir_p='$(MKDIR_P)'
2778
2779 # We need awk for the "check" target (and possibly the TAP driver). The
2780 # system "awk" is bad on some platforms.
2781 # Always define AMTAR for backward compatibility. Yes, it's still used
2782 # in the wild :-( We should find a proper way to deprecate it ...
2783 AMTAR='$${TAR-tar}'
2784
2785
2786 # We'll loop over all known methods to create a tar archive until one works.
2787 _am_tools='gnutar pax cpio none'
2788
2789
2790
2791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2792 printf %s "checking how to create a pax tar archive... " >&6; }
2793
2794 # Go ahead even if we have the value already cached. We do so because we
2795 # need to set the values for the 'am__tar' and 'am__untar' variables.
2796 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2797
2798 for _am_tool in $_am_tools; do
2799 case $_am_tool in
2800 gnutar)
2801 for _am_tar in tar gnutar gtar; do
2802 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2803 ($_am_tar --version) >&5 2>&5
2804 ac_status=$?
2805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2806 (exit $ac_status); } && break
2807 done
2808 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2809 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2810 am__untar="$_am_tar -xf -"
2811 ;;
2812 plaintar)
2813 # Must skip GNU tar: if it does not support --format= it doesn't create
2814 # ustar tarball either.
2815 (tar --version) >/dev/null 2>&1 && continue
2816 am__tar='tar chf - "$$tardir"'
2817 am__tar_='tar chf - "$tardir"'
2818 am__untar='tar xf -'
2819 ;;
2820 pax)
2821 am__tar='pax -L -x pax -w "$$tardir"'
2822 am__tar_='pax -L -x pax -w "$tardir"'
2823 am__untar='pax -r'
2824 ;;
2825 cpio)
2826 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2827 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2828 am__untar='cpio -i -H pax -d'
2829 ;;
2830 none)
2831 am__tar=false
2832 am__tar_=false
2833 am__untar=false
2834 ;;
2835 esac
2836
2837 # If the value was cached, stop now. We just wanted to have am__tar
2838 # and am__untar set.
2839 test -n "${am_cv_prog_tar_pax}" && break
2840
2841 # tar/untar a dummy directory, and stop if the command works.
2842 rm -rf conftest.dir
2843 mkdir conftest.dir
2844 echo GrepMe > conftest.dir/file
2845 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2846 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2847 ac_status=$?
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }
2850 rm -rf conftest.dir
2851 if test -s conftest.tar; then
2852 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2853 ($am__untar <conftest.tar) >&5 2>&5
2854 ac_status=$?
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }
2857 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2858 (cat conftest.dir/file) >&5 2>&5
2859 ac_status=$?
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); }
2862 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2863 fi
2864 done
2865 rm -rf conftest.dir
2866
2867 if test ${am_cv_prog_tar_pax+y}
2868 then :
2869 printf %s "(cached) " >&6
2870 else case e in #(
2871 e) am_cv_prog_tar_pax=$_am_tool ;;
2872 esac
2873 fi
2874
2875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2876 printf "%s\n" "$am_cv_prog_tar_pax" >&6; }
2877
2878
2879
2880
2881
2882 # Variables for tags utilities; see am/tags.am
2883 if test -z "$CTAGS"; then
2884 CTAGS=ctags
2885 fi
2886
2887 if test -z "$ETAGS"; then
2888 ETAGS=etags
2889 fi
2890
2891 if test -z "$CSCOPE"; then
2892 CSCOPE=cscope
2893 fi
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2904 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2905 # Check whether --enable-maintainer-mode was given.
2906 if test ${enable_maintainer_mode+y}
2907 then :
2908 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2909 else case e in #(
2910 e) USE_MAINTAINER_MODE=no ;;
2911 esac
2912 fi
2913
2914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2915 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
2916 if test $USE_MAINTAINER_MODE = yes; then
2917 MAINTAINER_MODE_TRUE=
2918 MAINTAINER_MODE_FALSE='#'
2919 else
2920 MAINTAINER_MODE_TRUE='#'
2921 MAINTAINER_MODE_FALSE=
2922 fi
2923
2924 MAINT=$MAINTAINER_MODE_TRUE
2925
2926
2927
2928
2929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2930 printf %s "checking whether ln -s works... " >&6; }
2931 LN_S=$as_ln_s
2932 if test "$LN_S" = "ln -s"; then
2933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2934 printf "%s\n" "yes" >&6; }
2935 else
2936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2937 printf "%s\n" "no, using $LN_S" >&6; }
2938 fi
2939
2940
2941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2942 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2943 set x ${MAKE-make}
2944 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2945 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2946 then :
2947 printf %s "(cached) " >&6
2948 else case e in #(
2949 e) cat >conftest.make <<\_ACEOF
2950 SHELL = /bin/sh
2951 all:
2952 @echo '@@@%%%=$(MAKE)=@@@%%%'
2953 _ACEOF
2954 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2955 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2956 *@@@%%%=?*=@@@%%%*)
2957 eval ac_cv_prog_make_${ac_make}_set=yes;;
2958 *)
2959 eval ac_cv_prog_make_${ac_make}_set=no;;
2960 esac
2961 rm -f conftest.make ;;
2962 esac
2963 fi
2964 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2966 printf "%s\n" "yes" >&6; }
2967 SET_MAKE=
2968 else
2969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2970 printf "%s\n" "no" >&6; }
2971 SET_MAKE="MAKE=${MAKE-make}"
2972 fi
2973
2974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2975 printf %s "checking for a sed that does not truncate output... " >&6; }
2976 if test ${ac_cv_path_SED+y}
2977 then :
2978 printf %s "(cached) " >&6
2979 else case e in #(
2980 e) ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2981 for ac_i in 1 2 3 4 5 6 7; do
2982 ac_script="$ac_script$as_nl$ac_script"
2983 done
2984 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2985 { ac_script=; unset ac_script;}
2986 if test -z "$SED"; then
2987 ac_path_SED_found=false
2988 # Loop through the user's path and test for each of PROGNAME-LIST
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 for as_dir in $PATH
2991 do
2992 IFS=$as_save_IFS
2993 case $as_dir in #(((
2994 '') as_dir=./ ;;
2995 */) ;;
2996 *) as_dir=$as_dir/ ;;
2997 esac
2998 for ac_prog in sed gsed
2999 do
3000 for ac_exec_ext in '' $ac_executable_extensions; do
3001 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
3002 as_fn_executable_p "$ac_path_SED" || continue
3003 # Check for GNU ac_path_SED and select it if it is found.
3004 # Check for GNU $ac_path_SED
3005 case `"$ac_path_SED" --version 2>&1` in #(
3006 *GNU*)
3007 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3008 #(
3009 *)
3010 ac_count=0
3011 printf %s 0123456789 >"conftest.in"
3012 while :
3013 do
3014 cat "conftest.in" "conftest.in" >"conftest.tmp"
3015 mv "conftest.tmp" "conftest.in"
3016 cp "conftest.in" "conftest.nl"
3017 printf "%s\n" '' >> "conftest.nl"
3018 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3019 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3020 as_fn_arith $ac_count + 1 && ac_count=$as_val
3021 if test $ac_count -gt ${ac_path_SED_max-0}; then
3022 # Best one so far, save it but keep looking for a better one
3023 ac_cv_path_SED="$ac_path_SED"
3024 ac_path_SED_max=$ac_count
3025 fi
3026 # 10*(2^10) chars as input seems more than enough
3027 test $ac_count -gt 10 && break
3028 done
3029 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3030 esac
3031
3032 $ac_path_SED_found && break 3
3033 done
3034 done
3035 done
3036 IFS=$as_save_IFS
3037 if test -z "$ac_cv_path_SED"; then
3038 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3039 fi
3040 else
3041 ac_cv_path_SED=$SED
3042 fi
3043 ;;
3044 esac
3045 fi
3046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3047 printf "%s\n" "$ac_cv_path_SED" >&6; }
3048 SED="$ac_cv_path_SED"
3049 rm -f conftest.sed
3050
3051
3052
3053 # You can set the LINGUAS or LANGUAGES environment variable to
3054 # control what languages are built:
3055 # LINGUAS will be re restricted to languages in ALL_LINGUAS
3056 # LANGUAGES will override ALL_LINGUAS
3057 #
3058
3059 if test "x$ALL_LINGUAS" = "x"; then
3060 ALL_LINGUAS="bg ca cs da de el en en_GB eo es fa fi fr hr hu it ja ko lt nl nn pl pt pt_BR ro ru sk sl sv tr uk zh_CN"
3061 else
3062 ALL_LINGUAS=`echo "$ALL_LINGUAS" | $SED -e 's/, */ /g'`
3063 fi
3064
3065
3066
3067
3068 # It doesn't make sense to disable HTML build.
3069
3070 # Check whether --enable-build was given.
3071 if test ${enable_build+y}
3072 then :
3073 enableval=$enable_build;
3074 fi
3075
3076 #AM_CONDITIONAL(GIMP_HELP_BUILD, true)
3077
3078 #AC_ARG_ENABLE(i18n,
3079 # AS_HELP_STRING([--disable-i18n],
3080 # [don't build translated HTML files (with xml2po & gettext)]),
3081 # , enable_i18n=yes)
3082 #AM_CONDITIONAL(GIMP_HELP_I18N, test "$enable_i18n" = "yes")
3083
3084 test "$ALL_LINGUAS" != "en" && enable_i18n=yes || enable_i18n=no
3085
3086
3087 # Check for GNU make.
3088
3089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} is GNU make" >&5
3090 printf %s "checking whether ${MAKE-make} is GNU make... " >&6; }
3091 if (${MAKE-make} --version) < /dev/null > /dev/null 2>&1; then
3092 if (${MAKE-make} --version) 2> /dev/null | grep 'GNU Make' > /dev/null 2>&1; then
3093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3094 printf "%s\n" "yes" >&6; }
3095 else
3096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 printf "%s\n" "no" >&6; }
3098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
3099 ** It seems that the make utility is not GNU Make. Since this project
3100 ** makes use of GNU Make extensions, you may run into build problems.
3101 ** Please use GNU Make if possible.
3102 " >&5
3103 printf "%s\n" "$as_me: WARNING:
3104 ** It seems that the make utility is not GNU Make. Since this project
3105 ** makes use of GNU Make extensions, you may run into build problems.
3106 ** Please use GNU Make if possible.
3107 " >&2;}
3108 fi
3109 else
3110 as_fn_error $? "${MAKE-make} not found" "$LINENO" 5
3111 fi
3112
3113
3114 # Search for the XSLT processor
3115
3116 # Extract the first word of "xsltproc", so it can be a program name with args.
3117 set dummy xsltproc; ac_word=$2
3118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3119 printf %s "checking for $ac_word... " >&6; }
3120 if test ${ac_cv_path_XSLTPROC+y}
3121 then :
3122 printf %s "(cached) " >&6
3123 else case e in #(
3124 e) case $XSLTPROC in
3125 [\\/]* | ?:[\\/]*)
3126 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
3127 ;;
3128 *)
3129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3130 for as_dir in $PATH
3131 do
3132 IFS=$as_save_IFS
3133 case $as_dir in #(((
3134 '') as_dir=./ ;;
3135 */) ;;
3136 *) as_dir=$as_dir/ ;;
3137 esac
3138 for ac_exec_ext in '' $ac_executable_extensions; do
3139 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3140 ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
3141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3142 break 2
3143 fi
3144 done
3145 done
3146 IFS=$as_save_IFS
3147
3148 ;;
3149 esac ;;
3150 esac
3151 fi
3152 XSLTPROC=$ac_cv_path_XSLTPROC
3153 if test -n "$XSLTPROC"; then
3154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
3155 printf "%s\n" "$XSLTPROC" >&6; }
3156 else
3157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3158 printf "%s\n" "no" >&6; }
3159 fi
3160
3161
3162 if test -z "$XSLTPROC"; then
3163 as_fn_error $? "
3164 ** Couldn't find xsltproc(1). You will need it to build the help files.
3165 ** See the file 'INSTALL' for more help." "$LINENO" 5
3166 fi
3167
3168
3169 # Search for xmllint
3170
3171 # Extract the first word of "xmllint", so it can be a program name with args.
3172 set dummy xmllint; ac_word=$2
3173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 printf %s "checking for $ac_word... " >&6; }
3175 if test ${ac_cv_path_XMLLINT+y}
3176 then :
3177 printf %s "(cached) " >&6
3178 else case e in #(
3179 e) case $XMLLINT in
3180 [\\/]* | ?:[\\/]*)
3181 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
3182 ;;
3183 *)
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3185 for as_dir in $PATH
3186 do
3187 IFS=$as_save_IFS
3188 case $as_dir in #(((
3189 '') as_dir=./ ;;
3190 */) ;;
3191 *) as_dir=$as_dir/ ;;
3192 esac
3193 for ac_exec_ext in '' $ac_executable_extensions; do
3194 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3195 ac_cv_path_XMLLINT="$as_dir$ac_word$ac_exec_ext"
3196 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3197 break 2
3198 fi
3199 done
3200 done
3201 IFS=$as_save_IFS
3202
3203 ;;
3204 esac ;;
3205 esac
3206 fi
3207 XMLLINT=$ac_cv_path_XMLLINT
3208 if test -n "$XMLLINT"; then
3209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
3210 printf "%s\n" "$XMLLINT" >&6; }
3211 else
3212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213 printf "%s\n" "no" >&6; }
3214 fi
3215
3216
3217 if test -z "$XMLLINT" && test "x$enable_build" = "xyes"; then
3218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find xmllint(1), XML will not be validated" >&5
3219 printf "%s\n" "$as_me: WARNING: cannot find xmllint(1), XML will not be validated" >&2;}
3220 fi
3221
3222 if test -n "$XMLLINT"; then
3223 HAVE_XMLLINT_TRUE=
3224 HAVE_XMLLINT_FALSE='#'
3225 else
3226 HAVE_XMLLINT_TRUE='#'
3227 HAVE_XMLLINT_FALSE=
3228 fi
3229
3230 XMLLINTFLAGS="--nonet"
3231
3232
3233
3234 # Search for dblatex
3235
3236 # Extract the first word of "dblatex", so it can be a program name with args.
3237 set dummy dblatex; ac_word=$2
3238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3239 printf %s "checking for $ac_word... " >&6; }
3240 if test ${ac_cv_path_DBLATEX+y}
3241 then :
3242 printf %s "(cached) " >&6
3243 else case e in #(
3244 e) case $DBLATEX in
3245 [\\/]* | ?:[\\/]*)
3246 ac_cv_path_DBLATEX="$DBLATEX" # Let the user override the test with a path.
3247 ;;
3248 *)
3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3250 for as_dir in $PATH
3251 do
3252 IFS=$as_save_IFS
3253 case $as_dir in #(((
3254 '') as_dir=./ ;;
3255 */) ;;
3256 *) as_dir=$as_dir/ ;;
3257 esac
3258 for ac_exec_ext in '' $ac_executable_extensions; do
3259 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3260 ac_cv_path_DBLATEX="$as_dir$ac_word$ac_exec_ext"
3261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3262 break 2
3263 fi
3264 done
3265 done
3266 IFS=$as_save_IFS
3267
3268 ;;
3269 esac ;;
3270 esac
3271 fi
3272 DBLATEX=$ac_cv_path_DBLATEX
3273 if test -n "$DBLATEX"; then
3274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
3275 printf "%s\n" "$DBLATEX" >&6; }
3276 else
3277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278 printf "%s\n" "no" >&6; }
3279 fi
3280
3281
3282 if test -z "$DBLATEX"; then
3283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find dblatex(1), PDF generation disabled" >&5
3284 printf "%s\n" "$as_me: WARNING: cannot find dblatex(1), PDF generation disabled" >&2;}
3285 fi
3286
3287 if test -n "$DBLATEX"; then
3288 HAVE_DBLATEX_TRUE=
3289 HAVE_DBLATEX_FALSE='#'
3290 else
3291 HAVE_DBLATEX_TRUE='#'
3292 HAVE_DBLATEX_FALSE=
3293 fi
3294
3295 DBLATEXFLAGS="--backend=xetex --style=db2latex --verbose"
3296
3297
3298 # Search for rsvg-convert used for building quickreference PDF's
3299
3300 # Extract the first word of "rsvg-convert", so it can be a program name with args.
3301 set dummy rsvg-convert; ac_word=$2
3302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3303 printf %s "checking for $ac_word... " >&6; }
3304 if test ${ac_cv_path_SVG2PDF+y}
3305 then :
3306 printf %s "(cached) " >&6
3307 else case e in #(
3308 e) case $SVG2PDF in
3309 [\\/]* | ?:[\\/]*)
3310 ac_cv_path_SVG2PDF="$SVG2PDF" # Let the user override the test with a path.
3311 ;;
3312 *)
3313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3314 for as_dir in $PATH
3315 do
3316 IFS=$as_save_IFS
3317 case $as_dir in #(((
3318 '') as_dir=./ ;;
3319 */) ;;
3320 *) as_dir=$as_dir/ ;;
3321 esac
3322 for ac_exec_ext in '' $ac_executable_extensions; do
3323 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3324 ac_cv_path_SVG2PDF="$as_dir$ac_word$ac_exec_ext"
3325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3326 break 2
3327 fi
3328 done
3329 done
3330 IFS=$as_save_IFS
3331
3332 ;;
3333 esac ;;
3334 esac
3335 fi
3336 SVG2PDF=$ac_cv_path_SVG2PDF
3337 if test -n "$SVG2PDF"; then
3338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SVG2PDF" >&5
3339 printf "%s\n" "$SVG2PDF" >&6; }
3340 else
3341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342 printf "%s\n" "no" >&6; }
3343 fi
3344
3345
3346 if test -z "$SVG2PDF"; then
3347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: cannot find rsvg-convert(1), Quickreference PDF generation disabled" >&5
3348 printf "%s\n" "$as_me: cannot find rsvg-convert(1), Quickreference PDF generation disabled" >&6;}
3349 fi
3350
3351 if test -n "$SVG2PDF"; then
3352 HAVE_SVG2PDF_TRUE=
3353 HAVE_SVG2PDF_FALSE='#'
3354 else
3355 HAVE_SVG2PDF_TRUE='#'
3356 HAVE_SVG2PDF_FALSE=
3357 fi
3358
3359 SVG2PDF_FLAGS="-a -f pdf"
3360
3361
3362 # Use our customized xml2po
3363
3364
3365
3366
3367
3368
3369
3370 am_display_PYTHON_MINIMUM=3.6.0
3371
3372
3373 if test -n "$PYTHON"; then
3374 # If the user set $PYTHON, use it and don't search something else.
3375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking $PYTHON (from \$PYTHON env variable) version" >&5
3376 printf %s "checking $PYTHON (from \$PYTHON env variable) version... " >&6; }
3377 if test ${am_cv_python_version+y}
3378 then :
3379 printf %s "(cached) " >&6
3380 else case e in #(
3381 e) am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version.split()[0])"` ;;
3382 esac
3383 fi
3384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
3385 printf "%s\n" "$am_cv_python_version" >&6; }
3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= $am_display_PYTHON_MINIMUM" >&5
3387 printf %s "checking whether $PYTHON version >= $am_display_PYTHON_MINIMUM... " >&6; }
3388 prog="import sys
3389 # split strings by '.' and convert to numeric. Append some zeros
3390 # because we need at least 4 digits for the hex conversion.
3391 # map returns an iterator in Python 3.0 and a list in 2.x
3392 # minver = list(map(int, '$am_display_PYTHON_MINIMUM'.split('.'))) + [[0, 0, 0]]
3393 minver = list(map(int, '$am_display_PYTHON_MINIMUM'.split('.')))
3394 minverhex = 0
3395 # xrange is not present in Python 3.0 and range returns an iterator.
3396 # python2dev had minver[[i]] but that raises
3397 # TypeError: list indices must be integers or slices, not list
3398 # for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
3399 for v in minver: minverhex = (minverhex << 8) + v
3400 # sys.version_info.major only available since Python 2.7.
3401 # use sys.version_info[0] instead.
3402 # Double the square brackets for M4 syntax.
3403 # sys.exit(sys.version_info[[0]] != 3 or sys.hexversion < minverhex)
3404 sys.exit(sys.version_info[0] != 3 or (sys.hexversion >> 8) < minverhex)"
3405 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
3406 ($PYTHON -c "$prog") >&5 2>&5
3407 ac_status=$?
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); }
3410 then :
3411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3412 printf "%s\n" "yes" >&6; }
3413 else case e in #(
3414 e) as_fn_error $? "too old" "$LINENO" 5 ;;
3415 esac
3416 fi
3417 prog="import libxml2"
3418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $PYTHON can import module libxml2" >&5
3419 printf %s "checking if $PYTHON can import module libxml2... " >&6; }
3420 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
3421 ($PYTHON -c "$prog") >&5 2>&5
3422 ac_status=$?
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); }
3425 then :
3426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3427 printf "%s\n" "yes" >&6; }
3428 am_display_PYTHON=$PYTHON
3429 else case e in #(
3430 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431 printf "%s\n" "no" >&6; }
3432 PYTHON=: ;;
3433 esac
3434 fi
3435 else
3436 # Otherwise, try each interpreter until we find one that satisfies
3437 # VERSION.
3438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python 3 interpreter with version >= $am_display_PYTHON_MINIMUM among: python3 python python3.13 python3.12 python3.11 python3.10 python3.9 python3.8 python3.7 python3.6" >&5
3439 printf "%s\n" "$as_me: checking for a Python 3 interpreter with version >= $am_display_PYTHON_MINIMUM among: python3 python python3.13 python3.12 python3.11 python3.10 python3.9 python3.8 python3.7 python3.6" >&6;}
3440 for am_cv_pathless_PYTHON in python3 python python3.13 python3.12 python3.11 python3.10 python3.9 python3.8 python3.7 python3.6 none; do
3441 test "$am_cv_pathless_PYTHON" = none && break
3442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking $am_cv_pathless_PYTHON version" >&5
3443 printf %s "checking $am_cv_pathless_PYTHON version... " >&6; }
3444 am_cv_pathless_PYTHON_version=`$am_cv_pathless_PYTHON -c "import sys; sys.stdout.write(sys.version.split()[0])"`
3445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON_version" >&5
3446 printf "%s\n" "$am_cv_pathless_PYTHON_version" >&6; }
3447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_cv_pathless_PYTHON version >= $am_display_PYTHON_MINIMUM" >&5
3448 printf %s "checking whether $am_cv_pathless_PYTHON version >= $am_display_PYTHON_MINIMUM... " >&6; }
3449 prog="import sys
3450 # split strings by '.' and convert to numeric. Append some zeros
3451 # because we need at least 4 digits for the hex conversion.
3452 # map returns an iterator in Python 3.0 and a list in 2.x
3453 # minver = list(map(int, '$am_display_PYTHON_MINIMUM'.split('.'))) + [[0, 0, 0]]
3454 minver = list(map(int, '$am_display_PYTHON_MINIMUM'.split('.')))
3455 minverhex = 0
3456 # xrange is not present in Python 3.0 and range returns an iterator.
3457 # python2dev had minver[[i]] but that raises
3458 # TypeError: list indices must be integers or slices, not list
3459 # for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
3460 for v in minver: minverhex = (minverhex << 8) + v
3461 # sys.version_info.major only available since Python 2.7.
3462 # use sys.version_info[0] instead.
3463 # Double the square brackets for M4 syntax.
3464 # sys.exit(sys.version_info[[0]] != 3 or sys.hexversion < minverhex)
3465 sys.exit(sys.version_info[0] != 3 or (sys.hexversion >> 8) < minverhex)"
3466 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
3467 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
3468 ac_status=$?
3469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3470 (exit $ac_status); }
3471 then :
3472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3473 printf "%s\n" "yes" >&6; }
3474 else case e in #(
3475 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: too old" >&5
3476 printf "%s\n" "too old" >&6; }
3477 continue ;;
3478 esac
3479 fi
3480 prog="import libxml2"
3481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $am_cv_pathless_PYTHON can import module libxml2" >&5
3482 printf %s "checking if $am_cv_pathless_PYTHON can import module libxml2... " >&6; }
3483 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
3484 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
3485 ac_status=$?
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); }
3488 then :
3489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3490 printf "%s\n" "yes" >&6; }
3491 break
3492 else case e in #(
3493 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 printf "%s\n" "no" >&6; }
3495 ;;
3496 esac
3497 fi
3498 done
3499 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
3500 if test "$am_cv_pathless_PYTHON" = none; then
3501 PYTHON=:
3502 else
3503 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
3504 set dummy $am_cv_pathless_PYTHON; ac_word=$2
3505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3506 printf %s "checking for $ac_word... " >&6; }
3507 if test ${ac_cv_path_PYTHON+y}
3508 then :
3509 printf %s "(cached) " >&6
3510 else case e in #(
3511 e) case $PYTHON in
3512 [\\/]* | ?:[\\/]*)
3513 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
3514 ;;
3515 *)
3516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3517 for as_dir in $PATH
3518 do
3519 IFS=$as_save_IFS
3520 case $as_dir in #(((
3521 '') as_dir=./ ;;
3522 */) ;;
3523 *) as_dir=$as_dir/ ;;
3524 esac
3525 for ac_exec_ext in '' $ac_executable_extensions; do
3526 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3527 ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
3528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3529 break 2
3530 fi
3531 done
3532 done
3533 IFS=$as_save_IFS
3534
3535 ;;
3536 esac ;;
3537 esac
3538 fi
3539 PYTHON=$ac_cv_path_PYTHON
3540 if test -n "$PYTHON"; then
3541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
3542 printf "%s\n" "$PYTHON" >&6; }
3543 else
3544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545 printf "%s\n" "no" >&6; }
3546 fi
3547
3548
3549 fi
3550 am_display_PYTHON=$am_cv_pathless_PYTHON
3551 fi
3552
3553 if test "$PYTHON" = :; then
3554 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
3555 else
3556
3557
3558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
3559 printf %s "checking for $am_display_PYTHON version... " >&6; }
3560 if test ${am_cv_python_version+y}
3561 then :
3562 printf %s "(cached) " >&6
3563 else case e in #(
3564 e) am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version.split()[0])"` ;;
3565 esac
3566 fi
3567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
3568 printf "%s\n" "$am_cv_python_version" >&6; }
3569 PYTHON_VERSION=$am_cv_python_version
3570
3571
3572
3573 PYTHON_PREFIX='${prefix}'
3574
3575 PYTHON_EXEC_PREFIX='${exec_prefix}'
3576
3577
3578
3579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
3580 printf %s "checking for $am_display_PYTHON platform... " >&6; }
3581 if test ${am_cv_python_platform+y}
3582 then :
3583 printf %s "(cached) " >&6
3584 else case e in #(
3585 e) am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"` ;;
3586 esac
3587 fi
3588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
3589 printf "%s\n" "$am_cv_python_platform" >&6; }
3590 PYTHON_PLATFORM=$am_cv_python_platform
3591
3592
3593
3594
3595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
3596 printf %s "checking for $am_display_PYTHON script directory... " >&6; }
3597 if test ${am_cv_python_pythondir+y}
3598 then :
3599 printf %s "(cached) " >&6
3600 else case e in #(
3601 e) if test "x$prefix" = xNONE
3602 then
3603 am_py_prefix=$ac_default_prefix
3604 else
3605 am_py_prefix=$prefix
3606 fi
3607 am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
3608 case $am_cv_python_pythondir in
3609 $am_py_prefix*)
3610 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
3611 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
3612 ;;
3613 *)
3614 case $am_py_prefix in
3615 /usr|/System*) ;;
3616 *)
3617 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
3618 ;;
3619 esac
3620 ;;
3621 esac
3622 ;;
3623 esac
3624 fi
3625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
3626 printf "%s\n" "$am_cv_python_pythondir" >&6; }
3627 pythondir=$am_cv_python_pythondir
3628
3629
3630
3631 pkgpythondir=\${pythondir}/$PACKAGE
3632
3633
3634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
3635 printf %s "checking for $am_display_PYTHON extension module directory... " >&6; }
3636 if test ${am_cv_python_pyexecdir+y}
3637 then :
3638 printf %s "(cached) " >&6
3639 else case e in #(
3640 e) if test "x$exec_prefix" = xNONE
3641 then
3642 am_py_exec_prefix=$am_py_prefix
3643 else
3644 am_py_exec_prefix=$exec_prefix
3645 fi
3646 am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
3647 case $am_cv_python_pyexecdir in
3648 $am_py_exec_prefix*)
3649 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
3650 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
3651 ;;
3652 *)
3653 case $am_py_exec_prefix in
3654 /usr|/System*) ;;
3655 *)
3656 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
3657 ;;
3658 esac
3659 ;;
3660 esac
3661 ;;
3662 esac
3663 fi
3664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
3665 printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
3666 pyexecdir=$am_cv_python_pyexecdir
3667
3668
3669
3670 pkgpyexecdir=\${pyexecdir}/$PACKAGE
3671
3672
3673
3674 fi
3675
3676
3677
3678 XML2PO='$(PYTHON) $(top_srcdir)/tools/xml2po.py'
3679 XML2POFLAGS='--mode=gimphelp --base=$(top_srcdir)/'
3680
3681
3682
3683
3684 # Search for gettext tools
3685
3686 # Extract the first word of "msgfmt", so it can be a program name with args.
3687 set dummy msgfmt; ac_word=$2
3688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3689 printf %s "checking for $ac_word... " >&6; }
3690 if test ${ac_cv_path_MSGFMT+y}
3691 then :
3692 printf %s "(cached) " >&6
3693 else case e in #(
3694 e) case $MSGFMT in
3695 [\\/]* | ?:[\\/]*)
3696 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
3697 ;;
3698 *)
3699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3700 for as_dir in $PATH
3701 do
3702 IFS=$as_save_IFS
3703 case $as_dir in #(((
3704 '') as_dir=./ ;;
3705 */) ;;
3706 *) as_dir=$as_dir/ ;;
3707 esac
3708 for ac_exec_ext in '' $ac_executable_extensions; do
3709 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3710 ac_cv_path_MSGFMT="$as_dir$ac_word$ac_exec_ext"
3711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3712 break 2
3713 fi
3714 done
3715 done
3716 IFS=$as_save_IFS
3717
3718 ;;
3719 esac ;;
3720 esac
3721 fi
3722 MSGFMT=$ac_cv_path_MSGFMT
3723 if test -n "$MSGFMT"; then
3724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3725 printf "%s\n" "$MSGFMT" >&6; }
3726 else
3727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 printf "%s\n" "no" >&6; }
3729 fi
3730
3731
3732 if test -z "$MSGFMT" && test "x$enable_i18n" = "xyes"; then
3733 # print warning only for the main i18n tools xml2po & msgfmt
3734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find msgfmt" >&5
3735 printf "%s\n" "$as_me: WARNING: cannot find msgfmt" >&2;}
3736 missing_i18n_tools=${missing_i18n_tools:+"${missing_i18n_tools} "}msgfmt
3737 fi
3738 MSGFMTFLAGS="--check --use-fuzzy --statistics"
3739
3740
3741
3742 # Extract the first word of "msginit", so it can be a program name with args.
3743 set dummy msginit; ac_word=$2
3744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 printf %s "checking for $ac_word... " >&6; }
3746 if test ${ac_cv_path_MSGINIT+y}
3747 then :
3748 printf %s "(cached) " >&6
3749 else case e in #(
3750 e) case $MSGINIT in
3751 [\\/]* | ?:[\\/]*)
3752 ac_cv_path_MSGINIT="$MSGINIT" # Let the user override the test with a path.
3753 ;;
3754 *)
3755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3756 for as_dir in $PATH
3757 do
3758 IFS=$as_save_IFS
3759 case $as_dir in #(((
3760 '') as_dir=./ ;;
3761 */) ;;
3762 *) as_dir=$as_dir/ ;;
3763 esac
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3766 ac_cv_path_MSGINIT="$as_dir$ac_word$ac_exec_ext"
3767 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3768 break 2
3769 fi
3770 done
3771 done
3772 IFS=$as_save_IFS
3773
3774 ;;
3775 esac ;;
3776 esac
3777 fi
3778 MSGINIT=$ac_cv_path_MSGINIT
3779 if test -n "$MSGINIT"; then
3780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGINIT" >&5
3781 printf "%s\n" "$MSGINIT" >&6; }
3782 else
3783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3784 printf "%s\n" "no" >&6; }
3785 fi
3786
3787
3788 if test -z "$MSGINIT" && test "x$enable_i18n" = "xyes"; then
3789 missing_i18n_tools=${missing_i18n_tools:+"${missing_i18n_tools} "}msginit
3790 fi
3791 MSGINITFLAGS='--no-translator --width=$(MSGWIDTH)'
3792
3793
3794
3795 # Extract the first word of "msgmerge", so it can be a program name with args.
3796 set dummy msgmerge; ac_word=$2
3797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 printf %s "checking for $ac_word... " >&6; }
3799 if test ${ac_cv_path_MSGMERGE+y}
3800 then :
3801 printf %s "(cached) " >&6
3802 else case e in #(
3803 e) case $MSGMERGE in
3804 [\\/]* | ?:[\\/]*)
3805 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
3806 ;;
3807 *)
3808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3809 for as_dir in $PATH
3810 do
3811 IFS=$as_save_IFS
3812 case $as_dir in #(((
3813 '') as_dir=./ ;;
3814 */) ;;
3815 *) as_dir=$as_dir/ ;;
3816 esac
3817 for ac_exec_ext in '' $ac_executable_extensions; do
3818 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3819 ac_cv_path_MSGMERGE="$as_dir$ac_word$ac_exec_ext"
3820 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3821 break 2
3822 fi
3823 done
3824 done
3825 IFS=$as_save_IFS
3826
3827 ;;
3828 esac ;;
3829 esac
3830 fi
3831 MSGMERGE=$ac_cv_path_MSGMERGE
3832 if test -n "$MSGMERGE"; then
3833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3834 printf "%s\n" "$MSGMERGE" >&6; }
3835 else
3836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3837 printf "%s\n" "no" >&6; }
3838 fi
3839
3840
3841 if test -z "$MSGMERGE" && test "x$enable_i18n" = "xyes"; then
3842 missing_i18n_tools=${missing_i18n_tools:+"${missing_i18n_tools} "}msgmerge
3843 fi
3844 MSGMERGEFLAGS='--quiet --width=$(MSGWIDTH)'
3845
3846
3847
3848 # Extract the first word of "msguniq", so it can be a program name with args.
3849 set dummy msguniq; ac_word=$2
3850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3851 printf %s "checking for $ac_word... " >&6; }
3852 if test ${ac_cv_path_MSGUNIQ+y}
3853 then :
3854 printf %s "(cached) " >&6
3855 else case e in #(
3856 e) case $MSGUNIQ in
3857 [\\/]* | ?:[\\/]*)
3858 ac_cv_path_MSGUNIQ="$MSGUNIQ" # Let the user override the test with a path.
3859 ;;
3860 *)
3861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3862 for as_dir in $PATH
3863 do
3864 IFS=$as_save_IFS
3865 case $as_dir in #(((
3866 '') as_dir=./ ;;
3867 */) ;;
3868 *) as_dir=$as_dir/ ;;
3869 esac
3870 for ac_exec_ext in '' $ac_executable_extensions; do
3871 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3872 ac_cv_path_MSGUNIQ="$as_dir$ac_word$ac_exec_ext"
3873 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3874 break 2
3875 fi
3876 done
3877 done
3878 IFS=$as_save_IFS
3879
3880 ;;
3881 esac ;;
3882 esac
3883 fi
3884 MSGUNIQ=$ac_cv_path_MSGUNIQ
3885 if test -n "$MSGUNIQ"; then
3886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGUNIQ" >&5
3887 printf "%s\n" "$MSGUNIQ" >&6; }
3888 else
3889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3890 printf "%s\n" "no" >&6; }
3891 fi
3892
3893
3894 if test -z "$MSGUNIQ" && test "x$enable_i18n" = "xyes"; then
3895 missing_i18n_tools=${missing_i18n_tools:+"${missing_i18n_tools} "}msguniq
3896 fi
3897 MSGUNIQFLAGS=
3898
3899
3900
3901 # Extract the first word of "msgcat", so it can be a program name with args.
3902 set dummy msgcat; ac_word=$2
3903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3904 printf %s "checking for $ac_word... " >&6; }
3905 if test ${ac_cv_path_MSGCAT+y}
3906 then :
3907 printf %s "(cached) " >&6
3908 else case e in #(
3909 e) case $MSGCAT in
3910 [\\/]* | ?:[\\/]*)
3911 ac_cv_path_MSGCAT="$MSGCAT" # Let the user override the test with a path.
3912 ;;
3913 *)
3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 for as_dir in $PATH
3916 do
3917 IFS=$as_save_IFS
3918 case $as_dir in #(((
3919 '') as_dir=./ ;;
3920 */) ;;
3921 *) as_dir=$as_dir/ ;;
3922 esac
3923 for ac_exec_ext in '' $ac_executable_extensions; do
3924 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3925 ac_cv_path_MSGCAT="$as_dir$ac_word$ac_exec_ext"
3926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3927 break 2
3928 fi
3929 done
3930 done
3931 IFS=$as_save_IFS
3932
3933 ;;
3934 esac ;;
3935 esac
3936 fi
3937 MSGCAT=$ac_cv_path_MSGCAT
3938 if test -n "$MSGCAT"; then
3939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGCAT" >&5
3940 printf "%s\n" "$MSGCAT" >&6; }
3941 else
3942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3943 printf "%s\n" "no" >&6; }
3944 fi
3945
3946
3947 if test -z "$MSGCAT" && test "x$enable_i18n" = "xyes"; then
3948 missing_i18n_tools=${missing_i18n_tools:+"${missing_i18n_tools} "}msgcat
3949 fi
3950 MSGCATFLAGS='--width=$(MSGWIDTH)'
3951
3952
3953 MSGWIDTH=79
3954
3955
3956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if building the Windows installer" >&5
3957 printf %s "checking if building the Windows installer... " >&6; }
3958 # Check whether --enable-windows-installer was given.
3959 if test ${enable_windows_installer+y}
3960 then :
3961 enableval=$enable_windows_installer;
3962 else case e in #(
3963 e) enable_windows_installer=no ;;
3964 esac
3965 fi
3966
3967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_windows_installer" >&5
3968 printf "%s\n" "$enable_windows_installer" >&6; }
3969 if test "x$enable_windows_installer" != xno; then
3970 BUILD_WINDOWS_INSTALLER_TRUE=
3971 BUILD_WINDOWS_INSTALLER_FALSE='#'
3972 else
3973 BUILD_WINDOWS_INSTALLER_TRUE='#'
3974 BUILD_WINDOWS_INSTALLER_FALSE=
3975 fi
3976
3977
3978 # Not calling:
3979 # IT_PROG_INTLTOOL(intltool_required_version)
3980 # on purpose because it tries to init po/ and we don't want this as we
3981 # handle our main docs po files differently. So checking the tools we
3982 # need individually for po-windows-installer/.
3983
3984 if test "x$enable_windows_installer" != xno; then
3985 # Extract the first word of "intltool-merge", so it can be a program name with args.
3986 set dummy intltool-merge; ac_word=$2
3987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 printf %s "checking for $ac_word... " >&6; }
3989 if test ${ac_cv_path_INTLTOOL_MERGE+y}
3990 then :
3991 printf %s "(cached) " >&6
3992 else case e in #(
3993 e) case $INTLTOOL_MERGE in
3994 [\\/]* | ?:[\\/]*)
3995 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
3996 ;;
3997 *)
3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3999 for as_dir in $PATH
4000 do
4001 IFS=$as_save_IFS
4002 case $as_dir in #(((
4003 '') as_dir=./ ;;
4004 */) ;;
4005 *) as_dir=$as_dir/ ;;
4006 esac
4007 for ac_exec_ext in '' $ac_executable_extensions; do
4008 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4009 ac_cv_path_INTLTOOL_MERGE="$as_dir$ac_word$ac_exec_ext"
4010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4011 break 2
4012 fi
4013 done
4014 done
4015 IFS=$as_save_IFS
4016
4017 ;;
4018 esac ;;
4019 esac
4020 fi
4021 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4022 if test -n "$INTLTOOL_MERGE"; then
4023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4024 printf "%s\n" "$INTLTOOL_MERGE" >&6; }
4025 else
4026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4027 printf "%s\n" "no" >&6; }
4028 fi
4029
4030
4031 if test -z "$INTLTOOL_MERGE"; then
4032 as_fn_error $? "
4033 ** Couldn't find intltool-merge(8). It is necessary to build the
4034 ** language files for the Windows installer.
4035 ** Install the intltool or configure with --disable-windows-installer" "$LINENO" 5
4036 fi
4037 fi
4038
4039 # The below tools are only necessary to build `make update-po` in
4040 # po-windows-intaller/.
4041 # Extract the first word of "intltool-update", so it can be a program name with args.
4042 set dummy intltool-update; ac_word=$2
4043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4044 printf %s "checking for $ac_word... " >&6; }
4045 if test ${ac_cv_path_INTLTOOL_UPDATE+y}
4046 then :
4047 printf %s "(cached) " >&6
4048 else case e in #(
4049 e) case $INTLTOOL_UPDATE in
4050 [\\/]* | ?:[\\/]*)
4051 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4052 ;;
4053 *)
4054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4055 for as_dir in $PATH
4056 do
4057 IFS=$as_save_IFS
4058 case $as_dir in #(((
4059 '') as_dir=./ ;;
4060 */) ;;
4061 *) as_dir=$as_dir/ ;;
4062 esac
4063 for ac_exec_ext in '' $ac_executable_extensions; do
4064 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4065 ac_cv_path_INTLTOOL_UPDATE="$as_dir$ac_word$ac_exec_ext"
4066 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4067 break 2
4068 fi
4069 done
4070 done
4071 IFS=$as_save_IFS
4072
4073 ;;
4074 esac ;;
4075 esac
4076 fi
4077 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4078 if test -n "$INTLTOOL_UPDATE"; then
4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4080 printf "%s\n" "$INTLTOOL_UPDATE" >&6; }
4081 else
4082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4083 printf "%s\n" "no" >&6; }
4084 fi
4085
4086
4087 if test -z "$INTLTOOL_UPDATE" && test "x$enable_i18n" = "xyes"; then
4088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
4089 ** Couldn't find intltool-update(8). You will not be able to run
4090 ** \`make update-po\` in po-windows-intaller/." >&5
4091 printf "%s\n" "$as_me: WARNING:
4092 ** Couldn't find intltool-update(8). You will not be able to run
4093 ** \`make update-po\` in po-windows-intaller/." >&2;}
4094 fi
4095 # Extract the first word of "intltool-extract", so it can be a program name with args.
4096 set dummy intltool-extract; ac_word=$2
4097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4098 printf %s "checking for $ac_word... " >&6; }
4099 if test ${ac_cv_path_INTLTOOL_EXTRACT+y}
4100 then :
4101 printf %s "(cached) " >&6
4102 else case e in #(
4103 e) case $INTLTOOL_EXTRACT in
4104 [\\/]* | ?:[\\/]*)
4105 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4106 ;;
4107 *)
4108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4109 for as_dir in $PATH
4110 do
4111 IFS=$as_save_IFS
4112 case $as_dir in #(((
4113 '') as_dir=./ ;;
4114 */) ;;
4115 *) as_dir=$as_dir/ ;;
4116 esac
4117 for ac_exec_ext in '' $ac_executable_extensions; do
4118 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4119 ac_cv_path_INTLTOOL_EXTRACT="$as_dir$ac_word$ac_exec_ext"
4120 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4121 break 2
4122 fi
4123 done
4124 done
4125 IFS=$as_save_IFS
4126
4127 ;;
4128 esac ;;
4129 esac
4130 fi
4131 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4132 if test -n "$INTLTOOL_EXTRACT"; then
4133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4134 printf "%s\n" "$INTLTOOL_EXTRACT" >&6; }
4135 else
4136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4137 printf "%s\n" "no" >&6; }
4138 fi
4139
4140
4141 if test -z "$INTLTOOL_EXTRACT" && test "x$enable_i18n" = "xyes"; then
4142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
4143 ** Couldn't find intltool-extract(8). You will not be able to run
4144 ** \`make update-po\` in po-windows-intaller/." >&5
4145 printf "%s\n" "$as_me: WARNING:
4146 ** Couldn't find intltool-extract(8). You will not be able to run
4147 ** \`make update-po\` in po-windows-intaller/." >&2;}
4148 fi
4149
4150 # Optional: dot to create build system map
4151
4152 # Extract the first word of "dot", so it can be a program name with args.
4153 set dummy dot; ac_word=$2
4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4155 printf %s "checking for $ac_word... " >&6; }
4156 if test ${ac_cv_path_DOT+y}
4157 then :
4158 printf %s "(cached) " >&6
4159 else case e in #(
4160 e) case $DOT in
4161 [\\/]* | ?:[\\/]*)
4162 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
4163 ;;
4164 *)
4165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4166 for as_dir in $PATH
4167 do
4168 IFS=$as_save_IFS
4169 case $as_dir in #(((
4170 '') as_dir=./ ;;
4171 */) ;;
4172 *) as_dir=$as_dir/ ;;
4173 esac
4174 for ac_exec_ext in '' $ac_executable_extensions; do
4175 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4176 ac_cv_path_DOT="$as_dir$ac_word$ac_exec_ext"
4177 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4178 break 2
4179 fi
4180 done
4181 done
4182 IFS=$as_save_IFS
4183
4184 ;;
4185 esac ;;
4186 esac
4187 fi
4188 DOT=$ac_cv_path_DOT
4189 if test -n "$DOT"; then
4190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
4191 printf "%s\n" "$DOT" >&6; }
4192 else
4193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4194 printf "%s\n" "no" >&6; }
4195 fi
4196
4197
4198 #if test -z "$DOT"; then
4199 # AC_MSG_NOTICE([cannot find dot(1), creating build system PNG disabled])
4200 #fi
4201
4202 if test -n "$DOT"; then
4203 HAVE_DOT_TRUE=
4204 HAVE_DOT_FALSE='#'
4205 else
4206 HAVE_DOT_TRUE='#'
4207 HAVE_DOT_FALSE=
4208 fi
4209
4210
4211
4212 #test -z "$missing_i18n_tools" && HAVE_I18N_TOOLS=yes || HAVE_I18N_TOOLS=no
4213 #AC_SUBST(HAVE_I18N_TOOLS)
4214 if test -z "$missing_i18n_tools"; then
4215 HAVE_I18N_TOOLS_TRUE=
4216 HAVE_I18N_TOOLS_FALSE='#'
4217 else
4218 HAVE_I18N_TOOLS_TRUE='#'
4219 HAVE_I18N_TOOLS_FALSE=
4220 fi
4221
4222
4223 test -z "$missing_i18n_tools" || test "$missing_i18n_tools" = "xml2po" &&
4224 HAVE_GETTEXT_TOOLS=yes || HAVE_GETTEXT_TOOLS=no
4225 if test "$HAVE_GETTEXT_TOOLS" = "yes"; then
4226 HAVE_GETTEXT_TOOLS_TRUE=
4227 HAVE_GETTEXT_TOOLS_FALSE='#'
4228 else
4229 HAVE_GETTEXT_TOOLS_TRUE='#'
4230 HAVE_GETTEXT_TOOLS_FALSE=
4231 fi
4232
4233 #AC_SUBST(HAVE_GETTEXT_TOOLS)
4234
4235
4236 # Optionally allow xsltproc to access DTDs over the network
4237
4238 # Check whether --enable-network was given.
4239 if test ${enable_network+y}
4240 then :
4241 enableval=$enable_network;
4242 fi
4243
4244
4245 if test "x$enable_network" != "xyes"; then
4246 XSLTFLAGS="$XSLTFLAGS --nonet"
4247 fi
4248
4249
4250
4251
4252 # Optionally allow to build a language selector. A HTML menu is
4253 # rendered based on ALL_LINGUAS below the header navigation in the HTML
4254 # output.
4255
4256 # Check whether --enable-languageMenu was given.
4257 if test ${enable_languageMenu+y}
4258 then :
4259 enableval=$enable_languageMenu;
4260 fi
4261
4262
4263 if test "x$enable_languageMenu" = "xyes"; then
4264 XSLTFLAGS="$XSLTFLAGS --stringparam gimp.help.languageselector 1"
4265 fi
4266
4267
4268
4269
4270 # Optionally search for pngnq and pngcrush, which are helpful for
4271 # creating distributions
4272
4273 # Extract the first word of "pngnq", so it can be a program name with args.
4274 set dummy pngnq; ac_word=$2
4275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4276 printf %s "checking for $ac_word... " >&6; }
4277 if test ${ac_cv_path_PNGNQ+y}
4278 then :
4279 printf %s "(cached) " >&6
4280 else case e in #(
4281 e) case $PNGNQ in
4282 [\\/]* | ?:[\\/]*)
4283 ac_cv_path_PNGNQ="$PNGNQ" # Let the user override the test with a path.
4284 ;;
4285 *)
4286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4287 for as_dir in $PATH
4288 do
4289 IFS=$as_save_IFS
4290 case $as_dir in #(((
4291 '') as_dir=./ ;;
4292 */) ;;
4293 *) as_dir=$as_dir/ ;;
4294 esac
4295 for ac_exec_ext in '' $ac_executable_extensions; do
4296 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4297 ac_cv_path_PNGNQ="$as_dir$ac_word$ac_exec_ext"
4298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4299 break 2
4300 fi
4301 done
4302 done
4303 IFS=$as_save_IFS
4304
4305 ;;
4306 esac ;;
4307 esac
4308 fi
4309 PNGNQ=$ac_cv_path_PNGNQ
4310 if test -n "$PNGNQ"; then
4311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PNGNQ" >&5
4312 printf "%s\n" "$PNGNQ" >&6; }
4313 else
4314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4315 printf "%s\n" "no" >&6; }
4316 fi
4317
4318
4319 if test -z "$PNGNQ"; then
4320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find pngnq,
4321 images will not be optimized during distribution creation" >&5
4322 printf "%s\n" "$as_me: WARNING: cannot find pngnq,
4323 images will not be optimized during distribution creation" >&2;}
4324 fi
4325
4326
4327
4328 # Extract the first word of "pngcrush", so it can be a program name with args.
4329 set dummy pngcrush; ac_word=$2
4330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4331 printf %s "checking for $ac_word... " >&6; }
4332 if test ${ac_cv_path_PNGCRUSH+y}
4333 then :
4334 printf %s "(cached) " >&6
4335 else case e in #(
4336 e) case $PNGCRUSH in
4337 [\\/]* | ?:[\\/]*)
4338 ac_cv_path_PNGCRUSH="$PNGCRUSH" # Let the user override the test with a path.
4339 ;;
4340 *)
4341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4342 for as_dir in $PATH
4343 do
4344 IFS=$as_save_IFS
4345 case $as_dir in #(((
4346 '') as_dir=./ ;;
4347 */) ;;
4348 *) as_dir=$as_dir/ ;;
4349 esac
4350 for ac_exec_ext in '' $ac_executable_extensions; do
4351 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4352 ac_cv_path_PNGCRUSH="$as_dir$ac_word$ac_exec_ext"
4353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4354 break 2
4355 fi
4356 done
4357 done
4358 IFS=$as_save_IFS
4359
4360 ;;
4361 esac ;;
4362 esac
4363 fi
4364 PNGCRUSH=$ac_cv_path_PNGCRUSH
4365 if test -n "$PNGCRUSH"; then
4366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PNGCRUSH" >&5
4367 printf "%s\n" "$PNGCRUSH" >&6; }
4368 else
4369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 printf "%s\n" "no" >&6; }
4371 fi
4372
4373
4374 if test -z "$PNGCRUSH"; then
4375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find pngcrush,
4376 images will not be optimized during distribution creation" >&5
4377 printf "%s\n" "$as_me: WARNING: cannot find pngcrush,
4378 images will not be optimized during distribution creation" >&2;}
4379 fi
4380
4381 if test -n "$PNGNQ" && test -n "$PNGCRUSH"; then
4382 HAVE_PNGOPTIMIZERS_TRUE=
4383 HAVE_PNGOPTIMIZERS_FALSE='#'
4384 else
4385 HAVE_PNGOPTIMIZERS_TRUE='#'
4386 HAVE_PNGOPTIMIZERS_FALSE=
4387 fi
4388
4389
4390
4391 # Default to the correct way of identifying stylesheets.
4392 # People need an XML catalog to resolve this to a local file.
4393
4394 STYLEBASE='http://docbook.sourceforge.net/release/xsl/current'
4395
4396
4397 # Allow to explicitly specify the stylesheet location
4398 # in case the XML catalog doesn't exist or is broken.
4399
4400
4401 # Check whether --with-xsl was given.
4402 if test ${with_xsl+y}
4403 then :
4404 withval=$with_xsl;
4405 fi
4406
4407
4408 if test "x$with_xsl" != "x"; then
4409 STYLEBASE="$with_xsl"
4410 as_ac_File=`printf "%s\n" "ac_cv_file_$STYLEBASE/xhtml/docbook.xsl" | sed "$as_sed_sh"`
4411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $STYLEBASE/xhtml/docbook.xsl" >&5
4412 printf %s "checking for $STYLEBASE/xhtml/docbook.xsl... " >&6; }
4413 if eval test \${$as_ac_File+y}
4414 then :
4415 printf %s "(cached) " >&6
4416 else case e in #(
4417 e) test "$cross_compiling" = yes &&
4418 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
4419 if test -r "$STYLEBASE/xhtml/docbook.xsl"; then
4420 eval "$as_ac_File=yes"
4421 else
4422 eval "$as_ac_File=no"
4423 fi ;;
4424 esac
4425 fi
4426 eval ac_res=\$$as_ac_File
4427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4428 printf "%s\n" "$ac_res" >&6; }
4429 if eval test \"x\$"$as_ac_File"\" = x"yes"
4430 then :
4431
4432 else case e in #(
4433 e) as_fn_error $? "** Couldn't find docbook.xsl in $STYLEBASE/xhtml" "$LINENO" 5 ;;
4434 esac
4435 fi
4436
4437 fi
4438
4439
4440
4441
4442 # We need the GIMP data directory to install the help files.
4443
4444
4445 # Check whether --with-gimp was given.
4446 if test ${with_gimp+y}
4447 then :
4448 withval=$with_gimp;
4449 fi
4450
4451
4452 if test "x$with_gimp" != "xno"; then
4453 # Note: AC_MSG_ERROR() must be bracket-quoted, or else errors result
4454
4455
4456
4457
4458
4459
4460
4461 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4462 if test -n "$ac_tool_prefix"; then
4463 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4464 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4466 printf %s "checking for $ac_word... " >&6; }
4467 if test ${ac_cv_path_PKG_CONFIG+y}
4468 then :
4469 printf %s "(cached) " >&6
4470 else case e in #(
4471 e) case $PKG_CONFIG in
4472 [\\/]* | ?:[\\/]*)
4473 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4474 ;;
4475 *)
4476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4477 for as_dir in $PATH
4478 do
4479 IFS=$as_save_IFS
4480 case $as_dir in #(((
4481 '') as_dir=./ ;;
4482 */) ;;
4483 *) as_dir=$as_dir/ ;;
4484 esac
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4487 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4489 break 2
4490 fi
4491 done
4492 done
4493 IFS=$as_save_IFS
4494
4495 ;;
4496 esac ;;
4497 esac
4498 fi
4499 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4500 if test -n "$PKG_CONFIG"; then
4501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4502 printf "%s\n" "$PKG_CONFIG" >&6; }
4503 else
4504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4505 printf "%s\n" "no" >&6; }
4506 fi
4507
4508
4509 fi
4510 if test -z "$ac_cv_path_PKG_CONFIG"; then
4511 ac_pt_PKG_CONFIG=$PKG_CONFIG
4512 # Extract the first word of "pkg-config", so it can be a program name with args.
4513 set dummy pkg-config; ac_word=$2
4514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4515 printf %s "checking for $ac_word... " >&6; }
4516 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
4517 then :
4518 printf %s "(cached) " >&6
4519 else case e in #(
4520 e) case $ac_pt_PKG_CONFIG in
4521 [\\/]* | ?:[\\/]*)
4522 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4523 ;;
4524 *)
4525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4526 for as_dir in $PATH
4527 do
4528 IFS=$as_save_IFS
4529 case $as_dir in #(((
4530 '') as_dir=./ ;;
4531 */) ;;
4532 *) as_dir=$as_dir/ ;;
4533 esac
4534 for ac_exec_ext in '' $ac_executable_extensions; do
4535 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4536 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
4537 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4538 break 2
4539 fi
4540 done
4541 done
4542 IFS=$as_save_IFS
4543
4544 ;;
4545 esac ;;
4546 esac
4547 fi
4548 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4549 if test -n "$ac_pt_PKG_CONFIG"; then
4550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4551 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
4552 else
4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4554 printf "%s\n" "no" >&6; }
4555 fi
4556
4557 if test "x$ac_pt_PKG_CONFIG" = x; then
4558 PKG_CONFIG=""
4559 else
4560 case $cross_compiling:$ac_tool_warned in
4561 yes:)
4562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4563 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4564 ac_tool_warned=yes ;;
4565 esac
4566 PKG_CONFIG=$ac_pt_PKG_CONFIG
4567 fi
4568 else
4569 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4570 fi
4571
4572 fi
4573 if test -n "$PKG_CONFIG"; then
4574 _pkg_min_version=0.9.0
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4576 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4577 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4579 printf "%s\n" "yes" >&6; }
4580 else
4581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4582 printf "%s\n" "no" >&6; }
4583 PKG_CONFIG=""
4584 fi
4585 fi
4586
4587 pkg_failed=no
4588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gimp-3.0" >&5
4589 printf %s "checking for gimp-3.0... " >&6; }
4590
4591 if test -n "$GIMP_CFLAGS"; then
4592 pkg_cv_GIMP_CFLAGS="$GIMP_CFLAGS"
4593 elif test -n "$PKG_CONFIG"; then
4594 if test -n "$PKG_CONFIG" && \
4595 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gimp-3.0\""; } >&5
4596 ($PKG_CONFIG --exists --print-errors "gimp-3.0") 2>&5
4597 ac_status=$?
4598 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4599 test $ac_status = 0; }; then
4600 pkg_cv_GIMP_CFLAGS=`$PKG_CONFIG --cflags "gimp-3.0" 2>/dev/null`
4601 test "x$?" != "x0" && pkg_failed=yes
4602 else
4603 pkg_failed=yes
4604 fi
4605 else
4606 pkg_failed=untried
4607 fi
4608 if test -n "$GIMP_LIBS"; then
4609 pkg_cv_GIMP_LIBS="$GIMP_LIBS"
4610 elif test -n "$PKG_CONFIG"; then
4611 if test -n "$PKG_CONFIG" && \
4612 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gimp-3.0\""; } >&5
4613 ($PKG_CONFIG --exists --print-errors "gimp-3.0") 2>&5
4614 ac_status=$?
4615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4616 test $ac_status = 0; }; then
4617 pkg_cv_GIMP_LIBS=`$PKG_CONFIG --libs "gimp-3.0" 2>/dev/null`
4618 test "x$?" != "x0" && pkg_failed=yes
4619 else
4620 pkg_failed=yes
4621 fi
4622 else
4623 pkg_failed=untried
4624 fi
4625
4626
4627
4628 if test $pkg_failed = yes; then
4629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630 printf "%s\n" "no" >&6; }
4631
4632 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4633 _pkg_short_errors_supported=yes
4634 else
4635 _pkg_short_errors_supported=no
4636 fi
4637 if test $_pkg_short_errors_supported = yes; then
4638 GIMP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gimp-3.0" 2>&1`
4639 else
4640 GIMP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gimp-3.0" 2>&1`
4641 fi
4642 # Put the nasty error message in config.log where it belongs
4643 echo "$GIMP_PKG_ERRORS" >&5
4644
4645 as_fn_error $? "
4646 ** Couldn't find a GIMP-3.0 installation. If you want to skip this check and
4647 ** install the help files to the configured prefix, use the --without-gimp
4648 ** configure option. Note that GIMP will then only find the help files if it
4649 ** is installed in the same prefix. See the file 'INSTALL' for more help." "$LINENO" 5
4650 elif test $pkg_failed = untried; then
4651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4652 printf "%s\n" "no" >&6; }
4653 as_fn_error $? "
4654 ** Couldn't find a GIMP-3.0 installation. If you want to skip this check and
4655 ** install the help files to the configured prefix, use the --without-gimp
4656 ** configure option. Note that GIMP will then only find the help files if it
4657 ** is installed in the same prefix. See the file 'INSTALL' for more help." "$LINENO" 5
4658 else
4659 GIMP_CFLAGS=$pkg_cv_GIMP_CFLAGS
4660 GIMP_LIBS=$pkg_cv_GIMP_LIBS
4661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4662 printf "%s\n" "yes" >&6; }
4663
4664 fi
4665
4666 gimpdatadir=`$PKG_CONFIG --variable=gimpdatadir gimp-3.0`
4667 else
4668 gimpdatadir=`pkg-config --variable=gimpdatadir gimp-3.0` ||
4669 gimpdatadir='$(datadir)/gimp/3.0'
4670 fi
4671
4672
4673
4674
4675 if test -n "$missing_i18n_tools" && test "$enable_i18n" = "yes"; then
4676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
4677 ** Couldn't find some tools needed to build translated help files.
4678 ** You will be able to build the English manual, but no translations." >&5
4679 printf "%s\n" "$as_me: WARNING:
4680 ** Couldn't find some tools needed to build translated help files.
4681 ** You will be able to build the English manual, but no translations." >&2;}
4682 ALL_LINGUAS=en
4683 fi
4684
4685
4686 ac_config_files="$ac_config_files build/Makefile build/windows/Makefile build/windows/installer/Makefile build/windows/installer/lang/Makefile m4macros/Makefile Makefile po-windows-installer/Makefile.in quickreference/Makefile stylesheets/plainhtml.xsl stylesheets/htmlalternate.xsl"
4687
4688
4689 # By default, autoconf will create only po/Makefile.
4690 # This code is used to create the POTFILES and Makefile for all
4691 # additional gettext catalogs.
4692
4693
4694
4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Generating POTFILES and Makefile for po-windows-installer" >&5
4696 printf "%s\n" "$as_me: Generating POTFILES and Makefile for po-windows-installer" >&6;}
4697
4698 ac_config_commands="$ac_config_commands po-windows-installer/stamp-it"
4699
4700
4701
4702 cat >confcache <<\_ACEOF
4703 # This file is a shell script that caches the results of configure
4704 # tests run on this system so they can be shared between configure
4705 # scripts and configure runs, see configure's option --config-cache.
4706 # It is not useful on other systems. If it contains results you don't
4707 # want to keep, you may remove or edit it.
4708 #
4709 # config.status only pays attention to the cache file if you give it
4710 # the --recheck option to rerun configure.
4711 #
4712 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
4713 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
4714 # following values.
4715
4716 _ACEOF
4717
4718 # The following way of writing the cache mishandles newlines in values,
4719 # but we know of no workaround that is simple, portable, and efficient.
4720 # So, we kill variables containing newlines.
4721 # Ultrix sh set writes to stderr and can't be redirected directly,
4722 # and sets the high bit in the cache file unless we assign to the vars.
4723 (
4724 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4725 eval ac_val=\$$ac_var
4726 case $ac_val in #(
4727 *${as_nl}*)
4728 case $ac_var in #(
4729 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4730 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4731 esac
4732 case $ac_var in #(
4733 _ | IFS | as_nl) ;; #(
4734 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4735 *) { eval $ac_var=; unset $ac_var;} ;;
4736 esac ;;
4737 esac
4738 done
4739
4740 (set) 2>&1 |
4741 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4742 *${as_nl}ac_space=\ *)
4743 # 'set' does not quote correctly, so add quotes: double-quote
4744 # substitution turns \\\\ into \\, and sed turns \\ into \.
4745 sed -n \
4746 "s/'/'\\\\''/g;
4747 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4748 ;; #(
4749 *)
4750 # 'set' quotes correctly as required by POSIX, so do not add quotes.
4751 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4752 ;;
4753 esac |
4754 sort
4755 ) |
4756 sed '
4757 /^ac_cv_env_/b end
4758 t clear
4759 :clear
4760 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
4761 t end
4762 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4763 :end' >>confcache
4764 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4765 if test -w "$cache_file"; then
4766 if test "x$cache_file" != "x/dev/null"; then
4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4768 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
4769 if test ! -f "$cache_file" || test -h "$cache_file"; then
4770 cat confcache >"$cache_file"
4771 else
4772 case $cache_file in #(
4773 */* | ?:*)
4774 mv -f confcache "$cache_file"$$ &&
4775 mv -f "$cache_file"$$ "$cache_file" ;; #(
4776 *)
4777 mv -f confcache "$cache_file" ;;
4778 esac
4779 fi
4780 fi
4781 else
4782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4783 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
4784 fi
4785 fi
4786 rm -f confcache
4787
4788 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4789 # Let make expand exec_prefix.
4790 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4791
4792 # Transform confdefs.h into DEFS.
4793 # Protect against shell expansion while executing Makefile rules.
4794 # Protect against Makefile macro expansion.
4795 #
4796 # If the first sed substitution is executed (which looks for macros that
4797 # take arguments), then branch to the quote section. Otherwise,
4798 # look for a macro that doesn't take arguments.
4799 ac_script='
4800 :mline
4801 /\\$/{
4802 N
4803 s,\\\n,,
4804 b mline
4805 }
4806 t clear
4807 :clear
4808 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4809 t quote
4810 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4811 t quote
4812 b any
4813 :quote
4814 s/[][ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4815 s/\$/$$/g
4816 H
4817 :any
4818 ${
4819 g
4820 s/^\n//
4821 s/\n/ /g
4822 p
4823 }
4824 '
4825 DEFS=`sed -n "$ac_script" confdefs.h`
4826
4827
4828 ac_libobjs=
4829 ac_ltlibobjs=
4830 U=
4831 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4832 # 1. Remove the extension, and $U if already installed.
4833 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4834 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
4835 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4836 # will be set to the directory where LIBOBJS objects are built.
4837 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4838 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4839 done
4840 LIBOBJS=$ac_libobjs
4841
4842 LTLIBOBJS=$ac_ltlibobjs
4843
4844
4845 if test -z "${CYGWIN_TRUE}" && test -z "${CYGWIN_FALSE}"; then
4846 as_fn_error $? "conditional \"CYGWIN\" was never defined.
4847 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4848 fi
4849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4850 printf %s "checking that generated files are newer than configure... " >&6; }
4851 if test -n "$am_sleep_pid"; then
4852 # Hide warnings about reused PIDs.
4853 wait $am_sleep_pid 2>/dev/null
4854 fi
4855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
4856 printf "%s\n" "done" >&6; }
4857 case $enable_silent_rules in # (((
4858 yes) AM_DEFAULT_VERBOSITY=0;;
4859 no) AM_DEFAULT_VERBOSITY=1;;
4860 esac
4861 if test $am_cv_make_support_nested_variables = yes; then
4862 AM_V='$(V)'
4863 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4864 else
4865 AM_V=$AM_DEFAULT_VERBOSITY
4866 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4867 fi
4868
4869
4870 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4871 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
4872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4873 fi
4874 if test -z "${HAVE_XMLLINT_TRUE}" && test -z "${HAVE_XMLLINT_FALSE}"; then
4875 as_fn_error $? "conditional \"HAVE_XMLLINT\" was never defined.
4876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4877 fi
4878 if test -z "${HAVE_DBLATEX_TRUE}" && test -z "${HAVE_DBLATEX_FALSE}"; then
4879 as_fn_error $? "conditional \"HAVE_DBLATEX\" was never defined.
4880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4881 fi
4882 if test -z "${HAVE_SVG2PDF_TRUE}" && test -z "${HAVE_SVG2PDF_FALSE}"; then
4883 as_fn_error $? "conditional \"HAVE_SVG2PDF\" was never defined.
4884 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4885 fi
4886 if test -z "${BUILD_WINDOWS_INSTALLER_TRUE}" && test -z "${BUILD_WINDOWS_INSTALLER_FALSE}"; then
4887 as_fn_error $? "conditional \"BUILD_WINDOWS_INSTALLER\" was never defined.
4888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4889 fi
4890 if test -z "${HAVE_DOT_TRUE}" && test -z "${HAVE_DOT_FALSE}"; then
4891 as_fn_error $? "conditional \"HAVE_DOT\" was never defined.
4892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4893 fi
4894 if test -z "${HAVE_I18N_TOOLS_TRUE}" && test -z "${HAVE_I18N_TOOLS_FALSE}"; then
4895 as_fn_error $? "conditional \"HAVE_I18N_TOOLS\" was never defined.
4896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4897 fi
4898 if test -z "${HAVE_GETTEXT_TOOLS_TRUE}" && test -z "${HAVE_GETTEXT_TOOLS_FALSE}"; then
4899 as_fn_error $? "conditional \"HAVE_GETTEXT_TOOLS\" was never defined.
4900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4901 fi
4902 if test -z "${HAVE_PNGOPTIMIZERS_TRUE}" && test -z "${HAVE_PNGOPTIMIZERS_FALSE}"; then
4903 as_fn_error $? "conditional \"HAVE_PNGOPTIMIZERS\" was never defined.
4904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4905 fi
4906
4907 : "${CONFIG_STATUS=./config.status}"
4908 ac_write_fail=0
4909 ac_clean_files_save=$ac_clean_files
4910 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4912 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
4913 as_write_fail=0
4914 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4915 #! $SHELL
4916 # Generated by $as_me.
4917 # Run this file to recreate the current configuration.
4918 # Compiler output produced by configure, useful for debugging
4919 # configure, is in config.log if it exists.
4920
4921 debug=false
4922 ac_cs_recheck=false
4923 ac_cs_silent=false
4924
4925 SHELL=\${CONFIG_SHELL-$SHELL}
4926 export SHELL
4927 _ASEOF
4928 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4929 ## -------------------- ##
4930 ## M4sh Initialization. ##
4931 ## -------------------- ##
4932
4933 # Be more Bourne compatible
4934 DUALCASE=1; export DUALCASE # for MKS sh
4935 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
4936 then :
4937 emulate sh
4938 NULLCMD=:
4939 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4940 # is contrary to our usage. Disable this feature.
4941 alias -g '${1+"$@"}'='"$@"'
4942 setopt NO_GLOB_SUBST
4943 else case e in #(
4944 e) case `(set -o) 2>/dev/null` in #(
4945 *posix*) :
4946 set -o posix ;; #(
4947 *) :
4948 ;;
4949 esac ;;
4950 esac
4951 fi
4952
4953
4954
4955 # Reset variables that may have inherited troublesome values from
4956 # the environment.
4957
4958 # IFS needs to be set, to space, tab, and newline, in precisely that order.
4959 # (If _AS_PATH_WALK were called with IFS unset, it would have the
4960 # side effect of setting IFS to empty, thus disabling word splitting.)
4961 # Quoting is to prevent editors from complaining about space-tab.
4962 as_nl='
4963 '
4964 export as_nl
4965 IFS=" "" $as_nl"
4966
4967 PS1='$ '
4968 PS2='> '
4969 PS4='+ '
4970
4971 # Ensure predictable behavior from utilities with locale-dependent output.
4972 LC_ALL=C
4973 export LC_ALL
4974 LANGUAGE=C
4975 export LANGUAGE
4976
4977 # We cannot yet rely on "unset" to work, but we need these variables
4978 # to be unset--not just set to an empty or harmless value--now, to
4979 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
4980 # also avoids known problems related to "unset" and subshell syntax
4981 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
4982 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
4983 do eval test \${$as_var+y} \
4984 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4985 done
4986
4987 # Ensure that fds 0, 1, and 2 are open.
4988 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
4989 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
4990 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
4991
4992 # The user is always right.
4993 if ${PATH_SEPARATOR+false} :; then
4994 PATH_SEPARATOR=:
4995 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4996 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4997 PATH_SEPARATOR=';'
4998 }
4999 fi
5000
5001
5002 # Find who we are. Look in the path if we contain no directory separator.
5003 as_myself=
5004 case $0 in #((
5005 *[\\/]* ) as_myself=$0 ;;
5006 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 for as_dir in $PATH
5008 do
5009 IFS=$as_save_IFS
5010 case $as_dir in #(((
5011 '') as_dir=./ ;;
5012 */) ;;
5013 *) as_dir=$as_dir/ ;;
5014 esac
5015 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
5016 done
5017 IFS=$as_save_IFS
5018
5019 ;;
5020 esac
5021 # We did not find ourselves, most probably we were run as 'sh COMMAND'
5022 # in which case we are not to be found in the path.
5023 if test "x$as_myself" = x; then
5024 as_myself=$0
5025 fi
5026 if test ! -f "$as_myself"; then
5027 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5028 exit 1
5029 fi
5030
5031
5032
5033 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5034 # ----------------------------------------
5035 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5036 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5037 # script with STATUS, using 1 if that was 0.
5038 as_fn_error ()
5039 {
5040 as_status=$1; test $as_status -eq 0 && as_status=1
5041 if test "$4"; then
5042 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5043 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5044 fi
5045 printf "%s\n" "$as_me: error: $2" >&2
5046 as_fn_exit $as_status
5047 } # as_fn_error
5048
5049
5050 # as_fn_set_status STATUS
5051 # -----------------------
5052 # Set $? to STATUS, without forking.
5053 as_fn_set_status ()
5054 {
5055 return $1
5056 } # as_fn_set_status
5057
5058 # as_fn_exit STATUS
5059 # -----------------
5060 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5061 as_fn_exit ()
5062 {
5063 set +e
5064 as_fn_set_status $1
5065 exit $1
5066 } # as_fn_exit
5067
5068 # as_fn_unset VAR
5069 # ---------------
5070 # Portably unset VAR.
5071 as_fn_unset ()
5072 {
5073 { eval $1=; unset $1;}
5074 }
5075 as_unset=as_fn_unset
5076
5077 # as_fn_append VAR VALUE
5078 # ----------------------
5079 # Append the text in VALUE to the end of the definition contained in VAR. Take
5080 # advantage of any shell optimizations that allow amortized linear growth over
5081 # repeated appends, instead of the typical quadratic growth present in naive
5082 # implementations.
5083 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
5084 then :
5085 eval 'as_fn_append ()
5086 {
5087 eval $1+=\$2
5088 }'
5089 else case e in #(
5090 e) as_fn_append ()
5091 {
5092 eval $1=\$$1\$2
5093 } ;;
5094 esac
5095 fi # as_fn_append
5096
5097 # as_fn_arith ARG...
5098 # ------------------
5099 # Perform arithmetic evaluation on the ARGs, and store the result in the
5100 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5101 # must be portable across $(()) and expr.
5102 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
5103 then :
5104 eval 'as_fn_arith ()
5105 {
5106 as_val=$(( $* ))
5107 }'
5108 else case e in #(
5109 e) as_fn_arith ()
5110 {
5111 as_val=`expr "$@" || test $? -eq 1`
5112 } ;;
5113 esac
5114 fi # as_fn_arith
5115
5116
5117 if expr a : '\(a\)' >/dev/null 2>&1 &&
5118 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5119 as_expr=expr
5120 else
5121 as_expr=false
5122 fi
5123
5124 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5125 as_basename=basename
5126 else
5127 as_basename=false
5128 fi
5129
5130 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5131 as_dirname=dirname
5132 else
5133 as_dirname=false
5134 fi
5135
5136 as_me=`$as_basename -- "$0" ||
5137 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5138 X"$0" : 'X\(//\)$' \| \
5139 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5140 printf "%s\n" X/"$0" |
5141 sed '/^.*\/\([^/][^/]*\)\/*$/{
5142 s//\1/
5143 q
5144 }
5145 /^X\/\(\/\/\)$/{
5146 s//\1/
5147 q
5148 }
5149 /^X\/\(\/\).*/{
5150 s//\1/
5151 q
5152 }
5153 s/.*/./; q'`
5154
5155 # Avoid depending upon Character Ranges.
5156 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5157 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5158 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5159 as_cr_digits='0123456789'
5160 as_cr_alnum=$as_cr_Letters$as_cr_digits
5161
5162
5163 # Determine whether it's possible to make 'echo' print without a newline.
5164 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5165 # for compatibility with existing Makefiles.
5166 ECHO_C= ECHO_N= ECHO_T=
5167 case `echo -n x` in #(((((
5168 -n*)
5169 case `echo 'xy\c'` in
5170 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5171 xy) ECHO_C='\c';;
5172 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5173 ECHO_T=' ';;
5174 esac;;
5175 *)
5176 ECHO_N='-n';;
5177 esac
5178
5179 # For backward compatibility with old third-party macros, we provide
5180 # the shell variables $as_echo and $as_echo_n. New code should use
5181 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5182 as_echo='printf %s\n'
5183 as_echo_n='printf %s'
5184
5185 rm -f conf$$ conf$$.exe conf$$.file
5186 if test -d conf$$.dir; then
5187 rm -f conf$$.dir/conf$$.file
5188 else
5189 rm -f conf$$.dir
5190 mkdir conf$$.dir 2>/dev/null
5191 fi
5192 if (echo >conf$$.file) 2>/dev/null; then
5193 if ln -s conf$$.file conf$$ 2>/dev/null; then
5194 as_ln_s='ln -s'
5195 # ... but there are two gotchas:
5196 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
5197 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
5198 # In both cases, we have to default to 'cp -pR'.
5199 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5200 as_ln_s='cp -pR'
5201 elif ln conf$$.file conf$$ 2>/dev/null; then
5202 as_ln_s=ln
5203 else
5204 as_ln_s='cp -pR'
5205 fi
5206 else
5207 as_ln_s='cp -pR'
5208 fi
5209 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5210 rmdir conf$$.dir 2>/dev/null
5211
5212
5213 # as_fn_mkdir_p
5214 # -------------
5215 # Create "$as_dir" as a directory, including parents if necessary.
5216 as_fn_mkdir_p ()
5217 {
5218
5219 case $as_dir in #(
5220 -*) as_dir=./$as_dir;;
5221 esac
5222 test -d "$as_dir" || eval $as_mkdir_p || {
5223 as_dirs=
5224 while :; do
5225 case $as_dir in #(
5226 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5227 *) as_qdir=$as_dir;;
5228 esac
5229 as_dirs="'$as_qdir' $as_dirs"
5230 as_dir=`$as_dirname -- "$as_dir" ||
5231 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5232 X"$as_dir" : 'X\(//\)[^/]' \| \
5233 X"$as_dir" : 'X\(//\)$' \| \
5234 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5235 printf "%s\n" X"$as_dir" |
5236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5237 s//\1/
5238 q
5239 }
5240 /^X\(\/\/\)[^/].*/{
5241 s//\1/
5242 q
5243 }
5244 /^X\(\/\/\)$/{
5245 s//\1/
5246 q
5247 }
5248 /^X\(\/\).*/{
5249 s//\1/
5250 q
5251 }
5252 s/.*/./; q'`
5253 test -d "$as_dir" && break
5254 done
5255 test -z "$as_dirs" || eval "mkdir $as_dirs"
5256 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5257
5258
5259 } # as_fn_mkdir_p
5260 if mkdir -p . 2>/dev/null; then
5261 as_mkdir_p='mkdir -p "$as_dir"'
5262 else
5263 test -d ./-p && rmdir ./-p
5264 as_mkdir_p=false
5265 fi
5266
5267
5268 # as_fn_executable_p FILE
5269 # -----------------------
5270 # Test if FILE is an executable regular file.
5271 as_fn_executable_p ()
5272 {
5273 test -f "$1" && test -x "$1"
5274 } # as_fn_executable_p
5275 as_test_x='test -x'
5276 as_executable_p=as_fn_executable_p
5277
5278 # Sed expression to map a string onto a valid CPP name.
5279 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5280 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
5281
5282 # Sed expression to map a string onto a valid variable name.
5283 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5284 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
5285
5286
5287 exec 6>&1
5288 ## ----------------------------------- ##
5289 ## Main body of $CONFIG_STATUS script. ##
5290 ## ----------------------------------- ##
5291 _ASEOF
5292 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5293
5294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5295 # Save the log message, to keep $0 and so on meaningful, and to
5296 # report actual input values of CONFIG_FILES etc. instead of their
5297 # values after options handling.
5298 ac_log="
5299 This file was extended by GIMP-Help $as_me 3.0.2, which was
5300 generated by GNU Autoconf 2.72. Invocation command line was
5301
5302 CONFIG_FILES = $CONFIG_FILES
5303 CONFIG_HEADERS = $CONFIG_HEADERS
5304 CONFIG_LINKS = $CONFIG_LINKS
5305 CONFIG_COMMANDS = $CONFIG_COMMANDS
5306 $ $0 $@
5307
5308 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5309 "
5310
5311 _ACEOF
5312
5313 case $ac_config_files in *"
5314 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5315 esac
5316
5317
5318
5319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5320 # Files that config.status was made for.
5321 config_files="$ac_config_files"
5322 config_commands="$ac_config_commands"
5323
5324 _ACEOF
5325
5326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5327 ac_cs_usage="\
5328 '$as_me' instantiates files and other configuration actions
5329 from templates according to the current configuration. Unless the files
5330 and actions are specified as TAGs, all are instantiated by default.
5331
5332 Usage: $0 [OPTION]... [TAG]...
5333
5334 -h, --help print this help, then exit
5335 -V, --version print version number and configuration settings, then exit
5336 --config print configuration, then exit
5337 -q, --quiet, --silent
5338 do not print progress messages
5339 -d, --debug don't remove temporary files
5340 --recheck update $as_me by reconfiguring in the same conditions
5341 --file=FILE[:TEMPLATE]
5342 instantiate the configuration file FILE
5343
5344 Configuration files:
5345 $config_files
5346
5347 Configuration commands:
5348 $config_commands
5349
5350 Report bugs to the package provider."
5351
5352 _ACEOF
5353 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
5354 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
5355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5356 ac_cs_config='$ac_cs_config_escaped'
5357 ac_cs_version="\\
5358 GIMP-Help config.status 3.0.2
5359 configured by $0, generated by GNU Autoconf 2.72,
5360 with options \\"\$ac_cs_config\\"
5361
5362 Copyright (C) 2023 Free Software Foundation, Inc.
5363 This config.status script is free software; the Free Software Foundation
5364 gives unlimited permission to copy, distribute and modify it."
5365
5366 ac_pwd='$ac_pwd'
5367 srcdir='$srcdir'
5368 INSTALL='$INSTALL'
5369 MKDIR_P='$MKDIR_P'
5370 AWK='$AWK'
5371 test -n "\$AWK" || AWK=awk
5372 _ACEOF
5373
5374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5375 # The default lists apply if the user does not specify any file.
5376 ac_need_defaults=:
5377 while test $# != 0
5378 do
5379 case $1 in
5380 --*=?*)
5381 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5382 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5383 ac_shift=:
5384 ;;
5385 --*=)
5386 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5387 ac_optarg=
5388 ac_shift=:
5389 ;;
5390 *)
5391 ac_option=$1
5392 ac_optarg=$2
5393 ac_shift=shift
5394 ;;
5395 esac
5396
5397 case $ac_option in
5398 # Handling of the options.
5399 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5400 ac_cs_recheck=: ;;
5401 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5402 printf "%s\n" "$ac_cs_version"; exit ;;
5403 --config | --confi | --conf | --con | --co | --c )
5404 printf "%s\n" "$ac_cs_config"; exit ;;
5405 --debug | --debu | --deb | --de | --d | -d )
5406 debug=: ;;
5407 --file | --fil | --fi | --f )
5408 $ac_shift
5409 case $ac_optarg in
5410 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5411 '') as_fn_error $? "missing file argument" ;;
5412 esac
5413 as_fn_append CONFIG_FILES " '$ac_optarg'"
5414 ac_need_defaults=false;;
5415 --he | --h | --help | --hel | -h )
5416 printf "%s\n" "$ac_cs_usage"; exit ;;
5417 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5418 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5419 ac_cs_silent=: ;;
5420
5421 # This is an error.
5422 -*) as_fn_error $? "unrecognized option: '$1'
5423 Try '$0 --help' for more information." ;;
5424
5425 *) as_fn_append ac_config_targets " $1"
5426 ac_need_defaults=false ;;
5427
5428 esac
5429 shift
5430 done
5431
5432 ac_configure_extra_args=
5433
5434 if $ac_cs_silent; then
5435 exec 6>/dev/null
5436 ac_configure_extra_args="$ac_configure_extra_args --silent"
5437 fi
5438
5439 _ACEOF
5440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5441 if \$ac_cs_recheck; then
5442 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5443 shift
5444 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
5445 CONFIG_SHELL='$SHELL'
5446 export CONFIG_SHELL
5447 exec "\$@"
5448 fi
5449
5450 _ACEOF
5451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5452 exec 5>>config.log
5453 {
5454 echo
5455 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5456 ## Running $as_me. ##
5457 _ASBOX
5458 printf "%s\n" "$ac_log"
5459 } >&5
5460
5461 _ACEOF
5462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5463 _ACEOF
5464
5465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5466
5467 # Handling of arguments.
5468 for ac_config_target in $ac_config_targets
5469 do
5470 case $ac_config_target in
5471 "stylesheets") CONFIG_COMMANDS="$CONFIG_COMMANDS stylesheets" ;;
5472 "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
5473 "build/windows/Makefile") CONFIG_FILES="$CONFIG_FILES build/windows/Makefile" ;;
5474 "build/windows/installer/Makefile") CONFIG_FILES="$CONFIG_FILES build/windows/installer/Makefile" ;;
5475 "build/windows/installer/lang/Makefile") CONFIG_FILES="$CONFIG_FILES build/windows/installer/lang/Makefile" ;;
5476 "m4macros/Makefile") CONFIG_FILES="$CONFIG_FILES m4macros/Makefile" ;;
5477 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5478 "po-windows-installer/Makefile.in") CONFIG_FILES="$CONFIG_FILES po-windows-installer/Makefile.in" ;;
5479 "quickreference/Makefile") CONFIG_FILES="$CONFIG_FILES quickreference/Makefile" ;;
5480 "stylesheets/plainhtml.xsl") CONFIG_FILES="$CONFIG_FILES stylesheets/plainhtml.xsl" ;;
5481 "stylesheets/htmlalternate.xsl") CONFIG_FILES="$CONFIG_FILES stylesheets/htmlalternate.xsl" ;;
5482 "po-windows-installer/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po-windows-installer/stamp-it" ;;
5483
5484 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
5485 esac
5486 done
5487
5488
5489 # If the user did not use the arguments to specify the items to instantiate,
5490 # then the envvar interface is used. Set only those that are not.
5491 # We use the long form for the default assignment because of an extremely
5492 # bizarre bug on SunOS 4.1.3.
5493 if $ac_need_defaults; then
5494 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
5495 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
5496 fi
5497
5498 # Have a temporary directory for convenience. Make it in the build tree
5499 # simply because there is no reason against having it here, and in addition,
5500 # creating and moving files from /tmp can sometimes cause problems.
5501 # Hook for its removal unless debugging.
5502 # Note that there is a small window in which the directory will not be cleaned:
5503 # after its creation but before its name has been assigned to '$tmp'.
5504 $debug ||
5505 {
5506 tmp= ac_tmp=
5507 trap 'exit_status=$?
5508 : "${ac_tmp:=$tmp}"
5509 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5510 ' 0
5511 trap 'as_fn_exit 1' 1 2 13 15
5512 }
5513 # Create a (secure) tmp directory for tmp files.
5514
5515 {
5516 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5517 test -d "$tmp"
5518 } ||
5519 {
5520 tmp=./conf$$-$RANDOM
5521 (umask 077 && mkdir "$tmp")
5522 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5523 ac_tmp=$tmp
5524
5525 # Set up the scripts for CONFIG_FILES section.
5526 # No need to generate them if there are no CONFIG_FILES.
5527 # This happens for instance with './config.status config.h'.
5528 if test -n "$CONFIG_FILES"; then
5529
5530
5531 ac_cr=`echo X | tr X '\015'`
5532 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5533 # But we know of no other shell where ac_cr would be empty at this
5534 # point, so we can use a bashism as a fallback.
5535 if test "x$ac_cr" = x; then
5536 eval ac_cr=\$\'\\r\'
5537 fi
5538 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5539 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5540 ac_cs_awk_cr='\\r'
5541 else
5542 ac_cs_awk_cr=$ac_cr
5543 fi
5544
5545 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5546 _ACEOF
5547
5548
5549 {
5550 echo "cat >conf$$subs.awk <<_ACEOF" &&
5551 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5552 echo "_ACEOF"
5553 } >conf$$subs.sh ||
5554 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5555 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5556 ac_delim='%!_!# '
5557 for ac_last_try in false false false false false :; do
5558 . ./conf$$subs.sh ||
5559 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5560
5561 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5562 if test $ac_delim_n = $ac_delim_num; then
5563 break
5564 elif $ac_last_try; then
5565 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5566 else
5567 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5568 fi
5569 done
5570 rm -f conf$$subs.sh
5571
5572 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5573 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5574 _ACEOF
5575 sed -n '
5576 h
5577 s/^/S["/; s/!.*/"]=/
5578 p
5579 g
5580 s/^[^!]*!//
5581 :repl
5582 t repl
5583 s/'"$ac_delim"'$//
5584 t delim
5585 :nl
5586 h
5587 s/\(.\{148\}\)..*/\1/
5588 t more1
5589 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5590 p
5591 n
5592 b repl
5593 :more1
5594 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5595 p
5596 g
5597 s/.\{148\}//
5598 t nl
5599 :delim
5600 h
5601 s/\(.\{148\}\)..*/\1/
5602 t more2
5603 s/["\\]/\\&/g; s/^/"/; s/$/"/
5604 p
5605 b
5606 :more2
5607 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5608 p
5609 g
5610 s/.\{148\}//
5611 t delim
5612 ' <conf$$subs.awk | sed '
5613 /^[^""]/{
5614 N
5615 s/\n//
5616 }
5617 ' >>$CONFIG_STATUS || ac_write_fail=1
5618 rm -f conf$$subs.awk
5619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5620 _ACAWK
5621 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5622 for (key in S) S_is_set[key] = 1
5623 FS = ""
5624
5625 }
5626 {
5627 line = $ 0
5628 nfields = split(line, field, "@")
5629 substed = 0
5630 len = length(field[1])
5631 for (i = 2; i < nfields; i++) {
5632 key = field[i]
5633 keylen = length(key)
5634 if (S_is_set[key]) {
5635 value = S[key]
5636 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5637 len += length(value) + length(field[++i])
5638 substed = 1
5639 } else
5640 len += 1 + keylen
5641 }
5642
5643 print line
5644 }
5645
5646 _ACAWK
5647 _ACEOF
5648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5649 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5650 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5651 else
5652 cat
5653 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5654 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5655 _ACEOF
5656
5657 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5658 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5659 # trailing colons and then remove the whole line if VPATH becomes empty
5660 # (actually we leave an empty line to preserve line numbers).
5661 if test "x$srcdir" = x.; then
5662 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5663 h
5664 s///
5665 s/^/:/
5666 s/[ ]*$/:/
5667 s/:\$(srcdir):/:/g
5668 s/:\${srcdir}:/:/g
5669 s/:@srcdir@:/:/g
5670 s/^:*//
5671 s/:*$//
5672 x
5673 s/\(=[ ]*\).*/\1/
5674 G
5675 s/\n//
5676 s/^[^=]*=[ ]*$//
5677 }'
5678 fi
5679
5680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5681 fi # test -n "$CONFIG_FILES"
5682
5683
5684 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5685 shift
5686 for ac_tag
5687 do
5688 case $ac_tag in
5689 :[FHLC]) ac_mode=$ac_tag; continue;;
5690 esac
5691 case $ac_mode$ac_tag in
5692 :[FHL]*:*);;
5693 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
5694 :[FH]-) ac_tag=-:-;;
5695 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5696 esac
5697 ac_save_IFS=$IFS
5698 IFS=:
5699 set x $ac_tag
5700 IFS=$ac_save_IFS
5701 shift
5702 ac_file=$1
5703 shift
5704
5705 case $ac_mode in
5706 :L) ac_source=$1;;
5707 :[FH])
5708 ac_file_inputs=
5709 for ac_f
5710 do
5711 case $ac_f in
5712 -) ac_f="$ac_tmp/stdin";;
5713 *) # Look for the file first in the build tree, then in the source tree
5714 # (if the path is not absolute). The absolute path cannot be DOS-style,
5715 # because $ac_f cannot contain ':'.
5716 test -f "$ac_f" ||
5717 case $ac_f in
5718 [\\/$]*) false;;
5719 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5720 esac ||
5721 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
5722 esac
5723 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5724 as_fn_append ac_file_inputs " '$ac_f'"
5725 done
5726
5727 # Let's still pretend it is 'configure' which instantiates (i.e., don't
5728 # use $as_me), people would be surprised to read:
5729 # /* config.h. Generated by config.status. */
5730 configure_input='Generated from '`
5731 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5732 `' by configure.'
5733 if test x"$ac_file" != x-; then
5734 configure_input="$ac_file. $configure_input"
5735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5736 printf "%s\n" "$as_me: creating $ac_file" >&6;}
5737 fi
5738 # Neutralize special characters interpreted by sed in replacement strings.
5739 case $configure_input in #(
5740 *\&* | *\|* | *\\* )
5741 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
5742 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5743 *) ac_sed_conf_input=$configure_input;;
5744 esac
5745
5746 case $ac_tag in
5747 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5748 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5749 esac
5750 ;;
5751 esac
5752
5753 ac_dir=`$as_dirname -- "$ac_file" ||
5754 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5755 X"$ac_file" : 'X\(//\)[^/]' \| \
5756 X"$ac_file" : 'X\(//\)$' \| \
5757 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5758 printf "%s\n" X"$ac_file" |
5759 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5760 s//\1/
5761 q
5762 }
5763 /^X\(\/\/\)[^/].*/{
5764 s//\1/
5765 q
5766 }
5767 /^X\(\/\/\)$/{
5768 s//\1/
5769 q
5770 }
5771 /^X\(\/\).*/{
5772 s//\1/
5773 q
5774 }
5775 s/.*/./; q'`
5776 as_dir="$ac_dir"; as_fn_mkdir_p
5777 ac_builddir=.
5778
5779 case "$ac_dir" in
5780 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5781 *)
5782 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
5783 # A ".." for each directory in $ac_dir_suffix.
5784 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5785 case $ac_top_builddir_sub in
5786 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5787 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5788 esac ;;
5789 esac
5790 ac_abs_top_builddir=$ac_pwd
5791 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5792 # for backward compatibility:
5793 ac_top_builddir=$ac_top_build_prefix
5794
5795 case $srcdir in
5796 .) # We are building in place.
5797 ac_srcdir=.
5798 ac_top_srcdir=$ac_top_builddir_sub
5799 ac_abs_top_srcdir=$ac_pwd ;;
5800 [\\/]* | ?:[\\/]* ) # Absolute name.
5801 ac_srcdir=$srcdir$ac_dir_suffix;
5802 ac_top_srcdir=$srcdir
5803 ac_abs_top_srcdir=$srcdir ;;
5804 *) # Relative name.
5805 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5806 ac_top_srcdir=$ac_top_build_prefix$srcdir
5807 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5808 esac
5809 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5810
5811
5812 case $ac_mode in
5813 :F)
5814 #
5815 # CONFIG_FILE
5816 #
5817
5818 case $INSTALL in
5819 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5820 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5821 esac
5822 ac_MKDIR_P=$MKDIR_P
5823 case $MKDIR_P in
5824 [\\/$]* | ?:[\\/]* ) ;;
5825 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5826 esac
5827 _ACEOF
5828
5829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5830 # If the template does not know about datarootdir, expand it.
5831 # FIXME: This hack should be removed a few years after 2.60.
5832 ac_datarootdir_hack=; ac_datarootdir_seen=
5833 ac_sed_dataroot='
5834 /datarootdir/ {
5835 p
5836 q
5837 }
5838 /@datadir@/p
5839 /@docdir@/p
5840 /@infodir@/p
5841 /@localedir@/p
5842 /@mandir@/p'
5843 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5844 *datarootdir*) ac_datarootdir_seen=yes;;
5845 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5847 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5848 _ACEOF
5849 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5850 ac_datarootdir_hack='
5851 s&@datadir@&$datadir&g
5852 s&@docdir@&$docdir&g
5853 s&@infodir@&$infodir&g
5854 s&@localedir@&$localedir&g
5855 s&@mandir@&$mandir&g
5856 s&\\\${datarootdir}&$datarootdir&g' ;;
5857 esac
5858 _ACEOF
5859
5860 # Neutralize VPATH when '$srcdir' = '.'.
5861 # Shell code in configure.ac might set extrasub.
5862 # FIXME: do we really want to maintain this feature?
5863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5864 ac_sed_extra="$ac_vpsub
5865 $extrasub
5866 _ACEOF
5867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5868 :t
5869 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5870 s|@configure_input@|$ac_sed_conf_input|;t t
5871 s&@top_builddir@&$ac_top_builddir_sub&;t t
5872 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5873 s&@srcdir@&$ac_srcdir&;t t
5874 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5875 s&@top_srcdir@&$ac_top_srcdir&;t t
5876 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5877 s&@builddir@&$ac_builddir&;t t
5878 s&@abs_builddir@&$ac_abs_builddir&;t t
5879 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5880 s&@INSTALL@&$ac_INSTALL&;t t
5881 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5882 $ac_datarootdir_hack
5883 "
5884 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5885 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5886
5887 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5888 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5889 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5890 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
5892 which seems to be undefined. Please make sure it is defined" >&5
5893 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
5894 which seems to be undefined. Please make sure it is defined" >&2;}
5895
5896 rm -f "$ac_tmp/stdin"
5897 case $ac_file in
5898 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5899 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5900 esac \
5901 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5902 ;;
5903
5904
5905 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5906 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
5907 ;;
5908 esac
5909
5910
5911 case $ac_file$ac_mode in
5912 "stylesheets":C) test "${srcdir:-.}" != "${builddir:-.}" &&
5913 { test -d stylesheets || mkdir stylesheets; } &&
5914 cp -f $srcdir/stylesheets/*.xsl $srcdir/stylesheets/*.dtd $srcdir/stylesheets/languageVocab.xml $srcdir/stylesheets/entities.xml stylesheets/
5915 ;;
5916 "po-windows-installer/stamp-it":C)
5917 if ! grep "^# INTLTOOL_MAKEFILE$" "po-windows-installer/Makefile.in" > /dev/null ; then
5918 as_fn_error $? "po-windows-installer/Makefile.in.in was not created by intltoolize." "$LINENO" 5
5919 fi
5920 rm -f "po-windows-installer/stamp-it" "po-windows-installer/POTFILES"
5921 sed -e '/^#/d' -e 's/^[[].*] *//' \
5922 -e '/^[ ]*$/d' \
5923 -e "s|^| $ac_top_srcdir/|" \
5924 "$srcdir/po-windows-installer/POTFILES.in" | sed '$!s/$/ \\/' >"po-windows-installer/POTFILES" && \
5925 sed -e "/^# This comment gets stripped out/ {" \
5926 -e 'r po-windows-installer/POTFILES' \
5927 -e "d" -e "}" \
5928 "po-windows-installer/Makefile.in" >"po-windows-installer/Makefile" && \
5929 touch "po-windows-installer/stamp-it"
5930 ;;
5931
5932 esac
5933 done # for ac_tag
5934
5935
5936 as_fn_exit 0
5937 _ACEOF
5938 ac_clean_files=$ac_clean_files_save
5939
5940 test $ac_write_fail = 0 ||
5941 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5942
5943
5944 # configure is writing to config.log, and then calls config.status.
5945 # config.status does its own redirection, appending to config.log.
5946 # Unfortunately, on DOS this fails, as config.log is still kept open
5947 # by configure, so config.status won't be able to write to it; its
5948 # output is simply discarded. So we exec the FD to /dev/null,
5949 # effectively closing config.log, so it can be properly (re)opened and
5950 # appended to by config.status. When coming back to configure, we
5951 # need to make the FD available again.
5952 if test "$no_create" != yes; then
5953 ac_cs_success=:
5954 ac_config_status_args=
5955 test "$silent" = yes &&
5956 ac_config_status_args="$ac_config_status_args --quiet"
5957 exec 5>/dev/null
5958 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5959 exec 5>>config.log
5960 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5961 # would make configure fail if this is the last instruction.
5962 $ac_cs_success || as_fn_exit 1
5963 fi
5964 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5966 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5967 fi
5968
5969
5970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result:
5971 Languages: $ALL_LINGUAS
5972 Installation prefix: $gimpdatadir " >&5
5973 printf "%s\n" "
5974 Languages: $ALL_LINGUAS
5975 Installation prefix: $gimpdatadir " >&6; }
5976 if test -n "$missing_i18n_tools" && test "$enable_i18n" = "yes"; then
5977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Missing translation tools: $missing_i18n_tools " >&5
5978 printf "%s\n" " Missing translation tools: $missing_i18n_tools " >&6; }
5979 fi
5980