Preparing release
[geeqie.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for geeqie 1.6.
4 #
5 # Report bugs to <https://github.com/BestImageViewer/geeqie/issues>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202   if (eval "$as_required") 2>/dev/null; then :
203   as_have_required=yes
204 else
205   as_have_required=no
206 fi
207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209 else
210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 do
214   IFS=$as_save_IFS
215   test -z "$as_dir" && as_dir=.
216   as_found=:
217   case $as_dir in #(
218          /*)
219            for as_base in sh bash ksh sh5; do
220              # Try only shells that exist, to save several forks.
221              as_shell=$as_dir/$as_base
222              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224   CONFIG_SHELL=$as_shell as_have_required=yes
225                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226   break 2
227 fi
228 fi
229            done;;
230        esac
231   as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235   CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
238
239
240       if test "x$CONFIG_SHELL" != x; then :
241   export CONFIG_SHELL
242              # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250   *v*x* | *x*v* ) as_opts=-vx ;;
251   *v* ) as_opts=-v ;;
252   *x* ) as_opts=-x ;;
253   * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
261
262     if test x$as_have_required = xno; then :
263   $as_echo "$0: This script requires a shell more modern than all"
264   $as_echo "$0: the shells that I found on your system."
265   if test x${ZSH_VERSION+set} = xset ; then
266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268   else
269     $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: https://github.com/BestImageViewer/geeqie/issues about
271 $0: your system, including any error possibly output before
272 $0: this message. Then install a modern shell, or manually
273 $0: run the script under such a shell if you do have one."
274   fi
275   exit 1
276 fi
277 fi
278 fi
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
284
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
292 {
293   { eval $1=; unset $1;}
294 }
295 as_unset=as_fn_unset
296
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
301 {
302   return $1
303 } # as_fn_set_status
304
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
309 {
310   set +e
311   as_fn_set_status $1
312   exit $1
313 } # as_fn_exit
314
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
319 {
320
321   case $as_dir in #(
322   -*) as_dir=./$as_dir;;
323   esac
324   test -d "$as_dir" || eval $as_mkdir_p || {
325     as_dirs=
326     while :; do
327       case $as_dir in #(
328       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329       *) as_qdir=$as_dir;;
330       esac
331       as_dirs="'$as_qdir' $as_dirs"
332       as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334          X"$as_dir" : 'X\(//\)[^/]' \| \
335          X"$as_dir" : 'X\(//\)$' \| \
336          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339             s//\1/
340             q
341           }
342           /^X\(\/\/\)[^/].*/{
343             s//\1/
344             q
345           }
346           /^X\(\/\/\)$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\).*/{
351             s//\1/
352             q
353           }
354           s/.*/./; q'`
355       test -d "$as_dir" && break
356     done
357     test -z "$as_dirs" || eval "mkdir $as_dirs"
358   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361 } # as_fn_mkdir_p
362
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
367 {
368   test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377   eval 'as_fn_append ()
378   {
379     eval $1+=\$2
380   }'
381 else
382   as_fn_append ()
383   {
384     eval $1=\$$1\$2
385   }
386 fi # as_fn_append
387
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394   eval 'as_fn_arith ()
395   {
396     as_val=$(( $* ))
397   }'
398 else
399   as_fn_arith ()
400   {
401     as_val=`expr "$@" || test $? -eq 1`
402   }
403 fi # as_fn_arith
404
405
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
412 {
413   as_status=$1; test $as_status -eq 0 && as_status=1
414   if test "$4"; then
415     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417   fi
418   $as_echo "$as_me: error: $2" >&2
419   as_fn_exit $as_status
420 } # as_fn_error
421
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423    test "X`expr 00001 : '.*\(...\)'`" = X001; then
424   as_expr=expr
425 else
426   as_expr=false
427 fi
428
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430   as_basename=basename
431 else
432   as_basename=false
433 fi
434
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436   as_dirname=dirname
437 else
438   as_dirname=false
439 fi
440
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443          X"$0" : 'X\(//\)$' \| \
444          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446     sed '/^.*\/\([^/][^/]*\)\/*$/{
447             s//\1/
448             q
449           }
450           /^X\/\(\/\/\)$/{
451             s//\1/
452             q
453           }
454           /^X\/\(\/\).*/{
455             s//\1/
456             q
457           }
458           s/.*/./; q'`
459
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468   as_lineno_1=$LINENO as_lineno_1a=$LINENO
469   as_lineno_2=$LINENO as_lineno_2a=$LINENO
470   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
473   sed -n '
474     p
475     /[$]LINENO/=
476   ' <$as_myself |
477     sed '
478       s/[$]LINENO.*/&-/
479       t lineno
480       b
481       :lineno
482       N
483       :loop
484       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485       t loop
486       s/-\n.*//
487     ' >$as_me.lineno &&
488   chmod +x "$as_me.lineno" ||
489     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492   # already done that, so ensure we don't try to do so again and fall
493   # in an infinite loop.  This has already happened in practice.
494   _as_can_reexec=no; export _as_can_reexec
495   # Don't try to exec as it changes $[0], causing all sort of problems
496   # (the dirname of $[0] is not the place where we might find the
497   # original and so on.  Autoconf is especially sensitive to this).
498   . "./$as_me.lineno"
499   # Exit status is that of the last command.
500   exit
501 }
502
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506   case `echo 'xy\c'` in
507   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
508   xy)  ECHO_C='\c';;
509   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
510        ECHO_T=' ';;
511   esac;;
512 *)
513   ECHO_N='-n';;
514 esac
515
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518   rm -f conf$$.dir/conf$$.file
519 else
520   rm -f conf$$.dir
521   mkdir conf$$.dir 2>/dev/null
522 fi
523 if (echo >conf$$.file) 2>/dev/null; then
524   if ln -s conf$$.file conf$$ 2>/dev/null; then
525     as_ln_s='ln -s'
526     # ... but there are two gotchas:
527     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529     # In both cases, we have to default to `cp -pR'.
530     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531       as_ln_s='cp -pR'
532   elif ln conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s=ln
534   else
535     as_ln_s='cp -pR'
536   fi
537 else
538   as_ln_s='cp -pR'
539 fi
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
542
543 if mkdir -p . 2>/dev/null; then
544   as_mkdir_p='mkdir -p "$as_dir"'
545 else
546   test -d ./-p && rmdir ./-p
547   as_mkdir_p=false
548 fi
549
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
552
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
562
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568 #
569 # Initializations.
570 #
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
579
580 # Identity of this package.
581 PACKAGE_NAME='geeqie'
582 PACKAGE_TARNAME='geeqie'
583 PACKAGE_VERSION='1.6'
584 PACKAGE_STRING='geeqie 1.6'
585 PACKAGE_BUGREPORT='https://github.com/BestImageViewer/geeqie/issues'
586 PACKAGE_URL='http://www.geeqie.org/'
587
588 ac_unique_file="src/main.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 #  include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 #  include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
624
625 ac_subst_vars='am__EXEEXT_FALSE
626 am__EXEEXT_TRUE
627 LTLIBOBJS
628 LIBOBJS
629 HAVE_MARKDOWN_FALSE
630 HAVE_MARKDOWN_TRUE
631 HAVE_DJVU_FALSE
632 HAVE_DJVU_TRUE
633 DJVU_LIBS
634 DJVU_CFLAGS
635 HAVE_J2K_FALSE
636 HAVE_J2K_TRUE
637 J2K_LIBS
638 J2K_CFLAGS
639 HAVE_WEBP_FALSE
640 HAVE_WEBP_TRUE
641 WEBP_LIBS
642 WEBP_CFLAGS
643 HAVE_HEIF_FALSE
644 HAVE_HEIF_TRUE
645 HEIF_LIBS
646 HEIF_CFLAGS
647 HAVE_PDF_FALSE
648 HAVE_PDF_TRUE
649 PDF_LIBS
650 PDF_CFLAGS
651 HAVE_LUA_FALSE
652 HAVE_LUA_TRUE
653 LUA_LIBS
654 LUA_CFLAGS
655 HAVE_LIBCHAMPLAIN_GTK_FALSE
656 HAVE_LIBCHAMPLAIN_GTK_TRUE
657 LIBCHAMPLAIN_GTK_LIBS
658 LIBCHAMPLAIN_GTK_CFLAGS
659 LIBCHAMPLAIN_LIBS
660 LIBCHAMPLAIN_CFLAGS
661 CLUTTER_GTK_LIBS
662 CLUTTER_GTK_CFLAGS
663 CLUTTER_LIBS
664 CLUTTER_CFLAGS
665 MKINSTALLDIRS
666 POSUB
667 POFILES
668 PO_IN_DATADIR_FALSE
669 PO_IN_DATADIR_TRUE
670 INTLLIBS
671 INSTOBJEXT
672 GMOFILES
673 DATADIRNAME
674 CATOBJEXT
675 CATALOGS
676 MSGFMT_OPTS
677 INTL_MACOSX_LIBS
678 GETTEXT_PACKAGE
679 CONFIG_STATUS_DEPENDENCIES
680 HAVE_EXIV2_FALSE
681 HAVE_EXIV2_TRUE
682 EXIV2_LIBS
683 EXIV2_CFLAGS
684 HAVE_FFMPEGTHUMBNAILER_FALSE
685 HAVE_FFMPEGTHUMBNAILER_TRUE
686 FFMPEGTHUMBNAILER_LIBS
687 FFMPEGTHUMBNAILER_CFLAGS
688 TIFF_LIBS
689 TIFF_CFLAGS
690 HAVE_TIFF_FALSE
691 HAVE_TIFF_TRUE
692 JPEG_LIBS
693 JPEG_CFLAGS
694 HAVE_JPEG_FALSE
695 HAVE_JPEG_TRUE
696 HAVE_LCMS_FALSE
697 HAVE_LCMS_TRUE
698 LCMS_LIBS
699 LCMS_CFLAGS
700 HAVE_LIRC_FALSE
701 HAVE_LIRC_TRUE
702 gq_bindir
703 appdir
704 readmedir
705 GNOME_DOC_TOOL
706 GDK_PIXBUF_CSOURCE
707 GTHREAD_LIBS
708 GTHREAD_CFLAGS
709 GTK_LIBS
710 GTK_CFLAGS
711 GLIB_COMPILE_RESOURCES
712 GLIB_MKENUMS
713 GOBJECT_QUERY
714 GLIB_GENMARSHAL
715 GLIB_LIBS
716 GLIB_CFLAGS
717 PKG_CONFIG_LIBDIR
718 PKG_CONFIG_PATH
719 PKG_CONFIG
720 EXTERNAL_PREFIX_FALSE
721 EXTERNAL_PREFIX_TRUE
722 HAVE_WINDRES_FALSE
723 HAVE_WINDRES_TRUE
724 MS_LIB_AVAILABLE_FALSE
725 MS_LIB_AVAILABLE_TRUE
726 WINDRES
727 ms_librarian
728 OS_UNIX_FALSE
729 OS_UNIX_TRUE
730 OS_WIN32_FALSE
731 OS_WIN32_TRUE
732 PATHSEP
733 PLATFORM_WIN32_FALSE
734 PLATFORM_WIN32_TRUE
735 ALL_LINGUAS
736 INTLTOOL_PERL
737 GMSGFMT
738 MSGFMT
739 MSGMERGE
740 XGETTEXT
741 INTLTOOL_POLICY_RULE
742 INTLTOOL_SERVICE_RULE
743 INTLTOOL_THEME_RULE
744 INTLTOOL_SCHEMAS_RULE
745 INTLTOOL_CAVES_RULE
746 INTLTOOL_XML_NOMERGE_RULE
747 INTLTOOL_XML_RULE
748 INTLTOOL_KBD_RULE
749 INTLTOOL_XAM_RULE
750 INTLTOOL_UI_RULE
751 INTLTOOL_SOUNDLIST_RULE
752 INTLTOOL_SHEET_RULE
753 INTLTOOL_SERVER_RULE
754 INTLTOOL_PONG_RULE
755 INTLTOOL_OAF_RULE
756 INTLTOOL_PROP_RULE
757 INTLTOOL_KEYS_RULE
758 INTLTOOL_DIRECTORY_RULE
759 INTLTOOL_DESKTOP_RULE
760 intltool__v_merge_options_0
761 intltool__v_merge_options_
762 INTLTOOL_V_MERGE_OPTIONS
763 INTLTOOL__v_MERGE_0
764 INTLTOOL__v_MERGE_
765 INTLTOOL_V_MERGE
766 INTLTOOL_EXTRACT
767 INTLTOOL_MERGE
768 INTLTOOL_UPDATE
769 USE_NLS
770 EGREP
771 GREP
772 CPP
773 am__fastdepCXX_FALSE
774 am__fastdepCXX_TRUE
775 CXXDEPMODE
776 ac_ct_CXX
777 CXXFLAGS
778 CXX
779 am__fastdepCC_FALSE
780 am__fastdepCC_TRUE
781 CCDEPMODE
782 am__nodep
783 AMDEPBACKSLASH
784 AMDEP_FALSE
785 AMDEP_TRUE
786 am__include
787 DEPDIR
788 OBJEXT
789 EXEEXT
790 ac_ct_CC
791 CPPFLAGS
792 LDFLAGS
793 CFLAGS
794 CC
795 DEBUG_FALSE
796 DEBUG_TRUE
797 DOXYGEN_PAPER_SIZE
798 DX_COND_latex_FALSE
799 DX_COND_latex_TRUE
800 DX_COND_pdf_FALSE
801 DX_COND_pdf_TRUE
802 DX_PDFLATEX
803 DX_FLAG_pdf
804 DX_COND_ps_FALSE
805 DX_COND_ps_TRUE
806 DX_EGREP
807 DX_DVIPS
808 DX_MAKEINDEX
809 DX_LATEX
810 DX_FLAG_ps
811 DX_COND_html_FALSE
812 DX_COND_html_TRUE
813 DX_FLAG_html
814 DX_COND_chi_FALSE
815 DX_COND_chi_TRUE
816 DX_FLAG_chi
817 DX_COND_chm_FALSE
818 DX_COND_chm_TRUE
819 DX_HHC
820 DX_FLAG_chm
821 DX_COND_xml_FALSE
822 DX_COND_xml_TRUE
823 DX_FLAG_xml
824 DX_COND_rtf_FALSE
825 DX_COND_rtf_TRUE
826 DX_FLAG_rtf
827 DX_COND_man_FALSE
828 DX_COND_man_TRUE
829 DX_FLAG_man
830 DX_COND_dot_FALSE
831 DX_COND_dot_TRUE
832 DX_DOT
833 DX_FLAG_dot
834 DX_COND_doc_FALSE
835 DX_COND_doc_TRUE
836 DX_PERL
837 DX_FLAG_DX_CURRENT_FEATURE
838 DX_DOXYGEN
839 DX_FLAG_doc
840 DX_ENV
841 DX_DOCDIR
842 DX_CONFIG
843 DX_PROJECT
844 MAINT
845 MAINTAINER_MODE_FALSE
846 MAINTAINER_MODE_TRUE
847 AM_BACKSLASH
848 AM_DEFAULT_VERBOSITY
849 AM_DEFAULT_V
850 AM_V
851 am__untar
852 am__tar
853 AMTAR
854 am__leading_dot
855 SET_MAKE
856 AWK
857 mkdir_p
858 MKDIR_P
859 INSTALL_STRIP_PROGRAM
860 STRIP
861 install_sh
862 MAKEINFO
863 AUTOHEADER
864 AUTOMAKE
865 AUTOCONF
866 ACLOCAL
867 VERSION
868 PACKAGE
869 CYGPATH_W
870 am__isrc
871 INSTALL_DATA
872 INSTALL_SCRIPT
873 INSTALL_PROGRAM
874 target_alias
875 host_alias
876 build_alias
877 LIBS
878 ECHO_T
879 ECHO_N
880 ECHO_C
881 DEFS
882 mandir
883 localedir
884 libdir
885 psdir
886 pdfdir
887 dvidir
888 htmldir
889 infodir
890 docdir
891 oldincludedir
892 includedir
893 runstatedir
894 localstatedir
895 sharedstatedir
896 sysconfdir
897 datadir
898 datarootdir
899 libexecdir
900 sbindir
901 bindir
902 program_transform_name
903 prefix
904 exec_prefix
905 PACKAGE_URL
906 PACKAGE_BUGREPORT
907 PACKAGE_STRING
908 PACKAGE_VERSION
909 PACKAGE_TARNAME
910 PACKAGE_NAME
911 PATH_SEPARATOR
912 SHELL
913 am__quote'
914 ac_subst_files=''
915 ac_user_opts='
916 enable_option_checking
917 enable_silent_rules
918 enable_maintainer_mode
919 enable_developer
920 enable_doxygen_doc
921 enable_doxygen_dot
922 enable_doxygen_man
923 enable_doxygen_rtf
924 enable_doxygen_xml
925 enable_doxygen_chm
926 enable_doxygen_chi
927 enable_doxygen_html
928 enable_doxygen_ps
929 enable_doxygen_pdf
930 enable_debug_flags
931 enable_debug_log
932 enable_deprecated
933 enable_dependency_tracking
934 enable_largefile
935 enable_nls
936 enable_glibtest
937 enable_gtk3
938 enable_gtktest
939 enable_threads
940 with_readmedir
941 with_htmldir
942 enable_lirc
943 with_lirc_prefix
944 enable_lcms
945 enable_jpeg
946 enable_tiff
947 enable_ffmpegthumbnailer
948 enable_exiv2
949 enable_map
950 enable_gpu_accel
951 enable_lua
952 enable_pdf
953 enable_heif
954 enable_webp
955 enable_j2k
956 enable_djvu
957 '
958       ac_precious_vars='build_alias
959 host_alias
960 target_alias
961 DOXYGEN_PAPER_SIZE
962 CC
963 CFLAGS
964 LDFLAGS
965 LIBS
966 CPPFLAGS
967 CXX
968 CXXFLAGS
969 CCC
970 CPP
971 PKG_CONFIG
972 PKG_CONFIG_PATH
973 PKG_CONFIG_LIBDIR
974 GLIB_CFLAGS
975 GLIB_LIBS
976 GLIB_GENMARSHAL
977 GOBJECT_QUERY
978 GLIB_MKENUMS
979 GLIB_COMPILE_RESOURCES
980 GTHREAD_CFLAGS
981 GTHREAD_LIBS
982 LCMS_CFLAGS
983 LCMS_LIBS
984 FFMPEGTHUMBNAILER_CFLAGS
985 FFMPEGTHUMBNAILER_LIBS
986 EXIV2_CFLAGS
987 EXIV2_LIBS
988 CLUTTER_CFLAGS
989 CLUTTER_LIBS
990 CLUTTER_GTK_CFLAGS
991 CLUTTER_GTK_LIBS
992 LIBCHAMPLAIN_CFLAGS
993 LIBCHAMPLAIN_LIBS
994 LIBCHAMPLAIN_GTK_CFLAGS
995 LIBCHAMPLAIN_GTK_LIBS
996 LUA_CFLAGS
997 LUA_LIBS
998 PDF_CFLAGS
999 PDF_LIBS
1000 HEIF_CFLAGS
1001 HEIF_LIBS
1002 WEBP_CFLAGS
1003 WEBP_LIBS
1004 J2K_CFLAGS
1005 J2K_LIBS
1006 DJVU_CFLAGS
1007 DJVU_LIBS'
1008
1009
1010 # Initialize some variables set by options.
1011 ac_init_help=
1012 ac_init_version=false
1013 ac_unrecognized_opts=
1014 ac_unrecognized_sep=
1015 # The variables have the same names as the options, with
1016 # dashes changed to underlines.
1017 cache_file=/dev/null
1018 exec_prefix=NONE
1019 no_create=
1020 no_recursion=
1021 prefix=NONE
1022 program_prefix=NONE
1023 program_suffix=NONE
1024 program_transform_name=s,x,x,
1025 silent=
1026 site=
1027 srcdir=
1028 verbose=
1029 x_includes=NONE
1030 x_libraries=NONE
1031
1032 # Installation directory options.
1033 # These are left unexpanded so users can "make install exec_prefix=/foo"
1034 # and all the variables that are supposed to be based on exec_prefix
1035 # by default will actually change.
1036 # Use braces instead of parens because sh, perl, etc. also accept them.
1037 # (The list follows the same order as the GNU Coding Standards.)
1038 bindir='${exec_prefix}/bin'
1039 sbindir='${exec_prefix}/sbin'
1040 libexecdir='${exec_prefix}/libexec'
1041 datarootdir='${prefix}/share'
1042 datadir='${datarootdir}'
1043 sysconfdir='${prefix}/etc'
1044 sharedstatedir='${prefix}/com'
1045 localstatedir='${prefix}/var'
1046 runstatedir='${localstatedir}/run'
1047 includedir='${prefix}/include'
1048 oldincludedir='/usr/include'
1049 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1050 infodir='${datarootdir}/info'
1051 htmldir='${docdir}'
1052 dvidir='${docdir}'
1053 pdfdir='${docdir}'
1054 psdir='${docdir}'
1055 libdir='${exec_prefix}/lib'
1056 localedir='${datarootdir}/locale'
1057 mandir='${datarootdir}/man'
1058
1059 ac_prev=
1060 ac_dashdash=
1061 for ac_option
1062 do
1063   # If the previous option needs an argument, assign it.
1064   if test -n "$ac_prev"; then
1065     eval $ac_prev=\$ac_option
1066     ac_prev=
1067     continue
1068   fi
1069
1070   case $ac_option in
1071   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1072   *=)   ac_optarg= ;;
1073   *)    ac_optarg=yes ;;
1074   esac
1075
1076   # Accept the important Cygnus configure options, so we can diagnose typos.
1077
1078   case $ac_dashdash$ac_option in
1079   --)
1080     ac_dashdash=yes ;;
1081
1082   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1083     ac_prev=bindir ;;
1084   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1085     bindir=$ac_optarg ;;
1086
1087   -build | --build | --buil | --bui | --bu)
1088     ac_prev=build_alias ;;
1089   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1090     build_alias=$ac_optarg ;;
1091
1092   -cache-file | --cache-file | --cache-fil | --cache-fi \
1093   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1094     ac_prev=cache_file ;;
1095   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1096   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1097     cache_file=$ac_optarg ;;
1098
1099   --config-cache | -C)
1100     cache_file=config.cache ;;
1101
1102   -datadir | --datadir | --datadi | --datad)
1103     ac_prev=datadir ;;
1104   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1105     datadir=$ac_optarg ;;
1106
1107   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1108   | --dataroo | --dataro | --datar)
1109     ac_prev=datarootdir ;;
1110   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1111   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1112     datarootdir=$ac_optarg ;;
1113
1114   -disable-* | --disable-*)
1115     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1116     # Reject names that are not valid shell variable names.
1117     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118       as_fn_error $? "invalid feature name: $ac_useropt"
1119     ac_useropt_orig=$ac_useropt
1120     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121     case $ac_user_opts in
1122       *"
1123 "enable_$ac_useropt"
1124 "*) ;;
1125       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1126          ac_unrecognized_sep=', ';;
1127     esac
1128     eval enable_$ac_useropt=no ;;
1129
1130   -docdir | --docdir | --docdi | --doc | --do)
1131     ac_prev=docdir ;;
1132   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1133     docdir=$ac_optarg ;;
1134
1135   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1136     ac_prev=dvidir ;;
1137   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1138     dvidir=$ac_optarg ;;
1139
1140   -enable-* | --enable-*)
1141     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1142     # Reject names that are not valid shell variable names.
1143     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144       as_fn_error $? "invalid feature name: $ac_useropt"
1145     ac_useropt_orig=$ac_useropt
1146     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147     case $ac_user_opts in
1148       *"
1149 "enable_$ac_useropt"
1150 "*) ;;
1151       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1152          ac_unrecognized_sep=', ';;
1153     esac
1154     eval enable_$ac_useropt=\$ac_optarg ;;
1155
1156   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1157   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1158   | --exec | --exe | --ex)
1159     ac_prev=exec_prefix ;;
1160   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1161   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1162   | --exec=* | --exe=* | --ex=*)
1163     exec_prefix=$ac_optarg ;;
1164
1165   -gas | --gas | --ga | --g)
1166     # Obsolete; use --with-gas.
1167     with_gas=yes ;;
1168
1169   -help | --help | --hel | --he | -h)
1170     ac_init_help=long ;;
1171   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1172     ac_init_help=recursive ;;
1173   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1174     ac_init_help=short ;;
1175
1176   -host | --host | --hos | --ho)
1177     ac_prev=host_alias ;;
1178   -host=* | --host=* | --hos=* | --ho=*)
1179     host_alias=$ac_optarg ;;
1180
1181   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1182     ac_prev=htmldir ;;
1183   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1184   | --ht=*)
1185     htmldir=$ac_optarg ;;
1186
1187   -includedir | --includedir | --includedi | --included | --include \
1188   | --includ | --inclu | --incl | --inc)
1189     ac_prev=includedir ;;
1190   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1191   | --includ=* | --inclu=* | --incl=* | --inc=*)
1192     includedir=$ac_optarg ;;
1193
1194   -infodir | --infodir | --infodi | --infod | --info | --inf)
1195     ac_prev=infodir ;;
1196   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1197     infodir=$ac_optarg ;;
1198
1199   -libdir | --libdir | --libdi | --libd)
1200     ac_prev=libdir ;;
1201   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1202     libdir=$ac_optarg ;;
1203
1204   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1205   | --libexe | --libex | --libe)
1206     ac_prev=libexecdir ;;
1207   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1208   | --libexe=* | --libex=* | --libe=*)
1209     libexecdir=$ac_optarg ;;
1210
1211   -localedir | --localedir | --localedi | --localed | --locale)
1212     ac_prev=localedir ;;
1213   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1214     localedir=$ac_optarg ;;
1215
1216   -localstatedir | --localstatedir | --localstatedi | --localstated \
1217   | --localstate | --localstat | --localsta | --localst | --locals)
1218     ac_prev=localstatedir ;;
1219   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1220   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1221     localstatedir=$ac_optarg ;;
1222
1223   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1224     ac_prev=mandir ;;
1225   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1226     mandir=$ac_optarg ;;
1227
1228   -nfp | --nfp | --nf)
1229     # Obsolete; use --without-fp.
1230     with_fp=no ;;
1231
1232   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1233   | --no-cr | --no-c | -n)
1234     no_create=yes ;;
1235
1236   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1237   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1238     no_recursion=yes ;;
1239
1240   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1241   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1242   | --oldin | --oldi | --old | --ol | --o)
1243     ac_prev=oldincludedir ;;
1244   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1245   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1246   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1247     oldincludedir=$ac_optarg ;;
1248
1249   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1250     ac_prev=prefix ;;
1251   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1252     prefix=$ac_optarg ;;
1253
1254   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1255   | --program-pre | --program-pr | --program-p)
1256     ac_prev=program_prefix ;;
1257   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1258   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1259     program_prefix=$ac_optarg ;;
1260
1261   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1262   | --program-suf | --program-su | --program-s)
1263     ac_prev=program_suffix ;;
1264   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1265   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1266     program_suffix=$ac_optarg ;;
1267
1268   -program-transform-name | --program-transform-name \
1269   | --program-transform-nam | --program-transform-na \
1270   | --program-transform-n | --program-transform- \
1271   | --program-transform | --program-transfor \
1272   | --program-transfo | --program-transf \
1273   | --program-trans | --program-tran \
1274   | --progr-tra | --program-tr | --program-t)
1275     ac_prev=program_transform_name ;;
1276   -program-transform-name=* | --program-transform-name=* \
1277   | --program-transform-nam=* | --program-transform-na=* \
1278   | --program-transform-n=* | --program-transform-=* \
1279   | --program-transform=* | --program-transfor=* \
1280   | --program-transfo=* | --program-transf=* \
1281   | --program-trans=* | --program-tran=* \
1282   | --progr-tra=* | --program-tr=* | --program-t=*)
1283     program_transform_name=$ac_optarg ;;
1284
1285   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1286     ac_prev=pdfdir ;;
1287   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1288     pdfdir=$ac_optarg ;;
1289
1290   -psdir | --psdir | --psdi | --psd | --ps)
1291     ac_prev=psdir ;;
1292   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1293     psdir=$ac_optarg ;;
1294
1295   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1296   | -silent | --silent | --silen | --sile | --sil)
1297     silent=yes ;;
1298
1299   -runstatedir | --runstatedir | --runstatedi | --runstated \
1300   | --runstate | --runstat | --runsta | --runst | --runs \
1301   | --run | --ru | --r)
1302     ac_prev=runstatedir ;;
1303   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1304   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1305   | --run=* | --ru=* | --r=*)
1306     runstatedir=$ac_optarg ;;
1307
1308   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1309     ac_prev=sbindir ;;
1310   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1311   | --sbi=* | --sb=*)
1312     sbindir=$ac_optarg ;;
1313
1314   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1315   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1316   | --sharedst | --shareds | --shared | --share | --shar \
1317   | --sha | --sh)
1318     ac_prev=sharedstatedir ;;
1319   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1320   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1321   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1322   | --sha=* | --sh=*)
1323     sharedstatedir=$ac_optarg ;;
1324
1325   -site | --site | --sit)
1326     ac_prev=site ;;
1327   -site=* | --site=* | --sit=*)
1328     site=$ac_optarg ;;
1329
1330   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1331     ac_prev=srcdir ;;
1332   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1333     srcdir=$ac_optarg ;;
1334
1335   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1336   | --syscon | --sysco | --sysc | --sys | --sy)
1337     ac_prev=sysconfdir ;;
1338   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1339   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1340     sysconfdir=$ac_optarg ;;
1341
1342   -target | --target | --targe | --targ | --tar | --ta | --t)
1343     ac_prev=target_alias ;;
1344   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1345     target_alias=$ac_optarg ;;
1346
1347   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1348     verbose=yes ;;
1349
1350   -version | --version | --versio | --versi | --vers | -V)
1351     ac_init_version=: ;;
1352
1353   -with-* | --with-*)
1354     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1355     # Reject names that are not valid shell variable names.
1356     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1357       as_fn_error $? "invalid package name: $ac_useropt"
1358     ac_useropt_orig=$ac_useropt
1359     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1360     case $ac_user_opts in
1361       *"
1362 "with_$ac_useropt"
1363 "*) ;;
1364       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1365          ac_unrecognized_sep=', ';;
1366     esac
1367     eval with_$ac_useropt=\$ac_optarg ;;
1368
1369   -without-* | --without-*)
1370     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1371     # Reject names that are not valid shell variable names.
1372     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1373       as_fn_error $? "invalid package name: $ac_useropt"
1374     ac_useropt_orig=$ac_useropt
1375     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1376     case $ac_user_opts in
1377       *"
1378 "with_$ac_useropt"
1379 "*) ;;
1380       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1381          ac_unrecognized_sep=', ';;
1382     esac
1383     eval with_$ac_useropt=no ;;
1384
1385   --x)
1386     # Obsolete; use --with-x.
1387     with_x=yes ;;
1388
1389   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1390   | --x-incl | --x-inc | --x-in | --x-i)
1391     ac_prev=x_includes ;;
1392   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1393   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1394     x_includes=$ac_optarg ;;
1395
1396   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1397   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1398     ac_prev=x_libraries ;;
1399   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1400   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1401     x_libraries=$ac_optarg ;;
1402
1403   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1404 Try \`$0 --help' for more information"
1405     ;;
1406
1407   *=*)
1408     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1409     # Reject names that are not valid shell variable names.
1410     case $ac_envvar in #(
1411       '' | [0-9]* | *[!_$as_cr_alnum]* )
1412       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1413     esac
1414     eval $ac_envvar=\$ac_optarg
1415     export $ac_envvar ;;
1416
1417   *)
1418     # FIXME: should be removed in autoconf 3.0.
1419     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1420     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1421       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1422     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1423     ;;
1424
1425   esac
1426 done
1427
1428 if test -n "$ac_prev"; then
1429   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1430   as_fn_error $? "missing argument to $ac_option"
1431 fi
1432
1433 if test -n "$ac_unrecognized_opts"; then
1434   case $enable_option_checking in
1435     no) ;;
1436     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1437     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1438   esac
1439 fi
1440
1441 # Check all directory arguments for consistency.
1442 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1443                 datadir sysconfdir sharedstatedir localstatedir includedir \
1444                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1445                 libdir localedir mandir runstatedir
1446 do
1447   eval ac_val=\$$ac_var
1448   # Remove trailing slashes.
1449   case $ac_val in
1450     */ )
1451       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1452       eval $ac_var=\$ac_val;;
1453   esac
1454   # Be sure to have absolute directory names.
1455   case $ac_val in
1456     [\\/$]* | ?:[\\/]* )  continue;;
1457     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1458   esac
1459   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1460 done
1461
1462 # There might be people who depend on the old broken behavior: `$host'
1463 # used to hold the argument of --host etc.
1464 # FIXME: To remove some day.
1465 build=$build_alias
1466 host=$host_alias
1467 target=$target_alias
1468
1469 # FIXME: To remove some day.
1470 if test "x$host_alias" != x; then
1471   if test "x$build_alias" = x; then
1472     cross_compiling=maybe
1473   elif test "x$build_alias" != "x$host_alias"; then
1474     cross_compiling=yes
1475   fi
1476 fi
1477
1478 ac_tool_prefix=
1479 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1480
1481 test "$silent" = yes && exec 6>/dev/null
1482
1483
1484 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1485 ac_ls_di=`ls -di .` &&
1486 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1487   as_fn_error $? "working directory cannot be determined"
1488 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1489   as_fn_error $? "pwd does not report name of working directory"
1490
1491
1492 # Find the source files, if location was not specified.
1493 if test -z "$srcdir"; then
1494   ac_srcdir_defaulted=yes
1495   # Try the directory containing this script, then the parent directory.
1496   ac_confdir=`$as_dirname -- "$as_myself" ||
1497 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1498          X"$as_myself" : 'X\(//\)[^/]' \| \
1499          X"$as_myself" : 'X\(//\)$' \| \
1500          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1501 $as_echo X"$as_myself" |
1502     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1503             s//\1/
1504             q
1505           }
1506           /^X\(\/\/\)[^/].*/{
1507             s//\1/
1508             q
1509           }
1510           /^X\(\/\/\)$/{
1511             s//\1/
1512             q
1513           }
1514           /^X\(\/\).*/{
1515             s//\1/
1516             q
1517           }
1518           s/.*/./; q'`
1519   srcdir=$ac_confdir
1520   if test ! -r "$srcdir/$ac_unique_file"; then
1521     srcdir=..
1522   fi
1523 else
1524   ac_srcdir_defaulted=no
1525 fi
1526 if test ! -r "$srcdir/$ac_unique_file"; then
1527   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1528   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1529 fi
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1531 ac_abs_confdir=`(
1532         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1533         pwd)`
1534 # When building in place, set srcdir=.
1535 if test "$ac_abs_confdir" = "$ac_pwd"; then
1536   srcdir=.
1537 fi
1538 # Remove unnecessary trailing slashes from srcdir.
1539 # Double slashes in file names in object file debugging info
1540 # mess up M-x gdb in Emacs.
1541 case $srcdir in
1542 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1543 esac
1544 for ac_var in $ac_precious_vars; do
1545   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1546   eval ac_env_${ac_var}_value=\$${ac_var}
1547   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1548   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1549 done
1550
1551 #
1552 # Report the --help message.
1553 #
1554 if test "$ac_init_help" = "long"; then
1555   # Omit some internal or obsolete options to make the list less imposing.
1556   # This message is too long to be a string in the A/UX 3.1 sh.
1557   cat <<_ACEOF
1558 \`configure' configures geeqie 1.6 to adapt to many kinds of systems.
1559
1560 Usage: $0 [OPTION]... [VAR=VALUE]...
1561
1562 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1563 VAR=VALUE.  See below for descriptions of some of the useful variables.
1564
1565 Defaults for the options are specified in brackets.
1566
1567 Configuration:
1568   -h, --help              display this help and exit
1569       --help=short        display options specific to this package
1570       --help=recursive    display the short help of all the included packages
1571   -V, --version           display version information and exit
1572   -q, --quiet, --silent   do not print \`checking ...' messages
1573       --cache-file=FILE   cache test results in FILE [disabled]
1574   -C, --config-cache      alias for \`--cache-file=config.cache'
1575   -n, --no-create         do not create output files
1576       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1577
1578 Installation directories:
1579   --prefix=PREFIX         install architecture-independent files in PREFIX
1580                           [$ac_default_prefix]
1581   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1582                           [PREFIX]
1583
1584 By default, \`make install' will install all the files in
1585 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1586 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1587 for instance \`--prefix=\$HOME'.
1588
1589 For better control, use the options below.
1590
1591 Fine tuning of the installation directories:
1592   --bindir=DIR            user executables [EPREFIX/bin]
1593   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1594   --libexecdir=DIR        program executables [EPREFIX/libexec]
1595   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1596   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1597   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1598   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1599   --libdir=DIR            object code libraries [EPREFIX/lib]
1600   --includedir=DIR        C header files [PREFIX/include]
1601   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1602   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1603   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1604   --infodir=DIR           info documentation [DATAROOTDIR/info]
1605   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1606   --mandir=DIR            man documentation [DATAROOTDIR/man]
1607   --docdir=DIR            documentation root [DATAROOTDIR/doc/geeqie]
1608   --htmldir=DIR           html documentation [DOCDIR]
1609   --dvidir=DIR            dvi documentation [DOCDIR]
1610   --pdfdir=DIR            pdf documentation [DOCDIR]
1611   --psdir=DIR             ps documentation [DOCDIR]
1612 _ACEOF
1613
1614   cat <<\_ACEOF
1615
1616 Program names:
1617   --program-prefix=PREFIX            prepend PREFIX to installed program names
1618   --program-suffix=SUFFIX            append SUFFIX to installed program names
1619   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1620 _ACEOF
1621 fi
1622
1623 if test -n "$ac_init_help"; then
1624   case $ac_init_help in
1625      short | recursive ) echo "Configuration of geeqie 1.6:";;
1626    esac
1627   cat <<\_ACEOF
1628
1629 Optional Features:
1630   --disable-option-checking  ignore unrecognized --enable/--with options
1631   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1632   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1633   --enable-silent-rules   less verbose build output (undo: "make V=1")
1634   --disable-silent-rules  verbose build output (undo: "make V=0")
1635   --enable-maintainer-mode
1636                           enable make rules and dependencies not useful (and
1637                           sometimes confusing) to the casual installer
1638
1639 Development options:
1640   --enable-developer      turn on developers mode [default=no]
1641   --disable-doxygen-doc   don't generate any doxygen documentation
1642   --disable-doxygen-dot   don't generate graphics for doxygen documentation
1643   --enable-doxygen-man    generate doxygen manual pages
1644   --enable-doxygen-rtf    generate doxygen RTF documentation
1645   --enable-doxygen-xml    generate doxygen XML documentation
1646   --enable-doxygen-chm    generate doxygen compressed HTML help documentation
1647   --enable-doxygen-chi    generate doxygen seperate compressed HTML help index
1648                           file
1649   --disable-doxygen-html  don't generate doxygen plain HTML documentation
1650   --enable-doxygen-ps     generate doxygen PostScript documentation
1651   --enable-doxygen-pdf    generate doxygen PDF documentation
1652
1653 Development options:
1654   --enable-debug-flags    use compiler flags for debugging [default=no]
1655
1656 Development options:
1657   --enable-debug-log      enable debugging messages [default=yes]
1658
1659   --enable-deprecated     turn off checking of deprecated functions
1660                           [default=yes]
1661   --enable-dependency-tracking
1662                           do not reject slow dependency extractors
1663   --disable-dependency-tracking
1664                           speeds up one-time build
1665   --disable-largefile     omit support for large files
1666   --disable-nls           do not use Native Language Support
1667   --disable-glibtest      do not try to compile and run a test GLIB program
1668   --disable-gtk3          use gtk2 instead of gtk3
1669   --disable-gtktest       do not try to compile and run a test GTK+ program
1670   --disable-threads       disable thread support
1671   --disable-lirc          disable lirc support (auto)
1672   --disable-lcms          disable lcms support
1673   --disable-jpeg          disable direct jpeg support
1674   --disable-tiff          disable direct tiff support
1675   --disable-ffmpegthumbnailer
1676                           disable ffmpegthumbnailer support for generating
1677                           thumbnails of video files
1678   --disable-exiv2         disable exiv2 support
1679   --disable-map           disable map support
1680   --disable-gpu-accel     disable GPU acceleration support - experimental
1681   --disable-lua           disable lua support
1682   --disable-pdf           disable pdf support
1683   --disable-heif          disable heif support
1684   --disable-webp          disable webp support
1685   --disable-j2k           disable j2k support
1686   --disable-djvu          disable djvu support
1687
1688 Optional Packages:
1689   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1690   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1691   --with-readmedir=DIR    install path for readme files
1692   --with-htmldir=DIR      install path for html files
1693   --with-lirc-prefix=PATH Prefix where LIRC is installed
1694
1695 Some influential environment variables:
1696   DOXYGEN_PAPER_SIZE
1697               a4wide (default), a4, letter, legal or executive
1698   CC          C compiler command
1699   CFLAGS      C compiler flags
1700   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1701               nonstandard directory <lib dir>
1702   LIBS        libraries to pass to the linker, e.g. -l<library>
1703   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1704               you have headers in a nonstandard directory <include dir>
1705   CXX         C++ compiler command
1706   CXXFLAGS    C++ compiler flags
1707   CPP         C preprocessor
1708   PKG_CONFIG  path to pkg-config utility
1709   PKG_CONFIG_PATH
1710               directories to add to pkg-config's search path
1711   PKG_CONFIG_LIBDIR
1712               path overriding pkg-config's built-in search path
1713   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1714   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1715   GLIB_GENMARSHAL
1716               value of glib_genmarshal for glib-2.0, overriding pkg-config
1717   GOBJECT_QUERY
1718               value of gobject_query for glib-2.0, overriding pkg-config
1719   GLIB_MKENUMS
1720               value of glib_mkenums for glib-2.0, overriding pkg-config
1721   GLIB_COMPILE_RESOURCES
1722               value of glib_compile_resources for gio-2.0, overriding
1723               pkg-config
1724   GTHREAD_CFLAGS
1725               C compiler flags for GTHREAD, overriding pkg-config
1726   GTHREAD_LIBS
1727               linker flags for GTHREAD, overriding pkg-config
1728   LCMS_CFLAGS C compiler flags for LCMS, overriding pkg-config
1729   LCMS_LIBS   linker flags for LCMS, overriding pkg-config
1730   FFMPEGTHUMBNAILER_CFLAGS
1731               C compiler flags for FFMPEGTHUMBNAILER, overriding pkg-config
1732   FFMPEGTHUMBNAILER_LIBS
1733               linker flags for FFMPEGTHUMBNAILER, overriding pkg-config
1734   EXIV2_CFLAGS
1735               C compiler flags for EXIV2, overriding pkg-config
1736   EXIV2_LIBS  linker flags for EXIV2, overriding pkg-config
1737   CLUTTER_CFLAGS
1738               C compiler flags for CLUTTER, overriding pkg-config
1739   CLUTTER_LIBS
1740               linker flags for CLUTTER, overriding pkg-config
1741   CLUTTER_GTK_CFLAGS
1742               C compiler flags for CLUTTER_GTK, overriding pkg-config
1743   CLUTTER_GTK_LIBS
1744               linker flags for CLUTTER_GTK, overriding pkg-config
1745   LIBCHAMPLAIN_CFLAGS
1746               C compiler flags for LIBCHAMPLAIN, overriding pkg-config
1747   LIBCHAMPLAIN_LIBS
1748               linker flags for LIBCHAMPLAIN, overriding pkg-config
1749   LIBCHAMPLAIN_GTK_CFLAGS
1750               C compiler flags for LIBCHAMPLAIN_GTK, overriding pkg-config
1751   LIBCHAMPLAIN_GTK_LIBS
1752               linker flags for LIBCHAMPLAIN_GTK, overriding pkg-config
1753   LUA_CFLAGS  C compiler flags for LUA, overriding pkg-config
1754   LUA_LIBS    linker flags for LUA, overriding pkg-config
1755   PDF_CFLAGS  C compiler flags for PDF, overriding pkg-config
1756   PDF_LIBS    linker flags for PDF, overriding pkg-config
1757   HEIF_CFLAGS C compiler flags for HEIF, overriding pkg-config
1758   HEIF_LIBS   linker flags for HEIF, overriding pkg-config
1759   WEBP_CFLAGS C compiler flags for WEBP, overriding pkg-config
1760   WEBP_LIBS   linker flags for WEBP, overriding pkg-config
1761   J2K_CFLAGS  C compiler flags for J2K, overriding pkg-config
1762   J2K_LIBS    linker flags for J2K, overriding pkg-config
1763   DJVU_CFLAGS C compiler flags for DJVU, overriding pkg-config
1764   DJVU_LIBS   linker flags for DJVU, overriding pkg-config
1765
1766 Use these variables to override the choices made by `configure' or to help
1767 it to find libraries and programs with nonstandard names/locations.
1768
1769 Report bugs to <https://github.com/BestImageViewer/geeqie/issues>.
1770 geeqie home page: <http://www.geeqie.org/>.
1771 _ACEOF
1772 ac_status=$?
1773 fi
1774
1775 if test "$ac_init_help" = "recursive"; then
1776   # If there are subdirs, report their specific --help.
1777   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1778     test -d "$ac_dir" ||
1779       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1780       continue
1781     ac_builddir=.
1782
1783 case "$ac_dir" in
1784 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1785 *)
1786   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1787   # A ".." for each directory in $ac_dir_suffix.
1788   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1789   case $ac_top_builddir_sub in
1790   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1791   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1792   esac ;;
1793 esac
1794 ac_abs_top_builddir=$ac_pwd
1795 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1796 # for backward compatibility:
1797 ac_top_builddir=$ac_top_build_prefix
1798
1799 case $srcdir in
1800   .)  # We are building in place.
1801     ac_srcdir=.
1802     ac_top_srcdir=$ac_top_builddir_sub
1803     ac_abs_top_srcdir=$ac_pwd ;;
1804   [\\/]* | ?:[\\/]* )  # Absolute name.
1805     ac_srcdir=$srcdir$ac_dir_suffix;
1806     ac_top_srcdir=$srcdir
1807     ac_abs_top_srcdir=$srcdir ;;
1808   *) # Relative name.
1809     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1810     ac_top_srcdir=$ac_top_build_prefix$srcdir
1811     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1812 esac
1813 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1814
1815     cd "$ac_dir" || { ac_status=$?; continue; }
1816     # Check for guested configure.
1817     if test -f "$ac_srcdir/configure.gnu"; then
1818       echo &&
1819       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1820     elif test -f "$ac_srcdir/configure"; then
1821       echo &&
1822       $SHELL "$ac_srcdir/configure" --help=recursive
1823     else
1824       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1825     fi || ac_status=$?
1826     cd "$ac_pwd" || { ac_status=$?; break; }
1827   done
1828 fi
1829
1830 test -n "$ac_init_help" && exit $ac_status
1831 if $ac_init_version; then
1832   cat <<\_ACEOF
1833 geeqie configure 1.6
1834 generated by GNU Autoconf 2.69
1835
1836 Copyright (C) 2012 Free Software Foundation, Inc.
1837 This configure script is free software; the Free Software Foundation
1838 gives unlimited permission to copy, distribute and modify it.
1839 _ACEOF
1840   exit
1841 fi
1842
1843 ## ------------------------ ##
1844 ## Autoconf initialization. ##
1845 ## ------------------------ ##
1846
1847 # ac_fn_c_try_compile LINENO
1848 # --------------------------
1849 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1850 ac_fn_c_try_compile ()
1851 {
1852   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853   rm -f conftest.$ac_objext
1854   if { { ac_try="$ac_compile"
1855 case "(($ac_try" in
1856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1857   *) ac_try_echo=$ac_try;;
1858 esac
1859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860 $as_echo "$ac_try_echo"; } >&5
1861   (eval "$ac_compile") 2>conftest.err
1862   ac_status=$?
1863   if test -s conftest.err; then
1864     grep -v '^ *+' conftest.err >conftest.er1
1865     cat conftest.er1 >&5
1866     mv -f conftest.er1 conftest.err
1867   fi
1868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1869   test $ac_status = 0; } && {
1870          test -z "$ac_c_werror_flag" ||
1871          test ! -s conftest.err
1872        } && test -s conftest.$ac_objext; then :
1873   ac_retval=0
1874 else
1875   $as_echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.$ac_ext >&5
1877
1878         ac_retval=1
1879 fi
1880   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881   as_fn_set_status $ac_retval
1882
1883 } # ac_fn_c_try_compile
1884
1885 # ac_fn_c_try_link LINENO
1886 # -----------------------
1887 # Try to link conftest.$ac_ext, and return whether this succeeded.
1888 ac_fn_c_try_link ()
1889 {
1890   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891   rm -f conftest.$ac_objext conftest$ac_exeext
1892   if { { ac_try="$ac_link"
1893 case "(($ac_try" in
1894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1895   *) ac_try_echo=$ac_try;;
1896 esac
1897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898 $as_echo "$ac_try_echo"; } >&5
1899   (eval "$ac_link") 2>conftest.err
1900   ac_status=$?
1901   if test -s conftest.err; then
1902     grep -v '^ *+' conftest.err >conftest.er1
1903     cat conftest.er1 >&5
1904     mv -f conftest.er1 conftest.err
1905   fi
1906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1907   test $ac_status = 0; } && {
1908          test -z "$ac_c_werror_flag" ||
1909          test ! -s conftest.err
1910        } && test -s conftest$ac_exeext && {
1911          test "$cross_compiling" = yes ||
1912          test -x conftest$ac_exeext
1913        }; then :
1914   ac_retval=0
1915 else
1916   $as_echo "$as_me: failed program was:" >&5
1917 sed 's/^/| /' conftest.$ac_ext >&5
1918
1919         ac_retval=1
1920 fi
1921   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1922   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1923   # interfere with the next link command; also delete a directory that is
1924   # left behind by Apple's compiler.  We do this before executing the actions.
1925   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1926   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1927   as_fn_set_status $ac_retval
1928
1929 } # ac_fn_c_try_link
1930
1931 # ac_fn_cxx_try_compile LINENO
1932 # ----------------------------
1933 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1934 ac_fn_cxx_try_compile ()
1935 {
1936   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1937   rm -f conftest.$ac_objext
1938   if { { ac_try="$ac_compile"
1939 case "(($ac_try" in
1940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1941   *) ac_try_echo=$ac_try;;
1942 esac
1943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1944 $as_echo "$ac_try_echo"; } >&5
1945   (eval "$ac_compile") 2>conftest.err
1946   ac_status=$?
1947   if test -s conftest.err; then
1948     grep -v '^ *+' conftest.err >conftest.er1
1949     cat conftest.er1 >&5
1950     mv -f conftest.er1 conftest.err
1951   fi
1952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1953   test $ac_status = 0; } && {
1954          test -z "$ac_cxx_werror_flag" ||
1955          test ! -s conftest.err
1956        } && test -s conftest.$ac_objext; then :
1957   ac_retval=0
1958 else
1959   $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1961
1962         ac_retval=1
1963 fi
1964   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1965   as_fn_set_status $ac_retval
1966
1967 } # ac_fn_cxx_try_compile
1968
1969 # ac_fn_c_try_cpp LINENO
1970 # ----------------------
1971 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1972 ac_fn_c_try_cpp ()
1973 {
1974   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975   if { { ac_try="$ac_cpp conftest.$ac_ext"
1976 case "(($ac_try" in
1977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1978   *) ac_try_echo=$ac_try;;
1979 esac
1980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1981 $as_echo "$ac_try_echo"; } >&5
1982   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1983   ac_status=$?
1984   if test -s conftest.err; then
1985     grep -v '^ *+' conftest.err >conftest.er1
1986     cat conftest.er1 >&5
1987     mv -f conftest.er1 conftest.err
1988   fi
1989   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1990   test $ac_status = 0; } > conftest.i && {
1991          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1992          test ! -s conftest.err
1993        }; then :
1994   ac_retval=0
1995 else
1996   $as_echo "$as_me: failed program was:" >&5
1997 sed 's/^/| /' conftest.$ac_ext >&5
1998
1999     ac_retval=1
2000 fi
2001   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2002   as_fn_set_status $ac_retval
2003
2004 } # ac_fn_c_try_cpp
2005
2006 # ac_fn_c_try_run LINENO
2007 # ----------------------
2008 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2009 # that executables *can* be run.
2010 ac_fn_c_try_run ()
2011 {
2012   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2013   if { { ac_try="$ac_link"
2014 case "(($ac_try" in
2015   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2016   *) ac_try_echo=$ac_try;;
2017 esac
2018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2019 $as_echo "$ac_try_echo"; } >&5
2020   (eval "$ac_link") 2>&5
2021   ac_status=$?
2022   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2023   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2024   { { case "(($ac_try" in
2025   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2026   *) ac_try_echo=$ac_try;;
2027 esac
2028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2029 $as_echo "$ac_try_echo"; } >&5
2030   (eval "$ac_try") 2>&5
2031   ac_status=$?
2032   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2033   test $ac_status = 0; }; }; then :
2034   ac_retval=0
2035 else
2036   $as_echo "$as_me: program exited with status $ac_status" >&5
2037        $as_echo "$as_me: failed program was:" >&5
2038 sed 's/^/| /' conftest.$ac_ext >&5
2039
2040        ac_retval=$ac_status
2041 fi
2042   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2043   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2044   as_fn_set_status $ac_retval
2045
2046 } # ac_fn_c_try_run
2047
2048 # ac_fn_c_check_func LINENO FUNC VAR
2049 # ----------------------------------
2050 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2051 ac_fn_c_check_func ()
2052 {
2053   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2055 $as_echo_n "checking for $2... " >&6; }
2056 if eval \${$3+:} false; then :
2057   $as_echo_n "(cached) " >&6
2058 else
2059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h.  */
2061 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2062    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2063 #define $2 innocuous_$2
2064
2065 /* System header to define __stub macros and hopefully few prototypes,
2066     which can conflict with char $2 (); below.
2067     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2068     <limits.h> exists even on freestanding compilers.  */
2069
2070 #ifdef __STDC__
2071 # include <limits.h>
2072 #else
2073 # include <assert.h>
2074 #endif
2075
2076 #undef $2
2077
2078 /* Override any GCC internal prototype to avoid an error.
2079    Use char because int might match the return type of a GCC
2080    builtin and then its argument prototype would still apply.  */
2081 #ifdef __cplusplus
2082 extern "C"
2083 #endif
2084 char $2 ();
2085 /* The GNU C library defines this for functions which it implements
2086     to always fail with ENOSYS.  Some functions are actually named
2087     something starting with __ and the normal name is an alias.  */
2088 #if defined __stub_$2 || defined __stub___$2
2089 choke me
2090 #endif
2091
2092 int
2093 main ()
2094 {
2095 return $2 ();
2096   ;
2097   return 0;
2098 }
2099 _ACEOF
2100 if ac_fn_c_try_link "$LINENO"; then :
2101   eval "$3=yes"
2102 else
2103   eval "$3=no"
2104 fi
2105 rm -f core conftest.err conftest.$ac_objext \
2106     conftest$ac_exeext conftest.$ac_ext
2107 fi
2108 eval ac_res=\$$3
2109                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2110 $as_echo "$ac_res" >&6; }
2111   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2112
2113 } # ac_fn_c_check_func
2114
2115 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2116 # -------------------------------------------------------
2117 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2118 # the include files in INCLUDES and setting the cache variable VAR
2119 # accordingly.
2120 ac_fn_c_check_header_mongrel ()
2121 {
2122   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2123   if eval \${$3+:} false; then :
2124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2125 $as_echo_n "checking for $2... " >&6; }
2126 if eval \${$3+:} false; then :
2127   $as_echo_n "(cached) " >&6
2128 fi
2129 eval ac_res=\$$3
2130                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2131 $as_echo "$ac_res" >&6; }
2132 else
2133   # Is the header compilable?
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2135 $as_echo_n "checking $2 usability... " >&6; }
2136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2137 /* end confdefs.h.  */
2138 $4
2139 #include <$2>
2140 _ACEOF
2141 if ac_fn_c_try_compile "$LINENO"; then :
2142   ac_header_compiler=yes
2143 else
2144   ac_header_compiler=no
2145 fi
2146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2148 $as_echo "$ac_header_compiler" >&6; }
2149
2150 # Is the header present?
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2152 $as_echo_n "checking $2 presence... " >&6; }
2153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2154 /* end confdefs.h.  */
2155 #include <$2>
2156 _ACEOF
2157 if ac_fn_c_try_cpp "$LINENO"; then :
2158   ac_header_preproc=yes
2159 else
2160   ac_header_preproc=no
2161 fi
2162 rm -f conftest.err conftest.i conftest.$ac_ext
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2164 $as_echo "$ac_header_preproc" >&6; }
2165
2166 # So?  What about this header?
2167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2168   yes:no: )
2169     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2170 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2171     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2172 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2173     ;;
2174   no:yes:* )
2175     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2176 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2177     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2178 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2179     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2180 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2181     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2182 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2183     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2184 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2185 ( $as_echo "## --------------------------------------------------------------- ##
2186 ## Report this to https://github.com/BestImageViewer/geeqie/issues ##
2187 ## --------------------------------------------------------------- ##"
2188      ) | sed "s/^/$as_me: WARNING:     /" >&2
2189     ;;
2190 esac
2191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2192 $as_echo_n "checking for $2... " >&6; }
2193 if eval \${$3+:} false; then :
2194   $as_echo_n "(cached) " >&6
2195 else
2196   eval "$3=\$ac_header_compiler"
2197 fi
2198 eval ac_res=\$$3
2199                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2200 $as_echo "$ac_res" >&6; }
2201 fi
2202   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2203
2204 } # ac_fn_c_check_header_mongrel
2205
2206 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2207 # -------------------------------------------------------
2208 # Tests whether HEADER exists and can be compiled using the include files in
2209 # INCLUDES, setting the cache variable VAR accordingly.
2210 ac_fn_c_check_header_compile ()
2211 {
2212   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2214 $as_echo_n "checking for $2... " >&6; }
2215 if eval \${$3+:} false; then :
2216   $as_echo_n "(cached) " >&6
2217 else
2218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2219 /* end confdefs.h.  */
2220 $4
2221 #include <$2>
2222 _ACEOF
2223 if ac_fn_c_try_compile "$LINENO"; then :
2224   eval "$3=yes"
2225 else
2226   eval "$3=no"
2227 fi
2228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2229 fi
2230 eval ac_res=\$$3
2231                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2232 $as_echo "$ac_res" >&6; }
2233   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2234
2235 } # ac_fn_c_check_header_compile
2236
2237 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2238 # ----------------------------------------------------
2239 # Tries to find if the field MEMBER exists in type AGGR, after including
2240 # INCLUDES, setting cache variable VAR accordingly.
2241 ac_fn_c_check_member ()
2242 {
2243   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2245 $as_echo_n "checking for $2.$3... " >&6; }
2246 if eval \${$4+:} false; then :
2247   $as_echo_n "(cached) " >&6
2248 else
2249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2250 /* end confdefs.h.  */
2251 $5
2252 int
2253 main ()
2254 {
2255 static $2 ac_aggr;
2256 if (ac_aggr.$3)
2257 return 0;
2258   ;
2259   return 0;
2260 }
2261 _ACEOF
2262 if ac_fn_c_try_compile "$LINENO"; then :
2263   eval "$4=yes"
2264 else
2265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2266 /* end confdefs.h.  */
2267 $5
2268 int
2269 main ()
2270 {
2271 static $2 ac_aggr;
2272 if (sizeof ac_aggr.$3)
2273 return 0;
2274   ;
2275   return 0;
2276 }
2277 _ACEOF
2278 if ac_fn_c_try_compile "$LINENO"; then :
2279   eval "$4=yes"
2280 else
2281   eval "$4=no"
2282 fi
2283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2284 fi
2285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2286 fi
2287 eval ac_res=\$$4
2288                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2289 $as_echo "$ac_res" >&6; }
2290   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2291
2292 } # ac_fn_c_check_member
2293 cat >config.log <<_ACEOF
2294 This file contains any messages produced by compilers while
2295 running configure, to aid debugging if configure makes a mistake.
2296
2297 It was created by geeqie $as_me 1.6, which was
2298 generated by GNU Autoconf 2.69.  Invocation command line was
2299
2300   $ $0 $@
2301
2302 _ACEOF
2303 exec 5>>config.log
2304 {
2305 cat <<_ASUNAME
2306 ## --------- ##
2307 ## Platform. ##
2308 ## --------- ##
2309
2310 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2311 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2312 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2313 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2314 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2315
2316 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2317 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2318
2319 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2320 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2321 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2322 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2323 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2324 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2325 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2326
2327 _ASUNAME
2328
2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 for as_dir in $PATH
2331 do
2332   IFS=$as_save_IFS
2333   test -z "$as_dir" && as_dir=.
2334     $as_echo "PATH: $as_dir"
2335   done
2336 IFS=$as_save_IFS
2337
2338 } >&5
2339
2340 cat >&5 <<_ACEOF
2341
2342
2343 ## ----------- ##
2344 ## Core tests. ##
2345 ## ----------- ##
2346
2347 _ACEOF
2348
2349
2350 # Keep a trace of the command line.
2351 # Strip out --no-create and --no-recursion so they do not pile up.
2352 # Strip out --silent because we don't want to record it for future runs.
2353 # Also quote any args containing shell meta-characters.
2354 # Make two passes to allow for proper duplicate-argument suppression.
2355 ac_configure_args=
2356 ac_configure_args0=
2357 ac_configure_args1=
2358 ac_must_keep_next=false
2359 for ac_pass in 1 2
2360 do
2361   for ac_arg
2362   do
2363     case $ac_arg in
2364     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2365     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2366     | -silent | --silent | --silen | --sile | --sil)
2367       continue ;;
2368     *\'*)
2369       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2370     esac
2371     case $ac_pass in
2372     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2373     2)
2374       as_fn_append ac_configure_args1 " '$ac_arg'"
2375       if test $ac_must_keep_next = true; then
2376         ac_must_keep_next=false # Got value, back to normal.
2377       else
2378         case $ac_arg in
2379           *=* | --config-cache | -C | -disable-* | --disable-* \
2380           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2381           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2382           | -with-* | --with-* | -without-* | --without-* | --x)
2383             case "$ac_configure_args0 " in
2384               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2385             esac
2386             ;;
2387           -* ) ac_must_keep_next=true ;;
2388         esac
2389       fi
2390       as_fn_append ac_configure_args " '$ac_arg'"
2391       ;;
2392     esac
2393   done
2394 done
2395 { ac_configure_args0=; unset ac_configure_args0;}
2396 { ac_configure_args1=; unset ac_configure_args1;}
2397
2398 # When interrupted or exit'd, cleanup temporary files, and complete
2399 # config.log.  We remove comments because anyway the quotes in there
2400 # would cause problems or look ugly.
2401 # WARNING: Use '\'' to represent an apostrophe within the trap.
2402 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2403 trap 'exit_status=$?
2404   # Save into config.log some information that might help in debugging.
2405   {
2406     echo
2407
2408     $as_echo "## ---------------- ##
2409 ## Cache variables. ##
2410 ## ---------------- ##"
2411     echo
2412     # The following way of writing the cache mishandles newlines in values,
2413 (
2414   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2415     eval ac_val=\$$ac_var
2416     case $ac_val in #(
2417     *${as_nl}*)
2418       case $ac_var in #(
2419       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2420 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2421       esac
2422       case $ac_var in #(
2423       _ | IFS | as_nl) ;; #(
2424       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2425       *) { eval $ac_var=; unset $ac_var;} ;;
2426       esac ;;
2427     esac
2428   done
2429   (set) 2>&1 |
2430     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2431     *${as_nl}ac_space=\ *)
2432       sed -n \
2433         "s/'\''/'\''\\\\'\'''\''/g;
2434           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2435       ;; #(
2436     *)
2437       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2438       ;;
2439     esac |
2440     sort
2441 )
2442     echo
2443
2444     $as_echo "## ----------------- ##
2445 ## Output variables. ##
2446 ## ----------------- ##"
2447     echo
2448     for ac_var in $ac_subst_vars
2449     do
2450       eval ac_val=\$$ac_var
2451       case $ac_val in
2452       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2453       esac
2454       $as_echo "$ac_var='\''$ac_val'\''"
2455     done | sort
2456     echo
2457
2458     if test -n "$ac_subst_files"; then
2459       $as_echo "## ------------------- ##
2460 ## File substitutions. ##
2461 ## ------------------- ##"
2462       echo
2463       for ac_var in $ac_subst_files
2464       do
2465         eval ac_val=\$$ac_var
2466         case $ac_val in
2467         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2468         esac
2469         $as_echo "$ac_var='\''$ac_val'\''"
2470       done | sort
2471       echo
2472     fi
2473
2474     if test -s confdefs.h; then
2475       $as_echo "## ----------- ##
2476 ## confdefs.h. ##
2477 ## ----------- ##"
2478       echo
2479       cat confdefs.h
2480       echo
2481     fi
2482     test "$ac_signal" != 0 &&
2483       $as_echo "$as_me: caught signal $ac_signal"
2484     $as_echo "$as_me: exit $exit_status"
2485   } >&5
2486   rm -f core *.core core.conftest.* &&
2487     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2488     exit $exit_status
2489 ' 0
2490 for ac_signal in 1 2 13 15; do
2491   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2492 done
2493 ac_signal=0
2494
2495 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2496 rm -f -r conftest* confdefs.h
2497
2498 $as_echo "/* confdefs.h */" > confdefs.h
2499
2500 # Predefined preprocessor variables.
2501
2502 cat >>confdefs.h <<_ACEOF
2503 #define PACKAGE_NAME "$PACKAGE_NAME"
2504 _ACEOF
2505
2506 cat >>confdefs.h <<_ACEOF
2507 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2508 _ACEOF
2509
2510 cat >>confdefs.h <<_ACEOF
2511 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2512 _ACEOF
2513
2514 cat >>confdefs.h <<_ACEOF
2515 #define PACKAGE_STRING "$PACKAGE_STRING"
2516 _ACEOF
2517
2518 cat >>confdefs.h <<_ACEOF
2519 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2520 _ACEOF
2521
2522 cat >>confdefs.h <<_ACEOF
2523 #define PACKAGE_URL "$PACKAGE_URL"
2524 _ACEOF
2525
2526
2527 # Let the site file select an alternate cache file if it wants to.
2528 # Prefer an explicitly selected file to automatically selected ones.
2529 ac_site_file1=NONE
2530 ac_site_file2=NONE
2531 if test -n "$CONFIG_SITE"; then
2532   # We do not want a PATH search for config.site.
2533   case $CONFIG_SITE in #((
2534     -*)  ac_site_file1=./$CONFIG_SITE;;
2535     */*) ac_site_file1=$CONFIG_SITE;;
2536     *)   ac_site_file1=./$CONFIG_SITE;;
2537   esac
2538 elif test "x$prefix" != xNONE; then
2539   ac_site_file1=$prefix/share/config.site
2540   ac_site_file2=$prefix/etc/config.site
2541 else
2542   ac_site_file1=$ac_default_prefix/share/config.site
2543   ac_site_file2=$ac_default_prefix/etc/config.site
2544 fi
2545 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2546 do
2547   test "x$ac_site_file" = xNONE && continue
2548   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2549     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2550 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2551     sed 's/^/| /' "$ac_site_file" >&5
2552     . "$ac_site_file" \
2553       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2555 as_fn_error $? "failed to load site script $ac_site_file
2556 See \`config.log' for more details" "$LINENO" 5; }
2557   fi
2558 done
2559
2560 if test -r "$cache_file"; then
2561   # Some versions of bash will fail to source /dev/null (special files
2562   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2563   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2564     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2565 $as_echo "$as_me: loading cache $cache_file" >&6;}
2566     case $cache_file in
2567       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2568       *)                      . "./$cache_file";;
2569     esac
2570   fi
2571 else
2572   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2573 $as_echo "$as_me: creating cache $cache_file" >&6;}
2574   >$cache_file
2575 fi
2576
2577 # Check that the precious variables saved in the cache have kept the same
2578 # value.
2579 ac_cache_corrupted=false
2580 for ac_var in $ac_precious_vars; do
2581   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2582   eval ac_new_set=\$ac_env_${ac_var}_set
2583   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2584   eval ac_new_val=\$ac_env_${ac_var}_value
2585   case $ac_old_set,$ac_new_set in
2586     set,)
2587       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2588 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2589       ac_cache_corrupted=: ;;
2590     ,set)
2591       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2592 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2593       ac_cache_corrupted=: ;;
2594     ,);;
2595     *)
2596       if test "x$ac_old_val" != "x$ac_new_val"; then
2597         # differences in whitespace do not lead to failure.
2598         ac_old_val_w=`echo x $ac_old_val`
2599         ac_new_val_w=`echo x $ac_new_val`
2600         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2601           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2602 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2603           ac_cache_corrupted=:
2604         else
2605           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2606 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2607           eval $ac_var=\$ac_old_val
2608         fi
2609         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2610 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2611         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2612 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2613       fi;;
2614   esac
2615   # Pass precious variables to config.status.
2616   if test "$ac_new_set" = set; then
2617     case $ac_new_val in
2618     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2619     *) ac_arg=$ac_var=$ac_new_val ;;
2620     esac
2621     case " $ac_configure_args " in
2622       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2623       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2624     esac
2625   fi
2626 done
2627 if $ac_cache_corrupted; then
2628   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2630   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2631 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2632   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2633 fi
2634 ## -------------------- ##
2635 ## Main body of script. ##
2636 ## -------------------- ##
2637
2638 ac_ext=c
2639 ac_cpp='$CPP $CPPFLAGS'
2640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2643
2644
2645
2646 # Add -Werror to the default CFLAGS
2647 CFLAGS+=" -Werror -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=return-type"
2648
2649 # Check for rightly dirs
2650
2651
2652 ac_aux_dir=
2653 for ac_dir in auxdir "$srcdir"/auxdir; do
2654   if test -f "$ac_dir/install-sh"; then
2655     ac_aux_dir=$ac_dir
2656     ac_install_sh="$ac_aux_dir/install-sh -c"
2657     break
2658   elif test -f "$ac_dir/install.sh"; then
2659     ac_aux_dir=$ac_dir
2660     ac_install_sh="$ac_aux_dir/install.sh -c"
2661     break
2662   elif test -f "$ac_dir/shtool"; then
2663     ac_aux_dir=$ac_dir
2664     ac_install_sh="$ac_aux_dir/shtool install -c"
2665     break
2666   fi
2667 done
2668 if test -z "$ac_aux_dir"; then
2669   as_fn_error $? "cannot find install-sh, install.sh, or shtool in auxdir \"$srcdir\"/auxdir" "$LINENO" 5
2670 fi
2671
2672 # These three variables are undocumented and unsupported,
2673 # and are intended to be withdrawn in a future Autoconf release.
2674 # They can cause serious problems if a builder's source tree is in a directory
2675 # whose full name contains unusual characters.
2676 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2677 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2678 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2679
2680
2681 # Require Automake 1.14 for %reldir% support
2682 am__api_version='1.16'
2683
2684 # Find a good install program.  We prefer a C program (faster),
2685 # so one script is as good as another.  But avoid the broken or
2686 # incompatible versions:
2687 # SysV /etc/install, /usr/sbin/install
2688 # SunOS /usr/etc/install
2689 # IRIX /sbin/install
2690 # AIX /bin/install
2691 # AmigaOS /C/install, which installs bootblocks on floppy discs
2692 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2693 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2694 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2695 # OS/2's system install, which has a completely different semantic
2696 # ./install, which can be erroneously created by make from ./install.sh.
2697 # Reject install programs that cannot install multiple files.
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2699 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2700 if test -z "$INSTALL"; then
2701 if ${ac_cv_path_install+:} false; then :
2702   $as_echo_n "(cached) " >&6
2703 else
2704   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2705 for as_dir in $PATH
2706 do
2707   IFS=$as_save_IFS
2708   test -z "$as_dir" && as_dir=.
2709     # Account for people who put trailing slashes in PATH elements.
2710 case $as_dir/ in #((
2711   ./ | .// | /[cC]/* | \
2712   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2713   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2714   /usr/ucb/* ) ;;
2715   *)
2716     # OSF1 and SCO ODT 3.0 have their own names for install.
2717     # Don't use installbsd from OSF since it installs stuff as root
2718     # by default.
2719     for ac_prog in ginstall scoinst install; do
2720       for ac_exec_ext in '' $ac_executable_extensions; do
2721         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2722           if test $ac_prog = install &&
2723             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2724             # AIX install.  It has an incompatible calling convention.
2725             :
2726           elif test $ac_prog = install &&
2727             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2728             # program-specific install script used by HP pwplus--don't use.
2729             :
2730           else
2731             rm -rf conftest.one conftest.two conftest.dir
2732             echo one > conftest.one
2733             echo two > conftest.two
2734             mkdir conftest.dir
2735             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2736               test -s conftest.one && test -s conftest.two &&
2737               test -s conftest.dir/conftest.one &&
2738               test -s conftest.dir/conftest.two
2739             then
2740               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2741               break 3
2742             fi
2743           fi
2744         fi
2745       done
2746     done
2747     ;;
2748 esac
2749
2750   done
2751 IFS=$as_save_IFS
2752
2753 rm -rf conftest.one conftest.two conftest.dir
2754
2755 fi
2756   if test "${ac_cv_path_install+set}" = set; then
2757     INSTALL=$ac_cv_path_install
2758   else
2759     # As a last resort, use the slow shell script.  Don't cache a
2760     # value for INSTALL within a source directory, because that will
2761     # break other packages using the cache if that directory is
2762     # removed, or if the value is a relative name.
2763     INSTALL=$ac_install_sh
2764   fi
2765 fi
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2767 $as_echo "$INSTALL" >&6; }
2768
2769 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2770 # It thinks the first close brace ends the variable substitution.
2771 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2772
2773 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2774
2775 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2776
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2778 $as_echo_n "checking whether build environment is sane... " >&6; }
2779 # Reject unsafe characters in $srcdir or the absolute working directory
2780 # name.  Accept space and tab only in the latter.
2781 am_lf='
2782 '
2783 case `pwd` in
2784   *[\\\"\#\$\&\'\`$am_lf]*)
2785     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2786 esac
2787 case $srcdir in
2788   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2789     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2790 esac
2791
2792 # Do 'set' in a subshell so we don't clobber the current shell's
2793 # arguments.  Must try -L first in case configure is actually a
2794 # symlink; some systems play weird games with the mod time of symlinks
2795 # (eg FreeBSD returns the mod time of the symlink's containing
2796 # directory).
2797 if (
2798    am_has_slept=no
2799    for am_try in 1 2; do
2800      echo "timestamp, slept: $am_has_slept" > conftest.file
2801      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2802      if test "$*" = "X"; then
2803         # -L didn't work.
2804         set X `ls -t "$srcdir/configure" conftest.file`
2805      fi
2806      if test "$*" != "X $srcdir/configure conftest.file" \
2807         && test "$*" != "X conftest.file $srcdir/configure"; then
2808
2809         # If neither matched, then we have a broken ls.  This can happen
2810         # if, for instance, CONFIG_SHELL is bash and it inherits a
2811         # broken ls alias from the environment.  This has actually
2812         # happened.  Such a system could not be considered "sane".
2813         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2814   alias in your environment" "$LINENO" 5
2815      fi
2816      if test "$2" = conftest.file || test $am_try -eq 2; then
2817        break
2818      fi
2819      # Just in case.
2820      sleep 1
2821      am_has_slept=yes
2822    done
2823    test "$2" = conftest.file
2824    )
2825 then
2826    # Ok.
2827    :
2828 else
2829    as_fn_error $? "newly created file is older than distributed files!
2830 Check your system clock" "$LINENO" 5
2831 fi
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2833 $as_echo "yes" >&6; }
2834 # If we didn't sleep, we still need to ensure time stamps of config.status and
2835 # generated files are strictly newer.
2836 am_sleep_pid=
2837 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2838   ( sleep 1 ) &
2839   am_sleep_pid=$!
2840 fi
2841
2842 rm -f conftest.file
2843
2844 test "$program_prefix" != NONE &&
2845   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2846 # Use a double $ so make ignores it.
2847 test "$program_suffix" != NONE &&
2848   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2849 # Double any \ or $.
2850 # By default was `s,x,x', remove it if useless.
2851 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2852 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2853
2854 # Expand $ac_aux_dir to an absolute path.
2855 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2856
2857 if test x"${MISSING+set}" != xset; then
2858   case $am_aux_dir in
2859   *\ * | *\     *)
2860     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2861   *)
2862     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2863   esac
2864 fi
2865 # Use eval to expand $SHELL
2866 if eval "$MISSING --is-lightweight"; then
2867   am_missing_run="$MISSING "
2868 else
2869   am_missing_run=
2870   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2871 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2872 fi
2873
2874 if test x"${install_sh+set}" != xset; then
2875   case $am_aux_dir in
2876   *\ * | *\     *)
2877     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2878   *)
2879     install_sh="\${SHELL} $am_aux_dir/install-sh"
2880   esac
2881 fi
2882
2883 # Installed binaries are usually stripped using 'strip' when the user
2884 # run "make install-strip".  However 'strip' might not be the right
2885 # tool to use in cross-compilation environments, therefore Automake
2886 # will honor the 'STRIP' environment variable to overrule this program.
2887 if test "$cross_compiling" != no; then
2888   if test -n "$ac_tool_prefix"; then
2889   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2890 set dummy ${ac_tool_prefix}strip; ac_word=$2
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2892 $as_echo_n "checking for $ac_word... " >&6; }
2893 if ${ac_cv_prog_STRIP+:} false; then :
2894   $as_echo_n "(cached) " >&6
2895 else
2896   if test -n "$STRIP"; then
2897   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2898 else
2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2900 for as_dir in $PATH
2901 do
2902   IFS=$as_save_IFS
2903   test -z "$as_dir" && as_dir=.
2904     for ac_exec_ext in '' $ac_executable_extensions; do
2905   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2906     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2907     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2908     break 2
2909   fi
2910 done
2911   done
2912 IFS=$as_save_IFS
2913
2914 fi
2915 fi
2916 STRIP=$ac_cv_prog_STRIP
2917 if test -n "$STRIP"; then
2918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2919 $as_echo "$STRIP" >&6; }
2920 else
2921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2922 $as_echo "no" >&6; }
2923 fi
2924
2925
2926 fi
2927 if test -z "$ac_cv_prog_STRIP"; then
2928   ac_ct_STRIP=$STRIP
2929   # Extract the first word of "strip", so it can be a program name with args.
2930 set dummy strip; ac_word=$2
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2932 $as_echo_n "checking for $ac_word... " >&6; }
2933 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2934   $as_echo_n "(cached) " >&6
2935 else
2936   if test -n "$ac_ct_STRIP"; then
2937   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2938 else
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2940 for as_dir in $PATH
2941 do
2942   IFS=$as_save_IFS
2943   test -z "$as_dir" && as_dir=.
2944     for ac_exec_ext in '' $ac_executable_extensions; do
2945   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2946     ac_cv_prog_ac_ct_STRIP="strip"
2947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948     break 2
2949   fi
2950 done
2951   done
2952 IFS=$as_save_IFS
2953
2954 fi
2955 fi
2956 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2957 if test -n "$ac_ct_STRIP"; then
2958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2959 $as_echo "$ac_ct_STRIP" >&6; }
2960 else
2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2962 $as_echo "no" >&6; }
2963 fi
2964
2965   if test "x$ac_ct_STRIP" = x; then
2966     STRIP=":"
2967   else
2968     case $cross_compiling:$ac_tool_warned in
2969 yes:)
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2972 ac_tool_warned=yes ;;
2973 esac
2974     STRIP=$ac_ct_STRIP
2975   fi
2976 else
2977   STRIP="$ac_cv_prog_STRIP"
2978 fi
2979
2980 fi
2981 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2982
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2984 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2985 if test -z "$MKDIR_P"; then
2986   if ${ac_cv_path_mkdir+:} false; then :
2987   $as_echo_n "(cached) " >&6
2988 else
2989   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2991 do
2992   IFS=$as_save_IFS
2993   test -z "$as_dir" && as_dir=.
2994     for ac_prog in mkdir gmkdir; do
2995          for ac_exec_ext in '' $ac_executable_extensions; do
2996            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2997            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2998              'mkdir (GNU coreutils) '* | \
2999              'mkdir (coreutils) '* | \
3000              'mkdir (fileutils) '4.1*)
3001                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3002                break 3;;
3003            esac
3004          done
3005        done
3006   done
3007 IFS=$as_save_IFS
3008
3009 fi
3010
3011   test -d ./--version && rmdir ./--version
3012   if test "${ac_cv_path_mkdir+set}" = set; then
3013     MKDIR_P="$ac_cv_path_mkdir -p"
3014   else
3015     # As a last resort, use the slow shell script.  Don't cache a
3016     # value for MKDIR_P within a source directory, because that will
3017     # break other packages using the cache if that directory is
3018     # removed, or if the value is a relative name.
3019     MKDIR_P="$ac_install_sh -d"
3020   fi
3021 fi
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3023 $as_echo "$MKDIR_P" >&6; }
3024
3025 for ac_prog in gawk mawk nawk awk
3026 do
3027   # Extract the first word of "$ac_prog", so it can be a program name with args.
3028 set dummy $ac_prog; ac_word=$2
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if ${ac_cv_prog_AWK+:} false; then :
3032   $as_echo_n "(cached) " >&6
3033 else
3034   if test -n "$AWK"; then
3035   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3036 else
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 for as_dir in $PATH
3039 do
3040   IFS=$as_save_IFS
3041   test -z "$as_dir" && as_dir=.
3042     for ac_exec_ext in '' $ac_executable_extensions; do
3043   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044     ac_cv_prog_AWK="$ac_prog"
3045     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3046     break 2
3047   fi
3048 done
3049   done
3050 IFS=$as_save_IFS
3051
3052 fi
3053 fi
3054 AWK=$ac_cv_prog_AWK
3055 if test -n "$AWK"; then
3056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3057 $as_echo "$AWK" >&6; }
3058 else
3059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3060 $as_echo "no" >&6; }
3061 fi
3062
3063
3064   test -n "$AWK" && break
3065 done
3066
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3068 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3069 set x ${MAKE-make}
3070 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3071 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3072   $as_echo_n "(cached) " >&6
3073 else
3074   cat >conftest.make <<\_ACEOF
3075 SHELL = /bin/sh
3076 all:
3077         @echo '@@@%%%=$(MAKE)=@@@%%%'
3078 _ACEOF
3079 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3080 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3081   *@@@%%%=?*=@@@%%%*)
3082     eval ac_cv_prog_make_${ac_make}_set=yes;;
3083   *)
3084     eval ac_cv_prog_make_${ac_make}_set=no;;
3085 esac
3086 rm -f conftest.make
3087 fi
3088 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3090 $as_echo "yes" >&6; }
3091   SET_MAKE=
3092 else
3093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3094 $as_echo "no" >&6; }
3095   SET_MAKE="MAKE=${MAKE-make}"
3096 fi
3097
3098 rm -rf .tst 2>/dev/null
3099 mkdir .tst 2>/dev/null
3100 if test -d .tst; then
3101   am__leading_dot=.
3102 else
3103   am__leading_dot=_
3104 fi
3105 rmdir .tst 2>/dev/null
3106
3107 # Check whether --enable-silent-rules was given.
3108 if test "${enable_silent_rules+set}" = set; then :
3109   enableval=$enable_silent_rules;
3110 fi
3111
3112 case $enable_silent_rules in # (((
3113   yes) AM_DEFAULT_VERBOSITY=0;;
3114    no) AM_DEFAULT_VERBOSITY=1;;
3115     *) AM_DEFAULT_VERBOSITY=1;;
3116 esac
3117 am_make=${MAKE-make}
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3119 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3120 if ${am_cv_make_support_nested_variables+:} false; then :
3121   $as_echo_n "(cached) " >&6
3122 else
3123   if $as_echo 'TRUE=$(BAR$(V))
3124 BAR0=false
3125 BAR1=true
3126 V=1
3127 am__doit:
3128         @$(TRUE)
3129 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3130   am_cv_make_support_nested_variables=yes
3131 else
3132   am_cv_make_support_nested_variables=no
3133 fi
3134 fi
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3136 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3137 if test $am_cv_make_support_nested_variables = yes; then
3138     AM_V='$(V)'
3139   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3140 else
3141   AM_V=$AM_DEFAULT_VERBOSITY
3142   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3143 fi
3144 AM_BACKSLASH='\'
3145
3146 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3147   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3148   # is not polluted with repeated "-I."
3149   am__isrc=' -I$(srcdir)'
3150   # test to see if srcdir already configured
3151   if test -f $srcdir/config.status; then
3152     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3153   fi
3154 fi
3155
3156 # test whether we have cygpath
3157 if test -z "$CYGPATH_W"; then
3158   if (cygpath --version) >/dev/null 2>/dev/null; then
3159     CYGPATH_W='cygpath -w'
3160   else
3161     CYGPATH_W=echo
3162   fi
3163 fi
3164
3165
3166 # Define the identity of the package.
3167  PACKAGE='geeqie'
3168  VERSION='1.6'
3169
3170
3171 cat >>confdefs.h <<_ACEOF
3172 #define PACKAGE "$PACKAGE"
3173 _ACEOF
3174
3175
3176 cat >>confdefs.h <<_ACEOF
3177 #define VERSION "$VERSION"
3178 _ACEOF
3179
3180 # Some tools Automake needs.
3181
3182 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3183
3184
3185 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3186
3187
3188 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3189
3190
3191 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3192
3193
3194 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3195
3196 # For better backward compatibility.  To be removed once Automake 1.9.x
3197 # dies out for good.  For more background, see:
3198 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3199 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3200 mkdir_p='$(MKDIR_P)'
3201
3202 # We need awk for the "check" target (and possibly the TAP driver).  The
3203 # system "awk" is bad on some platforms.
3204 # Always define AMTAR for backward compatibility.  Yes, it's still used
3205 # in the wild :-(  We should find a proper way to deprecate it ...
3206 AMTAR='$${TAR-tar}'
3207
3208
3209 # We'll loop over all known methods to create a tar archive until one works.
3210 _am_tools='gnutar plaintar pax cpio none'
3211
3212 # The POSIX 1988 'ustar' format is defined with fixed-size fields.
3213       # There is notably a 21 bits limit for the UID and the GID.  In fact,
3214       # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3215       # and bug#13588).
3216       am_max_uid=2097151 # 2^21 - 1
3217       am_max_gid=$am_max_uid
3218       # The $UID and $GID variables are not portable, so we need to resort
3219       # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
3220       # below are definitely unexpected, so allow the users to see them
3221       # (that is, avoid stderr redirection).
3222       am_uid=`id -u || echo unknown`
3223       am_gid=`id -g || echo unknown`
3224       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3225 $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3226       if test $am_uid -le $am_max_uid; then
3227          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3228 $as_echo "yes" >&6; }
3229       else
3230          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3231 $as_echo "no" >&6; }
3232          _am_tools=none
3233       fi
3234       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3235 $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3236       if test $am_gid -le $am_max_gid; then
3237          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3238 $as_echo "yes" >&6; }
3239       else
3240         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3241 $as_echo "no" >&6; }
3242         _am_tools=none
3243       fi
3244
3245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3246 $as_echo_n "checking how to create a ustar tar archive... " >&6; }
3247
3248   # Go ahead even if we have the value already cached.  We do so because we
3249   # need to set the values for the 'am__tar' and 'am__untar' variables.
3250   _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3251
3252   for _am_tool in $_am_tools; do
3253     case $_am_tool in
3254     gnutar)
3255       for _am_tar in tar gnutar gtar; do
3256         { echo "$as_me:$LINENO: $_am_tar --version" >&5
3257    ($_am_tar --version) >&5 2>&5
3258    ac_status=$?
3259    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260    (exit $ac_status); } && break
3261       done
3262       am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3263       am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3264       am__untar="$_am_tar -xf -"
3265       ;;
3266     plaintar)
3267       # Must skip GNU tar: if it does not support --format= it doesn't create
3268       # ustar tarball either.
3269       (tar --version) >/dev/null 2>&1 && continue
3270       am__tar='tar chf - "$$tardir"'
3271       am__tar_='tar chf - "$tardir"'
3272       am__untar='tar xf -'
3273       ;;
3274     pax)
3275       am__tar='pax -L -x ustar -w "$$tardir"'
3276       am__tar_='pax -L -x ustar -w "$tardir"'
3277       am__untar='pax -r'
3278       ;;
3279     cpio)
3280       am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3281       am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3282       am__untar='cpio -i -H ustar -d'
3283       ;;
3284     none)
3285       am__tar=false
3286       am__tar_=false
3287       am__untar=false
3288       ;;
3289     esac
3290
3291     # If the value was cached, stop now.  We just wanted to have am__tar
3292     # and am__untar set.
3293     test -n "${am_cv_prog_tar_ustar}" && break
3294
3295     # tar/untar a dummy directory, and stop if the command works.
3296     rm -rf conftest.dir
3297     mkdir conftest.dir
3298     echo GrepMe > conftest.dir/file
3299     { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3300    (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3301    ac_status=$?
3302    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303    (exit $ac_status); }
3304     rm -rf conftest.dir
3305     if test -s conftest.tar; then
3306       { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3307    ($am__untar <conftest.tar) >&5 2>&5
3308    ac_status=$?
3309    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310    (exit $ac_status); }
3311       { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3312    (cat conftest.dir/file) >&5 2>&5
3313    ac_status=$?
3314    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315    (exit $ac_status); }
3316       grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3317     fi
3318   done
3319   rm -rf conftest.dir
3320
3321   if ${am_cv_prog_tar_ustar+:} false; then :
3322   $as_echo_n "(cached) " >&6
3323 else
3324   am_cv_prog_tar_ustar=$_am_tool
3325 fi
3326
3327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3328 $as_echo "$am_cv_prog_tar_ustar" >&6; }
3329
3330
3331
3332
3333
3334
3335 # POSIX will say in a future version that running "rm -f" with no argument
3336 # is OK; and we want to be able to make that assumption in our Makefile
3337 # recipes.  So use an aggressive probe to check that the usage we want is
3338 # actually supported "in the wild" to an acceptable degree.
3339 # See automake bug#10828.
3340 # To make any issue more visible, cause the running configure to be aborted
3341 # by default if the 'rm' program in use doesn't match our expectations; the
3342 # user can still override this though.
3343 if rm -f && rm -fr && rm -rf; then : OK; else
3344   cat >&2 <<'END'
3345 Oops!
3346
3347 Your 'rm' program seems unable to run without file operands specified
3348 on the command line, even when the '-f' option is present.  This is contrary
3349 to the behaviour of most rm programs out there, and not conforming with
3350 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3351
3352 Please tell bug-automake@gnu.org about your system, including the value
3353 of your $PATH and any error possibly output before this message.  This
3354 can help us improve future automake versions.
3355
3356 END
3357   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3358     echo 'Configuration will proceed anyway, since you have set the' >&2
3359     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3360     echo >&2
3361   else
3362     cat >&2 <<'END'
3363 Aborting the configuration process, to ensure you take notice of the issue.
3364
3365 You can download and install GNU coreutils to get an 'rm' implementation
3366 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3367
3368 If you want to complete the configuration process using your problematic
3369 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3370 to "yes", and re-run configure.
3371
3372 END
3373     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3374   fi
3375 fi
3376
3377
3378 ac_config_headers="$ac_config_headers config.h"
3379
3380
3381 # Only for developers
3382
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3384 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3385     # Check whether --enable-maintainer-mode was given.
3386 if test "${enable_maintainer_mode+set}" = set; then :
3387   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3388 else
3389   USE_MAINTAINER_MODE=no
3390 fi
3391
3392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3393 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3394    if test $USE_MAINTAINER_MODE = yes; then
3395   MAINTAINER_MODE_TRUE=
3396   MAINTAINER_MODE_FALSE='#'
3397 else
3398   MAINTAINER_MODE_TRUE='#'
3399   MAINTAINER_MODE_FALSE=
3400 fi
3401
3402   MAINT=$MAINTAINER_MODE_TRUE
3403
3404
3405
3406 # Silent build for automake >= 1.11
3407 # Check whether --enable-silent-rules was given.
3408 if test "${enable_silent_rules+set}" = set; then :
3409   enableval=$enable_silent_rules;
3410 fi
3411
3412 case $enable_silent_rules in # (((
3413   yes) AM_DEFAULT_VERBOSITY=0;;
3414    no) AM_DEFAULT_VERBOSITY=1;;
3415     *) AM_DEFAULT_VERBOSITY=0;;
3416 esac
3417 am_make=${MAKE-make}
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3419 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3420 if ${am_cv_make_support_nested_variables+:} false; then :
3421   $as_echo_n "(cached) " >&6
3422 else
3423   if $as_echo 'TRUE=$(BAR$(V))
3424 BAR0=false
3425 BAR1=true
3426 V=1
3427 am__doit:
3428         @$(TRUE)
3429 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3430   am_cv_make_support_nested_variables=yes
3431 else
3432   am_cv_make_support_nested_variables=no
3433 fi
3434 fi
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3436 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3437 if test $am_cv_make_support_nested_variables = yes; then
3438     AM_V='$(V)'
3439   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3440 else
3441   AM_V=$AM_DEFAULT_VERBOSITY
3442   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3443 fi
3444 AM_BACKSLASH='\'
3445
3446
3447 # Check whether --enable-developer was given.
3448 if test "${enable_developer+set}" = set; then :
3449   enableval=$enable_developer;
3450   __IS_DEVELOPER=yes
3451
3452 else
3453
3454 if test "x${enable_developer}" != "xyes"
3455 then
3456   __IS_DEVELOPER=no
3457 else
3458   __IS_DEVELOPER=yes
3459 fi
3460
3461 fi
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475 # Files:
3476 DX_PROJECT=$PACKAGE_NAME
3477
3478 DX_CONFIG=doxygen.conf
3479
3480 DX_DOCDIR=doc/doxygen
3481
3482
3483 # Environment variables used inside doxygen.cfg:
3484 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
3485
3486 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
3487
3488 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
3489
3490 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
3491
3492
3493 # Doxygen itself:
3494
3495
3496
3497
3498     # Check whether --enable-doxygen-doc was given.
3499 if test "${enable_doxygen_doc+set}" = set; then :
3500   enableval=$enable_doxygen_doc;
3501 case "$enableval" in
3502 #(
3503 y|Y|yes|Yes|YES)
3504     DX_FLAG_doc=1
3505
3506
3507 ;; #(
3508 n|N|no|No|NO)
3509     DX_FLAG_doc=0
3510
3511 ;; #(
3512 *)
3513     as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
3514 ;;
3515 esac
3516
3517 else
3518
3519 DX_FLAG_doc=1
3520
3521
3522
3523 fi
3524
3525 if test "$DX_FLAG_doc" = 1; then
3526
3527 if test -n "$ac_tool_prefix"; then
3528   # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
3529 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3531 $as_echo_n "checking for $ac_word... " >&6; }
3532 if ${ac_cv_path_DX_DOXYGEN+:} false; then :
3533   $as_echo_n "(cached) " >&6
3534 else
3535   case $DX_DOXYGEN in
3536   [\\/]* | ?:[\\/]*)
3537   ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
3538   ;;
3539   *)
3540   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3541 for as_dir in $PATH
3542 do
3543   IFS=$as_save_IFS
3544   test -z "$as_dir" && as_dir=.
3545     for ac_exec_ext in '' $ac_executable_extensions; do
3546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3547     ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
3548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3549     break 2
3550   fi
3551 done
3552   done
3553 IFS=$as_save_IFS
3554
3555   ;;
3556 esac
3557 fi
3558 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
3559 if test -n "$DX_DOXYGEN"; then
3560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
3561 $as_echo "$DX_DOXYGEN" >&6; }
3562 else
3563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3565 fi
3566
3567
3568 fi
3569 if test -z "$ac_cv_path_DX_DOXYGEN"; then
3570   ac_pt_DX_DOXYGEN=$DX_DOXYGEN
3571   # Extract the first word of "doxygen", so it can be a program name with args.
3572 set dummy doxygen; ac_word=$2
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3574 $as_echo_n "checking for $ac_word... " >&6; }
3575 if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
3576   $as_echo_n "(cached) " >&6
3577 else
3578   case $ac_pt_DX_DOXYGEN in
3579   [\\/]* | ?:[\\/]*)
3580   ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
3581   ;;
3582   *)
3583   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3584 for as_dir in $PATH
3585 do
3586   IFS=$as_save_IFS
3587   test -z "$as_dir" && as_dir=.
3588     for ac_exec_ext in '' $ac_executable_extensions; do
3589   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3590     ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
3591     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3592     break 2
3593   fi
3594 done
3595   done
3596 IFS=$as_save_IFS
3597
3598   ;;
3599 esac
3600 fi
3601 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
3602 if test -n "$ac_pt_DX_DOXYGEN"; then
3603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
3604 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
3605 else
3606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607 $as_echo "no" >&6; }
3608 fi
3609
3610   if test "x$ac_pt_DX_DOXYGEN" = x; then
3611     DX_DOXYGEN=""
3612   else
3613     case $cross_compiling:$ac_tool_warned in
3614 yes:)
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3617 ac_tool_warned=yes ;;
3618 esac
3619     DX_DOXYGEN=$ac_pt_DX_DOXYGEN
3620   fi
3621 else
3622   DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
3623 fi
3624
3625 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
3626     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
3627 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
3628     DX_FLAG_doc=0
3629
3630 fi
3631
3632
3633 if test -n "$ac_tool_prefix"; then
3634   # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
3635 set dummy ${ac_tool_prefix}perl; ac_word=$2
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637 $as_echo_n "checking for $ac_word... " >&6; }
3638 if ${ac_cv_path_DX_PERL+:} false; then :
3639   $as_echo_n "(cached) " >&6
3640 else
3641   case $DX_PERL in
3642   [\\/]* | ?:[\\/]*)
3643   ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
3644   ;;
3645   *)
3646   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 for as_dir in $PATH
3648 do
3649   IFS=$as_save_IFS
3650   test -z "$as_dir" && as_dir=.
3651     for ac_exec_ext in '' $ac_executable_extensions; do
3652   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3653     ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
3654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3655     break 2
3656   fi
3657 done
3658   done
3659 IFS=$as_save_IFS
3660
3661   ;;
3662 esac
3663 fi
3664 DX_PERL=$ac_cv_path_DX_PERL
3665 if test -n "$DX_PERL"; then
3666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
3667 $as_echo "$DX_PERL" >&6; }
3668 else
3669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3671 fi
3672
3673
3674 fi
3675 if test -z "$ac_cv_path_DX_PERL"; then
3676   ac_pt_DX_PERL=$DX_PERL
3677   # Extract the first word of "perl", so it can be a program name with args.
3678 set dummy perl; ac_word=$2
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
3682   $as_echo_n "(cached) " >&6
3683 else
3684   case $ac_pt_DX_PERL in
3685   [\\/]* | ?:[\\/]*)
3686   ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
3687   ;;
3688   *)
3689   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 for as_dir in $PATH
3691 do
3692   IFS=$as_save_IFS
3693   test -z "$as_dir" && as_dir=.
3694     for ac_exec_ext in '' $ac_executable_extensions; do
3695   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3696     ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
3697     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698     break 2
3699   fi
3700 done
3701   done
3702 IFS=$as_save_IFS
3703
3704   ;;
3705 esac
3706 fi
3707 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
3708 if test -n "$ac_pt_DX_PERL"; then
3709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
3710 $as_echo "$ac_pt_DX_PERL" >&6; }
3711 else
3712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3713 $as_echo "no" >&6; }
3714 fi
3715
3716   if test "x$ac_pt_DX_PERL" = x; then
3717     DX_PERL=""
3718   else
3719     case $cross_compiling:$ac_tool_warned in
3720 yes:)
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3723 ac_tool_warned=yes ;;
3724 esac
3725     DX_PERL=$ac_pt_DX_PERL
3726   fi
3727 else
3728   DX_PERL="$ac_cv_path_DX_PERL"
3729 fi
3730
3731 if test "$DX_FLAG_doc$DX_PERL" = 1; then
3732     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
3733 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
3734     DX_FLAG_doc=0
3735
3736 fi
3737
3738     :
3739 fi
3740 if test "$DX_FLAG_doc" = 1; then
3741      if :; then
3742   DX_COND_doc_TRUE=
3743   DX_COND_doc_FALSE='#'
3744 else
3745   DX_COND_doc_TRUE='#'
3746   DX_COND_doc_FALSE=
3747 fi
3748
3749     DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
3750
3751     :
3752 else
3753      if false; then
3754   DX_COND_doc_TRUE=
3755   DX_COND_doc_FALSE='#'
3756 else
3757   DX_COND_doc_TRUE='#'
3758   DX_COND_doc_FALSE=
3759 fi
3760
3761
3762     :
3763 fi
3764
3765
3766 # Dot for graphics:
3767
3768
3769
3770
3771     # Check whether --enable-doxygen-dot was given.
3772 if test "${enable_doxygen_dot+set}" = set; then :
3773   enableval=$enable_doxygen_dot;
3774 case "$enableval" in
3775 #(
3776 y|Y|yes|Yes|YES)
3777     DX_FLAG_dot=1
3778
3779
3780 test "$DX_FLAG_doc" = "1" \
3781 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
3782
3783 ;; #(
3784 n|N|no|No|NO)
3785     DX_FLAG_dot=0
3786
3787 ;; #(
3788 *)
3789     as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
3790 ;;
3791 esac
3792
3793 else
3794
3795 DX_FLAG_dot=1
3796
3797
3798 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
3799
3800
3801
3802 fi
3803
3804 if test "$DX_FLAG_dot" = 1; then
3805
3806 if test -n "$ac_tool_prefix"; then
3807   # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
3808 set dummy ${ac_tool_prefix}dot; ac_word=$2
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3810 $as_echo_n "checking for $ac_word... " >&6; }
3811 if ${ac_cv_path_DX_DOT+:} false; then :
3812   $as_echo_n "(cached) " >&6
3813 else
3814   case $DX_DOT in
3815   [\\/]* | ?:[\\/]*)
3816   ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
3817   ;;
3818   *)
3819   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3820 for as_dir in $PATH
3821 do
3822   IFS=$as_save_IFS
3823   test -z "$as_dir" && as_dir=.
3824     for ac_exec_ext in '' $ac_executable_extensions; do
3825   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3826     ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
3827     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3828     break 2
3829   fi
3830 done
3831   done
3832 IFS=$as_save_IFS
3833
3834   ;;
3835 esac
3836 fi
3837 DX_DOT=$ac_cv_path_DX_DOT
3838 if test -n "$DX_DOT"; then
3839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
3840 $as_echo "$DX_DOT" >&6; }
3841 else
3842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843 $as_echo "no" >&6; }
3844 fi
3845
3846
3847 fi
3848 if test -z "$ac_cv_path_DX_DOT"; then
3849   ac_pt_DX_DOT=$DX_DOT
3850   # Extract the first word of "dot", so it can be a program name with args.
3851 set dummy dot; ac_word=$2
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3853 $as_echo_n "checking for $ac_word... " >&6; }
3854 if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
3855   $as_echo_n "(cached) " >&6
3856 else
3857   case $ac_pt_DX_DOT in
3858   [\\/]* | ?:[\\/]*)
3859   ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
3860   ;;
3861   *)
3862   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3863 for as_dir in $PATH
3864 do
3865   IFS=$as_save_IFS
3866   test -z "$as_dir" && as_dir=.
3867     for ac_exec_ext in '' $ac_executable_extensions; do
3868   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3869     ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
3870     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3871     break 2
3872   fi
3873 done
3874   done
3875 IFS=$as_save_IFS
3876
3877   ;;
3878 esac
3879 fi
3880 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
3881 if test -n "$ac_pt_DX_DOT"; then
3882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
3883 $as_echo "$ac_pt_DX_DOT" >&6; }
3884 else
3885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3886 $as_echo "no" >&6; }
3887 fi
3888
3889   if test "x$ac_pt_DX_DOT" = x; then
3890     DX_DOT=""
3891   else
3892     case $cross_compiling:$ac_tool_warned in
3893 yes:)
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3896 ac_tool_warned=yes ;;
3897 esac
3898     DX_DOT=$ac_pt_DX_DOT
3899   fi
3900 else
3901   DX_DOT="$ac_cv_path_DX_DOT"
3902 fi
3903
3904 if test "$DX_FLAG_dot$DX_DOT" = 1; then
3905     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
3906 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
3907     DX_FLAG_dot=0
3908
3909 fi
3910
3911     :
3912 fi
3913 if test "$DX_FLAG_dot" = 1; then
3914      if :; then
3915   DX_COND_dot_TRUE=
3916   DX_COND_dot_FALSE='#'
3917 else
3918   DX_COND_dot_TRUE='#'
3919   DX_COND_dot_FALSE=
3920 fi
3921
3922     DX_ENV="$DX_ENV HAVE_DOT='YES'"
3923
3924              DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
3925
3926     :
3927 else
3928      if false; then
3929   DX_COND_dot_TRUE=
3930   DX_COND_dot_FALSE='#'
3931 else
3932   DX_COND_dot_TRUE='#'
3933   DX_COND_dot_FALSE=
3934 fi
3935
3936     DX_ENV="$DX_ENV HAVE_DOT='NO'"
3937
3938     :
3939 fi
3940
3941
3942 # Man pages generation:
3943
3944
3945
3946
3947     # Check whether --enable-doxygen-man was given.
3948 if test "${enable_doxygen_man+set}" = set; then :
3949   enableval=$enable_doxygen_man;
3950 case "$enableval" in
3951 #(
3952 y|Y|yes|Yes|YES)
3953     DX_FLAG_man=1
3954
3955
3956 test "$DX_FLAG_doc" = "1" \
3957 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
3958
3959 ;; #(
3960 n|N|no|No|NO)
3961     DX_FLAG_man=0
3962
3963 ;; #(
3964 *)
3965     as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
3966 ;;
3967 esac
3968
3969 else
3970
3971 DX_FLAG_man=0
3972
3973
3974 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
3975
3976
3977
3978 fi
3979
3980 if test "$DX_FLAG_man" = 1; then
3981
3982     :
3983 fi
3984 if test "$DX_FLAG_man" = 1; then
3985      if :; then
3986   DX_COND_man_TRUE=
3987   DX_COND_man_FALSE='#'
3988 else
3989   DX_COND_man_TRUE='#'
3990   DX_COND_man_FALSE=
3991 fi
3992
3993     DX_ENV="$DX_ENV GENERATE_MAN='YES'"
3994
3995     :
3996 else
3997      if false; then
3998   DX_COND_man_TRUE=
3999   DX_COND_man_FALSE='#'
4000 else
4001   DX_COND_man_TRUE='#'
4002   DX_COND_man_FALSE=
4003 fi
4004
4005     DX_ENV="$DX_ENV GENERATE_MAN='NO'"
4006
4007     :
4008 fi
4009
4010
4011 # RTF file generation:
4012
4013
4014
4015
4016     # Check whether --enable-doxygen-rtf was given.
4017 if test "${enable_doxygen_rtf+set}" = set; then :
4018   enableval=$enable_doxygen_rtf;
4019 case "$enableval" in
4020 #(
4021 y|Y|yes|Yes|YES)
4022     DX_FLAG_rtf=1
4023
4024
4025 test "$DX_FLAG_doc" = "1" \
4026 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
4027
4028 ;; #(
4029 n|N|no|No|NO)
4030     DX_FLAG_rtf=0
4031
4032 ;; #(
4033 *)
4034     as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
4035 ;;
4036 esac
4037
4038 else
4039
4040 DX_FLAG_rtf=0
4041
4042
4043 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
4044
4045
4046
4047 fi
4048
4049 if test "$DX_FLAG_rtf" = 1; then
4050
4051     :
4052 fi
4053 if test "$DX_FLAG_rtf" = 1; then
4054      if :; then
4055   DX_COND_rtf_TRUE=
4056   DX_COND_rtf_FALSE='#'
4057 else
4058   DX_COND_rtf_TRUE='#'
4059   DX_COND_rtf_FALSE=
4060 fi
4061
4062     DX_ENV="$DX_ENV GENERATE_RTF='YES'"
4063
4064     :
4065 else
4066      if false; then
4067   DX_COND_rtf_TRUE=
4068   DX_COND_rtf_FALSE='#'
4069 else
4070   DX_COND_rtf_TRUE='#'
4071   DX_COND_rtf_FALSE=
4072 fi
4073
4074     DX_ENV="$DX_ENV GENERATE_RTF='NO'"
4075
4076     :
4077 fi
4078
4079
4080 # XML file generation:
4081
4082
4083
4084
4085     # Check whether --enable-doxygen-xml was given.
4086 if test "${enable_doxygen_xml+set}" = set; then :
4087   enableval=$enable_doxygen_xml;
4088 case "$enableval" in
4089 #(
4090 y|Y|yes|Yes|YES)
4091     DX_FLAG_xml=1
4092
4093
4094 test "$DX_FLAG_doc" = "1" \
4095 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
4096
4097 ;; #(
4098 n|N|no|No|NO)
4099     DX_FLAG_xml=0
4100
4101 ;; #(
4102 *)
4103     as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
4104 ;;
4105 esac
4106
4107 else
4108
4109 DX_FLAG_xml=0
4110
4111
4112 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
4113
4114
4115
4116 fi
4117
4118 if test "$DX_FLAG_xml" = 1; then
4119
4120     :
4121 fi
4122 if test "$DX_FLAG_xml" = 1; then
4123      if :; then
4124   DX_COND_xml_TRUE=
4125   DX_COND_xml_FALSE='#'
4126 else
4127   DX_COND_xml_TRUE='#'
4128   DX_COND_xml_FALSE=
4129 fi
4130
4131     DX_ENV="$DX_ENV GENERATE_XML='YES'"
4132
4133     :
4134 else
4135      if false; then
4136   DX_COND_xml_TRUE=
4137   DX_COND_xml_FALSE='#'
4138 else
4139   DX_COND_xml_TRUE='#'
4140   DX_COND_xml_FALSE=
4141 fi
4142
4143     DX_ENV="$DX_ENV GENERATE_XML='NO'"
4144
4145     :
4146 fi
4147
4148
4149 # (Compressed) HTML help generation:
4150
4151
4152
4153
4154     # Check whether --enable-doxygen-chm was given.
4155 if test "${enable_doxygen_chm+set}" = set; then :
4156   enableval=$enable_doxygen_chm;
4157 case "$enableval" in
4158 #(
4159 y|Y|yes|Yes|YES)
4160     DX_FLAG_chm=1
4161
4162
4163 test "$DX_FLAG_doc" = "1" \
4164 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
4165
4166 ;; #(
4167 n|N|no|No|NO)
4168     DX_FLAG_chm=0
4169
4170 ;; #(
4171 *)
4172     as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
4173 ;;
4174 esac
4175
4176 else
4177
4178 DX_FLAG_chm=0
4179
4180
4181 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
4182
4183
4184
4185 fi
4186
4187 if test "$DX_FLAG_chm" = 1; then
4188
4189 if test -n "$ac_tool_prefix"; then
4190   # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
4191 set dummy ${ac_tool_prefix}hhc; ac_word=$2
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4193 $as_echo_n "checking for $ac_word... " >&6; }
4194 if ${ac_cv_path_DX_HHC+:} false; then :
4195   $as_echo_n "(cached) " >&6
4196 else
4197   case $DX_HHC in
4198   [\\/]* | ?:[\\/]*)
4199   ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
4200   ;;
4201   *)
4202   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 for as_dir in $PATH
4204 do
4205   IFS=$as_save_IFS
4206   test -z "$as_dir" && as_dir=.
4207     for ac_exec_ext in '' $ac_executable_extensions; do
4208   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4209     ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
4210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4211     break 2
4212   fi
4213 done
4214   done
4215 IFS=$as_save_IFS
4216
4217   ;;
4218 esac
4219 fi
4220 DX_HHC=$ac_cv_path_DX_HHC
4221 if test -n "$DX_HHC"; then
4222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
4223 $as_echo "$DX_HHC" >&6; }
4224 else
4225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4226 $as_echo "no" >&6; }
4227 fi
4228
4229
4230 fi
4231 if test -z "$ac_cv_path_DX_HHC"; then
4232   ac_pt_DX_HHC=$DX_HHC
4233   # Extract the first word of "hhc", so it can be a program name with args.
4234 set dummy hhc; ac_word=$2
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4236 $as_echo_n "checking for $ac_word... " >&6; }
4237 if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
4238   $as_echo_n "(cached) " >&6
4239 else
4240   case $ac_pt_DX_HHC in
4241   [\\/]* | ?:[\\/]*)
4242   ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
4243   ;;
4244   *)
4245   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4246 for as_dir in $PATH
4247 do
4248   IFS=$as_save_IFS
4249   test -z "$as_dir" && as_dir=.
4250     for ac_exec_ext in '' $ac_executable_extensions; do
4251   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4252     ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
4253     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4254     break 2
4255   fi
4256 done
4257   done
4258 IFS=$as_save_IFS
4259
4260   ;;
4261 esac
4262 fi
4263 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
4264 if test -n "$ac_pt_DX_HHC"; then
4265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
4266 $as_echo "$ac_pt_DX_HHC" >&6; }
4267 else
4268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4269 $as_echo "no" >&6; }
4270 fi
4271
4272   if test "x$ac_pt_DX_HHC" = x; then
4273     DX_HHC=""
4274   else
4275     case $cross_compiling:$ac_tool_warned in
4276 yes:)
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4279 ac_tool_warned=yes ;;
4280 esac
4281     DX_HHC=$ac_pt_DX_HHC
4282   fi
4283 else
4284   DX_HHC="$ac_cv_path_DX_HHC"
4285 fi
4286
4287 if test "$DX_FLAG_chm$DX_HHC" = 1; then
4288     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
4289 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
4290     DX_FLAG_chm=0
4291
4292 fi
4293
4294     :
4295 fi
4296 if test "$DX_FLAG_chm" = 1; then
4297      if :; then
4298   DX_COND_chm_TRUE=
4299   DX_COND_chm_FALSE='#'
4300 else
4301   DX_COND_chm_TRUE='#'
4302   DX_COND_chm_FALSE=
4303 fi
4304
4305     DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
4306
4307              DX_ENV="$DX_ENV GENERATE_HTML='YES'"
4308
4309              DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
4310
4311     :
4312 else
4313      if false; then
4314   DX_COND_chm_TRUE=
4315   DX_COND_chm_FALSE='#'
4316 else
4317   DX_COND_chm_TRUE='#'
4318   DX_COND_chm_FALSE=
4319 fi
4320
4321     DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
4322
4323     :
4324 fi
4325
4326
4327 # Seperate CHI file generation.
4328
4329
4330
4331
4332     # Check whether --enable-doxygen-chi was given.
4333 if test "${enable_doxygen_chi+set}" = set; then :
4334   enableval=$enable_doxygen_chi;
4335 case "$enableval" in
4336 #(
4337 y|Y|yes|Yes|YES)
4338     DX_FLAG_chi=1
4339
4340
4341 test "$DX_FLAG_chm" = "1" \
4342 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
4343
4344 ;; #(
4345 n|N|no|No|NO)
4346     DX_FLAG_chi=0
4347
4348 ;; #(
4349 *)
4350     as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
4351 ;;
4352 esac
4353
4354 else
4355
4356 DX_FLAG_chi=0
4357
4358
4359 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
4360
4361
4362
4363 fi
4364
4365 if test "$DX_FLAG_chi" = 1; then
4366
4367     :
4368 fi
4369 if test "$DX_FLAG_chi" = 1; then
4370      if :; then
4371   DX_COND_chi_TRUE=
4372   DX_COND_chi_FALSE='#'
4373 else
4374   DX_COND_chi_TRUE='#'
4375   DX_COND_chi_FALSE=
4376 fi
4377
4378     DX_ENV="$DX_ENV GENERATE_CHI='YES'"
4379
4380     :
4381 else
4382      if false; then
4383   DX_COND_chi_TRUE=
4384   DX_COND_chi_FALSE='#'
4385 else
4386   DX_COND_chi_TRUE='#'
4387   DX_COND_chi_FALSE=
4388 fi
4389
4390     DX_ENV="$DX_ENV GENERATE_CHI='NO'"
4391
4392     :
4393 fi
4394
4395
4396 # Plain HTML pages generation:
4397
4398
4399
4400
4401     # Check whether --enable-doxygen-html was given.
4402 if test "${enable_doxygen_html+set}" = set; then :
4403   enableval=$enable_doxygen_html;
4404 case "$enableval" in
4405 #(
4406 y|Y|yes|Yes|YES)
4407     DX_FLAG_html=1
4408
4409
4410 test "$DX_FLAG_doc" = "1" \
4411 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
4412
4413 test "$DX_FLAG_chm" = "0" \
4414 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
4415
4416 ;; #(
4417 n|N|no|No|NO)
4418     DX_FLAG_html=0
4419
4420 ;; #(
4421 *)
4422     as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
4423 ;;
4424 esac
4425
4426 else
4427
4428 DX_FLAG_html=1
4429
4430
4431 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
4432
4433
4434 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
4435
4436
4437
4438 fi
4439
4440 if test "$DX_FLAG_html" = 1; then
4441
4442     :
4443 fi
4444 if test "$DX_FLAG_html" = 1; then
4445      if :; then
4446   DX_COND_html_TRUE=
4447   DX_COND_html_FALSE='#'
4448 else
4449   DX_COND_html_TRUE='#'
4450   DX_COND_html_FALSE=
4451 fi
4452
4453     DX_ENV="$DX_ENV GENERATE_HTML='YES'"
4454
4455     :
4456 else
4457      if false; then
4458   DX_COND_html_TRUE=
4459   DX_COND_html_FALSE='#'
4460 else
4461   DX_COND_html_TRUE='#'
4462   DX_COND_html_FALSE=
4463 fi
4464
4465     test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
4466
4467     :
4468 fi
4469
4470
4471 # PostScript file generation:
4472
4473
4474
4475
4476     # Check whether --enable-doxygen-ps was given.
4477 if test "${enable_doxygen_ps+set}" = set; then :
4478   enableval=$enable_doxygen_ps;
4479 case "$enableval" in
4480 #(
4481 y|Y|yes|Yes|YES)
4482     DX_FLAG_ps=1
4483
4484
4485 test "$DX_FLAG_doc" = "1" \
4486 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
4487
4488 ;; #(
4489 n|N|no|No|NO)
4490     DX_FLAG_ps=0
4491
4492 ;; #(
4493 *)
4494     as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
4495 ;;
4496 esac
4497
4498 else
4499
4500 DX_FLAG_ps=0
4501
4502
4503 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
4504
4505
4506
4507 fi
4508
4509 if test "$DX_FLAG_ps" = 1; then
4510
4511 if test -n "$ac_tool_prefix"; then
4512   # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
4513 set dummy ${ac_tool_prefix}latex; ac_word=$2
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4515 $as_echo_n "checking for $ac_word... " >&6; }
4516 if ${ac_cv_path_DX_LATEX+:} false; then :
4517   $as_echo_n "(cached) " >&6
4518 else
4519   case $DX_LATEX in
4520   [\\/]* | ?:[\\/]*)
4521   ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
4522   ;;
4523   *)
4524   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 for as_dir in $PATH
4526 do
4527   IFS=$as_save_IFS
4528   test -z "$as_dir" && as_dir=.
4529     for ac_exec_ext in '' $ac_executable_extensions; do
4530   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531     ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
4532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4533     break 2
4534   fi
4535 done
4536   done
4537 IFS=$as_save_IFS
4538
4539   ;;
4540 esac
4541 fi
4542 DX_LATEX=$ac_cv_path_DX_LATEX
4543 if test -n "$DX_LATEX"; then
4544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
4545 $as_echo "$DX_LATEX" >&6; }
4546 else
4547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4548 $as_echo "no" >&6; }
4549 fi
4550
4551
4552 fi
4553 if test -z "$ac_cv_path_DX_LATEX"; then
4554   ac_pt_DX_LATEX=$DX_LATEX
4555   # Extract the first word of "latex", so it can be a program name with args.
4556 set dummy latex; ac_word=$2
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4558 $as_echo_n "checking for $ac_word... " >&6; }
4559 if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
4560   $as_echo_n "(cached) " >&6
4561 else
4562   case $ac_pt_DX_LATEX in
4563   [\\/]* | ?:[\\/]*)
4564   ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
4565   ;;
4566   *)
4567   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568 for as_dir in $PATH
4569 do
4570   IFS=$as_save_IFS
4571   test -z "$as_dir" && as_dir=.
4572     for ac_exec_ext in '' $ac_executable_extensions; do
4573   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4574     ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
4575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4576     break 2
4577   fi
4578 done
4579   done
4580 IFS=$as_save_IFS
4581
4582   ;;
4583 esac
4584 fi
4585 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
4586 if test -n "$ac_pt_DX_LATEX"; then
4587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
4588 $as_echo "$ac_pt_DX_LATEX" >&6; }
4589 else
4590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4592 fi
4593
4594   if test "x$ac_pt_DX_LATEX" = x; then
4595     DX_LATEX=""
4596   else
4597     case $cross_compiling:$ac_tool_warned in
4598 yes:)
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4601 ac_tool_warned=yes ;;
4602 esac
4603     DX_LATEX=$ac_pt_DX_LATEX
4604   fi
4605 else
4606   DX_LATEX="$ac_cv_path_DX_LATEX"
4607 fi
4608
4609 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
4610     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
4611 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
4612     DX_FLAG_ps=0
4613
4614 fi
4615
4616
4617 if test -n "$ac_tool_prefix"; then
4618   # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
4619 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4621 $as_echo_n "checking for $ac_word... " >&6; }
4622 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
4623   $as_echo_n "(cached) " >&6
4624 else
4625   case $DX_MAKEINDEX in
4626   [\\/]* | ?:[\\/]*)
4627   ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
4628   ;;
4629   *)
4630   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4631 for as_dir in $PATH
4632 do
4633   IFS=$as_save_IFS
4634   test -z "$as_dir" && as_dir=.
4635     for ac_exec_ext in '' $ac_executable_extensions; do
4636   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4637     ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
4638     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4639     break 2
4640   fi
4641 done
4642   done
4643 IFS=$as_save_IFS
4644
4645   ;;
4646 esac
4647 fi
4648 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
4649 if test -n "$DX_MAKEINDEX"; then
4650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
4651 $as_echo "$DX_MAKEINDEX" >&6; }
4652 else
4653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4654 $as_echo "no" >&6; }
4655 fi
4656
4657
4658 fi
4659 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
4660   ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
4661   # Extract the first word of "makeindex", so it can be a program name with args.
4662 set dummy makeindex; ac_word=$2
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4664 $as_echo_n "checking for $ac_word... " >&6; }
4665 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
4666   $as_echo_n "(cached) " >&6
4667 else
4668   case $ac_pt_DX_MAKEINDEX in
4669   [\\/]* | ?:[\\/]*)
4670   ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
4671   ;;
4672   *)
4673   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4674 for as_dir in $PATH
4675 do
4676   IFS=$as_save_IFS
4677   test -z "$as_dir" && as_dir=.
4678     for ac_exec_ext in '' $ac_executable_extensions; do
4679   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4680     ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
4681     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4682     break 2
4683   fi
4684 done
4685   done
4686 IFS=$as_save_IFS
4687
4688   ;;
4689 esac
4690 fi
4691 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
4692 if test -n "$ac_pt_DX_MAKEINDEX"; then
4693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
4694 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
4695 else
4696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4697 $as_echo "no" >&6; }
4698 fi
4699
4700   if test "x$ac_pt_DX_MAKEINDEX" = x; then
4701     DX_MAKEINDEX=""
4702   else
4703     case $cross_compiling:$ac_tool_warned in
4704 yes:)
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4707 ac_tool_warned=yes ;;
4708 esac
4709     DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
4710   fi
4711 else
4712   DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
4713 fi
4714
4715 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
4716     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
4717 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
4718     DX_FLAG_ps=0
4719
4720 fi
4721
4722
4723 if test -n "$ac_tool_prefix"; then
4724   # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
4725 set dummy ${ac_tool_prefix}dvips; ac_word=$2
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4727 $as_echo_n "checking for $ac_word... " >&6; }
4728 if ${ac_cv_path_DX_DVIPS+:} false; then :
4729   $as_echo_n "(cached) " >&6
4730 else
4731   case $DX_DVIPS in
4732   [\\/]* | ?:[\\/]*)
4733   ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
4734   ;;
4735   *)
4736   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737 for as_dir in $PATH
4738 do
4739   IFS=$as_save_IFS
4740   test -z "$as_dir" && as_dir=.
4741     for ac_exec_ext in '' $ac_executable_extensions; do
4742   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4743     ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
4744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4745     break 2
4746   fi
4747 done
4748   done
4749 IFS=$as_save_IFS
4750
4751   ;;
4752 esac
4753 fi
4754 DX_DVIPS=$ac_cv_path_DX_DVIPS
4755 if test -n "$DX_DVIPS"; then
4756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
4757 $as_echo "$DX_DVIPS" >&6; }
4758 else
4759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4760 $as_echo "no" >&6; }
4761 fi
4762
4763
4764 fi
4765 if test -z "$ac_cv_path_DX_DVIPS"; then
4766   ac_pt_DX_DVIPS=$DX_DVIPS
4767   # Extract the first word of "dvips", so it can be a program name with args.
4768 set dummy dvips; ac_word=$2
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4770 $as_echo_n "checking for $ac_word... " >&6; }
4771 if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
4772   $as_echo_n "(cached) " >&6
4773 else
4774   case $ac_pt_DX_DVIPS in
4775   [\\/]* | ?:[\\/]*)
4776   ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
4777   ;;
4778   *)
4779   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 for as_dir in $PATH
4781 do
4782   IFS=$as_save_IFS
4783   test -z "$as_dir" && as_dir=.
4784     for ac_exec_ext in '' $ac_executable_extensions; do
4785   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4786     ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
4787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4788     break 2
4789   fi
4790 done
4791   done
4792 IFS=$as_save_IFS
4793
4794   ;;
4795 esac
4796 fi
4797 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
4798 if test -n "$ac_pt_DX_DVIPS"; then
4799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
4800 $as_echo "$ac_pt_DX_DVIPS" >&6; }
4801 else
4802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4804 fi
4805
4806   if test "x$ac_pt_DX_DVIPS" = x; then
4807     DX_DVIPS=""
4808   else
4809     case $cross_compiling:$ac_tool_warned in
4810 yes:)
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4813 ac_tool_warned=yes ;;
4814 esac
4815     DX_DVIPS=$ac_pt_DX_DVIPS
4816   fi
4817 else
4818   DX_DVIPS="$ac_cv_path_DX_DVIPS"
4819 fi
4820
4821 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
4822     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
4823 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
4824     DX_FLAG_ps=0
4825
4826 fi
4827
4828
4829 if test -n "$ac_tool_prefix"; then
4830   # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
4831 set dummy ${ac_tool_prefix}egrep; ac_word=$2
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833 $as_echo_n "checking for $ac_word... " >&6; }
4834 if ${ac_cv_path_DX_EGREP+:} false; then :
4835   $as_echo_n "(cached) " >&6
4836 else
4837   case $DX_EGREP in
4838   [\\/]* | ?:[\\/]*)
4839   ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
4840   ;;
4841   *)
4842   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4843 for as_dir in $PATH
4844 do
4845   IFS=$as_save_IFS
4846   test -z "$as_dir" && as_dir=.
4847     for ac_exec_ext in '' $ac_executable_extensions; do
4848   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4849     ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
4850     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4851     break 2
4852   fi
4853 done
4854   done
4855 IFS=$as_save_IFS
4856
4857   ;;
4858 esac
4859 fi
4860 DX_EGREP=$ac_cv_path_DX_EGREP
4861 if test -n "$DX_EGREP"; then
4862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
4863 $as_echo "$DX_EGREP" >&6; }
4864 else
4865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4866 $as_echo "no" >&6; }
4867 fi
4868
4869
4870 fi
4871 if test -z "$ac_cv_path_DX_EGREP"; then
4872   ac_pt_DX_EGREP=$DX_EGREP
4873   # Extract the first word of "egrep", so it can be a program name with args.
4874 set dummy egrep; ac_word=$2
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4876 $as_echo_n "checking for $ac_word... " >&6; }
4877 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
4878   $as_echo_n "(cached) " >&6
4879 else
4880   case $ac_pt_DX_EGREP in
4881   [\\/]* | ?:[\\/]*)
4882   ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
4883   ;;
4884   *)
4885   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4886 for as_dir in $PATH
4887 do
4888   IFS=$as_save_IFS
4889   test -z "$as_dir" && as_dir=.
4890     for ac_exec_ext in '' $ac_executable_extensions; do
4891   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4892     ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
4893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4894     break 2
4895   fi
4896 done
4897   done
4898 IFS=$as_save_IFS
4899
4900   ;;
4901 esac
4902 fi
4903 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
4904 if test -n "$ac_pt_DX_EGREP"; then
4905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
4906 $as_echo "$ac_pt_DX_EGREP" >&6; }
4907 else
4908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4910 fi
4911
4912   if test "x$ac_pt_DX_EGREP" = x; then
4913     DX_EGREP=""
4914   else
4915     case $cross_compiling:$ac_tool_warned in
4916 yes:)
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4918 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4919 ac_tool_warned=yes ;;
4920 esac
4921     DX_EGREP=$ac_pt_DX_EGREP
4922   fi
4923 else
4924   DX_EGREP="$ac_cv_path_DX_EGREP"
4925 fi
4926
4927 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
4928     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
4929 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
4930     DX_FLAG_ps=0
4931
4932 fi
4933
4934     :
4935 fi
4936 if test "$DX_FLAG_ps" = 1; then
4937      if :; then
4938   DX_COND_ps_TRUE=
4939   DX_COND_ps_FALSE='#'
4940 else
4941   DX_COND_ps_TRUE='#'
4942   DX_COND_ps_FALSE=
4943 fi
4944
4945
4946     :
4947 else
4948      if false; then
4949   DX_COND_ps_TRUE=
4950   DX_COND_ps_FALSE='#'
4951 else
4952   DX_COND_ps_TRUE='#'
4953   DX_COND_ps_FALSE=
4954 fi
4955
4956
4957     :
4958 fi
4959
4960
4961 # PDF file generation:
4962
4963
4964
4965
4966     # Check whether --enable-doxygen-pdf was given.
4967 if test "${enable_doxygen_pdf+set}" = set; then :
4968   enableval=$enable_doxygen_pdf;
4969 case "$enableval" in
4970 #(
4971 y|Y|yes|Yes|YES)
4972     DX_FLAG_pdf=1
4973
4974
4975 test "$DX_FLAG_doc" = "1" \
4976 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
4977
4978 ;; #(
4979 n|N|no|No|NO)
4980     DX_FLAG_pdf=0
4981
4982 ;; #(
4983 *)
4984     as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
4985 ;;
4986 esac
4987
4988 else
4989
4990 DX_FLAG_pdf=0
4991
4992
4993 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
4994
4995
4996
4997 fi
4998
4999 if test "$DX_FLAG_pdf" = 1; then
5000
5001 if test -n "$ac_tool_prefix"; then
5002   # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
5003 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if ${ac_cv_path_DX_PDFLATEX+:} false; then :
5007   $as_echo_n "(cached) " >&6
5008 else
5009   case $DX_PDFLATEX in
5010   [\\/]* | ?:[\\/]*)
5011   ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
5012   ;;
5013   *)
5014   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5015 for as_dir in $PATH
5016 do
5017   IFS=$as_save_IFS
5018   test -z "$as_dir" && as_dir=.
5019     for ac_exec_ext in '' $ac_executable_extensions; do
5020   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5021     ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
5022     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5023     break 2
5024   fi
5025 done
5026   done
5027 IFS=$as_save_IFS
5028
5029   ;;
5030 esac
5031 fi
5032 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
5033 if test -n "$DX_PDFLATEX"; then
5034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
5035 $as_echo "$DX_PDFLATEX" >&6; }
5036 else
5037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5039 fi
5040
5041
5042 fi
5043 if test -z "$ac_cv_path_DX_PDFLATEX"; then
5044   ac_pt_DX_PDFLATEX=$DX_PDFLATEX
5045   # Extract the first word of "pdflatex", so it can be a program name with args.
5046 set dummy pdflatex; ac_word=$2
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5048 $as_echo_n "checking for $ac_word... " >&6; }
5049 if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
5050   $as_echo_n "(cached) " >&6
5051 else
5052   case $ac_pt_DX_PDFLATEX in
5053   [\\/]* | ?:[\\/]*)
5054   ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
5055   ;;
5056   *)
5057   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 for as_dir in $PATH
5059 do
5060   IFS=$as_save_IFS
5061   test -z "$as_dir" && as_dir=.
5062     for ac_exec_ext in '' $ac_executable_extensions; do
5063   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5064     ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
5065     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5066     break 2
5067   fi
5068 done
5069   done
5070 IFS=$as_save_IFS
5071
5072   ;;
5073 esac
5074 fi
5075 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
5076 if test -n "$ac_pt_DX_PDFLATEX"; then
5077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
5078 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
5079 else
5080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5082 fi
5083
5084   if test "x$ac_pt_DX_PDFLATEX" = x; then
5085     DX_PDFLATEX=""
5086   else
5087     case $cross_compiling:$ac_tool_warned in
5088 yes:)
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5091 ac_tool_warned=yes ;;
5092 esac
5093     DX_PDFLATEX=$ac_pt_DX_PDFLATEX
5094   fi
5095 else
5096   DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
5097 fi
5098
5099 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
5100     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
5101 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
5102     DX_FLAG_pdf=0
5103
5104 fi
5105
5106
5107 if test -n "$ac_tool_prefix"; then
5108   # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
5109 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
5113   $as_echo_n "(cached) " >&6
5114 else
5115   case $DX_MAKEINDEX in
5116   [\\/]* | ?:[\\/]*)
5117   ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
5118   ;;
5119   *)
5120   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5121 for as_dir in $PATH
5122 do
5123   IFS=$as_save_IFS
5124   test -z "$as_dir" && as_dir=.
5125     for ac_exec_ext in '' $ac_executable_extensions; do
5126   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5127     ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
5128     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5129     break 2
5130   fi
5131 done
5132   done
5133 IFS=$as_save_IFS
5134
5135   ;;
5136 esac
5137 fi
5138 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
5139 if test -n "$DX_MAKEINDEX"; then
5140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
5141 $as_echo "$DX_MAKEINDEX" >&6; }
5142 else
5143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
5145 fi
5146
5147
5148 fi
5149 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
5150   ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
5151   # Extract the first word of "makeindex", so it can be a program name with args.
5152 set dummy makeindex; ac_word=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154 $as_echo_n "checking for $ac_word... " >&6; }
5155 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
5156   $as_echo_n "(cached) " >&6
5157 else
5158   case $ac_pt_DX_MAKEINDEX in
5159   [\\/]* | ?:[\\/]*)
5160   ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
5161   ;;
5162   *)
5163   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH
5165 do
5166   IFS=$as_save_IFS
5167   test -z "$as_dir" && as_dir=.
5168     for ac_exec_ext in '' $ac_executable_extensions; do
5169   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5170     ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
5171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172     break 2
5173   fi
5174 done
5175   done
5176 IFS=$as_save_IFS
5177
5178   ;;
5179 esac
5180 fi
5181 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
5182 if test -n "$ac_pt_DX_MAKEINDEX"; then
5183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
5184 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
5185 else
5186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5187 $as_echo "no" >&6; }
5188 fi
5189
5190   if test "x$ac_pt_DX_MAKEINDEX" = x; then
5191     DX_MAKEINDEX=""
5192   else
5193     case $cross_compiling:$ac_tool_warned in
5194 yes:)
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5197 ac_tool_warned=yes ;;
5198 esac
5199     DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
5200   fi
5201 else
5202   DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
5203 fi
5204
5205 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
5206     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
5207 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
5208     DX_FLAG_pdf=0
5209
5210 fi
5211
5212
5213 if test -n "$ac_tool_prefix"; then
5214   # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
5215 set dummy ${ac_tool_prefix}egrep; ac_word=$2
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5217 $as_echo_n "checking for $ac_word... " >&6; }
5218 if ${ac_cv_path_DX_EGREP+:} false; then :
5219   $as_echo_n "(cached) " >&6
5220 else
5221   case $DX_EGREP in
5222   [\\/]* | ?:[\\/]*)
5223   ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
5224   ;;
5225   *)
5226   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5227 for as_dir in $PATH
5228 do
5229   IFS=$as_save_IFS
5230   test -z "$as_dir" && as_dir=.
5231     for ac_exec_ext in '' $ac_executable_extensions; do
5232   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5233     ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
5234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5235     break 2
5236   fi
5237 done
5238   done
5239 IFS=$as_save_IFS
5240
5241   ;;
5242 esac
5243 fi
5244 DX_EGREP=$ac_cv_path_DX_EGREP
5245 if test -n "$DX_EGREP"; then
5246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
5247 $as_echo "$DX_EGREP" >&6; }
5248 else
5249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5251 fi
5252
5253
5254 fi
5255 if test -z "$ac_cv_path_DX_EGREP"; then
5256   ac_pt_DX_EGREP=$DX_EGREP
5257   # Extract the first word of "egrep", so it can be a program name with args.
5258 set dummy egrep; ac_word=$2
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5260 $as_echo_n "checking for $ac_word... " >&6; }
5261 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
5262   $as_echo_n "(cached) " >&6
5263 else
5264   case $ac_pt_DX_EGREP in
5265   [\\/]* | ?:[\\/]*)
5266   ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
5267   ;;
5268   *)
5269   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 for as_dir in $PATH
5271 do
5272   IFS=$as_save_IFS
5273   test -z "$as_dir" && as_dir=.
5274     for ac_exec_ext in '' $ac_executable_extensions; do
5275   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5276     ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
5277     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5278     break 2
5279   fi
5280 done
5281   done
5282 IFS=$as_save_IFS
5283
5284   ;;
5285 esac
5286 fi
5287 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
5288 if test -n "$ac_pt_DX_EGREP"; then
5289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
5290 $as_echo "$ac_pt_DX_EGREP" >&6; }
5291 else
5292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5294 fi
5295
5296   if test "x$ac_pt_DX_EGREP" = x; then
5297     DX_EGREP=""
5298   else
5299     case $cross_compiling:$ac_tool_warned in
5300 yes:)
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5303 ac_tool_warned=yes ;;
5304 esac
5305     DX_EGREP=$ac_pt_DX_EGREP
5306   fi
5307 else
5308   DX_EGREP="$ac_cv_path_DX_EGREP"
5309 fi
5310
5311 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
5312     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
5313 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
5314     DX_FLAG_pdf=0
5315
5316 fi
5317
5318     :
5319 fi
5320 if test "$DX_FLAG_pdf" = 1; then
5321      if :; then
5322   DX_COND_pdf_TRUE=
5323   DX_COND_pdf_FALSE='#'
5324 else
5325   DX_COND_pdf_TRUE='#'
5326   DX_COND_pdf_FALSE=
5327 fi
5328
5329
5330     :
5331 else
5332      if false; then
5333   DX_COND_pdf_TRUE=
5334   DX_COND_pdf_FALSE='#'
5335 else
5336   DX_COND_pdf_TRUE='#'
5337   DX_COND_pdf_FALSE=
5338 fi
5339
5340
5341     :
5342 fi
5343
5344
5345 # LaTeX generation for PS and/or PDF:
5346 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
5347      if :; then
5348   DX_COND_latex_TRUE=
5349   DX_COND_latex_FALSE='#'
5350 else
5351   DX_COND_latex_TRUE='#'
5352   DX_COND_latex_FALSE=
5353 fi
5354
5355     DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
5356
5357 else
5358      if false; then
5359   DX_COND_latex_TRUE=
5360   DX_COND_latex_FALSE='#'
5361 else
5362   DX_COND_latex_TRUE='#'
5363   DX_COND_latex_FALSE=
5364 fi
5365
5366     DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
5367
5368 fi
5369
5370 # Paper size for PS and/or PDF:
5371
5372 case "$DOXYGEN_PAPER_SIZE" in
5373 #(
5374 "")
5375     DOXYGEN_PAPER_SIZE=""
5376
5377 ;; #(
5378 a4wide|a4|letter|legal|executive)
5379     DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
5380
5381 ;; #(
5382 *)
5383     as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
5384 ;;
5385 esac
5386
5387 #For debugging:
5388 #echo DX_FLAG_doc=$DX_FLAG_doc
5389 #echo DX_FLAG_dot=$DX_FLAG_dot
5390 #echo DX_FLAG_man=$DX_FLAG_man
5391 #echo DX_FLAG_html=$DX_FLAG_html
5392 #echo DX_FLAG_chm=$DX_FLAG_chm
5393 #echo DX_FLAG_chi=$DX_FLAG_chi
5394 #echo DX_FLAG_rtf=$DX_FLAG_rtf
5395 #echo DX_FLAG_xml=$DX_FLAG_xml
5396 #echo DX_FLAG_pdf=$DX_FLAG_pdf
5397 #echo DX_FLAG_ps=$DX_FLAG_ps
5398 #echo DX_ENV=$DX_ENV
5399
5400
5401 #  Debug support
5402 # ----------------------------------------------------------------------
5403
5404
5405 # Check whether --enable-debug-flags was given.
5406 if test "${enable_debug_flags+set}" = set; then :
5407   enableval=$enable_debug_flags;
5408 else
5409
5410 if test "x${enable_developer}" != "xyes"
5411 then
5412   enable_debug_flags="no"
5413 else
5414   enable_debug_flags="yes"
5415 fi
5416
5417 fi
5418
5419
5420 # Check whether --enable-debug-log was given.
5421 if test "${enable_debug_log+set}" = set; then :
5422   enableval=$enable_debug_log;
5423 else
5424   enable_debug_log="yes"
5425 fi
5426
5427
5428 if test "x${enable_debug_flags}" != "xno"
5429 then
5430   if test "x${enable_developer}" = "xyes"
5431   then
5432     CXXFLAGS="${CXXFLAGS} -Wall"
5433     CFLAGS="${CFLAGS} -Wstrict-prototypes -Wall"
5434   fi
5435   __COMMONFLAGS="-g -O0 -Wextra -Wunused-value -Wunused-variable -Wunused-function -Wunused-label -Wcomment -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wstrict-aliasing -Wno-unused-parameter -Wformat -Wformat-security -DGQ_DEBUG_PATH_UTF8=1"
5436   CXXFLAGS="${CXXFLAGS} ${__COMMONFLAGS}"
5437   CFLAGS="${CFLAGS} ${__COMMONFLAGS} -Wimplicit-int -Werror-implicit-function-declaration"
5438   __IS_DEBUG_FLAGS=yes
5439 else
5440   __IS_DEBUG_FLAGS=no
5441 fi
5442
5443 if test "x${enable_debug_log}" != "xno"
5444 then
5445
5446 $as_echo "#define DEBUG 1" >>confdefs.h
5447
5448   __IS_DEBUG_LOG=yes
5449 else
5450   __IS_DEBUG_LOG=no
5451 fi
5452
5453  if test x$enable_debug_flags = xyes; then
5454   DEBUG_TRUE=
5455   DEBUG_FALSE='#'
5456 else
5457   DEBUG_TRUE='#'
5458   DEBUG_FALSE=
5459 fi
5460
5461
5462 # Check whether --enable-deprecated was given.
5463 if test "${enable_deprecated+set}" = set; then :
5464   enableval=$enable_deprecated;
5465 else
5466
5467 if test "x${enable_developer}" != "xyes"
5468 then
5469   enable_deprecated="no"
5470 else
5471   enable_deprecated="yes"
5472 fi
5473
5474 fi
5475
5476
5477 if test "x${enable_deprecated}" != "xno"
5478 then
5479   CXXFLAGS="${CXXFLAGS} -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGDK_PIXBUF_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1"
5480   CFLAGS="${CFLAGS} -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGDK_PIXBUF_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1"
5481   __IS_DEPRECATED=yes
5482 else
5483   __IS_DEPRECATED=no
5484 fi
5485
5486
5487 DEPDIR="${am__leading_dot}deps"
5488
5489 ac_config_commands="$ac_config_commands depfiles"
5490
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
5492 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
5493 cat > confinc.mk << 'END'
5494 am__doit:
5495         @echo this is the am__doit target >confinc.out
5496 .PHONY: am__doit
5497 END
5498 am__include="#"
5499 am__quote=
5500 # BSD make does it like this.
5501 echo '.include "confinc.mk" # ignored' > confmf.BSD
5502 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
5503 echo 'include confinc.mk # ignored' > confmf.GNU
5504 _am_result=no
5505 for s in GNU BSD; do
5506   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
5507    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
5508    ac_status=$?
5509    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510    (exit $ac_status); }
5511   case $?:`cat confinc.out 2>/dev/null` in #(
5512   '0:this is the am__doit target') :
5513     case $s in #(
5514   BSD) :
5515     am__include='.include' am__quote='"' ;; #(
5516   *) :
5517     am__include='include' am__quote='' ;;
5518 esac ;; #(
5519   *) :
5520      ;;
5521 esac
5522   if test "$am__include" != "#"; then
5523     _am_result="yes ($s style)"
5524     break
5525   fi
5526 done
5527 rm -f confinc.* confmf.*
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
5529 $as_echo "${_am_result}" >&6; }
5530
5531 # Check whether --enable-dependency-tracking was given.
5532 if test "${enable_dependency_tracking+set}" = set; then :
5533   enableval=$enable_dependency_tracking;
5534 fi
5535
5536 if test "x$enable_dependency_tracking" != xno; then
5537   am_depcomp="$ac_aux_dir/depcomp"
5538   AMDEPBACKSLASH='\'
5539   am__nodep='_no'
5540 fi
5541  if test "x$enable_dependency_tracking" != xno; then
5542   AMDEP_TRUE=
5543   AMDEP_FALSE='#'
5544 else
5545   AMDEP_TRUE='#'
5546   AMDEP_FALSE=
5547 fi
5548
5549
5550 ac_ext=c
5551 ac_cpp='$CPP $CPPFLAGS'
5552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5555 if test -n "$ac_tool_prefix"; then
5556   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5557 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5559 $as_echo_n "checking for $ac_word... " >&6; }
5560 if ${ac_cv_prog_CC+:} false; then :
5561   $as_echo_n "(cached) " >&6
5562 else
5563   if test -n "$CC"; then
5564   ac_cv_prog_CC="$CC" # Let the user override the test.
5565 else
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 for as_dir in $PATH
5568 do
5569   IFS=$as_save_IFS
5570   test -z "$as_dir" && as_dir=.
5571     for ac_exec_ext in '' $ac_executable_extensions; do
5572   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5573     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575     break 2
5576   fi
5577 done
5578   done
5579 IFS=$as_save_IFS
5580
5581 fi
5582 fi
5583 CC=$ac_cv_prog_CC
5584 if test -n "$CC"; then
5585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5586 $as_echo "$CC" >&6; }
5587 else
5588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5589 $as_echo "no" >&6; }
5590 fi
5591
5592
5593 fi
5594 if test -z "$ac_cv_prog_CC"; then
5595   ac_ct_CC=$CC
5596   # Extract the first word of "gcc", so it can be a program name with args.
5597 set dummy gcc; ac_word=$2
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5599 $as_echo_n "checking for $ac_word... " >&6; }
5600 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5601   $as_echo_n "(cached) " >&6
5602 else
5603   if test -n "$ac_ct_CC"; then
5604   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5605 else
5606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5607 for as_dir in $PATH
5608 do
5609   IFS=$as_save_IFS
5610   test -z "$as_dir" && as_dir=.
5611     for ac_exec_ext in '' $ac_executable_extensions; do
5612   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5613     ac_cv_prog_ac_ct_CC="gcc"
5614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5615     break 2
5616   fi
5617 done
5618   done
5619 IFS=$as_save_IFS
5620
5621 fi
5622 fi
5623 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5624 if test -n "$ac_ct_CC"; then
5625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5626 $as_echo "$ac_ct_CC" >&6; }
5627 else
5628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5629 $as_echo "no" >&6; }
5630 fi
5631
5632   if test "x$ac_ct_CC" = x; then
5633     CC=""
5634   else
5635     case $cross_compiling:$ac_tool_warned in
5636 yes:)
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5639 ac_tool_warned=yes ;;
5640 esac
5641     CC=$ac_ct_CC
5642   fi
5643 else
5644   CC="$ac_cv_prog_CC"
5645 fi
5646
5647 if test -z "$CC"; then
5648           if test -n "$ac_tool_prefix"; then
5649     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5650 set dummy ${ac_tool_prefix}cc; ac_word=$2
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5652 $as_echo_n "checking for $ac_word... " >&6; }
5653 if ${ac_cv_prog_CC+:} false; then :
5654   $as_echo_n "(cached) " >&6
5655 else
5656   if test -n "$CC"; then
5657   ac_cv_prog_CC="$CC" # Let the user override the test.
5658 else
5659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5660 for as_dir in $PATH
5661 do
5662   IFS=$as_save_IFS
5663   test -z "$as_dir" && as_dir=.
5664     for ac_exec_ext in '' $ac_executable_extensions; do
5665   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5666     ac_cv_prog_CC="${ac_tool_prefix}cc"
5667     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5668     break 2
5669   fi
5670 done
5671   done
5672 IFS=$as_save_IFS
5673
5674 fi
5675 fi
5676 CC=$ac_cv_prog_CC
5677 if test -n "$CC"; then
5678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5679 $as_echo "$CC" >&6; }
5680 else
5681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5682 $as_echo "no" >&6; }
5683 fi
5684
5685
5686   fi
5687 fi
5688 if test -z "$CC"; then
5689   # Extract the first word of "cc", so it can be a program name with args.
5690 set dummy cc; ac_word=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if ${ac_cv_prog_CC+:} false; then :
5694   $as_echo_n "(cached) " >&6
5695 else
5696   if test -n "$CC"; then
5697   ac_cv_prog_CC="$CC" # Let the user override the test.
5698 else
5699   ac_prog_rejected=no
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701 for as_dir in $PATH
5702 do
5703   IFS=$as_save_IFS
5704   test -z "$as_dir" && as_dir=.
5705     for ac_exec_ext in '' $ac_executable_extensions; do
5706   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5708        ac_prog_rejected=yes
5709        continue
5710      fi
5711     ac_cv_prog_CC="cc"
5712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5713     break 2
5714   fi
5715 done
5716   done
5717 IFS=$as_save_IFS
5718
5719 if test $ac_prog_rejected = yes; then
5720   # We found a bogon in the path, so make sure we never use it.
5721   set dummy $ac_cv_prog_CC
5722   shift
5723   if test $# != 0; then
5724     # We chose a different compiler from the bogus one.
5725     # However, it has the same basename, so the bogon will be chosen
5726     # first if we set CC to just the basename; use the full file name.
5727     shift
5728     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5729   fi
5730 fi
5731 fi
5732 fi
5733 CC=$ac_cv_prog_CC
5734 if test -n "$CC"; then
5735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5736 $as_echo "$CC" >&6; }
5737 else
5738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739 $as_echo "no" >&6; }
5740 fi
5741
5742
5743 fi
5744 if test -z "$CC"; then
5745   if test -n "$ac_tool_prefix"; then
5746   for ac_prog in cl.exe
5747   do
5748     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5749 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5751 $as_echo_n "checking for $ac_word... " >&6; }
5752 if ${ac_cv_prog_CC+:} false; then :
5753   $as_echo_n "(cached) " >&6
5754 else
5755   if test -n "$CC"; then
5756   ac_cv_prog_CC="$CC" # Let the user override the test.
5757 else
5758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5759 for as_dir in $PATH
5760 do
5761   IFS=$as_save_IFS
5762   test -z "$as_dir" && as_dir=.
5763     for ac_exec_ext in '' $ac_executable_extensions; do
5764   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5765     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5766     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5767     break 2
5768   fi
5769 done
5770   done
5771 IFS=$as_save_IFS
5772
5773 fi
5774 fi
5775 CC=$ac_cv_prog_CC
5776 if test -n "$CC"; then
5777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5778 $as_echo "$CC" >&6; }
5779 else
5780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5781 $as_echo "no" >&6; }
5782 fi
5783
5784
5785     test -n "$CC" && break
5786   done
5787 fi
5788 if test -z "$CC"; then
5789   ac_ct_CC=$CC
5790   for ac_prog in cl.exe
5791 do
5792   # Extract the first word of "$ac_prog", so it can be a program name with args.
5793 set dummy $ac_prog; ac_word=$2
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5795 $as_echo_n "checking for $ac_word... " >&6; }
5796 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5797   $as_echo_n "(cached) " >&6
5798 else
5799   if test -n "$ac_ct_CC"; then
5800   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5801 else
5802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803 for as_dir in $PATH
5804 do
5805   IFS=$as_save_IFS
5806   test -z "$as_dir" && as_dir=.
5807     for ac_exec_ext in '' $ac_executable_extensions; do
5808   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5809     ac_cv_prog_ac_ct_CC="$ac_prog"
5810     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5811     break 2
5812   fi
5813 done
5814   done
5815 IFS=$as_save_IFS
5816
5817 fi
5818 fi
5819 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5820 if test -n "$ac_ct_CC"; then
5821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5822 $as_echo "$ac_ct_CC" >&6; }
5823 else
5824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5825 $as_echo "no" >&6; }
5826 fi
5827
5828
5829   test -n "$ac_ct_CC" && break
5830 done
5831
5832   if test "x$ac_ct_CC" = x; then
5833     CC=""
5834   else
5835     case $cross_compiling:$ac_tool_warned in
5836 yes:)
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5839 ac_tool_warned=yes ;;
5840 esac
5841     CC=$ac_ct_CC
5842   fi
5843 fi
5844
5845 fi
5846
5847
5848 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5850 as_fn_error $? "no acceptable C compiler found in \$PATH
5851 See \`config.log' for more details" "$LINENO" 5; }
5852
5853 # Provide some information about the compiler.
5854 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5855 set X $ac_compile
5856 ac_compiler=$2
5857 for ac_option in --version -v -V -qversion; do
5858   { { ac_try="$ac_compiler $ac_option >&5"
5859 case "(($ac_try" in
5860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5861   *) ac_try_echo=$ac_try;;
5862 esac
5863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5864 $as_echo "$ac_try_echo"; } >&5
5865   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5866   ac_status=$?
5867   if test -s conftest.err; then
5868     sed '10a\
5869 ... rest of stderr output deleted ...
5870          10q' conftest.err >conftest.er1
5871     cat conftest.er1 >&5
5872   fi
5873   rm -f conftest.er1 conftest.err
5874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5875   test $ac_status = 0; }
5876 done
5877
5878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5879 /* end confdefs.h.  */
5880
5881 int
5882 main ()
5883 {
5884
5885   ;
5886   return 0;
5887 }
5888 _ACEOF
5889 ac_clean_files_save=$ac_clean_files
5890 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5891 # Try to create an executable without -o first, disregard a.out.
5892 # It will help us diagnose broken compilers, and finding out an intuition
5893 # of exeext.
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5895 $as_echo_n "checking whether the C compiler works... " >&6; }
5896 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5897
5898 # The possible output files:
5899 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5900
5901 ac_rmfiles=
5902 for ac_file in $ac_files
5903 do
5904   case $ac_file in
5905     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5906     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5907   esac
5908 done
5909 rm -f $ac_rmfiles
5910
5911 if { { ac_try="$ac_link_default"
5912 case "(($ac_try" in
5913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5914   *) ac_try_echo=$ac_try;;
5915 esac
5916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5917 $as_echo "$ac_try_echo"; } >&5
5918   (eval "$ac_link_default") 2>&5
5919   ac_status=$?
5920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5921   test $ac_status = 0; }; then :
5922   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5923 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5924 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
5925 # so that the user can short-circuit this test for compilers unknown to
5926 # Autoconf.
5927 for ac_file in $ac_files ''
5928 do
5929   test -f "$ac_file" || continue
5930   case $ac_file in
5931     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5932         ;;
5933     [ab].out )
5934         # We found the default executable, but exeext='' is most
5935         # certainly right.
5936         break;;
5937     *.* )
5938         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5939         then :; else
5940            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5941         fi
5942         # We set ac_cv_exeext here because the later test for it is not
5943         # safe: cross compilers may not add the suffix if given an `-o'
5944         # argument, so we may need to know it at that point already.
5945         # Even if this section looks crufty: it has the advantage of
5946         # actually working.
5947         break;;
5948     * )
5949         break;;
5950   esac
5951 done
5952 test "$ac_cv_exeext" = no && ac_cv_exeext=
5953
5954 else
5955   ac_file=''
5956 fi
5957 if test -z "$ac_file"; then :
5958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959 $as_echo "no" >&6; }
5960 $as_echo "$as_me: failed program was:" >&5
5961 sed 's/^/| /' conftest.$ac_ext >&5
5962
5963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5965 as_fn_error 77 "C compiler cannot create executables
5966 See \`config.log' for more details" "$LINENO" 5; }
5967 else
5968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5969 $as_echo "yes" >&6; }
5970 fi
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5972 $as_echo_n "checking for C compiler default output file name... " >&6; }
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5974 $as_echo "$ac_file" >&6; }
5975 ac_exeext=$ac_cv_exeext
5976
5977 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5978 ac_clean_files=$ac_clean_files_save
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5980 $as_echo_n "checking for suffix of executables... " >&6; }
5981 if { { ac_try="$ac_link"
5982 case "(($ac_try" in
5983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5984   *) ac_try_echo=$ac_try;;
5985 esac
5986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5987 $as_echo "$ac_try_echo"; } >&5
5988   (eval "$ac_link") 2>&5
5989   ac_status=$?
5990   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5991   test $ac_status = 0; }; then :
5992   # If both `conftest.exe' and `conftest' are `present' (well, observable)
5993 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
5994 # work properly (i.e., refer to `conftest.exe'), while it won't with
5995 # `rm'.
5996 for ac_file in conftest.exe conftest conftest.*; do
5997   test -f "$ac_file" || continue
5998   case $ac_file in
5999     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
6000     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
6001           break;;
6002     * ) break;;
6003   esac
6004 done
6005 else
6006   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6008 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
6009 See \`config.log' for more details" "$LINENO" 5; }
6010 fi
6011 rm -f conftest conftest$ac_cv_exeext
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
6013 $as_echo "$ac_cv_exeext" >&6; }
6014
6015 rm -f conftest.$ac_ext
6016 EXEEXT=$ac_cv_exeext
6017 ac_exeext=$EXEEXT
6018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6019 /* end confdefs.h.  */
6020 #include <stdio.h>
6021 int
6022 main ()
6023 {
6024 FILE *f = fopen ("conftest.out", "w");
6025  return ferror (f) || fclose (f) != 0;
6026
6027   ;
6028   return 0;
6029 }
6030 _ACEOF
6031 ac_clean_files="$ac_clean_files conftest.out"
6032 # Check that the compiler produces executables we can run.  If not, either
6033 # the compiler is broken, or we cross compile.
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
6035 $as_echo_n "checking whether we are cross compiling... " >&6; }
6036 if test "$cross_compiling" != yes; then
6037   { { ac_try="$ac_link"
6038 case "(($ac_try" in
6039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6040   *) ac_try_echo=$ac_try;;
6041 esac
6042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6043 $as_echo "$ac_try_echo"; } >&5
6044   (eval "$ac_link") 2>&5
6045   ac_status=$?
6046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6047   test $ac_status = 0; }
6048   if { ac_try='./conftest$ac_cv_exeext'
6049   { { case "(($ac_try" in
6050   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6051   *) ac_try_echo=$ac_try;;
6052 esac
6053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6054 $as_echo "$ac_try_echo"; } >&5
6055   (eval "$ac_try") 2>&5
6056   ac_status=$?
6057   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6058   test $ac_status = 0; }; }; then
6059     cross_compiling=no
6060   else
6061     if test "$cross_compiling" = maybe; then
6062         cross_compiling=yes
6063     else
6064         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6066 as_fn_error $? "cannot run C compiled programs.
6067 If you meant to cross compile, use \`--host'.
6068 See \`config.log' for more details" "$LINENO" 5; }
6069     fi
6070   fi
6071 fi
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
6073 $as_echo "$cross_compiling" >&6; }
6074
6075 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
6076 ac_clean_files=$ac_clean_files_save
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
6078 $as_echo_n "checking for suffix of object files... " >&6; }
6079 if ${ac_cv_objext+:} false; then :
6080   $as_echo_n "(cached) " >&6
6081 else
6082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6083 /* end confdefs.h.  */
6084
6085 int
6086 main ()
6087 {
6088
6089   ;
6090   return 0;
6091 }
6092 _ACEOF
6093 rm -f conftest.o conftest.obj
6094 if { { ac_try="$ac_compile"
6095 case "(($ac_try" in
6096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6097   *) ac_try_echo=$ac_try;;
6098 esac
6099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6100 $as_echo "$ac_try_echo"; } >&5
6101   (eval "$ac_compile") 2>&5
6102   ac_status=$?
6103   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6104   test $ac_status = 0; }; then :
6105   for ac_file in conftest.o conftest.obj conftest.*; do
6106   test -f "$ac_file" || continue;
6107   case $ac_file in
6108     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
6109     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
6110        break;;
6111   esac
6112 done
6113 else
6114   $as_echo "$as_me: failed program was:" >&5
6115 sed 's/^/| /' conftest.$ac_ext >&5
6116
6117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6119 as_fn_error $? "cannot compute suffix of object files: cannot compile
6120 See \`config.log' for more details" "$LINENO" 5; }
6121 fi
6122 rm -f conftest.$ac_cv_objext conftest.$ac_ext
6123 fi
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
6125 $as_echo "$ac_cv_objext" >&6; }
6126 OBJEXT=$ac_cv_objext
6127 ac_objext=$OBJEXT
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6129 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6130 if ${ac_cv_c_compiler_gnu+:} false; then :
6131   $as_echo_n "(cached) " >&6
6132 else
6133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6134 /* end confdefs.h.  */
6135
6136 int
6137 main ()
6138 {
6139 #ifndef __GNUC__
6140        choke me
6141 #endif
6142
6143   ;
6144   return 0;
6145 }
6146 _ACEOF
6147 if ac_fn_c_try_compile "$LINENO"; then :
6148   ac_compiler_gnu=yes
6149 else
6150   ac_compiler_gnu=no
6151 fi
6152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6153 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6154
6155 fi
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6157 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6158 if test $ac_compiler_gnu = yes; then
6159   GCC=yes
6160 else
6161   GCC=
6162 fi
6163 ac_test_CFLAGS=${CFLAGS+set}
6164 ac_save_CFLAGS=$CFLAGS
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6166 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6167 if ${ac_cv_prog_cc_g+:} false; then :
6168   $as_echo_n "(cached) " >&6
6169 else
6170   ac_save_c_werror_flag=$ac_c_werror_flag
6171    ac_c_werror_flag=yes
6172    ac_cv_prog_cc_g=no
6173    CFLAGS="-g"
6174    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6175 /* end confdefs.h.  */
6176
6177 int
6178 main ()
6179 {
6180
6181   ;
6182   return 0;
6183 }
6184 _ACEOF
6185 if ac_fn_c_try_compile "$LINENO"; then :
6186   ac_cv_prog_cc_g=yes
6187 else
6188   CFLAGS=""
6189       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6190 /* end confdefs.h.  */
6191
6192 int
6193 main ()
6194 {
6195
6196   ;
6197   return 0;
6198 }
6199 _ACEOF
6200 if ac_fn_c_try_compile "$LINENO"; then :
6201
6202 else
6203   ac_c_werror_flag=$ac_save_c_werror_flag
6204          CFLAGS="-g"
6205          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6206 /* end confdefs.h.  */
6207
6208 int
6209 main ()
6210 {
6211
6212   ;
6213   return 0;
6214 }
6215 _ACEOF
6216 if ac_fn_c_try_compile "$LINENO"; then :
6217   ac_cv_prog_cc_g=yes
6218 fi
6219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6220 fi
6221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6222 fi
6223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6224    ac_c_werror_flag=$ac_save_c_werror_flag
6225 fi
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6227 $as_echo "$ac_cv_prog_cc_g" >&6; }
6228 if test "$ac_test_CFLAGS" = set; then
6229   CFLAGS=$ac_save_CFLAGS
6230 elif test $ac_cv_prog_cc_g = yes; then
6231   if test "$GCC" = yes; then
6232     CFLAGS="-g -O2"
6233   else
6234     CFLAGS="-g"
6235   fi
6236 else
6237   if test "$GCC" = yes; then
6238     CFLAGS="-O2"
6239   else
6240     CFLAGS=
6241   fi
6242 fi
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6244 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6245 if ${ac_cv_prog_cc_c89+:} false; then :
6246   $as_echo_n "(cached) " >&6
6247 else
6248   ac_cv_prog_cc_c89=no
6249 ac_save_CC=$CC
6250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h.  */
6252 #include <stdarg.h>
6253 #include <stdio.h>
6254 struct stat;
6255 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6256 struct buf { int x; };
6257 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6258 static char *e (p, i)
6259      char **p;
6260      int i;
6261 {
6262   return p[i];
6263 }
6264 static char *f (char * (*g) (char **, int), char **p, ...)
6265 {
6266   char *s;
6267   va_list v;
6268   va_start (v,p);
6269   s = g (p, va_arg (v,int));
6270   va_end (v);
6271   return s;
6272 }
6273
6274 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6275    function prototypes and stuff, but not '\xHH' hex character constants.
6276    These don't provoke an error unfortunately, instead are silently treated
6277    as 'x'.  The following induces an error, until -std is added to get
6278    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6279    array size at least.  It's necessary to write '\x00'==0 to get something
6280    that's true only with -std.  */
6281 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6282
6283 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6284    inside strings and character constants.  */
6285 #define FOO(x) 'x'
6286 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6287
6288 int test (int i, double x);
6289 struct s1 {int (*f) (int a);};
6290 struct s2 {int (*f) (double a);};
6291 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6292 int argc;
6293 char **argv;
6294 int
6295 main ()
6296 {
6297 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6298   ;
6299   return 0;
6300 }
6301 _ACEOF
6302 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6303         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6304 do
6305   CC="$ac_save_CC $ac_arg"
6306   if ac_fn_c_try_compile "$LINENO"; then :
6307   ac_cv_prog_cc_c89=$ac_arg
6308 fi
6309 rm -f core conftest.err conftest.$ac_objext
6310   test "x$ac_cv_prog_cc_c89" != "xno" && break
6311 done
6312 rm -f conftest.$ac_ext
6313 CC=$ac_save_CC
6314
6315 fi
6316 # AC_CACHE_VAL
6317 case "x$ac_cv_prog_cc_c89" in
6318   x)
6319     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6320 $as_echo "none needed" >&6; } ;;
6321   xno)
6322     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6323 $as_echo "unsupported" >&6; } ;;
6324   *)
6325     CC="$CC $ac_cv_prog_cc_c89"
6326     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6327 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6328 esac
6329 if test "x$ac_cv_prog_cc_c89" != xno; then :
6330
6331 fi
6332
6333 ac_ext=c
6334 ac_cpp='$CPP $CPPFLAGS'
6335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6338
6339 ac_ext=c
6340 ac_cpp='$CPP $CPPFLAGS'
6341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
6345 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
6346 if ${am_cv_prog_cc_c_o+:} false; then :
6347   $as_echo_n "(cached) " >&6
6348 else
6349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6350 /* end confdefs.h.  */
6351
6352 int
6353 main ()
6354 {
6355
6356   ;
6357   return 0;
6358 }
6359 _ACEOF
6360   # Make sure it works both with $CC and with simple cc.
6361   # Following AC_PROG_CC_C_O, we do the test twice because some
6362   # compilers refuse to overwrite an existing .o file with -o,
6363   # though they will create one.
6364   am_cv_prog_cc_c_o=yes
6365   for am_i in 1 2; do
6366     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
6367    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
6368    ac_status=$?
6369    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370    (exit $ac_status); } \
6371          && test -f conftest2.$ac_objext; then
6372       : OK
6373     else
6374       am_cv_prog_cc_c_o=no
6375       break
6376     fi
6377   done
6378   rm -f core conftest*
6379   unset am_i
6380 fi
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
6382 $as_echo "$am_cv_prog_cc_c_o" >&6; }
6383 if test "$am_cv_prog_cc_c_o" != yes; then
6384    # Losing compiler, so override with the script.
6385    # FIXME: It is wrong to rewrite CC.
6386    # But if we don't then we get into trouble of one sort or another.
6387    # A longer-term fix would be to have automake use am__CC in this case,
6388    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6389    CC="$am_aux_dir/compile $CC"
6390 fi
6391 ac_ext=c
6392 ac_cpp='$CPP $CPPFLAGS'
6393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6396
6397
6398 depcc="$CC"   am_compiler_list=
6399
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6401 $as_echo_n "checking dependency style of $depcc... " >&6; }
6402 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6403   $as_echo_n "(cached) " >&6
6404 else
6405   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6406   # We make a subdir and do the tests there.  Otherwise we can end up
6407   # making bogus files that we don't know about and never remove.  For
6408   # instance it was reported that on HP-UX the gcc test will end up
6409   # making a dummy file named 'D' -- because '-MD' means "put the output
6410   # in D".
6411   rm -rf conftest.dir
6412   mkdir conftest.dir
6413   # Copy depcomp to subdir because otherwise we won't find it if we're
6414   # using a relative directory.
6415   cp "$am_depcomp" conftest.dir
6416   cd conftest.dir
6417   # We will build objects and dependencies in a subdirectory because
6418   # it helps to detect inapplicable dependency modes.  For instance
6419   # both Tru64's cc and ICC support -MD to output dependencies as a
6420   # side effect of compilation, but ICC will put the dependencies in
6421   # the current directory while Tru64 will put them in the object
6422   # directory.
6423   mkdir sub
6424
6425   am_cv_CC_dependencies_compiler_type=none
6426   if test "$am_compiler_list" = ""; then
6427      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6428   fi
6429   am__universal=false
6430   case " $depcc " in #(
6431      *\ -arch\ *\ -arch\ *) am__universal=true ;;
6432      esac
6433
6434   for depmode in $am_compiler_list; do
6435     # Setup a source with many dependencies, because some compilers
6436     # like to wrap large dependency lists on column 80 (with \), and
6437     # we should not choose a depcomp mode which is confused by this.
6438     #
6439     # We need to recreate these files for each test, as the compiler may
6440     # overwrite some of them when testing with obscure command lines.
6441     # This happens at least with the AIX C compiler.
6442     : > sub/conftest.c
6443     for i in 1 2 3 4 5 6; do
6444       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6445       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6446       # Solaris 10 /bin/sh.
6447       echo '/* dummy */' > sub/conftst$i.h
6448     done
6449     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6450
6451     # We check with '-c' and '-o' for the sake of the "dashmstdout"
6452     # mode.  It turns out that the SunPro C++ compiler does not properly
6453     # handle '-M -o', and we need to detect this.  Also, some Intel
6454     # versions had trouble with output in subdirs.
6455     am__obj=sub/conftest.${OBJEXT-o}
6456     am__minus_obj="-o $am__obj"
6457     case $depmode in
6458     gcc)
6459       # This depmode causes a compiler race in universal mode.
6460       test "$am__universal" = false || continue
6461       ;;
6462     nosideeffect)
6463       # After this tag, mechanisms are not by side-effect, so they'll
6464       # only be used when explicitly requested.
6465       if test "x$enable_dependency_tracking" = xyes; then
6466         continue
6467       else
6468         break
6469       fi
6470       ;;
6471     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6472       # This compiler won't grok '-c -o', but also, the minuso test has
6473       # not run yet.  These depmodes are late enough in the game, and
6474       # so weak that their functioning should not be impacted.
6475       am__obj=conftest.${OBJEXT-o}
6476       am__minus_obj=
6477       ;;
6478     none) break ;;
6479     esac
6480     if depmode=$depmode \
6481        source=sub/conftest.c object=$am__obj \
6482        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6483        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6484          >/dev/null 2>conftest.err &&
6485        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6486        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6487        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6488        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6489       # icc doesn't choke on unknown options, it will just issue warnings
6490       # or remarks (even with -Werror).  So we grep stderr for any message
6491       # that says an option was ignored or not supported.
6492       # When given -MP, icc 7.0 and 7.1 complain thusly:
6493       #   icc: Command line warning: ignoring option '-M'; no argument required
6494       # The diagnosis changed in icc 8.0:
6495       #   icc: Command line remark: option '-MP' not supported
6496       if (grep 'ignoring option' conftest.err ||
6497           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6498         am_cv_CC_dependencies_compiler_type=$depmode
6499         break
6500       fi
6501     fi
6502   done
6503
6504   cd ..
6505   rm -rf conftest.dir
6506 else
6507   am_cv_CC_dependencies_compiler_type=none
6508 fi
6509
6510 fi
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6512 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6513 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6514
6515  if
6516   test "x$enable_dependency_tracking" != xno \
6517   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6518   am__fastdepCC_TRUE=
6519   am__fastdepCC_FALSE='#'
6520 else
6521   am__fastdepCC_TRUE='#'
6522   am__fastdepCC_FALSE=
6523 fi
6524
6525
6526
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
6528 $as_echo_n "checking for library containing strerror... " >&6; }
6529 if ${ac_cv_search_strerror+:} false; then :
6530   $as_echo_n "(cached) " >&6
6531 else
6532   ac_func_search_save_LIBS=$LIBS
6533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6534 /* end confdefs.h.  */
6535
6536 /* Override any GCC internal prototype to avoid an error.
6537    Use char because int might match the return type of a GCC
6538    builtin and then its argument prototype would still apply.  */
6539 #ifdef __cplusplus
6540 extern "C"
6541 #endif
6542 char strerror ();
6543 int
6544 main ()
6545 {
6546 return strerror ();
6547   ;
6548   return 0;
6549 }
6550 _ACEOF
6551 for ac_lib in '' cposix; do
6552   if test -z "$ac_lib"; then
6553     ac_res="none required"
6554   else
6555     ac_res=-l$ac_lib
6556     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6557   fi
6558   if ac_fn_c_try_link "$LINENO"; then :
6559   ac_cv_search_strerror=$ac_res
6560 fi
6561 rm -f core conftest.err conftest.$ac_objext \
6562     conftest$ac_exeext
6563   if ${ac_cv_search_strerror+:} false; then :
6564   break
6565 fi
6566 done
6567 if ${ac_cv_search_strerror+:} false; then :
6568
6569 else
6570   ac_cv_search_strerror=no
6571 fi
6572 rm conftest.$ac_ext
6573 LIBS=$ac_func_search_save_LIBS
6574 fi
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
6576 $as_echo "$ac_cv_search_strerror" >&6; }
6577 ac_res=$ac_cv_search_strerror
6578 if test "$ac_res" != no; then :
6579   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6580
6581 fi
6582
6583 ac_ext=c
6584 ac_cpp='$CPP $CPPFLAGS'
6585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6588 if test -n "$ac_tool_prefix"; then
6589   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6590 set dummy ${ac_tool_prefix}gcc; ac_word=$2
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6592 $as_echo_n "checking for $ac_word... " >&6; }
6593 if ${ac_cv_prog_CC+:} false; then :
6594   $as_echo_n "(cached) " >&6
6595 else
6596   if test -n "$CC"; then
6597   ac_cv_prog_CC="$CC" # Let the user override the test.
6598 else
6599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6600 for as_dir in $PATH
6601 do
6602   IFS=$as_save_IFS
6603   test -z "$as_dir" && as_dir=.
6604     for ac_exec_ext in '' $ac_executable_extensions; do
6605   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6606     ac_cv_prog_CC="${ac_tool_prefix}gcc"
6607     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6608     break 2
6609   fi
6610 done
6611   done
6612 IFS=$as_save_IFS
6613
6614 fi
6615 fi
6616 CC=$ac_cv_prog_CC
6617 if test -n "$CC"; then
6618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6619 $as_echo "$CC" >&6; }
6620 else
6621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6622 $as_echo "no" >&6; }
6623 fi
6624
6625
6626 fi
6627 if test -z "$ac_cv_prog_CC"; then
6628   ac_ct_CC=$CC
6629   # Extract the first word of "gcc", so it can be a program name with args.
6630 set dummy gcc; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6634   $as_echo_n "(cached) " >&6
6635 else
6636   if test -n "$ac_ct_CC"; then
6637   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6641 do
6642   IFS=$as_save_IFS
6643   test -z "$as_dir" && as_dir=.
6644     for ac_exec_ext in '' $ac_executable_extensions; do
6645   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6646     ac_cv_prog_ac_ct_CC="gcc"
6647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648     break 2
6649   fi
6650 done
6651   done
6652 IFS=$as_save_IFS
6653
6654 fi
6655 fi
6656 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6657 if test -n "$ac_ct_CC"; then
6658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6659 $as_echo "$ac_ct_CC" >&6; }
6660 else
6661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6663 fi
6664
6665   if test "x$ac_ct_CC" = x; then
6666     CC=""
6667   else
6668     case $cross_compiling:$ac_tool_warned in
6669 yes:)
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6672 ac_tool_warned=yes ;;
6673 esac
6674     CC=$ac_ct_CC
6675   fi
6676 else
6677   CC="$ac_cv_prog_CC"
6678 fi
6679
6680 if test -z "$CC"; then
6681           if test -n "$ac_tool_prefix"; then
6682     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6683 set dummy ${ac_tool_prefix}cc; ac_word=$2
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 $as_echo_n "checking for $ac_word... " >&6; }
6686 if ${ac_cv_prog_CC+:} false; then :
6687   $as_echo_n "(cached) " >&6
6688 else
6689   if test -n "$CC"; then
6690   ac_cv_prog_CC="$CC" # Let the user override the test.
6691 else
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6693 for as_dir in $PATH
6694 do
6695   IFS=$as_save_IFS
6696   test -z "$as_dir" && as_dir=.
6697     for ac_exec_ext in '' $ac_executable_extensions; do
6698   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6699     ac_cv_prog_CC="${ac_tool_prefix}cc"
6700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6701     break 2
6702   fi
6703 done
6704   done
6705 IFS=$as_save_IFS
6706
6707 fi
6708 fi
6709 CC=$ac_cv_prog_CC
6710 if test -n "$CC"; then
6711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6712 $as_echo "$CC" >&6; }
6713 else
6714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715 $as_echo "no" >&6; }
6716 fi
6717
6718
6719   fi
6720 fi
6721 if test -z "$CC"; then
6722   # Extract the first word of "cc", so it can be a program name with args.
6723 set dummy cc; ac_word=$2
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725 $as_echo_n "checking for $ac_word... " >&6; }
6726 if ${ac_cv_prog_CC+:} false; then :
6727   $as_echo_n "(cached) " >&6
6728 else
6729   if test -n "$CC"; then
6730   ac_cv_prog_CC="$CC" # Let the user override the test.
6731 else
6732   ac_prog_rejected=no
6733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6734 for as_dir in $PATH
6735 do
6736   IFS=$as_save_IFS
6737   test -z "$as_dir" && as_dir=.
6738     for ac_exec_ext in '' $ac_executable_extensions; do
6739   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6740     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6741        ac_prog_rejected=yes
6742        continue
6743      fi
6744     ac_cv_prog_CC="cc"
6745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6746     break 2
6747   fi
6748 done
6749   done
6750 IFS=$as_save_IFS
6751
6752 if test $ac_prog_rejected = yes; then
6753   # We found a bogon in the path, so make sure we never use it.
6754   set dummy $ac_cv_prog_CC
6755   shift
6756   if test $# != 0; then
6757     # We chose a different compiler from the bogus one.
6758     # However, it has the same basename, so the bogon will be chosen
6759     # first if we set CC to just the basename; use the full file name.
6760     shift
6761     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6762   fi
6763 fi
6764 fi
6765 fi
6766 CC=$ac_cv_prog_CC
6767 if test -n "$CC"; then
6768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6769 $as_echo "$CC" >&6; }
6770 else
6771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6773 fi
6774
6775
6776 fi
6777 if test -z "$CC"; then
6778   if test -n "$ac_tool_prefix"; then
6779   for ac_prog in cl.exe
6780   do
6781     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6782 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6784 $as_echo_n "checking for $ac_word... " >&6; }
6785 if ${ac_cv_prog_CC+:} false; then :
6786   $as_echo_n "(cached) " >&6
6787 else
6788   if test -n "$CC"; then
6789   ac_cv_prog_CC="$CC" # Let the user override the test.
6790 else
6791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792 for as_dir in $PATH
6793 do
6794   IFS=$as_save_IFS
6795   test -z "$as_dir" && as_dir=.
6796     for ac_exec_ext in '' $ac_executable_extensions; do
6797   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6798     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6799     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6800     break 2
6801   fi
6802 done
6803   done
6804 IFS=$as_save_IFS
6805
6806 fi
6807 fi
6808 CC=$ac_cv_prog_CC
6809 if test -n "$CC"; then
6810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6811 $as_echo "$CC" >&6; }
6812 else
6813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6814 $as_echo "no" >&6; }
6815 fi
6816
6817
6818     test -n "$CC" && break
6819   done
6820 fi
6821 if test -z "$CC"; then
6822   ac_ct_CC=$CC
6823   for ac_prog in cl.exe
6824 do
6825   # Extract the first word of "$ac_prog", so it can be a program name with args.
6826 set dummy $ac_prog; ac_word=$2
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6828 $as_echo_n "checking for $ac_word... " >&6; }
6829 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6830   $as_echo_n "(cached) " >&6
6831 else
6832   if test -n "$ac_ct_CC"; then
6833   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6834 else
6835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6836 for as_dir in $PATH
6837 do
6838   IFS=$as_save_IFS
6839   test -z "$as_dir" && as_dir=.
6840     for ac_exec_ext in '' $ac_executable_extensions; do
6841   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6842     ac_cv_prog_ac_ct_CC="$ac_prog"
6843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6844     break 2
6845   fi
6846 done
6847   done
6848 IFS=$as_save_IFS
6849
6850 fi
6851 fi
6852 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6853 if test -n "$ac_ct_CC"; then
6854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6855 $as_echo "$ac_ct_CC" >&6; }
6856 else
6857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6858 $as_echo "no" >&6; }
6859 fi
6860
6861
6862   test -n "$ac_ct_CC" && break
6863 done
6864
6865   if test "x$ac_ct_CC" = x; then
6866     CC=""
6867   else
6868     case $cross_compiling:$ac_tool_warned in
6869 yes:)
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6872 ac_tool_warned=yes ;;
6873 esac
6874     CC=$ac_ct_CC
6875   fi
6876 fi
6877
6878 fi
6879
6880
6881 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6883 as_fn_error $? "no acceptable C compiler found in \$PATH
6884 See \`config.log' for more details" "$LINENO" 5; }
6885
6886 # Provide some information about the compiler.
6887 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6888 set X $ac_compile
6889 ac_compiler=$2
6890 for ac_option in --version -v -V -qversion; do
6891   { { ac_try="$ac_compiler $ac_option >&5"
6892 case "(($ac_try" in
6893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6894   *) ac_try_echo=$ac_try;;
6895 esac
6896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6897 $as_echo "$ac_try_echo"; } >&5
6898   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6899   ac_status=$?
6900   if test -s conftest.err; then
6901     sed '10a\
6902 ... rest of stderr output deleted ...
6903          10q' conftest.err >conftest.er1
6904     cat conftest.er1 >&5
6905   fi
6906   rm -f conftest.er1 conftest.err
6907   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6908   test $ac_status = 0; }
6909 done
6910
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6912 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6913 if ${ac_cv_c_compiler_gnu+:} false; then :
6914   $as_echo_n "(cached) " >&6
6915 else
6916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6917 /* end confdefs.h.  */
6918
6919 int
6920 main ()
6921 {
6922 #ifndef __GNUC__
6923        choke me
6924 #endif
6925
6926   ;
6927   return 0;
6928 }
6929 _ACEOF
6930 if ac_fn_c_try_compile "$LINENO"; then :
6931   ac_compiler_gnu=yes
6932 else
6933   ac_compiler_gnu=no
6934 fi
6935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6936 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6937
6938 fi
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6940 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6941 if test $ac_compiler_gnu = yes; then
6942   GCC=yes
6943 else
6944   GCC=
6945 fi
6946 ac_test_CFLAGS=${CFLAGS+set}
6947 ac_save_CFLAGS=$CFLAGS
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6949 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6950 if ${ac_cv_prog_cc_g+:} false; then :
6951   $as_echo_n "(cached) " >&6
6952 else
6953   ac_save_c_werror_flag=$ac_c_werror_flag
6954    ac_c_werror_flag=yes
6955    ac_cv_prog_cc_g=no
6956    CFLAGS="-g"
6957    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6958 /* end confdefs.h.  */
6959
6960 int
6961 main ()
6962 {
6963
6964   ;
6965   return 0;
6966 }
6967 _ACEOF
6968 if ac_fn_c_try_compile "$LINENO"; then :
6969   ac_cv_prog_cc_g=yes
6970 else
6971   CFLAGS=""
6972       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6973 /* end confdefs.h.  */
6974
6975 int
6976 main ()
6977 {
6978
6979   ;
6980   return 0;
6981 }
6982 _ACEOF
6983 if ac_fn_c_try_compile "$LINENO"; then :
6984
6985 else
6986   ac_c_werror_flag=$ac_save_c_werror_flag
6987          CFLAGS="-g"
6988          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6989 /* end confdefs.h.  */
6990
6991 int
6992 main ()
6993 {
6994
6995   ;
6996   return 0;
6997 }
6998 _ACEOF
6999 if ac_fn_c_try_compile "$LINENO"; then :
7000   ac_cv_prog_cc_g=yes
7001 fi
7002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7003 fi
7004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7005 fi
7006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7007    ac_c_werror_flag=$ac_save_c_werror_flag
7008 fi
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
7010 $as_echo "$ac_cv_prog_cc_g" >&6; }
7011 if test "$ac_test_CFLAGS" = set; then
7012   CFLAGS=$ac_save_CFLAGS
7013 elif test $ac_cv_prog_cc_g = yes; then
7014   if test "$GCC" = yes; then
7015     CFLAGS="-g -O2"
7016   else
7017     CFLAGS="-g"
7018   fi
7019 else
7020   if test "$GCC" = yes; then
7021     CFLAGS="-O2"
7022   else
7023     CFLAGS=
7024   fi
7025 fi
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
7027 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
7028 if ${ac_cv_prog_cc_c89+:} false; then :
7029   $as_echo_n "(cached) " >&6
7030 else
7031   ac_cv_prog_cc_c89=no
7032 ac_save_CC=$CC
7033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7034 /* end confdefs.h.  */
7035 #include <stdarg.h>
7036 #include <stdio.h>
7037 struct stat;
7038 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
7039 struct buf { int x; };
7040 FILE * (*rcsopen) (struct buf *, struct stat *, int);
7041 static char *e (p, i)
7042      char **p;
7043      int i;
7044 {
7045   return p[i];
7046 }
7047 static char *f (char * (*g) (char **, int), char **p, ...)
7048 {
7049   char *s;
7050   va_list v;
7051   va_start (v,p);
7052   s = g (p, va_arg (v,int));
7053   va_end (v);
7054   return s;
7055 }
7056
7057 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
7058    function prototypes and stuff, but not '\xHH' hex character constants.
7059    These don't provoke an error unfortunately, instead are silently treated
7060    as 'x'.  The following induces an error, until -std is added to get
7061    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
7062    array size at least.  It's necessary to write '\x00'==0 to get something
7063    that's true only with -std.  */
7064 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
7065
7066 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
7067    inside strings and character constants.  */
7068 #define FOO(x) 'x'
7069 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
7070
7071 int test (int i, double x);
7072 struct s1 {int (*f) (int a);};
7073 struct s2 {int (*f) (double a);};
7074 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
7075 int argc;
7076 char **argv;
7077 int
7078 main ()
7079 {
7080 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
7081   ;
7082   return 0;
7083 }
7084 _ACEOF
7085 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
7086         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
7087 do
7088   CC="$ac_save_CC $ac_arg"
7089   if ac_fn_c_try_compile "$LINENO"; then :
7090   ac_cv_prog_cc_c89=$ac_arg
7091 fi
7092 rm -f core conftest.err conftest.$ac_objext
7093   test "x$ac_cv_prog_cc_c89" != "xno" && break
7094 done
7095 rm -f conftest.$ac_ext
7096 CC=$ac_save_CC
7097
7098 fi
7099 # AC_CACHE_VAL
7100 case "x$ac_cv_prog_cc_c89" in
7101   x)
7102     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
7103 $as_echo "none needed" >&6; } ;;
7104   xno)
7105     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
7106 $as_echo "unsupported" >&6; } ;;
7107   *)
7108     CC="$CC $ac_cv_prog_cc_c89"
7109     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
7110 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
7111 esac
7112 if test "x$ac_cv_prog_cc_c89" != xno; then :
7113
7114 fi
7115
7116 ac_ext=c
7117 ac_cpp='$CPP $CPPFLAGS'
7118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7121
7122 ac_ext=c
7123 ac_cpp='$CPP $CPPFLAGS'
7124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
7128 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
7129 if ${am_cv_prog_cc_c_o+:} false; then :
7130   $as_echo_n "(cached) " >&6
7131 else
7132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7133 /* end confdefs.h.  */
7134
7135 int
7136 main ()
7137 {
7138
7139   ;
7140   return 0;
7141 }
7142 _ACEOF
7143   # Make sure it works both with $CC and with simple cc.
7144   # Following AC_PROG_CC_C_O, we do the test twice because some
7145   # compilers refuse to overwrite an existing .o file with -o,
7146   # though they will create one.
7147   am_cv_prog_cc_c_o=yes
7148   for am_i in 1 2; do
7149     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
7150    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
7151    ac_status=$?
7152    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153    (exit $ac_status); } \
7154          && test -f conftest2.$ac_objext; then
7155       : OK
7156     else
7157       am_cv_prog_cc_c_o=no
7158       break
7159     fi
7160   done
7161   rm -f core conftest*
7162   unset am_i
7163 fi
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
7165 $as_echo "$am_cv_prog_cc_c_o" >&6; }
7166 if test "$am_cv_prog_cc_c_o" != yes; then
7167    # Losing compiler, so override with the script.
7168    # FIXME: It is wrong to rewrite CC.
7169    # But if we don't then we get into trouble of one sort or another.
7170    # A longer-term fix would be to have automake use am__CC in this case,
7171    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
7172    CC="$am_aux_dir/compile $CC"
7173 fi
7174 ac_ext=c
7175 ac_cpp='$CPP $CPPFLAGS'
7176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7179
7180
7181 depcc="$CC"   am_compiler_list=
7182
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7184 $as_echo_n "checking dependency style of $depcc... " >&6; }
7185 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
7186   $as_echo_n "(cached) " >&6
7187 else
7188   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7189   # We make a subdir and do the tests there.  Otherwise we can end up
7190   # making bogus files that we don't know about and never remove.  For
7191   # instance it was reported that on HP-UX the gcc test will end up
7192   # making a dummy file named 'D' -- because '-MD' means "put the output
7193   # in D".
7194   rm -rf conftest.dir
7195   mkdir conftest.dir
7196   # Copy depcomp to subdir because otherwise we won't find it if we're
7197   # using a relative directory.
7198   cp "$am_depcomp" conftest.dir
7199   cd conftest.dir
7200   # We will build objects and dependencies in a subdirectory because
7201   # it helps to detect inapplicable dependency modes.  For instance
7202   # both Tru64's cc and ICC support -MD to output dependencies as a
7203   # side effect of compilation, but ICC will put the dependencies in
7204   # the current directory while Tru64 will put them in the object
7205   # directory.
7206   mkdir sub
7207
7208   am_cv_CC_dependencies_compiler_type=none
7209   if test "$am_compiler_list" = ""; then
7210      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7211   fi
7212   am__universal=false
7213   case " $depcc " in #(
7214      *\ -arch\ *\ -arch\ *) am__universal=true ;;
7215      esac
7216
7217   for depmode in $am_compiler_list; do
7218     # Setup a source with many dependencies, because some compilers
7219     # like to wrap large dependency lists on column 80 (with \), and
7220     # we should not choose a depcomp mode which is confused by this.
7221     #
7222     # We need to recreate these files for each test, as the compiler may
7223     # overwrite some of them when testing with obscure command lines.
7224     # This happens at least with the AIX C compiler.
7225     : > sub/conftest.c
7226     for i in 1 2 3 4 5 6; do
7227       echo '#include "conftst'$i'.h"' >> sub/conftest.c
7228       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
7229       # Solaris 10 /bin/sh.
7230       echo '/* dummy */' > sub/conftst$i.h
7231     done
7232     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7233
7234     # We check with '-c' and '-o' for the sake of the "dashmstdout"
7235     # mode.  It turns out that the SunPro C++ compiler does not properly
7236     # handle '-M -o', and we need to detect this.  Also, some Intel
7237     # versions had trouble with output in subdirs.
7238     am__obj=sub/conftest.${OBJEXT-o}
7239     am__minus_obj="-o $am__obj"
7240     case $depmode in
7241     gcc)
7242       # This depmode causes a compiler race in universal mode.
7243       test "$am__universal" = false || continue
7244       ;;
7245     nosideeffect)
7246       # After this tag, mechanisms are not by side-effect, so they'll
7247       # only be used when explicitly requested.
7248       if test "x$enable_dependency_tracking" = xyes; then
7249         continue
7250       else
7251         break
7252       fi
7253       ;;
7254     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
7255       # This compiler won't grok '-c -o', but also, the minuso test has
7256       # not run yet.  These depmodes are late enough in the game, and
7257       # so weak that their functioning should not be impacted.
7258       am__obj=conftest.${OBJEXT-o}
7259       am__minus_obj=
7260       ;;
7261     none) break ;;
7262     esac
7263     if depmode=$depmode \
7264        source=sub/conftest.c object=$am__obj \
7265        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7266        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7267          >/dev/null 2>conftest.err &&
7268        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7269        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7270        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7271        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7272       # icc doesn't choke on unknown options, it will just issue warnings
7273       # or remarks (even with -Werror).  So we grep stderr for any message
7274       # that says an option was ignored or not supported.
7275       # When given -MP, icc 7.0 and 7.1 complain thusly:
7276       #   icc: Command line warning: ignoring option '-M'; no argument required
7277       # The diagnosis changed in icc 8.0:
7278       #   icc: Command line remark: option '-MP' not supported
7279       if (grep 'ignoring option' conftest.err ||
7280           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7281         am_cv_CC_dependencies_compiler_type=$depmode
7282         break
7283       fi
7284     fi
7285   done
7286
7287   cd ..
7288   rm -rf conftest.dir
7289 else
7290   am_cv_CC_dependencies_compiler_type=none
7291 fi
7292
7293 fi
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
7295 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
7296 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
7297
7298  if
7299   test "x$enable_dependency_tracking" != xno \
7300   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
7301   am__fastdepCC_TRUE=
7302   am__fastdepCC_FALSE='#'
7303 else
7304   am__fastdepCC_TRUE='#'
7305   am__fastdepCC_FALSE=
7306 fi
7307
7308
7309    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
7310 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
7311 if ${ac_cv_prog_cc_c99+:} false; then :
7312   $as_echo_n "(cached) " >&6
7313 else
7314   ac_cv_prog_cc_c99=no
7315 ac_save_CC=$CC
7316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7317 /* end confdefs.h.  */
7318 #include <stdarg.h>
7319 #include <stdbool.h>
7320 #include <stdlib.h>
7321 #include <wchar.h>
7322 #include <stdio.h>
7323
7324 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
7325 #define debug(...) fprintf (stderr, __VA_ARGS__)
7326 #define showlist(...) puts (#__VA_ARGS__)
7327 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
7328 static void
7329 test_varargs_macros (void)
7330 {
7331   int x = 1234;
7332   int y = 5678;
7333   debug ("Flag");
7334   debug ("X = %d\n", x);
7335   showlist (The first, second, and third items.);
7336   report (x>y, "x is %d but y is %d", x, y);
7337 }
7338
7339 // Check long long types.
7340 #define BIG64 18446744073709551615ull
7341 #define BIG32 4294967295ul
7342 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
7343 #if !BIG_OK
7344   your preprocessor is broken;
7345 #endif
7346 #if BIG_OK
7347 #else
7348   your preprocessor is broken;
7349 #endif
7350 static long long int bignum = -9223372036854775807LL;
7351 static unsigned long long int ubignum = BIG64;
7352
7353 struct incomplete_array
7354 {
7355   int datasize;
7356   double data[];
7357 };
7358
7359 struct named_init {
7360   int number;
7361   const wchar_t *name;
7362   double average;
7363 };
7364
7365 typedef const char *ccp;
7366
7367 static inline int
7368 test_restrict (ccp restrict text)
7369 {
7370   // See if C++-style comments work.
7371   // Iterate through items via the restricted pointer.
7372   // Also check for declarations in for loops.
7373   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
7374     continue;
7375   return 0;
7376 }
7377
7378 // Check varargs and va_copy.
7379 static void
7380 test_varargs (const char *format, ...)
7381 {
7382   va_list args;
7383   va_start (args, format);
7384   va_list args_copy;
7385   va_copy (args_copy, args);
7386
7387   const char *str;
7388   int number;
7389   float fnumber;
7390
7391   while (*format)
7392     {
7393       switch (*format++)
7394         {
7395         case 's': // string
7396           str = va_arg (args_copy, const char *);
7397           break;
7398         case 'd': // int
7399           number = va_arg (args_copy, int);
7400           break;
7401         case 'f': // float
7402           fnumber = va_arg (args_copy, double);
7403           break;
7404         default:
7405           break;
7406         }
7407     }
7408   va_end (args_copy);
7409   va_end (args);
7410 }
7411
7412 int
7413 main ()
7414 {
7415
7416   // Check bool.
7417   _Bool success = false;
7418
7419   // Check restrict.
7420   if (test_restrict ("String literal") == 0)
7421     success = true;
7422   char *restrict newvar = "Another string";
7423
7424   // Check varargs.
7425   test_varargs ("s, d' f .", "string", 65, 34.234);
7426   test_varargs_macros ();
7427
7428   // Check flexible array members.
7429   struct incomplete_array *ia =
7430     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
7431   ia->datasize = 10;
7432   for (int i = 0; i < ia->datasize; ++i)
7433     ia->data[i] = i * 1.234;
7434
7435   // Check named initializers.
7436   struct named_init ni = {
7437     .number = 34,
7438     .name = L"Test wide string",
7439     .average = 543.34343,
7440   };
7441
7442   ni.number = 58;
7443
7444   int dynamic_array[ni.number];
7445   dynamic_array[ni.number - 1] = 543;
7446
7447   // work around unused variable warnings
7448   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
7449           || dynamic_array[ni.number - 1] != 543);
7450
7451   ;
7452   return 0;
7453 }
7454 _ACEOF
7455 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
7456 do
7457   CC="$ac_save_CC $ac_arg"
7458   if ac_fn_c_try_compile "$LINENO"; then :
7459   ac_cv_prog_cc_c99=$ac_arg
7460 fi
7461 rm -f core conftest.err conftest.$ac_objext
7462   test "x$ac_cv_prog_cc_c99" != "xno" && break
7463 done
7464 rm -f conftest.$ac_ext
7465 CC=$ac_save_CC
7466
7467 fi
7468 # AC_CACHE_VAL
7469 case "x$ac_cv_prog_cc_c99" in
7470   x)
7471     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
7472 $as_echo "none needed" >&6; } ;;
7473   xno)
7474     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
7475 $as_echo "unsupported" >&6; } ;;
7476   *)
7477     CC="$CC $ac_cv_prog_cc_c99"
7478     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
7479 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
7480 esac
7481 if test "x$ac_cv_prog_cc_c99" != xno; then :
7482
7483 fi
7484
7485
7486 ac_ext=cpp
7487 ac_cpp='$CXXCPP $CPPFLAGS'
7488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7491 if test -z "$CXX"; then
7492   if test -n "$CCC"; then
7493     CXX=$CCC
7494   else
7495     if test -n "$ac_tool_prefix"; then
7496   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7497   do
7498     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7501 $as_echo_n "checking for $ac_word... " >&6; }
7502 if ${ac_cv_prog_CXX+:} false; then :
7503   $as_echo_n "(cached) " >&6
7504 else
7505   if test -n "$CXX"; then
7506   ac_cv_prog_CXX="$CXX" # Let the user override the test.
7507 else
7508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7509 for as_dir in $PATH
7510 do
7511   IFS=$as_save_IFS
7512   test -z "$as_dir" && as_dir=.
7513     for ac_exec_ext in '' $ac_executable_extensions; do
7514   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7515     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7517     break 2
7518   fi
7519 done
7520   done
7521 IFS=$as_save_IFS
7522
7523 fi
7524 fi
7525 CXX=$ac_cv_prog_CXX
7526 if test -n "$CXX"; then
7527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7528 $as_echo "$CXX" >&6; }
7529 else
7530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7531 $as_echo "no" >&6; }
7532 fi
7533
7534
7535     test -n "$CXX" && break
7536   done
7537 fi
7538 if test -z "$CXX"; then
7539   ac_ct_CXX=$CXX
7540   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7541 do
7542   # Extract the first word of "$ac_prog", so it can be a program name with args.
7543 set dummy $ac_prog; ac_word=$2
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7545 $as_echo_n "checking for $ac_word... " >&6; }
7546 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
7547   $as_echo_n "(cached) " >&6
7548 else
7549   if test -n "$ac_ct_CXX"; then
7550   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7551 else
7552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7553 for as_dir in $PATH
7554 do
7555   IFS=$as_save_IFS
7556   test -z "$as_dir" && as_dir=.
7557     for ac_exec_ext in '' $ac_executable_extensions; do
7558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7559     ac_cv_prog_ac_ct_CXX="$ac_prog"
7560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7561     break 2
7562   fi
7563 done
7564   done
7565 IFS=$as_save_IFS
7566
7567 fi
7568 fi
7569 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7570 if test -n "$ac_ct_CXX"; then
7571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7572 $as_echo "$ac_ct_CXX" >&6; }
7573 else
7574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7575 $as_echo "no" >&6; }
7576 fi
7577
7578
7579   test -n "$ac_ct_CXX" && break
7580 done
7581
7582   if test "x$ac_ct_CXX" = x; then
7583     CXX="g++"
7584   else
7585     case $cross_compiling:$ac_tool_warned in
7586 yes:)
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7589 ac_tool_warned=yes ;;
7590 esac
7591     CXX=$ac_ct_CXX
7592   fi
7593 fi
7594
7595   fi
7596 fi
7597 # Provide some information about the compiler.
7598 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7599 set X $ac_compile
7600 ac_compiler=$2
7601 for ac_option in --version -v -V -qversion; do
7602   { { ac_try="$ac_compiler $ac_option >&5"
7603 case "(($ac_try" in
7604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7605   *) ac_try_echo=$ac_try;;
7606 esac
7607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7608 $as_echo "$ac_try_echo"; } >&5
7609   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7610   ac_status=$?
7611   if test -s conftest.err; then
7612     sed '10a\
7613 ... rest of stderr output deleted ...
7614          10q' conftest.err >conftest.er1
7615     cat conftest.er1 >&5
7616   fi
7617   rm -f conftest.er1 conftest.err
7618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7619   test $ac_status = 0; }
7620 done
7621
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7623 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7624 if ${ac_cv_cxx_compiler_gnu+:} false; then :
7625   $as_echo_n "(cached) " >&6
7626 else
7627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7628 /* end confdefs.h.  */
7629
7630 int
7631 main ()
7632 {
7633 #ifndef __GNUC__
7634        choke me
7635 #endif
7636
7637   ;
7638   return 0;
7639 }
7640 _ACEOF
7641 if ac_fn_cxx_try_compile "$LINENO"; then :
7642   ac_compiler_gnu=yes
7643 else
7644   ac_compiler_gnu=no
7645 fi
7646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7647 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7648
7649 fi
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7651 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7652 if test $ac_compiler_gnu = yes; then
7653   GXX=yes
7654 else
7655   GXX=
7656 fi
7657 ac_test_CXXFLAGS=${CXXFLAGS+set}
7658 ac_save_CXXFLAGS=$CXXFLAGS
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7660 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7661 if ${ac_cv_prog_cxx_g+:} false; then :
7662   $as_echo_n "(cached) " >&6
7663 else
7664   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7665    ac_cxx_werror_flag=yes
7666    ac_cv_prog_cxx_g=no
7667    CXXFLAGS="-g"
7668    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7669 /* end confdefs.h.  */
7670
7671 int
7672 main ()
7673 {
7674
7675   ;
7676   return 0;
7677 }
7678 _ACEOF
7679 if ac_fn_cxx_try_compile "$LINENO"; then :
7680   ac_cv_prog_cxx_g=yes
7681 else
7682   CXXFLAGS=""
7683       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7684 /* end confdefs.h.  */
7685
7686 int
7687 main ()
7688 {
7689
7690   ;
7691   return 0;
7692 }
7693 _ACEOF
7694 if ac_fn_cxx_try_compile "$LINENO"; then :
7695
7696 else
7697   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7698          CXXFLAGS="-g"
7699          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7700 /* end confdefs.h.  */
7701
7702 int
7703 main ()
7704 {
7705
7706   ;
7707   return 0;
7708 }
7709 _ACEOF
7710 if ac_fn_cxx_try_compile "$LINENO"; then :
7711   ac_cv_prog_cxx_g=yes
7712 fi
7713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7714 fi
7715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7716 fi
7717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7718    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7719 fi
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7721 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7722 if test "$ac_test_CXXFLAGS" = set; then
7723   CXXFLAGS=$ac_save_CXXFLAGS
7724 elif test $ac_cv_prog_cxx_g = yes; then
7725   if test "$GXX" = yes; then
7726     CXXFLAGS="-g -O2"
7727   else
7728     CXXFLAGS="-g"
7729   fi
7730 else
7731   if test "$GXX" = yes; then
7732     CXXFLAGS="-O2"
7733   else
7734     CXXFLAGS=
7735   fi
7736 fi
7737 ac_ext=c
7738 ac_cpp='$CPP $CPPFLAGS'
7739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7742
7743 depcc="$CXX"  am_compiler_list=
7744
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7746 $as_echo_n "checking dependency style of $depcc... " >&6; }
7747 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
7748   $as_echo_n "(cached) " >&6
7749 else
7750   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7751   # We make a subdir and do the tests there.  Otherwise we can end up
7752   # making bogus files that we don't know about and never remove.  For
7753   # instance it was reported that on HP-UX the gcc test will end up
7754   # making a dummy file named 'D' -- because '-MD' means "put the output
7755   # in D".
7756   rm -rf conftest.dir
7757   mkdir conftest.dir
7758   # Copy depcomp to subdir because otherwise we won't find it if we're
7759   # using a relative directory.
7760   cp "$am_depcomp" conftest.dir
7761   cd conftest.dir
7762   # We will build objects and dependencies in a subdirectory because
7763   # it helps to detect inapplicable dependency modes.  For instance
7764   # both Tru64's cc and ICC support -MD to output dependencies as a
7765   # side effect of compilation, but ICC will put the dependencies in
7766   # the current directory while Tru64 will put them in the object
7767   # directory.
7768   mkdir sub
7769
7770   am_cv_CXX_dependencies_compiler_type=none
7771   if test "$am_compiler_list" = ""; then
7772      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7773   fi
7774   am__universal=false
7775   case " $depcc " in #(
7776      *\ -arch\ *\ -arch\ *) am__universal=true ;;
7777      esac
7778
7779   for depmode in $am_compiler_list; do
7780     # Setup a source with many dependencies, because some compilers
7781     # like to wrap large dependency lists on column 80 (with \), and
7782     # we should not choose a depcomp mode which is confused by this.
7783     #
7784     # We need to recreate these files for each test, as the compiler may
7785     # overwrite some of them when testing with obscure command lines.
7786     # This happens at least with the AIX C compiler.
7787     : > sub/conftest.c
7788     for i in 1 2 3 4 5 6; do
7789       echo '#include "conftst'$i'.h"' >> sub/conftest.c
7790       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
7791       # Solaris 10 /bin/sh.
7792       echo '/* dummy */' > sub/conftst$i.h
7793     done
7794     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7795
7796     # We check with '-c' and '-o' for the sake of the "dashmstdout"
7797     # mode.  It turns out that the SunPro C++ compiler does not properly
7798     # handle '-M -o', and we need to detect this.  Also, some Intel
7799     # versions had trouble with output in subdirs.
7800     am__obj=sub/conftest.${OBJEXT-o}
7801     am__minus_obj="-o $am__obj"
7802     case $depmode in
7803     gcc)
7804       # This depmode causes a compiler race in universal mode.
7805       test "$am__universal" = false || continue
7806       ;;
7807     nosideeffect)
7808       # After this tag, mechanisms are not by side-effect, so they'll
7809       # only be used when explicitly requested.
7810       if test "x$enable_dependency_tracking" = xyes; then
7811         continue
7812       else
7813         break
7814       fi
7815       ;;
7816     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
7817       # This compiler won't grok '-c -o', but also, the minuso test has
7818       # not run yet.  These depmodes are late enough in the game, and
7819       # so weak that their functioning should not be impacted.
7820       am__obj=conftest.${OBJEXT-o}
7821       am__minus_obj=
7822       ;;
7823     none) break ;;
7824     esac
7825     if depmode=$depmode \
7826        source=sub/conftest.c object=$am__obj \
7827        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7828        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7829          >/dev/null 2>conftest.err &&
7830        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7831        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7832        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7833        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7834       # icc doesn't choke on unknown options, it will just issue warnings
7835       # or remarks (even with -Werror).  So we grep stderr for any message
7836       # that says an option was ignored or not supported.
7837       # When given -MP, icc 7.0 and 7.1 complain thusly:
7838       #   icc: Command line warning: ignoring option '-M'; no argument required
7839       # The diagnosis changed in icc 8.0:
7840       #   icc: Command line remark: option '-MP' not supported
7841       if (grep 'ignoring option' conftest.err ||
7842           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7843         am_cv_CXX_dependencies_compiler_type=$depmode
7844         break
7845       fi
7846     fi
7847   done
7848
7849   cd ..
7850   rm -rf conftest.dir
7851 else
7852   am_cv_CXX_dependencies_compiler_type=none
7853 fi
7854
7855 fi
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7857 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7858 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7859
7860  if
7861   test "x$enable_dependency_tracking" != xno \
7862   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7863   am__fastdepCXX_TRUE=
7864   am__fastdepCXX_FALSE='#'
7865 else
7866   am__fastdepCXX_TRUE='#'
7867   am__fastdepCXX_FALSE=
7868 fi
7869
7870
7871 ac_ext=c
7872 ac_cpp='$CPP $CPPFLAGS'
7873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7877 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7878 # On Suns, sometimes $CPP names a directory.
7879 if test -n "$CPP" && test -d "$CPP"; then
7880   CPP=
7881 fi
7882 if test -z "$CPP"; then
7883   if ${ac_cv_prog_CPP+:} false; then :
7884   $as_echo_n "(cached) " >&6
7885 else
7886       # Double quotes because CPP needs to be expanded
7887     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7888     do
7889       ac_preproc_ok=false
7890 for ac_c_preproc_warn_flag in '' yes
7891 do
7892   # Use a header file that comes with gcc, so configuring glibc
7893   # with a fresh cross-compiler works.
7894   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7895   # <limits.h> exists even on freestanding compilers.
7896   # On the NeXT, cc -E runs the code through the compiler's parser,
7897   # not just through cpp. "Syntax error" is here to catch this case.
7898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h.  */
7900 #ifdef __STDC__
7901 # include <limits.h>
7902 #else
7903 # include <assert.h>
7904 #endif
7905                      Syntax error
7906 _ACEOF
7907 if ac_fn_c_try_cpp "$LINENO"; then :
7908
7909 else
7910   # Broken: fails on valid input.
7911 continue
7912 fi
7913 rm -f conftest.err conftest.i conftest.$ac_ext
7914
7915   # OK, works on sane cases.  Now check whether nonexistent headers
7916   # can be detected and how.
7917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7918 /* end confdefs.h.  */
7919 #include <ac_nonexistent.h>
7920 _ACEOF
7921 if ac_fn_c_try_cpp "$LINENO"; then :
7922   # Broken: success on invalid input.
7923 continue
7924 else
7925   # Passes both tests.
7926 ac_preproc_ok=:
7927 break
7928 fi
7929 rm -f conftest.err conftest.i conftest.$ac_ext
7930
7931 done
7932 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7933 rm -f conftest.i conftest.err conftest.$ac_ext
7934 if $ac_preproc_ok; then :
7935   break
7936 fi
7937
7938     done
7939     ac_cv_prog_CPP=$CPP
7940
7941 fi
7942   CPP=$ac_cv_prog_CPP
7943 else
7944   ac_cv_prog_CPP=$CPP
7945 fi
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7947 $as_echo "$CPP" >&6; }
7948 ac_preproc_ok=false
7949 for ac_c_preproc_warn_flag in '' yes
7950 do
7951   # Use a header file that comes with gcc, so configuring glibc
7952   # with a fresh cross-compiler works.
7953   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7954   # <limits.h> exists even on freestanding compilers.
7955   # On the NeXT, cc -E runs the code through the compiler's parser,
7956   # not just through cpp. "Syntax error" is here to catch this case.
7957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7958 /* end confdefs.h.  */
7959 #ifdef __STDC__
7960 # include <limits.h>
7961 #else
7962 # include <assert.h>
7963 #endif
7964                      Syntax error
7965 _ACEOF
7966 if ac_fn_c_try_cpp "$LINENO"; then :
7967
7968 else
7969   # Broken: fails on valid input.
7970 continue
7971 fi
7972 rm -f conftest.err conftest.i conftest.$ac_ext
7973
7974   # OK, works on sane cases.  Now check whether nonexistent headers
7975   # can be detected and how.
7976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7977 /* end confdefs.h.  */
7978 #include <ac_nonexistent.h>
7979 _ACEOF
7980 if ac_fn_c_try_cpp "$LINENO"; then :
7981   # Broken: success on invalid input.
7982 continue
7983 else
7984   # Passes both tests.
7985 ac_preproc_ok=:
7986 break
7987 fi
7988 rm -f conftest.err conftest.i conftest.$ac_ext
7989
7990 done
7991 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7992 rm -f conftest.i conftest.err conftest.$ac_ext
7993 if $ac_preproc_ok; then :
7994
7995 else
7996   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7997 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7998 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7999 See \`config.log' for more details" "$LINENO" 5; }
8000 fi
8001
8002 ac_ext=c
8003 ac_cpp='$CPP $CPPFLAGS'
8004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8007
8008
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
8010 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
8011 if ${ac_cv_path_GREP+:} false; then :
8012   $as_echo_n "(cached) " >&6
8013 else
8014   if test -z "$GREP"; then
8015   ac_path_GREP_found=false
8016   # Loop through the user's path and test for each of PROGNAME-LIST
8017   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8018 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8019 do
8020   IFS=$as_save_IFS
8021   test -z "$as_dir" && as_dir=.
8022     for ac_prog in grep ggrep; do
8023     for ac_exec_ext in '' $ac_executable_extensions; do
8024       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
8025       as_fn_executable_p "$ac_path_GREP" || continue
8026 # Check for GNU ac_path_GREP and select it if it is found.
8027   # Check for GNU $ac_path_GREP
8028 case `"$ac_path_GREP" --version 2>&1` in
8029 *GNU*)
8030   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
8031 *)
8032   ac_count=0
8033   $as_echo_n 0123456789 >"conftest.in"
8034   while :
8035   do
8036     cat "conftest.in" "conftest.in" >"conftest.tmp"
8037     mv "conftest.tmp" "conftest.in"
8038     cp "conftest.in" "conftest.nl"
8039     $as_echo 'GREP' >> "conftest.nl"
8040     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8041     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8042     as_fn_arith $ac_count + 1 && ac_count=$as_val
8043     if test $ac_count -gt ${ac_path_GREP_max-0}; then
8044       # Best one so far, save it but keep looking for a better one
8045       ac_cv_path_GREP="$ac_path_GREP"
8046       ac_path_GREP_max=$ac_count
8047     fi
8048     # 10*(2^10) chars as input seems more than enough
8049     test $ac_count -gt 10 && break
8050   done
8051   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8052 esac
8053
8054       $ac_path_GREP_found && break 3
8055     done
8056   done
8057   done
8058 IFS=$as_save_IFS
8059   if test -z "$ac_cv_path_GREP"; then
8060     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8061   fi
8062 else
8063   ac_cv_path_GREP=$GREP
8064 fi
8065
8066 fi
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
8068 $as_echo "$ac_cv_path_GREP" >&6; }
8069  GREP="$ac_cv_path_GREP"
8070
8071
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
8073 $as_echo_n "checking for egrep... " >&6; }
8074 if ${ac_cv_path_EGREP+:} false; then :
8075   $as_echo_n "(cached) " >&6
8076 else
8077   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
8078    then ac_cv_path_EGREP="$GREP -E"
8079    else
8080      if test -z "$EGREP"; then
8081   ac_path_EGREP_found=false
8082   # Loop through the user's path and test for each of PROGNAME-LIST
8083   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8084 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
8085 do
8086   IFS=$as_save_IFS
8087   test -z "$as_dir" && as_dir=.
8088     for ac_prog in egrep; do
8089     for ac_exec_ext in '' $ac_executable_extensions; do
8090       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
8091       as_fn_executable_p "$ac_path_EGREP" || continue
8092 # Check for GNU ac_path_EGREP and select it if it is found.
8093   # Check for GNU $ac_path_EGREP
8094 case `"$ac_path_EGREP" --version 2>&1` in
8095 *GNU*)
8096   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
8097 *)
8098   ac_count=0
8099   $as_echo_n 0123456789 >"conftest.in"
8100   while :
8101   do
8102     cat "conftest.in" "conftest.in" >"conftest.tmp"
8103     mv "conftest.tmp" "conftest.in"
8104     cp "conftest.in" "conftest.nl"
8105     $as_echo 'EGREP' >> "conftest.nl"
8106     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
8107     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
8108     as_fn_arith $ac_count + 1 && ac_count=$as_val
8109     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
8110       # Best one so far, save it but keep looking for a better one
8111       ac_cv_path_EGREP="$ac_path_EGREP"
8112       ac_path_EGREP_max=$ac_count
8113     fi
8114     # 10*(2^10) chars as input seems more than enough
8115     test $ac_count -gt 10 && break
8116   done
8117   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
8118 esac
8119
8120       $ac_path_EGREP_found && break 3
8121     done
8122   done
8123   done
8124 IFS=$as_save_IFS
8125   if test -z "$ac_cv_path_EGREP"; then
8126     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
8127   fi
8128 else
8129   ac_cv_path_EGREP=$EGREP
8130 fi
8131
8132    fi
8133 fi
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
8135 $as_echo "$ac_cv_path_EGREP" >&6; }
8136  EGREP="$ac_cv_path_EGREP"
8137
8138
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8140 $as_echo_n "checking for ANSI C header files... " >&6; }
8141 if ${ac_cv_header_stdc+:} false; then :
8142   $as_echo_n "(cached) " >&6
8143 else
8144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8145 /* end confdefs.h.  */
8146 #include <stdlib.h>
8147 #include <stdarg.h>
8148 #include <string.h>
8149 #include <float.h>
8150
8151 int
8152 main ()
8153 {
8154
8155   ;
8156   return 0;
8157 }
8158 _ACEOF
8159 if ac_fn_c_try_compile "$LINENO"; then :
8160   ac_cv_header_stdc=yes
8161 else
8162   ac_cv_header_stdc=no
8163 fi
8164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8165
8166 if test $ac_cv_header_stdc = yes; then
8167   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8169 /* end confdefs.h.  */
8170 #include <string.h>
8171
8172 _ACEOF
8173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8174   $EGREP "memchr" >/dev/null 2>&1; then :
8175
8176 else
8177   ac_cv_header_stdc=no
8178 fi
8179 rm -f conftest*
8180
8181 fi
8182
8183 if test $ac_cv_header_stdc = yes; then
8184   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8186 /* end confdefs.h.  */
8187 #include <stdlib.h>
8188
8189 _ACEOF
8190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8191   $EGREP "free" >/dev/null 2>&1; then :
8192
8193 else
8194   ac_cv_header_stdc=no
8195 fi
8196 rm -f conftest*
8197
8198 fi
8199
8200 if test $ac_cv_header_stdc = yes; then
8201   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8202   if test "$cross_compiling" = yes; then :
8203   :
8204 else
8205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8206 /* end confdefs.h.  */
8207 #include <ctype.h>
8208 #include <stdlib.h>
8209 #if ((' ' & 0x0FF) == 0x020)
8210 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8211 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8212 #else
8213 # define ISLOWER(c) \
8214                    (('a' <= (c) && (c) <= 'i') \
8215                      || ('j' <= (c) && (c) <= 'r') \
8216                      || ('s' <= (c) && (c) <= 'z'))
8217 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8218 #endif
8219
8220 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8221 int
8222 main ()
8223 {
8224   int i;
8225   for (i = 0; i < 256; i++)
8226     if (XOR (islower (i), ISLOWER (i))
8227         || toupper (i) != TOUPPER (i))
8228       return 2;
8229   return 0;
8230 }
8231 _ACEOF
8232 if ac_fn_c_try_run "$LINENO"; then :
8233
8234 else
8235   ac_cv_header_stdc=no
8236 fi
8237 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8238   conftest.$ac_objext conftest.beam conftest.$ac_ext
8239 fi
8240
8241 fi
8242 fi
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8244 $as_echo "$ac_cv_header_stdc" >&6; }
8245 if test $ac_cv_header_stdc = yes; then
8246
8247 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8248
8249 fi
8250
8251
8252 # Check whether --enable-largefile was given.
8253 if test "${enable_largefile+set}" = set; then :
8254   enableval=$enable_largefile;
8255 fi
8256
8257 if test "$enable_largefile" != no; then
8258
8259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
8260 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
8261 if ${ac_cv_sys_largefile_CC+:} false; then :
8262   $as_echo_n "(cached) " >&6
8263 else
8264   ac_cv_sys_largefile_CC=no
8265      if test "$GCC" != yes; then
8266        ac_save_CC=$CC
8267        while :; do
8268          # IRIX 6.2 and later do not support large files by default,
8269          # so use the C compiler's -n32 option if that helps.
8270          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8271 /* end confdefs.h.  */
8272 #include <sys/types.h>
8273  /* Check that off_t can represent 2**63 - 1 correctly.
8274     We can't simply define LARGE_OFF_T to be 9223372036854775807,
8275     since some C++ compilers masquerading as C compilers
8276     incorrectly reject 9223372036854775807.  */
8277 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8278   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8279                        && LARGE_OFF_T % 2147483647 == 1)
8280                       ? 1 : -1];
8281 int
8282 main ()
8283 {
8284
8285   ;
8286   return 0;
8287 }
8288 _ACEOF
8289          if ac_fn_c_try_compile "$LINENO"; then :
8290   break
8291 fi
8292 rm -f core conftest.err conftest.$ac_objext
8293          CC="$CC -n32"
8294          if ac_fn_c_try_compile "$LINENO"; then :
8295   ac_cv_sys_largefile_CC=' -n32'; break
8296 fi
8297 rm -f core conftest.err conftest.$ac_objext
8298          break
8299        done
8300        CC=$ac_save_CC
8301        rm -f conftest.$ac_ext
8302     fi
8303 fi
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
8305 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
8306   if test "$ac_cv_sys_largefile_CC" != no; then
8307     CC=$CC$ac_cv_sys_largefile_CC
8308   fi
8309
8310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
8311 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
8312 if ${ac_cv_sys_file_offset_bits+:} false; then :
8313   $as_echo_n "(cached) " >&6
8314 else
8315   while :; do
8316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8317 /* end confdefs.h.  */
8318 #include <sys/types.h>
8319  /* Check that off_t can represent 2**63 - 1 correctly.
8320     We can't simply define LARGE_OFF_T to be 9223372036854775807,
8321     since some C++ compilers masquerading as C compilers
8322     incorrectly reject 9223372036854775807.  */
8323 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8324   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8325                        && LARGE_OFF_T % 2147483647 == 1)
8326                       ? 1 : -1];
8327 int
8328 main ()
8329 {
8330
8331   ;
8332   return 0;
8333 }
8334 _ACEOF
8335 if ac_fn_c_try_compile "$LINENO"; then :
8336   ac_cv_sys_file_offset_bits=no; break
8337 fi
8338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h.  */
8341 #define _FILE_OFFSET_BITS 64
8342 #include <sys/types.h>
8343  /* Check that off_t can represent 2**63 - 1 correctly.
8344     We can't simply define LARGE_OFF_T to be 9223372036854775807,
8345     since some C++ compilers masquerading as C compilers
8346     incorrectly reject 9223372036854775807.  */
8347 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8348   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8349                        && LARGE_OFF_T % 2147483647 == 1)
8350                       ? 1 : -1];
8351 int
8352 main ()
8353 {
8354
8355   ;
8356   return 0;
8357 }
8358 _ACEOF
8359 if ac_fn_c_try_compile "$LINENO"; then :
8360   ac_cv_sys_file_offset_bits=64; break
8361 fi
8362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8363   ac_cv_sys_file_offset_bits=unknown
8364   break
8365 done
8366 fi
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8368 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
8369 case $ac_cv_sys_file_offset_bits in #(
8370   no | unknown) ;;
8371   *)
8372 cat >>confdefs.h <<_ACEOF
8373 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
8374 _ACEOF
8375 ;;
8376 esac
8377 rm -rf conftest*
8378   if test $ac_cv_sys_file_offset_bits = unknown; then
8379     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8380 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
8381 if ${ac_cv_sys_large_files+:} false; then :
8382   $as_echo_n "(cached) " >&6
8383 else
8384   while :; do
8385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8386 /* end confdefs.h.  */
8387 #include <sys/types.h>
8388  /* Check that off_t can represent 2**63 - 1 correctly.
8389     We can't simply define LARGE_OFF_T to be 9223372036854775807,
8390     since some C++ compilers masquerading as C compilers
8391     incorrectly reject 9223372036854775807.  */
8392 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8393   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8394                        && LARGE_OFF_T % 2147483647 == 1)
8395                       ? 1 : -1];
8396 int
8397 main ()
8398 {
8399
8400   ;
8401   return 0;
8402 }
8403 _ACEOF
8404 if ac_fn_c_try_compile "$LINENO"; then :
8405   ac_cv_sys_large_files=no; break
8406 fi
8407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8409 /* end confdefs.h.  */
8410 #define _LARGE_FILES 1
8411 #include <sys/types.h>
8412  /* Check that off_t can represent 2**63 - 1 correctly.
8413     We can't simply define LARGE_OFF_T to be 9223372036854775807,
8414     since some C++ compilers masquerading as C compilers
8415     incorrectly reject 9223372036854775807.  */
8416 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8417   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8418                        && LARGE_OFF_T % 2147483647 == 1)
8419                       ? 1 : -1];
8420 int
8421 main ()
8422 {
8423
8424   ;
8425   return 0;
8426 }
8427 _ACEOF
8428 if ac_fn_c_try_compile "$LINENO"; then :
8429   ac_cv_sys_large_files=1; break
8430 fi
8431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8432   ac_cv_sys_large_files=unknown
8433   break
8434 done
8435 fi
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8437 $as_echo "$ac_cv_sys_large_files" >&6; }
8438 case $ac_cv_sys_large_files in #(
8439   no | unknown) ;;
8440   *)
8441 cat >>confdefs.h <<_ACEOF
8442 #define _LARGE_FILES $ac_cv_sys_large_files
8443 _ACEOF
8444 ;;
8445 esac
8446 rm -rf conftest*
8447   fi
8448
8449
8450 fi
8451
8452
8453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
8454 $as_echo_n "checking whether NLS is requested... " >&6; }
8455     # Check whether --enable-nls was given.
8456 if test "${enable_nls+set}" = set; then :
8457   enableval=$enable_nls; USE_NLS=$enableval
8458 else
8459   USE_NLS=yes
8460 fi
8461
8462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8463 $as_echo "$USE_NLS" >&6; }
8464
8465
8466
8467
8468 case "$am__api_version" in
8469     1.01234)
8470         as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
8471     ;;
8472     *)
8473     ;;
8474 esac
8475
8476 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
8477 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
8478 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
8479 if test -n "0.35.0"; then
8480     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
8481 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
8482     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
8483 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
8484     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
8485         as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
8486 fi
8487
8488 # Extract the first word of "intltool-update", so it can be a program name with args.
8489 set dummy intltool-update; ac_word=$2
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8491 $as_echo_n "checking for $ac_word... " >&6; }
8492 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
8493   $as_echo_n "(cached) " >&6
8494 else
8495   case $INTLTOOL_UPDATE in
8496   [\\/]* | ?:[\\/]*)
8497   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
8498   ;;
8499   *)
8500   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8501 for as_dir in $PATH
8502 do
8503   IFS=$as_save_IFS
8504   test -z "$as_dir" && as_dir=.
8505     for ac_exec_ext in '' $ac_executable_extensions; do
8506   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8507     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
8508     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8509     break 2
8510   fi
8511 done
8512   done
8513 IFS=$as_save_IFS
8514
8515   ;;
8516 esac
8517 fi
8518 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
8519 if test -n "$INTLTOOL_UPDATE"; then
8520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
8521 $as_echo "$INTLTOOL_UPDATE" >&6; }
8522 else
8523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8524 $as_echo "no" >&6; }
8525 fi
8526
8527
8528 # Extract the first word of "intltool-merge", so it can be a program name with args.
8529 set dummy intltool-merge; ac_word=$2
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8531 $as_echo_n "checking for $ac_word... " >&6; }
8532 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
8533   $as_echo_n "(cached) " >&6
8534 else
8535   case $INTLTOOL_MERGE in
8536   [\\/]* | ?:[\\/]*)
8537   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
8538   ;;
8539   *)
8540   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8541 for as_dir in $PATH
8542 do
8543   IFS=$as_save_IFS
8544   test -z "$as_dir" && as_dir=.
8545     for ac_exec_ext in '' $ac_executable_extensions; do
8546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8547     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
8548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8549     break 2
8550   fi
8551 done
8552   done
8553 IFS=$as_save_IFS
8554
8555   ;;
8556 esac
8557 fi
8558 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
8559 if test -n "$INTLTOOL_MERGE"; then
8560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
8561 $as_echo "$INTLTOOL_MERGE" >&6; }
8562 else
8563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8564 $as_echo "no" >&6; }
8565 fi
8566
8567
8568 # Extract the first word of "intltool-extract", so it can be a program name with args.
8569 set dummy intltool-extract; ac_word=$2
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8571 $as_echo_n "checking for $ac_word... " >&6; }
8572 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
8573   $as_echo_n "(cached) " >&6
8574 else
8575   case $INTLTOOL_EXTRACT in
8576   [\\/]* | ?:[\\/]*)
8577   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
8578   ;;
8579   *)
8580   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8581 for as_dir in $PATH
8582 do
8583   IFS=$as_save_IFS
8584   test -z "$as_dir" && as_dir=.
8585     for ac_exec_ext in '' $ac_executable_extensions; do
8586   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8587     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
8588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8589     break 2
8590   fi
8591 done
8592   done
8593 IFS=$as_save_IFS
8594
8595   ;;
8596 esac
8597 fi
8598 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
8599 if test -n "$INTLTOOL_EXTRACT"; then
8600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
8601 $as_echo "$INTLTOOL_EXTRACT" >&6; }
8602 else
8603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8604 $as_echo "no" >&6; }
8605 fi
8606
8607
8608 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
8609     as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
8610 fi
8611
8612 if test -z "$AM_DEFAULT_VERBOSITY"; then
8613   AM_DEFAULT_VERBOSITY=1
8614 fi
8615
8616
8617 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
8618 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
8619 INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
8620
8621
8622
8623
8624 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
8625 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
8626 intltool__v_merge_options_0='-q'
8627
8628
8629
8630
8631   INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8632 INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8633      INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8634      INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8635       INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
8636      INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8637    INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8638     INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8639 INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8640        INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8641       INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8642 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
8643       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
8644 else
8645       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
8646 fi
8647       INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8648       INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8649     INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8650   INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8651     INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8652     INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8653    INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751 # Check the gettext tools to make sure they are GNU
8752 # Extract the first word of "xgettext", so it can be a program name with args.
8753 set dummy xgettext; ac_word=$2
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8755 $as_echo_n "checking for $ac_word... " >&6; }
8756 if ${ac_cv_path_XGETTEXT+:} false; then :
8757   $as_echo_n "(cached) " >&6
8758 else
8759   case $XGETTEXT in
8760   [\\/]* | ?:[\\/]*)
8761   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
8762   ;;
8763   *)
8764   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8765 for as_dir in $PATH
8766 do
8767   IFS=$as_save_IFS
8768   test -z "$as_dir" && as_dir=.
8769     for ac_exec_ext in '' $ac_executable_extensions; do
8770   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8771     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
8772     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8773     break 2
8774   fi
8775 done
8776   done
8777 IFS=$as_save_IFS
8778
8779   ;;
8780 esac
8781 fi
8782 XGETTEXT=$ac_cv_path_XGETTEXT
8783 if test -n "$XGETTEXT"; then
8784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
8785 $as_echo "$XGETTEXT" >&6; }
8786 else
8787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8788 $as_echo "no" >&6; }
8789 fi
8790
8791
8792 # Extract the first word of "msgmerge", so it can be a program name with args.
8793 set dummy msgmerge; ac_word=$2
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8795 $as_echo_n "checking for $ac_word... " >&6; }
8796 if ${ac_cv_path_MSGMERGE+:} false; then :
8797   $as_echo_n "(cached) " >&6
8798 else
8799   case $MSGMERGE in
8800   [\\/]* | ?:[\\/]*)
8801   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
8802   ;;
8803   *)
8804   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8805 for as_dir in $PATH
8806 do
8807   IFS=$as_save_IFS
8808   test -z "$as_dir" && as_dir=.
8809     for ac_exec_ext in '' $ac_executable_extensions; do
8810   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8811     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
8812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8813     break 2
8814   fi
8815 done
8816   done
8817 IFS=$as_save_IFS
8818
8819   ;;
8820 esac
8821 fi
8822 MSGMERGE=$ac_cv_path_MSGMERGE
8823 if test -n "$MSGMERGE"; then
8824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
8825 $as_echo "$MSGMERGE" >&6; }
8826 else
8827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8828 $as_echo "no" >&6; }
8829 fi
8830
8831
8832 # Extract the first word of "msgfmt", so it can be a program name with args.
8833 set dummy msgfmt; ac_word=$2
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8835 $as_echo_n "checking for $ac_word... " >&6; }
8836 if ${ac_cv_path_MSGFMT+:} false; then :
8837   $as_echo_n "(cached) " >&6
8838 else
8839   case $MSGFMT in
8840   [\\/]* | ?:[\\/]*)
8841   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
8842   ;;
8843   *)
8844   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8845 for as_dir in $PATH
8846 do
8847   IFS=$as_save_IFS
8848   test -z "$as_dir" && as_dir=.
8849     for ac_exec_ext in '' $ac_executable_extensions; do
8850   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8851     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
8852     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8853     break 2
8854   fi
8855 done
8856   done
8857 IFS=$as_save_IFS
8858
8859   ;;
8860 esac
8861 fi
8862 MSGFMT=$ac_cv_path_MSGFMT
8863 if test -n "$MSGFMT"; then
8864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
8865 $as_echo "$MSGFMT" >&6; }
8866 else
8867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8868 $as_echo "no" >&6; }
8869 fi
8870
8871
8872 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8873 set dummy gmsgfmt; ac_word=$2
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8875 $as_echo_n "checking for $ac_word... " >&6; }
8876 if ${ac_cv_path_GMSGFMT+:} false; then :
8877   $as_echo_n "(cached) " >&6
8878 else
8879   case $GMSGFMT in
8880   [\\/]* | ?:[\\/]*)
8881   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
8882   ;;
8883   *)
8884   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8885 for as_dir in $PATH
8886 do
8887   IFS=$as_save_IFS
8888   test -z "$as_dir" && as_dir=.
8889     for ac_exec_ext in '' $ac_executable_extensions; do
8890   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8891     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8893     break 2
8894   fi
8895 done
8896   done
8897 IFS=$as_save_IFS
8898
8899   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8900   ;;
8901 esac
8902 fi
8903 GMSGFMT=$ac_cv_path_GMSGFMT
8904 if test -n "$GMSGFMT"; then
8905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
8906 $as_echo "$GMSGFMT" >&6; }
8907 else
8908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8909 $as_echo "no" >&6; }
8910 fi
8911
8912
8913 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
8914     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
8915 fi
8916 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
8917 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
8918 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
8919 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
8920     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
8921 fi
8922
8923 # Extract the first word of "perl", so it can be a program name with args.
8924 set dummy perl; ac_word=$2
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8926 $as_echo_n "checking for $ac_word... " >&6; }
8927 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
8928   $as_echo_n "(cached) " >&6
8929 else
8930   case $INTLTOOL_PERL in
8931   [\\/]* | ?:[\\/]*)
8932   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
8933   ;;
8934   *)
8935   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8936 for as_dir in $PATH
8937 do
8938   IFS=$as_save_IFS
8939   test -z "$as_dir" && as_dir=.
8940     for ac_exec_ext in '' $ac_executable_extensions; do
8941   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8942     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
8943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8944     break 2
8945   fi
8946 done
8947   done
8948 IFS=$as_save_IFS
8949
8950   ;;
8951 esac
8952 fi
8953 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
8954 if test -n "$INTLTOOL_PERL"; then
8955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
8956 $as_echo "$INTLTOOL_PERL" >&6; }
8957 else
8958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8959 $as_echo "no" >&6; }
8960 fi
8961
8962
8963 if test -z "$INTLTOOL_PERL"; then
8964    as_fn_error $? "perl not found" "$LINENO" 5
8965 fi
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
8967 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
8968 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
8969 if test $? -ne 0; then
8970    as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
8971 else
8972    IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
8973    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
8974 $as_echo "$IT_PERL_VERSION" >&6; }
8975 fi
8976 if test "x" != "xno-xml"; then
8977    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
8978 $as_echo_n "checking for XML::Parser... " >&6; }
8979    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
8980        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8981 $as_echo "ok" >&6; }
8982    else
8983        as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
8984    fi
8985 fi
8986
8987 # Substitute ALL_LINGUAS so we can use it in po/Makefile
8988
8989
8990
8991
8992
8993
8994
8995 for ac_func in strverscmp access fsync fflush
8996 do :
8997   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8998 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8999 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9000   cat >>confdefs.h <<_ACEOF
9001 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9002 _ACEOF
9003
9004 fi
9005 done
9006
9007
9008
9009 # Check target architecture
9010
9011 # Check for Win32
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
9013 $as_echo_n "checking for some Win32 platform... " >&6; }
9014 case "$target_os" in
9015   mingw* | cygwin*)
9016     platform_win32=yes
9017
9018 $as_echo "#define PLATFORM_WIN32 1" >>confdefs.h
9019
9020     ;;
9021   *)
9022     platform_win32=no
9023     ;;
9024 esac
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
9026 $as_echo "$platform_win32" >&6; }
9027  if test "$platform_win32" = "yes"; then
9028   PLATFORM_WIN32_TRUE=
9029   PLATFORM_WIN32_FALSE='#'
9030 else
9031   PLATFORM_WIN32_TRUE='#'
9032   PLATFORM_WIN32_FALSE=
9033 fi
9034
9035
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
9037 $as_echo_n "checking for native Win32... " >&6; }
9038 case "$target_os" in
9039   mingw*)
9040     os_win32=yes
9041
9042 $as_echo "#define OS_WIN32 1" >>confdefs.h
9043
9044     os_unix=no
9045     PATHSEP=';'
9046     ;;
9047   *)
9048     os_win32=no
9049     os_unix=yes
9050     PATHSEP=':'
9051     ;;
9052 esac
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
9054 $as_echo "$os_win32" >&6; }
9055
9056  if test "$os_win32" = "yes"; then
9057   OS_WIN32_TRUE=
9058   OS_WIN32_FALSE='#'
9059 else
9060   OS_WIN32_TRUE='#'
9061   OS_WIN32_FALSE=
9062 fi
9063
9064  if test "$os_unix" = "yes"; then
9065   OS_UNIX_TRUE=
9066   OS_UNIX_FALSE='#'
9067 else
9068   OS_UNIX_TRUE='#'
9069   OS_UNIX_FALSE=
9070 fi
9071
9072
9073 if test "$os_win32" = "yes"; then
9074   # Extract the first word of "lib.exe", so it can be a program name with args.
9075 set dummy lib.exe; ac_word=$2
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9077 $as_echo_n "checking for $ac_word... " >&6; }
9078 if ${ac_cv_prog_ms_librarian+:} false; then :
9079   $as_echo_n "(cached) " >&6
9080 else
9081   if test -n "$ms_librarian"; then
9082   ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
9083 else
9084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9085 for as_dir in $PATH
9086 do
9087   IFS=$as_save_IFS
9088   test -z "$as_dir" && as_dir=.
9089     for ac_exec_ext in '' $ac_executable_extensions; do
9090   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9091     ac_cv_prog_ms_librarian="yes"
9092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9093     break 2
9094   fi
9095 done
9096   done
9097 IFS=$as_save_IFS
9098
9099   test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
9100 fi
9101 fi
9102 ms_librarian=$ac_cv_prog_ms_librarian
9103 if test -n "$ms_librarian"; then
9104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
9105 $as_echo "$ms_librarian" >&6; }
9106 else
9107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9108 $as_echo "no" >&6; }
9109 fi
9110
9111
9112   if test -n "$ac_tool_prefix"; then
9113   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
9114 set dummy ${ac_tool_prefix}windres; ac_word=$2
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9116 $as_echo_n "checking for $ac_word... " >&6; }
9117 if ${ac_cv_prog_WINDRES+:} false; then :
9118   $as_echo_n "(cached) " >&6
9119 else
9120   if test -n "$WINDRES"; then
9121   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9122 else
9123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9124 for as_dir in $PATH
9125 do
9126   IFS=$as_save_IFS
9127   test -z "$as_dir" && as_dir=.
9128     for ac_exec_ext in '' $ac_executable_extensions; do
9129   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9130     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
9131     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9132     break 2
9133   fi
9134 done
9135   done
9136 IFS=$as_save_IFS
9137
9138 fi
9139 fi
9140 WINDRES=$ac_cv_prog_WINDRES
9141 if test -n "$WINDRES"; then
9142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
9143 $as_echo "$WINDRES" >&6; }
9144 else
9145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9146 $as_echo "no" >&6; }
9147 fi
9148
9149
9150 fi
9151 if test -z "$ac_cv_prog_WINDRES"; then
9152   ac_ct_WINDRES=$WINDRES
9153   # Extract the first word of "windres", so it can be a program name with args.
9154 set dummy windres; ac_word=$2
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9156 $as_echo_n "checking for $ac_word... " >&6; }
9157 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
9158   $as_echo_n "(cached) " >&6
9159 else
9160   if test -n "$ac_ct_WINDRES"; then
9161   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
9162 else
9163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9164 for as_dir in $PATH
9165 do
9166   IFS=$as_save_IFS
9167   test -z "$as_dir" && as_dir=.
9168     for ac_exec_ext in '' $ac_executable_extensions; do
9169   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9170     ac_cv_prog_ac_ct_WINDRES="windres"
9171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9172     break 2
9173   fi
9174 done
9175   done
9176 IFS=$as_save_IFS
9177
9178 fi
9179 fi
9180 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
9181 if test -n "$ac_ct_WINDRES"; then
9182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
9183 $as_echo "$ac_ct_WINDRES" >&6; }
9184 else
9185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9186 $as_echo "no" >&6; }
9187 fi
9188
9189   if test "x$ac_ct_WINDRES" = x; then
9190     WINDRES=":"
9191   else
9192     case $cross_compiling:$ac_tool_warned in
9193 yes:)
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9196 ac_tool_warned=yes ;;
9197 esac
9198     WINDRES=$ac_ct_WINDRES
9199   fi
9200 else
9201   WINDRES="$ac_cv_prog_WINDRES"
9202 fi
9203
9204 else
9205   WINDRES=":"
9206 fi
9207
9208  if test x$ms_librarian = xyes; then
9209   MS_LIB_AVAILABLE_TRUE=
9210   MS_LIB_AVAILABLE_FALSE='#'
9211 else
9212   MS_LIB_AVAILABLE_TRUE='#'
9213   MS_LIB_AVAILABLE_FALSE=
9214 fi
9215
9216  if test "x$WINDRES" != "x:"; then
9217   HAVE_WINDRES_TRUE=
9218   HAVE_WINDRES_FALSE='#'
9219 else
9220   HAVE_WINDRES_TRUE='#'
9221   HAVE_WINDRES_FALSE=
9222 fi
9223
9224
9225
9226  if test "x$prefix" != "xNONE"; then
9227   EXTERNAL_PREFIX_TRUE=
9228   EXTERNAL_PREFIX_FALSE='#'
9229 else
9230   EXTERNAL_PREFIX_TRUE='#'
9231   EXTERNAL_PREFIX_FALSE=
9232 fi
9233
9234
9235 if test "x$prefix" = "xNONE"; then
9236   prefix="/usr/local"
9237 else
9238   prefix=$prefix
9239 fi
9240
9241
9242
9243
9244 # Check whether --enable-glibtest was given.
9245 if test "${enable_glibtest+set}" = set; then :
9246   enableval=$enable_glibtest;
9247 else
9248   enable_glibtest=yes
9249 fi
9250
9251
9252   min_glib_version=2.52.0
9253   pkg_config_args="glib-2.0 >= $min_glib_version"
9254   for module in .
9255   do
9256       case "$module" in
9257          gmodule)
9258              pkg_config_args="$pkg_config_args gmodule-2.0"
9259          ;;
9260          gmodule-no-export)
9261              pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
9262          ;;
9263          gobject)
9264              pkg_config_args="$pkg_config_args gobject-2.0"
9265          ;;
9266          gthread)
9267              pkg_config_args="$pkg_config_args gthread-2.0"
9268          ;;
9269          gio*)
9270              pkg_config_args="$pkg_config_args $module-2.0"
9271          ;;
9272       esac
9273   done
9274
9275
9276
9277
9278
9279
9280
9281
9282 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9283         if test -n "$ac_tool_prefix"; then
9284   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9285 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9287 $as_echo_n "checking for $ac_word... " >&6; }
9288 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9289   $as_echo_n "(cached) " >&6
9290 else
9291   case $PKG_CONFIG in
9292   [\\/]* | ?:[\\/]*)
9293   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9294   ;;
9295   *)
9296   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9297 for as_dir in $PATH
9298 do
9299   IFS=$as_save_IFS
9300   test -z "$as_dir" && as_dir=.
9301     for ac_exec_ext in '' $ac_executable_extensions; do
9302   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9303     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9305     break 2
9306   fi
9307 done
9308   done
9309 IFS=$as_save_IFS
9310
9311   ;;
9312 esac
9313 fi
9314 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9315 if test -n "$PKG_CONFIG"; then
9316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9317 $as_echo "$PKG_CONFIG" >&6; }
9318 else
9319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9320 $as_echo "no" >&6; }
9321 fi
9322
9323
9324 fi
9325 if test -z "$ac_cv_path_PKG_CONFIG"; then
9326   ac_pt_PKG_CONFIG=$PKG_CONFIG
9327   # Extract the first word of "pkg-config", so it can be a program name with args.
9328 set dummy pkg-config; ac_word=$2
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9330 $as_echo_n "checking for $ac_word... " >&6; }
9331 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
9332   $as_echo_n "(cached) " >&6
9333 else
9334   case $ac_pt_PKG_CONFIG in
9335   [\\/]* | ?:[\\/]*)
9336   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9337   ;;
9338   *)
9339   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9340 for as_dir in $PATH
9341 do
9342   IFS=$as_save_IFS
9343   test -z "$as_dir" && as_dir=.
9344     for ac_exec_ext in '' $ac_executable_extensions; do
9345   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9346     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9348     break 2
9349   fi
9350 done
9351   done
9352 IFS=$as_save_IFS
9353
9354   ;;
9355 esac
9356 fi
9357 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9358 if test -n "$ac_pt_PKG_CONFIG"; then
9359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9360 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9361 else
9362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9363 $as_echo "no" >&6; }
9364 fi
9365
9366   if test "x$ac_pt_PKG_CONFIG" = x; then
9367     PKG_CONFIG=""
9368   else
9369     case $cross_compiling:$ac_tool_warned in
9370 yes:)
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9373 ac_tool_warned=yes ;;
9374 esac
9375     PKG_CONFIG=$ac_pt_PKG_CONFIG
9376   fi
9377 else
9378   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9379 fi
9380
9381 fi
9382 if test -n "$PKG_CONFIG"; then
9383         _pkg_min_version=0.16
9384         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9385 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9386         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9387                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9388 $as_echo "yes" >&6; }
9389         else
9390                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9391 $as_echo "no" >&6; }
9392                 PKG_CONFIG=""
9393         fi
9394 fi
9395
9396   no_glib=""
9397
9398   if test "x$PKG_CONFIG" = x ; then
9399     no_glib=yes
9400     PKG_CONFIG=no
9401   fi
9402
9403
9404 pkg_failed=no
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $pkg_config_args" >&5
9406 $as_echo_n "checking for $pkg_config_args... " >&6; }
9407
9408 if test -n "$GLIB_CFLAGS"; then
9409     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
9410  elif test -n "$PKG_CONFIG"; then
9411     if test -n "$PKG_CONFIG" && \
9412     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
9413   ($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
9414   ac_status=$?
9415   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9416   test $ac_status = 0; }; then
9417   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$pkg_config_args" 2>/dev/null`
9418                       test "x$?" != "x0" && pkg_failed=yes
9419 else
9420   pkg_failed=yes
9421 fi
9422  else
9423     pkg_failed=untried
9424 fi
9425 if test -n "$GLIB_LIBS"; then
9426     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
9427  elif test -n "$PKG_CONFIG"; then
9428     if test -n "$PKG_CONFIG" && \
9429     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
9430   ($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
9431   ac_status=$?
9432   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9433   test $ac_status = 0; }; then
9434   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$pkg_config_args" 2>/dev/null`
9435                       test "x$?" != "x0" && pkg_failed=yes
9436 else
9437   pkg_failed=yes
9438 fi
9439  else
9440     pkg_failed=untried
9441 fi
9442
9443
9444
9445 if test $pkg_failed = yes; then
9446         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9447 $as_echo "no" >&6; }
9448
9449 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9450         _pkg_short_errors_supported=yes
9451 else
9452         _pkg_short_errors_supported=no
9453 fi
9454         if test $_pkg_short_errors_supported = yes; then
9455                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$pkg_config_args" 2>&1`
9456         else
9457                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$pkg_config_args" 2>&1`
9458         fi
9459         # Put the nasty error message in config.log where it belongs
9460         echo "$GLIB_PKG_ERRORS" >&5
9461
9462         :
9463 elif test $pkg_failed = untried; then
9464         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9465 $as_echo "no" >&6; }
9466         :
9467 else
9468         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
9469         GLIB_LIBS=$pkg_cv_GLIB_LIBS
9470         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9471 $as_echo "yes" >&6; }
9472         :
9473 fi
9474
9475
9476 if test -n "$GLIB_GENMARSHAL"; then
9477     pkg_cv_GLIB_GENMARSHAL="$GLIB_GENMARSHAL"
9478  elif test -n "$PKG_CONFIG"; then
9479     if test -n "$PKG_CONFIG" && \
9480     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
9481   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
9482   ac_status=$?
9483   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9484   test $ac_status = 0; }; then
9485   pkg_cv_GLIB_GENMARSHAL=`$PKG_CONFIG --variable="glib_genmarshal" "glib-2.0" 2>/dev/null`
9486                       test "x$?" != "x0" && pkg_failed=yes
9487 else
9488   pkg_failed=yes
9489 fi
9490  else
9491     pkg_failed=untried
9492 fi
9493 GLIB_GENMARSHAL=$pkg_cv_GLIB_GENMARSHAL
9494
9495 if test "x$GLIB_GENMARSHAL" = x""; then :
9496
9497 fi
9498
9499 if test -n "$GOBJECT_QUERY"; then
9500     pkg_cv_GOBJECT_QUERY="$GOBJECT_QUERY"
9501  elif test -n "$PKG_CONFIG"; then
9502     if test -n "$PKG_CONFIG" && \
9503     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
9504   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
9505   ac_status=$?
9506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9507   test $ac_status = 0; }; then
9508   pkg_cv_GOBJECT_QUERY=`$PKG_CONFIG --variable="gobject_query" "glib-2.0" 2>/dev/null`
9509                       test "x$?" != "x0" && pkg_failed=yes
9510 else
9511   pkg_failed=yes
9512 fi
9513  else
9514     pkg_failed=untried
9515 fi
9516 GOBJECT_QUERY=$pkg_cv_GOBJECT_QUERY
9517
9518 if test "x$GOBJECT_QUERY" = x""; then :
9519
9520 fi
9521
9522 if test -n "$GLIB_MKENUMS"; then
9523     pkg_cv_GLIB_MKENUMS="$GLIB_MKENUMS"
9524  elif test -n "$PKG_CONFIG"; then
9525     if test -n "$PKG_CONFIG" && \
9526     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
9527   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
9528   ac_status=$?
9529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9530   test $ac_status = 0; }; then
9531   pkg_cv_GLIB_MKENUMS=`$PKG_CONFIG --variable="glib_mkenums" "glib-2.0" 2>/dev/null`
9532                       test "x$?" != "x0" && pkg_failed=yes
9533 else
9534   pkg_failed=yes
9535 fi
9536  else
9537     pkg_failed=untried
9538 fi
9539 GLIB_MKENUMS=$pkg_cv_GLIB_MKENUMS
9540
9541 if test "x$GLIB_MKENUMS" = x""; then :
9542
9543 fi
9544
9545 if test -n "$GLIB_COMPILE_RESOURCES"; then
9546     pkg_cv_GLIB_COMPILE_RESOURCES="$GLIB_COMPILE_RESOURCES"
9547  elif test -n "$PKG_CONFIG"; then
9548     if test -n "$PKG_CONFIG" && \
9549     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
9550   ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
9551   ac_status=$?
9552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9553   test $ac_status = 0; }; then
9554   pkg_cv_GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable="glib_compile_resources" "gio-2.0" 2>/dev/null`
9555                       test "x$?" != "x0" && pkg_failed=yes
9556 else
9557   pkg_failed=yes
9558 fi
9559  else
9560     pkg_failed=untried
9561 fi
9562 GLIB_COMPILE_RESOURCES=$pkg_cv_GLIB_COMPILE_RESOURCES
9563
9564 if test "x$GLIB_COMPILE_RESOURCES" = x""; then :
9565
9566 fi
9567
9568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
9569 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
9570
9571   if test x$PKG_CONFIG != xno ; then
9572     ## don't try to run the test against uninstalled libtool libs
9573     if $PKG_CONFIG --uninstalled $pkg_config_args; then
9574           echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
9575           enable_glibtest=no
9576     fi
9577
9578     if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
9579           :
9580     else
9581           no_glib=yes
9582     fi
9583   fi
9584
9585   if test x"$no_glib" = x ; then
9586     glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
9587            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9588     glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
9589            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9590     glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
9591            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9592     if test "x$enable_glibtest" = "xyes" ; then
9593       ac_save_CFLAGS="$CFLAGS"
9594       ac_save_LIBS="$LIBS"
9595       CFLAGS="$CFLAGS $GLIB_CFLAGS"
9596       LIBS="$GLIB_LIBS $LIBS"
9597       rm -f conf.glibtest
9598       if test "$cross_compiling" = yes; then :
9599   echo $ac_n "cross compiling; assumed OK... $ac_c"
9600 else
9601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h.  */
9603
9604 #include <glib.h>
9605 #include <stdio.h>
9606 #include <stdlib.h>
9607
9608 int
9609 main (void)
9610 {
9611   unsigned int major, minor, micro;
9612
9613   fclose (fopen ("conf.glibtest", "w"));
9614
9615   if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, &micro) != 3) {
9616      printf("%s, bad version string\n", "$min_glib_version");
9617      exit(1);
9618    }
9619
9620   if ((glib_major_version != $glib_config_major_version) ||
9621       (glib_minor_version != $glib_config_minor_version) ||
9622       (glib_micro_version != $glib_config_micro_version))
9623     {
9624       printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
9625              $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
9626              glib_major_version, glib_minor_version, glib_micro_version);
9627       printf ("*** was found! If pkg-config was correct, then it is best\n");
9628       printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
9629       printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
9630       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9631       printf("*** required on your system.\n");
9632       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
9633       printf("*** to point to the correct configuration files\n");
9634     }
9635   else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
9636            (glib_minor_version != GLIB_MINOR_VERSION) ||
9637            (glib_micro_version != GLIB_MICRO_VERSION))
9638     {
9639       printf("*** GLib header files (version %d.%d.%d) do not match\n",
9640              GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
9641       printf("*** library (version %d.%d.%d)\n",
9642              glib_major_version, glib_minor_version, glib_micro_version);
9643     }
9644   else
9645     {
9646       if ((glib_major_version > major) ||
9647         ((glib_major_version == major) && (glib_minor_version > minor)) ||
9648         ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
9649       {
9650         return 0;
9651        }
9652      else
9653       {
9654         printf("\n*** An old version of GLib (%u.%u.%u) was found.\n",
9655                glib_major_version, glib_minor_version, glib_micro_version);
9656         printf("*** You need a version of GLib newer than %u.%u.%u. The latest version of\n",
9657                major, minor, micro);
9658         printf("*** GLib is always available from ftp://ftp.gtk.org.\n");
9659         printf("***\n");
9660         printf("*** If you have already installed a sufficiently new version, this error\n");
9661         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
9662         printf("*** being found. The easiest way to fix this is to remove the old version\n");
9663         printf("*** of GLib, but you can also set the PKG_CONFIG environment to point to the\n");
9664         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
9665         printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
9666         printf("*** so that the correct libraries are found at run-time))\n");
9667       }
9668     }
9669   return 1;
9670 }
9671
9672 _ACEOF
9673 if ac_fn_c_try_run "$LINENO"; then :
9674
9675 else
9676   no_glib=yes
9677 fi
9678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9679   conftest.$ac_objext conftest.beam conftest.$ac_ext
9680 fi
9681
9682        CFLAGS="$ac_save_CFLAGS"
9683        LIBS="$ac_save_LIBS"
9684      fi
9685   fi
9686   if test "x$no_glib" = x ; then
9687      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
9688 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
9689      :
9690   else
9691      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9692 $as_echo "no" >&6; }
9693      if test "$PKG_CONFIG" = "no" ; then
9694        echo "*** A new enough version of pkg-config was not found."
9695        echo "*** See http://www.freedesktop.org/software/pkgconfig/"
9696      else
9697        if test -f conf.glibtest ; then
9698         :
9699        else
9700           echo "*** Could not run GLib test program, checking why..."
9701           ac_save_CFLAGS="$CFLAGS"
9702           ac_save_LIBS="$LIBS"
9703           CFLAGS="$CFLAGS $GLIB_CFLAGS"
9704           LIBS="$LIBS $GLIB_LIBS"
9705           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9706 /* end confdefs.h.  */
9707
9708 #include <glib.h>
9709 #include <stdio.h>
9710
9711 int
9712 main ()
9713 {
9714  return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
9715   ;
9716   return 0;
9717 }
9718 _ACEOF
9719 if ac_fn_c_try_link "$LINENO"; then :
9720    echo "*** The test program compiled, but did not run. This usually means"
9721           echo "*** that the run-time linker is not finding GLib or finding the wrong"
9722           echo "*** version of GLib. If it is not finding GLib, you'll need to set your"
9723           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9724           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
9725           echo "*** is required on your system"
9726           echo "***"
9727           echo "*** If you have an old version installed, it is best to remove it, although"
9728           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9729 else
9730    echo "*** The test program failed to compile or link. See the file config.log for the"
9731           echo "*** exact error that occurred. This usually means GLib is incorrectly installed."
9732 fi
9733 rm -f core conftest.err conftest.$ac_objext \
9734     conftest$ac_exeext conftest.$ac_ext
9735           CFLAGS="$ac_save_CFLAGS"
9736           LIBS="$ac_save_LIBS"
9737        fi
9738      fi
9739      GLIB_CFLAGS=""
9740      GLIB_LIBS=""
9741      GLIB_GENMARSHAL=""
9742      GOBJECT_QUERY=""
9743      GLIB_MKENUMS=""
9744      GLIB_COMPILE_RESOURCES=""
9745      as_fn_error $? "GLIB >= 2.52.0 not installed." "$LINENO" 5
9746   fi
9747   rm -f conf.glibtest
9748
9749 # Check whether --enable-gtk3 was given.
9750 if test "${enable_gtk3+set}" = set; then :
9751   enableval=$enable_gtk3; gtk3="${enableval}"
9752 else
9753   gtk3=auto
9754 fi
9755
9756
9757 if test x$gtk3 = xyes; then
9758     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Gtk3 enabled\"" >&5
9759 $as_echo "$as_me: WARNING: \"Gtk3 enabled\"" >&2;}
9760
9761 # Check whether --enable-gtktest was given.
9762 if test "${enable_gtktest+set}" = set; then :
9763   enableval=$enable_gtktest;
9764 else
9765   enable_gtktest=yes
9766 fi
9767
9768   min_gtk_version=3.0.0
9769
9770   pkg_config_args="gtk+-3.0 >= $min_gtk_version"
9771   for module in .
9772   do
9773       case "$module" in
9774          gthread)
9775              pkg_config_args="$pkg_config_args gthread-2.0"
9776          ;;
9777       esac
9778   done
9779
9780   no_gtk=""
9781
9782
9783
9784
9785
9786
9787
9788
9789 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9790         if test -n "$ac_tool_prefix"; then
9791   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9792 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9794 $as_echo_n "checking for $ac_word... " >&6; }
9795 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9796   $as_echo_n "(cached) " >&6
9797 else
9798   case $PKG_CONFIG in
9799   [\\/]* | ?:[\\/]*)
9800   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9801   ;;
9802   *)
9803   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9804 for as_dir in $PATH
9805 do
9806   IFS=$as_save_IFS
9807   test -z "$as_dir" && as_dir=.
9808     for ac_exec_ext in '' $ac_executable_extensions; do
9809   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9810     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9811     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9812     break 2
9813   fi
9814 done
9815   done
9816 IFS=$as_save_IFS
9817
9818   ;;
9819 esac
9820 fi
9821 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9822 if test -n "$PKG_CONFIG"; then
9823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9824 $as_echo "$PKG_CONFIG" >&6; }
9825 else
9826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9827 $as_echo "no" >&6; }
9828 fi
9829
9830
9831 fi
9832 if test -z "$ac_cv_path_PKG_CONFIG"; then
9833   ac_pt_PKG_CONFIG=$PKG_CONFIG
9834   # Extract the first word of "pkg-config", so it can be a program name with args.
9835 set dummy pkg-config; ac_word=$2
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9837 $as_echo_n "checking for $ac_word... " >&6; }
9838 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
9839   $as_echo_n "(cached) " >&6
9840 else
9841   case $ac_pt_PKG_CONFIG in
9842   [\\/]* | ?:[\\/]*)
9843   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9844   ;;
9845   *)
9846   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9847 for as_dir in $PATH
9848 do
9849   IFS=$as_save_IFS
9850   test -z "$as_dir" && as_dir=.
9851     for ac_exec_ext in '' $ac_executable_extensions; do
9852   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9853     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9854     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9855     break 2
9856   fi
9857 done
9858   done
9859 IFS=$as_save_IFS
9860
9861   ;;
9862 esac
9863 fi
9864 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9865 if test -n "$ac_pt_PKG_CONFIG"; then
9866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9867 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9868 else
9869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9870 $as_echo "no" >&6; }
9871 fi
9872
9873   if test "x$ac_pt_PKG_CONFIG" = x; then
9874     PKG_CONFIG=""
9875   else
9876     case $cross_compiling:$ac_tool_warned in
9877 yes:)
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9880 ac_tool_warned=yes ;;
9881 esac
9882     PKG_CONFIG=$ac_pt_PKG_CONFIG
9883   fi
9884 else
9885   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9886 fi
9887
9888 fi
9889 if test -n "$PKG_CONFIG"; then
9890         _pkg_min_version=0.16
9891         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9892 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9893         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9894                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9895 $as_echo "yes" >&6; }
9896         else
9897                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9898 $as_echo "no" >&6; }
9899                 PKG_CONFIG=""
9900         fi
9901 fi
9902
9903   if test -z "$PKG_CONFIG"; then
9904     no_gtk=yes
9905   fi
9906
9907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
9908 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
9909
9910   if test -n "$PKG_CONFIG"; then
9911     ## don't try to run the test against uninstalled libtool libs
9912     if $PKG_CONFIG --uninstalled $pkg_config_args; then
9913           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
9914           enable_gtktest=no
9915     fi
9916
9917     if $PKG_CONFIG $pkg_config_args; then
9918           :
9919     else
9920           no_gtk=yes
9921     fi
9922   fi
9923
9924   if test x"$no_gtk" = x ; then
9925     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
9926     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
9927     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
9928            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9929     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
9930            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9931     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
9932            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9933     if test "x$enable_gtktest" = "xyes" ; then
9934       ac_save_CFLAGS="$CFLAGS"
9935       ac_save_LIBS="$LIBS"
9936       CFLAGS="$CFLAGS $GTK_CFLAGS"
9937       LIBS="$GTK_LIBS $LIBS"
9938       rm -f conf.gtktest
9939       if test "$cross_compiling" = yes; then :
9940   echo $ac_n "cross compiling; assumed OK... $ac_c"
9941 else
9942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9943 /* end confdefs.h.  */
9944
9945 #include <gtk/gtk.h>
9946 #include <stdio.h>
9947 #include <stdlib.h>
9948
9949 int
9950 main ()
9951 {
9952   unsigned int major, minor, micro;
9953
9954   fclose (fopen ("conf.gtktest", "w"));
9955
9956   if (sscanf("$min_gtk_version", "%u.%u.%u", &major, &minor, &micro) != 3) {
9957      printf("%s, bad version string\n", "$min_gtk_version");
9958      exit(1);
9959    }
9960
9961   if ((gtk_major_version != $gtk_config_major_version) ||
9962       (gtk_minor_version != $gtk_config_minor_version) ||
9963       (gtk_micro_version != $gtk_config_micro_version))
9964     {
9965       printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9966              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9967              gtk_major_version, gtk_minor_version, gtk_micro_version);
9968       printf ("*** was found! If pkg-config was correct, then it is best\n");
9969       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9970       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9971       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9972       printf("*** required on your system.\n");
9973       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
9974       printf("*** to point to the correct configuration files\n");
9975     }
9976   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9977            (gtk_minor_version != GTK_MINOR_VERSION) ||
9978            (gtk_micro_version != GTK_MICRO_VERSION))
9979     {
9980       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9981              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9982       printf("*** library (version %d.%d.%d)\n",
9983              gtk_major_version, gtk_minor_version, gtk_micro_version);
9984     }
9985   else
9986     {
9987       if ((gtk_major_version > major) ||
9988         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9989         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9990       {
9991         return 0;
9992        }
9993      else
9994       {
9995         printf("\n*** An old version of GTK+ (%u.%u.%u) was found.\n",
9996                gtk_major_version, gtk_minor_version, gtk_micro_version);
9997         printf("*** You need a version of GTK+ newer than %u.%u.%u. The latest version of\n",
9998                major, minor, micro);
9999         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10000         printf("***\n");
10001         printf("*** If you have already installed a sufficiently new version, this error\n");
10002         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
10003         printf("*** being found. The easiest way to fix this is to remove the old version\n");
10004         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
10005         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
10006         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10007         printf("*** so that the correct libraries are found at run-time))\n");
10008       }
10009     }
10010   return 1;
10011 }
10012
10013 _ACEOF
10014 if ac_fn_c_try_run "$LINENO"; then :
10015
10016 else
10017   no_gtk=yes
10018 fi
10019 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10020   conftest.$ac_objext conftest.beam conftest.$ac_ext
10021 fi
10022
10023        CFLAGS="$ac_save_CFLAGS"
10024        LIBS="$ac_save_LIBS"
10025      fi
10026   fi
10027   if test "x$no_gtk" = x ; then
10028      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
10029 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
10030      :
10031   else
10032      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10033 $as_echo "no" >&6; }
10034      if test -z "$PKG_CONFIG"; then
10035        echo "*** A new enough version of pkg-config was not found."
10036        echo "*** See http://pkgconfig.sourceforge.net"
10037      else
10038        if test -f conf.gtktest ; then
10039         :
10040        else
10041           echo "*** Could not run GTK+ test program, checking why..."
10042           ac_save_CFLAGS="$CFLAGS"
10043           ac_save_LIBS="$LIBS"
10044           CFLAGS="$CFLAGS $GTK_CFLAGS"
10045           LIBS="$LIBS $GTK_LIBS"
10046           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10047 /* end confdefs.h.  */
10048
10049 #include <gtk/gtk.h>
10050 #include <stdio.h>
10051
10052 int
10053 main ()
10054 {
10055  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10056   ;
10057   return 0;
10058 }
10059 _ACEOF
10060 if ac_fn_c_try_link "$LINENO"; then :
10061    echo "*** The test program compiled, but did not run. This usually means"
10062           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
10063           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
10064           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10065           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
10066           echo "*** is required on your system"
10067           echo "***"
10068           echo "*** If you have an old version installed, it is best to remove it, although"
10069           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10070 else
10071    echo "*** The test program failed to compile or link. See the file config.log for the"
10072           echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
10073 fi
10074 rm -f core conftest.err conftest.$ac_objext \
10075     conftest$ac_exeext conftest.$ac_ext
10076           CFLAGS="$ac_save_CFLAGS"
10077           LIBS="$ac_save_LIBS"
10078        fi
10079      fi
10080      GTK_CFLAGS=""
10081      GTK_LIBS=""
10082      as_fn_error $? "GTK+ >= 3.0.0 not installed." "$LINENO" 5
10083   fi
10084
10085
10086   rm -f conf.gtktest
10087
10088 else
10089     if test x$gtk3 != xno; then
10090        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Gtk3 is preferred...\"" >&5
10091 $as_echo "$as_me: WARNING: \"Gtk3 is preferred...\"" >&2;}
10092
10093 # Check whether --enable-gtktest was given.
10094 if test "${enable_gtktest+set}" = set; then :
10095   enableval=$enable_gtktest;
10096 else
10097   enable_gtktest=yes
10098 fi
10099
10100   min_gtk_version=3.0.0
10101
10102   pkg_config_args="gtk+-3.0 >= $min_gtk_version"
10103   for module in .
10104   do
10105       case "$module" in
10106          gthread)
10107              pkg_config_args="$pkg_config_args gthread-2.0"
10108          ;;
10109       esac
10110   done
10111
10112   no_gtk=""
10113
10114
10115
10116
10117
10118
10119
10120
10121 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10122         if test -n "$ac_tool_prefix"; then
10123   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10124 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10126 $as_echo_n "checking for $ac_word... " >&6; }
10127 if ${ac_cv_path_PKG_CONFIG+:} false; then :
10128   $as_echo_n "(cached) " >&6
10129 else
10130   case $PKG_CONFIG in
10131   [\\/]* | ?:[\\/]*)
10132   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10133   ;;
10134   *)
10135   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10136 for as_dir in $PATH
10137 do
10138   IFS=$as_save_IFS
10139   test -z "$as_dir" && as_dir=.
10140     for ac_exec_ext in '' $ac_executable_extensions; do
10141   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10142     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10144     break 2
10145   fi
10146 done
10147   done
10148 IFS=$as_save_IFS
10149
10150   ;;
10151 esac
10152 fi
10153 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10154 if test -n "$PKG_CONFIG"; then
10155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10156 $as_echo "$PKG_CONFIG" >&6; }
10157 else
10158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10159 $as_echo "no" >&6; }
10160 fi
10161
10162
10163 fi
10164 if test -z "$ac_cv_path_PKG_CONFIG"; then
10165   ac_pt_PKG_CONFIG=$PKG_CONFIG
10166   # Extract the first word of "pkg-config", so it can be a program name with args.
10167 set dummy pkg-config; ac_word=$2
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10169 $as_echo_n "checking for $ac_word... " >&6; }
10170 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
10171   $as_echo_n "(cached) " >&6
10172 else
10173   case $ac_pt_PKG_CONFIG in
10174   [\\/]* | ?:[\\/]*)
10175   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10176   ;;
10177   *)
10178   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10179 for as_dir in $PATH
10180 do
10181   IFS=$as_save_IFS
10182   test -z "$as_dir" && as_dir=.
10183     for ac_exec_ext in '' $ac_executable_extensions; do
10184   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10185     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10187     break 2
10188   fi
10189 done
10190   done
10191 IFS=$as_save_IFS
10192
10193   ;;
10194 esac
10195 fi
10196 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10197 if test -n "$ac_pt_PKG_CONFIG"; then
10198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10199 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10200 else
10201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10202 $as_echo "no" >&6; }
10203 fi
10204
10205   if test "x$ac_pt_PKG_CONFIG" = x; then
10206     PKG_CONFIG=""
10207   else
10208     case $cross_compiling:$ac_tool_warned in
10209 yes:)
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10212 ac_tool_warned=yes ;;
10213 esac
10214     PKG_CONFIG=$ac_pt_PKG_CONFIG
10215   fi
10216 else
10217   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10218 fi
10219
10220 fi
10221 if test -n "$PKG_CONFIG"; then
10222         _pkg_min_version=0.16
10223         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10224 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10225         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10226                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10227 $as_echo "yes" >&6; }
10228         else
10229                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10230 $as_echo "no" >&6; }
10231                 PKG_CONFIG=""
10232         fi
10233 fi
10234
10235   if test -z "$PKG_CONFIG"; then
10236     no_gtk=yes
10237   fi
10238
10239   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
10240 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
10241
10242   if test -n "$PKG_CONFIG"; then
10243     ## don't try to run the test against uninstalled libtool libs
10244     if $PKG_CONFIG --uninstalled $pkg_config_args; then
10245           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
10246           enable_gtktest=no
10247     fi
10248
10249     if $PKG_CONFIG $pkg_config_args; then
10250           :
10251     else
10252           no_gtk=yes
10253     fi
10254   fi
10255
10256   if test x"$no_gtk" = x ; then
10257     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
10258     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
10259     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
10260            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10261     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
10262            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10263     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
10264            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10265     if test "x$enable_gtktest" = "xyes" ; then
10266       ac_save_CFLAGS="$CFLAGS"
10267       ac_save_LIBS="$LIBS"
10268       CFLAGS="$CFLAGS $GTK_CFLAGS"
10269       LIBS="$GTK_LIBS $LIBS"
10270       rm -f conf.gtktest
10271       if test "$cross_compiling" = yes; then :
10272   echo $ac_n "cross compiling; assumed OK... $ac_c"
10273 else
10274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h.  */
10276
10277 #include <gtk/gtk.h>
10278 #include <stdio.h>
10279 #include <stdlib.h>
10280
10281 int
10282 main ()
10283 {
10284   unsigned int major, minor, micro;
10285
10286   fclose (fopen ("conf.gtktest", "w"));
10287
10288   if (sscanf("$min_gtk_version", "%u.%u.%u", &major, &minor, &micro) != 3) {
10289      printf("%s, bad version string\n", "$min_gtk_version");
10290      exit(1);
10291    }
10292
10293   if ((gtk_major_version != $gtk_config_major_version) ||
10294       (gtk_minor_version != $gtk_config_minor_version) ||
10295       (gtk_micro_version != $gtk_config_micro_version))
10296     {
10297       printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10298              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10299              gtk_major_version, gtk_minor_version, gtk_micro_version);
10300       printf ("*** was found! If pkg-config was correct, then it is best\n");
10301       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10302       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10303       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10304       printf("*** required on your system.\n");
10305       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
10306       printf("*** to point to the correct configuration files\n");
10307     }
10308   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10309            (gtk_minor_version != GTK_MINOR_VERSION) ||
10310            (gtk_micro_version != GTK_MICRO_VERSION))
10311     {
10312       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10313              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10314       printf("*** library (version %d.%d.%d)\n",
10315              gtk_major_version, gtk_minor_version, gtk_micro_version);
10316     }
10317   else
10318     {
10319       if ((gtk_major_version > major) ||
10320         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10321         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10322       {
10323         return 0;
10324        }
10325      else
10326       {
10327         printf("\n*** An old version of GTK+ (%u.%u.%u) was found.\n",
10328                gtk_major_version, gtk_minor_version, gtk_micro_version);
10329         printf("*** You need a version of GTK+ newer than %u.%u.%u. The latest version of\n",
10330                major, minor, micro);
10331         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10332         printf("***\n");
10333         printf("*** If you have already installed a sufficiently new version, this error\n");
10334         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
10335         printf("*** being found. The easiest way to fix this is to remove the old version\n");
10336         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
10337         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
10338         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10339         printf("*** so that the correct libraries are found at run-time))\n");
10340       }
10341     }
10342   return 1;
10343 }
10344
10345 _ACEOF
10346 if ac_fn_c_try_run "$LINENO"; then :
10347
10348 else
10349   no_gtk=yes
10350 fi
10351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10352   conftest.$ac_objext conftest.beam conftest.$ac_ext
10353 fi
10354
10355        CFLAGS="$ac_save_CFLAGS"
10356        LIBS="$ac_save_LIBS"
10357      fi
10358   fi
10359   if test "x$no_gtk" = x ; then
10360      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
10361 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
10362      :
10363   else
10364      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10365 $as_echo "no" >&6; }
10366      if test -z "$PKG_CONFIG"; then
10367        echo "*** A new enough version of pkg-config was not found."
10368        echo "*** See http://pkgconfig.sourceforge.net"
10369      else
10370        if test -f conf.gtktest ; then
10371         :
10372        else
10373           echo "*** Could not run GTK+ test program, checking why..."
10374           ac_save_CFLAGS="$CFLAGS"
10375           ac_save_LIBS="$LIBS"
10376           CFLAGS="$CFLAGS $GTK_CFLAGS"
10377           LIBS="$LIBS $GTK_LIBS"
10378           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10379 /* end confdefs.h.  */
10380
10381 #include <gtk/gtk.h>
10382 #include <stdio.h>
10383
10384 int
10385 main ()
10386 {
10387  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10388   ;
10389   return 0;
10390 }
10391 _ACEOF
10392 if ac_fn_c_try_link "$LINENO"; then :
10393    echo "*** The test program compiled, but did not run. This usually means"
10394           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
10395           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
10396           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10397           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
10398           echo "*** is required on your system"
10399           echo "***"
10400           echo "*** If you have an old version installed, it is best to remove it, although"
10401           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10402 else
10403    echo "*** The test program failed to compile or link. See the file config.log for the"
10404           echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
10405 fi
10406 rm -f core conftest.err conftest.$ac_objext \
10407     conftest$ac_exeext conftest.$ac_ext
10408           CFLAGS="$ac_save_CFLAGS"
10409           LIBS="$ac_save_LIBS"
10410        fi
10411      fi
10412      GTK_CFLAGS=""
10413      GTK_LIBS=""
10414      gtk3=no
10415   fi
10416
10417
10418   rm -f conf.gtktest
10419
10420     fi
10421 fi
10422
10423 if test x$gtk3 = xno; then
10424     # Check whether --enable-gtktest was given.
10425 if test "${enable_gtktest+set}" = set; then :
10426   enableval=$enable_gtktest;
10427 else
10428   enable_gtktest=yes
10429 fi
10430
10431
10432   pkg_config_args=gtk+-2.0
10433   for module in .
10434   do
10435       case "$module" in
10436          gthread)
10437              pkg_config_args="$pkg_config_args gthread-2.0"
10438          ;;
10439       esac
10440   done
10441
10442   no_gtk=""
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
10453         if test -n "$ac_tool_prefix"; then
10454   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
10455 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10457 $as_echo_n "checking for $ac_word... " >&6; }
10458 if ${ac_cv_path_PKG_CONFIG+:} false; then :
10459   $as_echo_n "(cached) " >&6
10460 else
10461   case $PKG_CONFIG in
10462   [\\/]* | ?:[\\/]*)
10463   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
10464   ;;
10465   *)
10466   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10467 for as_dir in $PATH
10468 do
10469   IFS=$as_save_IFS
10470   test -z "$as_dir" && as_dir=.
10471     for ac_exec_ext in '' $ac_executable_extensions; do
10472   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10473     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10474     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10475     break 2
10476   fi
10477 done
10478   done
10479 IFS=$as_save_IFS
10480
10481   ;;
10482 esac
10483 fi
10484 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
10485 if test -n "$PKG_CONFIG"; then
10486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
10487 $as_echo "$PKG_CONFIG" >&6; }
10488 else
10489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10490 $as_echo "no" >&6; }
10491 fi
10492
10493
10494 fi
10495 if test -z "$ac_cv_path_PKG_CONFIG"; then
10496   ac_pt_PKG_CONFIG=$PKG_CONFIG
10497   # Extract the first word of "pkg-config", so it can be a program name with args.
10498 set dummy pkg-config; ac_word=$2
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10500 $as_echo_n "checking for $ac_word... " >&6; }
10501 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
10502   $as_echo_n "(cached) " >&6
10503 else
10504   case $ac_pt_PKG_CONFIG in
10505   [\\/]* | ?:[\\/]*)
10506   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10507   ;;
10508   *)
10509   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10510 for as_dir in $PATH
10511 do
10512   IFS=$as_save_IFS
10513   test -z "$as_dir" && as_dir=.
10514     for ac_exec_ext in '' $ac_executable_extensions; do
10515   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10516     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10517     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10518     break 2
10519   fi
10520 done
10521   done
10522 IFS=$as_save_IFS
10523
10524   ;;
10525 esac
10526 fi
10527 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10528 if test -n "$ac_pt_PKG_CONFIG"; then
10529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10530 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10531 else
10532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10533 $as_echo "no" >&6; }
10534 fi
10535
10536   if test "x$ac_pt_PKG_CONFIG" = x; then
10537     PKG_CONFIG=""
10538   else
10539     case $cross_compiling:$ac_tool_warned in
10540 yes:)
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10543 ac_tool_warned=yes ;;
10544 esac
10545     PKG_CONFIG=$ac_pt_PKG_CONFIG
10546   fi
10547 else
10548   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10549 fi
10550
10551 fi
10552 if test -n "$PKG_CONFIG"; then
10553         _pkg_min_version=0.7
10554         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10555 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10556         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10557                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10558 $as_echo "yes" >&6; }
10559         else
10560                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10561 $as_echo "no" >&6; }
10562                 PKG_CONFIG=""
10563         fi
10564 fi
10565
10566   min_gtk_version=2.20.0
10567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
10568 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
10569
10570   if test x$PKG_CONFIG != xno ; then
10571     ## don't try to run the test against uninstalled libtool libs
10572     if $PKG_CONFIG --uninstalled $pkg_config_args; then
10573           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
10574           enable_gtktest=no
10575     fi
10576
10577     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
10578           :
10579     else
10580           no_gtk=yes
10581     fi
10582   fi
10583
10584   if test x"$no_gtk" = x ; then
10585     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
10586     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
10587     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10588            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10589     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10590            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10591     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10592            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10593     if test "x$enable_gtktest" = "xyes" ; then
10594       ac_save_CFLAGS="$CFLAGS"
10595       ac_save_LIBS="$LIBS"
10596       CFLAGS="$CFLAGS $GTK_CFLAGS"
10597       LIBS="$GTK_LIBS $LIBS"
10598       rm -f conf.gtktest
10599       if test "$cross_compiling" = yes; then :
10600   echo $ac_n "cross compiling; assumed OK... $ac_c"
10601 else
10602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10603 /* end confdefs.h.  */
10604
10605 #include <gtk/gtk.h>
10606 #include <stdio.h>
10607 #include <stdlib.h>
10608
10609 int
10610 main ()
10611 {
10612   int major, minor, micro;
10613   char *tmp_version;
10614
10615   fclose (fopen ("conf.gtktest", "w"));
10616
10617   /* HP/UX 9 (%@#!) writes to sscanf strings */
10618   tmp_version = g_strdup("$min_gtk_version");
10619   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
10620      printf("%s, bad version string\n", "$min_gtk_version");
10621      exit(1);
10622    }
10623
10624   if ((gtk_major_version != $gtk_config_major_version) ||
10625       (gtk_minor_version != $gtk_config_minor_version) ||
10626       (gtk_micro_version != $gtk_config_micro_version))
10627     {
10628       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10629              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10630              gtk_major_version, gtk_minor_version, gtk_micro_version);
10631       printf ("*** was found! If pkg-config was correct, then it is best\n");
10632       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10633       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10634       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10635       printf("*** required on your system.\n");
10636       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
10637       printf("*** to point to the correct configuration files\n");
10638     }
10639   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10640            (gtk_minor_version != GTK_MINOR_VERSION) ||
10641            (gtk_micro_version != GTK_MICRO_VERSION))
10642     {
10643       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10644              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10645       printf("*** library (version %d.%d.%d)\n",
10646              gtk_major_version, gtk_minor_version, gtk_micro_version);
10647     }
10648   else
10649     {
10650       if ((gtk_major_version > major) ||
10651         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10652         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10653       {
10654         return 0;
10655        }
10656      else
10657       {
10658         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10659                gtk_major_version, gtk_minor_version, gtk_micro_version);
10660         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10661                major, minor, micro);
10662         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10663         printf("***\n");
10664         printf("*** If you have already installed a sufficiently new version, this error\n");
10665         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
10666         printf("*** being found. The easiest way to fix this is to remove the old version\n");
10667         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
10668         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
10669         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10670         printf("*** so that the correct libraries are found at run-time))\n");
10671       }
10672     }
10673   return 1;
10674 }
10675
10676 _ACEOF
10677 if ac_fn_c_try_run "$LINENO"; then :
10678
10679 else
10680   no_gtk=yes
10681 fi
10682 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10683   conftest.$ac_objext conftest.beam conftest.$ac_ext
10684 fi
10685
10686        CFLAGS="$ac_save_CFLAGS"
10687        LIBS="$ac_save_LIBS"
10688      fi
10689   fi
10690   if test "x$no_gtk" = x ; then
10691      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
10692 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
10693      :
10694   else
10695      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10696 $as_echo "no" >&6; }
10697      if test "$PKG_CONFIG" = "no" ; then
10698        echo "*** A new enough version of pkg-config was not found."
10699        echo "*** See http://pkgconfig.sourceforge.net"
10700      else
10701        if test -f conf.gtktest ; then
10702         :
10703        else
10704           echo "*** Could not run GTK+ test program, checking why..."
10705           ac_save_CFLAGS="$CFLAGS"
10706           ac_save_LIBS="$LIBS"
10707           CFLAGS="$CFLAGS $GTK_CFLAGS"
10708           LIBS="$LIBS $GTK_LIBS"
10709           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h.  */
10711
10712 #include <gtk/gtk.h>
10713 #include <stdio.h>
10714
10715 int
10716 main ()
10717 {
10718  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10719   ;
10720   return 0;
10721 }
10722 _ACEOF
10723 if ac_fn_c_try_link "$LINENO"; then :
10724    echo "*** The test program compiled, but did not run. This usually means"
10725           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
10726           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
10727           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10728           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
10729           echo "*** is required on your system"
10730           echo "***"
10731           echo "*** If you have an old version installed, it is best to remove it, although"
10732           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10733 else
10734    echo "*** The test program failed to compile or link. See the file config.log for the"
10735           echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
10736 fi
10737 rm -f core conftest.err conftest.$ac_objext \
10738     conftest$ac_exeext conftest.$ac_ext
10739           CFLAGS="$ac_save_CFLAGS"
10740           LIBS="$ac_save_LIBS"
10741        fi
10742      fi
10743      GTK_CFLAGS=""
10744      GTK_LIBS=""
10745      as_fn_error $? "GTK+ >= 2.20.0 not installed." "$LINENO" 5
10746   fi
10747
10748
10749   rm -f conf.gtktest
10750
10751     true
10752 fi
10753
10754 threads="auto"
10755 # Check whether --enable-threads was given.
10756 if test "${enable_threads+set}" = set; then :
10757   enableval=$enable_threads; threads="${enableval}"
10758 fi
10759
10760
10761 have_gthread="no"
10762 if test "x${threads}" != "xno" ; then
10763
10764 pkg_failed=no
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthread-2.0" >&5
10766 $as_echo_n "checking for gthread-2.0... " >&6; }
10767
10768 if test -n "$GTHREAD_CFLAGS"; then
10769     pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
10770  elif test -n "$PKG_CONFIG"; then
10771     if test -n "$PKG_CONFIG" && \
10772     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
10773   ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
10774   ac_status=$?
10775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10776   test $ac_status = 0; }; then
10777   pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
10778                       test "x$?" != "x0" && pkg_failed=yes
10779 else
10780   pkg_failed=yes
10781 fi
10782  else
10783     pkg_failed=untried
10784 fi
10785 if test -n "$GTHREAD_LIBS"; then
10786     pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
10787  elif test -n "$PKG_CONFIG"; then
10788     if test -n "$PKG_CONFIG" && \
10789     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
10790   ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
10791   ac_status=$?
10792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10793   test $ac_status = 0; }; then
10794   pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
10795                       test "x$?" != "x0" && pkg_failed=yes
10796 else
10797   pkg_failed=yes
10798 fi
10799  else
10800     pkg_failed=untried
10801 fi
10802
10803
10804
10805 if test $pkg_failed = yes; then
10806         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10807 $as_echo "no" >&6; }
10808
10809 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10810         _pkg_short_errors_supported=yes
10811 else
10812         _pkg_short_errors_supported=no
10813 fi
10814         if test $_pkg_short_errors_supported = yes; then
10815                 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0" 2>&1`
10816         else
10817                 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0" 2>&1`
10818         fi
10819         # Put the nasty error message in config.log where it belongs
10820         echo "$GTHREAD_PKG_ERRORS" >&5
10821
10822         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"No thread support in glib\"" >&5
10823 $as_echo "$as_me: WARNING: \"No thread support in glib\"" >&2;}
10824 elif test $pkg_failed = untried; then
10825         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10826 $as_echo "no" >&6; }
10827         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"No thread support in glib\"" >&5
10828 $as_echo "$as_me: WARNING: \"No thread support in glib\"" >&2;}
10829 else
10830         GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
10831         GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
10832         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10833 $as_echo "yes" >&6; }
10834         have_gthread="yes"
10835 fi
10836 fi
10837
10838 if test "x$have_gthread" != "xno"; then
10839
10840 $as_echo "#define HAVE_GTHREAD 1" >>confdefs.h
10841
10842         GLIB_CFLAGS="$GTHREAD_CFLAGS"
10843         GLIB_LIBS="$GTHREAD_LIBS"
10844 fi
10845
10846
10847 for ac_prog in "gdk-pixbuf-csource"
10848 do
10849   # Extract the first word of "$ac_prog", so it can be a program name with args.
10850 set dummy $ac_prog; ac_word=$2
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10852 $as_echo_n "checking for $ac_word... " >&6; }
10853 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
10854   $as_echo_n "(cached) " >&6
10855 else
10856   case $GDK_PIXBUF_CSOURCE in
10857   [\\/]* | ?:[\\/]*)
10858   ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
10859   ;;
10860   *)
10861   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10862 for as_dir in $PATH
10863 do
10864   IFS=$as_save_IFS
10865   test -z "$as_dir" && as_dir=.
10866     for ac_exec_ext in '' $ac_executable_extensions; do
10867   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10868     ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
10869     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10870     break 2
10871   fi
10872 done
10873   done
10874 IFS=$as_save_IFS
10875
10876   ;;
10877 esac
10878 fi
10879 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
10880 if test -n "$GDK_PIXBUF_CSOURCE"; then
10881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
10882 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
10883 else
10884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10885 $as_echo "no" >&6; }
10886 fi
10887
10888
10889   test -n "$GDK_PIXBUF_CSOURCE" && break
10890 done
10891
10892 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
10893 set dummy glib-genmarshal; ac_word=$2
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10895 $as_echo_n "checking for $ac_word... " >&6; }
10896 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
10897   $as_echo_n "(cached) " >&6
10898 else
10899   case $GLIB_GENMARSHAL in
10900   [\\/]* | ?:[\\/]*)
10901   ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
10902   ;;
10903   *)
10904   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10905 for as_dir in $PATH
10906 do
10907   IFS=$as_save_IFS
10908   test -z "$as_dir" && as_dir=.
10909     for ac_exec_ext in '' $ac_executable_extensions; do
10910   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10911     ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
10912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10913     break 2
10914   fi
10915 done
10916   done
10917 IFS=$as_save_IFS
10918
10919   ;;
10920 esac
10921 fi
10922 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
10923 if test -n "$GLIB_GENMARSHAL"; then
10924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
10925 $as_echo "$GLIB_GENMARSHAL" >&6; }
10926 else
10927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10928 $as_echo "no" >&6; }
10929 fi
10930
10931
10932
10933
10934 # Check whether --with-readmedir was given.
10935 if test "${with_readmedir+set}" = set; then :
10936   withval=$with_readmedir; readmedir=$withval
10937 else
10938   readmedir="$prefix/share/doc/geeqie-$VERSION"
10939 fi
10940
10941
10942 # Check whether --with-htmldir was given.
10943 if test "${with_htmldir+set}" = set; then :
10944   withval=$with_htmldir; htmldir=$withval
10945 else
10946   htmldir="$readmedir/html"
10947 fi
10948
10949
10950
10951 cat >>confdefs.h <<_ACEOF
10952 #define GQ_HELPDIR "$readmedir"
10953 _ACEOF
10954
10955
10956 cat >>confdefs.h <<_ACEOF
10957 #define GQ_HTMLDIR "$htmldir"
10958 _ACEOF
10959
10960
10961 # Extract the first word of "yelp-build", so it can be a program name with args.
10962 set dummy yelp-build; ac_word=$2
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10964 $as_echo_n "checking for $ac_word... " >&6; }
10965 if ${ac_cv_path_GNOME_DOC_TOOL+:} false; then :
10966   $as_echo_n "(cached) " >&6
10967 else
10968   case $GNOME_DOC_TOOL in
10969   [\\/]* | ?:[\\/]*)
10970   ac_cv_path_GNOME_DOC_TOOL="$GNOME_DOC_TOOL" # Let the user override the test with a path.
10971   ;;
10972   *)
10973   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10974 for as_dir in $PATH
10975 do
10976   IFS=$as_save_IFS
10977   test -z "$as_dir" && as_dir=.
10978     for ac_exec_ext in '' $ac_executable_extensions; do
10979   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10980     ac_cv_path_GNOME_DOC_TOOL="$as_dir/$ac_word$ac_exec_ext"
10981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10982     break 2
10983   fi
10984 done
10985   done
10986 IFS=$as_save_IFS
10987
10988   ;;
10989 esac
10990 fi
10991 GNOME_DOC_TOOL=$ac_cv_path_GNOME_DOC_TOOL
10992 if test -n "$GNOME_DOC_TOOL"; then
10993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNOME_DOC_TOOL" >&5
10994 $as_echo "$GNOME_DOC_TOOL" >&6; }
10995 else
10996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10997 $as_echo "no" >&6; }
10998 fi
10999
11000
11001
11002
11003
11004
11005 eval "eval appdir=${datadir}/${PACKAGE}"
11006
11007 cat >>confdefs.h <<_ACEOF
11008 #define GQ_APP_DIR "$appdir"
11009 _ACEOF
11010
11011
11012
11013 eval "eval gq_bindir=${prefix}/lib/${PACKAGE}"
11014
11015 cat >>confdefs.h <<_ACEOF
11016 #define GQ_BIN_DIR "$gq_bindir"
11017 _ACEOF
11018
11019
11020
11021 #  LIRC support
11022 # ----------------------------------------------------------------------
11023
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if LIRC support is enabled" >&5
11025 $as_echo_n "checking if LIRC support is enabled... " >&6; }
11026 lirc=no
11027 # Check whether --enable-lirc was given.
11028 if test "${enable_lirc+set}" = set; then :
11029   enableval=$enable_lirc;
11030 if test "x${enableval}" = "xyes" -a "x$GCC" = "xyes"; then
11031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11032 $as_echo "yes" >&6; }
11033   lirc=yes
11034 else
11035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11036 $as_echo "no" >&6; }
11037   lirc=no
11038 fi
11039 else
11040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11041 $as_echo "no" >&6; }
11042 fi
11043
11044
11045
11046
11047 # Check whether --with-lirc-prefix was given.
11048 if test "${with_lirc_prefix+set}" = set; then :
11049   withval=$with_lirc_prefix;
11050 for dir in `echo "$withval" | tr : ' '`; do
11051   if test -d $dir/lib; then CXXFLAGS="$CXXFLAGS -L$dir/lib"; fi
11052   if test -d $dir/include; then CXXFLAGS="$CXXFLAGS -I$dir/include"; fi
11053   done
11054
11055 fi
11056
11057
11058 HAVE_LIRC=no
11059 if test "x${lirc}" != "xno" ; then
11060   # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11061 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
11062                   inttypes.h stdint.h unistd.h
11063 do :
11064   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11065 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
11066 "
11067 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11068   cat >>confdefs.h <<_ACEOF
11069 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11070 _ACEOF
11071
11072 fi
11073
11074 done
11075
11076
11077 ac_fn_c_check_header_mongrel "$LINENO" "lirc/lirc_client.h" "ac_cv_header_lirc_lirc_client_h" "$ac_includes_default"
11078 if test "x$ac_cv_header_lirc_lirc_client_h" = xyes; then :
11079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lirc_init in -llirc_client" >&5
11080 $as_echo_n "checking for lirc_init in -llirc_client... " >&6; }
11081 if ${ac_cv_lib_lirc_client_lirc_init+:} false; then :
11082   $as_echo_n "(cached) " >&6
11083 else
11084   ac_check_lib_save_LIBS=$LIBS
11085 LIBS="-llirc_client  $LIBS"
11086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11087 /* end confdefs.h.  */
11088
11089 /* Override any GCC internal prototype to avoid an error.
11090    Use char because int might match the return type of a GCC
11091    builtin and then its argument prototype would still apply.  */
11092 #ifdef __cplusplus
11093 extern "C"
11094 #endif
11095 char lirc_init ();
11096 int
11097 main ()
11098 {
11099 return lirc_init ();
11100   ;
11101   return 0;
11102 }
11103 _ACEOF
11104 if ac_fn_c_try_link "$LINENO"; then :
11105   ac_cv_lib_lirc_client_lirc_init=yes
11106 else
11107   ac_cv_lib_lirc_client_lirc_init=no
11108 fi
11109 rm -f core conftest.err conftest.$ac_objext \
11110     conftest$ac_exeext conftest.$ac_ext
11111 LIBS=$ac_check_lib_save_LIBS
11112 fi
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lirc_client_lirc_init" >&5
11114 $as_echo "$ac_cv_lib_lirc_client_lirc_init" >&6; }
11115 if test "x$ac_cv_lib_lirc_client_lirc_init" = xyes; then :
11116   HAVE_LIRC=yes;LIBS=-llirc_client $LIBS;
11117 $as_echo "#define HAVE_LIRC /**/" >>confdefs.h
11118
11119 fi
11120
11121 fi
11122
11123
11124 fi
11125  if test "x$HAVE_LIRC" = xyes; then
11126   HAVE_LIRC_TRUE=
11127   HAVE_LIRC_FALSE='#'
11128 else
11129   HAVE_LIRC_TRUE='#'
11130   HAVE_LIRC_FALSE=
11131 fi
11132
11133
11134
11135 #  LCMS support
11136 # ----------------------------------------------------------------------
11137
11138 # Check whether --enable-lcms was given.
11139 if test "${enable_lcms+set}" = set; then :
11140   enableval=$enable_lcms; liblcms=$enableval
11141 else
11142   liblcms=auto
11143 fi
11144
11145
11146 if test "x${liblcms}" != "xno"; then
11147
11148 pkg_failed=no
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcms2 >= 2.0" >&5
11150 $as_echo_n "checking for lcms2 >= 2.0... " >&6; }
11151
11152 if test -n "$LCMS_CFLAGS"; then
11153     pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
11154  elif test -n "$PKG_CONFIG"; then
11155     if test -n "$PKG_CONFIG" && \
11156     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2 >= 2.0\""; } >&5
11157   ($PKG_CONFIG --exists --print-errors "lcms2 >= 2.0") 2>&5
11158   ac_status=$?
11159   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11160   test $ac_status = 0; }; then
11161   pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms2 >= 2.0" 2>/dev/null`
11162                       test "x$?" != "x0" && pkg_failed=yes
11163 else
11164   pkg_failed=yes
11165 fi
11166  else
11167     pkg_failed=untried
11168 fi
11169 if test -n "$LCMS_LIBS"; then
11170     pkg_cv_LCMS_LIBS="$LCMS_LIBS"
11171  elif test -n "$PKG_CONFIG"; then
11172     if test -n "$PKG_CONFIG" && \
11173     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2 >= 2.0\""; } >&5
11174   ($PKG_CONFIG --exists --print-errors "lcms2 >= 2.0") 2>&5
11175   ac_status=$?
11176   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11177   test $ac_status = 0; }; then
11178   pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms2 >= 2.0" 2>/dev/null`
11179                       test "x$?" != "x0" && pkg_failed=yes
11180 else
11181   pkg_failed=yes
11182 fi
11183  else
11184     pkg_failed=untried
11185 fi
11186
11187
11188
11189 if test $pkg_failed = yes; then
11190         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11191 $as_echo "no" >&6; }
11192
11193 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11194         _pkg_short_errors_supported=yes
11195 else
11196         _pkg_short_errors_supported=no
11197 fi
11198         if test $_pkg_short_errors_supported = yes; then
11199                 LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms2 >= 2.0" 2>&1`
11200         else
11201                 LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms2 >= 2.0" 2>&1`
11202         fi
11203         # Put the nasty error message in config.log where it belongs
11204         echo "$LCMS_PKG_ERRORS" >&5
11205
11206
11207
11208 pkg_failed=no
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcms >= 1.14" >&5
11210 $as_echo_n "checking for lcms >= 1.14... " >&6; }
11211
11212 if test -n "$LCMS_CFLAGS"; then
11213     pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
11214  elif test -n "$PKG_CONFIG"; then
11215     if test -n "$PKG_CONFIG" && \
11216     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
11217   ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
11218   ac_status=$?
11219   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11220   test $ac_status = 0; }; then
11221   pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms >= 1.14" 2>/dev/null`
11222                       test "x$?" != "x0" && pkg_failed=yes
11223 else
11224   pkg_failed=yes
11225 fi
11226  else
11227     pkg_failed=untried
11228 fi
11229 if test -n "$LCMS_LIBS"; then
11230     pkg_cv_LCMS_LIBS="$LCMS_LIBS"
11231  elif test -n "$PKG_CONFIG"; then
11232     if test -n "$PKG_CONFIG" && \
11233     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
11234   ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
11235   ac_status=$?
11236   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11237   test $ac_status = 0; }; then
11238   pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms >= 1.14" 2>/dev/null`
11239                       test "x$?" != "x0" && pkg_failed=yes
11240 else
11241   pkg_failed=yes
11242 fi
11243  else
11244     pkg_failed=untried
11245 fi
11246
11247
11248
11249 if test $pkg_failed = yes; then
11250         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11251 $as_echo "no" >&6; }
11252
11253 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11254         _pkg_short_errors_supported=yes
11255 else
11256         _pkg_short_errors_supported=no
11257 fi
11258         if test $_pkg_short_errors_supported = yes; then
11259                 LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
11260         else
11261                 LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
11262         fi
11263         # Put the nasty error message in config.log where it belongs
11264         echo "$LCMS_PKG_ERRORS" >&5
11265
11266
11267         HAVE_LCMS=no
11268         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
11269 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
11270
11271 elif test $pkg_failed = untried; then
11272         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11273 $as_echo "no" >&6; }
11274
11275         HAVE_LCMS=no
11276         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
11277 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
11278
11279 else
11280         LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
11281         LCMS_LIBS=$pkg_cv_LCMS_LIBS
11282         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11283 $as_echo "yes" >&6; }
11284
11285         HAVE_LCMS=yes
11286
11287 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
11288
11289
11290 fi
11291
11292 elif test $pkg_failed = untried; then
11293         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11294 $as_echo "no" >&6; }
11295
11296
11297 pkg_failed=no
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcms >= 1.14" >&5
11299 $as_echo_n "checking for lcms >= 1.14... " >&6; }
11300
11301 if test -n "$LCMS_CFLAGS"; then
11302     pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
11303  elif test -n "$PKG_CONFIG"; then
11304     if test -n "$PKG_CONFIG" && \
11305     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
11306   ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
11307   ac_status=$?
11308   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11309   test $ac_status = 0; }; then
11310   pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms >= 1.14" 2>/dev/null`
11311                       test "x$?" != "x0" && pkg_failed=yes
11312 else
11313   pkg_failed=yes
11314 fi
11315  else
11316     pkg_failed=untried
11317 fi
11318 if test -n "$LCMS_LIBS"; then
11319     pkg_cv_LCMS_LIBS="$LCMS_LIBS"
11320  elif test -n "$PKG_CONFIG"; then
11321     if test -n "$PKG_CONFIG" && \
11322     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
11323   ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
11324   ac_status=$?
11325   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11326   test $ac_status = 0; }; then
11327   pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms >= 1.14" 2>/dev/null`
11328                       test "x$?" != "x0" && pkg_failed=yes
11329 else
11330   pkg_failed=yes
11331 fi
11332  else
11333     pkg_failed=untried
11334 fi
11335
11336
11337
11338 if test $pkg_failed = yes; then
11339         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11340 $as_echo "no" >&6; }
11341
11342 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11343         _pkg_short_errors_supported=yes
11344 else
11345         _pkg_short_errors_supported=no
11346 fi
11347         if test $_pkg_short_errors_supported = yes; then
11348                 LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
11349         else
11350                 LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
11351         fi
11352         # Put the nasty error message in config.log where it belongs
11353         echo "$LCMS_PKG_ERRORS" >&5
11354
11355
11356         HAVE_LCMS=no
11357         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
11358 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
11359
11360 elif test $pkg_failed = untried; then
11361         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11362 $as_echo "no" >&6; }
11363
11364         HAVE_LCMS=no
11365         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
11366 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
11367
11368 else
11369         LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
11370         LCMS_LIBS=$pkg_cv_LCMS_LIBS
11371         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11372 $as_echo "yes" >&6; }
11373
11374         HAVE_LCMS=yes
11375
11376 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
11377
11378
11379 fi
11380
11381 else
11382         LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
11383         LCMS_LIBS=$pkg_cv_LCMS_LIBS
11384         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11385 $as_echo "yes" >&6; }
11386
11387       HAVE_LCMS=yes
11388
11389 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
11390
11391
11392 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
11393
11394
11395 fi
11396 else
11397   HAVE_LCMS=disabled
11398 fi
11399
11400  if test "x$HAVE_LCMS" = xyes; then
11401   HAVE_LCMS_TRUE=
11402   HAVE_LCMS_FALSE='#'
11403 else
11404   HAVE_LCMS_TRUE='#'
11405   HAVE_LCMS_FALSE=
11406 fi
11407
11408
11409
11410
11411 #  libjpeg support
11412 # ----------------------------------------------------------------------
11413
11414 # Check whether --enable-jpeg was given.
11415 if test "${enable_jpeg+set}" = set; then :
11416   enableval=$enable_jpeg; libjpeg=$enableval
11417 else
11418   libjpeg=auto
11419 fi
11420
11421
11422 if test "x${libjpeg}" != "xno"; then
11423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5
11424 $as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; }
11425 if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then :
11426   $as_echo_n "(cached) " >&6
11427 else
11428   ac_check_lib_save_LIBS=$LIBS
11429 LIBS="-ljpeg  $LIBS"
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h.  */
11432
11433 /* Override any GCC internal prototype to avoid an error.
11434    Use char because int might match the return type of a GCC
11435    builtin and then its argument prototype would still apply.  */
11436 #ifdef __cplusplus
11437 extern "C"
11438 #endif
11439 char jpeg_destroy_decompress ();
11440 int
11441 main ()
11442 {
11443 return jpeg_destroy_decompress ();
11444   ;
11445   return 0;
11446 }
11447 _ACEOF
11448 if ac_fn_c_try_link "$LINENO"; then :
11449   ac_cv_lib_jpeg_jpeg_destroy_decompress=yes
11450 else
11451   ac_cv_lib_jpeg_jpeg_destroy_decompress=no
11452 fi
11453 rm -f core conftest.err conftest.$ac_objext \
11454     conftest$ac_exeext conftest.$ac_ext
11455 LIBS=$ac_check_lib_save_LIBS
11456 fi
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5
11458 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; }
11459 if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then :
11460   HAVE_JPEG=yes
11461       JPEG_LIBS=-ljpeg
11462
11463 $as_echo "#define HAVE_JPEG 1" >>confdefs.h
11464
11465 else
11466   HAVE_JPEG=no
11467 fi
11468
11469 else
11470   HAVE_JPEG=disabled
11471 fi
11472
11473  if test "x$HAVE_JPEG" = xyes; then
11474   HAVE_JPEG_TRUE=
11475   HAVE_JPEG_FALSE='#'
11476 else
11477   HAVE_JPEG_TRUE='#'
11478   HAVE_JPEG_FALSE=
11479 fi
11480
11481
11482
11483
11484
11485 #  libtiff support
11486 # ----------------------------------------------------------------------
11487
11488 # Check whether --enable-tiff was given.
11489 if test "${enable_tiff+set}" = set; then :
11490   enableval=$enable_tiff; libtiff=$enableval
11491 else
11492   libtiff=auto
11493 fi
11494
11495
11496 if test "x${libtiff}" != "xno"; then
11497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in -ltiff" >&5
11498 $as_echo_n "checking for TIFFClientOpen in -ltiff... " >&6; }
11499 if ${ac_cv_lib_tiff_TIFFClientOpen+:} false; then :
11500   $as_echo_n "(cached) " >&6
11501 else
11502   ac_check_lib_save_LIBS=$LIBS
11503 LIBS="-ltiff  $LIBS"
11504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h.  */
11506
11507 /* Override any GCC internal prototype to avoid an error.
11508    Use char because int might match the return type of a GCC
11509    builtin and then its argument prototype would still apply.  */
11510 #ifdef __cplusplus
11511 extern "C"
11512 #endif
11513 char TIFFClientOpen ();
11514 int
11515 main ()
11516 {
11517 return TIFFClientOpen ();
11518   ;
11519   return 0;
11520 }
11521 _ACEOF
11522 if ac_fn_c_try_link "$LINENO"; then :
11523   ac_cv_lib_tiff_TIFFClientOpen=yes
11524 else
11525   ac_cv_lib_tiff_TIFFClientOpen=no
11526 fi
11527 rm -f core conftest.err conftest.$ac_objext \
11528     conftest$ac_exeext conftest.$ac_ext
11529 LIBS=$ac_check_lib_save_LIBS
11530 fi
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFClientOpen" >&5
11532 $as_echo "$ac_cv_lib_tiff_TIFFClientOpen" >&6; }
11533 if test "x$ac_cv_lib_tiff_TIFFClientOpen" = xyes; then :
11534   HAVE_TIFF=yes
11535       TIFF_LIBS=-ltiff
11536
11537 $as_echo "#define HAVE_TIFF 1" >>confdefs.h
11538
11539 else
11540   HAVE_TIFF=no
11541 fi
11542
11543 else
11544   HAVE_TIFF=disabled
11545 fi
11546
11547  if test "x$HAVE_TIFF" = xyes; then
11548   HAVE_TIFF_TRUE=
11549   HAVE_TIFF_FALSE='#'
11550 else
11551   HAVE_TIFF_TRUE='#'
11552   HAVE_TIFF_FALSE=
11553 fi
11554
11555
11556
11557
11558 #  libffmpegthumbnailer support
11559 # ----------------------------------------------------------------------
11560
11561 # Check whether --enable-ffmpegthumbnailer was given.
11562 if test "${enable_ffmpegthumbnailer+set}" = set; then :
11563   enableval=$enable_ffmpegthumbnailer; ffmpegthumbnailer=$enableval
11564 else
11565   ffmpegthumbnailer=auto
11566 fi
11567
11568
11569 if test "x${ffmpegthumbnailer}" != "xno"; then
11570
11571 pkg_failed=no
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libffmpegthumbnailer >= 2.1.0" >&5
11573 $as_echo_n "checking for libffmpegthumbnailer >= 2.1.0... " >&6; }
11574
11575 if test -n "$FFMPEGTHUMBNAILER_CFLAGS"; then
11576     pkg_cv_FFMPEGTHUMBNAILER_CFLAGS="$FFMPEGTHUMBNAILER_CFLAGS"
11577  elif test -n "$PKG_CONFIG"; then
11578     if test -n "$PKG_CONFIG" && \
11579     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffmpegthumbnailer >= 2.1.0\""; } >&5
11580   ($PKG_CONFIG --exists --print-errors "libffmpegthumbnailer >= 2.1.0") 2>&5
11581   ac_status=$?
11582   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11583   test $ac_status = 0; }; then
11584   pkg_cv_FFMPEGTHUMBNAILER_CFLAGS=`$PKG_CONFIG --cflags "libffmpegthumbnailer >= 2.1.0" 2>/dev/null`
11585                       test "x$?" != "x0" && pkg_failed=yes
11586 else
11587   pkg_failed=yes
11588 fi
11589  else
11590     pkg_failed=untried
11591 fi
11592 if test -n "$FFMPEGTHUMBNAILER_LIBS"; then
11593     pkg_cv_FFMPEGTHUMBNAILER_LIBS="$FFMPEGTHUMBNAILER_LIBS"
11594  elif test -n "$PKG_CONFIG"; then
11595     if test -n "$PKG_CONFIG" && \
11596     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffmpegthumbnailer >= 2.1.0\""; } >&5
11597   ($PKG_CONFIG --exists --print-errors "libffmpegthumbnailer >= 2.1.0") 2>&5
11598   ac_status=$?
11599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11600   test $ac_status = 0; }; then
11601   pkg_cv_FFMPEGTHUMBNAILER_LIBS=`$PKG_CONFIG --libs "libffmpegthumbnailer >= 2.1.0" 2>/dev/null`
11602                       test "x$?" != "x0" && pkg_failed=yes
11603 else
11604   pkg_failed=yes
11605 fi
11606  else
11607     pkg_failed=untried
11608 fi
11609
11610
11611
11612 if test $pkg_failed = yes; then
11613         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11614 $as_echo "no" >&6; }
11615
11616 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11617         _pkg_short_errors_supported=yes
11618 else
11619         _pkg_short_errors_supported=no
11620 fi
11621         if test $_pkg_short_errors_supported = yes; then
11622                 FFMPEGTHUMBNAILER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffmpegthumbnailer >= 2.1.0" 2>&1`
11623         else
11624                 FFMPEGTHUMBNAILER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffmpegthumbnailer >= 2.1.0" 2>&1`
11625         fi
11626         # Put the nasty error message in config.log where it belongs
11627         echo "$FFMPEGTHUMBNAILER_PKG_ERRORS" >&5
11628
11629
11630       HAVE_FFMPEGTHUMBNAILER=no
11631
11632 elif test $pkg_failed = untried; then
11633         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11634 $as_echo "no" >&6; }
11635
11636       HAVE_FFMPEGTHUMBNAILER=no
11637
11638 else
11639         FFMPEGTHUMBNAILER_CFLAGS=$pkg_cv_FFMPEGTHUMBNAILER_CFLAGS
11640         FFMPEGTHUMBNAILER_LIBS=$pkg_cv_FFMPEGTHUMBNAILER_LIBS
11641         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11642 $as_echo "yes" >&6; }
11643
11644       HAVE_FFMPEGTHUMBNAILER=yes
11645
11646 $as_echo "#define HAVE_FFMPEGTHUMBNAILER 1" >>confdefs.h
11647
11648       ac_fn_c_check_member "$LINENO" "video_thumbnailer" "prefer_embedded_metadata" "ac_cv_member_video_thumbnailer_prefer_embedded_metadata" "#include <libffmpegthumbnailer/videothumbnailerc.h>
11649 "
11650 if test "x$ac_cv_member_video_thumbnailer_prefer_embedded_metadata" = xyes; then :
11651
11652 $as_echo "#define HAVE_FFMPEGTHUMBNAILER_METADATA 1" >>confdefs.h
11653
11654 fi
11655
11656       ac_fn_c_check_member "$LINENO" "image_data" "image_data_width" "ac_cv_member_image_data_image_data_width" "#include <libffmpegthumbnailer/videothumbnailerc.h>
11657 "
11658 if test "x$ac_cv_member_image_data_image_data_width" = xyes; then :
11659
11660 $as_echo "#define HAVE_FFMPEGTHUMBNAILER_RGB 1" >>confdefs.h
11661
11662 fi
11663
11664       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for video_thumbnailer_set_size in -lffmpegthumbnailer" >&5
11665 $as_echo_n "checking for video_thumbnailer_set_size in -lffmpegthumbnailer... " >&6; }
11666 if ${ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size+:} false; then :
11667   $as_echo_n "(cached) " >&6
11668 else
11669   ac_check_lib_save_LIBS=$LIBS
11670 LIBS="-lffmpegthumbnailer  $LIBS"
11671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11672 /* end confdefs.h.  */
11673
11674 /* Override any GCC internal prototype to avoid an error.
11675    Use char because int might match the return type of a GCC
11676    builtin and then its argument prototype would still apply.  */
11677 #ifdef __cplusplus
11678 extern "C"
11679 #endif
11680 char video_thumbnailer_set_size ();
11681 int
11682 main ()
11683 {
11684 return video_thumbnailer_set_size ();
11685   ;
11686   return 0;
11687 }
11688 _ACEOF
11689 if ac_fn_c_try_link "$LINENO"; then :
11690   ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size=yes
11691 else
11692   ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size=no
11693 fi
11694 rm -f core conftest.err conftest.$ac_objext \
11695     conftest$ac_exeext conftest.$ac_ext
11696 LIBS=$ac_check_lib_save_LIBS
11697 fi
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size" >&5
11699 $as_echo "$ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size" >&6; }
11700 if test "x$ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size" = xyes; then :
11701
11702 $as_echo "#define HAVE_FFMPEGTHUMBNAILER_WH 1" >>confdefs.h
11703
11704 fi
11705
11706
11707 fi
11708 else
11709   HAVE_FFMPEGTHUMBNAILER=disabled
11710 fi
11711
11712  if test "x$HAVE_FFMPEGTHUMBNAILER" = xyes; then
11713   HAVE_FFMPEGTHUMBNAILER_TRUE=
11714   HAVE_FFMPEGTHUMBNAILER_FALSE='#'
11715 else
11716   HAVE_FFMPEGTHUMBNAILER_TRUE='#'
11717   HAVE_FFMPEGTHUMBNAILER_FALSE=
11718 fi
11719
11720
11721
11722
11723 #  Exiv2 support
11724 # ----------------------------------------------------------------------
11725
11726 # Check whether --enable-exiv2 was given.
11727 if test "${enable_exiv2+set}" = set; then :
11728   enableval=$enable_exiv2; libexiv2=$enableval
11729 else
11730   libexiv2=auto
11731 fi
11732
11733
11734 if test "x${libexiv2}" != "xno"; then
11735
11736 pkg_failed=no
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exiv2 >= 0.11" >&5
11738 $as_echo_n "checking for exiv2 >= 0.11... " >&6; }
11739
11740 if test -n "$EXIV2_CFLAGS"; then
11741     pkg_cv_EXIV2_CFLAGS="$EXIV2_CFLAGS"
11742  elif test -n "$PKG_CONFIG"; then
11743     if test -n "$PKG_CONFIG" && \
11744     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exiv2 >= 0.11\""; } >&5
11745   ($PKG_CONFIG --exists --print-errors "exiv2 >= 0.11") 2>&5
11746   ac_status=$?
11747   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11748   test $ac_status = 0; }; then
11749   pkg_cv_EXIV2_CFLAGS=`$PKG_CONFIG --cflags "exiv2 >= 0.11" 2>/dev/null`
11750                       test "x$?" != "x0" && pkg_failed=yes
11751 else
11752   pkg_failed=yes
11753 fi
11754  else
11755     pkg_failed=untried
11756 fi
11757 if test -n "$EXIV2_LIBS"; then
11758     pkg_cv_EXIV2_LIBS="$EXIV2_LIBS"
11759  elif test -n "$PKG_CONFIG"; then
11760     if test -n "$PKG_CONFIG" && \
11761     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exiv2 >= 0.11\""; } >&5
11762   ($PKG_CONFIG --exists --print-errors "exiv2 >= 0.11") 2>&5
11763   ac_status=$?
11764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11765   test $ac_status = 0; }; then
11766   pkg_cv_EXIV2_LIBS=`$PKG_CONFIG --libs "exiv2 >= 0.11" 2>/dev/null`
11767                       test "x$?" != "x0" && pkg_failed=yes
11768 else
11769   pkg_failed=yes
11770 fi
11771  else
11772     pkg_failed=untried
11773 fi
11774
11775
11776
11777 if test $pkg_failed = yes; then
11778         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11779 $as_echo "no" >&6; }
11780
11781 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11782         _pkg_short_errors_supported=yes
11783 else
11784         _pkg_short_errors_supported=no
11785 fi
11786         if test $_pkg_short_errors_supported = yes; then
11787                 EXIV2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "exiv2 >= 0.11" 2>&1`
11788         else
11789                 EXIV2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "exiv2 >= 0.11" 2>&1`
11790         fi
11791         # Put the nasty error message in config.log where it belongs
11792         echo "$EXIV2_PKG_ERRORS" >&5
11793
11794
11795       HAVE_EXIV2=no
11796       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $EXIV2_PKG_ERRORS" >&5
11797 $as_echo "$as_me: WARNING: $EXIV2_PKG_ERRORS" >&2;}
11798
11799 elif test $pkg_failed = untried; then
11800         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11801 $as_echo "no" >&6; }
11802
11803       HAVE_EXIV2=no
11804       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $EXIV2_PKG_ERRORS" >&5
11805 $as_echo "$as_me: WARNING: $EXIV2_PKG_ERRORS" >&2;}
11806
11807 else
11808         EXIV2_CFLAGS=$pkg_cv_EXIV2_CFLAGS
11809         EXIV2_LIBS=$pkg_cv_EXIV2_LIBS
11810         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11811 $as_echo "yes" >&6; }
11812
11813       HAVE_EXIV2=yes
11814
11815 $as_echo "#define HAVE_EXIV2 1" >>confdefs.h
11816
11817
11818 fi
11819 else
11820   HAVE_EXIV2=disabled
11821 fi
11822
11823  if test "x$HAVE_EXIV2" = xyes; then
11824   HAVE_EXIV2_TRUE=
11825   HAVE_EXIV2_FALSE='#'
11826 else
11827   HAVE_EXIV2_TRUE='#'
11828   HAVE_EXIV2_FALSE=
11829 fi
11830
11831
11832
11833
11834
11835 #  Gettext support
11836 # ----------------------------------------------------------------------
11837
11838 ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
11839 CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/po/LINGUAS'
11840
11841
11842 GETTEXT_PACKAGE=$PACKAGE
11843
11844
11845 cat >>confdefs.h <<_ACEOF
11846 #define GETTEXT_PACKAGE "${GETTEXT_PACKAGE}"
11847 _ACEOF
11848
11849
11850    for ac_header in locale.h
11851 do :
11852   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
11853 if test "x$ac_cv_header_locale_h" = xyes; then :
11854   cat >>confdefs.h <<_ACEOF
11855 #define HAVE_LOCALE_H 1
11856 _ACEOF
11857
11858 fi
11859
11860 done
11861
11862     if test $ac_cv_header_locale_h = yes; then
11863     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
11864 $as_echo_n "checking for LC_MESSAGES... " >&6; }
11865 if ${am_cv_val_LC_MESSAGES+:} false; then :
11866   $as_echo_n "(cached) " >&6
11867 else
11868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h.  */
11870 #include <locale.h>
11871 int
11872 main ()
11873 {
11874 return LC_MESSAGES
11875   ;
11876   return 0;
11877 }
11878 _ACEOF
11879 if ac_fn_c_try_link "$LINENO"; then :
11880   am_cv_val_LC_MESSAGES=yes
11881 else
11882   am_cv_val_LC_MESSAGES=no
11883 fi
11884 rm -f core conftest.err conftest.$ac_objext \
11885     conftest$ac_exeext conftest.$ac_ext
11886 fi
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
11888 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
11889     if test $am_cv_val_LC_MESSAGES = yes; then
11890
11891 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
11892
11893     fi
11894   fi
11895      USE_NLS=yes
11896
11897
11898     gt_cv_have_gettext=no
11899
11900     CATOBJEXT=NONE
11901     XGETTEXT=:
11902     INTLLIBS=
11903
11904
11905     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
11906 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
11907 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
11908   $as_echo_n "(cached) " >&6
11909 else
11910   gt_save_LIBS="$LIBS"
11911      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
11912      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h.  */
11914 #include <CoreFoundation/CFPreferences.h>
11915 int
11916 main ()
11917 {
11918 CFPreferencesCopyAppValue(NULL, NULL)
11919   ;
11920   return 0;
11921 }
11922 _ACEOF
11923 if ac_fn_c_try_link "$LINENO"; then :
11924   gt_cv_func_CFPreferencesCopyAppValue=yes
11925 else
11926   gt_cv_func_CFPreferencesCopyAppValue=no
11927 fi
11928 rm -f core conftest.err conftest.$ac_objext \
11929     conftest$ac_exeext conftest.$ac_ext
11930      LIBS="$gt_save_LIBS"
11931 fi
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
11933 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
11934   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
11935
11936 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
11937
11938   fi
11939     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
11940 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
11941 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
11942   $as_echo_n "(cached) " >&6
11943 else
11944   gt_save_LIBS="$LIBS"
11945      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
11946      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h.  */
11948 #include <CoreFoundation/CFLocale.h>
11949 int
11950 main ()
11951 {
11952 CFLocaleCopyCurrent();
11953   ;
11954   return 0;
11955 }
11956 _ACEOF
11957 if ac_fn_c_try_link "$LINENO"; then :
11958   gt_cv_func_CFLocaleCopyCurrent=yes
11959 else
11960   gt_cv_func_CFLocaleCopyCurrent=no
11961 fi
11962 rm -f core conftest.err conftest.$ac_objext \
11963     conftest$ac_exeext conftest.$ac_ext
11964      LIBS="$gt_save_LIBS"
11965 fi
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
11967 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
11968   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
11969
11970 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
11971
11972   fi
11973   INTL_MACOSX_LIBS=
11974   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
11975     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
11976   fi
11977
11978
11979
11980     ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
11981 if test "x$ac_cv_header_libintl_h" = xyes; then :
11982   gt_cv_func_dgettext_libintl="no"
11983       libintl_extra_libs=""
11984
11985       #
11986       # First check in libc
11987       #
11988       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
11989 $as_echo_n "checking for ngettext in libc... " >&6; }
11990 if ${gt_cv_func_ngettext_libc+:} false; then :
11991   $as_echo_n "(cached) " >&6
11992 else
11993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h.  */
11995
11996 #include <libintl.h>
11997
11998 int
11999 main ()
12000 {
12001 return !ngettext ("","", 1)
12002   ;
12003   return 0;
12004 }
12005 _ACEOF
12006 if ac_fn_c_try_link "$LINENO"; then :
12007   gt_cv_func_ngettext_libc=yes
12008 else
12009   gt_cv_func_ngettext_libc=no
12010 fi
12011 rm -f core conftest.err conftest.$ac_objext \
12012     conftest$ac_exeext conftest.$ac_ext
12013
12014 fi
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12016 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
12017
12018       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12019               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12020 $as_echo_n "checking for dgettext in libc... " >&6; }
12021 if ${gt_cv_func_dgettext_libc+:} false; then :
12022   $as_echo_n "(cached) " >&6
12023 else
12024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h.  */
12026
12027 #include <libintl.h>
12028
12029 int
12030 main ()
12031 {
12032 return !dgettext ("","")
12033   ;
12034   return 0;
12035 }
12036 _ACEOF
12037 if ac_fn_c_try_link "$LINENO"; then :
12038   gt_cv_func_dgettext_libc=yes
12039 else
12040   gt_cv_func_dgettext_libc=no
12041 fi
12042 rm -f core conftest.err conftest.$ac_objext \
12043     conftest$ac_exeext conftest.$ac_ext
12044
12045 fi
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12047 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
12048       fi
12049
12050       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12051         for ac_func in bind_textdomain_codeset
12052 do :
12053   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12054 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12055   cat >>confdefs.h <<_ACEOF
12056 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
12057 _ACEOF
12058
12059 fi
12060 done
12061
12062       fi
12063
12064       #
12065       # If we don't have everything we want, check in libintl
12066       #
12067       if test "$gt_cv_func_dgettext_libc" != "yes" \
12068          || test "$gt_cv_func_ngettext_libc" != "yes" \
12069          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12070
12071         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12072 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12073 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
12074   $as_echo_n "(cached) " >&6
12075 else
12076   ac_check_lib_save_LIBS=$LIBS
12077 LIBS="-lintl  $LIBS"
12078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h.  */
12080
12081 /* Override any GCC internal prototype to avoid an error.
12082    Use char because int might match the return type of a GCC
12083    builtin and then its argument prototype would still apply.  */
12084 #ifdef __cplusplus
12085 extern "C"
12086 #endif
12087 char bindtextdomain ();
12088 int
12089 main ()
12090 {
12091 return bindtextdomain ();
12092   ;
12093   return 0;
12094 }
12095 _ACEOF
12096 if ac_fn_c_try_link "$LINENO"; then :
12097   ac_cv_lib_intl_bindtextdomain=yes
12098 else
12099   ac_cv_lib_intl_bindtextdomain=no
12100 fi
12101 rm -f core conftest.err conftest.$ac_objext \
12102     conftest$ac_exeext conftest.$ac_ext
12103 LIBS=$ac_check_lib_save_LIBS
12104 fi
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12106 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12107 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
12108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12109 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12110 if ${ac_cv_lib_intl_ngettext+:} false; then :
12111   $as_echo_n "(cached) " >&6
12112 else
12113   ac_check_lib_save_LIBS=$LIBS
12114 LIBS="-lintl  $LIBS"
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h.  */
12117
12118 /* Override any GCC internal prototype to avoid an error.
12119    Use char because int might match the return type of a GCC
12120    builtin and then its argument prototype would still apply.  */
12121 #ifdef __cplusplus
12122 extern "C"
12123 #endif
12124 char ngettext ();
12125 int
12126 main ()
12127 {
12128 return ngettext ();
12129   ;
12130   return 0;
12131 }
12132 _ACEOF
12133 if ac_fn_c_try_link "$LINENO"; then :
12134   ac_cv_lib_intl_ngettext=yes
12135 else
12136   ac_cv_lib_intl_ngettext=no
12137 fi
12138 rm -f core conftest.err conftest.$ac_objext \
12139     conftest$ac_exeext conftest.$ac_ext
12140 LIBS=$ac_check_lib_save_LIBS
12141 fi
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12143 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12144 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12145   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12146 $as_echo_n "checking for dgettext in -lintl... " >&6; }
12147 if ${ac_cv_lib_intl_dgettext+:} false; then :
12148   $as_echo_n "(cached) " >&6
12149 else
12150   ac_check_lib_save_LIBS=$LIBS
12151 LIBS="-lintl  $LIBS"
12152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12153 /* end confdefs.h.  */
12154
12155 /* Override any GCC internal prototype to avoid an error.
12156    Use char because int might match the return type of a GCC
12157    builtin and then its argument prototype would still apply.  */
12158 #ifdef __cplusplus
12159 extern "C"
12160 #endif
12161 char dgettext ();
12162 int
12163 main ()
12164 {
12165 return dgettext ();
12166   ;
12167   return 0;
12168 }
12169 _ACEOF
12170 if ac_fn_c_try_link "$LINENO"; then :
12171   ac_cv_lib_intl_dgettext=yes
12172 else
12173   ac_cv_lib_intl_dgettext=no
12174 fi
12175 rm -f core conftest.err conftest.$ac_objext \
12176     conftest$ac_exeext conftest.$ac_ext
12177 LIBS=$ac_check_lib_save_LIBS
12178 fi
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12180 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12181 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
12182   gt_cv_func_dgettext_libintl=yes
12183 fi
12184
12185 fi
12186
12187 fi
12188
12189
12190         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12191           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12192 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12193           { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12194 $as_echo "" >&6; }
12195           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12196 $as_echo_n "checking for ngettext in -lintl... " >&6; }
12197 if ${ac_cv_lib_intl_ngettext+:} false; then :
12198   $as_echo_n "(cached) " >&6
12199 else
12200   ac_check_lib_save_LIBS=$LIBS
12201 LIBS="-lintl -liconv $LIBS"
12202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h.  */
12204
12205 /* Override any GCC internal prototype to avoid an error.
12206    Use char because int might match the return type of a GCC
12207    builtin and then its argument prototype would still apply.  */
12208 #ifdef __cplusplus
12209 extern "C"
12210 #endif
12211 char ngettext ();
12212 int
12213 main ()
12214 {
12215 return ngettext ();
12216   ;
12217   return 0;
12218 }
12219 _ACEOF
12220 if ac_fn_c_try_link "$LINENO"; then :
12221   ac_cv_lib_intl_ngettext=yes
12222 else
12223   ac_cv_lib_intl_ngettext=no
12224 fi
12225 rm -f core conftest.err conftest.$ac_objext \
12226     conftest$ac_exeext conftest.$ac_ext
12227 LIBS=$ac_check_lib_save_LIBS
12228 fi
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12230 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12231 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12232   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12233 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
12234 if ${ac_cv_lib_intl_dcgettext+:} false; then :
12235   $as_echo_n "(cached) " >&6
12236 else
12237   ac_check_lib_save_LIBS=$LIBS
12238 LIBS="-lintl -liconv $LIBS"
12239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12240 /* end confdefs.h.  */
12241
12242 /* Override any GCC internal prototype to avoid an error.
12243    Use char because int might match the return type of a GCC
12244    builtin and then its argument prototype would still apply.  */
12245 #ifdef __cplusplus
12246 extern "C"
12247 #endif
12248 char dcgettext ();
12249 int
12250 main ()
12251 {
12252 return dcgettext ();
12253   ;
12254   return 0;
12255 }
12256 _ACEOF
12257 if ac_fn_c_try_link "$LINENO"; then :
12258   ac_cv_lib_intl_dcgettext=yes
12259 else
12260   ac_cv_lib_intl_dcgettext=no
12261 fi
12262 rm -f core conftest.err conftest.$ac_objext \
12263     conftest$ac_exeext conftest.$ac_ext
12264 LIBS=$ac_check_lib_save_LIBS
12265 fi
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12267 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12268 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
12269   gt_cv_func_dgettext_libintl=yes
12270                         libintl_extra_libs=-liconv
12271 else
12272   :
12273 fi
12274
12275 else
12276   :
12277 fi
12278
12279         fi
12280
12281         #
12282         # If we found libintl, then check in it for bind_textdomain_codeset();
12283         # we'll prefer libc if neither have bind_textdomain_codeset(),
12284         # and both have dgettext and ngettext
12285         #
12286         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
12287           glib_save_LIBS="$LIBS"
12288           LIBS="$LIBS -lintl $libintl_extra_libs"
12289           unset ac_cv_func_bind_textdomain_codeset
12290           for ac_func in bind_textdomain_codeset
12291 do :
12292   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12293 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12294   cat >>confdefs.h <<_ACEOF
12295 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
12296 _ACEOF
12297
12298 fi
12299 done
12300
12301           LIBS="$glib_save_LIBS"
12302
12303           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
12304             gt_cv_func_dgettext_libc=no
12305           else
12306             if test "$gt_cv_func_dgettext_libc" = "yes" \
12307                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
12308               gt_cv_func_dgettext_libintl=no
12309             fi
12310           fi
12311         fi
12312       fi
12313
12314       if test "$gt_cv_func_dgettext_libc" = "yes" \
12315         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
12316         gt_cv_have_gettext=yes
12317       fi
12318
12319       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
12320         INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
12321       fi
12322
12323       if test "$gt_cv_have_gettext" = "yes"; then
12324
12325 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
12326
12327         # Extract the first word of "msgfmt", so it can be a program name with args.
12328 set dummy msgfmt; ac_word=$2
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12330 $as_echo_n "checking for $ac_word... " >&6; }
12331 if ${ac_cv_path_MSGFMT+:} false; then :
12332   $as_echo_n "(cached) " >&6
12333 else
12334   case "$MSGFMT" in
12335   /*)
12336   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12337   ;;
12338   *)
12339   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12340   for ac_dir in $PATH; do
12341     test -z "$ac_dir" && ac_dir=.
12342     if test -f $ac_dir/$ac_word; then
12343       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
12344         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
12345         break
12346       fi
12347     fi
12348   done
12349   IFS="$ac_save_ifs"
12350   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
12351   ;;
12352 esac
12353 fi
12354 MSGFMT="$ac_cv_path_MSGFMT"
12355 if test "$MSGFMT" != "no"; then
12356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12357 $as_echo "$MSGFMT" >&6; }
12358 else
12359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12360 $as_echo "no" >&6; }
12361 fi
12362         if test "$MSGFMT" != "no"; then
12363           glib_save_LIBS="$LIBS"
12364           LIBS="$LIBS $INTLLIBS"
12365           for ac_func in dcgettext
12366 do :
12367   ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12368 if test "x$ac_cv_func_dcgettext" = xyes; then :
12369   cat >>confdefs.h <<_ACEOF
12370 #define HAVE_DCGETTEXT 1
12371 _ACEOF
12372
12373 fi
12374 done
12375
12376           MSGFMT_OPTS=
12377           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
12378 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
12379           cat >conftest.foo <<_ACEOF
12380
12381 msgid ""
12382 msgstr ""
12383 "Content-Type: text/plain; charset=UTF-8\n"
12384 "Project-Id-Version: test 1.0\n"
12385 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
12386 "Last-Translator: test <foo@bar.xx>\n"
12387 "Language-Team: C <LL@li.org>\n"
12388 "MIME-Version: 1.0\n"
12389 "Content-Transfer-Encoding: 8bit\n"
12390
12391 _ACEOF
12392 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
12393   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
12394   ac_status=$?
12395   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12396   test $ac_status = 0; }; then
12397   MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12398 $as_echo "yes" >&6; }
12399 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12400 $as_echo "no" >&6; }
12401 echo "$as_me: failed input was:" >&5
12402 sed 's/^/| /' conftest.foo >&5
12403 fi
12404
12405           # Extract the first word of "gmsgfmt", so it can be a program name with args.
12406 set dummy gmsgfmt; ac_word=$2
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12408 $as_echo_n "checking for $ac_word... " >&6; }
12409 if ${ac_cv_path_GMSGFMT+:} false; then :
12410   $as_echo_n "(cached) " >&6
12411 else
12412   case $GMSGFMT in
12413   [\\/]* | ?:[\\/]*)
12414   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12415   ;;
12416   *)
12417   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12418 for as_dir in $PATH
12419 do
12420   IFS=$as_save_IFS
12421   test -z "$as_dir" && as_dir=.
12422     for ac_exec_ext in '' $ac_executable_extensions; do
12423   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12424     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12426     break 2
12427   fi
12428 done
12429   done
12430 IFS=$as_save_IFS
12431
12432   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12433   ;;
12434 esac
12435 fi
12436 GMSGFMT=$ac_cv_path_GMSGFMT
12437 if test -n "$GMSGFMT"; then
12438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12439 $as_echo "$GMSGFMT" >&6; }
12440 else
12441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12442 $as_echo "no" >&6; }
12443 fi
12444
12445
12446           # Extract the first word of "xgettext", so it can be a program name with args.
12447 set dummy xgettext; ac_word=$2
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12449 $as_echo_n "checking for $ac_word... " >&6; }
12450 if ${ac_cv_path_XGETTEXT+:} false; then :
12451   $as_echo_n "(cached) " >&6
12452 else
12453   case "$XGETTEXT" in
12454   /*)
12455   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12456   ;;
12457   *)
12458   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12459   for ac_dir in $PATH; do
12460     test -z "$ac_dir" && ac_dir=.
12461     if test -f $ac_dir/$ac_word; then
12462       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
12463         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
12464         break
12465       fi
12466     fi
12467   done
12468   IFS="$ac_save_ifs"
12469   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12470   ;;
12471 esac
12472 fi
12473 XGETTEXT="$ac_cv_path_XGETTEXT"
12474 if test "$XGETTEXT" != ":"; then
12475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12476 $as_echo "$XGETTEXT" >&6; }
12477 else
12478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12479 $as_echo "no" >&6; }
12480 fi
12481
12482           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h.  */
12484
12485 int
12486 main ()
12487 {
12488 extern int _nl_msg_cat_cntr;
12489                          return _nl_msg_cat_cntr
12490   ;
12491   return 0;
12492 }
12493 _ACEOF
12494 if ac_fn_c_try_link "$LINENO"; then :
12495   CATOBJEXT=.gmo
12496              DATADIRNAME=share
12497 else
12498   case $host in
12499             *-*-solaris*)
12500                                                                 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12501 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12502   CATOBJEXT=.gmo
12503                DATADIRNAME=share
12504 else
12505   CATOBJEXT=.mo
12506                DATADIRNAME=lib
12507 fi
12508
12509             ;;
12510             *-*-openbsd*)
12511             CATOBJEXT=.mo
12512             DATADIRNAME=share
12513             ;;
12514             *)
12515             CATOBJEXT=.mo
12516             DATADIRNAME=lib
12517             ;;
12518             esac
12519 fi
12520 rm -f core conftest.err conftest.$ac_objext \
12521     conftest$ac_exeext conftest.$ac_ext
12522           LIBS="$glib_save_LIBS"
12523           INSTOBJEXT=.mo
12524         else
12525           gt_cv_have_gettext=no
12526         fi
12527       fi
12528
12529 fi
12530
12531
12532
12533     if test "$gt_cv_have_gettext" = "yes" ; then
12534
12535 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
12536
12537     fi
12538
12539         if test "$XGETTEXT" != ":"; then
12540                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
12541         : ;
12542       else
12543         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12544 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12545         XGETTEXT=":"
12546       fi
12547     fi
12548
12549     # We need to process the po/ directory.
12550     POSUB=po
12551
12552     ac_config_commands="$ac_config_commands default-1"
12553
12554
12555                 for lang in $ALL_LINGUAS; do
12556       GMOFILES="$GMOFILES $lang.gmo"
12557       POFILES="$POFILES $lang.po"
12558     done
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572    if test "$gt_cv_have_gettext" = "yes"; then
12573      if test "x$ALL_LINGUAS" = "x"; then
12574        LINGUAS=
12575      else
12576        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
12577 $as_echo_n "checking for catalogs to be installed... " >&6; }
12578        NEW_LINGUAS=
12579        for presentlang in $ALL_LINGUAS; do
12580          useit=no
12581          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
12582            desiredlanguages="$LINGUAS"
12583          else
12584            desiredlanguages="$ALL_LINGUAS"
12585          fi
12586          for desiredlang in $desiredlanguages; do
12587            # Use the presentlang catalog if desiredlang is
12588            #   a. equal to presentlang, or
12589            #   b. a variant of presentlang (because in this case,
12590            #      presentlang can be used as a fallback for messages
12591            #      which are not translated in the desiredlang catalog).
12592            case "$desiredlang" in
12593              "$presentlang"*) useit=yes;;
12594            esac
12595          done
12596          if test $useit = yes; then
12597            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
12598          fi
12599        done
12600        LINGUAS=$NEW_LINGUAS
12601        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
12602 $as_echo "$LINGUAS" >&6; }
12603      fi
12604
12605           if test -n "$LINGUAS"; then
12606        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
12607      fi
12608    fi
12609
12610             MKINSTALLDIRS=
12611    if test -n "$ac_aux_dir"; then
12612      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
12613    fi
12614    if test -z "$MKINSTALLDIRS"; then
12615      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12616    fi
12617
12618
12619          test -d po || mkdir po
12620    if test "x$srcdir" != "x."; then
12621      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
12622        posrcprefix="$srcdir/"
12623      else
12624        posrcprefix="../$srcdir/"
12625      fi
12626    else
12627      posrcprefix="../"
12628    fi
12629    rm -f po/POTFILES
12630    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
12631         < $srcdir/po/POTFILES.in > po/POTFILES
12632
12633 glib_save_prefix="$prefix"
12634 glib_save_exec_prefix="$exec_prefix"
12635 glib_save_datarootdir="$datarootdir"
12636 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12637 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
12638 datarootdir=`eval echo "${datarootdir}"`
12639 if test "x$CATOBJEXT" = "x.mo" ; then
12640   localedir=`eval echo "${libdir}/locale"`
12641 else
12642   localedir=`eval echo "${datadir}/locale"`
12643 fi
12644 prefix="$glib_save_prefix"
12645 exec_prefix="$glib_save_exec_prefix"
12646 datarootdir="$glib_save_datarootdir"
12647
12648 cat >>confdefs.h <<_ACEOF
12649 #define GQ_LOCALEDIR "$localedir"
12650 _ACEOF
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660 #  clutter and champlain support
12661 # ----------------------------------------------------------------------
12662
12663 # Check whether --enable-map was given.
12664 if test "${enable_map+set}" = set; then :
12665   enableval=$enable_map; libgps=$enableval
12666 else
12667   libgps=auto
12668 fi
12669
12670
12671 # Check whether --enable-gpu-accel was given.
12672 if test "${enable_gpu_accel+set}" = set; then :
12673   enableval=$enable_gpu_accel; libclutter=$enableval
12674 else
12675   libclutter=auto
12676 fi
12677
12678
12679 if test "x${libclutter}" != "xno" -a "x${gtk3}" != "xno"; then
12680
12681 pkg_failed=no
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clutter-1.0 >= 1.0" >&5
12683 $as_echo_n "checking for clutter-1.0 >= 1.0... " >&6; }
12684
12685 if test -n "$CLUTTER_CFLAGS"; then
12686     pkg_cv_CLUTTER_CFLAGS="$CLUTTER_CFLAGS"
12687  elif test -n "$PKG_CONFIG"; then
12688     if test -n "$PKG_CONFIG" && \
12689     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= 1.0\""; } >&5
12690   ($PKG_CONFIG --exists --print-errors "clutter-1.0 >= 1.0") 2>&5
12691   ac_status=$?
12692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12693   test $ac_status = 0; }; then
12694   pkg_cv_CLUTTER_CFLAGS=`$PKG_CONFIG --cflags "clutter-1.0 >= 1.0" 2>/dev/null`
12695                       test "x$?" != "x0" && pkg_failed=yes
12696 else
12697   pkg_failed=yes
12698 fi
12699  else
12700     pkg_failed=untried
12701 fi
12702 if test -n "$CLUTTER_LIBS"; then
12703     pkg_cv_CLUTTER_LIBS="$CLUTTER_LIBS"
12704  elif test -n "$PKG_CONFIG"; then
12705     if test -n "$PKG_CONFIG" && \
12706     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= 1.0\""; } >&5
12707   ($PKG_CONFIG --exists --print-errors "clutter-1.0 >= 1.0") 2>&5
12708   ac_status=$?
12709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12710   test $ac_status = 0; }; then
12711   pkg_cv_CLUTTER_LIBS=`$PKG_CONFIG --libs "clutter-1.0 >= 1.0" 2>/dev/null`
12712                       test "x$?" != "x0" && pkg_failed=yes
12713 else
12714   pkg_failed=yes
12715 fi
12716  else
12717     pkg_failed=untried
12718 fi
12719
12720
12721
12722 if test $pkg_failed = yes; then
12723         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12724 $as_echo "no" >&6; }
12725
12726 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12727         _pkg_short_errors_supported=yes
12728 else
12729         _pkg_short_errors_supported=no
12730 fi
12731         if test $_pkg_short_errors_supported = yes; then
12732                 CLUTTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-1.0 >= 1.0" 2>&1`
12733         else
12734                 CLUTTER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-1.0 >= 1.0" 2>&1`
12735         fi
12736         # Put the nasty error message in config.log where it belongs
12737         echo "$CLUTTER_PKG_ERRORS" >&5
12738
12739
12740       HAVE_CLUTTER=no
12741       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_PKG_ERRORS" >&5
12742 $as_echo "$as_me: WARNING: $CLUTTER_PKG_ERRORS" >&2;}
12743
12744 elif test $pkg_failed = untried; then
12745         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12746 $as_echo "no" >&6; }
12747
12748       HAVE_CLUTTER=no
12749       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_PKG_ERRORS" >&5
12750 $as_echo "$as_me: WARNING: $CLUTTER_PKG_ERRORS" >&2;}
12751
12752 else
12753         CLUTTER_CFLAGS=$pkg_cv_CLUTTER_CFLAGS
12754         CLUTTER_LIBS=$pkg_cv_CLUTTER_LIBS
12755         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12756 $as_echo "yes" >&6; }
12757
12758
12759 pkg_failed=no
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clutter-gtk-1.0 >= 1.0" >&5
12761 $as_echo_n "checking for clutter-gtk-1.0 >= 1.0... " >&6; }
12762
12763 if test -n "$CLUTTER_GTK_CFLAGS"; then
12764     pkg_cv_CLUTTER_GTK_CFLAGS="$CLUTTER_GTK_CFLAGS"
12765  elif test -n "$PKG_CONFIG"; then
12766     if test -n "$PKG_CONFIG" && \
12767     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-1.0 >= 1.0\""; } >&5
12768   ($PKG_CONFIG --exists --print-errors "clutter-gtk-1.0 >= 1.0") 2>&5
12769   ac_status=$?
12770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12771   test $ac_status = 0; }; then
12772   pkg_cv_CLUTTER_GTK_CFLAGS=`$PKG_CONFIG --cflags "clutter-gtk-1.0 >= 1.0" 2>/dev/null`
12773                       test "x$?" != "x0" && pkg_failed=yes
12774 else
12775   pkg_failed=yes
12776 fi
12777  else
12778     pkg_failed=untried
12779 fi
12780 if test -n "$CLUTTER_GTK_LIBS"; then
12781     pkg_cv_CLUTTER_GTK_LIBS="$CLUTTER_GTK_LIBS"
12782  elif test -n "$PKG_CONFIG"; then
12783     if test -n "$PKG_CONFIG" && \
12784     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-1.0 >= 1.0\""; } >&5
12785   ($PKG_CONFIG --exists --print-errors "clutter-gtk-1.0 >= 1.0") 2>&5
12786   ac_status=$?
12787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12788   test $ac_status = 0; }; then
12789   pkg_cv_CLUTTER_GTK_LIBS=`$PKG_CONFIG --libs "clutter-gtk-1.0 >= 1.0" 2>/dev/null`
12790                       test "x$?" != "x0" && pkg_failed=yes
12791 else
12792   pkg_failed=yes
12793 fi
12794  else
12795     pkg_failed=untried
12796 fi
12797
12798
12799
12800 if test $pkg_failed = yes; then
12801         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12802 $as_echo "no" >&6; }
12803
12804 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12805         _pkg_short_errors_supported=yes
12806 else
12807         _pkg_short_errors_supported=no
12808 fi
12809         if test $_pkg_short_errors_supported = yes; then
12810                 CLUTTER_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gtk-1.0 >= 1.0" 2>&1`
12811         else
12812                 CLUTTER_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gtk-1.0 >= 1.0" 2>&1`
12813         fi
12814         # Put the nasty error message in config.log where it belongs
12815         echo "$CLUTTER_GTK_PKG_ERRORS" >&5
12816
12817
12818           HAVE_CLUTTER=no
12819           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&5
12820 $as_echo "$as_me: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&2;}
12821
12822 elif test $pkg_failed = untried; then
12823         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12824 $as_echo "no" >&6; }
12825
12826           HAVE_CLUTTER=no
12827           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&5
12828 $as_echo "$as_me: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&2;}
12829
12830 else
12831         CLUTTER_GTK_CFLAGS=$pkg_cv_CLUTTER_GTK_CFLAGS
12832         CLUTTER_GTK_LIBS=$pkg_cv_CLUTTER_GTK_LIBS
12833         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12834 $as_echo "yes" >&6; }
12835
12836           HAVE_CLUTTER=yes
12837
12838 $as_echo "#define HAVE_CLUTTER 1" >>confdefs.h
12839
12840
12841 fi
12842
12843 fi
12844 else
12845   HAVE_CLUTTER=disabled
12846 fi
12847
12848
12849
12850
12851
12852
12853
12854 #  Libchamplain support - used for map facility
12855 # ----------------------------------------------------------------------
12856
12857 if test "x${libgps}" != "xno" -a "x${HAVE_CLUTTER}" = "xyes"; then
12858     if test "x${gtk3}" != "xno"; then
12859
12860 pkg_failed=no
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for champlain-0.12 >= 0.12" >&5
12862 $as_echo_n "checking for champlain-0.12 >= 0.12... " >&6; }
12863
12864 if test -n "$LIBCHAMPLAIN_CFLAGS"; then
12865     pkg_cv_LIBCHAMPLAIN_CFLAGS="$LIBCHAMPLAIN_CFLAGS"
12866  elif test -n "$PKG_CONFIG"; then
12867     if test -n "$PKG_CONFIG" && \
12868     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-0.12 >= 0.12\""; } >&5
12869   ($PKG_CONFIG --exists --print-errors "champlain-0.12 >= 0.12") 2>&5
12870   ac_status=$?
12871   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12872   test $ac_status = 0; }; then
12873   pkg_cv_LIBCHAMPLAIN_CFLAGS=`$PKG_CONFIG --cflags "champlain-0.12 >= 0.12" 2>/dev/null`
12874                       test "x$?" != "x0" && pkg_failed=yes
12875 else
12876   pkg_failed=yes
12877 fi
12878  else
12879     pkg_failed=untried
12880 fi
12881 if test -n "$LIBCHAMPLAIN_LIBS"; then
12882     pkg_cv_LIBCHAMPLAIN_LIBS="$LIBCHAMPLAIN_LIBS"
12883  elif test -n "$PKG_CONFIG"; then
12884     if test -n "$PKG_CONFIG" && \
12885     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-0.12 >= 0.12\""; } >&5
12886   ($PKG_CONFIG --exists --print-errors "champlain-0.12 >= 0.12") 2>&5
12887   ac_status=$?
12888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12889   test $ac_status = 0; }; then
12890   pkg_cv_LIBCHAMPLAIN_LIBS=`$PKG_CONFIG --libs "champlain-0.12 >= 0.12" 2>/dev/null`
12891                       test "x$?" != "x0" && pkg_failed=yes
12892 else
12893   pkg_failed=yes
12894 fi
12895  else
12896     pkg_failed=untried
12897 fi
12898
12899
12900
12901 if test $pkg_failed = yes; then
12902         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12903 $as_echo "no" >&6; }
12904
12905 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12906         _pkg_short_errors_supported=yes
12907 else
12908         _pkg_short_errors_supported=no
12909 fi
12910         if test $_pkg_short_errors_supported = yes; then
12911                 LIBCHAMPLAIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "champlain-0.12 >= 0.12" 2>&1`
12912         else
12913                 LIBCHAMPLAIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "champlain-0.12 >= 0.12" 2>&1`
12914         fi
12915         # Put the nasty error message in config.log where it belongs
12916         echo "$LIBCHAMPLAIN_PKG_ERRORS" >&5
12917
12918
12919           HAVE_LIBCHAMPLAIN=no
12920           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&5
12921 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&2;}
12922
12923 elif test $pkg_failed = untried; then
12924         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12925 $as_echo "no" >&6; }
12926
12927           HAVE_LIBCHAMPLAIN=no
12928           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&5
12929 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&2;}
12930
12931 else
12932         LIBCHAMPLAIN_CFLAGS=$pkg_cv_LIBCHAMPLAIN_CFLAGS
12933         LIBCHAMPLAIN_LIBS=$pkg_cv_LIBCHAMPLAIN_LIBS
12934         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12935 $as_echo "yes" >&6; }
12936
12937           HAVE_LIBCHAMPLAIN=yes
12938
12939 $as_echo "#define HAVE_LIBCHAMPLAIN 1" >>confdefs.h
12940
12941
12942 fi
12943     else
12944       HAVE_LIBCHAMPLAIN=disabled
12945     fi
12946 else
12947   HAVE_LIBCHAMPLAIN=disabled
12948 fi
12949
12950 if test "x${libgps}" != "xno" -a "x${HAVE_LIBCHAMPLAIN}" = "xyes" ; then
12951
12952 pkg_failed=no
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for champlain-gtk-0.12 >= 0.12" >&5
12954 $as_echo_n "checking for champlain-gtk-0.12 >= 0.12... " >&6; }
12955
12956 if test -n "$LIBCHAMPLAIN_GTK_CFLAGS"; then
12957     pkg_cv_LIBCHAMPLAIN_GTK_CFLAGS="$LIBCHAMPLAIN_GTK_CFLAGS"
12958  elif test -n "$PKG_CONFIG"; then
12959     if test -n "$PKG_CONFIG" && \
12960     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-gtk-0.12 >= 0.12\""; } >&5
12961   ($PKG_CONFIG --exists --print-errors "champlain-gtk-0.12 >= 0.12") 2>&5
12962   ac_status=$?
12963   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12964   test $ac_status = 0; }; then
12965   pkg_cv_LIBCHAMPLAIN_GTK_CFLAGS=`$PKG_CONFIG --cflags "champlain-gtk-0.12 >= 0.12" 2>/dev/null`
12966                       test "x$?" != "x0" && pkg_failed=yes
12967 else
12968   pkg_failed=yes
12969 fi
12970  else
12971     pkg_failed=untried
12972 fi
12973 if test -n "$LIBCHAMPLAIN_GTK_LIBS"; then
12974     pkg_cv_LIBCHAMPLAIN_GTK_LIBS="$LIBCHAMPLAIN_GTK_LIBS"
12975  elif test -n "$PKG_CONFIG"; then
12976     if test -n "$PKG_CONFIG" && \
12977     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-gtk-0.12 >= 0.12\""; } >&5
12978   ($PKG_CONFIG --exists --print-errors "champlain-gtk-0.12 >= 0.12") 2>&5
12979   ac_status=$?
12980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12981   test $ac_status = 0; }; then
12982   pkg_cv_LIBCHAMPLAIN_GTK_LIBS=`$PKG_CONFIG --libs "champlain-gtk-0.12 >= 0.12" 2>/dev/null`
12983                       test "x$?" != "x0" && pkg_failed=yes
12984 else
12985   pkg_failed=yes
12986 fi
12987  else
12988     pkg_failed=untried
12989 fi
12990
12991
12992
12993 if test $pkg_failed = yes; then
12994         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12995 $as_echo "no" >&6; }
12996
12997 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12998         _pkg_short_errors_supported=yes
12999 else
13000         _pkg_short_errors_supported=no
13001 fi
13002         if test $_pkg_short_errors_supported = yes; then
13003                 LIBCHAMPLAIN_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "champlain-gtk-0.12 >= 0.12" 2>&1`
13004         else
13005                 LIBCHAMPLAIN_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "champlain-gtk-0.12 >= 0.12" 2>&1`
13006         fi
13007         # Put the nasty error message in config.log where it belongs
13008         echo "$LIBCHAMPLAIN_GTK_PKG_ERRORS" >&5
13009
13010
13011       HAVE_LIBCHAMPLAIN_GTK=no
13012       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&5
13013 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&2;}
13014
13015 elif test $pkg_failed = untried; then
13016         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13017 $as_echo "no" >&6; }
13018
13019       HAVE_LIBCHAMPLAIN_GTK=no
13020       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&5
13021 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&2;}
13022
13023 else
13024         LIBCHAMPLAIN_GTK_CFLAGS=$pkg_cv_LIBCHAMPLAIN_GTK_CFLAGS
13025         LIBCHAMPLAIN_GTK_LIBS=$pkg_cv_LIBCHAMPLAIN_GTK_LIBS
13026         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13027 $as_echo "yes" >&6; }
13028
13029       HAVE_LIBCHAMPLAIN_GTK=yes
13030
13031 $as_echo "#define HAVE_LIBCHAMPLAIN_GTK 1" >>confdefs.h
13032
13033
13034 fi
13035 else
13036   HAVE_LIBCHAMPLAIN_GTK=disabled
13037 fi
13038
13039  if test "x$HAVE_LIBCHAMPLAIN_GTK" = xyes; then
13040   HAVE_LIBCHAMPLAIN_GTK_TRUE=
13041   HAVE_LIBCHAMPLAIN_GTK_FALSE='#'
13042 else
13043   HAVE_LIBCHAMPLAIN_GTK_TRUE='#'
13044   HAVE_LIBCHAMPLAIN_GTK_FALSE=
13045 fi
13046
13047
13048
13049
13050 #  Lua support
13051 # ----------------------------------------------------------------------
13052
13053 # Check whether --enable-lua was given.
13054 if test "${enable_lua+set}" = set; then :
13055   enableval=$enable_lua; liblua=$enableval
13056 else
13057   liblua=auto
13058 fi
13059
13060
13061 if test "x${liblua}" != "xno"; then
13062
13063 pkg_failed=no
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua5.3 >= 5.3" >&5
13065 $as_echo_n "checking for lua5.3 >= 5.3... " >&6; }
13066
13067 if test -n "$LUA_CFLAGS"; then
13068     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13069  elif test -n "$PKG_CONFIG"; then
13070     if test -n "$PKG_CONFIG" && \
13071     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3 >= 5.3\""; } >&5
13072   ($PKG_CONFIG --exists --print-errors "lua5.3 >= 5.3") 2>&5
13073   ac_status=$?
13074   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13075   test $ac_status = 0; }; then
13076   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3 >= 5.3" 2>/dev/null`
13077                       test "x$?" != "x0" && pkg_failed=yes
13078 else
13079   pkg_failed=yes
13080 fi
13081  else
13082     pkg_failed=untried
13083 fi
13084 if test -n "$LUA_LIBS"; then
13085     pkg_cv_LUA_LIBS="$LUA_LIBS"
13086  elif test -n "$PKG_CONFIG"; then
13087     if test -n "$PKG_CONFIG" && \
13088     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3 >= 5.3\""; } >&5
13089   ($PKG_CONFIG --exists --print-errors "lua5.3 >= 5.3") 2>&5
13090   ac_status=$?
13091   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13092   test $ac_status = 0; }; then
13093   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3 >= 5.3" 2>/dev/null`
13094                       test "x$?" != "x0" && pkg_failed=yes
13095 else
13096   pkg_failed=yes
13097 fi
13098  else
13099     pkg_failed=untried
13100 fi
13101
13102
13103
13104 if test $pkg_failed = yes; then
13105         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13106 $as_echo "no" >&6; }
13107
13108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13109         _pkg_short_errors_supported=yes
13110 else
13111         _pkg_short_errors_supported=no
13112 fi
13113         if test $_pkg_short_errors_supported = yes; then
13114                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.3 >= 5.3" 2>&1`
13115         else
13116                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.3 >= 5.3" 2>&1`
13117         fi
13118         # Put the nasty error message in config.log where it belongs
13119         echo "$LUA_PKG_ERRORS" >&5
13120
13121
13122
13123 pkg_failed=no
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua5.1 >= 5.1" >&5
13125 $as_echo_n "checking for lua5.1 >= 5.1... " >&6; }
13126
13127 if test -n "$LUA_CFLAGS"; then
13128     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13129  elif test -n "$PKG_CONFIG"; then
13130     if test -n "$PKG_CONFIG" && \
13131     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
13132   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
13133   ac_status=$?
13134   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13135   test $ac_status = 0; }; then
13136   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
13137                       test "x$?" != "x0" && pkg_failed=yes
13138 else
13139   pkg_failed=yes
13140 fi
13141  else
13142     pkg_failed=untried
13143 fi
13144 if test -n "$LUA_LIBS"; then
13145     pkg_cv_LUA_LIBS="$LUA_LIBS"
13146  elif test -n "$PKG_CONFIG"; then
13147     if test -n "$PKG_CONFIG" && \
13148     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
13149   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
13150   ac_status=$?
13151   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13152   test $ac_status = 0; }; then
13153   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
13154                       test "x$?" != "x0" && pkg_failed=yes
13155 else
13156   pkg_failed=yes
13157 fi
13158  else
13159     pkg_failed=untried
13160 fi
13161
13162
13163
13164 if test $pkg_failed = yes; then
13165         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13166 $as_echo "no" >&6; }
13167
13168 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13169         _pkg_short_errors_supported=yes
13170 else
13171         _pkg_short_errors_supported=no
13172 fi
13173         if test $_pkg_short_errors_supported = yes; then
13174                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
13175         else
13176                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
13177         fi
13178         # Put the nasty error message in config.log where it belongs
13179         echo "$LUA_PKG_ERRORS" >&5
13180
13181
13182
13183 pkg_failed=no
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua >= 5.1" >&5
13185 $as_echo_n "checking for lua >= 5.1... " >&6; }
13186
13187 if test -n "$LUA_CFLAGS"; then
13188     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13189  elif test -n "$PKG_CONFIG"; then
13190     if test -n "$PKG_CONFIG" && \
13191     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
13192   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
13193   ac_status=$?
13194   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13195   test $ac_status = 0; }; then
13196   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
13197                       test "x$?" != "x0" && pkg_failed=yes
13198 else
13199   pkg_failed=yes
13200 fi
13201  else
13202     pkg_failed=untried
13203 fi
13204 if test -n "$LUA_LIBS"; then
13205     pkg_cv_LUA_LIBS="$LUA_LIBS"
13206  elif test -n "$PKG_CONFIG"; then
13207     if test -n "$PKG_CONFIG" && \
13208     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
13209   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
13210   ac_status=$?
13211   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13212   test $ac_status = 0; }; then
13213   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
13214                       test "x$?" != "x0" && pkg_failed=yes
13215 else
13216   pkg_failed=yes
13217 fi
13218  else
13219     pkg_failed=untried
13220 fi
13221
13222
13223
13224 if test $pkg_failed = yes; then
13225         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13226 $as_echo "no" >&6; }
13227
13228 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13229         _pkg_short_errors_supported=yes
13230 else
13231         _pkg_short_errors_supported=no
13232 fi
13233         if test $_pkg_short_errors_supported = yes; then
13234                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1" 2>&1`
13235         else
13236                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1" 2>&1`
13237         fi
13238         # Put the nasty error message in config.log where it belongs
13239         echo "$LUA_PKG_ERRORS" >&5
13240
13241
13242                HAVE_LUA=no
13243                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
13244 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
13245
13246 elif test $pkg_failed = untried; then
13247         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13248 $as_echo "no" >&6; }
13249
13250                HAVE_LUA=no
13251                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
13252 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
13253
13254 else
13255         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13256         LUA_LIBS=$pkg_cv_LUA_LIBS
13257         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13258 $as_echo "yes" >&6; }
13259
13260               HAVE_LUA=yes
13261
13262 $as_echo "#define HAVE_LUA 1" >>confdefs.h
13263
13264
13265 fi
13266
13267 elif test $pkg_failed = untried; then
13268         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13269 $as_echo "no" >&6; }
13270
13271
13272 pkg_failed=no
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua >= 5.1" >&5
13274 $as_echo_n "checking for lua >= 5.1... " >&6; }
13275
13276 if test -n "$LUA_CFLAGS"; then
13277     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13278  elif test -n "$PKG_CONFIG"; then
13279     if test -n "$PKG_CONFIG" && \
13280     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
13281   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
13282   ac_status=$?
13283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13284   test $ac_status = 0; }; then
13285   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
13286                       test "x$?" != "x0" && pkg_failed=yes
13287 else
13288   pkg_failed=yes
13289 fi
13290  else
13291     pkg_failed=untried
13292 fi
13293 if test -n "$LUA_LIBS"; then
13294     pkg_cv_LUA_LIBS="$LUA_LIBS"
13295  elif test -n "$PKG_CONFIG"; then
13296     if test -n "$PKG_CONFIG" && \
13297     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
13298   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
13299   ac_status=$?
13300   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13301   test $ac_status = 0; }; then
13302   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
13303                       test "x$?" != "x0" && pkg_failed=yes
13304 else
13305   pkg_failed=yes
13306 fi
13307  else
13308     pkg_failed=untried
13309 fi
13310
13311
13312
13313 if test $pkg_failed = yes; then
13314         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13315 $as_echo "no" >&6; }
13316
13317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13318         _pkg_short_errors_supported=yes
13319 else
13320         _pkg_short_errors_supported=no
13321 fi
13322         if test $_pkg_short_errors_supported = yes; then
13323                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1" 2>&1`
13324         else
13325                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1" 2>&1`
13326         fi
13327         # Put the nasty error message in config.log where it belongs
13328         echo "$LUA_PKG_ERRORS" >&5
13329
13330
13331                HAVE_LUA=no
13332                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
13333 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
13334
13335 elif test $pkg_failed = untried; then
13336         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13337 $as_echo "no" >&6; }
13338
13339                HAVE_LUA=no
13340                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
13341 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
13342
13343 else
13344         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13345         LUA_LIBS=$pkg_cv_LUA_LIBS
13346         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13347 $as_echo "yes" >&6; }
13348
13349               HAVE_LUA=yes
13350
13351 $as_echo "#define HAVE_LUA 1" >>confdefs.h
13352
13353
13354 fi
13355
13356 else
13357         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13358         LUA_LIBS=$pkg_cv_LUA_LIBS
13359         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13360 $as_echo "yes" >&6; }
13361
13362          HAVE_LUA=yes
13363
13364 $as_echo "#define HAVE_LUA 1" >>confdefs.h
13365
13366
13367 fi
13368
13369 elif test $pkg_failed = untried; then
13370         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13371 $as_echo "no" >&6; }
13372
13373
13374 pkg_failed=no
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua5.1 >= 5.1" >&5
13376 $as_echo_n "checking for lua5.1 >= 5.1... " >&6; }
13377
13378 if test -n "$LUA_CFLAGS"; then
13379     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13380  elif test -n "$PKG_CONFIG"; then
13381     if test -n "$PKG_CONFIG" && \
13382     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
13383   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
13384   ac_status=$?
13385   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13386   test $ac_status = 0; }; then
13387   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
13388                       test "x$?" != "x0" && pkg_failed=yes
13389 else
13390   pkg_failed=yes
13391 fi
13392  else
13393     pkg_failed=untried
13394 fi
13395 if test -n "$LUA_LIBS"; then
13396     pkg_cv_LUA_LIBS="$LUA_LIBS"
13397  elif test -n "$PKG_CONFIG"; then
13398     if test -n "$PKG_CONFIG" && \
13399     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
13400   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
13401   ac_status=$?
13402   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13403   test $ac_status = 0; }; then
13404   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
13405                       test "x$?" != "x0" && pkg_failed=yes
13406 else
13407   pkg_failed=yes
13408 fi
13409  else
13410     pkg_failed=untried
13411 fi
13412
13413
13414
13415 if test $pkg_failed = yes; then
13416         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13417 $as_echo "no" >&6; }
13418
13419 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13420         _pkg_short_errors_supported=yes
13421 else
13422         _pkg_short_errors_supported=no
13423 fi
13424         if test $_pkg_short_errors_supported = yes; then
13425                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
13426         else
13427                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
13428         fi
13429         # Put the nasty error message in config.log where it belongs
13430         echo "$LUA_PKG_ERRORS" >&5
13431
13432
13433
13434 pkg_failed=no
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua >= 5.1" >&5
13436 $as_echo_n "checking for lua >= 5.1... " >&6; }
13437
13438 if test -n "$LUA_CFLAGS"; then
13439     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13440  elif test -n "$PKG_CONFIG"; then
13441     if test -n "$PKG_CONFIG" && \
13442     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
13443   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
13444   ac_status=$?
13445   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13446   test $ac_status = 0; }; then
13447   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
13448                       test "x$?" != "x0" && pkg_failed=yes
13449 else
13450   pkg_failed=yes
13451 fi
13452  else
13453     pkg_failed=untried
13454 fi
13455 if test -n "$LUA_LIBS"; then
13456     pkg_cv_LUA_LIBS="$LUA_LIBS"
13457  elif test -n "$PKG_CONFIG"; then
13458     if test -n "$PKG_CONFIG" && \
13459     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
13460   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
13461   ac_status=$?
13462   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13463   test $ac_status = 0; }; then
13464   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
13465                       test "x$?" != "x0" && pkg_failed=yes
13466 else
13467   pkg_failed=yes
13468 fi
13469  else
13470     pkg_failed=untried
13471 fi
13472
13473
13474
13475 if test $pkg_failed = yes; then
13476         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13477 $as_echo "no" >&6; }
13478
13479 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13480         _pkg_short_errors_supported=yes
13481 else
13482         _pkg_short_errors_supported=no
13483 fi
13484         if test $_pkg_short_errors_supported = yes; then
13485                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1" 2>&1`
13486         else
13487                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1" 2>&1`
13488         fi
13489         # Put the nasty error message in config.log where it belongs
13490         echo "$LUA_PKG_ERRORS" >&5
13491
13492
13493                HAVE_LUA=no
13494                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
13495 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
13496
13497 elif test $pkg_failed = untried; then
13498         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13499 $as_echo "no" >&6; }
13500
13501                HAVE_LUA=no
13502                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
13503 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
13504
13505 else
13506         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13507         LUA_LIBS=$pkg_cv_LUA_LIBS
13508         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13509 $as_echo "yes" >&6; }
13510
13511               HAVE_LUA=yes
13512
13513 $as_echo "#define HAVE_LUA 1" >>confdefs.h
13514
13515
13516 fi
13517
13518 elif test $pkg_failed = untried; then
13519         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13520 $as_echo "no" >&6; }
13521
13522
13523 pkg_failed=no
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lua >= 5.1" >&5
13525 $as_echo_n "checking for lua >= 5.1... " >&6; }
13526
13527 if test -n "$LUA_CFLAGS"; then
13528     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
13529  elif test -n "$PKG_CONFIG"; then
13530     if test -n "$PKG_CONFIG" && \
13531     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
13532   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
13533   ac_status=$?
13534   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13535   test $ac_status = 0; }; then
13536   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
13537                       test "x$?" != "x0" && pkg_failed=yes
13538 else
13539   pkg_failed=yes
13540 fi
13541  else
13542     pkg_failed=untried
13543 fi
13544 if test -n "$LUA_LIBS"; then
13545     pkg_cv_LUA_LIBS="$LUA_LIBS"
13546  elif test -n "$PKG_CONFIG"; then
13547     if test -n "$PKG_CONFIG" && \
13548     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
13549   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
13550   ac_status=$?
13551   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13552   test $ac_status = 0; }; then
13553   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
13554                       test "x$?" != "x0" && pkg_failed=yes
13555 else
13556   pkg_failed=yes
13557 fi
13558  else
13559     pkg_failed=untried
13560 fi
13561
13562
13563
13564 if test $pkg_failed = yes; then
13565         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13566 $as_echo "no" >&6; }
13567
13568 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13569         _pkg_short_errors_supported=yes
13570 else
13571         _pkg_short_errors_supported=no
13572 fi
13573         if test $_pkg_short_errors_supported = yes; then
13574                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1" 2>&1`
13575         else
13576                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1" 2>&1`
13577         fi
13578         # Put the nasty error message in config.log where it belongs
13579         echo "$LUA_PKG_ERRORS" >&5
13580
13581
13582                HAVE_LUA=no
13583                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
13584 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
13585
13586 elif test $pkg_failed = untried; then
13587         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13588 $as_echo "no" >&6; }
13589
13590                HAVE_LUA=no
13591                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
13592 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
13593
13594 else
13595         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13596         LUA_LIBS=$pkg_cv_LUA_LIBS
13597         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13598 $as_echo "yes" >&6; }
13599
13600               HAVE_LUA=yes
13601
13602 $as_echo "#define HAVE_LUA 1" >>confdefs.h
13603
13604
13605 fi
13606
13607 else
13608         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13609         LUA_LIBS=$pkg_cv_LUA_LIBS
13610         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13611 $as_echo "yes" >&6; }
13612
13613          HAVE_LUA=yes
13614
13615 $as_echo "#define HAVE_LUA 1" >>confdefs.h
13616
13617
13618 fi
13619
13620 else
13621         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
13622         LUA_LIBS=$pkg_cv_LUA_LIBS
13623         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13624 $as_echo "yes" >&6; }
13625
13626       HAVE_LUA=yes
13627
13628 $as_echo "#define HAVE_LUA 1" >>confdefs.h
13629
13630
13631 fi
13632 else
13633   HAVE_LUA=disabled
13634 fi
13635
13636  if test "x$HAVE_LUA" = xyes; then
13637   HAVE_LUA_TRUE=
13638   HAVE_LUA_FALSE='#'
13639 else
13640   HAVE_LUA_TRUE='#'
13641   HAVE_LUA_FALSE=
13642 fi
13643
13644
13645
13646
13647 #  Pdf support
13648 # ----------------------------------------------------------------------
13649
13650 if test "x${gtk3}" != "xno"; then
13651     # Check whether --enable-pdf was given.
13652 if test "${enable_pdf+set}" = set; then :
13653   enableval=$enable_pdf; libpdf=$enableval
13654 else
13655   libpdf=auto
13656 fi
13657
13658
13659     if test "x${libpdf}" != "xno"; then
13660
13661 pkg_failed=no
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poppler-glib >= 0.62" >&5
13663 $as_echo_n "checking for poppler-glib >= 0.62... " >&6; }
13664
13665 if test -n "$PDF_CFLAGS"; then
13666     pkg_cv_PDF_CFLAGS="$PDF_CFLAGS"
13667  elif test -n "$PKG_CONFIG"; then
13668     if test -n "$PKG_CONFIG" && \
13669     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.62\""; } >&5
13670   ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.62") 2>&5
13671   ac_status=$?
13672   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13673   test $ac_status = 0; }; then
13674   pkg_cv_PDF_CFLAGS=`$PKG_CONFIG --cflags "poppler-glib >= 0.62" 2>/dev/null`
13675                       test "x$?" != "x0" && pkg_failed=yes
13676 else
13677   pkg_failed=yes
13678 fi
13679  else
13680     pkg_failed=untried
13681 fi
13682 if test -n "$PDF_LIBS"; then
13683     pkg_cv_PDF_LIBS="$PDF_LIBS"
13684  elif test -n "$PKG_CONFIG"; then
13685     if test -n "$PKG_CONFIG" && \
13686     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.62\""; } >&5
13687   ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.62") 2>&5
13688   ac_status=$?
13689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13690   test $ac_status = 0; }; then
13691   pkg_cv_PDF_LIBS=`$PKG_CONFIG --libs "poppler-glib >= 0.62" 2>/dev/null`
13692                       test "x$?" != "x0" && pkg_failed=yes
13693 else
13694   pkg_failed=yes
13695 fi
13696  else
13697     pkg_failed=untried
13698 fi
13699
13700
13701
13702 if test $pkg_failed = yes; then
13703         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13704 $as_echo "no" >&6; }
13705
13706 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13707         _pkg_short_errors_supported=yes
13708 else
13709         _pkg_short_errors_supported=no
13710 fi
13711         if test $_pkg_short_errors_supported = yes; then
13712                 PDF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "poppler-glib >= 0.62" 2>&1`
13713         else
13714                 PDF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "poppler-glib >= 0.62" 2>&1`
13715         fi
13716         # Put the nasty error message in config.log where it belongs
13717         echo "$PDF_PKG_ERRORS" >&5
13718
13719
13720           HAVE_PDF=no
13721           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $PDF_PKG_ERRORS" >&5
13722 $as_echo "$as_me: WARNING: $PDF_PKG_ERRORS" >&2;}
13723
13724 elif test $pkg_failed = untried; then
13725         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13726 $as_echo "no" >&6; }
13727
13728           HAVE_PDF=no
13729           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $PDF_PKG_ERRORS" >&5
13730 $as_echo "$as_me: WARNING: $PDF_PKG_ERRORS" >&2;}
13731
13732 else
13733         PDF_CFLAGS=$pkg_cv_PDF_CFLAGS
13734         PDF_LIBS=$pkg_cv_PDF_LIBS
13735         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13736 $as_echo "yes" >&6; }
13737
13738           HAVE_PDF=yes
13739
13740 $as_echo "#define HAVE_PDF 1" >>confdefs.h
13741
13742
13743 fi
13744     else
13745         HAVE_PDF=disabled
13746     fi
13747 else
13748     HAVE_PDF=disabled
13749 fi
13750
13751  if test "x$HAVE_PDF" = xyes; then
13752   HAVE_PDF_TRUE=
13753   HAVE_PDF_FALSE='#'
13754 else
13755   HAVE_PDF_TRUE='#'
13756   HAVE_PDF_FALSE=
13757 fi
13758
13759
13760
13761
13762 #  Heif support
13763 # ----------------------------------------------------------------------
13764
13765 # Check whether --enable-heif was given.
13766 if test "${enable_heif+set}" = set; then :
13767   enableval=$enable_heif; libheif=$enableval
13768 else
13769   libheif=auto
13770 fi
13771
13772
13773 if test "x${libheif}" != "xno"; then
13774
13775 pkg_failed=no
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libheif >= 1.3.2" >&5
13777 $as_echo_n "checking for libheif >= 1.3.2... " >&6; }
13778
13779 if test -n "$HEIF_CFLAGS"; then
13780     pkg_cv_HEIF_CFLAGS="$HEIF_CFLAGS"
13781  elif test -n "$PKG_CONFIG"; then
13782     if test -n "$PKG_CONFIG" && \
13783     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libheif >= 1.3.2\""; } >&5
13784   ($PKG_CONFIG --exists --print-errors "libheif >= 1.3.2") 2>&5
13785   ac_status=$?
13786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13787   test $ac_status = 0; }; then
13788   pkg_cv_HEIF_CFLAGS=`$PKG_CONFIG --cflags "libheif >= 1.3.2" 2>/dev/null`
13789                       test "x$?" != "x0" && pkg_failed=yes
13790 else
13791   pkg_failed=yes
13792 fi
13793  else
13794     pkg_failed=untried
13795 fi
13796 if test -n "$HEIF_LIBS"; then
13797     pkg_cv_HEIF_LIBS="$HEIF_LIBS"
13798  elif test -n "$PKG_CONFIG"; then
13799     if test -n "$PKG_CONFIG" && \
13800     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libheif >= 1.3.2\""; } >&5
13801   ($PKG_CONFIG --exists --print-errors "libheif >= 1.3.2") 2>&5
13802   ac_status=$?
13803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13804   test $ac_status = 0; }; then
13805   pkg_cv_HEIF_LIBS=`$PKG_CONFIG --libs "libheif >= 1.3.2" 2>/dev/null`
13806                       test "x$?" != "x0" && pkg_failed=yes
13807 else
13808   pkg_failed=yes
13809 fi
13810  else
13811     pkg_failed=untried
13812 fi
13813
13814
13815
13816 if test $pkg_failed = yes; then
13817         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13818 $as_echo "no" >&6; }
13819
13820 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13821         _pkg_short_errors_supported=yes
13822 else
13823         _pkg_short_errors_supported=no
13824 fi
13825         if test $_pkg_short_errors_supported = yes; then
13826                 HEIF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libheif >= 1.3.2" 2>&1`
13827         else
13828                 HEIF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libheif >= 1.3.2" 2>&1`
13829         fi
13830         # Put the nasty error message in config.log where it belongs
13831         echo "$HEIF_PKG_ERRORS" >&5
13832
13833
13834       HAVE_HEIF=no
13835       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $HEIF_PKG_ERRORS" >&5
13836 $as_echo "$as_me: WARNING: $HEIF_PKG_ERRORS" >&2;}
13837
13838 elif test $pkg_failed = untried; then
13839         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13840 $as_echo "no" >&6; }
13841
13842       HAVE_HEIF=no
13843       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $HEIF_PKG_ERRORS" >&5
13844 $as_echo "$as_me: WARNING: $HEIF_PKG_ERRORS" >&2;}
13845
13846 else
13847         HEIF_CFLAGS=$pkg_cv_HEIF_CFLAGS
13848         HEIF_LIBS=$pkg_cv_HEIF_LIBS
13849         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13850 $as_echo "yes" >&6; }
13851
13852       HAVE_HEIF=yes
13853
13854 $as_echo "#define HAVE_HEIF 1" >>confdefs.h
13855
13856
13857 fi
13858 else
13859     HAVE_HEIF=disabled
13860 fi
13861
13862  if test "x$HAVE_HEIF" = xyes; then
13863   HAVE_HEIF_TRUE=
13864   HAVE_HEIF_FALSE='#'
13865 else
13866   HAVE_HEIF_TRUE='#'
13867   HAVE_HEIF_FALSE=
13868 fi
13869
13870
13871
13872
13873 #  WebP support
13874 # ----------------------------------------------------------------------
13875
13876 # Check whether --enable-webp was given.
13877 if test "${enable_webp+set}" = set; then :
13878   enableval=$enable_webp; libwebp=$enableval
13879 else
13880   libwebp=auto
13881 fi
13882
13883
13884 if test "x${libwebp}" != "xno"; then
13885
13886 pkg_failed=no
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libwebp >= 0.6.1" >&5
13888 $as_echo_n "checking for libwebp >= 0.6.1... " >&6; }
13889
13890 if test -n "$WEBP_CFLAGS"; then
13891     pkg_cv_WEBP_CFLAGS="$WEBP_CFLAGS"
13892  elif test -n "$PKG_CONFIG"; then
13893     if test -n "$PKG_CONFIG" && \
13894     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwebp >= 0.6.1\""; } >&5
13895   ($PKG_CONFIG --exists --print-errors "libwebp >= 0.6.1") 2>&5
13896   ac_status=$?
13897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13898   test $ac_status = 0; }; then
13899   pkg_cv_WEBP_CFLAGS=`$PKG_CONFIG --cflags "libwebp >= 0.6.1" 2>/dev/null`
13900                       test "x$?" != "x0" && pkg_failed=yes
13901 else
13902   pkg_failed=yes
13903 fi
13904  else
13905     pkg_failed=untried
13906 fi
13907 if test -n "$WEBP_LIBS"; then
13908     pkg_cv_WEBP_LIBS="$WEBP_LIBS"
13909  elif test -n "$PKG_CONFIG"; then
13910     if test -n "$PKG_CONFIG" && \
13911     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwebp >= 0.6.1\""; } >&5
13912   ($PKG_CONFIG --exists --print-errors "libwebp >= 0.6.1") 2>&5
13913   ac_status=$?
13914   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13915   test $ac_status = 0; }; then
13916   pkg_cv_WEBP_LIBS=`$PKG_CONFIG --libs "libwebp >= 0.6.1" 2>/dev/null`
13917                       test "x$?" != "x0" && pkg_failed=yes
13918 else
13919   pkg_failed=yes
13920 fi
13921  else
13922     pkg_failed=untried
13923 fi
13924
13925
13926
13927 if test $pkg_failed = yes; then
13928         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13929 $as_echo "no" >&6; }
13930
13931 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13932         _pkg_short_errors_supported=yes
13933 else
13934         _pkg_short_errors_supported=no
13935 fi
13936         if test $_pkg_short_errors_supported = yes; then
13937                 WEBP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libwebp >= 0.6.1" 2>&1`
13938         else
13939                 WEBP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libwebp >= 0.6.1" 2>&1`
13940         fi
13941         # Put the nasty error message in config.log where it belongs
13942         echo "$WEBP_PKG_ERRORS" >&5
13943
13944
13945       HAVE_WEBP=no
13946       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $WEBP_PKG_ERRORS" >&5
13947 $as_echo "$as_me: WARNING: $WEBP_PKG_ERRORS" >&2;}
13948
13949 elif test $pkg_failed = untried; then
13950         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13951 $as_echo "no" >&6; }
13952
13953       HAVE_WEBP=no
13954       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $WEBP_PKG_ERRORS" >&5
13955 $as_echo "$as_me: WARNING: $WEBP_PKG_ERRORS" >&2;}
13956
13957 else
13958         WEBP_CFLAGS=$pkg_cv_WEBP_CFLAGS
13959         WEBP_LIBS=$pkg_cv_WEBP_LIBS
13960         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13961 $as_echo "yes" >&6; }
13962
13963       HAVE_WEBP=yes
13964
13965 $as_echo "#define HAVE_WEBP 1" >>confdefs.h
13966
13967
13968 fi
13969 else
13970     HAVE_WEBP=disabled
13971 fi
13972
13973  if test "x$HAVE_WEBP" = xyes; then
13974   HAVE_WEBP_TRUE=
13975   HAVE_WEBP_FALSE='#'
13976 else
13977   HAVE_WEBP_TRUE='#'
13978   HAVE_WEBP_FALSE=
13979 fi
13980
13981
13982
13983
13984 #  J2K support
13985 # ----------------------------------------------------------------------
13986
13987 # Check whether --enable-j2k was given.
13988 if test "${enable_j2k+set}" = set; then :
13989   enableval=$enable_j2k; libopenjp2=$enableval
13990 else
13991   libopenjp2=auto
13992 fi
13993
13994
13995 if test "x${libopenjp2}" != "xno"; then
13996
13997 pkg_failed=no
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libopenjp2 >= 2.3.0" >&5
13999 $as_echo_n "checking for libopenjp2 >= 2.3.0... " >&6; }
14000
14001 if test -n "$J2K_CFLAGS"; then
14002     pkg_cv_J2K_CFLAGS="$J2K_CFLAGS"
14003  elif test -n "$PKG_CONFIG"; then
14004     if test -n "$PKG_CONFIG" && \
14005     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenjp2 >= 2.3.0\""; } >&5
14006   ($PKG_CONFIG --exists --print-errors "libopenjp2 >= 2.3.0") 2>&5
14007   ac_status=$?
14008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14009   test $ac_status = 0; }; then
14010   pkg_cv_J2K_CFLAGS=`$PKG_CONFIG --cflags "libopenjp2 >= 2.3.0" 2>/dev/null`
14011                       test "x$?" != "x0" && pkg_failed=yes
14012 else
14013   pkg_failed=yes
14014 fi
14015  else
14016     pkg_failed=untried
14017 fi
14018 if test -n "$J2K_LIBS"; then
14019     pkg_cv_J2K_LIBS="$J2K_LIBS"
14020  elif test -n "$PKG_CONFIG"; then
14021     if test -n "$PKG_CONFIG" && \
14022     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libopenjp2 >= 2.3.0\""; } >&5
14023   ($PKG_CONFIG --exists --print-errors "libopenjp2 >= 2.3.0") 2>&5
14024   ac_status=$?
14025   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14026   test $ac_status = 0; }; then
14027   pkg_cv_J2K_LIBS=`$PKG_CONFIG --libs "libopenjp2 >= 2.3.0" 2>/dev/null`
14028                       test "x$?" != "x0" && pkg_failed=yes
14029 else
14030   pkg_failed=yes
14031 fi
14032  else
14033     pkg_failed=untried
14034 fi
14035
14036
14037
14038 if test $pkg_failed = yes; then
14039         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14040 $as_echo "no" >&6; }
14041
14042 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14043         _pkg_short_errors_supported=yes
14044 else
14045         _pkg_short_errors_supported=no
14046 fi
14047         if test $_pkg_short_errors_supported = yes; then
14048                 J2K_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libopenjp2 >= 2.3.0" 2>&1`
14049         else
14050                 J2K_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libopenjp2 >= 2.3.0" 2>&1`
14051         fi
14052         # Put the nasty error message in config.log where it belongs
14053         echo "$J2K_PKG_ERRORS" >&5
14054
14055
14056       HAVE_J2K=no
14057       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $J2K_PKG_ERRORS" >&5
14058 $as_echo "$as_me: WARNING: $J2K_PKG_ERRORS" >&2;}
14059
14060 elif test $pkg_failed = untried; then
14061         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14062 $as_echo "no" >&6; }
14063
14064       HAVE_J2K=no
14065       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $J2K_PKG_ERRORS" >&5
14066 $as_echo "$as_me: WARNING: $J2K_PKG_ERRORS" >&2;}
14067
14068 else
14069         J2K_CFLAGS=$pkg_cv_J2K_CFLAGS
14070         J2K_LIBS=$pkg_cv_J2K_LIBS
14071         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14072 $as_echo "yes" >&6; }
14073
14074       HAVE_J2K=yes
14075
14076 $as_echo "#define HAVE_J2K 1" >>confdefs.h
14077
14078
14079 fi
14080 else
14081     HAVE_J2K=disabled
14082 fi
14083
14084  if test "x$HAVE_J2K" = xyes; then
14085   HAVE_J2K_TRUE=
14086   HAVE_J2K_FALSE='#'
14087 else
14088   HAVE_J2K_TRUE='#'
14089   HAVE_J2K_FALSE=
14090 fi
14091
14092
14093
14094
14095 #  DjVu support
14096 # ----------------------------------------------------------------------
14097
14098 # Check whether --enable-djvu was given.
14099 if test "${enable_djvu+set}" = set; then :
14100   enableval=$enable_djvu; libdjvulibre=$enableval
14101 else
14102   libdjvulibre=auto
14103 fi
14104
14105
14106 if test "x${libdjvulibre}" != "xno"; then
14107
14108 pkg_failed=no
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ddjvuapi >= 3.5.27" >&5
14110 $as_echo_n "checking for ddjvuapi >= 3.5.27... " >&6; }
14111
14112 if test -n "$DJVU_CFLAGS"; then
14113     pkg_cv_DJVU_CFLAGS="$DJVU_CFLAGS"
14114  elif test -n "$PKG_CONFIG"; then
14115     if test -n "$PKG_CONFIG" && \
14116     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ddjvuapi >= 3.5.27\""; } >&5
14117   ($PKG_CONFIG --exists --print-errors "ddjvuapi >= 3.5.27") 2>&5
14118   ac_status=$?
14119   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14120   test $ac_status = 0; }; then
14121   pkg_cv_DJVU_CFLAGS=`$PKG_CONFIG --cflags "ddjvuapi >= 3.5.27" 2>/dev/null`
14122                       test "x$?" != "x0" && pkg_failed=yes
14123 else
14124   pkg_failed=yes
14125 fi
14126  else
14127     pkg_failed=untried
14128 fi
14129 if test -n "$DJVU_LIBS"; then
14130     pkg_cv_DJVU_LIBS="$DJVU_LIBS"
14131  elif test -n "$PKG_CONFIG"; then
14132     if test -n "$PKG_CONFIG" && \
14133     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ddjvuapi >= 3.5.27\""; } >&5
14134   ($PKG_CONFIG --exists --print-errors "ddjvuapi >= 3.5.27") 2>&5
14135   ac_status=$?
14136   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14137   test $ac_status = 0; }; then
14138   pkg_cv_DJVU_LIBS=`$PKG_CONFIG --libs "ddjvuapi >= 3.5.27" 2>/dev/null`
14139                       test "x$?" != "x0" && pkg_failed=yes
14140 else
14141   pkg_failed=yes
14142 fi
14143  else
14144     pkg_failed=untried
14145 fi
14146
14147
14148
14149 if test $pkg_failed = yes; then
14150         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14151 $as_echo "no" >&6; }
14152
14153 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14154         _pkg_short_errors_supported=yes
14155 else
14156         _pkg_short_errors_supported=no
14157 fi
14158         if test $_pkg_short_errors_supported = yes; then
14159                 DJVU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ddjvuapi >= 3.5.27" 2>&1`
14160         else
14161                 DJVU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ddjvuapi >= 3.5.27" 2>&1`
14162         fi
14163         # Put the nasty error message in config.log where it belongs
14164         echo "$DJVU_PKG_ERRORS" >&5
14165
14166
14167       HAVE_DJVU=no
14168       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $DJVU_PKG_ERRORS" >&5
14169 $as_echo "$as_me: WARNING: $DJVU_PKG_ERRORS" >&2;}
14170
14171 elif test $pkg_failed = untried; then
14172         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14173 $as_echo "no" >&6; }
14174
14175       HAVE_DJVU=no
14176       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $DJVU_PKG_ERRORS" >&5
14177 $as_echo "$as_me: WARNING: $DJVU_PKG_ERRORS" >&2;}
14178
14179 else
14180         DJVU_CFLAGS=$pkg_cv_DJVU_CFLAGS
14181         DJVU_LIBS=$pkg_cv_DJVU_LIBS
14182         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14183 $as_echo "yes" >&6; }
14184
14185       HAVE_DJVU=yes
14186
14187 $as_echo "#define HAVE_DJVU 1" >>confdefs.h
14188
14189
14190 fi
14191 else
14192     HAVE_DJVU=disabled
14193 fi
14194
14195  if test "x$HAVE_DJVU" = xyes; then
14196   HAVE_DJVU_TRUE=
14197   HAVE_DJVU_FALSE='#'
14198 else
14199   HAVE_DJVU_TRUE='#'
14200   HAVE_DJVU_FALSE=
14201 fi
14202
14203
14204
14205
14206 #  Markdown support
14207 # ----------------------------------------------------------------------
14208
14209  if  "$(command -v markdown)" ; then
14210   HAVE_MARKDOWN_TRUE=
14211   HAVE_MARKDOWN_FALSE='#'
14212 else
14213   HAVE_MARKDOWN_TRUE='#'
14214   HAVE_MARKDOWN_FALSE=
14215 fi
14216
14217
14218 # _NL_TIME_FIRST_WEEKDAY support
14219 # note that it is an enum and not a define
14220 # ----------------------------------------------------------------------
14221
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_TIME_FIRST_WEEKDAY" >&5
14223 $as_echo_n "checking for _NL_TIME_FIRST_WEEKDAY... " >&6; }
14224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14225 /* end confdefs.h.  */
14226 #include <langinfo.h>
14227 int
14228 main ()
14229 {
14230
14231 char c;
14232 c = *((unsigned char *)  nl_langinfo(_NL_TIME_FIRST_WEEKDAY));
14233
14234   ;
14235   return 0;
14236 }
14237 _ACEOF
14238 if ac_fn_c_try_link "$LINENO"; then :
14239   nl_ok=yes
14240 else
14241   nl_ok=no
14242 fi
14243 rm -f core conftest.err conftest.$ac_objext \
14244     conftest$ac_exeext conftest.$ac_ext
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_ok" >&5
14246 $as_echo "$nl_ok" >&6; }
14247 if test "$nl_ok" = "yes"; then
14248
14249 $as_echo "#define HAVE__NL_TIME_FIRST_WEEKDAY 1" >>confdefs.h
14250
14251 fi
14252
14253 # ----------------------------------------------------------------------
14254
14255
14256
14257
14258
14259
14260 ac_config_files="$ac_config_files Makefile src/Makefile src/icons/Makefile src/icons/svg/Makefile po/Makefile.in doc/Makefile plugins/Makefile plugins/symlink/Makefile plugins/rotate/Makefile plugins/ufraw/Makefile plugins/geocode-parameters/Makefile plugins/export-jpeg/Makefile plugins/tethered-photography/Makefile plugins/camera-import/Makefile plugins/image-crop/Makefile plugins/random-image/Makefile plugins/lens/Makefile geeqie.spec"
14261
14262
14263 cat >confcache <<\_ACEOF
14264 # This file is a shell script that caches the results of configure
14265 # tests run on this system so they can be shared between configure
14266 # scripts and configure runs, see configure's option --config-cache.
14267 # It is not useful on other systems.  If it contains results you don't
14268 # want to keep, you may remove or edit it.
14269 #
14270 # config.status only pays attention to the cache file if you give it
14271 # the --recheck option to rerun configure.
14272 #
14273 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14274 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14275 # following values.
14276
14277 _ACEOF
14278
14279 # The following way of writing the cache mishandles newlines in values,
14280 # but we know of no workaround that is simple, portable, and efficient.
14281 # So, we kill variables containing newlines.
14282 # Ultrix sh set writes to stderr and can't be redirected directly,
14283 # and sets the high bit in the cache file unless we assign to the vars.
14284 (
14285   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14286     eval ac_val=\$$ac_var
14287     case $ac_val in #(
14288     *${as_nl}*)
14289       case $ac_var in #(
14290       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14291 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14292       esac
14293       case $ac_var in #(
14294       _ | IFS | as_nl) ;; #(
14295       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14296       *) { eval $ac_var=; unset $ac_var;} ;;
14297       esac ;;
14298     esac
14299   done
14300
14301   (set) 2>&1 |
14302     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14303     *${as_nl}ac_space=\ *)
14304       # `set' does not quote correctly, so add quotes: double-quote
14305       # substitution turns \\\\ into \\, and sed turns \\ into \.
14306       sed -n \
14307         "s/'/'\\\\''/g;
14308           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14309       ;; #(
14310     *)
14311       # `set' quotes correctly as required by POSIX, so do not add quotes.
14312       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14313       ;;
14314     esac |
14315     sort
14316 ) |
14317   sed '
14318      /^ac_cv_env_/b end
14319      t clear
14320      :clear
14321      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14322      t end
14323      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14324      :end' >>confcache
14325 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14326   if test -w "$cache_file"; then
14327     if test "x$cache_file" != "x/dev/null"; then
14328       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14329 $as_echo "$as_me: updating cache $cache_file" >&6;}
14330       if test ! -f "$cache_file" || test -h "$cache_file"; then
14331         cat confcache >"$cache_file"
14332       else
14333         case $cache_file in #(
14334         */* | ?:*)
14335           mv -f confcache "$cache_file"$$ &&
14336           mv -f "$cache_file"$$ "$cache_file" ;; #(
14337         *)
14338           mv -f confcache "$cache_file" ;;
14339         esac
14340       fi
14341     fi
14342   else
14343     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14344 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14345   fi
14346 fi
14347 rm -f confcache
14348
14349 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14350 # Let make expand exec_prefix.
14351 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14352
14353 DEFS=-DHAVE_CONFIG_H
14354
14355 ac_libobjs=
14356 ac_ltlibobjs=
14357 U=
14358 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14359   # 1. Remove the extension, and $U if already installed.
14360   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14361   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14362   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14363   #    will be set to the directory where LIBOBJS objects are built.
14364   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14365   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14366 done
14367 LIBOBJS=$ac_libobjs
14368
14369 LTLIBOBJS=$ac_ltlibobjs
14370
14371
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14373 $as_echo_n "checking that generated files are newer than configure... " >&6; }
14374    if test -n "$am_sleep_pid"; then
14375      # Hide warnings about reused PIDs.
14376      wait $am_sleep_pid 2>/dev/null
14377    fi
14378    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14379 $as_echo "done" >&6; }
14380  if test -n "$EXEEXT"; then
14381   am__EXEEXT_TRUE=
14382   am__EXEEXT_FALSE='#'
14383 else
14384   am__EXEEXT_TRUE='#'
14385   am__EXEEXT_FALSE=
14386 fi
14387
14388 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14389   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14391 fi
14392 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
14393   as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
14394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14395 fi
14396 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
14397   as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
14398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14399 fi
14400 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
14401   as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
14402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14403 fi
14404 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
14405   as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
14406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14407 fi
14408 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
14409   as_fn_error $? "conditional \"DX_COND_man\" was never defined.
14410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14411 fi
14412 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
14413   as_fn_error $? "conditional \"DX_COND_man\" was never defined.
14414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14415 fi
14416 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
14417   as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
14418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14419 fi
14420 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
14421   as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
14422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14423 fi
14424 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
14425   as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
14426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14427 fi
14428 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
14429   as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
14430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14431 fi
14432 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
14433   as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
14434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14435 fi
14436 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
14437   as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
14438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14439 fi
14440 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
14441   as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
14442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14443 fi
14444 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
14445   as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
14446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14447 fi
14448 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
14449   as_fn_error $? "conditional \"DX_COND_html\" was never defined.
14450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14451 fi
14452 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
14453   as_fn_error $? "conditional \"DX_COND_html\" was never defined.
14454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14455 fi
14456 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
14457   as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
14458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14459 fi
14460 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
14461   as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
14462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14463 fi
14464 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
14465   as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
14466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14467 fi
14468 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
14469   as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
14470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14471 fi
14472 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
14473   as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
14474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14475 fi
14476 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
14477   as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
14478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14479 fi
14480 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
14481   as_fn_error $? "conditional \"DEBUG\" was never defined.
14482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14483 fi
14484 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14485   as_fn_error $? "conditional \"AMDEP\" was never defined.
14486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14487 fi
14488 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14489   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14491 fi
14492 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14493   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14495 fi
14496 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
14497   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
14498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14499 fi
14500
14501   ac_config_commands="$ac_config_commands po/stamp-it"
14502
14503
14504 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
14505   as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
14506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14507 fi
14508 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
14509   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
14510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14511 fi
14512 if test -z "${OS_UNIX_TRUE}" && test -z "${OS_UNIX_FALSE}"; then
14513   as_fn_error $? "conditional \"OS_UNIX\" was never defined.
14514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14515 fi
14516 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
14517   as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
14518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14519 fi
14520 if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then
14521   as_fn_error $? "conditional \"HAVE_WINDRES\" was never defined.
14522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14523 fi
14524 if test -z "${EXTERNAL_PREFIX_TRUE}" && test -z "${EXTERNAL_PREFIX_FALSE}"; then
14525   as_fn_error $? "conditional \"EXTERNAL_PREFIX\" was never defined.
14526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14527 fi
14528 if test -z "${HAVE_LIRC_TRUE}" && test -z "${HAVE_LIRC_FALSE}"; then
14529   as_fn_error $? "conditional \"HAVE_LIRC\" was never defined.
14530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14531 fi
14532 if test -z "${HAVE_LCMS_TRUE}" && test -z "${HAVE_LCMS_FALSE}"; then
14533   as_fn_error $? "conditional \"HAVE_LCMS\" was never defined.
14534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14535 fi
14536 if test -z "${HAVE_JPEG_TRUE}" && test -z "${HAVE_JPEG_FALSE}"; then
14537   as_fn_error $? "conditional \"HAVE_JPEG\" was never defined.
14538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14539 fi
14540 if test -z "${HAVE_TIFF_TRUE}" && test -z "${HAVE_TIFF_FALSE}"; then
14541   as_fn_error $? "conditional \"HAVE_TIFF\" was never defined.
14542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14543 fi
14544 if test -z "${HAVE_FFMPEGTHUMBNAILER_TRUE}" && test -z "${HAVE_FFMPEGTHUMBNAILER_FALSE}"; then
14545   as_fn_error $? "conditional \"HAVE_FFMPEGTHUMBNAILER\" was never defined.
14546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14547 fi
14548 if test -z "${HAVE_EXIV2_TRUE}" && test -z "${HAVE_EXIV2_FALSE}"; then
14549   as_fn_error $? "conditional \"HAVE_EXIV2\" was never defined.
14550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14551 fi
14552 if test -z "${HAVE_LIBCHAMPLAIN_GTK_TRUE}" && test -z "${HAVE_LIBCHAMPLAIN_GTK_FALSE}"; then
14553   as_fn_error $? "conditional \"HAVE_LIBCHAMPLAIN_GTK\" was never defined.
14554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14555 fi
14556 if test -z "${HAVE_LUA_TRUE}" && test -z "${HAVE_LUA_FALSE}"; then
14557   as_fn_error $? "conditional \"HAVE_LUA\" was never defined.
14558 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14559 fi
14560 if test -z "${HAVE_PDF_TRUE}" && test -z "${HAVE_PDF_FALSE}"; then
14561   as_fn_error $? "conditional \"HAVE_PDF\" was never defined.
14562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14563 fi
14564 if test -z "${HAVE_HEIF_TRUE}" && test -z "${HAVE_HEIF_FALSE}"; then
14565   as_fn_error $? "conditional \"HAVE_HEIF\" was never defined.
14566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14567 fi
14568 if test -z "${HAVE_WEBP_TRUE}" && test -z "${HAVE_WEBP_FALSE}"; then
14569   as_fn_error $? "conditional \"HAVE_WEBP\" was never defined.
14570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14571 fi
14572 if test -z "${HAVE_J2K_TRUE}" && test -z "${HAVE_J2K_FALSE}"; then
14573   as_fn_error $? "conditional \"HAVE_J2K\" was never defined.
14574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14575 fi
14576 if test -z "${HAVE_DJVU_TRUE}" && test -z "${HAVE_DJVU_FALSE}"; then
14577   as_fn_error $? "conditional \"HAVE_DJVU\" was never defined.
14578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14579 fi
14580 if test -z "${HAVE_MARKDOWN_TRUE}" && test -z "${HAVE_MARKDOWN_FALSE}"; then
14581   as_fn_error $? "conditional \"HAVE_MARKDOWN\" was never defined.
14582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14583 fi
14584
14585 : "${CONFIG_STATUS=./config.status}"
14586 ac_write_fail=0
14587 ac_clean_files_save=$ac_clean_files
14588 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14590 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14591 as_write_fail=0
14592 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14593 #! $SHELL
14594 # Generated by $as_me.
14595 # Run this file to recreate the current configuration.
14596 # Compiler output produced by configure, useful for debugging
14597 # configure, is in config.log if it exists.
14598
14599 debug=false
14600 ac_cs_recheck=false
14601 ac_cs_silent=false
14602
14603 SHELL=\${CONFIG_SHELL-$SHELL}
14604 export SHELL
14605 _ASEOF
14606 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14607 ## -------------------- ##
14608 ## M4sh Initialization. ##
14609 ## -------------------- ##
14610
14611 # Be more Bourne compatible
14612 DUALCASE=1; export DUALCASE # for MKS sh
14613 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14614   emulate sh
14615   NULLCMD=:
14616   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14617   # is contrary to our usage.  Disable this feature.
14618   alias -g '${1+"$@"}'='"$@"'
14619   setopt NO_GLOB_SUBST
14620 else
14621   case `(set -o) 2>/dev/null` in #(
14622   *posix*) :
14623     set -o posix ;; #(
14624   *) :
14625      ;;
14626 esac
14627 fi
14628
14629
14630 as_nl='
14631 '
14632 export as_nl
14633 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14634 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14635 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14636 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14637 # Prefer a ksh shell builtin over an external printf program on Solaris,
14638 # but without wasting forks for bash or zsh.
14639 if test -z "$BASH_VERSION$ZSH_VERSION" \
14640     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14641   as_echo='print -r --'
14642   as_echo_n='print -rn --'
14643 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14644   as_echo='printf %s\n'
14645   as_echo_n='printf %s'
14646 else
14647   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14648     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14649     as_echo_n='/usr/ucb/echo -n'
14650   else
14651     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14652     as_echo_n_body='eval
14653       arg=$1;
14654       case $arg in #(
14655       *"$as_nl"*)
14656         expr "X$arg" : "X\\(.*\\)$as_nl";
14657         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14658       esac;
14659       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14660     '
14661     export as_echo_n_body
14662     as_echo_n='sh -c $as_echo_n_body as_echo'
14663   fi
14664   export as_echo_body
14665   as_echo='sh -c $as_echo_body as_echo'
14666 fi
14667
14668 # The user is always right.
14669 if test "${PATH_SEPARATOR+set}" != set; then
14670   PATH_SEPARATOR=:
14671   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14672     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14673       PATH_SEPARATOR=';'
14674   }
14675 fi
14676
14677
14678 # IFS
14679 # We need space, tab and new line, in precisely that order.  Quoting is
14680 # there to prevent editors from complaining about space-tab.
14681 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14682 # splitting by setting IFS to empty value.)
14683 IFS=" ""        $as_nl"
14684
14685 # Find who we are.  Look in the path if we contain no directory separator.
14686 as_myself=
14687 case $0 in #((
14688   *[\\/]* ) as_myself=$0 ;;
14689   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14690 for as_dir in $PATH
14691 do
14692   IFS=$as_save_IFS
14693   test -z "$as_dir" && as_dir=.
14694     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14695   done
14696 IFS=$as_save_IFS
14697
14698      ;;
14699 esac
14700 # We did not find ourselves, most probably we were run as `sh COMMAND'
14701 # in which case we are not to be found in the path.
14702 if test "x$as_myself" = x; then
14703   as_myself=$0
14704 fi
14705 if test ! -f "$as_myself"; then
14706   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14707   exit 1
14708 fi
14709
14710 # Unset variables that we do not need and which cause bugs (e.g. in
14711 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14712 # suppresses any "Segmentation fault" message there.  '((' could
14713 # trigger a bug in pdksh 5.2.14.
14714 for as_var in BASH_ENV ENV MAIL MAILPATH
14715 do eval test x\${$as_var+set} = xset \
14716   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14717 done
14718 PS1='$ '
14719 PS2='> '
14720 PS4='+ '
14721
14722 # NLS nuisances.
14723 LC_ALL=C
14724 export LC_ALL
14725 LANGUAGE=C
14726 export LANGUAGE
14727
14728 # CDPATH.
14729 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14730
14731
14732 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14733 # ----------------------------------------
14734 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14735 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14736 # script with STATUS, using 1 if that was 0.
14737 as_fn_error ()
14738 {
14739   as_status=$1; test $as_status -eq 0 && as_status=1
14740   if test "$4"; then
14741     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14742     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14743   fi
14744   $as_echo "$as_me: error: $2" >&2
14745   as_fn_exit $as_status
14746 } # as_fn_error
14747
14748
14749 # as_fn_set_status STATUS
14750 # -----------------------
14751 # Set $? to STATUS, without forking.
14752 as_fn_set_status ()
14753 {
14754   return $1
14755 } # as_fn_set_status
14756
14757 # as_fn_exit STATUS
14758 # -----------------
14759 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14760 as_fn_exit ()
14761 {
14762   set +e
14763   as_fn_set_status $1
14764   exit $1
14765 } # as_fn_exit
14766
14767 # as_fn_unset VAR
14768 # ---------------
14769 # Portably unset VAR.
14770 as_fn_unset ()
14771 {
14772   { eval $1=; unset $1;}
14773 }
14774 as_unset=as_fn_unset
14775 # as_fn_append VAR VALUE
14776 # ----------------------
14777 # Append the text in VALUE to the end of the definition contained in VAR. Take
14778 # advantage of any shell optimizations that allow amortized linear growth over
14779 # repeated appends, instead of the typical quadratic growth present in naive
14780 # implementations.
14781 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14782   eval 'as_fn_append ()
14783   {
14784     eval $1+=\$2
14785   }'
14786 else
14787   as_fn_append ()
14788   {
14789     eval $1=\$$1\$2
14790   }
14791 fi # as_fn_append
14792
14793 # as_fn_arith ARG...
14794 # ------------------
14795 # Perform arithmetic evaluation on the ARGs, and store the result in the
14796 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14797 # must be portable across $(()) and expr.
14798 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14799   eval 'as_fn_arith ()
14800   {
14801     as_val=$(( $* ))
14802   }'
14803 else
14804   as_fn_arith ()
14805   {
14806     as_val=`expr "$@" || test $? -eq 1`
14807   }
14808 fi # as_fn_arith
14809
14810
14811 if expr a : '\(a\)' >/dev/null 2>&1 &&
14812    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14813   as_expr=expr
14814 else
14815   as_expr=false
14816 fi
14817
14818 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14819   as_basename=basename
14820 else
14821   as_basename=false
14822 fi
14823
14824 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14825   as_dirname=dirname
14826 else
14827   as_dirname=false
14828 fi
14829
14830 as_me=`$as_basename -- "$0" ||
14831 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14832          X"$0" : 'X\(//\)$' \| \
14833          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14834 $as_echo X/"$0" |
14835     sed '/^.*\/\([^/][^/]*\)\/*$/{
14836             s//\1/
14837             q
14838           }
14839           /^X\/\(\/\/\)$/{
14840             s//\1/
14841             q
14842           }
14843           /^X\/\(\/\).*/{
14844             s//\1/
14845             q
14846           }
14847           s/.*/./; q'`
14848
14849 # Avoid depending upon Character Ranges.
14850 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14851 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14852 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14853 as_cr_digits='0123456789'
14854 as_cr_alnum=$as_cr_Letters$as_cr_digits
14855
14856 ECHO_C= ECHO_N= ECHO_T=
14857 case `echo -n x` in #(((((
14858 -n*)
14859   case `echo 'xy\c'` in
14860   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14861   xy)  ECHO_C='\c';;
14862   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14863        ECHO_T=' ';;
14864   esac;;
14865 *)
14866   ECHO_N='-n';;
14867 esac
14868
14869 rm -f conf$$ conf$$.exe conf$$.file
14870 if test -d conf$$.dir; then
14871   rm -f conf$$.dir/conf$$.file
14872 else
14873   rm -f conf$$.dir
14874   mkdir conf$$.dir 2>/dev/null
14875 fi
14876 if (echo >conf$$.file) 2>/dev/null; then
14877   if ln -s conf$$.file conf$$ 2>/dev/null; then
14878     as_ln_s='ln -s'
14879     # ... but there are two gotchas:
14880     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14881     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14882     # In both cases, we have to default to `cp -pR'.
14883     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14884       as_ln_s='cp -pR'
14885   elif ln conf$$.file conf$$ 2>/dev/null; then
14886     as_ln_s=ln
14887   else
14888     as_ln_s='cp -pR'
14889   fi
14890 else
14891   as_ln_s='cp -pR'
14892 fi
14893 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14894 rmdir conf$$.dir 2>/dev/null
14895
14896
14897 # as_fn_mkdir_p
14898 # -------------
14899 # Create "$as_dir" as a directory, including parents if necessary.
14900 as_fn_mkdir_p ()
14901 {
14902
14903   case $as_dir in #(
14904   -*) as_dir=./$as_dir;;
14905   esac
14906   test -d "$as_dir" || eval $as_mkdir_p || {
14907     as_dirs=
14908     while :; do
14909       case $as_dir in #(
14910       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14911       *) as_qdir=$as_dir;;
14912       esac
14913       as_dirs="'$as_qdir' $as_dirs"
14914       as_dir=`$as_dirname -- "$as_dir" ||
14915 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14916          X"$as_dir" : 'X\(//\)[^/]' \| \
14917          X"$as_dir" : 'X\(//\)$' \| \
14918          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14919 $as_echo X"$as_dir" |
14920     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14921             s//\1/
14922             q
14923           }
14924           /^X\(\/\/\)[^/].*/{
14925             s//\1/
14926             q
14927           }
14928           /^X\(\/\/\)$/{
14929             s//\1/
14930             q
14931           }
14932           /^X\(\/\).*/{
14933             s//\1/
14934             q
14935           }
14936           s/.*/./; q'`
14937       test -d "$as_dir" && break
14938     done
14939     test -z "$as_dirs" || eval "mkdir $as_dirs"
14940   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14941
14942
14943 } # as_fn_mkdir_p
14944 if mkdir -p . 2>/dev/null; then
14945   as_mkdir_p='mkdir -p "$as_dir"'
14946 else
14947   test -d ./-p && rmdir ./-p
14948   as_mkdir_p=false
14949 fi
14950
14951
14952 # as_fn_executable_p FILE
14953 # -----------------------
14954 # Test if FILE is an executable regular file.
14955 as_fn_executable_p ()
14956 {
14957   test -f "$1" && test -x "$1"
14958 } # as_fn_executable_p
14959 as_test_x='test -x'
14960 as_executable_p=as_fn_executable_p
14961
14962 # Sed expression to map a string onto a valid CPP name.
14963 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14964
14965 # Sed expression to map a string onto a valid variable name.
14966 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14967
14968
14969 exec 6>&1
14970 ## ----------------------------------- ##
14971 ## Main body of $CONFIG_STATUS script. ##
14972 ## ----------------------------------- ##
14973 _ASEOF
14974 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14975
14976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14977 # Save the log message, to keep $0 and so on meaningful, and to
14978 # report actual input values of CONFIG_FILES etc. instead of their
14979 # values after options handling.
14980 ac_log="
14981 This file was extended by geeqie $as_me 1.6, which was
14982 generated by GNU Autoconf 2.69.  Invocation command line was
14983
14984   CONFIG_FILES    = $CONFIG_FILES
14985   CONFIG_HEADERS  = $CONFIG_HEADERS
14986   CONFIG_LINKS    = $CONFIG_LINKS
14987   CONFIG_COMMANDS = $CONFIG_COMMANDS
14988   $ $0 $@
14989
14990 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14991 "
14992
14993 _ACEOF
14994
14995 case $ac_config_files in *"
14996 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14997 esac
14998
14999 case $ac_config_headers in *"
15000 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15001 esac
15002
15003
15004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15005 # Files that config.status was made for.
15006 config_files="$ac_config_files"
15007 config_headers="$ac_config_headers"
15008 config_commands="$ac_config_commands"
15009
15010 _ACEOF
15011
15012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15013 ac_cs_usage="\
15014 \`$as_me' instantiates files and other configuration actions
15015 from templates according to the current configuration.  Unless the files
15016 and actions are specified as TAGs, all are instantiated by default.
15017
15018 Usage: $0 [OPTION]... [TAG]...
15019
15020   -h, --help       print this help, then exit
15021   -V, --version    print version number and configuration settings, then exit
15022       --config     print configuration, then exit
15023   -q, --quiet, --silent
15024                    do not print progress messages
15025   -d, --debug      don't remove temporary files
15026       --recheck    update $as_me by reconfiguring in the same conditions
15027       --file=FILE[:TEMPLATE]
15028                    instantiate the configuration file FILE
15029       --header=FILE[:TEMPLATE]
15030                    instantiate the configuration header FILE
15031
15032 Configuration files:
15033 $config_files
15034
15035 Configuration headers:
15036 $config_headers
15037
15038 Configuration commands:
15039 $config_commands
15040
15041 Report bugs to <https://github.com/BestImageViewer/geeqie/issues>.
15042 geeqie home page: <http://www.geeqie.org/>."
15043
15044 _ACEOF
15045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15046 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15047 ac_cs_version="\\
15048 geeqie config.status 1.6
15049 configured by $0, generated by GNU Autoconf 2.69,
15050   with options \\"\$ac_cs_config\\"
15051
15052 Copyright (C) 2012 Free Software Foundation, Inc.
15053 This config.status script is free software; the Free Software Foundation
15054 gives unlimited permission to copy, distribute and modify it."
15055
15056 ac_pwd='$ac_pwd'
15057 srcdir='$srcdir'
15058 INSTALL='$INSTALL'
15059 MKDIR_P='$MKDIR_P'
15060 AWK='$AWK'
15061 test -n "\$AWK" || AWK=awk
15062 _ACEOF
15063
15064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15065 # The default lists apply if the user does not specify any file.
15066 ac_need_defaults=:
15067 while test $# != 0
15068 do
15069   case $1 in
15070   --*=?*)
15071     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15072     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15073     ac_shift=:
15074     ;;
15075   --*=)
15076     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15077     ac_optarg=
15078     ac_shift=:
15079     ;;
15080   *)
15081     ac_option=$1
15082     ac_optarg=$2
15083     ac_shift=shift
15084     ;;
15085   esac
15086
15087   case $ac_option in
15088   # Handling of the options.
15089   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15090     ac_cs_recheck=: ;;
15091   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15092     $as_echo "$ac_cs_version"; exit ;;
15093   --config | --confi | --conf | --con | --co | --c )
15094     $as_echo "$ac_cs_config"; exit ;;
15095   --debug | --debu | --deb | --de | --d | -d )
15096     debug=: ;;
15097   --file | --fil | --fi | --f )
15098     $ac_shift
15099     case $ac_optarg in
15100     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15101     '') as_fn_error $? "missing file argument" ;;
15102     esac
15103     as_fn_append CONFIG_FILES " '$ac_optarg'"
15104     ac_need_defaults=false;;
15105   --header | --heade | --head | --hea )
15106     $ac_shift
15107     case $ac_optarg in
15108     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15109     esac
15110     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15111     ac_need_defaults=false;;
15112   --he | --h)
15113     # Conflict between --help and --header
15114     as_fn_error $? "ambiguous option: \`$1'
15115 Try \`$0 --help' for more information.";;
15116   --help | --hel | -h )
15117     $as_echo "$ac_cs_usage"; exit ;;
15118   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15119   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15120     ac_cs_silent=: ;;
15121
15122   # This is an error.
15123   -*) as_fn_error $? "unrecognized option: \`$1'
15124 Try \`$0 --help' for more information." ;;
15125
15126   *) as_fn_append ac_config_targets " $1"
15127      ac_need_defaults=false ;;
15128
15129   esac
15130   shift
15131 done
15132
15133 ac_configure_extra_args=
15134
15135 if $ac_cs_silent; then
15136   exec 6>/dev/null
15137   ac_configure_extra_args="$ac_configure_extra_args --silent"
15138 fi
15139
15140 _ACEOF
15141 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15142 if \$ac_cs_recheck; then
15143   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15144   shift
15145   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15146   CONFIG_SHELL='$SHELL'
15147   export CONFIG_SHELL
15148   exec "\$@"
15149 fi
15150
15151 _ACEOF
15152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15153 exec 5>>config.log
15154 {
15155   echo
15156   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15157 ## Running $as_me. ##
15158 _ASBOX
15159   $as_echo "$ac_log"
15160 } >&5
15161
15162 _ACEOF
15163 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15164 #
15165 # INIT-COMMANDS
15166 #
15167 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
15168
15169
15170 _ACEOF
15171
15172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15173
15174 # Handling of arguments.
15175 for ac_config_target in $ac_config_targets
15176 do
15177   case $ac_config_target in
15178     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15179     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15180     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
15181     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15182     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15183     "src/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/icons/Makefile" ;;
15184     "src/icons/svg/Makefile") CONFIG_FILES="$CONFIG_FILES src/icons/svg/Makefile" ;;
15185     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
15186     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15187     "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
15188     "plugins/symlink/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/symlink/Makefile" ;;
15189     "plugins/rotate/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/rotate/Makefile" ;;
15190     "plugins/ufraw/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ufraw/Makefile" ;;
15191     "plugins/geocode-parameters/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/geocode-parameters/Makefile" ;;
15192     "plugins/export-jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/export-jpeg/Makefile" ;;
15193     "plugins/tethered-photography/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/tethered-photography/Makefile" ;;
15194     "plugins/camera-import/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/camera-import/Makefile" ;;
15195     "plugins/image-crop/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/image-crop/Makefile" ;;
15196     "plugins/random-image/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/random-image/Makefile" ;;
15197     "plugins/lens/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/lens/Makefile" ;;
15198     "geeqie.spec") CONFIG_FILES="$CONFIG_FILES geeqie.spec" ;;
15199     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
15200
15201   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15202   esac
15203 done
15204
15205
15206 # If the user did not use the arguments to specify the items to instantiate,
15207 # then the envvar interface is used.  Set only those that are not.
15208 # We use the long form for the default assignment because of an extremely
15209 # bizarre bug on SunOS 4.1.3.
15210 if $ac_need_defaults; then
15211   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15212   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15213   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15214 fi
15215
15216 # Have a temporary directory for convenience.  Make it in the build tree
15217 # simply because there is no reason against having it here, and in addition,
15218 # creating and moving files from /tmp can sometimes cause problems.
15219 # Hook for its removal unless debugging.
15220 # Note that there is a small window in which the directory will not be cleaned:
15221 # after its creation but before its name has been assigned to `$tmp'.
15222 $debug ||
15223 {
15224   tmp= ac_tmp=
15225   trap 'exit_status=$?
15226   : "${ac_tmp:=$tmp}"
15227   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15228 ' 0
15229   trap 'as_fn_exit 1' 1 2 13 15
15230 }
15231 # Create a (secure) tmp directory for tmp files.
15232
15233 {
15234   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15235   test -d "$tmp"
15236 }  ||
15237 {
15238   tmp=./conf$$-$RANDOM
15239   (umask 077 && mkdir "$tmp")
15240 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15241 ac_tmp=$tmp
15242
15243 # Set up the scripts for CONFIG_FILES section.
15244 # No need to generate them if there are no CONFIG_FILES.
15245 # This happens for instance with `./config.status config.h'.
15246 if test -n "$CONFIG_FILES"; then
15247
15248
15249 ac_cr=`echo X | tr X '\015'`
15250 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15251 # But we know of no other shell where ac_cr would be empty at this
15252 # point, so we can use a bashism as a fallback.
15253 if test "x$ac_cr" = x; then
15254   eval ac_cr=\$\'\\r\'
15255 fi
15256 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15257 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15258   ac_cs_awk_cr='\\r'
15259 else
15260   ac_cs_awk_cr=$ac_cr
15261 fi
15262
15263 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15264 _ACEOF
15265
15266
15267 {
15268   echo "cat >conf$$subs.awk <<_ACEOF" &&
15269   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15270   echo "_ACEOF"
15271 } >conf$$subs.sh ||
15272   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15273 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15274 ac_delim='%!_!# '
15275 for ac_last_try in false false false false false :; do
15276   . ./conf$$subs.sh ||
15277     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15278
15279   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15280   if test $ac_delim_n = $ac_delim_num; then
15281     break
15282   elif $ac_last_try; then
15283     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15284   else
15285     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15286   fi
15287 done
15288 rm -f conf$$subs.sh
15289
15290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15291 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15292 _ACEOF
15293 sed -n '
15294 h
15295 s/^/S["/; s/!.*/"]=/
15296 p
15297 g
15298 s/^[^!]*!//
15299 :repl
15300 t repl
15301 s/'"$ac_delim"'$//
15302 t delim
15303 :nl
15304 h
15305 s/\(.\{148\}\)..*/\1/
15306 t more1
15307 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15308 p
15309 n
15310 b repl
15311 :more1
15312 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15313 p
15314 g
15315 s/.\{148\}//
15316 t nl
15317 :delim
15318 h
15319 s/\(.\{148\}\)..*/\1/
15320 t more2
15321 s/["\\]/\\&/g; s/^/"/; s/$/"/
15322 p
15323 b
15324 :more2
15325 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15326 p
15327 g
15328 s/.\{148\}//
15329 t delim
15330 ' <conf$$subs.awk | sed '
15331 /^[^""]/{
15332   N
15333   s/\n//
15334 }
15335 ' >>$CONFIG_STATUS || ac_write_fail=1
15336 rm -f conf$$subs.awk
15337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15338 _ACAWK
15339 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15340   for (key in S) S_is_set[key] = 1
15341   FS = "\a"
15342
15343 }
15344 {
15345   line = $ 0
15346   nfields = split(line, field, "@")
15347   substed = 0
15348   len = length(field[1])
15349   for (i = 2; i < nfields; i++) {
15350     key = field[i]
15351     keylen = length(key)
15352     if (S_is_set[key]) {
15353       value = S[key]
15354       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15355       len += length(value) + length(field[++i])
15356       substed = 1
15357     } else
15358       len += 1 + keylen
15359   }
15360
15361   print line
15362 }
15363
15364 _ACAWK
15365 _ACEOF
15366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15367 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15368   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15369 else
15370   cat
15371 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15372   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15373 _ACEOF
15374
15375 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15376 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15377 # trailing colons and then remove the whole line if VPATH becomes empty
15378 # (actually we leave an empty line to preserve line numbers).
15379 if test "x$srcdir" = x.; then
15380   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15381 h
15382 s///
15383 s/^/:/
15384 s/[      ]*$/:/
15385 s/:\$(srcdir):/:/g
15386 s/:\${srcdir}:/:/g
15387 s/:@srcdir@:/:/g
15388 s/^:*//
15389 s/:*$//
15390 x
15391 s/\(=[   ]*\).*/\1/
15392 G
15393 s/\n//
15394 s/^[^=]*=[       ]*$//
15395 }'
15396 fi
15397
15398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15399 fi # test -n "$CONFIG_FILES"
15400
15401 # Set up the scripts for CONFIG_HEADERS section.
15402 # No need to generate them if there are no CONFIG_HEADERS.
15403 # This happens for instance with `./config.status Makefile'.
15404 if test -n "$CONFIG_HEADERS"; then
15405 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15406 BEGIN {
15407 _ACEOF
15408
15409 # Transform confdefs.h into an awk script `defines.awk', embedded as
15410 # here-document in config.status, that substitutes the proper values into
15411 # config.h.in to produce config.h.
15412
15413 # Create a delimiter string that does not exist in confdefs.h, to ease
15414 # handling of long lines.
15415 ac_delim='%!_!# '
15416 for ac_last_try in false false :; do
15417   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15418   if test -z "$ac_tt"; then
15419     break
15420   elif $ac_last_try; then
15421     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15422   else
15423     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15424   fi
15425 done
15426
15427 # For the awk script, D is an array of macro values keyed by name,
15428 # likewise P contains macro parameters if any.  Preserve backslash
15429 # newline sequences.
15430
15431 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15432 sed -n '
15433 s/.\{148\}/&'"$ac_delim"'/g
15434 t rset
15435 :rset
15436 s/^[     ]*#[    ]*define[       ][      ]*/ /
15437 t def
15438 d
15439 :def
15440 s/\\$//
15441 t bsnl
15442 s/["\\]/\\&/g
15443 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15444 D["\1"]=" \3"/p
15445 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15446 d
15447 :bsnl
15448 s/["\\]/\\&/g
15449 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15450 D["\1"]=" \3\\\\\\n"\\/p
15451 t cont
15452 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15453 t cont
15454 d
15455 :cont
15456 n
15457 s/.\{148\}/&'"$ac_delim"'/g
15458 t clear
15459 :clear
15460 s/\\$//
15461 t bsnlc
15462 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15463 d
15464 :bsnlc
15465 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15466 b cont
15467 ' <confdefs.h | sed '
15468 s/'"$ac_delim"'/"\\\
15469 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15470
15471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15472   for (key in D) D_is_set[key] = 1
15473   FS = "\a"
15474 }
15475 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15476   line = \$ 0
15477   split(line, arg, " ")
15478   if (arg[1] == "#") {
15479     defundef = arg[2]
15480     mac1 = arg[3]
15481   } else {
15482     defundef = substr(arg[1], 2)
15483     mac1 = arg[2]
15484   }
15485   split(mac1, mac2, "(") #)
15486   macro = mac2[1]
15487   prefix = substr(line, 1, index(line, defundef) - 1)
15488   if (D_is_set[macro]) {
15489     # Preserve the white space surrounding the "#".
15490     print prefix "define", macro P[macro] D[macro]
15491     next
15492   } else {
15493     # Replace #undef with comments.  This is necessary, for example,
15494     # in the case of _POSIX_SOURCE, which is predefined and required
15495     # on some systems where configure will not decide to define it.
15496     if (defundef == "undef") {
15497       print "/*", prefix defundef, macro, "*/"
15498       next
15499     }
15500   }
15501 }
15502 { print }
15503 _ACAWK
15504 _ACEOF
15505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15506   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15507 fi # test -n "$CONFIG_HEADERS"
15508
15509
15510 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15511 shift
15512 for ac_tag
15513 do
15514   case $ac_tag in
15515   :[FHLC]) ac_mode=$ac_tag; continue;;
15516   esac
15517   case $ac_mode$ac_tag in
15518   :[FHL]*:*);;
15519   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15520   :[FH]-) ac_tag=-:-;;
15521   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15522   esac
15523   ac_save_IFS=$IFS
15524   IFS=:
15525   set x $ac_tag
15526   IFS=$ac_save_IFS
15527   shift
15528   ac_file=$1
15529   shift
15530
15531   case $ac_mode in
15532   :L) ac_source=$1;;
15533   :[FH])
15534     ac_file_inputs=
15535     for ac_f
15536     do
15537       case $ac_f in
15538       -) ac_f="$ac_tmp/stdin";;
15539       *) # Look for the file first in the build tree, then in the source tree
15540          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15541          # because $ac_f cannot contain `:'.
15542          test -f "$ac_f" ||
15543            case $ac_f in
15544            [\\/$]*) false;;
15545            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15546            esac ||
15547            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15548       esac
15549       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15550       as_fn_append ac_file_inputs " '$ac_f'"
15551     done
15552
15553     # Let's still pretend it is `configure' which instantiates (i.e., don't
15554     # use $as_me), people would be surprised to read:
15555     #    /* config.h.  Generated by config.status.  */
15556     configure_input='Generated from '`
15557           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15558         `' by configure.'
15559     if test x"$ac_file" != x-; then
15560       configure_input="$ac_file.  $configure_input"
15561       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15562 $as_echo "$as_me: creating $ac_file" >&6;}
15563     fi
15564     # Neutralize special characters interpreted by sed in replacement strings.
15565     case $configure_input in #(
15566     *\&* | *\|* | *\\* )
15567        ac_sed_conf_input=`$as_echo "$configure_input" |
15568        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15569     *) ac_sed_conf_input=$configure_input;;
15570     esac
15571
15572     case $ac_tag in
15573     *:-:* | *:-) cat >"$ac_tmp/stdin" \
15574       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15575     esac
15576     ;;
15577   esac
15578
15579   ac_dir=`$as_dirname -- "$ac_file" ||
15580 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15581          X"$ac_file" : 'X\(//\)[^/]' \| \
15582          X"$ac_file" : 'X\(//\)$' \| \
15583          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15584 $as_echo X"$ac_file" |
15585     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15586             s//\1/
15587             q
15588           }
15589           /^X\(\/\/\)[^/].*/{
15590             s//\1/
15591             q
15592           }
15593           /^X\(\/\/\)$/{
15594             s//\1/
15595             q
15596           }
15597           /^X\(\/\).*/{
15598             s//\1/
15599             q
15600           }
15601           s/.*/./; q'`
15602   as_dir="$ac_dir"; as_fn_mkdir_p
15603   ac_builddir=.
15604
15605 case "$ac_dir" in
15606 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15607 *)
15608   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15609   # A ".." for each directory in $ac_dir_suffix.
15610   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15611   case $ac_top_builddir_sub in
15612   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15613   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15614   esac ;;
15615 esac
15616 ac_abs_top_builddir=$ac_pwd
15617 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15618 # for backward compatibility:
15619 ac_top_builddir=$ac_top_build_prefix
15620
15621 case $srcdir in
15622   .)  # We are building in place.
15623     ac_srcdir=.
15624     ac_top_srcdir=$ac_top_builddir_sub
15625     ac_abs_top_srcdir=$ac_pwd ;;
15626   [\\/]* | ?:[\\/]* )  # Absolute name.
15627     ac_srcdir=$srcdir$ac_dir_suffix;
15628     ac_top_srcdir=$srcdir
15629     ac_abs_top_srcdir=$srcdir ;;
15630   *) # Relative name.
15631     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15632     ac_top_srcdir=$ac_top_build_prefix$srcdir
15633     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15634 esac
15635 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15636
15637
15638   case $ac_mode in
15639   :F)
15640   #
15641   # CONFIG_FILE
15642   #
15643
15644   case $INSTALL in
15645   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15646   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15647   esac
15648   ac_MKDIR_P=$MKDIR_P
15649   case $MKDIR_P in
15650   [\\/$]* | ?:[\\/]* ) ;;
15651   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15652   esac
15653 _ACEOF
15654
15655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15656 # If the template does not know about datarootdir, expand it.
15657 # FIXME: This hack should be removed a few years after 2.60.
15658 ac_datarootdir_hack=; ac_datarootdir_seen=
15659 ac_sed_dataroot='
15660 /datarootdir/ {
15661   p
15662   q
15663 }
15664 /@datadir@/p
15665 /@docdir@/p
15666 /@infodir@/p
15667 /@localedir@/p
15668 /@mandir@/p'
15669 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15670 *datarootdir*) ac_datarootdir_seen=yes;;
15671 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15672   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15673 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15674 _ACEOF
15675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15676   ac_datarootdir_hack='
15677   s&@datadir@&$datadir&g
15678   s&@docdir@&$docdir&g
15679   s&@infodir@&$infodir&g
15680   s&@localedir@&$localedir&g
15681   s&@mandir@&$mandir&g
15682   s&\\\${datarootdir}&$datarootdir&g' ;;
15683 esac
15684 _ACEOF
15685
15686 # Neutralize VPATH when `$srcdir' = `.'.
15687 # Shell code in configure.ac might set extrasub.
15688 # FIXME: do we really want to maintain this feature?
15689 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15690 ac_sed_extra="$ac_vpsub
15691 $extrasub
15692 _ACEOF
15693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15694 :t
15695 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15696 s|@configure_input@|$ac_sed_conf_input|;t t
15697 s&@top_builddir@&$ac_top_builddir_sub&;t t
15698 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15699 s&@srcdir@&$ac_srcdir&;t t
15700 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15701 s&@top_srcdir@&$ac_top_srcdir&;t t
15702 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15703 s&@builddir@&$ac_builddir&;t t
15704 s&@abs_builddir@&$ac_abs_builddir&;t t
15705 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15706 s&@INSTALL@&$ac_INSTALL&;t t
15707 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15708 $ac_datarootdir_hack
15709 "
15710 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15711   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15712
15713 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15714   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15715   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
15716       "$ac_tmp/out"`; test -z "$ac_out"; } &&
15717   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15718 which seems to be undefined.  Please make sure it is defined" >&5
15719 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15720 which seems to be undefined.  Please make sure it is defined" >&2;}
15721
15722   rm -f "$ac_tmp/stdin"
15723   case $ac_file in
15724   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15725   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15726   esac \
15727   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15728  ;;
15729   :H)
15730   #
15731   # CONFIG_HEADER
15732   #
15733   if test x"$ac_file" != x-; then
15734     {
15735       $as_echo "/* $configure_input  */" \
15736       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15737     } >"$ac_tmp/config.h" \
15738       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15739     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15740       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15741 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15742     else
15743       rm -f "$ac_file"
15744       mv "$ac_tmp/config.h" "$ac_file" \
15745         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15746     fi
15747   else
15748     $as_echo "/* $configure_input  */" \
15749       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15750       || as_fn_error $? "could not create -" "$LINENO" 5
15751   fi
15752 # Compute "$ac_file"'s index in $config_headers.
15753 _am_arg="$ac_file"
15754 _am_stamp_count=1
15755 for _am_header in $config_headers :; do
15756   case $_am_header in
15757     $_am_arg | $_am_arg:* )
15758       break ;;
15759     * )
15760       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15761   esac
15762 done
15763 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15764 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15765          X"$_am_arg" : 'X\(//\)[^/]' \| \
15766          X"$_am_arg" : 'X\(//\)$' \| \
15767          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15768 $as_echo X"$_am_arg" |
15769     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15770             s//\1/
15771             q
15772           }
15773           /^X\(\/\/\)[^/].*/{
15774             s//\1/
15775             q
15776           }
15777           /^X\(\/\/\)$/{
15778             s//\1/
15779             q
15780           }
15781           /^X\(\/\).*/{
15782             s//\1/
15783             q
15784           }
15785           s/.*/./; q'`/stamp-h$_am_stamp_count
15786  ;;
15787
15788   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15789 $as_echo "$as_me: executing $ac_file commands" >&6;}
15790  ;;
15791   esac
15792
15793
15794   case $ac_file$ac_mode in
15795     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15796   # Older Autoconf quotes --file arguments for eval, but not when files
15797   # are listed without --file.  Let's play safe and only enable the eval
15798   # if we detect the quoting.
15799   # TODO: see whether this extra hack can be removed once we start
15800   # requiring Autoconf 2.70 or later.
15801   case $CONFIG_FILES in #(
15802   *\'*) :
15803     eval set x "$CONFIG_FILES" ;; #(
15804   *) :
15805     set x $CONFIG_FILES ;; #(
15806   *) :
15807      ;;
15808 esac
15809   shift
15810   # Used to flag and report bootstrapping failures.
15811   am_rc=0
15812   for am_mf
15813   do
15814     # Strip MF so we end up with the name of the file.
15815     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
15816     # Check whether this is an Automake generated Makefile which includes
15817     # dependency-tracking related rules and includes.
15818     # Grep'ing the whole file directly is not great: AIX grep has a line
15819     # limit of 2048, but all sed's we know have understand at least 4000.
15820     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
15821       || continue
15822     am_dirpart=`$as_dirname -- "$am_mf" ||
15823 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15824          X"$am_mf" : 'X\(//\)[^/]' \| \
15825          X"$am_mf" : 'X\(//\)$' \| \
15826          X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15827 $as_echo X"$am_mf" |
15828     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15829             s//\1/
15830             q
15831           }
15832           /^X\(\/\/\)[^/].*/{
15833             s//\1/
15834             q
15835           }
15836           /^X\(\/\/\)$/{
15837             s//\1/
15838             q
15839           }
15840           /^X\(\/\).*/{
15841             s//\1/
15842             q
15843           }
15844           s/.*/./; q'`
15845     am_filepart=`$as_basename -- "$am_mf" ||
15846 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
15847          X"$am_mf" : 'X\(//\)$' \| \
15848          X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15849 $as_echo X/"$am_mf" |
15850     sed '/^.*\/\([^/][^/]*\)\/*$/{
15851             s//\1/
15852             q
15853           }
15854           /^X\/\(\/\/\)$/{
15855             s//\1/
15856             q
15857           }
15858           /^X\/\(\/\).*/{
15859             s//\1/
15860             q
15861           }
15862           s/.*/./; q'`
15863     { echo "$as_me:$LINENO: cd "$am_dirpart" \
15864       && sed -e '/# am--include-marker/d' "$am_filepart" \
15865         | $MAKE -f - am--depfiles" >&5
15866    (cd "$am_dirpart" \
15867       && sed -e '/# am--include-marker/d' "$am_filepart" \
15868         | $MAKE -f - am--depfiles) >&5 2>&5
15869    ac_status=$?
15870    echo "$as_me:$LINENO: \$? = $ac_status" >&5
15871    (exit $ac_status); } || am_rc=$?
15872   done
15873   if test $am_rc -ne 0; then
15874     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15876 as_fn_error $? "Something went wrong bootstrapping makefile fragments
15877     for automatic dependency tracking.  If GNU make was not used, consider
15878     re-running the configure script with MAKE=\"gmake\" (or whatever is
15879     necessary).  You can also try re-running configure with the
15880     '--disable-dependency-tracking' option to at least be able to build
15881     the package (albeit without support for automatic dependency tracking).
15882 See \`config.log' for more details" "$LINENO" 5; }
15883   fi
15884   { am_dirpart=; unset am_dirpart;}
15885   { am_filepart=; unset am_filepart;}
15886   { am_mf=; unset am_mf;}
15887   { am_rc=; unset am_rc;}
15888   rm -f conftest-deps.mk
15889 }
15890  ;;
15891     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
15892         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
15893       esac ;;
15894     "po/stamp-it":C)
15895     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15896        as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15897     fi
15898     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15899     >"po/stamp-it.tmp"
15900     sed '/^#/d
15901          s/^[[].*] *//
15902          /^[    ]*$/d
15903         '"s|^|  $ac_top_srcdir/|" \
15904       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
15905
15906     sed '/^POTFILES =/,/[^\\]$/ {
15907                 /^POTFILES =/!d
15908                 r po/POTFILES
15909           }
15910          ' "po/Makefile.in" >"po/Makefile"
15911     rm -f "po/Makefile.tmp"
15912     mv "po/stamp-it.tmp" "po/stamp-it"
15913    ;;
15914
15915   esac
15916 done # for ac_tag
15917
15918
15919 as_fn_exit 0
15920 _ACEOF
15921 ac_clean_files=$ac_clean_files_save
15922
15923 test $ac_write_fail = 0 ||
15924   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15925
15926
15927 # configure is writing to config.log, and then calls config.status.
15928 # config.status does its own redirection, appending to config.log.
15929 # Unfortunately, on DOS this fails, as config.log is still kept open
15930 # by configure, so config.status won't be able to write to it; its
15931 # output is simply discarded.  So we exec the FD to /dev/null,
15932 # effectively closing config.log, so it can be properly (re)opened and
15933 # appended to by config.status.  When coming back to configure, we
15934 # need to make the FD available again.
15935 if test "$no_create" != yes; then
15936   ac_cs_success=:
15937   ac_config_status_args=
15938   test "$silent" = yes &&
15939     ac_config_status_args="$ac_config_status_args --quiet"
15940   exec 5>/dev/null
15941   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15942   exec 5>>config.log
15943   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15944   # would make configure fail if this is the last instruction.
15945   $ac_cs_success || as_fn_exit 1
15946 fi
15947 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15948   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15949 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15950 fi
15951
15952
15953 cat > config.report << END
15954
15955      Config results:
15956     -=-=-=-=-=-=-=-=-
15957
15958 Package:
15959   Name:          $PACKAGE_NAME
15960   Version:       $PACKAGE_VERSION
15961
15962 Architecture:
15963   UNIX:          $os_unix
15964   Win32:         $platform_win32 (native: $os_win32)
15965
15966 Flags:
15967   Geeqie:        $GQ_CFLAGS
15968   DEFS:          $DEFS
15969   CPPFLAGS:      $__CPPFLAGS
15970   CFLAGS:        $CFLAGS
15971   CXXFLAGS:      $CXXFLAGS
15972   Gtk:           $GTK_CFLAGS
15973   Glib:          $GLIB_CFLAGS
15974   Thread:        $GTHREAD_LIBS
15975   Others:        $JPEG_LIBS $TIFF_LIBS $LCMS_LIBS $EXIV2_LIBS $CLUTTER_LIBS $CLUTTER_GTK_LIBS $LIBCHAMPLAIN_LIBS $LIBCHAMPLAIN_GTK_LIBS $LUA_LIBS
15976
15977 Localization:
15978   NLS support:   $USE_NLS
15979   LINGUAS:       $LINGUAS
15980
15981 Settings:
15982   Developer:     $__IS_DEVELOPER
15983   Debug flags:   $__IS_DEBUG_FLAGS
15984   Debug log:     $__IS_DEBUG_LOG
15985   Deprecated:    $__IS_DEPRECATED
15986
15987 Support:
15988   LCMS:          $HAVE_LCMS
15989   Exiv2:         $HAVE_EXIV2
15990   Lirc:          $HAVE_LIRC
15991   Clutter:       $HAVE_CLUTTER
15992   Libchamplain:         $HAVE_LIBCHAMPLAIN
15993   Libchamplain-gtk:     $HAVE_LIBCHAMPLAIN_GTK
15994   Lua:           $HAVE_LUA
15995   FFmpegthumbnailer:    $HAVE_FFMPEGTHUMBNAILER
15996   Pdf:           $HAVE_PDF
15997   HEIF:          $HAVE_HEIF
15998   WebP:          $HAVE_WEBP
15999   DjVu:          $HAVE_DJVU
16000   J2K:           $HAVE_J2K
16001
16002 Documentation:
16003   Doxygen:       $DX_DOXYGEN
16004   doc-tool:      $GNOME_DOC_TOOL
16005
16006 END
16007
16008 cat config.report
16009 cat <<EOF
16010
16011   Now you can type "make" to build Geeqie
16012   (or you take blue pill and the story ends :)
16013
16014 EOF