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.5.1.
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.5.1'
584 PACKAGE_STRING='geeqie 1.5.1'
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_PDF_FALSE
632 HAVE_PDF_TRUE
633 PDF_LIBS
634 PDF_CFLAGS
635 HAVE_LUA_FALSE
636 HAVE_LUA_TRUE
637 LUA_LIBS
638 LUA_CFLAGS
639 HAVE_LIBCHAMPLAIN_GTK_FALSE
640 HAVE_LIBCHAMPLAIN_GTK_TRUE
641 LIBCHAMPLAIN_GTK_LIBS
642 LIBCHAMPLAIN_GTK_CFLAGS
643 LIBCHAMPLAIN_LIBS
644 LIBCHAMPLAIN_CFLAGS
645 CLUTTER_GTK_LIBS
646 CLUTTER_GTK_CFLAGS
647 CLUTTER_LIBS
648 CLUTTER_CFLAGS
649 MKINSTALLDIRS
650 POSUB
651 POFILES
652 PO_IN_DATADIR_FALSE
653 PO_IN_DATADIR_TRUE
654 INTLLIBS
655 INSTOBJEXT
656 GMOFILES
657 DATADIRNAME
658 CATOBJEXT
659 CATALOGS
660 MSGFMT_OPTS
661 INTL_MACOSX_LIBS
662 GETTEXT_PACKAGE
663 CONFIG_STATUS_DEPENDENCIES
664 HAVE_EXIV2_FALSE
665 HAVE_EXIV2_TRUE
666 EXIV2_LIBS
667 EXIV2_CFLAGS
668 HAVE_FFMPEGTHUMBNAILER_FALSE
669 HAVE_FFMPEGTHUMBNAILER_TRUE
670 FFMPEGTHUMBNAILER_LIBS
671 FFMPEGTHUMBNAILER_CFLAGS
672 TIFF_LIBS
673 TIFF_CFLAGS
674 HAVE_TIFF_FALSE
675 HAVE_TIFF_TRUE
676 JPEG_LIBS
677 JPEG_CFLAGS
678 HAVE_JPEG_FALSE
679 HAVE_JPEG_TRUE
680 HAVE_LCMS_FALSE
681 HAVE_LCMS_TRUE
682 LCMS_LIBS
683 LCMS_CFLAGS
684 HAVE_LIRC_FALSE
685 HAVE_LIRC_TRUE
686 gq_bindir
687 appdir
688 readmedir
689 GNOME_DOC_TOOL
690 GDK_PIXBUF_CSOURCE
691 GTHREAD_LIBS
692 GTHREAD_CFLAGS
693 GTK_LIBS
694 GTK_CFLAGS
695 GLIB_COMPILE_RESOURCES
696 GLIB_MKENUMS
697 GOBJECT_QUERY
698 GLIB_GENMARSHAL
699 GLIB_LIBS
700 GLIB_CFLAGS
701 PKG_CONFIG_LIBDIR
702 PKG_CONFIG_PATH
703 PKG_CONFIG
704 HAVE_WINDRES_FALSE
705 HAVE_WINDRES_TRUE
706 MS_LIB_AVAILABLE_FALSE
707 MS_LIB_AVAILABLE_TRUE
708 WINDRES
709 ms_librarian
710 OS_UNIX_FALSE
711 OS_UNIX_TRUE
712 OS_WIN32_FALSE
713 OS_WIN32_TRUE
714 PATHSEP
715 PLATFORM_WIN32_FALSE
716 PLATFORM_WIN32_TRUE
717 ALL_LINGUAS
718 INTLTOOL_PERL
719 GMSGFMT
720 MSGFMT
721 MSGMERGE
722 XGETTEXT
723 INTLTOOL_POLICY_RULE
724 INTLTOOL_SERVICE_RULE
725 INTLTOOL_THEME_RULE
726 INTLTOOL_SCHEMAS_RULE
727 INTLTOOL_CAVES_RULE
728 INTLTOOL_XML_NOMERGE_RULE
729 INTLTOOL_XML_RULE
730 INTLTOOL_KBD_RULE
731 INTLTOOL_XAM_RULE
732 INTLTOOL_UI_RULE
733 INTLTOOL_SOUNDLIST_RULE
734 INTLTOOL_SHEET_RULE
735 INTLTOOL_SERVER_RULE
736 INTLTOOL_PONG_RULE
737 INTLTOOL_OAF_RULE
738 INTLTOOL_PROP_RULE
739 INTLTOOL_KEYS_RULE
740 INTLTOOL_DIRECTORY_RULE
741 INTLTOOL_DESKTOP_RULE
742 intltool__v_merge_options_0
743 intltool__v_merge_options_
744 INTLTOOL_V_MERGE_OPTIONS
745 INTLTOOL__v_MERGE_0
746 INTLTOOL__v_MERGE_
747 INTLTOOL_V_MERGE
748 INTLTOOL_EXTRACT
749 INTLTOOL_MERGE
750 INTLTOOL_UPDATE
751 USE_NLS
752 EGREP
753 GREP
754 CPP
755 am__fastdepCXX_FALSE
756 am__fastdepCXX_TRUE
757 CXXDEPMODE
758 ac_ct_CXX
759 CXXFLAGS
760 CXX
761 am__fastdepCC_FALSE
762 am__fastdepCC_TRUE
763 CCDEPMODE
764 am__nodep
765 AMDEPBACKSLASH
766 AMDEP_FALSE
767 AMDEP_TRUE
768 am__include
769 DEPDIR
770 OBJEXT
771 EXEEXT
772 ac_ct_CC
773 CPPFLAGS
774 LDFLAGS
775 CFLAGS
776 CC
777 DEBUG_FALSE
778 DEBUG_TRUE
779 DOXYGEN_PAPER_SIZE
780 DX_COND_latex_FALSE
781 DX_COND_latex_TRUE
782 DX_COND_pdf_FALSE
783 DX_COND_pdf_TRUE
784 DX_PDFLATEX
785 DX_FLAG_pdf
786 DX_COND_ps_FALSE
787 DX_COND_ps_TRUE
788 DX_EGREP
789 DX_DVIPS
790 DX_MAKEINDEX
791 DX_LATEX
792 DX_FLAG_ps
793 DX_COND_html_FALSE
794 DX_COND_html_TRUE
795 DX_FLAG_html
796 DX_COND_chi_FALSE
797 DX_COND_chi_TRUE
798 DX_FLAG_chi
799 DX_COND_chm_FALSE
800 DX_COND_chm_TRUE
801 DX_HHC
802 DX_FLAG_chm
803 DX_COND_xml_FALSE
804 DX_COND_xml_TRUE
805 DX_FLAG_xml
806 DX_COND_rtf_FALSE
807 DX_COND_rtf_TRUE
808 DX_FLAG_rtf
809 DX_COND_man_FALSE
810 DX_COND_man_TRUE
811 DX_FLAG_man
812 DX_COND_dot_FALSE
813 DX_COND_dot_TRUE
814 DX_DOT
815 DX_FLAG_dot
816 DX_COND_doc_FALSE
817 DX_COND_doc_TRUE
818 DX_PERL
819 DX_FLAG_DX_CURRENT_FEATURE
820 DX_DOXYGEN
821 DX_FLAG_doc
822 DX_ENV
823 DX_DOCDIR
824 DX_CONFIG
825 DX_PROJECT
826 MAINT
827 MAINTAINER_MODE_FALSE
828 MAINTAINER_MODE_TRUE
829 AM_BACKSLASH
830 AM_DEFAULT_VERBOSITY
831 AM_DEFAULT_V
832 AM_V
833 am__untar
834 am__tar
835 AMTAR
836 am__leading_dot
837 SET_MAKE
838 AWK
839 mkdir_p
840 MKDIR_P
841 INSTALL_STRIP_PROGRAM
842 STRIP
843 install_sh
844 MAKEINFO
845 AUTOHEADER
846 AUTOMAKE
847 AUTOCONF
848 ACLOCAL
849 VERSION
850 PACKAGE
851 CYGPATH_W
852 am__isrc
853 INSTALL_DATA
854 INSTALL_SCRIPT
855 INSTALL_PROGRAM
856 target_alias
857 host_alias
858 build_alias
859 LIBS
860 ECHO_T
861 ECHO_N
862 ECHO_C
863 DEFS
864 mandir
865 localedir
866 libdir
867 psdir
868 pdfdir
869 dvidir
870 htmldir
871 infodir
872 docdir
873 oldincludedir
874 includedir
875 runstatedir
876 localstatedir
877 sharedstatedir
878 sysconfdir
879 datadir
880 datarootdir
881 libexecdir
882 sbindir
883 bindir
884 program_transform_name
885 prefix
886 exec_prefix
887 PACKAGE_URL
888 PACKAGE_BUGREPORT
889 PACKAGE_STRING
890 PACKAGE_VERSION
891 PACKAGE_TARNAME
892 PACKAGE_NAME
893 PATH_SEPARATOR
894 SHELL
895 am__quote'
896 ac_subst_files=''
897 ac_user_opts='
898 enable_option_checking
899 enable_silent_rules
900 enable_maintainer_mode
901 enable_developer
902 enable_doxygen_doc
903 enable_doxygen_dot
904 enable_doxygen_man
905 enable_doxygen_rtf
906 enable_doxygen_xml
907 enable_doxygen_chm
908 enable_doxygen_chi
909 enable_doxygen_html
910 enable_doxygen_ps
911 enable_doxygen_pdf
912 enable_debug_flags
913 enable_debug_log
914 enable_deprecated
915 enable_dependency_tracking
916 enable_largefile
917 enable_nls
918 enable_glibtest
919 enable_gtk3
920 enable_gtktest
921 enable_threads
922 with_readmedir
923 with_htmldir
924 enable_lirc
925 with_lirc_prefix
926 enable_lcms
927 enable_jpeg
928 enable_tiff
929 enable_ffmpegthumbnailer
930 enable_exiv2
931 enable_map
932 enable_gpu_accel
933 enable_lua
934 enable_pdf
935 '
936       ac_precious_vars='build_alias
937 host_alias
938 target_alias
939 DOXYGEN_PAPER_SIZE
940 CC
941 CFLAGS
942 LDFLAGS
943 LIBS
944 CPPFLAGS
945 CXX
946 CXXFLAGS
947 CCC
948 CPP
949 PKG_CONFIG
950 PKG_CONFIG_PATH
951 PKG_CONFIG_LIBDIR
952 GLIB_CFLAGS
953 GLIB_LIBS
954 GLIB_GENMARSHAL
955 GOBJECT_QUERY
956 GLIB_MKENUMS
957 GLIB_COMPILE_RESOURCES
958 GTHREAD_CFLAGS
959 GTHREAD_LIBS
960 LCMS_CFLAGS
961 LCMS_LIBS
962 FFMPEGTHUMBNAILER_CFLAGS
963 FFMPEGTHUMBNAILER_LIBS
964 EXIV2_CFLAGS
965 EXIV2_LIBS
966 CLUTTER_CFLAGS
967 CLUTTER_LIBS
968 CLUTTER_GTK_CFLAGS
969 CLUTTER_GTK_LIBS
970 LIBCHAMPLAIN_CFLAGS
971 LIBCHAMPLAIN_LIBS
972 LIBCHAMPLAIN_GTK_CFLAGS
973 LIBCHAMPLAIN_GTK_LIBS
974 LUA_CFLAGS
975 LUA_LIBS
976 PDF_CFLAGS
977 PDF_LIBS'
978
979
980 # Initialize some variables set by options.
981 ac_init_help=
982 ac_init_version=false
983 ac_unrecognized_opts=
984 ac_unrecognized_sep=
985 # The variables have the same names as the options, with
986 # dashes changed to underlines.
987 cache_file=/dev/null
988 exec_prefix=NONE
989 no_create=
990 no_recursion=
991 prefix=NONE
992 program_prefix=NONE
993 program_suffix=NONE
994 program_transform_name=s,x,x,
995 silent=
996 site=
997 srcdir=
998 verbose=
999 x_includes=NONE
1000 x_libraries=NONE
1001
1002 # Installation directory options.
1003 # These are left unexpanded so users can "make install exec_prefix=/foo"
1004 # and all the variables that are supposed to be based on exec_prefix
1005 # by default will actually change.
1006 # Use braces instead of parens because sh, perl, etc. also accept them.
1007 # (The list follows the same order as the GNU Coding Standards.)
1008 bindir='${exec_prefix}/bin'
1009 sbindir='${exec_prefix}/sbin'
1010 libexecdir='${exec_prefix}/libexec'
1011 datarootdir='${prefix}/share'
1012 datadir='${datarootdir}'
1013 sysconfdir='${prefix}/etc'
1014 sharedstatedir='${prefix}/com'
1015 localstatedir='${prefix}/var'
1016 runstatedir='${localstatedir}/run'
1017 includedir='${prefix}/include'
1018 oldincludedir='/usr/include'
1019 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1020 infodir='${datarootdir}/info'
1021 htmldir='${docdir}'
1022 dvidir='${docdir}'
1023 pdfdir='${docdir}'
1024 psdir='${docdir}'
1025 libdir='${exec_prefix}/lib'
1026 localedir='${datarootdir}/locale'
1027 mandir='${datarootdir}/man'
1028
1029 ac_prev=
1030 ac_dashdash=
1031 for ac_option
1032 do
1033   # If the previous option needs an argument, assign it.
1034   if test -n "$ac_prev"; then
1035     eval $ac_prev=\$ac_option
1036     ac_prev=
1037     continue
1038   fi
1039
1040   case $ac_option in
1041   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1042   *=)   ac_optarg= ;;
1043   *)    ac_optarg=yes ;;
1044   esac
1045
1046   # Accept the important Cygnus configure options, so we can diagnose typos.
1047
1048   case $ac_dashdash$ac_option in
1049   --)
1050     ac_dashdash=yes ;;
1051
1052   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1053     ac_prev=bindir ;;
1054   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1055     bindir=$ac_optarg ;;
1056
1057   -build | --build | --buil | --bui | --bu)
1058     ac_prev=build_alias ;;
1059   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1060     build_alias=$ac_optarg ;;
1061
1062   -cache-file | --cache-file | --cache-fil | --cache-fi \
1063   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1064     ac_prev=cache_file ;;
1065   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1066   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1067     cache_file=$ac_optarg ;;
1068
1069   --config-cache | -C)
1070     cache_file=config.cache ;;
1071
1072   -datadir | --datadir | --datadi | --datad)
1073     ac_prev=datadir ;;
1074   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1075     datadir=$ac_optarg ;;
1076
1077   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1078   | --dataroo | --dataro | --datar)
1079     ac_prev=datarootdir ;;
1080   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1081   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1082     datarootdir=$ac_optarg ;;
1083
1084   -disable-* | --disable-*)
1085     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1086     # Reject names that are not valid shell variable names.
1087     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1088       as_fn_error $? "invalid feature name: $ac_useropt"
1089     ac_useropt_orig=$ac_useropt
1090     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1091     case $ac_user_opts in
1092       *"
1093 "enable_$ac_useropt"
1094 "*) ;;
1095       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1096          ac_unrecognized_sep=', ';;
1097     esac
1098     eval enable_$ac_useropt=no ;;
1099
1100   -docdir | --docdir | --docdi | --doc | --do)
1101     ac_prev=docdir ;;
1102   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1103     docdir=$ac_optarg ;;
1104
1105   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1106     ac_prev=dvidir ;;
1107   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1108     dvidir=$ac_optarg ;;
1109
1110   -enable-* | --enable-*)
1111     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1112     # Reject names that are not valid shell variable names.
1113     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114       as_fn_error $? "invalid feature name: $ac_useropt"
1115     ac_useropt_orig=$ac_useropt
1116     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117     case $ac_user_opts in
1118       *"
1119 "enable_$ac_useropt"
1120 "*) ;;
1121       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1122          ac_unrecognized_sep=', ';;
1123     esac
1124     eval enable_$ac_useropt=\$ac_optarg ;;
1125
1126   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1127   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1128   | --exec | --exe | --ex)
1129     ac_prev=exec_prefix ;;
1130   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1131   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1132   | --exec=* | --exe=* | --ex=*)
1133     exec_prefix=$ac_optarg ;;
1134
1135   -gas | --gas | --ga | --g)
1136     # Obsolete; use --with-gas.
1137     with_gas=yes ;;
1138
1139   -help | --help | --hel | --he | -h)
1140     ac_init_help=long ;;
1141   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1142     ac_init_help=recursive ;;
1143   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1144     ac_init_help=short ;;
1145
1146   -host | --host | --hos | --ho)
1147     ac_prev=host_alias ;;
1148   -host=* | --host=* | --hos=* | --ho=*)
1149     host_alias=$ac_optarg ;;
1150
1151   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1152     ac_prev=htmldir ;;
1153   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1154   | --ht=*)
1155     htmldir=$ac_optarg ;;
1156
1157   -includedir | --includedir | --includedi | --included | --include \
1158   | --includ | --inclu | --incl | --inc)
1159     ac_prev=includedir ;;
1160   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1161   | --includ=* | --inclu=* | --incl=* | --inc=*)
1162     includedir=$ac_optarg ;;
1163
1164   -infodir | --infodir | --infodi | --infod | --info | --inf)
1165     ac_prev=infodir ;;
1166   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1167     infodir=$ac_optarg ;;
1168
1169   -libdir | --libdir | --libdi | --libd)
1170     ac_prev=libdir ;;
1171   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1172     libdir=$ac_optarg ;;
1173
1174   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1175   | --libexe | --libex | --libe)
1176     ac_prev=libexecdir ;;
1177   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1178   | --libexe=* | --libex=* | --libe=*)
1179     libexecdir=$ac_optarg ;;
1180
1181   -localedir | --localedir | --localedi | --localed | --locale)
1182     ac_prev=localedir ;;
1183   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1184     localedir=$ac_optarg ;;
1185
1186   -localstatedir | --localstatedir | --localstatedi | --localstated \
1187   | --localstate | --localstat | --localsta | --localst | --locals)
1188     ac_prev=localstatedir ;;
1189   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1190   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1191     localstatedir=$ac_optarg ;;
1192
1193   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1194     ac_prev=mandir ;;
1195   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1196     mandir=$ac_optarg ;;
1197
1198   -nfp | --nfp | --nf)
1199     # Obsolete; use --without-fp.
1200     with_fp=no ;;
1201
1202   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1203   | --no-cr | --no-c | -n)
1204     no_create=yes ;;
1205
1206   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1207   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1208     no_recursion=yes ;;
1209
1210   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1211   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1212   | --oldin | --oldi | --old | --ol | --o)
1213     ac_prev=oldincludedir ;;
1214   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1215   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1216   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1217     oldincludedir=$ac_optarg ;;
1218
1219   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1220     ac_prev=prefix ;;
1221   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1222     prefix=$ac_optarg ;;
1223
1224   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1225   | --program-pre | --program-pr | --program-p)
1226     ac_prev=program_prefix ;;
1227   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1228   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1229     program_prefix=$ac_optarg ;;
1230
1231   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1232   | --program-suf | --program-su | --program-s)
1233     ac_prev=program_suffix ;;
1234   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1235   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1236     program_suffix=$ac_optarg ;;
1237
1238   -program-transform-name | --program-transform-name \
1239   | --program-transform-nam | --program-transform-na \
1240   | --program-transform-n | --program-transform- \
1241   | --program-transform | --program-transfor \
1242   | --program-transfo | --program-transf \
1243   | --program-trans | --program-tran \
1244   | --progr-tra | --program-tr | --program-t)
1245     ac_prev=program_transform_name ;;
1246   -program-transform-name=* | --program-transform-name=* \
1247   | --program-transform-nam=* | --program-transform-na=* \
1248   | --program-transform-n=* | --program-transform-=* \
1249   | --program-transform=* | --program-transfor=* \
1250   | --program-transfo=* | --program-transf=* \
1251   | --program-trans=* | --program-tran=* \
1252   | --progr-tra=* | --program-tr=* | --program-t=*)
1253     program_transform_name=$ac_optarg ;;
1254
1255   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1256     ac_prev=pdfdir ;;
1257   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1258     pdfdir=$ac_optarg ;;
1259
1260   -psdir | --psdir | --psdi | --psd | --ps)
1261     ac_prev=psdir ;;
1262   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1263     psdir=$ac_optarg ;;
1264
1265   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1266   | -silent | --silent | --silen | --sile | --sil)
1267     silent=yes ;;
1268
1269   -runstatedir | --runstatedir | --runstatedi | --runstated \
1270   | --runstate | --runstat | --runsta | --runst | --runs \
1271   | --run | --ru | --r)
1272     ac_prev=runstatedir ;;
1273   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1274   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1275   | --run=* | --ru=* | --r=*)
1276     runstatedir=$ac_optarg ;;
1277
1278   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1279     ac_prev=sbindir ;;
1280   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1281   | --sbi=* | --sb=*)
1282     sbindir=$ac_optarg ;;
1283
1284   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1285   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1286   | --sharedst | --shareds | --shared | --share | --shar \
1287   | --sha | --sh)
1288     ac_prev=sharedstatedir ;;
1289   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1290   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1291   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1292   | --sha=* | --sh=*)
1293     sharedstatedir=$ac_optarg ;;
1294
1295   -site | --site | --sit)
1296     ac_prev=site ;;
1297   -site=* | --site=* | --sit=*)
1298     site=$ac_optarg ;;
1299
1300   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1301     ac_prev=srcdir ;;
1302   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1303     srcdir=$ac_optarg ;;
1304
1305   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1306   | --syscon | --sysco | --sysc | --sys | --sy)
1307     ac_prev=sysconfdir ;;
1308   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1309   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1310     sysconfdir=$ac_optarg ;;
1311
1312   -target | --target | --targe | --targ | --tar | --ta | --t)
1313     ac_prev=target_alias ;;
1314   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1315     target_alias=$ac_optarg ;;
1316
1317   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1318     verbose=yes ;;
1319
1320   -version | --version | --versio | --versi | --vers | -V)
1321     ac_init_version=: ;;
1322
1323   -with-* | --with-*)
1324     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1325     # Reject names that are not valid shell variable names.
1326     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1327       as_fn_error $? "invalid package name: $ac_useropt"
1328     ac_useropt_orig=$ac_useropt
1329     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1330     case $ac_user_opts in
1331       *"
1332 "with_$ac_useropt"
1333 "*) ;;
1334       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1335          ac_unrecognized_sep=', ';;
1336     esac
1337     eval with_$ac_useropt=\$ac_optarg ;;
1338
1339   -without-* | --without-*)
1340     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1341     # Reject names that are not valid shell variable names.
1342     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1343       as_fn_error $? "invalid package name: $ac_useropt"
1344     ac_useropt_orig=$ac_useropt
1345     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1346     case $ac_user_opts in
1347       *"
1348 "with_$ac_useropt"
1349 "*) ;;
1350       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1351          ac_unrecognized_sep=', ';;
1352     esac
1353     eval with_$ac_useropt=no ;;
1354
1355   --x)
1356     # Obsolete; use --with-x.
1357     with_x=yes ;;
1358
1359   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1360   | --x-incl | --x-inc | --x-in | --x-i)
1361     ac_prev=x_includes ;;
1362   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1363   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1364     x_includes=$ac_optarg ;;
1365
1366   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1367   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1368     ac_prev=x_libraries ;;
1369   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1370   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1371     x_libraries=$ac_optarg ;;
1372
1373   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1374 Try \`$0 --help' for more information"
1375     ;;
1376
1377   *=*)
1378     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1379     # Reject names that are not valid shell variable names.
1380     case $ac_envvar in #(
1381       '' | [0-9]* | *[!_$as_cr_alnum]* )
1382       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1383     esac
1384     eval $ac_envvar=\$ac_optarg
1385     export $ac_envvar ;;
1386
1387   *)
1388     # FIXME: should be removed in autoconf 3.0.
1389     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1390     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1391       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1392     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1393     ;;
1394
1395   esac
1396 done
1397
1398 if test -n "$ac_prev"; then
1399   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1400   as_fn_error $? "missing argument to $ac_option"
1401 fi
1402
1403 if test -n "$ac_unrecognized_opts"; then
1404   case $enable_option_checking in
1405     no) ;;
1406     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1407     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1408   esac
1409 fi
1410
1411 # Check all directory arguments for consistency.
1412 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1413                 datadir sysconfdir sharedstatedir localstatedir includedir \
1414                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1415                 libdir localedir mandir runstatedir
1416 do
1417   eval ac_val=\$$ac_var
1418   # Remove trailing slashes.
1419   case $ac_val in
1420     */ )
1421       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1422       eval $ac_var=\$ac_val;;
1423   esac
1424   # Be sure to have absolute directory names.
1425   case $ac_val in
1426     [\\/$]* | ?:[\\/]* )  continue;;
1427     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1428   esac
1429   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1430 done
1431
1432 # There might be people who depend on the old broken behavior: `$host'
1433 # used to hold the argument of --host etc.
1434 # FIXME: To remove some day.
1435 build=$build_alias
1436 host=$host_alias
1437 target=$target_alias
1438
1439 # FIXME: To remove some day.
1440 if test "x$host_alias" != x; then
1441   if test "x$build_alias" = x; then
1442     cross_compiling=maybe
1443   elif test "x$build_alias" != "x$host_alias"; then
1444     cross_compiling=yes
1445   fi
1446 fi
1447
1448 ac_tool_prefix=
1449 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1450
1451 test "$silent" = yes && exec 6>/dev/null
1452
1453
1454 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1455 ac_ls_di=`ls -di .` &&
1456 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1457   as_fn_error $? "working directory cannot be determined"
1458 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1459   as_fn_error $? "pwd does not report name of working directory"
1460
1461
1462 # Find the source files, if location was not specified.
1463 if test -z "$srcdir"; then
1464   ac_srcdir_defaulted=yes
1465   # Try the directory containing this script, then the parent directory.
1466   ac_confdir=`$as_dirname -- "$as_myself" ||
1467 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1468          X"$as_myself" : 'X\(//\)[^/]' \| \
1469          X"$as_myself" : 'X\(//\)$' \| \
1470          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1471 $as_echo X"$as_myself" |
1472     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1473             s//\1/
1474             q
1475           }
1476           /^X\(\/\/\)[^/].*/{
1477             s//\1/
1478             q
1479           }
1480           /^X\(\/\/\)$/{
1481             s//\1/
1482             q
1483           }
1484           /^X\(\/\).*/{
1485             s//\1/
1486             q
1487           }
1488           s/.*/./; q'`
1489   srcdir=$ac_confdir
1490   if test ! -r "$srcdir/$ac_unique_file"; then
1491     srcdir=..
1492   fi
1493 else
1494   ac_srcdir_defaulted=no
1495 fi
1496 if test ! -r "$srcdir/$ac_unique_file"; then
1497   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1498   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1499 fi
1500 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1501 ac_abs_confdir=`(
1502         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1503         pwd)`
1504 # When building in place, set srcdir=.
1505 if test "$ac_abs_confdir" = "$ac_pwd"; then
1506   srcdir=.
1507 fi
1508 # Remove unnecessary trailing slashes from srcdir.
1509 # Double slashes in file names in object file debugging info
1510 # mess up M-x gdb in Emacs.
1511 case $srcdir in
1512 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1513 esac
1514 for ac_var in $ac_precious_vars; do
1515   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1516   eval ac_env_${ac_var}_value=\$${ac_var}
1517   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1518   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1519 done
1520
1521 #
1522 # Report the --help message.
1523 #
1524 if test "$ac_init_help" = "long"; then
1525   # Omit some internal or obsolete options to make the list less imposing.
1526   # This message is too long to be a string in the A/UX 3.1 sh.
1527   cat <<_ACEOF
1528 \`configure' configures geeqie 1.5.1 to adapt to many kinds of systems.
1529
1530 Usage: $0 [OPTION]... [VAR=VALUE]...
1531
1532 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1533 VAR=VALUE.  See below for descriptions of some of the useful variables.
1534
1535 Defaults for the options are specified in brackets.
1536
1537 Configuration:
1538   -h, --help              display this help and exit
1539       --help=short        display options specific to this package
1540       --help=recursive    display the short help of all the included packages
1541   -V, --version           display version information and exit
1542   -q, --quiet, --silent   do not print \`checking ...' messages
1543       --cache-file=FILE   cache test results in FILE [disabled]
1544   -C, --config-cache      alias for \`--cache-file=config.cache'
1545   -n, --no-create         do not create output files
1546       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1547
1548 Installation directories:
1549   --prefix=PREFIX         install architecture-independent files in PREFIX
1550                           [$ac_default_prefix]
1551   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1552                           [PREFIX]
1553
1554 By default, \`make install' will install all the files in
1555 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1556 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1557 for instance \`--prefix=\$HOME'.
1558
1559 For better control, use the options below.
1560
1561 Fine tuning of the installation directories:
1562   --bindir=DIR            user executables [EPREFIX/bin]
1563   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1564   --libexecdir=DIR        program executables [EPREFIX/libexec]
1565   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1566   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1567   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1568   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1569   --libdir=DIR            object code libraries [EPREFIX/lib]
1570   --includedir=DIR        C header files [PREFIX/include]
1571   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1572   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1573   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1574   --infodir=DIR           info documentation [DATAROOTDIR/info]
1575   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1576   --mandir=DIR            man documentation [DATAROOTDIR/man]
1577   --docdir=DIR            documentation root [DATAROOTDIR/doc/geeqie]
1578   --htmldir=DIR           html documentation [DOCDIR]
1579   --dvidir=DIR            dvi documentation [DOCDIR]
1580   --pdfdir=DIR            pdf documentation [DOCDIR]
1581   --psdir=DIR             ps documentation [DOCDIR]
1582 _ACEOF
1583
1584   cat <<\_ACEOF
1585
1586 Program names:
1587   --program-prefix=PREFIX            prepend PREFIX to installed program names
1588   --program-suffix=SUFFIX            append SUFFIX to installed program names
1589   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1590 _ACEOF
1591 fi
1592
1593 if test -n "$ac_init_help"; then
1594   case $ac_init_help in
1595      short | recursive ) echo "Configuration of geeqie 1.5.1:";;
1596    esac
1597   cat <<\_ACEOF
1598
1599 Optional Features:
1600   --disable-option-checking  ignore unrecognized --enable/--with options
1601   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1602   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1603   --enable-silent-rules   less verbose build output (undo: "make V=1")
1604   --disable-silent-rules  verbose build output (undo: "make V=0")
1605   --enable-maintainer-mode
1606                           enable make rules and dependencies not useful (and
1607                           sometimes confusing) to the casual installer
1608
1609 Development options:
1610   --enable-developer      turn on developers mode [default=no]
1611   --disable-doxygen-doc   don't generate any doxygen documentation
1612   --disable-doxygen-dot   don't generate graphics for doxygen documentation
1613   --enable-doxygen-man    generate doxygen manual pages
1614   --enable-doxygen-rtf    generate doxygen RTF documentation
1615   --enable-doxygen-xml    generate doxygen XML documentation
1616   --enable-doxygen-chm    generate doxygen compressed HTML help documentation
1617   --enable-doxygen-chi    generate doxygen seperate compressed HTML help index
1618                           file
1619   --disable-doxygen-html  don't generate doxygen plain HTML documentation
1620   --enable-doxygen-ps     generate doxygen PostScript documentation
1621   --enable-doxygen-pdf    generate doxygen PDF documentation
1622
1623 Development options:
1624   --enable-debug-flags    use compiler flags for debugging [default=no]
1625
1626 Development options:
1627   --enable-debug-log      enable debugging messages [default=yes]
1628
1629   --enable-deprecated     turn off checking of deprecated functions
1630                           [default=yes]
1631   --enable-dependency-tracking
1632                           do not reject slow dependency extractors
1633   --disable-dependency-tracking
1634                           speeds up one-time build
1635   --disable-largefile     omit support for large files
1636   --disable-nls           do not use Native Language Support
1637   --disable-glibtest      do not try to compile and run a test GLIB program
1638   --enable-gtk3           use gtk3 instead of gtk2
1639   --disable-gtktest       do not try to compile and run a test GTK+ program
1640   --disable-threads       disable thread support
1641   --disable-lirc          disable lirc support (auto)
1642   --disable-lcms          disable lcms support
1643   --disable-jpeg          disable direct jpeg support
1644   --disable-tiff          disable direct tiff support
1645   --disable-ffmpegthumbnailer
1646                           disable ffmpegthumbnailer support for generating
1647                           thumbnails of video files
1648   --disable-exiv2         disable exiv2 support
1649   --disable-map           disable map support
1650   --disable-gpu-accel     disable GPU acceleration support - experimental
1651   --disable-lua           disable lua support
1652   --disable-pdf           disable pdf support
1653
1654 Optional Packages:
1655   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1656   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1657   --with-readmedir=DIR    install path for readme files
1658   --with-htmldir=DIR      install path for html files
1659   --with-lirc-prefix=PATH Prefix where LIRC is installed
1660
1661 Some influential environment variables:
1662   DOXYGEN_PAPER_SIZE
1663               a4wide (default), a4, letter, legal or executive
1664   CC          C compiler command
1665   CFLAGS      C compiler flags
1666   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1667               nonstandard directory <lib dir>
1668   LIBS        libraries to pass to the linker, e.g. -l<library>
1669   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1670               you have headers in a nonstandard directory <include dir>
1671   CXX         C++ compiler command
1672   CXXFLAGS    C++ compiler flags
1673   CPP         C preprocessor
1674   PKG_CONFIG  path to pkg-config utility
1675   PKG_CONFIG_PATH
1676               directories to add to pkg-config's search path
1677   PKG_CONFIG_LIBDIR
1678               path overriding pkg-config's built-in search path
1679   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1680   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1681   GLIB_GENMARSHAL
1682               value of glib_genmarshal for glib-2.0, overriding pkg-config
1683   GOBJECT_QUERY
1684               value of gobject_query for glib-2.0, overriding pkg-config
1685   GLIB_MKENUMS
1686               value of glib_mkenums for glib-2.0, overriding pkg-config
1687   GLIB_COMPILE_RESOURCES
1688               value of glib_compile_resources for gio-2.0, overriding
1689               pkg-config
1690   GTHREAD_CFLAGS
1691               C compiler flags for GTHREAD, overriding pkg-config
1692   GTHREAD_LIBS
1693               linker flags for GTHREAD, overriding pkg-config
1694   LCMS_CFLAGS C compiler flags for LCMS, overriding pkg-config
1695   LCMS_LIBS   linker flags for LCMS, overriding pkg-config
1696   FFMPEGTHUMBNAILER_CFLAGS
1697               C compiler flags for FFMPEGTHUMBNAILER, overriding pkg-config
1698   FFMPEGTHUMBNAILER_LIBS
1699               linker flags for FFMPEGTHUMBNAILER, overriding pkg-config
1700   EXIV2_CFLAGS
1701               C compiler flags for EXIV2, overriding pkg-config
1702   EXIV2_LIBS  linker flags for EXIV2, overriding pkg-config
1703   CLUTTER_CFLAGS
1704               C compiler flags for CLUTTER, overriding pkg-config
1705   CLUTTER_LIBS
1706               linker flags for CLUTTER, overriding pkg-config
1707   CLUTTER_GTK_CFLAGS
1708               C compiler flags for CLUTTER_GTK, overriding pkg-config
1709   CLUTTER_GTK_LIBS
1710               linker flags for CLUTTER_GTK, overriding pkg-config
1711   LIBCHAMPLAIN_CFLAGS
1712               C compiler flags for LIBCHAMPLAIN, overriding pkg-config
1713   LIBCHAMPLAIN_LIBS
1714               linker flags for LIBCHAMPLAIN, overriding pkg-config
1715   LIBCHAMPLAIN_GTK_CFLAGS
1716               C compiler flags for LIBCHAMPLAIN_GTK, overriding pkg-config
1717   LIBCHAMPLAIN_GTK_LIBS
1718               linker flags for LIBCHAMPLAIN_GTK, overriding pkg-config
1719   LUA_CFLAGS  C compiler flags for LUA, overriding pkg-config
1720   LUA_LIBS    linker flags for LUA, overriding pkg-config
1721   PDF_CFLAGS  C compiler flags for PDF, overriding pkg-config
1722   PDF_LIBS    linker flags for PDF, overriding pkg-config
1723
1724 Use these variables to override the choices made by `configure' or to help
1725 it to find libraries and programs with nonstandard names/locations.
1726
1727 Report bugs to <https://github.com/BestImageViewer/geeqie/issues>.
1728 geeqie home page: <http://www.geeqie.org/>.
1729 _ACEOF
1730 ac_status=$?
1731 fi
1732
1733 if test "$ac_init_help" = "recursive"; then
1734   # If there are subdirs, report their specific --help.
1735   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1736     test -d "$ac_dir" ||
1737       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1738       continue
1739     ac_builddir=.
1740
1741 case "$ac_dir" in
1742 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1743 *)
1744   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1745   # A ".." for each directory in $ac_dir_suffix.
1746   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1747   case $ac_top_builddir_sub in
1748   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1749   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1750   esac ;;
1751 esac
1752 ac_abs_top_builddir=$ac_pwd
1753 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1754 # for backward compatibility:
1755 ac_top_builddir=$ac_top_build_prefix
1756
1757 case $srcdir in
1758   .)  # We are building in place.
1759     ac_srcdir=.
1760     ac_top_srcdir=$ac_top_builddir_sub
1761     ac_abs_top_srcdir=$ac_pwd ;;
1762   [\\/]* | ?:[\\/]* )  # Absolute name.
1763     ac_srcdir=$srcdir$ac_dir_suffix;
1764     ac_top_srcdir=$srcdir
1765     ac_abs_top_srcdir=$srcdir ;;
1766   *) # Relative name.
1767     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1768     ac_top_srcdir=$ac_top_build_prefix$srcdir
1769     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1770 esac
1771 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1772
1773     cd "$ac_dir" || { ac_status=$?; continue; }
1774     # Check for guested configure.
1775     if test -f "$ac_srcdir/configure.gnu"; then
1776       echo &&
1777       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1778     elif test -f "$ac_srcdir/configure"; then
1779       echo &&
1780       $SHELL "$ac_srcdir/configure" --help=recursive
1781     else
1782       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1783     fi || ac_status=$?
1784     cd "$ac_pwd" || { ac_status=$?; break; }
1785   done
1786 fi
1787
1788 test -n "$ac_init_help" && exit $ac_status
1789 if $ac_init_version; then
1790   cat <<\_ACEOF
1791 geeqie configure 1.5.1
1792 generated by GNU Autoconf 2.69
1793
1794 Copyright (C) 2012 Free Software Foundation, Inc.
1795 This configure script is free software; the Free Software Foundation
1796 gives unlimited permission to copy, distribute and modify it.
1797 _ACEOF
1798   exit
1799 fi
1800
1801 ## ------------------------ ##
1802 ## Autoconf initialization. ##
1803 ## ------------------------ ##
1804
1805 # ac_fn_c_try_compile LINENO
1806 # --------------------------
1807 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1808 ac_fn_c_try_compile ()
1809 {
1810   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811   rm -f conftest.$ac_objext
1812   if { { ac_try="$ac_compile"
1813 case "(($ac_try" in
1814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1815   *) ac_try_echo=$ac_try;;
1816 esac
1817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1818 $as_echo "$ac_try_echo"; } >&5
1819   (eval "$ac_compile") 2>conftest.err
1820   ac_status=$?
1821   if test -s conftest.err; then
1822     grep -v '^ *+' conftest.err >conftest.er1
1823     cat conftest.er1 >&5
1824     mv -f conftest.er1 conftest.err
1825   fi
1826   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1827   test $ac_status = 0; } && {
1828          test -z "$ac_c_werror_flag" ||
1829          test ! -s conftest.err
1830        } && test -s conftest.$ac_objext; then :
1831   ac_retval=0
1832 else
1833   $as_echo "$as_me: failed program was:" >&5
1834 sed 's/^/| /' conftest.$ac_ext >&5
1835
1836         ac_retval=1
1837 fi
1838   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839   as_fn_set_status $ac_retval
1840
1841 } # ac_fn_c_try_compile
1842
1843 # ac_fn_c_try_link LINENO
1844 # -----------------------
1845 # Try to link conftest.$ac_ext, and return whether this succeeded.
1846 ac_fn_c_try_link ()
1847 {
1848   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849   rm -f conftest.$ac_objext conftest$ac_exeext
1850   if { { ac_try="$ac_link"
1851 case "(($ac_try" in
1852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1853   *) ac_try_echo=$ac_try;;
1854 esac
1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857   (eval "$ac_link") 2>conftest.err
1858   ac_status=$?
1859   if test -s conftest.err; then
1860     grep -v '^ *+' conftest.err >conftest.er1
1861     cat conftest.er1 >&5
1862     mv -f conftest.er1 conftest.err
1863   fi
1864   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1865   test $ac_status = 0; } && {
1866          test -z "$ac_c_werror_flag" ||
1867          test ! -s conftest.err
1868        } && test -s conftest$ac_exeext && {
1869          test "$cross_compiling" = yes ||
1870          test -x conftest$ac_exeext
1871        }; then :
1872   ac_retval=0
1873 else
1874   $as_echo "$as_me: failed program was:" >&5
1875 sed 's/^/| /' conftest.$ac_ext >&5
1876
1877         ac_retval=1
1878 fi
1879   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1880   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1881   # interfere with the next link command; also delete a directory that is
1882   # left behind by Apple's compiler.  We do this before executing the actions.
1883   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1884   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885   as_fn_set_status $ac_retval
1886
1887 } # ac_fn_c_try_link
1888
1889 # ac_fn_cxx_try_compile LINENO
1890 # ----------------------------
1891 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1892 ac_fn_cxx_try_compile ()
1893 {
1894   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895   rm -f conftest.$ac_objext
1896   if { { ac_try="$ac_compile"
1897 case "(($ac_try" in
1898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1899   *) ac_try_echo=$ac_try;;
1900 esac
1901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902 $as_echo "$ac_try_echo"; } >&5
1903   (eval "$ac_compile") 2>conftest.err
1904   ac_status=$?
1905   if test -s conftest.err; then
1906     grep -v '^ *+' conftest.err >conftest.er1
1907     cat conftest.er1 >&5
1908     mv -f conftest.er1 conftest.err
1909   fi
1910   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1911   test $ac_status = 0; } && {
1912          test -z "$ac_cxx_werror_flag" ||
1913          test ! -s conftest.err
1914        } && test -s conftest.$ac_objext; then :
1915   ac_retval=0
1916 else
1917   $as_echo "$as_me: failed program was:" >&5
1918 sed 's/^/| /' conftest.$ac_ext >&5
1919
1920         ac_retval=1
1921 fi
1922   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1923   as_fn_set_status $ac_retval
1924
1925 } # ac_fn_cxx_try_compile
1926
1927 # ac_fn_c_try_cpp LINENO
1928 # ----------------------
1929 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1930 ac_fn_c_try_cpp ()
1931 {
1932   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1933   if { { ac_try="$ac_cpp conftest.$ac_ext"
1934 case "(($ac_try" in
1935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1936   *) ac_try_echo=$ac_try;;
1937 esac
1938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1939 $as_echo "$ac_try_echo"; } >&5
1940   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1941   ac_status=$?
1942   if test -s conftest.err; then
1943     grep -v '^ *+' conftest.err >conftest.er1
1944     cat conftest.er1 >&5
1945     mv -f conftest.er1 conftest.err
1946   fi
1947   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1948   test $ac_status = 0; } > conftest.i && {
1949          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1950          test ! -s conftest.err
1951        }; then :
1952   ac_retval=0
1953 else
1954   $as_echo "$as_me: failed program was:" >&5
1955 sed 's/^/| /' conftest.$ac_ext >&5
1956
1957     ac_retval=1
1958 fi
1959   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1960   as_fn_set_status $ac_retval
1961
1962 } # ac_fn_c_try_cpp
1963
1964 # ac_fn_c_try_run LINENO
1965 # ----------------------
1966 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1967 # that executables *can* be run.
1968 ac_fn_c_try_run ()
1969 {
1970   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1971   if { { ac_try="$ac_link"
1972 case "(($ac_try" in
1973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1974   *) ac_try_echo=$ac_try;;
1975 esac
1976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1977 $as_echo "$ac_try_echo"; } >&5
1978   (eval "$ac_link") 2>&5
1979   ac_status=$?
1980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1981   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1982   { { case "(($ac_try" in
1983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1984   *) ac_try_echo=$ac_try;;
1985 esac
1986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1987 $as_echo "$ac_try_echo"; } >&5
1988   (eval "$ac_try") 2>&5
1989   ac_status=$?
1990   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1991   test $ac_status = 0; }; }; then :
1992   ac_retval=0
1993 else
1994   $as_echo "$as_me: program exited with status $ac_status" >&5
1995        $as_echo "$as_me: failed program was:" >&5
1996 sed 's/^/| /' conftest.$ac_ext >&5
1997
1998        ac_retval=$ac_status
1999 fi
2000   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2001   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2002   as_fn_set_status $ac_retval
2003
2004 } # ac_fn_c_try_run
2005
2006 # ac_fn_c_check_func LINENO FUNC VAR
2007 # ----------------------------------
2008 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2009 ac_fn_c_check_func ()
2010 {
2011   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2013 $as_echo_n "checking for $2... " >&6; }
2014 if eval \${$3+:} false; then :
2015   $as_echo_n "(cached) " >&6
2016 else
2017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h.  */
2019 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2020    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2021 #define $2 innocuous_$2
2022
2023 /* System header to define __stub macros and hopefully few prototypes,
2024     which can conflict with char $2 (); below.
2025     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2026     <limits.h> exists even on freestanding compilers.  */
2027
2028 #ifdef __STDC__
2029 # include <limits.h>
2030 #else
2031 # include <assert.h>
2032 #endif
2033
2034 #undef $2
2035
2036 /* Override any GCC internal prototype to avoid an error.
2037    Use char because int might match the return type of a GCC
2038    builtin and then its argument prototype would still apply.  */
2039 #ifdef __cplusplus
2040 extern "C"
2041 #endif
2042 char $2 ();
2043 /* The GNU C library defines this for functions which it implements
2044     to always fail with ENOSYS.  Some functions are actually named
2045     something starting with __ and the normal name is an alias.  */
2046 #if defined __stub_$2 || defined __stub___$2
2047 choke me
2048 #endif
2049
2050 int
2051 main ()
2052 {
2053 return $2 ();
2054   ;
2055   return 0;
2056 }
2057 _ACEOF
2058 if ac_fn_c_try_link "$LINENO"; then :
2059   eval "$3=yes"
2060 else
2061   eval "$3=no"
2062 fi
2063 rm -f core conftest.err conftest.$ac_objext \
2064     conftest$ac_exeext conftest.$ac_ext
2065 fi
2066 eval ac_res=\$$3
2067                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2068 $as_echo "$ac_res" >&6; }
2069   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2070
2071 } # ac_fn_c_check_func
2072
2073 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2074 # -------------------------------------------------------
2075 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2076 # the include files in INCLUDES and setting the cache variable VAR
2077 # accordingly.
2078 ac_fn_c_check_header_mongrel ()
2079 {
2080   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2081   if eval \${$3+:} false; then :
2082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2083 $as_echo_n "checking for $2... " >&6; }
2084 if eval \${$3+:} false; then :
2085   $as_echo_n "(cached) " >&6
2086 fi
2087 eval ac_res=\$$3
2088                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2089 $as_echo "$ac_res" >&6; }
2090 else
2091   # Is the header compilable?
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2093 $as_echo_n "checking $2 usability... " >&6; }
2094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h.  */
2096 $4
2097 #include <$2>
2098 _ACEOF
2099 if ac_fn_c_try_compile "$LINENO"; then :
2100   ac_header_compiler=yes
2101 else
2102   ac_header_compiler=no
2103 fi
2104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2106 $as_echo "$ac_header_compiler" >&6; }
2107
2108 # Is the header present?
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2110 $as_echo_n "checking $2 presence... " >&6; }
2111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h.  */
2113 #include <$2>
2114 _ACEOF
2115 if ac_fn_c_try_cpp "$LINENO"; then :
2116   ac_header_preproc=yes
2117 else
2118   ac_header_preproc=no
2119 fi
2120 rm -f conftest.err conftest.i conftest.$ac_ext
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2122 $as_echo "$ac_header_preproc" >&6; }
2123
2124 # So?  What about this header?
2125 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2126   yes:no: )
2127     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2128 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2129     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2130 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2131     ;;
2132   no:yes:* )
2133     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2134 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2135     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2136 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2137     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2138 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2139     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2140 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2141     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2142 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2143 ( $as_echo "## --------------------------------------------------------------- ##
2144 ## Report this to https://github.com/BestImageViewer/geeqie/issues ##
2145 ## --------------------------------------------------------------- ##"
2146      ) | sed "s/^/$as_me: WARNING:     /" >&2
2147     ;;
2148 esac
2149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2150 $as_echo_n "checking for $2... " >&6; }
2151 if eval \${$3+:} false; then :
2152   $as_echo_n "(cached) " >&6
2153 else
2154   eval "$3=\$ac_header_compiler"
2155 fi
2156 eval ac_res=\$$3
2157                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2158 $as_echo "$ac_res" >&6; }
2159 fi
2160   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2161
2162 } # ac_fn_c_check_header_mongrel
2163
2164 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2165 # -------------------------------------------------------
2166 # Tests whether HEADER exists and can be compiled using the include files in
2167 # INCLUDES, setting the cache variable VAR accordingly.
2168 ac_fn_c_check_header_compile ()
2169 {
2170   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2172 $as_echo_n "checking for $2... " >&6; }
2173 if eval \${$3+:} false; then :
2174   $as_echo_n "(cached) " >&6
2175 else
2176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2177 /* end confdefs.h.  */
2178 $4
2179 #include <$2>
2180 _ACEOF
2181 if ac_fn_c_try_compile "$LINENO"; then :
2182   eval "$3=yes"
2183 else
2184   eval "$3=no"
2185 fi
2186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2187 fi
2188 eval ac_res=\$$3
2189                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2190 $as_echo "$ac_res" >&6; }
2191   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2192
2193 } # ac_fn_c_check_header_compile
2194
2195 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2196 # ----------------------------------------------------
2197 # Tries to find if the field MEMBER exists in type AGGR, after including
2198 # INCLUDES, setting cache variable VAR accordingly.
2199 ac_fn_c_check_member ()
2200 {
2201   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2203 $as_echo_n "checking for $2.$3... " >&6; }
2204 if eval \${$4+:} false; then :
2205   $as_echo_n "(cached) " >&6
2206 else
2207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h.  */
2209 $5
2210 int
2211 main ()
2212 {
2213 static $2 ac_aggr;
2214 if (ac_aggr.$3)
2215 return 0;
2216   ;
2217   return 0;
2218 }
2219 _ACEOF
2220 if ac_fn_c_try_compile "$LINENO"; then :
2221   eval "$4=yes"
2222 else
2223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2224 /* end confdefs.h.  */
2225 $5
2226 int
2227 main ()
2228 {
2229 static $2 ac_aggr;
2230 if (sizeof ac_aggr.$3)
2231 return 0;
2232   ;
2233   return 0;
2234 }
2235 _ACEOF
2236 if ac_fn_c_try_compile "$LINENO"; then :
2237   eval "$4=yes"
2238 else
2239   eval "$4=no"
2240 fi
2241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2242 fi
2243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2244 fi
2245 eval ac_res=\$$4
2246                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2247 $as_echo "$ac_res" >&6; }
2248   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2249
2250 } # ac_fn_c_check_member
2251 cat >config.log <<_ACEOF
2252 This file contains any messages produced by compilers while
2253 running configure, to aid debugging if configure makes a mistake.
2254
2255 It was created by geeqie $as_me 1.5.1, which was
2256 generated by GNU Autoconf 2.69.  Invocation command line was
2257
2258   $ $0 $@
2259
2260 _ACEOF
2261 exec 5>>config.log
2262 {
2263 cat <<_ASUNAME
2264 ## --------- ##
2265 ## Platform. ##
2266 ## --------- ##
2267
2268 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2269 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2270 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2271 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2272 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2273
2274 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2275 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2276
2277 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2278 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2279 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2280 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2281 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2282 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2283 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2284
2285 _ASUNAME
2286
2287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2288 for as_dir in $PATH
2289 do
2290   IFS=$as_save_IFS
2291   test -z "$as_dir" && as_dir=.
2292     $as_echo "PATH: $as_dir"
2293   done
2294 IFS=$as_save_IFS
2295
2296 } >&5
2297
2298 cat >&5 <<_ACEOF
2299
2300
2301 ## ----------- ##
2302 ## Core tests. ##
2303 ## ----------- ##
2304
2305 _ACEOF
2306
2307
2308 # Keep a trace of the command line.
2309 # Strip out --no-create and --no-recursion so they do not pile up.
2310 # Strip out --silent because we don't want to record it for future runs.
2311 # Also quote any args containing shell meta-characters.
2312 # Make two passes to allow for proper duplicate-argument suppression.
2313 ac_configure_args=
2314 ac_configure_args0=
2315 ac_configure_args1=
2316 ac_must_keep_next=false
2317 for ac_pass in 1 2
2318 do
2319   for ac_arg
2320   do
2321     case $ac_arg in
2322     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2323     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2324     | -silent | --silent | --silen | --sile | --sil)
2325       continue ;;
2326     *\'*)
2327       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2328     esac
2329     case $ac_pass in
2330     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2331     2)
2332       as_fn_append ac_configure_args1 " '$ac_arg'"
2333       if test $ac_must_keep_next = true; then
2334         ac_must_keep_next=false # Got value, back to normal.
2335       else
2336         case $ac_arg in
2337           *=* | --config-cache | -C | -disable-* | --disable-* \
2338           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2339           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2340           | -with-* | --with-* | -without-* | --without-* | --x)
2341             case "$ac_configure_args0 " in
2342               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2343             esac
2344             ;;
2345           -* ) ac_must_keep_next=true ;;
2346         esac
2347       fi
2348       as_fn_append ac_configure_args " '$ac_arg'"
2349       ;;
2350     esac
2351   done
2352 done
2353 { ac_configure_args0=; unset ac_configure_args0;}
2354 { ac_configure_args1=; unset ac_configure_args1;}
2355
2356 # When interrupted or exit'd, cleanup temporary files, and complete
2357 # config.log.  We remove comments because anyway the quotes in there
2358 # would cause problems or look ugly.
2359 # WARNING: Use '\'' to represent an apostrophe within the trap.
2360 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2361 trap 'exit_status=$?
2362   # Save into config.log some information that might help in debugging.
2363   {
2364     echo
2365
2366     $as_echo "## ---------------- ##
2367 ## Cache variables. ##
2368 ## ---------------- ##"
2369     echo
2370     # The following way of writing the cache mishandles newlines in values,
2371 (
2372   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2373     eval ac_val=\$$ac_var
2374     case $ac_val in #(
2375     *${as_nl}*)
2376       case $ac_var in #(
2377       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2378 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2379       esac
2380       case $ac_var in #(
2381       _ | IFS | as_nl) ;; #(
2382       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2383       *) { eval $ac_var=; unset $ac_var;} ;;
2384       esac ;;
2385     esac
2386   done
2387   (set) 2>&1 |
2388     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2389     *${as_nl}ac_space=\ *)
2390       sed -n \
2391         "s/'\''/'\''\\\\'\'''\''/g;
2392           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2393       ;; #(
2394     *)
2395       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2396       ;;
2397     esac |
2398     sort
2399 )
2400     echo
2401
2402     $as_echo "## ----------------- ##
2403 ## Output variables. ##
2404 ## ----------------- ##"
2405     echo
2406     for ac_var in $ac_subst_vars
2407     do
2408       eval ac_val=\$$ac_var
2409       case $ac_val in
2410       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2411       esac
2412       $as_echo "$ac_var='\''$ac_val'\''"
2413     done | sort
2414     echo
2415
2416     if test -n "$ac_subst_files"; then
2417       $as_echo "## ------------------- ##
2418 ## File substitutions. ##
2419 ## ------------------- ##"
2420       echo
2421       for ac_var in $ac_subst_files
2422       do
2423         eval ac_val=\$$ac_var
2424         case $ac_val in
2425         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2426         esac
2427         $as_echo "$ac_var='\''$ac_val'\''"
2428       done | sort
2429       echo
2430     fi
2431
2432     if test -s confdefs.h; then
2433       $as_echo "## ----------- ##
2434 ## confdefs.h. ##
2435 ## ----------- ##"
2436       echo
2437       cat confdefs.h
2438       echo
2439     fi
2440     test "$ac_signal" != 0 &&
2441       $as_echo "$as_me: caught signal $ac_signal"
2442     $as_echo "$as_me: exit $exit_status"
2443   } >&5
2444   rm -f core *.core core.conftest.* &&
2445     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2446     exit $exit_status
2447 ' 0
2448 for ac_signal in 1 2 13 15; do
2449   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2450 done
2451 ac_signal=0
2452
2453 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2454 rm -f -r conftest* confdefs.h
2455
2456 $as_echo "/* confdefs.h */" > confdefs.h
2457
2458 # Predefined preprocessor variables.
2459
2460 cat >>confdefs.h <<_ACEOF
2461 #define PACKAGE_NAME "$PACKAGE_NAME"
2462 _ACEOF
2463
2464 cat >>confdefs.h <<_ACEOF
2465 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2466 _ACEOF
2467
2468 cat >>confdefs.h <<_ACEOF
2469 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2470 _ACEOF
2471
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_STRING "$PACKAGE_STRING"
2474 _ACEOF
2475
2476 cat >>confdefs.h <<_ACEOF
2477 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2478 _ACEOF
2479
2480 cat >>confdefs.h <<_ACEOF
2481 #define PACKAGE_URL "$PACKAGE_URL"
2482 _ACEOF
2483
2484
2485 # Let the site file select an alternate cache file if it wants to.
2486 # Prefer an explicitly selected file to automatically selected ones.
2487 ac_site_file1=NONE
2488 ac_site_file2=NONE
2489 if test -n "$CONFIG_SITE"; then
2490   # We do not want a PATH search for config.site.
2491   case $CONFIG_SITE in #((
2492     -*)  ac_site_file1=./$CONFIG_SITE;;
2493     */*) ac_site_file1=$CONFIG_SITE;;
2494     *)   ac_site_file1=./$CONFIG_SITE;;
2495   esac
2496 elif test "x$prefix" != xNONE; then
2497   ac_site_file1=$prefix/share/config.site
2498   ac_site_file2=$prefix/etc/config.site
2499 else
2500   ac_site_file1=$ac_default_prefix/share/config.site
2501   ac_site_file2=$ac_default_prefix/etc/config.site
2502 fi
2503 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2504 do
2505   test "x$ac_site_file" = xNONE && continue
2506   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2507     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2508 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2509     sed 's/^/| /' "$ac_site_file" >&5
2510     . "$ac_site_file" \
2511       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2512 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2513 as_fn_error $? "failed to load site script $ac_site_file
2514 See \`config.log' for more details" "$LINENO" 5; }
2515   fi
2516 done
2517
2518 if test -r "$cache_file"; then
2519   # Some versions of bash will fail to source /dev/null (special files
2520   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2521   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2522     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2523 $as_echo "$as_me: loading cache $cache_file" >&6;}
2524     case $cache_file in
2525       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2526       *)                      . "./$cache_file";;
2527     esac
2528   fi
2529 else
2530   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2531 $as_echo "$as_me: creating cache $cache_file" >&6;}
2532   >$cache_file
2533 fi
2534
2535 # Check that the precious variables saved in the cache have kept the same
2536 # value.
2537 ac_cache_corrupted=false
2538 for ac_var in $ac_precious_vars; do
2539   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2540   eval ac_new_set=\$ac_env_${ac_var}_set
2541   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2542   eval ac_new_val=\$ac_env_${ac_var}_value
2543   case $ac_old_set,$ac_new_set in
2544     set,)
2545       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2546 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2547       ac_cache_corrupted=: ;;
2548     ,set)
2549       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2550 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2551       ac_cache_corrupted=: ;;
2552     ,);;
2553     *)
2554       if test "x$ac_old_val" != "x$ac_new_val"; then
2555         # differences in whitespace do not lead to failure.
2556         ac_old_val_w=`echo x $ac_old_val`
2557         ac_new_val_w=`echo x $ac_new_val`
2558         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2559           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2560 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2561           ac_cache_corrupted=:
2562         else
2563           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2564 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2565           eval $ac_var=\$ac_old_val
2566         fi
2567         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2568 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2569         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2570 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2571       fi;;
2572   esac
2573   # Pass precious variables to config.status.
2574   if test "$ac_new_set" = set; then
2575     case $ac_new_val in
2576     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2577     *) ac_arg=$ac_var=$ac_new_val ;;
2578     esac
2579     case " $ac_configure_args " in
2580       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2581       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2582     esac
2583   fi
2584 done
2585 if $ac_cache_corrupted; then
2586   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2588   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2589 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2590   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2591 fi
2592 ## -------------------- ##
2593 ## Main body of script. ##
2594 ## -------------------- ##
2595
2596 ac_ext=c
2597 ac_cpp='$CPP $CPPFLAGS'
2598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2601
2602
2603
2604 # Add -Werror to the default CFLAGS
2605 CFLAGS+=" -Werror -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=return-type"
2606
2607 # Check for rightly dirs
2608
2609
2610 ac_aux_dir=
2611 for ac_dir in auxdir "$srcdir"/auxdir; do
2612   if test -f "$ac_dir/install-sh"; then
2613     ac_aux_dir=$ac_dir
2614     ac_install_sh="$ac_aux_dir/install-sh -c"
2615     break
2616   elif test -f "$ac_dir/install.sh"; then
2617     ac_aux_dir=$ac_dir
2618     ac_install_sh="$ac_aux_dir/install.sh -c"
2619     break
2620   elif test -f "$ac_dir/shtool"; then
2621     ac_aux_dir=$ac_dir
2622     ac_install_sh="$ac_aux_dir/shtool install -c"
2623     break
2624   fi
2625 done
2626 if test -z "$ac_aux_dir"; then
2627   as_fn_error $? "cannot find install-sh, install.sh, or shtool in auxdir \"$srcdir\"/auxdir" "$LINENO" 5
2628 fi
2629
2630 # These three variables are undocumented and unsupported,
2631 # and are intended to be withdrawn in a future Autoconf release.
2632 # They can cause serious problems if a builder's source tree is in a directory
2633 # whose full name contains unusual characters.
2634 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2635 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2636 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2637
2638
2639 # Require Automake 1.14 for %reldir% support
2640 am__api_version='1.16'
2641
2642 # Find a good install program.  We prefer a C program (faster),
2643 # so one script is as good as another.  But avoid the broken or
2644 # incompatible versions:
2645 # SysV /etc/install, /usr/sbin/install
2646 # SunOS /usr/etc/install
2647 # IRIX /sbin/install
2648 # AIX /bin/install
2649 # AmigaOS /C/install, which installs bootblocks on floppy discs
2650 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2651 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2652 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2653 # OS/2's system install, which has a completely different semantic
2654 # ./install, which can be erroneously created by make from ./install.sh.
2655 # Reject install programs that cannot install multiple files.
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2657 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2658 if test -z "$INSTALL"; then
2659 if ${ac_cv_path_install+:} false; then :
2660   $as_echo_n "(cached) " >&6
2661 else
2662   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663 for as_dir in $PATH
2664 do
2665   IFS=$as_save_IFS
2666   test -z "$as_dir" && as_dir=.
2667     # Account for people who put trailing slashes in PATH elements.
2668 case $as_dir/ in #((
2669   ./ | .// | /[cC]/* | \
2670   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2671   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2672   /usr/ucb/* ) ;;
2673   *)
2674     # OSF1 and SCO ODT 3.0 have their own names for install.
2675     # Don't use installbsd from OSF since it installs stuff as root
2676     # by default.
2677     for ac_prog in ginstall scoinst install; do
2678       for ac_exec_ext in '' $ac_executable_extensions; do
2679         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2680           if test $ac_prog = install &&
2681             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2682             # AIX install.  It has an incompatible calling convention.
2683             :
2684           elif test $ac_prog = install &&
2685             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2686             # program-specific install script used by HP pwplus--don't use.
2687             :
2688           else
2689             rm -rf conftest.one conftest.two conftest.dir
2690             echo one > conftest.one
2691             echo two > conftest.two
2692             mkdir conftest.dir
2693             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2694               test -s conftest.one && test -s conftest.two &&
2695               test -s conftest.dir/conftest.one &&
2696               test -s conftest.dir/conftest.two
2697             then
2698               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2699               break 3
2700             fi
2701           fi
2702         fi
2703       done
2704     done
2705     ;;
2706 esac
2707
2708   done
2709 IFS=$as_save_IFS
2710
2711 rm -rf conftest.one conftest.two conftest.dir
2712
2713 fi
2714   if test "${ac_cv_path_install+set}" = set; then
2715     INSTALL=$ac_cv_path_install
2716   else
2717     # As a last resort, use the slow shell script.  Don't cache a
2718     # value for INSTALL within a source directory, because that will
2719     # break other packages using the cache if that directory is
2720     # removed, or if the value is a relative name.
2721     INSTALL=$ac_install_sh
2722   fi
2723 fi
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2725 $as_echo "$INSTALL" >&6; }
2726
2727 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2728 # It thinks the first close brace ends the variable substitution.
2729 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2730
2731 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2732
2733 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2734
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2736 $as_echo_n "checking whether build environment is sane... " >&6; }
2737 # Reject unsafe characters in $srcdir or the absolute working directory
2738 # name.  Accept space and tab only in the latter.
2739 am_lf='
2740 '
2741 case `pwd` in
2742   *[\\\"\#\$\&\'\`$am_lf]*)
2743     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2744 esac
2745 case $srcdir in
2746   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2747     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2748 esac
2749
2750 # Do 'set' in a subshell so we don't clobber the current shell's
2751 # arguments.  Must try -L first in case configure is actually a
2752 # symlink; some systems play weird games with the mod time of symlinks
2753 # (eg FreeBSD returns the mod time of the symlink's containing
2754 # directory).
2755 if (
2756    am_has_slept=no
2757    for am_try in 1 2; do
2758      echo "timestamp, slept: $am_has_slept" > conftest.file
2759      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2760      if test "$*" = "X"; then
2761         # -L didn't work.
2762         set X `ls -t "$srcdir/configure" conftest.file`
2763      fi
2764      if test "$*" != "X $srcdir/configure conftest.file" \
2765         && test "$*" != "X conftest.file $srcdir/configure"; then
2766
2767         # If neither matched, then we have a broken ls.  This can happen
2768         # if, for instance, CONFIG_SHELL is bash and it inherits a
2769         # broken ls alias from the environment.  This has actually
2770         # happened.  Such a system could not be considered "sane".
2771         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2772   alias in your environment" "$LINENO" 5
2773      fi
2774      if test "$2" = conftest.file || test $am_try -eq 2; then
2775        break
2776      fi
2777      # Just in case.
2778      sleep 1
2779      am_has_slept=yes
2780    done
2781    test "$2" = conftest.file
2782    )
2783 then
2784    # Ok.
2785    :
2786 else
2787    as_fn_error $? "newly created file is older than distributed files!
2788 Check your system clock" "$LINENO" 5
2789 fi
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2791 $as_echo "yes" >&6; }
2792 # If we didn't sleep, we still need to ensure time stamps of config.status and
2793 # generated files are strictly newer.
2794 am_sleep_pid=
2795 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2796   ( sleep 1 ) &
2797   am_sleep_pid=$!
2798 fi
2799
2800 rm -f conftest.file
2801
2802 test "$program_prefix" != NONE &&
2803   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2804 # Use a double $ so make ignores it.
2805 test "$program_suffix" != NONE &&
2806   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2807 # Double any \ or $.
2808 # By default was `s,x,x', remove it if useless.
2809 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2810 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2811
2812 # Expand $ac_aux_dir to an absolute path.
2813 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2814
2815 if test x"${MISSING+set}" != xset; then
2816   case $am_aux_dir in
2817   *\ * | *\     *)
2818     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2819   *)
2820     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2821   esac
2822 fi
2823 # Use eval to expand $SHELL
2824 if eval "$MISSING --is-lightweight"; then
2825   am_missing_run="$MISSING "
2826 else
2827   am_missing_run=
2828   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2829 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2830 fi
2831
2832 if test x"${install_sh+set}" != xset; then
2833   case $am_aux_dir in
2834   *\ * | *\     *)
2835     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2836   *)
2837     install_sh="\${SHELL} $am_aux_dir/install-sh"
2838   esac
2839 fi
2840
2841 # Installed binaries are usually stripped using 'strip' when the user
2842 # run "make install-strip".  However 'strip' might not be the right
2843 # tool to use in cross-compilation environments, therefore Automake
2844 # will honor the 'STRIP' environment variable to overrule this program.
2845 if test "$cross_compiling" != no; then
2846   if test -n "$ac_tool_prefix"; then
2847   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2848 set dummy ${ac_tool_prefix}strip; ac_word=$2
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2850 $as_echo_n "checking for $ac_word... " >&6; }
2851 if ${ac_cv_prog_STRIP+:} false; then :
2852   $as_echo_n "(cached) " >&6
2853 else
2854   if test -n "$STRIP"; then
2855   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2856 else
2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2858 for as_dir in $PATH
2859 do
2860   IFS=$as_save_IFS
2861   test -z "$as_dir" && as_dir=.
2862     for ac_exec_ext in '' $ac_executable_extensions; do
2863   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2864     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2865     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2866     break 2
2867   fi
2868 done
2869   done
2870 IFS=$as_save_IFS
2871
2872 fi
2873 fi
2874 STRIP=$ac_cv_prog_STRIP
2875 if test -n "$STRIP"; then
2876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2877 $as_echo "$STRIP" >&6; }
2878 else
2879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880 $as_echo "no" >&6; }
2881 fi
2882
2883
2884 fi
2885 if test -z "$ac_cv_prog_STRIP"; then
2886   ac_ct_STRIP=$STRIP
2887   # Extract the first word of "strip", so it can be a program name with args.
2888 set dummy strip; ac_word=$2
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2890 $as_echo_n "checking for $ac_word... " >&6; }
2891 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2892   $as_echo_n "(cached) " >&6
2893 else
2894   if test -n "$ac_ct_STRIP"; then
2895   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2896 else
2897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2898 for as_dir in $PATH
2899 do
2900   IFS=$as_save_IFS
2901   test -z "$as_dir" && as_dir=.
2902     for ac_exec_ext in '' $ac_executable_extensions; do
2903   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2904     ac_cv_prog_ac_ct_STRIP="strip"
2905     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906     break 2
2907   fi
2908 done
2909   done
2910 IFS=$as_save_IFS
2911
2912 fi
2913 fi
2914 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2915 if test -n "$ac_ct_STRIP"; then
2916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2917 $as_echo "$ac_ct_STRIP" >&6; }
2918 else
2919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2920 $as_echo "no" >&6; }
2921 fi
2922
2923   if test "x$ac_ct_STRIP" = x; then
2924     STRIP=":"
2925   else
2926     case $cross_compiling:$ac_tool_warned in
2927 yes:)
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2929 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2930 ac_tool_warned=yes ;;
2931 esac
2932     STRIP=$ac_ct_STRIP
2933   fi
2934 else
2935   STRIP="$ac_cv_prog_STRIP"
2936 fi
2937
2938 fi
2939 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2940
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2942 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2943 if test -z "$MKDIR_P"; then
2944   if ${ac_cv_path_mkdir+:} false; then :
2945   $as_echo_n "(cached) " >&6
2946 else
2947   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2948 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2949 do
2950   IFS=$as_save_IFS
2951   test -z "$as_dir" && as_dir=.
2952     for ac_prog in mkdir gmkdir; do
2953          for ac_exec_ext in '' $ac_executable_extensions; do
2954            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2955            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2956              'mkdir (GNU coreutils) '* | \
2957              'mkdir (coreutils) '* | \
2958              'mkdir (fileutils) '4.1*)
2959                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2960                break 3;;
2961            esac
2962          done
2963        done
2964   done
2965 IFS=$as_save_IFS
2966
2967 fi
2968
2969   test -d ./--version && rmdir ./--version
2970   if test "${ac_cv_path_mkdir+set}" = set; then
2971     MKDIR_P="$ac_cv_path_mkdir -p"
2972   else
2973     # As a last resort, use the slow shell script.  Don't cache a
2974     # value for MKDIR_P within a source directory, because that will
2975     # break other packages using the cache if that directory is
2976     # removed, or if the value is a relative name.
2977     MKDIR_P="$ac_install_sh -d"
2978   fi
2979 fi
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2981 $as_echo "$MKDIR_P" >&6; }
2982
2983 for ac_prog in gawk mawk nawk awk
2984 do
2985   # Extract the first word of "$ac_prog", so it can be a program name with args.
2986 set dummy $ac_prog; ac_word=$2
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2988 $as_echo_n "checking for $ac_word... " >&6; }
2989 if ${ac_cv_prog_AWK+:} false; then :
2990   $as_echo_n "(cached) " >&6
2991 else
2992   if test -n "$AWK"; then
2993   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2994 else
2995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2996 for as_dir in $PATH
2997 do
2998   IFS=$as_save_IFS
2999   test -z "$as_dir" && as_dir=.
3000     for ac_exec_ext in '' $ac_executable_extensions; do
3001   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3002     ac_cv_prog_AWK="$ac_prog"
3003     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3004     break 2
3005   fi
3006 done
3007   done
3008 IFS=$as_save_IFS
3009
3010 fi
3011 fi
3012 AWK=$ac_cv_prog_AWK
3013 if test -n "$AWK"; then
3014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3015 $as_echo "$AWK" >&6; }
3016 else
3017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3018 $as_echo "no" >&6; }
3019 fi
3020
3021
3022   test -n "$AWK" && break
3023 done
3024
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3026 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3027 set x ${MAKE-make}
3028 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3029 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3030   $as_echo_n "(cached) " >&6
3031 else
3032   cat >conftest.make <<\_ACEOF
3033 SHELL = /bin/sh
3034 all:
3035         @echo '@@@%%%=$(MAKE)=@@@%%%'
3036 _ACEOF
3037 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3038 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3039   *@@@%%%=?*=@@@%%%*)
3040     eval ac_cv_prog_make_${ac_make}_set=yes;;
3041   *)
3042     eval ac_cv_prog_make_${ac_make}_set=no;;
3043 esac
3044 rm -f conftest.make
3045 fi
3046 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3048 $as_echo "yes" >&6; }
3049   SET_MAKE=
3050 else
3051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052 $as_echo "no" >&6; }
3053   SET_MAKE="MAKE=${MAKE-make}"
3054 fi
3055
3056 rm -rf .tst 2>/dev/null
3057 mkdir .tst 2>/dev/null
3058 if test -d .tst; then
3059   am__leading_dot=.
3060 else
3061   am__leading_dot=_
3062 fi
3063 rmdir .tst 2>/dev/null
3064
3065 # Check whether --enable-silent-rules was given.
3066 if test "${enable_silent_rules+set}" = set; then :
3067   enableval=$enable_silent_rules;
3068 fi
3069
3070 case $enable_silent_rules in # (((
3071   yes) AM_DEFAULT_VERBOSITY=0;;
3072    no) AM_DEFAULT_VERBOSITY=1;;
3073     *) AM_DEFAULT_VERBOSITY=1;;
3074 esac
3075 am_make=${MAKE-make}
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3077 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3078 if ${am_cv_make_support_nested_variables+:} false; then :
3079   $as_echo_n "(cached) " >&6
3080 else
3081   if $as_echo 'TRUE=$(BAR$(V))
3082 BAR0=false
3083 BAR1=true
3084 V=1
3085 am__doit:
3086         @$(TRUE)
3087 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3088   am_cv_make_support_nested_variables=yes
3089 else
3090   am_cv_make_support_nested_variables=no
3091 fi
3092 fi
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3094 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3095 if test $am_cv_make_support_nested_variables = yes; then
3096     AM_V='$(V)'
3097   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3098 else
3099   AM_V=$AM_DEFAULT_VERBOSITY
3100   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3101 fi
3102 AM_BACKSLASH='\'
3103
3104 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3105   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3106   # is not polluted with repeated "-I."
3107   am__isrc=' -I$(srcdir)'
3108   # test to see if srcdir already configured
3109   if test -f $srcdir/config.status; then
3110     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3111   fi
3112 fi
3113
3114 # test whether we have cygpath
3115 if test -z "$CYGPATH_W"; then
3116   if (cygpath --version) >/dev/null 2>/dev/null; then
3117     CYGPATH_W='cygpath -w'
3118   else
3119     CYGPATH_W=echo
3120   fi
3121 fi
3122
3123
3124 # Define the identity of the package.
3125  PACKAGE='geeqie'
3126  VERSION='1.5.1'
3127
3128
3129 cat >>confdefs.h <<_ACEOF
3130 #define PACKAGE "$PACKAGE"
3131 _ACEOF
3132
3133
3134 cat >>confdefs.h <<_ACEOF
3135 #define VERSION "$VERSION"
3136 _ACEOF
3137
3138 # Some tools Automake needs.
3139
3140 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3141
3142
3143 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3144
3145
3146 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3147
3148
3149 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3150
3151
3152 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3153
3154 # For better backward compatibility.  To be removed once Automake 1.9.x
3155 # dies out for good.  For more background, see:
3156 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3157 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3158 mkdir_p='$(MKDIR_P)'
3159
3160 # We need awk for the "check" target (and possibly the TAP driver).  The
3161 # system "awk" is bad on some platforms.
3162 # Always define AMTAR for backward compatibility.  Yes, it's still used
3163 # in the wild :-(  We should find a proper way to deprecate it ...
3164 AMTAR='$${TAR-tar}'
3165
3166
3167 # We'll loop over all known methods to create a tar archive until one works.
3168 _am_tools='gnutar  pax cpio none'
3169
3170 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3171
3172
3173
3174
3175
3176
3177 # POSIX will say in a future version that running "rm -f" with no argument
3178 # is OK; and we want to be able to make that assumption in our Makefile
3179 # recipes.  So use an aggressive probe to check that the usage we want is
3180 # actually supported "in the wild" to an acceptable degree.
3181 # See automake bug#10828.
3182 # To make any issue more visible, cause the running configure to be aborted
3183 # by default if the 'rm' program in use doesn't match our expectations; the
3184 # user can still override this though.
3185 if rm -f && rm -fr && rm -rf; then : OK; else
3186   cat >&2 <<'END'
3187 Oops!
3188
3189 Your 'rm' program seems unable to run without file operands specified
3190 on the command line, even when the '-f' option is present.  This is contrary
3191 to the behaviour of most rm programs out there, and not conforming with
3192 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3193
3194 Please tell bug-automake@gnu.org about your system, including the value
3195 of your $PATH and any error possibly output before this message.  This
3196 can help us improve future automake versions.
3197
3198 END
3199   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3200     echo 'Configuration will proceed anyway, since you have set the' >&2
3201     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3202     echo >&2
3203   else
3204     cat >&2 <<'END'
3205 Aborting the configuration process, to ensure you take notice of the issue.
3206
3207 You can download and install GNU coreutils to get an 'rm' implementation
3208 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3209
3210 If you want to complete the configuration process using your problematic
3211 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3212 to "yes", and re-run configure.
3213
3214 END
3215     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3216   fi
3217 fi
3218
3219
3220 ac_config_headers="$ac_config_headers config.h"
3221
3222
3223 # Only for developers
3224
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3226 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3227     # Check whether --enable-maintainer-mode was given.
3228 if test "${enable_maintainer_mode+set}" = set; then :
3229   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3230 else
3231   USE_MAINTAINER_MODE=no
3232 fi
3233
3234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3235 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3236    if test $USE_MAINTAINER_MODE = yes; then
3237   MAINTAINER_MODE_TRUE=
3238   MAINTAINER_MODE_FALSE='#'
3239 else
3240   MAINTAINER_MODE_TRUE='#'
3241   MAINTAINER_MODE_FALSE=
3242 fi
3243
3244   MAINT=$MAINTAINER_MODE_TRUE
3245
3246
3247
3248 # Silent build for automake >= 1.11
3249 # Check whether --enable-silent-rules was given.
3250 if test "${enable_silent_rules+set}" = set; then :
3251   enableval=$enable_silent_rules;
3252 fi
3253
3254 case $enable_silent_rules in # (((
3255   yes) AM_DEFAULT_VERBOSITY=0;;
3256    no) AM_DEFAULT_VERBOSITY=1;;
3257     *) AM_DEFAULT_VERBOSITY=0;;
3258 esac
3259 am_make=${MAKE-make}
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3261 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3262 if ${am_cv_make_support_nested_variables+:} false; then :
3263   $as_echo_n "(cached) " >&6
3264 else
3265   if $as_echo 'TRUE=$(BAR$(V))
3266 BAR0=false
3267 BAR1=true
3268 V=1
3269 am__doit:
3270         @$(TRUE)
3271 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3272   am_cv_make_support_nested_variables=yes
3273 else
3274   am_cv_make_support_nested_variables=no
3275 fi
3276 fi
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3278 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3279 if test $am_cv_make_support_nested_variables = yes; then
3280     AM_V='$(V)'
3281   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3282 else
3283   AM_V=$AM_DEFAULT_VERBOSITY
3284   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3285 fi
3286 AM_BACKSLASH='\'
3287
3288
3289 # Check whether --enable-developer was given.
3290 if test "${enable_developer+set}" = set; then :
3291   enableval=$enable_developer;
3292   __IS_DEVELOPER=yes
3293
3294 else
3295
3296 if test "x${enable_developer}" != "xyes"
3297 then
3298   __IS_DEVELOPER=no
3299 else
3300   __IS_DEVELOPER=yes
3301 fi
3302
3303 fi
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317 # Files:
3318 DX_PROJECT=$PACKAGE_NAME
3319
3320 DX_CONFIG=doxygen.conf
3321
3322 DX_DOCDIR=doc/doxygen
3323
3324
3325 # Environment variables used inside doxygen.cfg:
3326 DX_ENV="$DX_ENV SRCDIR='$srcdir'"
3327
3328 DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
3329
3330 DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
3331
3332 DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
3333
3334
3335 # Doxygen itself:
3336
3337
3338
3339
3340     # Check whether --enable-doxygen-doc was given.
3341 if test "${enable_doxygen_doc+set}" = set; then :
3342   enableval=$enable_doxygen_doc;
3343 case "$enableval" in
3344 #(
3345 y|Y|yes|Yes|YES)
3346     DX_FLAG_doc=1
3347
3348
3349 ;; #(
3350 n|N|no|No|NO)
3351     DX_FLAG_doc=0
3352
3353 ;; #(
3354 *)
3355     as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
3356 ;;
3357 esac
3358
3359 else
3360
3361 DX_FLAG_doc=1
3362
3363
3364
3365 fi
3366
3367 if test "$DX_FLAG_doc" = 1; then
3368
3369 if test -n "$ac_tool_prefix"; then
3370   # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
3371 set dummy ${ac_tool_prefix}doxygen; ac_word=$2
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3373 $as_echo_n "checking for $ac_word... " >&6; }
3374 if ${ac_cv_path_DX_DOXYGEN+:} false; then :
3375   $as_echo_n "(cached) " >&6
3376 else
3377   case $DX_DOXYGEN in
3378   [\\/]* | ?:[\\/]*)
3379   ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
3380   ;;
3381   *)
3382   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383 for as_dir in $PATH
3384 do
3385   IFS=$as_save_IFS
3386   test -z "$as_dir" && as_dir=.
3387     for ac_exec_ext in '' $ac_executable_extensions; do
3388   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3389     ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
3390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3391     break 2
3392   fi
3393 done
3394   done
3395 IFS=$as_save_IFS
3396
3397   ;;
3398 esac
3399 fi
3400 DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
3401 if test -n "$DX_DOXYGEN"; then
3402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
3403 $as_echo "$DX_DOXYGEN" >&6; }
3404 else
3405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3406 $as_echo "no" >&6; }
3407 fi
3408
3409
3410 fi
3411 if test -z "$ac_cv_path_DX_DOXYGEN"; then
3412   ac_pt_DX_DOXYGEN=$DX_DOXYGEN
3413   # Extract the first word of "doxygen", so it can be a program name with args.
3414 set dummy doxygen; ac_word=$2
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3416 $as_echo_n "checking for $ac_word... " >&6; }
3417 if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
3418   $as_echo_n "(cached) " >&6
3419 else
3420   case $ac_pt_DX_DOXYGEN in
3421   [\\/]* | ?:[\\/]*)
3422   ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
3423   ;;
3424   *)
3425   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3426 for as_dir in $PATH
3427 do
3428   IFS=$as_save_IFS
3429   test -z "$as_dir" && as_dir=.
3430     for ac_exec_ext in '' $ac_executable_extensions; do
3431   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3432     ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
3433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3434     break 2
3435   fi
3436 done
3437   done
3438 IFS=$as_save_IFS
3439
3440   ;;
3441 esac
3442 fi
3443 ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
3444 if test -n "$ac_pt_DX_DOXYGEN"; then
3445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
3446 $as_echo "$ac_pt_DX_DOXYGEN" >&6; }
3447 else
3448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3449 $as_echo "no" >&6; }
3450 fi
3451
3452   if test "x$ac_pt_DX_DOXYGEN" = x; then
3453     DX_DOXYGEN=""
3454   else
3455     case $cross_compiling:$ac_tool_warned in
3456 yes:)
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3459 ac_tool_warned=yes ;;
3460 esac
3461     DX_DOXYGEN=$ac_pt_DX_DOXYGEN
3462   fi
3463 else
3464   DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
3465 fi
3466
3467 if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
3468     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
3469 $as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
3470     DX_FLAG_doc=0
3471
3472 fi
3473
3474
3475 if test -n "$ac_tool_prefix"; then
3476   # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
3477 set dummy ${ac_tool_prefix}perl; ac_word=$2
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3479 $as_echo_n "checking for $ac_word... " >&6; }
3480 if ${ac_cv_path_DX_PERL+:} false; then :
3481   $as_echo_n "(cached) " >&6
3482 else
3483   case $DX_PERL in
3484   [\\/]* | ?:[\\/]*)
3485   ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
3486   ;;
3487   *)
3488   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3489 for as_dir in $PATH
3490 do
3491   IFS=$as_save_IFS
3492   test -z "$as_dir" && as_dir=.
3493     for ac_exec_ext in '' $ac_executable_extensions; do
3494   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3495     ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
3496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3497     break 2
3498   fi
3499 done
3500   done
3501 IFS=$as_save_IFS
3502
3503   ;;
3504 esac
3505 fi
3506 DX_PERL=$ac_cv_path_DX_PERL
3507 if test -n "$DX_PERL"; then
3508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
3509 $as_echo "$DX_PERL" >&6; }
3510 else
3511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3512 $as_echo "no" >&6; }
3513 fi
3514
3515
3516 fi
3517 if test -z "$ac_cv_path_DX_PERL"; then
3518   ac_pt_DX_PERL=$DX_PERL
3519   # Extract the first word of "perl", so it can be a program name with args.
3520 set dummy perl; ac_word=$2
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3522 $as_echo_n "checking for $ac_word... " >&6; }
3523 if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
3524   $as_echo_n "(cached) " >&6
3525 else
3526   case $ac_pt_DX_PERL in
3527   [\\/]* | ?:[\\/]*)
3528   ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
3529   ;;
3530   *)
3531   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3532 for as_dir in $PATH
3533 do
3534   IFS=$as_save_IFS
3535   test -z "$as_dir" && as_dir=.
3536     for ac_exec_ext in '' $ac_executable_extensions; do
3537   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3538     ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
3539     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3540     break 2
3541   fi
3542 done
3543   done
3544 IFS=$as_save_IFS
3545
3546   ;;
3547 esac
3548 fi
3549 ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
3550 if test -n "$ac_pt_DX_PERL"; then
3551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
3552 $as_echo "$ac_pt_DX_PERL" >&6; }
3553 else
3554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3555 $as_echo "no" >&6; }
3556 fi
3557
3558   if test "x$ac_pt_DX_PERL" = x; then
3559     DX_PERL=""
3560   else
3561     case $cross_compiling:$ac_tool_warned in
3562 yes:)
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3565 ac_tool_warned=yes ;;
3566 esac
3567     DX_PERL=$ac_pt_DX_PERL
3568   fi
3569 else
3570   DX_PERL="$ac_cv_path_DX_PERL"
3571 fi
3572
3573 if test "$DX_FLAG_doc$DX_PERL" = 1; then
3574     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
3575 $as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
3576     DX_FLAG_doc=0
3577
3578 fi
3579
3580     :
3581 fi
3582 if test "$DX_FLAG_doc" = 1; then
3583      if :; then
3584   DX_COND_doc_TRUE=
3585   DX_COND_doc_FALSE='#'
3586 else
3587   DX_COND_doc_TRUE='#'
3588   DX_COND_doc_FALSE=
3589 fi
3590
3591     DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
3592
3593     :
3594 else
3595      if false; then
3596   DX_COND_doc_TRUE=
3597   DX_COND_doc_FALSE='#'
3598 else
3599   DX_COND_doc_TRUE='#'
3600   DX_COND_doc_FALSE=
3601 fi
3602
3603
3604     :
3605 fi
3606
3607
3608 # Dot for graphics:
3609
3610
3611
3612
3613     # Check whether --enable-doxygen-dot was given.
3614 if test "${enable_doxygen_dot+set}" = set; then :
3615   enableval=$enable_doxygen_dot;
3616 case "$enableval" in
3617 #(
3618 y|Y|yes|Yes|YES)
3619     DX_FLAG_dot=1
3620
3621
3622 test "$DX_FLAG_doc" = "1" \
3623 || as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
3624
3625 ;; #(
3626 n|N|no|No|NO)
3627     DX_FLAG_dot=0
3628
3629 ;; #(
3630 *)
3631     as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
3632 ;;
3633 esac
3634
3635 else
3636
3637 DX_FLAG_dot=1
3638
3639
3640 test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
3641
3642
3643
3644 fi
3645
3646 if test "$DX_FLAG_dot" = 1; then
3647
3648 if test -n "$ac_tool_prefix"; then
3649   # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
3650 set dummy ${ac_tool_prefix}dot; ac_word=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if ${ac_cv_path_DX_DOT+:} false; then :
3654   $as_echo_n "(cached) " >&6
3655 else
3656   case $DX_DOT in
3657   [\\/]* | ?:[\\/]*)
3658   ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
3659   ;;
3660   *)
3661   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3662 for as_dir in $PATH
3663 do
3664   IFS=$as_save_IFS
3665   test -z "$as_dir" && as_dir=.
3666     for ac_exec_ext in '' $ac_executable_extensions; do
3667   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3668     ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
3669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3670     break 2
3671   fi
3672 done
3673   done
3674 IFS=$as_save_IFS
3675
3676   ;;
3677 esac
3678 fi
3679 DX_DOT=$ac_cv_path_DX_DOT
3680 if test -n "$DX_DOT"; then
3681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
3682 $as_echo "$DX_DOT" >&6; }
3683 else
3684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3686 fi
3687
3688
3689 fi
3690 if test -z "$ac_cv_path_DX_DOT"; then
3691   ac_pt_DX_DOT=$DX_DOT
3692   # Extract the first word of "dot", so it can be a program name with args.
3693 set dummy dot; ac_word=$2
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3695 $as_echo_n "checking for $ac_word... " >&6; }
3696 if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
3697   $as_echo_n "(cached) " >&6
3698 else
3699   case $ac_pt_DX_DOT in
3700   [\\/]* | ?:[\\/]*)
3701   ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
3702   ;;
3703   *)
3704   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3705 for as_dir in $PATH
3706 do
3707   IFS=$as_save_IFS
3708   test -z "$as_dir" && as_dir=.
3709     for ac_exec_ext in '' $ac_executable_extensions; do
3710   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3711     ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
3712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3713     break 2
3714   fi
3715 done
3716   done
3717 IFS=$as_save_IFS
3718
3719   ;;
3720 esac
3721 fi
3722 ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
3723 if test -n "$ac_pt_DX_DOT"; then
3724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
3725 $as_echo "$ac_pt_DX_DOT" >&6; }
3726 else
3727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3729 fi
3730
3731   if test "x$ac_pt_DX_DOT" = x; then
3732     DX_DOT=""
3733   else
3734     case $cross_compiling:$ac_tool_warned in
3735 yes:)
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3738 ac_tool_warned=yes ;;
3739 esac
3740     DX_DOT=$ac_pt_DX_DOT
3741   fi
3742 else
3743   DX_DOT="$ac_cv_path_DX_DOT"
3744 fi
3745
3746 if test "$DX_FLAG_dot$DX_DOT" = 1; then
3747     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
3748 $as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
3749     DX_FLAG_dot=0
3750
3751 fi
3752
3753     :
3754 fi
3755 if test "$DX_FLAG_dot" = 1; then
3756      if :; then
3757   DX_COND_dot_TRUE=
3758   DX_COND_dot_FALSE='#'
3759 else
3760   DX_COND_dot_TRUE='#'
3761   DX_COND_dot_FALSE=
3762 fi
3763
3764     DX_ENV="$DX_ENV HAVE_DOT='YES'"
3765
3766              DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
3767
3768     :
3769 else
3770      if false; then
3771   DX_COND_dot_TRUE=
3772   DX_COND_dot_FALSE='#'
3773 else
3774   DX_COND_dot_TRUE='#'
3775   DX_COND_dot_FALSE=
3776 fi
3777
3778     DX_ENV="$DX_ENV HAVE_DOT='NO'"
3779
3780     :
3781 fi
3782
3783
3784 # Man pages generation:
3785
3786
3787
3788
3789     # Check whether --enable-doxygen-man was given.
3790 if test "${enable_doxygen_man+set}" = set; then :
3791   enableval=$enable_doxygen_man;
3792 case "$enableval" in
3793 #(
3794 y|Y|yes|Yes|YES)
3795     DX_FLAG_man=1
3796
3797
3798 test "$DX_FLAG_doc" = "1" \
3799 || as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
3800
3801 ;; #(
3802 n|N|no|No|NO)
3803     DX_FLAG_man=0
3804
3805 ;; #(
3806 *)
3807     as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
3808 ;;
3809 esac
3810
3811 else
3812
3813 DX_FLAG_man=0
3814
3815
3816 test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
3817
3818
3819
3820 fi
3821
3822 if test "$DX_FLAG_man" = 1; then
3823
3824     :
3825 fi
3826 if test "$DX_FLAG_man" = 1; then
3827      if :; then
3828   DX_COND_man_TRUE=
3829   DX_COND_man_FALSE='#'
3830 else
3831   DX_COND_man_TRUE='#'
3832   DX_COND_man_FALSE=
3833 fi
3834
3835     DX_ENV="$DX_ENV GENERATE_MAN='YES'"
3836
3837     :
3838 else
3839      if false; then
3840   DX_COND_man_TRUE=
3841   DX_COND_man_FALSE='#'
3842 else
3843   DX_COND_man_TRUE='#'
3844   DX_COND_man_FALSE=
3845 fi
3846
3847     DX_ENV="$DX_ENV GENERATE_MAN='NO'"
3848
3849     :
3850 fi
3851
3852
3853 # RTF file generation:
3854
3855
3856
3857
3858     # Check whether --enable-doxygen-rtf was given.
3859 if test "${enable_doxygen_rtf+set}" = set; then :
3860   enableval=$enable_doxygen_rtf;
3861 case "$enableval" in
3862 #(
3863 y|Y|yes|Yes|YES)
3864     DX_FLAG_rtf=1
3865
3866
3867 test "$DX_FLAG_doc" = "1" \
3868 || as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
3869
3870 ;; #(
3871 n|N|no|No|NO)
3872     DX_FLAG_rtf=0
3873
3874 ;; #(
3875 *)
3876     as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
3877 ;;
3878 esac
3879
3880 else
3881
3882 DX_FLAG_rtf=0
3883
3884
3885 test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
3886
3887
3888
3889 fi
3890
3891 if test "$DX_FLAG_rtf" = 1; then
3892
3893     :
3894 fi
3895 if test "$DX_FLAG_rtf" = 1; then
3896      if :; then
3897   DX_COND_rtf_TRUE=
3898   DX_COND_rtf_FALSE='#'
3899 else
3900   DX_COND_rtf_TRUE='#'
3901   DX_COND_rtf_FALSE=
3902 fi
3903
3904     DX_ENV="$DX_ENV GENERATE_RTF='YES'"
3905
3906     :
3907 else
3908      if false; then
3909   DX_COND_rtf_TRUE=
3910   DX_COND_rtf_FALSE='#'
3911 else
3912   DX_COND_rtf_TRUE='#'
3913   DX_COND_rtf_FALSE=
3914 fi
3915
3916     DX_ENV="$DX_ENV GENERATE_RTF='NO'"
3917
3918     :
3919 fi
3920
3921
3922 # XML file generation:
3923
3924
3925
3926
3927     # Check whether --enable-doxygen-xml was given.
3928 if test "${enable_doxygen_xml+set}" = set; then :
3929   enableval=$enable_doxygen_xml;
3930 case "$enableval" in
3931 #(
3932 y|Y|yes|Yes|YES)
3933     DX_FLAG_xml=1
3934
3935
3936 test "$DX_FLAG_doc" = "1" \
3937 || as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
3938
3939 ;; #(
3940 n|N|no|No|NO)
3941     DX_FLAG_xml=0
3942
3943 ;; #(
3944 *)
3945     as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
3946 ;;
3947 esac
3948
3949 else
3950
3951 DX_FLAG_xml=0
3952
3953
3954 test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
3955
3956
3957
3958 fi
3959
3960 if test "$DX_FLAG_xml" = 1; then
3961
3962     :
3963 fi
3964 if test "$DX_FLAG_xml" = 1; then
3965      if :; then
3966   DX_COND_xml_TRUE=
3967   DX_COND_xml_FALSE='#'
3968 else
3969   DX_COND_xml_TRUE='#'
3970   DX_COND_xml_FALSE=
3971 fi
3972
3973     DX_ENV="$DX_ENV GENERATE_XML='YES'"
3974
3975     :
3976 else
3977      if false; then
3978   DX_COND_xml_TRUE=
3979   DX_COND_xml_FALSE='#'
3980 else
3981   DX_COND_xml_TRUE='#'
3982   DX_COND_xml_FALSE=
3983 fi
3984
3985     DX_ENV="$DX_ENV GENERATE_XML='NO'"
3986
3987     :
3988 fi
3989
3990
3991 # (Compressed) HTML help generation:
3992
3993
3994
3995
3996     # Check whether --enable-doxygen-chm was given.
3997 if test "${enable_doxygen_chm+set}" = set; then :
3998   enableval=$enable_doxygen_chm;
3999 case "$enableval" in
4000 #(
4001 y|Y|yes|Yes|YES)
4002     DX_FLAG_chm=1
4003
4004
4005 test "$DX_FLAG_doc" = "1" \
4006 || as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
4007
4008 ;; #(
4009 n|N|no|No|NO)
4010     DX_FLAG_chm=0
4011
4012 ;; #(
4013 *)
4014     as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
4015 ;;
4016 esac
4017
4018 else
4019
4020 DX_FLAG_chm=0
4021
4022
4023 test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
4024
4025
4026
4027 fi
4028
4029 if test "$DX_FLAG_chm" = 1; then
4030
4031 if test -n "$ac_tool_prefix"; then
4032   # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
4033 set dummy ${ac_tool_prefix}hhc; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_path_DX_HHC+:} false; then :
4037   $as_echo_n "(cached) " >&6
4038 else
4039   case $DX_HHC in
4040   [\\/]* | ?:[\\/]*)
4041   ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
4042   ;;
4043   *)
4044   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4045 for as_dir in $PATH
4046 do
4047   IFS=$as_save_IFS
4048   test -z "$as_dir" && as_dir=.
4049     for ac_exec_ext in '' $ac_executable_extensions; do
4050   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4051     ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
4052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4053     break 2
4054   fi
4055 done
4056   done
4057 IFS=$as_save_IFS
4058
4059   ;;
4060 esac
4061 fi
4062 DX_HHC=$ac_cv_path_DX_HHC
4063 if test -n "$DX_HHC"; then
4064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
4065 $as_echo "$DX_HHC" >&6; }
4066 else
4067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4068 $as_echo "no" >&6; }
4069 fi
4070
4071
4072 fi
4073 if test -z "$ac_cv_path_DX_HHC"; then
4074   ac_pt_DX_HHC=$DX_HHC
4075   # Extract the first word of "hhc", so it can be a program name with args.
4076 set dummy hhc; ac_word=$2
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4078 $as_echo_n "checking for $ac_word... " >&6; }
4079 if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
4080   $as_echo_n "(cached) " >&6
4081 else
4082   case $ac_pt_DX_HHC in
4083   [\\/]* | ?:[\\/]*)
4084   ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
4085   ;;
4086   *)
4087   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4088 for as_dir in $PATH
4089 do
4090   IFS=$as_save_IFS
4091   test -z "$as_dir" && as_dir=.
4092     for ac_exec_ext in '' $ac_executable_extensions; do
4093   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094     ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
4095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4096     break 2
4097   fi
4098 done
4099   done
4100 IFS=$as_save_IFS
4101
4102   ;;
4103 esac
4104 fi
4105 ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
4106 if test -n "$ac_pt_DX_HHC"; then
4107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
4108 $as_echo "$ac_pt_DX_HHC" >&6; }
4109 else
4110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4111 $as_echo "no" >&6; }
4112 fi
4113
4114   if test "x$ac_pt_DX_HHC" = x; then
4115     DX_HHC=""
4116   else
4117     case $cross_compiling:$ac_tool_warned in
4118 yes:)
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4121 ac_tool_warned=yes ;;
4122 esac
4123     DX_HHC=$ac_pt_DX_HHC
4124   fi
4125 else
4126   DX_HHC="$ac_cv_path_DX_HHC"
4127 fi
4128
4129 if test "$DX_FLAG_chm$DX_HHC" = 1; then
4130     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
4131 $as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
4132     DX_FLAG_chm=0
4133
4134 fi
4135
4136     :
4137 fi
4138 if test "$DX_FLAG_chm" = 1; then
4139      if :; then
4140   DX_COND_chm_TRUE=
4141   DX_COND_chm_FALSE='#'
4142 else
4143   DX_COND_chm_TRUE='#'
4144   DX_COND_chm_FALSE=
4145 fi
4146
4147     DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
4148
4149              DX_ENV="$DX_ENV GENERATE_HTML='YES'"
4150
4151              DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
4152
4153     :
4154 else
4155      if false; then
4156   DX_COND_chm_TRUE=
4157   DX_COND_chm_FALSE='#'
4158 else
4159   DX_COND_chm_TRUE='#'
4160   DX_COND_chm_FALSE=
4161 fi
4162
4163     DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
4164
4165     :
4166 fi
4167
4168
4169 # Seperate CHI file generation.
4170
4171
4172
4173
4174     # Check whether --enable-doxygen-chi was given.
4175 if test "${enable_doxygen_chi+set}" = set; then :
4176   enableval=$enable_doxygen_chi;
4177 case "$enableval" in
4178 #(
4179 y|Y|yes|Yes|YES)
4180     DX_FLAG_chi=1
4181
4182
4183 test "$DX_FLAG_chm" = "1" \
4184 || as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
4185
4186 ;; #(
4187 n|N|no|No|NO)
4188     DX_FLAG_chi=0
4189
4190 ;; #(
4191 *)
4192     as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
4193 ;;
4194 esac
4195
4196 else
4197
4198 DX_FLAG_chi=0
4199
4200
4201 test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
4202
4203
4204
4205 fi
4206
4207 if test "$DX_FLAG_chi" = 1; then
4208
4209     :
4210 fi
4211 if test "$DX_FLAG_chi" = 1; then
4212      if :; then
4213   DX_COND_chi_TRUE=
4214   DX_COND_chi_FALSE='#'
4215 else
4216   DX_COND_chi_TRUE='#'
4217   DX_COND_chi_FALSE=
4218 fi
4219
4220     DX_ENV="$DX_ENV GENERATE_CHI='YES'"
4221
4222     :
4223 else
4224      if false; then
4225   DX_COND_chi_TRUE=
4226   DX_COND_chi_FALSE='#'
4227 else
4228   DX_COND_chi_TRUE='#'
4229   DX_COND_chi_FALSE=
4230 fi
4231
4232     DX_ENV="$DX_ENV GENERATE_CHI='NO'"
4233
4234     :
4235 fi
4236
4237
4238 # Plain HTML pages generation:
4239
4240
4241
4242
4243     # Check whether --enable-doxygen-html was given.
4244 if test "${enable_doxygen_html+set}" = set; then :
4245   enableval=$enable_doxygen_html;
4246 case "$enableval" in
4247 #(
4248 y|Y|yes|Yes|YES)
4249     DX_FLAG_html=1
4250
4251
4252 test "$DX_FLAG_doc" = "1" \
4253 || as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
4254
4255 test "$DX_FLAG_chm" = "0" \
4256 || as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
4257
4258 ;; #(
4259 n|N|no|No|NO)
4260     DX_FLAG_html=0
4261
4262 ;; #(
4263 *)
4264     as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
4265 ;;
4266 esac
4267
4268 else
4269
4270 DX_FLAG_html=1
4271
4272
4273 test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
4274
4275
4276 test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
4277
4278
4279
4280 fi
4281
4282 if test "$DX_FLAG_html" = 1; then
4283
4284     :
4285 fi
4286 if test "$DX_FLAG_html" = 1; then
4287      if :; then
4288   DX_COND_html_TRUE=
4289   DX_COND_html_FALSE='#'
4290 else
4291   DX_COND_html_TRUE='#'
4292   DX_COND_html_FALSE=
4293 fi
4294
4295     DX_ENV="$DX_ENV GENERATE_HTML='YES'"
4296
4297     :
4298 else
4299      if false; then
4300   DX_COND_html_TRUE=
4301   DX_COND_html_FALSE='#'
4302 else
4303   DX_COND_html_TRUE='#'
4304   DX_COND_html_FALSE=
4305 fi
4306
4307     test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
4308
4309     :
4310 fi
4311
4312
4313 # PostScript file generation:
4314
4315
4316
4317
4318     # Check whether --enable-doxygen-ps was given.
4319 if test "${enable_doxygen_ps+set}" = set; then :
4320   enableval=$enable_doxygen_ps;
4321 case "$enableval" in
4322 #(
4323 y|Y|yes|Yes|YES)
4324     DX_FLAG_ps=1
4325
4326
4327 test "$DX_FLAG_doc" = "1" \
4328 || as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
4329
4330 ;; #(
4331 n|N|no|No|NO)
4332     DX_FLAG_ps=0
4333
4334 ;; #(
4335 *)
4336     as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
4337 ;;
4338 esac
4339
4340 else
4341
4342 DX_FLAG_ps=0
4343
4344
4345 test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
4346
4347
4348
4349 fi
4350
4351 if test "$DX_FLAG_ps" = 1; then
4352
4353 if test -n "$ac_tool_prefix"; then
4354   # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
4355 set dummy ${ac_tool_prefix}latex; ac_word=$2
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4357 $as_echo_n "checking for $ac_word... " >&6; }
4358 if ${ac_cv_path_DX_LATEX+:} false; then :
4359   $as_echo_n "(cached) " >&6
4360 else
4361   case $DX_LATEX in
4362   [\\/]* | ?:[\\/]*)
4363   ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
4364   ;;
4365   *)
4366   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4367 for as_dir in $PATH
4368 do
4369   IFS=$as_save_IFS
4370   test -z "$as_dir" && as_dir=.
4371     for ac_exec_ext in '' $ac_executable_extensions; do
4372   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4373     ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
4374     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4375     break 2
4376   fi
4377 done
4378   done
4379 IFS=$as_save_IFS
4380
4381   ;;
4382 esac
4383 fi
4384 DX_LATEX=$ac_cv_path_DX_LATEX
4385 if test -n "$DX_LATEX"; then
4386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
4387 $as_echo "$DX_LATEX" >&6; }
4388 else
4389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4391 fi
4392
4393
4394 fi
4395 if test -z "$ac_cv_path_DX_LATEX"; then
4396   ac_pt_DX_LATEX=$DX_LATEX
4397   # Extract the first word of "latex", so it can be a program name with args.
4398 set dummy latex; ac_word=$2
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4400 $as_echo_n "checking for $ac_word... " >&6; }
4401 if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
4402   $as_echo_n "(cached) " >&6
4403 else
4404   case $ac_pt_DX_LATEX in
4405   [\\/]* | ?:[\\/]*)
4406   ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
4407   ;;
4408   *)
4409   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 for as_dir in $PATH
4411 do
4412   IFS=$as_save_IFS
4413   test -z "$as_dir" && as_dir=.
4414     for ac_exec_ext in '' $ac_executable_extensions; do
4415   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4416     ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
4417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4418     break 2
4419   fi
4420 done
4421   done
4422 IFS=$as_save_IFS
4423
4424   ;;
4425 esac
4426 fi
4427 ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
4428 if test -n "$ac_pt_DX_LATEX"; then
4429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
4430 $as_echo "$ac_pt_DX_LATEX" >&6; }
4431 else
4432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4434 fi
4435
4436   if test "x$ac_pt_DX_LATEX" = x; then
4437     DX_LATEX=""
4438   else
4439     case $cross_compiling:$ac_tool_warned in
4440 yes:)
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4443 ac_tool_warned=yes ;;
4444 esac
4445     DX_LATEX=$ac_pt_DX_LATEX
4446   fi
4447 else
4448   DX_LATEX="$ac_cv_path_DX_LATEX"
4449 fi
4450
4451 if test "$DX_FLAG_ps$DX_LATEX" = 1; then
4452     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
4453 $as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
4454     DX_FLAG_ps=0
4455
4456 fi
4457
4458
4459 if test -n "$ac_tool_prefix"; then
4460   # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
4461 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4463 $as_echo_n "checking for $ac_word... " >&6; }
4464 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
4465   $as_echo_n "(cached) " >&6
4466 else
4467   case $DX_MAKEINDEX in
4468   [\\/]* | ?:[\\/]*)
4469   ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
4470   ;;
4471   *)
4472   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4473 for as_dir in $PATH
4474 do
4475   IFS=$as_save_IFS
4476   test -z "$as_dir" && as_dir=.
4477     for ac_exec_ext in '' $ac_executable_extensions; do
4478   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4479     ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
4480     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481     break 2
4482   fi
4483 done
4484   done
4485 IFS=$as_save_IFS
4486
4487   ;;
4488 esac
4489 fi
4490 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
4491 if test -n "$DX_MAKEINDEX"; then
4492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
4493 $as_echo "$DX_MAKEINDEX" >&6; }
4494 else
4495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4496 $as_echo "no" >&6; }
4497 fi
4498
4499
4500 fi
4501 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
4502   ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
4503   # Extract the first word of "makeindex", so it can be a program name with args.
4504 set dummy makeindex; ac_word=$2
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4506 $as_echo_n "checking for $ac_word... " >&6; }
4507 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
4508   $as_echo_n "(cached) " >&6
4509 else
4510   case $ac_pt_DX_MAKEINDEX in
4511   [\\/]* | ?:[\\/]*)
4512   ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
4513   ;;
4514   *)
4515   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 for as_dir in $PATH
4517 do
4518   IFS=$as_save_IFS
4519   test -z "$as_dir" && as_dir=.
4520     for ac_exec_ext in '' $ac_executable_extensions; do
4521   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4522     ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
4523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4524     break 2
4525   fi
4526 done
4527   done
4528 IFS=$as_save_IFS
4529
4530   ;;
4531 esac
4532 fi
4533 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
4534 if test -n "$ac_pt_DX_MAKEINDEX"; then
4535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
4536 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
4537 else
4538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4539 $as_echo "no" >&6; }
4540 fi
4541
4542   if test "x$ac_pt_DX_MAKEINDEX" = x; then
4543     DX_MAKEINDEX=""
4544   else
4545     case $cross_compiling:$ac_tool_warned in
4546 yes:)
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4549 ac_tool_warned=yes ;;
4550 esac
4551     DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
4552   fi
4553 else
4554   DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
4555 fi
4556
4557 if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
4558     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
4559 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
4560     DX_FLAG_ps=0
4561
4562 fi
4563
4564
4565 if test -n "$ac_tool_prefix"; then
4566   # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
4567 set dummy ${ac_tool_prefix}dvips; ac_word=$2
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4569 $as_echo_n "checking for $ac_word... " >&6; }
4570 if ${ac_cv_path_DX_DVIPS+:} false; then :
4571   $as_echo_n "(cached) " >&6
4572 else
4573   case $DX_DVIPS in
4574   [\\/]* | ?:[\\/]*)
4575   ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
4576   ;;
4577   *)
4578   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579 for as_dir in $PATH
4580 do
4581   IFS=$as_save_IFS
4582   test -z "$as_dir" && as_dir=.
4583     for ac_exec_ext in '' $ac_executable_extensions; do
4584   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4585     ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
4586     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4587     break 2
4588   fi
4589 done
4590   done
4591 IFS=$as_save_IFS
4592
4593   ;;
4594 esac
4595 fi
4596 DX_DVIPS=$ac_cv_path_DX_DVIPS
4597 if test -n "$DX_DVIPS"; then
4598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
4599 $as_echo "$DX_DVIPS" >&6; }
4600 else
4601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4602 $as_echo "no" >&6; }
4603 fi
4604
4605
4606 fi
4607 if test -z "$ac_cv_path_DX_DVIPS"; then
4608   ac_pt_DX_DVIPS=$DX_DVIPS
4609   # Extract the first word of "dvips", so it can be a program name with args.
4610 set dummy dvips; ac_word=$2
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4612 $as_echo_n "checking for $ac_word... " >&6; }
4613 if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
4614   $as_echo_n "(cached) " >&6
4615 else
4616   case $ac_pt_DX_DVIPS in
4617   [\\/]* | ?:[\\/]*)
4618   ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
4619   ;;
4620   *)
4621   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4622 for as_dir in $PATH
4623 do
4624   IFS=$as_save_IFS
4625   test -z "$as_dir" && as_dir=.
4626     for ac_exec_ext in '' $ac_executable_extensions; do
4627   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4628     ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
4629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4630     break 2
4631   fi
4632 done
4633   done
4634 IFS=$as_save_IFS
4635
4636   ;;
4637 esac
4638 fi
4639 ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
4640 if test -n "$ac_pt_DX_DVIPS"; then
4641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
4642 $as_echo "$ac_pt_DX_DVIPS" >&6; }
4643 else
4644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4645 $as_echo "no" >&6; }
4646 fi
4647
4648   if test "x$ac_pt_DX_DVIPS" = x; then
4649     DX_DVIPS=""
4650   else
4651     case $cross_compiling:$ac_tool_warned in
4652 yes:)
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4655 ac_tool_warned=yes ;;
4656 esac
4657     DX_DVIPS=$ac_pt_DX_DVIPS
4658   fi
4659 else
4660   DX_DVIPS="$ac_cv_path_DX_DVIPS"
4661 fi
4662
4663 if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
4664     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
4665 $as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
4666     DX_FLAG_ps=0
4667
4668 fi
4669
4670
4671 if test -n "$ac_tool_prefix"; then
4672   # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
4673 set dummy ${ac_tool_prefix}egrep; ac_word=$2
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4675 $as_echo_n "checking for $ac_word... " >&6; }
4676 if ${ac_cv_path_DX_EGREP+:} false; then :
4677   $as_echo_n "(cached) " >&6
4678 else
4679   case $DX_EGREP in
4680   [\\/]* | ?:[\\/]*)
4681   ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
4682   ;;
4683   *)
4684   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4685 for as_dir in $PATH
4686 do
4687   IFS=$as_save_IFS
4688   test -z "$as_dir" && as_dir=.
4689     for ac_exec_ext in '' $ac_executable_extensions; do
4690   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4691     ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
4692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4693     break 2
4694   fi
4695 done
4696   done
4697 IFS=$as_save_IFS
4698
4699   ;;
4700 esac
4701 fi
4702 DX_EGREP=$ac_cv_path_DX_EGREP
4703 if test -n "$DX_EGREP"; then
4704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
4705 $as_echo "$DX_EGREP" >&6; }
4706 else
4707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4708 $as_echo "no" >&6; }
4709 fi
4710
4711
4712 fi
4713 if test -z "$ac_cv_path_DX_EGREP"; then
4714   ac_pt_DX_EGREP=$DX_EGREP
4715   # Extract the first word of "egrep", so it can be a program name with args.
4716 set dummy egrep; ac_word=$2
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4718 $as_echo_n "checking for $ac_word... " >&6; }
4719 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
4720   $as_echo_n "(cached) " >&6
4721 else
4722   case $ac_pt_DX_EGREP in
4723   [\\/]* | ?:[\\/]*)
4724   ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
4725   ;;
4726   *)
4727   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4728 for as_dir in $PATH
4729 do
4730   IFS=$as_save_IFS
4731   test -z "$as_dir" && as_dir=.
4732     for ac_exec_ext in '' $ac_executable_extensions; do
4733   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4734     ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
4735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4736     break 2
4737   fi
4738 done
4739   done
4740 IFS=$as_save_IFS
4741
4742   ;;
4743 esac
4744 fi
4745 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
4746 if test -n "$ac_pt_DX_EGREP"; then
4747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
4748 $as_echo "$ac_pt_DX_EGREP" >&6; }
4749 else
4750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751 $as_echo "no" >&6; }
4752 fi
4753
4754   if test "x$ac_pt_DX_EGREP" = x; then
4755     DX_EGREP=""
4756   else
4757     case $cross_compiling:$ac_tool_warned in
4758 yes:)
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4761 ac_tool_warned=yes ;;
4762 esac
4763     DX_EGREP=$ac_pt_DX_EGREP
4764   fi
4765 else
4766   DX_EGREP="$ac_cv_path_DX_EGREP"
4767 fi
4768
4769 if test "$DX_FLAG_ps$DX_EGREP" = 1; then
4770     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
4771 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
4772     DX_FLAG_ps=0
4773
4774 fi
4775
4776     :
4777 fi
4778 if test "$DX_FLAG_ps" = 1; then
4779      if :; then
4780   DX_COND_ps_TRUE=
4781   DX_COND_ps_FALSE='#'
4782 else
4783   DX_COND_ps_TRUE='#'
4784   DX_COND_ps_FALSE=
4785 fi
4786
4787
4788     :
4789 else
4790      if false; then
4791   DX_COND_ps_TRUE=
4792   DX_COND_ps_FALSE='#'
4793 else
4794   DX_COND_ps_TRUE='#'
4795   DX_COND_ps_FALSE=
4796 fi
4797
4798
4799     :
4800 fi
4801
4802
4803 # PDF file generation:
4804
4805
4806
4807
4808     # Check whether --enable-doxygen-pdf was given.
4809 if test "${enable_doxygen_pdf+set}" = set; then :
4810   enableval=$enable_doxygen_pdf;
4811 case "$enableval" in
4812 #(
4813 y|Y|yes|Yes|YES)
4814     DX_FLAG_pdf=1
4815
4816
4817 test "$DX_FLAG_doc" = "1" \
4818 || as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
4819
4820 ;; #(
4821 n|N|no|No|NO)
4822     DX_FLAG_pdf=0
4823
4824 ;; #(
4825 *)
4826     as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
4827 ;;
4828 esac
4829
4830 else
4831
4832 DX_FLAG_pdf=0
4833
4834
4835 test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
4836
4837
4838
4839 fi
4840
4841 if test "$DX_FLAG_pdf" = 1; then
4842
4843 if test -n "$ac_tool_prefix"; then
4844   # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
4845 set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4847 $as_echo_n "checking for $ac_word... " >&6; }
4848 if ${ac_cv_path_DX_PDFLATEX+:} false; then :
4849   $as_echo_n "(cached) " >&6
4850 else
4851   case $DX_PDFLATEX in
4852   [\\/]* | ?:[\\/]*)
4853   ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
4854   ;;
4855   *)
4856   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4857 for as_dir in $PATH
4858 do
4859   IFS=$as_save_IFS
4860   test -z "$as_dir" && as_dir=.
4861     for ac_exec_ext in '' $ac_executable_extensions; do
4862   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4863     ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
4864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865     break 2
4866   fi
4867 done
4868   done
4869 IFS=$as_save_IFS
4870
4871   ;;
4872 esac
4873 fi
4874 DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
4875 if test -n "$DX_PDFLATEX"; then
4876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
4877 $as_echo "$DX_PDFLATEX" >&6; }
4878 else
4879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4880 $as_echo "no" >&6; }
4881 fi
4882
4883
4884 fi
4885 if test -z "$ac_cv_path_DX_PDFLATEX"; then
4886   ac_pt_DX_PDFLATEX=$DX_PDFLATEX
4887   # Extract the first word of "pdflatex", so it can be a program name with args.
4888 set dummy pdflatex; ac_word=$2
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4890 $as_echo_n "checking for $ac_word... " >&6; }
4891 if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
4892   $as_echo_n "(cached) " >&6
4893 else
4894   case $ac_pt_DX_PDFLATEX in
4895   [\\/]* | ?:[\\/]*)
4896   ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
4897   ;;
4898   *)
4899   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4900 for as_dir in $PATH
4901 do
4902   IFS=$as_save_IFS
4903   test -z "$as_dir" && as_dir=.
4904     for ac_exec_ext in '' $ac_executable_extensions; do
4905   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4906     ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
4907     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4908     break 2
4909   fi
4910 done
4911   done
4912 IFS=$as_save_IFS
4913
4914   ;;
4915 esac
4916 fi
4917 ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
4918 if test -n "$ac_pt_DX_PDFLATEX"; then
4919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
4920 $as_echo "$ac_pt_DX_PDFLATEX" >&6; }
4921 else
4922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4924 fi
4925
4926   if test "x$ac_pt_DX_PDFLATEX" = x; then
4927     DX_PDFLATEX=""
4928   else
4929     case $cross_compiling:$ac_tool_warned in
4930 yes:)
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4933 ac_tool_warned=yes ;;
4934 esac
4935     DX_PDFLATEX=$ac_pt_DX_PDFLATEX
4936   fi
4937 else
4938   DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
4939 fi
4940
4941 if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
4942     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
4943 $as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
4944     DX_FLAG_pdf=0
4945
4946 fi
4947
4948
4949 if test -n "$ac_tool_prefix"; then
4950   # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
4951 set dummy ${ac_tool_prefix}makeindex; ac_word=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 $as_echo_n "checking for $ac_word... " >&6; }
4954 if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
4955   $as_echo_n "(cached) " >&6
4956 else
4957   case $DX_MAKEINDEX in
4958   [\\/]* | ?:[\\/]*)
4959   ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
4960   ;;
4961   *)
4962   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4963 for as_dir in $PATH
4964 do
4965   IFS=$as_save_IFS
4966   test -z "$as_dir" && as_dir=.
4967     for ac_exec_ext in '' $ac_executable_extensions; do
4968   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4969     ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
4970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4971     break 2
4972   fi
4973 done
4974   done
4975 IFS=$as_save_IFS
4976
4977   ;;
4978 esac
4979 fi
4980 DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
4981 if test -n "$DX_MAKEINDEX"; then
4982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
4983 $as_echo "$DX_MAKEINDEX" >&6; }
4984 else
4985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 $as_echo "no" >&6; }
4987 fi
4988
4989
4990 fi
4991 if test -z "$ac_cv_path_DX_MAKEINDEX"; then
4992   ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
4993   # Extract the first word of "makeindex", so it can be a program name with args.
4994 set dummy makeindex; ac_word=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
4998   $as_echo_n "(cached) " >&6
4999 else
5000   case $ac_pt_DX_MAKEINDEX in
5001   [\\/]* | ?:[\\/]*)
5002   ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
5003   ;;
5004   *)
5005   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5006 for as_dir in $PATH
5007 do
5008   IFS=$as_save_IFS
5009   test -z "$as_dir" && as_dir=.
5010     for ac_exec_ext in '' $ac_executable_extensions; do
5011   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5012     ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
5013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5014     break 2
5015   fi
5016 done
5017   done
5018 IFS=$as_save_IFS
5019
5020   ;;
5021 esac
5022 fi
5023 ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
5024 if test -n "$ac_pt_DX_MAKEINDEX"; then
5025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
5026 $as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
5027 else
5028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5030 fi
5031
5032   if test "x$ac_pt_DX_MAKEINDEX" = x; then
5033     DX_MAKEINDEX=""
5034   else
5035     case $cross_compiling:$ac_tool_warned in
5036 yes:)
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5039 ac_tool_warned=yes ;;
5040 esac
5041     DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
5042   fi
5043 else
5044   DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
5045 fi
5046
5047 if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
5048     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
5049 $as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
5050     DX_FLAG_pdf=0
5051
5052 fi
5053
5054
5055 if test -n "$ac_tool_prefix"; then
5056   # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
5057 set dummy ${ac_tool_prefix}egrep; ac_word=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if ${ac_cv_path_DX_EGREP+:} false; then :
5061   $as_echo_n "(cached) " >&6
5062 else
5063   case $DX_EGREP in
5064   [\\/]* | ?:[\\/]*)
5065   ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
5066   ;;
5067   *)
5068   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069 for as_dir in $PATH
5070 do
5071   IFS=$as_save_IFS
5072   test -z "$as_dir" && as_dir=.
5073     for ac_exec_ext in '' $ac_executable_extensions; do
5074   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5075     ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
5076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5077     break 2
5078   fi
5079 done
5080   done
5081 IFS=$as_save_IFS
5082
5083   ;;
5084 esac
5085 fi
5086 DX_EGREP=$ac_cv_path_DX_EGREP
5087 if test -n "$DX_EGREP"; then
5088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
5089 $as_echo "$DX_EGREP" >&6; }
5090 else
5091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5092 $as_echo "no" >&6; }
5093 fi
5094
5095
5096 fi
5097 if test -z "$ac_cv_path_DX_EGREP"; then
5098   ac_pt_DX_EGREP=$DX_EGREP
5099   # Extract the first word of "egrep", so it can be a program name with args.
5100 set dummy egrep; ac_word=$2
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5102 $as_echo_n "checking for $ac_word... " >&6; }
5103 if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
5104   $as_echo_n "(cached) " >&6
5105 else
5106   case $ac_pt_DX_EGREP in
5107   [\\/]* | ?:[\\/]*)
5108   ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
5109   ;;
5110   *)
5111   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112 for as_dir in $PATH
5113 do
5114   IFS=$as_save_IFS
5115   test -z "$as_dir" && as_dir=.
5116     for ac_exec_ext in '' $ac_executable_extensions; do
5117   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5118     ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
5119     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5120     break 2
5121   fi
5122 done
5123   done
5124 IFS=$as_save_IFS
5125
5126   ;;
5127 esac
5128 fi
5129 ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
5130 if test -n "$ac_pt_DX_EGREP"; then
5131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
5132 $as_echo "$ac_pt_DX_EGREP" >&6; }
5133 else
5134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5135 $as_echo "no" >&6; }
5136 fi
5137
5138   if test "x$ac_pt_DX_EGREP" = x; then
5139     DX_EGREP=""
5140   else
5141     case $cross_compiling:$ac_tool_warned in
5142 yes:)
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5145 ac_tool_warned=yes ;;
5146 esac
5147     DX_EGREP=$ac_pt_DX_EGREP
5148   fi
5149 else
5150   DX_EGREP="$ac_cv_path_DX_EGREP"
5151 fi
5152
5153 if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
5154     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
5155 $as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
5156     DX_FLAG_pdf=0
5157
5158 fi
5159
5160     :
5161 fi
5162 if test "$DX_FLAG_pdf" = 1; then
5163      if :; then
5164   DX_COND_pdf_TRUE=
5165   DX_COND_pdf_FALSE='#'
5166 else
5167   DX_COND_pdf_TRUE='#'
5168   DX_COND_pdf_FALSE=
5169 fi
5170
5171
5172     :
5173 else
5174      if false; then
5175   DX_COND_pdf_TRUE=
5176   DX_COND_pdf_FALSE='#'
5177 else
5178   DX_COND_pdf_TRUE='#'
5179   DX_COND_pdf_FALSE=
5180 fi
5181
5182
5183     :
5184 fi
5185
5186
5187 # LaTeX generation for PS and/or PDF:
5188 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
5189      if :; then
5190   DX_COND_latex_TRUE=
5191   DX_COND_latex_FALSE='#'
5192 else
5193   DX_COND_latex_TRUE='#'
5194   DX_COND_latex_FALSE=
5195 fi
5196
5197     DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
5198
5199 else
5200      if false; then
5201   DX_COND_latex_TRUE=
5202   DX_COND_latex_FALSE='#'
5203 else
5204   DX_COND_latex_TRUE='#'
5205   DX_COND_latex_FALSE=
5206 fi
5207
5208     DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
5209
5210 fi
5211
5212 # Paper size for PS and/or PDF:
5213
5214 case "$DOXYGEN_PAPER_SIZE" in
5215 #(
5216 "")
5217     DOXYGEN_PAPER_SIZE=""
5218
5219 ;; #(
5220 a4wide|a4|letter|legal|executive)
5221     DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
5222
5223 ;; #(
5224 *)
5225     as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
5226 ;;
5227 esac
5228
5229 #For debugging:
5230 #echo DX_FLAG_doc=$DX_FLAG_doc
5231 #echo DX_FLAG_dot=$DX_FLAG_dot
5232 #echo DX_FLAG_man=$DX_FLAG_man
5233 #echo DX_FLAG_html=$DX_FLAG_html
5234 #echo DX_FLAG_chm=$DX_FLAG_chm
5235 #echo DX_FLAG_chi=$DX_FLAG_chi
5236 #echo DX_FLAG_rtf=$DX_FLAG_rtf
5237 #echo DX_FLAG_xml=$DX_FLAG_xml
5238 #echo DX_FLAG_pdf=$DX_FLAG_pdf
5239 #echo DX_FLAG_ps=$DX_FLAG_ps
5240 #echo DX_ENV=$DX_ENV
5241
5242
5243 #  Debug support
5244 # ----------------------------------------------------------------------
5245
5246
5247 # Check whether --enable-debug-flags was given.
5248 if test "${enable_debug_flags+set}" = set; then :
5249   enableval=$enable_debug_flags;
5250 else
5251
5252 if test "x${enable_developer}" != "xyes"
5253 then
5254   enable_debug_flags="no"
5255 else
5256   enable_debug_flags="yes"
5257 fi
5258
5259 fi
5260
5261
5262 # Check whether --enable-debug-log was given.
5263 if test "${enable_debug_log+set}" = set; then :
5264   enableval=$enable_debug_log;
5265 else
5266   enable_debug_log="yes"
5267 fi
5268
5269
5270 if test "x${enable_debug_flags}" != "xno"
5271 then
5272   if test "x${enable_developer}" = "xyes"
5273   then
5274     CXXFLAGS="${CXXFLAGS} -Wall"
5275     CFLAGS="${CFLAGS} -Wstrict-prototypes -Wall"
5276   fi
5277   __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"
5278   CXXFLAGS="${CXXFLAGS} ${__COMMONFLAGS}"
5279   CFLAGS="${CFLAGS} ${__COMMONFLAGS} -Wimplicit-int -Werror-implicit-function-declaration"
5280   __IS_DEBUG_FLAGS=yes
5281 else
5282   __IS_DEBUG_FLAGS=no
5283 fi
5284
5285 if test "x${enable_debug_log}" != "xno"
5286 then
5287
5288 $as_echo "#define DEBUG 1" >>confdefs.h
5289
5290   __IS_DEBUG_LOG=yes
5291 else
5292   __IS_DEBUG_LOG=no
5293 fi
5294
5295  if test x$enable_debug_flags = xyes; then
5296   DEBUG_TRUE=
5297   DEBUG_FALSE='#'
5298 else
5299   DEBUG_TRUE='#'
5300   DEBUG_FALSE=
5301 fi
5302
5303
5304 # Check whether --enable-deprecated was given.
5305 if test "${enable_deprecated+set}" = set; then :
5306   enableval=$enable_deprecated;
5307 else
5308
5309 if test "x${enable_developer}" != "xyes"
5310 then
5311   enable_deprecated="no"
5312 else
5313   enable_deprecated="yes"
5314 fi
5315
5316 fi
5317
5318
5319 if test "x${enable_deprecated}" != "xno"
5320 then
5321   CXXFLAGS="${CXXFLAGS} -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGDK_PIXBUF_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1"
5322   CFLAGS="${CFLAGS} -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGDK_PIXBUF_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1"
5323   __IS_DEPRECATED=yes
5324 else
5325   __IS_DEPRECATED=no
5326 fi
5327
5328
5329 DEPDIR="${am__leading_dot}deps"
5330
5331 ac_config_commands="$ac_config_commands depfiles"
5332
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
5334 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
5335 cat > confinc.mk << 'END'
5336 am__doit:
5337         @echo this is the am__doit target >confinc.out
5338 .PHONY: am__doit
5339 END
5340 am__include="#"
5341 am__quote=
5342 # BSD make does it like this.
5343 echo '.include "confinc.mk" # ignored' > confmf.BSD
5344 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
5345 echo 'include confinc.mk # ignored' > confmf.GNU
5346 _am_result=no
5347 for s in GNU BSD; do
5348   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
5349    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
5350    ac_status=$?
5351    echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352    (exit $ac_status); }
5353   case $?:`cat confinc.out 2>/dev/null` in #(
5354   '0:this is the am__doit target') :
5355     case $s in #(
5356   BSD) :
5357     am__include='.include' am__quote='"' ;; #(
5358   *) :
5359     am__include='include' am__quote='' ;;
5360 esac ;; #(
5361   *) :
5362      ;;
5363 esac
5364   if test "$am__include" != "#"; then
5365     _am_result="yes ($s style)"
5366     break
5367   fi
5368 done
5369 rm -f confinc.* confmf.*
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
5371 $as_echo "${_am_result}" >&6; }
5372
5373 # Check whether --enable-dependency-tracking was given.
5374 if test "${enable_dependency_tracking+set}" = set; then :
5375   enableval=$enable_dependency_tracking;
5376 fi
5377
5378 if test "x$enable_dependency_tracking" != xno; then
5379   am_depcomp="$ac_aux_dir/depcomp"
5380   AMDEPBACKSLASH='\'
5381   am__nodep='_no'
5382 fi
5383  if test "x$enable_dependency_tracking" != xno; then
5384   AMDEP_TRUE=
5385   AMDEP_FALSE='#'
5386 else
5387   AMDEP_TRUE='#'
5388   AMDEP_FALSE=
5389 fi
5390
5391
5392 ac_ext=c
5393 ac_cpp='$CPP $CPPFLAGS'
5394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5397 if test -n "$ac_tool_prefix"; then
5398   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5399 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5401 $as_echo_n "checking for $ac_word... " >&6; }
5402 if ${ac_cv_prog_CC+:} false; then :
5403   $as_echo_n "(cached) " >&6
5404 else
5405   if test -n "$CC"; then
5406   ac_cv_prog_CC="$CC" # Let the user override the test.
5407 else
5408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5409 for as_dir in $PATH
5410 do
5411   IFS=$as_save_IFS
5412   test -z "$as_dir" && as_dir=.
5413     for ac_exec_ext in '' $ac_executable_extensions; do
5414   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5415     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5416     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417     break 2
5418   fi
5419 done
5420   done
5421 IFS=$as_save_IFS
5422
5423 fi
5424 fi
5425 CC=$ac_cv_prog_CC
5426 if test -n "$CC"; then
5427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5428 $as_echo "$CC" >&6; }
5429 else
5430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5431 $as_echo "no" >&6; }
5432 fi
5433
5434
5435 fi
5436 if test -z "$ac_cv_prog_CC"; then
5437   ac_ct_CC=$CC
5438   # Extract the first word of "gcc", so it can be a program name with args.
5439 set dummy gcc; ac_word=$2
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5441 $as_echo_n "checking for $ac_word... " >&6; }
5442 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5443   $as_echo_n "(cached) " >&6
5444 else
5445   if test -n "$ac_ct_CC"; then
5446   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5447 else
5448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5449 for as_dir in $PATH
5450 do
5451   IFS=$as_save_IFS
5452   test -z "$as_dir" && as_dir=.
5453     for ac_exec_ext in '' $ac_executable_extensions; do
5454   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5455     ac_cv_prog_ac_ct_CC="gcc"
5456     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5457     break 2
5458   fi
5459 done
5460   done
5461 IFS=$as_save_IFS
5462
5463 fi
5464 fi
5465 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5466 if test -n "$ac_ct_CC"; then
5467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5468 $as_echo "$ac_ct_CC" >&6; }
5469 else
5470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5471 $as_echo "no" >&6; }
5472 fi
5473
5474   if test "x$ac_ct_CC" = x; then
5475     CC=""
5476   else
5477     case $cross_compiling:$ac_tool_warned in
5478 yes:)
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5481 ac_tool_warned=yes ;;
5482 esac
5483     CC=$ac_ct_CC
5484   fi
5485 else
5486   CC="$ac_cv_prog_CC"
5487 fi
5488
5489 if test -z "$CC"; then
5490           if test -n "$ac_tool_prefix"; then
5491     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5492 set dummy ${ac_tool_prefix}cc; ac_word=$2
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5494 $as_echo_n "checking for $ac_word... " >&6; }
5495 if ${ac_cv_prog_CC+:} false; then :
5496   $as_echo_n "(cached) " >&6
5497 else
5498   if test -n "$CC"; then
5499   ac_cv_prog_CC="$CC" # Let the user override the test.
5500 else
5501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 for as_dir in $PATH
5503 do
5504   IFS=$as_save_IFS
5505   test -z "$as_dir" && as_dir=.
5506     for ac_exec_ext in '' $ac_executable_extensions; do
5507   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5508     ac_cv_prog_CC="${ac_tool_prefix}cc"
5509     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5510     break 2
5511   fi
5512 done
5513   done
5514 IFS=$as_save_IFS
5515
5516 fi
5517 fi
5518 CC=$ac_cv_prog_CC
5519 if test -n "$CC"; then
5520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5521 $as_echo "$CC" >&6; }
5522 else
5523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5524 $as_echo "no" >&6; }
5525 fi
5526
5527
5528   fi
5529 fi
5530 if test -z "$CC"; then
5531   # Extract the first word of "cc", so it can be a program name with args.
5532 set dummy cc; ac_word=$2
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5534 $as_echo_n "checking for $ac_word... " >&6; }
5535 if ${ac_cv_prog_CC+:} false; then :
5536   $as_echo_n "(cached) " >&6
5537 else
5538   if test -n "$CC"; then
5539   ac_cv_prog_CC="$CC" # Let the user override the test.
5540 else
5541   ac_prog_rejected=no
5542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5543 for as_dir in $PATH
5544 do
5545   IFS=$as_save_IFS
5546   test -z "$as_dir" && as_dir=.
5547     for ac_exec_ext in '' $ac_executable_extensions; do
5548   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5549     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5550        ac_prog_rejected=yes
5551        continue
5552      fi
5553     ac_cv_prog_CC="cc"
5554     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555     break 2
5556   fi
5557 done
5558   done
5559 IFS=$as_save_IFS
5560
5561 if test $ac_prog_rejected = yes; then
5562   # We found a bogon in the path, so make sure we never use it.
5563   set dummy $ac_cv_prog_CC
5564   shift
5565   if test $# != 0; then
5566     # We chose a different compiler from the bogus one.
5567     # However, it has the same basename, so the bogon will be chosen
5568     # first if we set CC to just the basename; use the full file name.
5569     shift
5570     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5571   fi
5572 fi
5573 fi
5574 fi
5575 CC=$ac_cv_prog_CC
5576 if test -n "$CC"; then
5577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5578 $as_echo "$CC" >&6; }
5579 else
5580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581 $as_echo "no" >&6; }
5582 fi
5583
5584
5585 fi
5586 if test -z "$CC"; then
5587   if test -n "$ac_tool_prefix"; then
5588   for ac_prog in cl.exe
5589   do
5590     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5591 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5593 $as_echo_n "checking for $ac_word... " >&6; }
5594 if ${ac_cv_prog_CC+:} false; then :
5595   $as_echo_n "(cached) " >&6
5596 else
5597   if test -n "$CC"; then
5598   ac_cv_prog_CC="$CC" # Let the user override the test.
5599 else
5600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5601 for as_dir in $PATH
5602 do
5603   IFS=$as_save_IFS
5604   test -z "$as_dir" && as_dir=.
5605     for ac_exec_ext in '' $ac_executable_extensions; do
5606   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5607     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609     break 2
5610   fi
5611 done
5612   done
5613 IFS=$as_save_IFS
5614
5615 fi
5616 fi
5617 CC=$ac_cv_prog_CC
5618 if test -n "$CC"; then
5619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5620 $as_echo "$CC" >&6; }
5621 else
5622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623 $as_echo "no" >&6; }
5624 fi
5625
5626
5627     test -n "$CC" && break
5628   done
5629 fi
5630 if test -z "$CC"; then
5631   ac_ct_CC=$CC
5632   for ac_prog in cl.exe
5633 do
5634   # Extract the first word of "$ac_prog", so it can be a program name with args.
5635 set dummy $ac_prog; ac_word=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5639   $as_echo_n "(cached) " >&6
5640 else
5641   if test -n "$ac_ct_CC"; then
5642   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5643 else
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 for as_dir in $PATH
5646 do
5647   IFS=$as_save_IFS
5648   test -z "$as_dir" && as_dir=.
5649     for ac_exec_ext in '' $ac_executable_extensions; do
5650   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5651     ac_cv_prog_ac_ct_CC="$ac_prog"
5652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5653     break 2
5654   fi
5655 done
5656   done
5657 IFS=$as_save_IFS
5658
5659 fi
5660 fi
5661 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5662 if test -n "$ac_ct_CC"; then
5663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5664 $as_echo "$ac_ct_CC" >&6; }
5665 else
5666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5667 $as_echo "no" >&6; }
5668 fi
5669
5670
5671   test -n "$ac_ct_CC" && break
5672 done
5673
5674   if test "x$ac_ct_CC" = x; then
5675     CC=""
5676   else
5677     case $cross_compiling:$ac_tool_warned in
5678 yes:)
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5681 ac_tool_warned=yes ;;
5682 esac
5683     CC=$ac_ct_CC
5684   fi
5685 fi
5686
5687 fi
5688
5689
5690 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5692 as_fn_error $? "no acceptable C compiler found in \$PATH
5693 See \`config.log' for more details" "$LINENO" 5; }
5694
5695 # Provide some information about the compiler.
5696 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5697 set X $ac_compile
5698 ac_compiler=$2
5699 for ac_option in --version -v -V -qversion; do
5700   { { ac_try="$ac_compiler $ac_option >&5"
5701 case "(($ac_try" in
5702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5703   *) ac_try_echo=$ac_try;;
5704 esac
5705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5706 $as_echo "$ac_try_echo"; } >&5
5707   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5708   ac_status=$?
5709   if test -s conftest.err; then
5710     sed '10a\
5711 ... rest of stderr output deleted ...
5712          10q' conftest.err >conftest.er1
5713     cat conftest.er1 >&5
5714   fi
5715   rm -f conftest.er1 conftest.err
5716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5717   test $ac_status = 0; }
5718 done
5719
5720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5721 /* end confdefs.h.  */
5722
5723 int
5724 main ()
5725 {
5726
5727   ;
5728   return 0;
5729 }
5730 _ACEOF
5731 ac_clean_files_save=$ac_clean_files
5732 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5733 # Try to create an executable without -o first, disregard a.out.
5734 # It will help us diagnose broken compilers, and finding out an intuition
5735 # of exeext.
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5737 $as_echo_n "checking whether the C compiler works... " >&6; }
5738 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5739
5740 # The possible output files:
5741 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5742
5743 ac_rmfiles=
5744 for ac_file in $ac_files
5745 do
5746   case $ac_file in
5747     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5748     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5749   esac
5750 done
5751 rm -f $ac_rmfiles
5752
5753 if { { ac_try="$ac_link_default"
5754 case "(($ac_try" in
5755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5756   *) ac_try_echo=$ac_try;;
5757 esac
5758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5759 $as_echo "$ac_try_echo"; } >&5
5760   (eval "$ac_link_default") 2>&5
5761   ac_status=$?
5762   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5763   test $ac_status = 0; }; then :
5764   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5765 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5766 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
5767 # so that the user can short-circuit this test for compilers unknown to
5768 # Autoconf.
5769 for ac_file in $ac_files ''
5770 do
5771   test -f "$ac_file" || continue
5772   case $ac_file in
5773     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5774         ;;
5775     [ab].out )
5776         # We found the default executable, but exeext='' is most
5777         # certainly right.
5778         break;;
5779     *.* )
5780         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5781         then :; else
5782            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5783         fi
5784         # We set ac_cv_exeext here because the later test for it is not
5785         # safe: cross compilers may not add the suffix if given an `-o'
5786         # argument, so we may need to know it at that point already.
5787         # Even if this section looks crufty: it has the advantage of
5788         # actually working.
5789         break;;
5790     * )
5791         break;;
5792   esac
5793 done
5794 test "$ac_cv_exeext" = no && ac_cv_exeext=
5795
5796 else
5797   ac_file=''
5798 fi
5799 if test -z "$ac_file"; then :
5800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5802 $as_echo "$as_me: failed program was:" >&5
5803 sed 's/^/| /' conftest.$ac_ext >&5
5804
5805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5807 as_fn_error 77 "C compiler cannot create executables
5808 See \`config.log' for more details" "$LINENO" 5; }
5809 else
5810   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5811 $as_echo "yes" >&6; }
5812 fi
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5814 $as_echo_n "checking for C compiler default output file name... " >&6; }
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5816 $as_echo "$ac_file" >&6; }
5817 ac_exeext=$ac_cv_exeext
5818
5819 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5820 ac_clean_files=$ac_clean_files_save
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5822 $as_echo_n "checking for suffix of executables... " >&6; }
5823 if { { ac_try="$ac_link"
5824 case "(($ac_try" in
5825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5826   *) ac_try_echo=$ac_try;;
5827 esac
5828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5829 $as_echo "$ac_try_echo"; } >&5
5830   (eval "$ac_link") 2>&5
5831   ac_status=$?
5832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5833   test $ac_status = 0; }; then :
5834   # If both `conftest.exe' and `conftest' are `present' (well, observable)
5835 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
5836 # work properly (i.e., refer to `conftest.exe'), while it won't with
5837 # `rm'.
5838 for ac_file in conftest.exe conftest conftest.*; do
5839   test -f "$ac_file" || continue
5840   case $ac_file in
5841     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5842     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5843           break;;
5844     * ) break;;
5845   esac
5846 done
5847 else
5848   { { $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 $? "cannot compute suffix of executables: cannot compile and link
5851 See \`config.log' for more details" "$LINENO" 5; }
5852 fi
5853 rm -f conftest conftest$ac_cv_exeext
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5855 $as_echo "$ac_cv_exeext" >&6; }
5856
5857 rm -f conftest.$ac_ext
5858 EXEEXT=$ac_cv_exeext
5859 ac_exeext=$EXEEXT
5860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5861 /* end confdefs.h.  */
5862 #include <stdio.h>
5863 int
5864 main ()
5865 {
5866 FILE *f = fopen ("conftest.out", "w");
5867  return ferror (f) || fclose (f) != 0;
5868
5869   ;
5870   return 0;
5871 }
5872 _ACEOF
5873 ac_clean_files="$ac_clean_files conftest.out"
5874 # Check that the compiler produces executables we can run.  If not, either
5875 # the compiler is broken, or we cross compile.
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5877 $as_echo_n "checking whether we are cross compiling... " >&6; }
5878 if test "$cross_compiling" != yes; then
5879   { { ac_try="$ac_link"
5880 case "(($ac_try" in
5881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5882   *) ac_try_echo=$ac_try;;
5883 esac
5884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5885 $as_echo "$ac_try_echo"; } >&5
5886   (eval "$ac_link") 2>&5
5887   ac_status=$?
5888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5889   test $ac_status = 0; }
5890   if { ac_try='./conftest$ac_cv_exeext'
5891   { { case "(($ac_try" in
5892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5893   *) ac_try_echo=$ac_try;;
5894 esac
5895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5896 $as_echo "$ac_try_echo"; } >&5
5897   (eval "$ac_try") 2>&5
5898   ac_status=$?
5899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5900   test $ac_status = 0; }; }; then
5901     cross_compiling=no
5902   else
5903     if test "$cross_compiling" = maybe; then
5904         cross_compiling=yes
5905     else
5906         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5908 as_fn_error $? "cannot run C compiled programs.
5909 If you meant to cross compile, use \`--host'.
5910 See \`config.log' for more details" "$LINENO" 5; }
5911     fi
5912   fi
5913 fi
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5915 $as_echo "$cross_compiling" >&6; }
5916
5917 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5918 ac_clean_files=$ac_clean_files_save
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5920 $as_echo_n "checking for suffix of object files... " >&6; }
5921 if ${ac_cv_objext+:} false; then :
5922   $as_echo_n "(cached) " >&6
5923 else
5924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5925 /* end confdefs.h.  */
5926
5927 int
5928 main ()
5929 {
5930
5931   ;
5932   return 0;
5933 }
5934 _ACEOF
5935 rm -f conftest.o conftest.obj
5936 if { { ac_try="$ac_compile"
5937 case "(($ac_try" in
5938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5939   *) ac_try_echo=$ac_try;;
5940 esac
5941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5942 $as_echo "$ac_try_echo"; } >&5
5943   (eval "$ac_compile") 2>&5
5944   ac_status=$?
5945   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5946   test $ac_status = 0; }; then :
5947   for ac_file in conftest.o conftest.obj conftest.*; do
5948   test -f "$ac_file" || continue;
5949   case $ac_file in
5950     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5951     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5952        break;;
5953   esac
5954 done
5955 else
5956   $as_echo "$as_me: failed program was:" >&5
5957 sed 's/^/| /' conftest.$ac_ext >&5
5958
5959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5961 as_fn_error $? "cannot compute suffix of object files: cannot compile
5962 See \`config.log' for more details" "$LINENO" 5; }
5963 fi
5964 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5965 fi
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5967 $as_echo "$ac_cv_objext" >&6; }
5968 OBJEXT=$ac_cv_objext
5969 ac_objext=$OBJEXT
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5971 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5972 if ${ac_cv_c_compiler_gnu+:} false; then :
5973   $as_echo_n "(cached) " >&6
5974 else
5975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5976 /* end confdefs.h.  */
5977
5978 int
5979 main ()
5980 {
5981 #ifndef __GNUC__
5982        choke me
5983 #endif
5984
5985   ;
5986   return 0;
5987 }
5988 _ACEOF
5989 if ac_fn_c_try_compile "$LINENO"; then :
5990   ac_compiler_gnu=yes
5991 else
5992   ac_compiler_gnu=no
5993 fi
5994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5995 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5996
5997 fi
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5999 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6000 if test $ac_compiler_gnu = yes; then
6001   GCC=yes
6002 else
6003   GCC=
6004 fi
6005 ac_test_CFLAGS=${CFLAGS+set}
6006 ac_save_CFLAGS=$CFLAGS
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6008 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6009 if ${ac_cv_prog_cc_g+:} false; then :
6010   $as_echo_n "(cached) " >&6
6011 else
6012   ac_save_c_werror_flag=$ac_c_werror_flag
6013    ac_c_werror_flag=yes
6014    ac_cv_prog_cc_g=no
6015    CFLAGS="-g"
6016    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6017 /* end confdefs.h.  */
6018
6019 int
6020 main ()
6021 {
6022
6023   ;
6024   return 0;
6025 }
6026 _ACEOF
6027 if ac_fn_c_try_compile "$LINENO"; then :
6028   ac_cv_prog_cc_g=yes
6029 else
6030   CFLAGS=""
6031       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6032 /* end confdefs.h.  */
6033
6034 int
6035 main ()
6036 {
6037
6038   ;
6039   return 0;
6040 }
6041 _ACEOF
6042 if ac_fn_c_try_compile "$LINENO"; then :
6043
6044 else
6045   ac_c_werror_flag=$ac_save_c_werror_flag
6046          CFLAGS="-g"
6047          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6048 /* end confdefs.h.  */
6049
6050 int
6051 main ()
6052 {
6053
6054   ;
6055   return 0;
6056 }
6057 _ACEOF
6058 if ac_fn_c_try_compile "$LINENO"; then :
6059   ac_cv_prog_cc_g=yes
6060 fi
6061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6062 fi
6063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6064 fi
6065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6066    ac_c_werror_flag=$ac_save_c_werror_flag
6067 fi
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6069 $as_echo "$ac_cv_prog_cc_g" >&6; }
6070 if test "$ac_test_CFLAGS" = set; then
6071   CFLAGS=$ac_save_CFLAGS
6072 elif test $ac_cv_prog_cc_g = yes; then
6073   if test "$GCC" = yes; then
6074     CFLAGS="-g -O2"
6075   else
6076     CFLAGS="-g"
6077   fi
6078 else
6079   if test "$GCC" = yes; then
6080     CFLAGS="-O2"
6081   else
6082     CFLAGS=
6083   fi
6084 fi
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6086 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6087 if ${ac_cv_prog_cc_c89+:} false; then :
6088   $as_echo_n "(cached) " >&6
6089 else
6090   ac_cv_prog_cc_c89=no
6091 ac_save_CC=$CC
6092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6093 /* end confdefs.h.  */
6094 #include <stdarg.h>
6095 #include <stdio.h>
6096 struct stat;
6097 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6098 struct buf { int x; };
6099 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6100 static char *e (p, i)
6101      char **p;
6102      int i;
6103 {
6104   return p[i];
6105 }
6106 static char *f (char * (*g) (char **, int), char **p, ...)
6107 {
6108   char *s;
6109   va_list v;
6110   va_start (v,p);
6111   s = g (p, va_arg (v,int));
6112   va_end (v);
6113   return s;
6114 }
6115
6116 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6117    function prototypes and stuff, but not '\xHH' hex character constants.
6118    These don't provoke an error unfortunately, instead are silently treated
6119    as 'x'.  The following induces an error, until -std is added to get
6120    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6121    array size at least.  It's necessary to write '\x00'==0 to get something
6122    that's true only with -std.  */
6123 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6124
6125 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6126    inside strings and character constants.  */
6127 #define FOO(x) 'x'
6128 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6129
6130 int test (int i, double x);
6131 struct s1 {int (*f) (int a);};
6132 struct s2 {int (*f) (double a);};
6133 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6134 int argc;
6135 char **argv;
6136 int
6137 main ()
6138 {
6139 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6140   ;
6141   return 0;
6142 }
6143 _ACEOF
6144 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6145         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6146 do
6147   CC="$ac_save_CC $ac_arg"
6148   if ac_fn_c_try_compile "$LINENO"; then :
6149   ac_cv_prog_cc_c89=$ac_arg
6150 fi
6151 rm -f core conftest.err conftest.$ac_objext
6152   test "x$ac_cv_prog_cc_c89" != "xno" && break
6153 done
6154 rm -f conftest.$ac_ext
6155 CC=$ac_save_CC
6156
6157 fi
6158 # AC_CACHE_VAL
6159 case "x$ac_cv_prog_cc_c89" in
6160   x)
6161     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6162 $as_echo "none needed" >&6; } ;;
6163   xno)
6164     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6165 $as_echo "unsupported" >&6; } ;;
6166   *)
6167     CC="$CC $ac_cv_prog_cc_c89"
6168     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6169 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6170 esac
6171 if test "x$ac_cv_prog_cc_c89" != xno; then :
6172
6173 fi
6174
6175 ac_ext=c
6176 ac_cpp='$CPP $CPPFLAGS'
6177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6180
6181 ac_ext=c
6182 ac_cpp='$CPP $CPPFLAGS'
6183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
6187 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
6188 if ${am_cv_prog_cc_c_o+:} false; then :
6189   $as_echo_n "(cached) " >&6
6190 else
6191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6192 /* end confdefs.h.  */
6193
6194 int
6195 main ()
6196 {
6197
6198   ;
6199   return 0;
6200 }
6201 _ACEOF
6202   # Make sure it works both with $CC and with simple cc.
6203   # Following AC_PROG_CC_C_O, we do the test twice because some
6204   # compilers refuse to overwrite an existing .o file with -o,
6205   # though they will create one.
6206   am_cv_prog_cc_c_o=yes
6207   for am_i in 1 2; do
6208     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
6209    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
6210    ac_status=$?
6211    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212    (exit $ac_status); } \
6213          && test -f conftest2.$ac_objext; then
6214       : OK
6215     else
6216       am_cv_prog_cc_c_o=no
6217       break
6218     fi
6219   done
6220   rm -f core conftest*
6221   unset am_i
6222 fi
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
6224 $as_echo "$am_cv_prog_cc_c_o" >&6; }
6225 if test "$am_cv_prog_cc_c_o" != yes; then
6226    # Losing compiler, so override with the script.
6227    # FIXME: It is wrong to rewrite CC.
6228    # But if we don't then we get into trouble of one sort or another.
6229    # A longer-term fix would be to have automake use am__CC in this case,
6230    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
6231    CC="$am_aux_dir/compile $CC"
6232 fi
6233 ac_ext=c
6234 ac_cpp='$CPP $CPPFLAGS'
6235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6238
6239
6240 depcc="$CC"   am_compiler_list=
6241
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6243 $as_echo_n "checking dependency style of $depcc... " >&6; }
6244 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6245   $as_echo_n "(cached) " >&6
6246 else
6247   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6248   # We make a subdir and do the tests there.  Otherwise we can end up
6249   # making bogus files that we don't know about and never remove.  For
6250   # instance it was reported that on HP-UX the gcc test will end up
6251   # making a dummy file named 'D' -- because '-MD' means "put the output
6252   # in D".
6253   rm -rf conftest.dir
6254   mkdir conftest.dir
6255   # Copy depcomp to subdir because otherwise we won't find it if we're
6256   # using a relative directory.
6257   cp "$am_depcomp" conftest.dir
6258   cd conftest.dir
6259   # We will build objects and dependencies in a subdirectory because
6260   # it helps to detect inapplicable dependency modes.  For instance
6261   # both Tru64's cc and ICC support -MD to output dependencies as a
6262   # side effect of compilation, but ICC will put the dependencies in
6263   # the current directory while Tru64 will put them in the object
6264   # directory.
6265   mkdir sub
6266
6267   am_cv_CC_dependencies_compiler_type=none
6268   if test "$am_compiler_list" = ""; then
6269      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6270   fi
6271   am__universal=false
6272   case " $depcc " in #(
6273      *\ -arch\ *\ -arch\ *) am__universal=true ;;
6274      esac
6275
6276   for depmode in $am_compiler_list; do
6277     # Setup a source with many dependencies, because some compilers
6278     # like to wrap large dependency lists on column 80 (with \), and
6279     # we should not choose a depcomp mode which is confused by this.
6280     #
6281     # We need to recreate these files for each test, as the compiler may
6282     # overwrite some of them when testing with obscure command lines.
6283     # This happens at least with the AIX C compiler.
6284     : > sub/conftest.c
6285     for i in 1 2 3 4 5 6; do
6286       echo '#include "conftst'$i'.h"' >> sub/conftest.c
6287       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6288       # Solaris 10 /bin/sh.
6289       echo '/* dummy */' > sub/conftst$i.h
6290     done
6291     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6292
6293     # We check with '-c' and '-o' for the sake of the "dashmstdout"
6294     # mode.  It turns out that the SunPro C++ compiler does not properly
6295     # handle '-M -o', and we need to detect this.  Also, some Intel
6296     # versions had trouble with output in subdirs.
6297     am__obj=sub/conftest.${OBJEXT-o}
6298     am__minus_obj="-o $am__obj"
6299     case $depmode in
6300     gcc)
6301       # This depmode causes a compiler race in universal mode.
6302       test "$am__universal" = false || continue
6303       ;;
6304     nosideeffect)
6305       # After this tag, mechanisms are not by side-effect, so they'll
6306       # only be used when explicitly requested.
6307       if test "x$enable_dependency_tracking" = xyes; then
6308         continue
6309       else
6310         break
6311       fi
6312       ;;
6313     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6314       # This compiler won't grok '-c -o', but also, the minuso test has
6315       # not run yet.  These depmodes are late enough in the game, and
6316       # so weak that their functioning should not be impacted.
6317       am__obj=conftest.${OBJEXT-o}
6318       am__minus_obj=
6319       ;;
6320     none) break ;;
6321     esac
6322     if depmode=$depmode \
6323        source=sub/conftest.c object=$am__obj \
6324        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6325        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6326          >/dev/null 2>conftest.err &&
6327        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6328        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6329        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6330        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6331       # icc doesn't choke on unknown options, it will just issue warnings
6332       # or remarks (even with -Werror).  So we grep stderr for any message
6333       # that says an option was ignored or not supported.
6334       # When given -MP, icc 7.0 and 7.1 complain thusly:
6335       #   icc: Command line warning: ignoring option '-M'; no argument required
6336       # The diagnosis changed in icc 8.0:
6337       #   icc: Command line remark: option '-MP' not supported
6338       if (grep 'ignoring option' conftest.err ||
6339           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6340         am_cv_CC_dependencies_compiler_type=$depmode
6341         break
6342       fi
6343     fi
6344   done
6345
6346   cd ..
6347   rm -rf conftest.dir
6348 else
6349   am_cv_CC_dependencies_compiler_type=none
6350 fi
6351
6352 fi
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6354 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6355 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6356
6357  if
6358   test "x$enable_dependency_tracking" != xno \
6359   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6360   am__fastdepCC_TRUE=
6361   am__fastdepCC_FALSE='#'
6362 else
6363   am__fastdepCC_TRUE='#'
6364   am__fastdepCC_FALSE=
6365 fi
6366
6367
6368
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
6370 $as_echo_n "checking for library containing strerror... " >&6; }
6371 if ${ac_cv_search_strerror+:} false; then :
6372   $as_echo_n "(cached) " >&6
6373 else
6374   ac_func_search_save_LIBS=$LIBS
6375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6376 /* end confdefs.h.  */
6377
6378 /* Override any GCC internal prototype to avoid an error.
6379    Use char because int might match the return type of a GCC
6380    builtin and then its argument prototype would still apply.  */
6381 #ifdef __cplusplus
6382 extern "C"
6383 #endif
6384 char strerror ();
6385 int
6386 main ()
6387 {
6388 return strerror ();
6389   ;
6390   return 0;
6391 }
6392 _ACEOF
6393 for ac_lib in '' cposix; do
6394   if test -z "$ac_lib"; then
6395     ac_res="none required"
6396   else
6397     ac_res=-l$ac_lib
6398     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6399   fi
6400   if ac_fn_c_try_link "$LINENO"; then :
6401   ac_cv_search_strerror=$ac_res
6402 fi
6403 rm -f core conftest.err conftest.$ac_objext \
6404     conftest$ac_exeext
6405   if ${ac_cv_search_strerror+:} false; then :
6406   break
6407 fi
6408 done
6409 if ${ac_cv_search_strerror+:} false; then :
6410
6411 else
6412   ac_cv_search_strerror=no
6413 fi
6414 rm conftest.$ac_ext
6415 LIBS=$ac_func_search_save_LIBS
6416 fi
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
6418 $as_echo "$ac_cv_search_strerror" >&6; }
6419 ac_res=$ac_cv_search_strerror
6420 if test "$ac_res" != no; then :
6421   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6422
6423 fi
6424
6425 ac_ext=c
6426 ac_cpp='$CPP $CPPFLAGS'
6427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6430 if test -n "$ac_tool_prefix"; then
6431   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6432 set dummy ${ac_tool_prefix}gcc; ac_word=$2
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6434 $as_echo_n "checking for $ac_word... " >&6; }
6435 if ${ac_cv_prog_CC+:} false; then :
6436   $as_echo_n "(cached) " >&6
6437 else
6438   if test -n "$CC"; then
6439   ac_cv_prog_CC="$CC" # Let the user override the test.
6440 else
6441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6442 for as_dir in $PATH
6443 do
6444   IFS=$as_save_IFS
6445   test -z "$as_dir" && as_dir=.
6446     for ac_exec_ext in '' $ac_executable_extensions; do
6447   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6448     ac_cv_prog_CC="${ac_tool_prefix}gcc"
6449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6450     break 2
6451   fi
6452 done
6453   done
6454 IFS=$as_save_IFS
6455
6456 fi
6457 fi
6458 CC=$ac_cv_prog_CC
6459 if test -n "$CC"; then
6460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6461 $as_echo "$CC" >&6; }
6462 else
6463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464 $as_echo "no" >&6; }
6465 fi
6466
6467
6468 fi
6469 if test -z "$ac_cv_prog_CC"; then
6470   ac_ct_CC=$CC
6471   # Extract the first word of "gcc", so it can be a program name with args.
6472 set dummy gcc; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6476   $as_echo_n "(cached) " >&6
6477 else
6478   if test -n "$ac_ct_CC"; then
6479   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6480 else
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482 for as_dir in $PATH
6483 do
6484   IFS=$as_save_IFS
6485   test -z "$as_dir" && as_dir=.
6486     for ac_exec_ext in '' $ac_executable_extensions; do
6487   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6488     ac_cv_prog_ac_ct_CC="gcc"
6489     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490     break 2
6491   fi
6492 done
6493   done
6494 IFS=$as_save_IFS
6495
6496 fi
6497 fi
6498 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6499 if test -n "$ac_ct_CC"; then
6500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6501 $as_echo "$ac_ct_CC" >&6; }
6502 else
6503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6505 fi
6506
6507   if test "x$ac_ct_CC" = x; then
6508     CC=""
6509   else
6510     case $cross_compiling:$ac_tool_warned in
6511 yes:)
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6514 ac_tool_warned=yes ;;
6515 esac
6516     CC=$ac_ct_CC
6517   fi
6518 else
6519   CC="$ac_cv_prog_CC"
6520 fi
6521
6522 if test -z "$CC"; then
6523           if test -n "$ac_tool_prefix"; then
6524     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6525 set dummy ${ac_tool_prefix}cc; ac_word=$2
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527 $as_echo_n "checking for $ac_word... " >&6; }
6528 if ${ac_cv_prog_CC+:} false; then :
6529   $as_echo_n "(cached) " >&6
6530 else
6531   if test -n "$CC"; then
6532   ac_cv_prog_CC="$CC" # Let the user override the test.
6533 else
6534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6535 for as_dir in $PATH
6536 do
6537   IFS=$as_save_IFS
6538   test -z "$as_dir" && as_dir=.
6539     for ac_exec_ext in '' $ac_executable_extensions; do
6540   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6541     ac_cv_prog_CC="${ac_tool_prefix}cc"
6542     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6543     break 2
6544   fi
6545 done
6546   done
6547 IFS=$as_save_IFS
6548
6549 fi
6550 fi
6551 CC=$ac_cv_prog_CC
6552 if test -n "$CC"; then
6553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6554 $as_echo "$CC" >&6; }
6555 else
6556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6557 $as_echo "no" >&6; }
6558 fi
6559
6560
6561   fi
6562 fi
6563 if test -z "$CC"; then
6564   # Extract the first word of "cc", so it can be a program name with args.
6565 set dummy cc; ac_word=$2
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6567 $as_echo_n "checking for $ac_word... " >&6; }
6568 if ${ac_cv_prog_CC+:} false; then :
6569   $as_echo_n "(cached) " >&6
6570 else
6571   if test -n "$CC"; then
6572   ac_cv_prog_CC="$CC" # Let the user override the test.
6573 else
6574   ac_prog_rejected=no
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576 for as_dir in $PATH
6577 do
6578   IFS=$as_save_IFS
6579   test -z "$as_dir" && as_dir=.
6580     for ac_exec_ext in '' $ac_executable_extensions; do
6581   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6582     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6583        ac_prog_rejected=yes
6584        continue
6585      fi
6586     ac_cv_prog_CC="cc"
6587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6588     break 2
6589   fi
6590 done
6591   done
6592 IFS=$as_save_IFS
6593
6594 if test $ac_prog_rejected = yes; then
6595   # We found a bogon in the path, so make sure we never use it.
6596   set dummy $ac_cv_prog_CC
6597   shift
6598   if test $# != 0; then
6599     # We chose a different compiler from the bogus one.
6600     # However, it has the same basename, so the bogon will be chosen
6601     # first if we set CC to just the basename; use the full file name.
6602     shift
6603     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6604   fi
6605 fi
6606 fi
6607 fi
6608 CC=$ac_cv_prog_CC
6609 if test -n "$CC"; then
6610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6611 $as_echo "$CC" >&6; }
6612 else
6613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6614 $as_echo "no" >&6; }
6615 fi
6616
6617
6618 fi
6619 if test -z "$CC"; then
6620   if test -n "$ac_tool_prefix"; then
6621   for ac_prog in cl.exe
6622   do
6623     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6624 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626 $as_echo_n "checking for $ac_word... " >&6; }
6627 if ${ac_cv_prog_CC+:} false; then :
6628   $as_echo_n "(cached) " >&6
6629 else
6630   if test -n "$CC"; then
6631   ac_cv_prog_CC="$CC" # Let the user override the test.
6632 else
6633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6634 for as_dir in $PATH
6635 do
6636   IFS=$as_save_IFS
6637   test -z "$as_dir" && as_dir=.
6638     for ac_exec_ext in '' $ac_executable_extensions; do
6639   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6640     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6642     break 2
6643   fi
6644 done
6645   done
6646 IFS=$as_save_IFS
6647
6648 fi
6649 fi
6650 CC=$ac_cv_prog_CC
6651 if test -n "$CC"; then
6652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6653 $as_echo "$CC" >&6; }
6654 else
6655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6656 $as_echo "no" >&6; }
6657 fi
6658
6659
6660     test -n "$CC" && break
6661   done
6662 fi
6663 if test -z "$CC"; then
6664   ac_ct_CC=$CC
6665   for ac_prog in cl.exe
6666 do
6667   # Extract the first word of "$ac_prog", so it can be a program name with args.
6668 set dummy $ac_prog; ac_word=$2
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6670 $as_echo_n "checking for $ac_word... " >&6; }
6671 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6672   $as_echo_n "(cached) " >&6
6673 else
6674   if test -n "$ac_ct_CC"; then
6675   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6676 else
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6678 for as_dir in $PATH
6679 do
6680   IFS=$as_save_IFS
6681   test -z "$as_dir" && as_dir=.
6682     for ac_exec_ext in '' $ac_executable_extensions; do
6683   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6684     ac_cv_prog_ac_ct_CC="$ac_prog"
6685     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6686     break 2
6687   fi
6688 done
6689   done
6690 IFS=$as_save_IFS
6691
6692 fi
6693 fi
6694 ac_ct_CC=$ac_cv_prog_ac_ct_CC
6695 if test -n "$ac_ct_CC"; then
6696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6697 $as_echo "$ac_ct_CC" >&6; }
6698 else
6699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 $as_echo "no" >&6; }
6701 fi
6702
6703
6704   test -n "$ac_ct_CC" && break
6705 done
6706
6707   if test "x$ac_ct_CC" = x; then
6708     CC=""
6709   else
6710     case $cross_compiling:$ac_tool_warned in
6711 yes:)
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6714 ac_tool_warned=yes ;;
6715 esac
6716     CC=$ac_ct_CC
6717   fi
6718 fi
6719
6720 fi
6721
6722
6723 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6725 as_fn_error $? "no acceptable C compiler found in \$PATH
6726 See \`config.log' for more details" "$LINENO" 5; }
6727
6728 # Provide some information about the compiler.
6729 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6730 set X $ac_compile
6731 ac_compiler=$2
6732 for ac_option in --version -v -V -qversion; do
6733   { { ac_try="$ac_compiler $ac_option >&5"
6734 case "(($ac_try" in
6735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6736   *) ac_try_echo=$ac_try;;
6737 esac
6738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6739 $as_echo "$ac_try_echo"; } >&5
6740   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6741   ac_status=$?
6742   if test -s conftest.err; then
6743     sed '10a\
6744 ... rest of stderr output deleted ...
6745          10q' conftest.err >conftest.er1
6746     cat conftest.er1 >&5
6747   fi
6748   rm -f conftest.er1 conftest.err
6749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6750   test $ac_status = 0; }
6751 done
6752
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6754 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6755 if ${ac_cv_c_compiler_gnu+:} false; then :
6756   $as_echo_n "(cached) " >&6
6757 else
6758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6759 /* end confdefs.h.  */
6760
6761 int
6762 main ()
6763 {
6764 #ifndef __GNUC__
6765        choke me
6766 #endif
6767
6768   ;
6769   return 0;
6770 }
6771 _ACEOF
6772 if ac_fn_c_try_compile "$LINENO"; then :
6773   ac_compiler_gnu=yes
6774 else
6775   ac_compiler_gnu=no
6776 fi
6777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6778 ac_cv_c_compiler_gnu=$ac_compiler_gnu
6779
6780 fi
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6782 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
6783 if test $ac_compiler_gnu = yes; then
6784   GCC=yes
6785 else
6786   GCC=
6787 fi
6788 ac_test_CFLAGS=${CFLAGS+set}
6789 ac_save_CFLAGS=$CFLAGS
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6791 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6792 if ${ac_cv_prog_cc_g+:} false; then :
6793   $as_echo_n "(cached) " >&6
6794 else
6795   ac_save_c_werror_flag=$ac_c_werror_flag
6796    ac_c_werror_flag=yes
6797    ac_cv_prog_cc_g=no
6798    CFLAGS="-g"
6799    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6800 /* end confdefs.h.  */
6801
6802 int
6803 main ()
6804 {
6805
6806   ;
6807   return 0;
6808 }
6809 _ACEOF
6810 if ac_fn_c_try_compile "$LINENO"; then :
6811   ac_cv_prog_cc_g=yes
6812 else
6813   CFLAGS=""
6814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6815 /* end confdefs.h.  */
6816
6817 int
6818 main ()
6819 {
6820
6821   ;
6822   return 0;
6823 }
6824 _ACEOF
6825 if ac_fn_c_try_compile "$LINENO"; then :
6826
6827 else
6828   ac_c_werror_flag=$ac_save_c_werror_flag
6829          CFLAGS="-g"
6830          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6831 /* end confdefs.h.  */
6832
6833 int
6834 main ()
6835 {
6836
6837   ;
6838   return 0;
6839 }
6840 _ACEOF
6841 if ac_fn_c_try_compile "$LINENO"; then :
6842   ac_cv_prog_cc_g=yes
6843 fi
6844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6845 fi
6846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6847 fi
6848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6849    ac_c_werror_flag=$ac_save_c_werror_flag
6850 fi
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6852 $as_echo "$ac_cv_prog_cc_g" >&6; }
6853 if test "$ac_test_CFLAGS" = set; then
6854   CFLAGS=$ac_save_CFLAGS
6855 elif test $ac_cv_prog_cc_g = yes; then
6856   if test "$GCC" = yes; then
6857     CFLAGS="-g -O2"
6858   else
6859     CFLAGS="-g"
6860   fi
6861 else
6862   if test "$GCC" = yes; then
6863     CFLAGS="-O2"
6864   else
6865     CFLAGS=
6866   fi
6867 fi
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6869 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6870 if ${ac_cv_prog_cc_c89+:} false; then :
6871   $as_echo_n "(cached) " >&6
6872 else
6873   ac_cv_prog_cc_c89=no
6874 ac_save_CC=$CC
6875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6876 /* end confdefs.h.  */
6877 #include <stdarg.h>
6878 #include <stdio.h>
6879 struct stat;
6880 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
6881 struct buf { int x; };
6882 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6883 static char *e (p, i)
6884      char **p;
6885      int i;
6886 {
6887   return p[i];
6888 }
6889 static char *f (char * (*g) (char **, int), char **p, ...)
6890 {
6891   char *s;
6892   va_list v;
6893   va_start (v,p);
6894   s = g (p, va_arg (v,int));
6895   va_end (v);
6896   return s;
6897 }
6898
6899 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
6900    function prototypes and stuff, but not '\xHH' hex character constants.
6901    These don't provoke an error unfortunately, instead are silently treated
6902    as 'x'.  The following induces an error, until -std is added to get
6903    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
6904    array size at least.  It's necessary to write '\x00'==0 to get something
6905    that's true only with -std.  */
6906 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6907
6908 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6909    inside strings and character constants.  */
6910 #define FOO(x) 'x'
6911 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6912
6913 int test (int i, double x);
6914 struct s1 {int (*f) (int a);};
6915 struct s2 {int (*f) (double a);};
6916 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6917 int argc;
6918 char **argv;
6919 int
6920 main ()
6921 {
6922 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
6923   ;
6924   return 0;
6925 }
6926 _ACEOF
6927 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6928         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6929 do
6930   CC="$ac_save_CC $ac_arg"
6931   if ac_fn_c_try_compile "$LINENO"; then :
6932   ac_cv_prog_cc_c89=$ac_arg
6933 fi
6934 rm -f core conftest.err conftest.$ac_objext
6935   test "x$ac_cv_prog_cc_c89" != "xno" && break
6936 done
6937 rm -f conftest.$ac_ext
6938 CC=$ac_save_CC
6939
6940 fi
6941 # AC_CACHE_VAL
6942 case "x$ac_cv_prog_cc_c89" in
6943   x)
6944     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6945 $as_echo "none needed" >&6; } ;;
6946   xno)
6947     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6948 $as_echo "unsupported" >&6; } ;;
6949   *)
6950     CC="$CC $ac_cv_prog_cc_c89"
6951     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6952 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6953 esac
6954 if test "x$ac_cv_prog_cc_c89" != xno; then :
6955
6956 fi
6957
6958 ac_ext=c
6959 ac_cpp='$CPP $CPPFLAGS'
6960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6963
6964 ac_ext=c
6965 ac_cpp='$CPP $CPPFLAGS'
6966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
6970 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
6971 if ${am_cv_prog_cc_c_o+:} false; then :
6972   $as_echo_n "(cached) " >&6
6973 else
6974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6975 /* end confdefs.h.  */
6976
6977 int
6978 main ()
6979 {
6980
6981   ;
6982   return 0;
6983 }
6984 _ACEOF
6985   # Make sure it works both with $CC and with simple cc.
6986   # Following AC_PROG_CC_C_O, we do the test twice because some
6987   # compilers refuse to overwrite an existing .o file with -o,
6988   # though they will create one.
6989   am_cv_prog_cc_c_o=yes
6990   for am_i in 1 2; do
6991     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
6992    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
6993    ac_status=$?
6994    echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995    (exit $ac_status); } \
6996          && test -f conftest2.$ac_objext; then
6997       : OK
6998     else
6999       am_cv_prog_cc_c_o=no
7000       break
7001     fi
7002   done
7003   rm -f core conftest*
7004   unset am_i
7005 fi
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
7007 $as_echo "$am_cv_prog_cc_c_o" >&6; }
7008 if test "$am_cv_prog_cc_c_o" != yes; then
7009    # Losing compiler, so override with the script.
7010    # FIXME: It is wrong to rewrite CC.
7011    # But if we don't then we get into trouble of one sort or another.
7012    # A longer-term fix would be to have automake use am__CC in this case,
7013    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
7014    CC="$am_aux_dir/compile $CC"
7015 fi
7016 ac_ext=c
7017 ac_cpp='$CPP $CPPFLAGS'
7018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7021
7022
7023 depcc="$CC"   am_compiler_list=
7024
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7026 $as_echo_n "checking dependency style of $depcc... " >&6; }
7027 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
7028   $as_echo_n "(cached) " >&6
7029 else
7030   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7031   # We make a subdir and do the tests there.  Otherwise we can end up
7032   # making bogus files that we don't know about and never remove.  For
7033   # instance it was reported that on HP-UX the gcc test will end up
7034   # making a dummy file named 'D' -- because '-MD' means "put the output
7035   # in D".
7036   rm -rf conftest.dir
7037   mkdir conftest.dir
7038   # Copy depcomp to subdir because otherwise we won't find it if we're
7039   # using a relative directory.
7040   cp "$am_depcomp" conftest.dir
7041   cd conftest.dir
7042   # We will build objects and dependencies in a subdirectory because
7043   # it helps to detect inapplicable dependency modes.  For instance
7044   # both Tru64's cc and ICC support -MD to output dependencies as a
7045   # side effect of compilation, but ICC will put the dependencies in
7046   # the current directory while Tru64 will put them in the object
7047   # directory.
7048   mkdir sub
7049
7050   am_cv_CC_dependencies_compiler_type=none
7051   if test "$am_compiler_list" = ""; then
7052      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7053   fi
7054   am__universal=false
7055   case " $depcc " in #(
7056      *\ -arch\ *\ -arch\ *) am__universal=true ;;
7057      esac
7058
7059   for depmode in $am_compiler_list; do
7060     # Setup a source with many dependencies, because some compilers
7061     # like to wrap large dependency lists on column 80 (with \), and
7062     # we should not choose a depcomp mode which is confused by this.
7063     #
7064     # We need to recreate these files for each test, as the compiler may
7065     # overwrite some of them when testing with obscure command lines.
7066     # This happens at least with the AIX C compiler.
7067     : > sub/conftest.c
7068     for i in 1 2 3 4 5 6; do
7069       echo '#include "conftst'$i'.h"' >> sub/conftest.c
7070       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
7071       # Solaris 10 /bin/sh.
7072       echo '/* dummy */' > sub/conftst$i.h
7073     done
7074     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7075
7076     # We check with '-c' and '-o' for the sake of the "dashmstdout"
7077     # mode.  It turns out that the SunPro C++ compiler does not properly
7078     # handle '-M -o', and we need to detect this.  Also, some Intel
7079     # versions had trouble with output in subdirs.
7080     am__obj=sub/conftest.${OBJEXT-o}
7081     am__minus_obj="-o $am__obj"
7082     case $depmode in
7083     gcc)
7084       # This depmode causes a compiler race in universal mode.
7085       test "$am__universal" = false || continue
7086       ;;
7087     nosideeffect)
7088       # After this tag, mechanisms are not by side-effect, so they'll
7089       # only be used when explicitly requested.
7090       if test "x$enable_dependency_tracking" = xyes; then
7091         continue
7092       else
7093         break
7094       fi
7095       ;;
7096     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
7097       # This compiler won't grok '-c -o', but also, the minuso test has
7098       # not run yet.  These depmodes are late enough in the game, and
7099       # so weak that their functioning should not be impacted.
7100       am__obj=conftest.${OBJEXT-o}
7101       am__minus_obj=
7102       ;;
7103     none) break ;;
7104     esac
7105     if depmode=$depmode \
7106        source=sub/conftest.c object=$am__obj \
7107        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7108        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7109          >/dev/null 2>conftest.err &&
7110        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7111        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7112        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7113        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7114       # icc doesn't choke on unknown options, it will just issue warnings
7115       # or remarks (even with -Werror).  So we grep stderr for any message
7116       # that says an option was ignored or not supported.
7117       # When given -MP, icc 7.0 and 7.1 complain thusly:
7118       #   icc: Command line warning: ignoring option '-M'; no argument required
7119       # The diagnosis changed in icc 8.0:
7120       #   icc: Command line remark: option '-MP' not supported
7121       if (grep 'ignoring option' conftest.err ||
7122           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7123         am_cv_CC_dependencies_compiler_type=$depmode
7124         break
7125       fi
7126     fi
7127   done
7128
7129   cd ..
7130   rm -rf conftest.dir
7131 else
7132   am_cv_CC_dependencies_compiler_type=none
7133 fi
7134
7135 fi
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
7137 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
7138 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
7139
7140  if
7141   test "x$enable_dependency_tracking" != xno \
7142   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
7143   am__fastdepCC_TRUE=
7144   am__fastdepCC_FALSE='#'
7145 else
7146   am__fastdepCC_TRUE='#'
7147   am__fastdepCC_FALSE=
7148 fi
7149
7150
7151    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
7152 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
7153 if ${ac_cv_prog_cc_c99+:} false; then :
7154   $as_echo_n "(cached) " >&6
7155 else
7156   ac_cv_prog_cc_c99=no
7157 ac_save_CC=$CC
7158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7159 /* end confdefs.h.  */
7160 #include <stdarg.h>
7161 #include <stdbool.h>
7162 #include <stdlib.h>
7163 #include <wchar.h>
7164 #include <stdio.h>
7165
7166 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
7167 #define debug(...) fprintf (stderr, __VA_ARGS__)
7168 #define showlist(...) puts (#__VA_ARGS__)
7169 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
7170 static void
7171 test_varargs_macros (void)
7172 {
7173   int x = 1234;
7174   int y = 5678;
7175   debug ("Flag");
7176   debug ("X = %d\n", x);
7177   showlist (The first, second, and third items.);
7178   report (x>y, "x is %d but y is %d", x, y);
7179 }
7180
7181 // Check long long types.
7182 #define BIG64 18446744073709551615ull
7183 #define BIG32 4294967295ul
7184 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
7185 #if !BIG_OK
7186   your preprocessor is broken;
7187 #endif
7188 #if BIG_OK
7189 #else
7190   your preprocessor is broken;
7191 #endif
7192 static long long int bignum = -9223372036854775807LL;
7193 static unsigned long long int ubignum = BIG64;
7194
7195 struct incomplete_array
7196 {
7197   int datasize;
7198   double data[];
7199 };
7200
7201 struct named_init {
7202   int number;
7203   const wchar_t *name;
7204   double average;
7205 };
7206
7207 typedef const char *ccp;
7208
7209 static inline int
7210 test_restrict (ccp restrict text)
7211 {
7212   // See if C++-style comments work.
7213   // Iterate through items via the restricted pointer.
7214   // Also check for declarations in for loops.
7215   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
7216     continue;
7217   return 0;
7218 }
7219
7220 // Check varargs and va_copy.
7221 static void
7222 test_varargs (const char *format, ...)
7223 {
7224   va_list args;
7225   va_start (args, format);
7226   va_list args_copy;
7227   va_copy (args_copy, args);
7228
7229   const char *str;
7230   int number;
7231   float fnumber;
7232
7233   while (*format)
7234     {
7235       switch (*format++)
7236         {
7237         case 's': // string
7238           str = va_arg (args_copy, const char *);
7239           break;
7240         case 'd': // int
7241           number = va_arg (args_copy, int);
7242           break;
7243         case 'f': // float
7244           fnumber = va_arg (args_copy, double);
7245           break;
7246         default:
7247           break;
7248         }
7249     }
7250   va_end (args_copy);
7251   va_end (args);
7252 }
7253
7254 int
7255 main ()
7256 {
7257
7258   // Check bool.
7259   _Bool success = false;
7260
7261   // Check restrict.
7262   if (test_restrict ("String literal") == 0)
7263     success = true;
7264   char *restrict newvar = "Another string";
7265
7266   // Check varargs.
7267   test_varargs ("s, d' f .", "string", 65, 34.234);
7268   test_varargs_macros ();
7269
7270   // Check flexible array members.
7271   struct incomplete_array *ia =
7272     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
7273   ia->datasize = 10;
7274   for (int i = 0; i < ia->datasize; ++i)
7275     ia->data[i] = i * 1.234;
7276
7277   // Check named initializers.
7278   struct named_init ni = {
7279     .number = 34,
7280     .name = L"Test wide string",
7281     .average = 543.34343,
7282   };
7283
7284   ni.number = 58;
7285
7286   int dynamic_array[ni.number];
7287   dynamic_array[ni.number - 1] = 543;
7288
7289   // work around unused variable warnings
7290   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
7291           || dynamic_array[ni.number - 1] != 543);
7292
7293   ;
7294   return 0;
7295 }
7296 _ACEOF
7297 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
7298 do
7299   CC="$ac_save_CC $ac_arg"
7300   if ac_fn_c_try_compile "$LINENO"; then :
7301   ac_cv_prog_cc_c99=$ac_arg
7302 fi
7303 rm -f core conftest.err conftest.$ac_objext
7304   test "x$ac_cv_prog_cc_c99" != "xno" && break
7305 done
7306 rm -f conftest.$ac_ext
7307 CC=$ac_save_CC
7308
7309 fi
7310 # AC_CACHE_VAL
7311 case "x$ac_cv_prog_cc_c99" in
7312   x)
7313     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
7314 $as_echo "none needed" >&6; } ;;
7315   xno)
7316     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
7317 $as_echo "unsupported" >&6; } ;;
7318   *)
7319     CC="$CC $ac_cv_prog_cc_c99"
7320     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
7321 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
7322 esac
7323 if test "x$ac_cv_prog_cc_c99" != xno; then :
7324
7325 fi
7326
7327
7328 ac_ext=cpp
7329 ac_cpp='$CXXCPP $CPPFLAGS'
7330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7333 if test -z "$CXX"; then
7334   if test -n "$CCC"; then
7335     CXX=$CCC
7336   else
7337     if test -n "$ac_tool_prefix"; then
7338   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7339   do
7340     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7341 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7343 $as_echo_n "checking for $ac_word... " >&6; }
7344 if ${ac_cv_prog_CXX+:} false; then :
7345   $as_echo_n "(cached) " >&6
7346 else
7347   if test -n "$CXX"; then
7348   ac_cv_prog_CXX="$CXX" # Let the user override the test.
7349 else
7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7351 for as_dir in $PATH
7352 do
7353   IFS=$as_save_IFS
7354   test -z "$as_dir" && as_dir=.
7355     for ac_exec_ext in '' $ac_executable_extensions; do
7356   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7357     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7359     break 2
7360   fi
7361 done
7362   done
7363 IFS=$as_save_IFS
7364
7365 fi
7366 fi
7367 CXX=$ac_cv_prog_CXX
7368 if test -n "$CXX"; then
7369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7370 $as_echo "$CXX" >&6; }
7371 else
7372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 $as_echo "no" >&6; }
7374 fi
7375
7376
7377     test -n "$CXX" && break
7378   done
7379 fi
7380 if test -z "$CXX"; then
7381   ac_ct_CXX=$CXX
7382   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7383 do
7384   # Extract the first word of "$ac_prog", so it can be a program name with args.
7385 set dummy $ac_prog; ac_word=$2
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7387 $as_echo_n "checking for $ac_word... " >&6; }
7388 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
7389   $as_echo_n "(cached) " >&6
7390 else
7391   if test -n "$ac_ct_CXX"; then
7392   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7393 else
7394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7395 for as_dir in $PATH
7396 do
7397   IFS=$as_save_IFS
7398   test -z "$as_dir" && as_dir=.
7399     for ac_exec_ext in '' $ac_executable_extensions; do
7400   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7401     ac_cv_prog_ac_ct_CXX="$ac_prog"
7402     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7403     break 2
7404   fi
7405 done
7406   done
7407 IFS=$as_save_IFS
7408
7409 fi
7410 fi
7411 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7412 if test -n "$ac_ct_CXX"; then
7413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7414 $as_echo "$ac_ct_CXX" >&6; }
7415 else
7416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7417 $as_echo "no" >&6; }
7418 fi
7419
7420
7421   test -n "$ac_ct_CXX" && break
7422 done
7423
7424   if test "x$ac_ct_CXX" = x; then
7425     CXX="g++"
7426   else
7427     case $cross_compiling:$ac_tool_warned in
7428 yes:)
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7431 ac_tool_warned=yes ;;
7432 esac
7433     CXX=$ac_ct_CXX
7434   fi
7435 fi
7436
7437   fi
7438 fi
7439 # Provide some information about the compiler.
7440 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7441 set X $ac_compile
7442 ac_compiler=$2
7443 for ac_option in --version -v -V -qversion; do
7444   { { ac_try="$ac_compiler $ac_option >&5"
7445 case "(($ac_try" in
7446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7447   *) ac_try_echo=$ac_try;;
7448 esac
7449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7450 $as_echo "$ac_try_echo"; } >&5
7451   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
7452   ac_status=$?
7453   if test -s conftest.err; then
7454     sed '10a\
7455 ... rest of stderr output deleted ...
7456          10q' conftest.err >conftest.er1
7457     cat conftest.er1 >&5
7458   fi
7459   rm -f conftest.er1 conftest.err
7460   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7461   test $ac_status = 0; }
7462 done
7463
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7465 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7466 if ${ac_cv_cxx_compiler_gnu+:} false; then :
7467   $as_echo_n "(cached) " >&6
7468 else
7469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7470 /* end confdefs.h.  */
7471
7472 int
7473 main ()
7474 {
7475 #ifndef __GNUC__
7476        choke me
7477 #endif
7478
7479   ;
7480   return 0;
7481 }
7482 _ACEOF
7483 if ac_fn_cxx_try_compile "$LINENO"; then :
7484   ac_compiler_gnu=yes
7485 else
7486   ac_compiler_gnu=no
7487 fi
7488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7489 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7490
7491 fi
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7493 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7494 if test $ac_compiler_gnu = yes; then
7495   GXX=yes
7496 else
7497   GXX=
7498 fi
7499 ac_test_CXXFLAGS=${CXXFLAGS+set}
7500 ac_save_CXXFLAGS=$CXXFLAGS
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7502 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
7503 if ${ac_cv_prog_cxx_g+:} false; then :
7504   $as_echo_n "(cached) " >&6
7505 else
7506   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7507    ac_cxx_werror_flag=yes
7508    ac_cv_prog_cxx_g=no
7509    CXXFLAGS="-g"
7510    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7511 /* end confdefs.h.  */
7512
7513 int
7514 main ()
7515 {
7516
7517   ;
7518   return 0;
7519 }
7520 _ACEOF
7521 if ac_fn_cxx_try_compile "$LINENO"; then :
7522   ac_cv_prog_cxx_g=yes
7523 else
7524   CXXFLAGS=""
7525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h.  */
7527
7528 int
7529 main ()
7530 {
7531
7532   ;
7533   return 0;
7534 }
7535 _ACEOF
7536 if ac_fn_cxx_try_compile "$LINENO"; then :
7537
7538 else
7539   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7540          CXXFLAGS="-g"
7541          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542 /* end confdefs.h.  */
7543
7544 int
7545 main ()
7546 {
7547
7548   ;
7549   return 0;
7550 }
7551 _ACEOF
7552 if ac_fn_cxx_try_compile "$LINENO"; then :
7553   ac_cv_prog_cxx_g=yes
7554 fi
7555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7556 fi
7557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7558 fi
7559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7560    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7561 fi
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7563 $as_echo "$ac_cv_prog_cxx_g" >&6; }
7564 if test "$ac_test_CXXFLAGS" = set; then
7565   CXXFLAGS=$ac_save_CXXFLAGS
7566 elif test $ac_cv_prog_cxx_g = yes; then
7567   if test "$GXX" = yes; then
7568     CXXFLAGS="-g -O2"
7569   else
7570     CXXFLAGS="-g"
7571   fi
7572 else
7573   if test "$GXX" = yes; then
7574     CXXFLAGS="-O2"
7575   else
7576     CXXFLAGS=
7577   fi
7578 fi
7579 ac_ext=c
7580 ac_cpp='$CPP $CPPFLAGS'
7581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7584
7585 depcc="$CXX"  am_compiler_list=
7586
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7588 $as_echo_n "checking dependency style of $depcc... " >&6; }
7589 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
7590   $as_echo_n "(cached) " >&6
7591 else
7592   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7593   # We make a subdir and do the tests there.  Otherwise we can end up
7594   # making bogus files that we don't know about and never remove.  For
7595   # instance it was reported that on HP-UX the gcc test will end up
7596   # making a dummy file named 'D' -- because '-MD' means "put the output
7597   # in D".
7598   rm -rf conftest.dir
7599   mkdir conftest.dir
7600   # Copy depcomp to subdir because otherwise we won't find it if we're
7601   # using a relative directory.
7602   cp "$am_depcomp" conftest.dir
7603   cd conftest.dir
7604   # We will build objects and dependencies in a subdirectory because
7605   # it helps to detect inapplicable dependency modes.  For instance
7606   # both Tru64's cc and ICC support -MD to output dependencies as a
7607   # side effect of compilation, but ICC will put the dependencies in
7608   # the current directory while Tru64 will put them in the object
7609   # directory.
7610   mkdir sub
7611
7612   am_cv_CXX_dependencies_compiler_type=none
7613   if test "$am_compiler_list" = ""; then
7614      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7615   fi
7616   am__universal=false
7617   case " $depcc " in #(
7618      *\ -arch\ *\ -arch\ *) am__universal=true ;;
7619      esac
7620
7621   for depmode in $am_compiler_list; do
7622     # Setup a source with many dependencies, because some compilers
7623     # like to wrap large dependency lists on column 80 (with \), and
7624     # we should not choose a depcomp mode which is confused by this.
7625     #
7626     # We need to recreate these files for each test, as the compiler may
7627     # overwrite some of them when testing with obscure command lines.
7628     # This happens at least with the AIX C compiler.
7629     : > sub/conftest.c
7630     for i in 1 2 3 4 5 6; do
7631       echo '#include "conftst'$i'.h"' >> sub/conftest.c
7632       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
7633       # Solaris 10 /bin/sh.
7634       echo '/* dummy */' > sub/conftst$i.h
7635     done
7636     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7637
7638     # We check with '-c' and '-o' for the sake of the "dashmstdout"
7639     # mode.  It turns out that the SunPro C++ compiler does not properly
7640     # handle '-M -o', and we need to detect this.  Also, some Intel
7641     # versions had trouble with output in subdirs.
7642     am__obj=sub/conftest.${OBJEXT-o}
7643     am__minus_obj="-o $am__obj"
7644     case $depmode in
7645     gcc)
7646       # This depmode causes a compiler race in universal mode.
7647       test "$am__universal" = false || continue
7648       ;;
7649     nosideeffect)
7650       # After this tag, mechanisms are not by side-effect, so they'll
7651       # only be used when explicitly requested.
7652       if test "x$enable_dependency_tracking" = xyes; then
7653         continue
7654       else
7655         break
7656       fi
7657       ;;
7658     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
7659       # This compiler won't grok '-c -o', but also, the minuso test has
7660       # not run yet.  These depmodes are late enough in the game, and
7661       # so weak that their functioning should not be impacted.
7662       am__obj=conftest.${OBJEXT-o}
7663       am__minus_obj=
7664       ;;
7665     none) break ;;
7666     esac
7667     if depmode=$depmode \
7668        source=sub/conftest.c object=$am__obj \
7669        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7670        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7671          >/dev/null 2>conftest.err &&
7672        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7673        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7674        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7675        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7676       # icc doesn't choke on unknown options, it will just issue warnings
7677       # or remarks (even with -Werror).  So we grep stderr for any message
7678       # that says an option was ignored or not supported.
7679       # When given -MP, icc 7.0 and 7.1 complain thusly:
7680       #   icc: Command line warning: ignoring option '-M'; no argument required
7681       # The diagnosis changed in icc 8.0:
7682       #   icc: Command line remark: option '-MP' not supported
7683       if (grep 'ignoring option' conftest.err ||
7684           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7685         am_cv_CXX_dependencies_compiler_type=$depmode
7686         break
7687       fi
7688     fi
7689   done
7690
7691   cd ..
7692   rm -rf conftest.dir
7693 else
7694   am_cv_CXX_dependencies_compiler_type=none
7695 fi
7696
7697 fi
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7699 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7700 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7701
7702  if
7703   test "x$enable_dependency_tracking" != xno \
7704   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7705   am__fastdepCXX_TRUE=
7706   am__fastdepCXX_FALSE='#'
7707 else
7708   am__fastdepCXX_TRUE='#'
7709   am__fastdepCXX_FALSE=
7710 fi
7711
7712
7713 ac_ext=c
7714 ac_cpp='$CPP $CPPFLAGS'
7715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7719 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7720 # On Suns, sometimes $CPP names a directory.
7721 if test -n "$CPP" && test -d "$CPP"; then
7722   CPP=
7723 fi
7724 if test -z "$CPP"; then
7725   if ${ac_cv_prog_CPP+:} false; then :
7726   $as_echo_n "(cached) " >&6
7727 else
7728       # Double quotes because CPP needs to be expanded
7729     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7730     do
7731       ac_preproc_ok=false
7732 for ac_c_preproc_warn_flag in '' yes
7733 do
7734   # Use a header file that comes with gcc, so configuring glibc
7735   # with a fresh cross-compiler works.
7736   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7737   # <limits.h> exists even on freestanding compilers.
7738   # On the NeXT, cc -E runs the code through the compiler's parser,
7739   # not just through cpp. "Syntax error" is here to catch this case.
7740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7741 /* end confdefs.h.  */
7742 #ifdef __STDC__
7743 # include <limits.h>
7744 #else
7745 # include <assert.h>
7746 #endif
7747                      Syntax error
7748 _ACEOF
7749 if ac_fn_c_try_cpp "$LINENO"; then :
7750
7751 else
7752   # Broken: fails on valid input.
7753 continue
7754 fi
7755 rm -f conftest.err conftest.i conftest.$ac_ext
7756
7757   # OK, works on sane cases.  Now check whether nonexistent headers
7758   # can be detected and how.
7759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7760 /* end confdefs.h.  */
7761 #include <ac_nonexistent.h>
7762 _ACEOF
7763 if ac_fn_c_try_cpp "$LINENO"; then :
7764   # Broken: success on invalid input.
7765 continue
7766 else
7767   # Passes both tests.
7768 ac_preproc_ok=:
7769 break
7770 fi
7771 rm -f conftest.err conftest.i conftest.$ac_ext
7772
7773 done
7774 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7775 rm -f conftest.i conftest.err conftest.$ac_ext
7776 if $ac_preproc_ok; then :
7777   break
7778 fi
7779
7780     done
7781     ac_cv_prog_CPP=$CPP
7782
7783 fi
7784   CPP=$ac_cv_prog_CPP
7785 else
7786   ac_cv_prog_CPP=$CPP
7787 fi
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7789 $as_echo "$CPP" >&6; }
7790 ac_preproc_ok=false
7791 for ac_c_preproc_warn_flag in '' yes
7792 do
7793   # Use a header file that comes with gcc, so configuring glibc
7794   # with a fresh cross-compiler works.
7795   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7796   # <limits.h> exists even on freestanding compilers.
7797   # On the NeXT, cc -E runs the code through the compiler's parser,
7798   # not just through cpp. "Syntax error" is here to catch this case.
7799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7800 /* end confdefs.h.  */
7801 #ifdef __STDC__
7802 # include <limits.h>
7803 #else
7804 # include <assert.h>
7805 #endif
7806                      Syntax error
7807 _ACEOF
7808 if ac_fn_c_try_cpp "$LINENO"; then :
7809
7810 else
7811   # Broken: fails on valid input.
7812 continue
7813 fi
7814 rm -f conftest.err conftest.i conftest.$ac_ext
7815
7816   # OK, works on sane cases.  Now check whether nonexistent headers
7817   # can be detected and how.
7818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7819 /* end confdefs.h.  */
7820 #include <ac_nonexistent.h>
7821 _ACEOF
7822 if ac_fn_c_try_cpp "$LINENO"; then :
7823   # Broken: success on invalid input.
7824 continue
7825 else
7826   # Passes both tests.
7827 ac_preproc_ok=:
7828 break
7829 fi
7830 rm -f conftest.err conftest.i conftest.$ac_ext
7831
7832 done
7833 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7834 rm -f conftest.i conftest.err conftest.$ac_ext
7835 if $ac_preproc_ok; then :
7836
7837 else
7838   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7840 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7841 See \`config.log' for more details" "$LINENO" 5; }
7842 fi
7843
7844 ac_ext=c
7845 ac_cpp='$CPP $CPPFLAGS'
7846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7849
7850
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7852 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7853 if ${ac_cv_path_GREP+:} false; then :
7854   $as_echo_n "(cached) " >&6
7855 else
7856   if test -z "$GREP"; then
7857   ac_path_GREP_found=false
7858   # Loop through the user's path and test for each of PROGNAME-LIST
7859   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7860 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7861 do
7862   IFS=$as_save_IFS
7863   test -z "$as_dir" && as_dir=.
7864     for ac_prog in grep ggrep; do
7865     for ac_exec_ext in '' $ac_executable_extensions; do
7866       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7867       as_fn_executable_p "$ac_path_GREP" || continue
7868 # Check for GNU ac_path_GREP and select it if it is found.
7869   # Check for GNU $ac_path_GREP
7870 case `"$ac_path_GREP" --version 2>&1` in
7871 *GNU*)
7872   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7873 *)
7874   ac_count=0
7875   $as_echo_n 0123456789 >"conftest.in"
7876   while :
7877   do
7878     cat "conftest.in" "conftest.in" >"conftest.tmp"
7879     mv "conftest.tmp" "conftest.in"
7880     cp "conftest.in" "conftest.nl"
7881     $as_echo 'GREP' >> "conftest.nl"
7882     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7883     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7884     as_fn_arith $ac_count + 1 && ac_count=$as_val
7885     if test $ac_count -gt ${ac_path_GREP_max-0}; then
7886       # Best one so far, save it but keep looking for a better one
7887       ac_cv_path_GREP="$ac_path_GREP"
7888       ac_path_GREP_max=$ac_count
7889     fi
7890     # 10*(2^10) chars as input seems more than enough
7891     test $ac_count -gt 10 && break
7892   done
7893   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7894 esac
7895
7896       $ac_path_GREP_found && break 3
7897     done
7898   done
7899   done
7900 IFS=$as_save_IFS
7901   if test -z "$ac_cv_path_GREP"; then
7902     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7903   fi
7904 else
7905   ac_cv_path_GREP=$GREP
7906 fi
7907
7908 fi
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7910 $as_echo "$ac_cv_path_GREP" >&6; }
7911  GREP="$ac_cv_path_GREP"
7912
7913
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7915 $as_echo_n "checking for egrep... " >&6; }
7916 if ${ac_cv_path_EGREP+:} false; then :
7917   $as_echo_n "(cached) " >&6
7918 else
7919   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7920    then ac_cv_path_EGREP="$GREP -E"
7921    else
7922      if test -z "$EGREP"; then
7923   ac_path_EGREP_found=false
7924   # Loop through the user's path and test for each of PROGNAME-LIST
7925   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7926 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7927 do
7928   IFS=$as_save_IFS
7929   test -z "$as_dir" && as_dir=.
7930     for ac_prog in egrep; do
7931     for ac_exec_ext in '' $ac_executable_extensions; do
7932       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7933       as_fn_executable_p "$ac_path_EGREP" || continue
7934 # Check for GNU ac_path_EGREP and select it if it is found.
7935   # Check for GNU $ac_path_EGREP
7936 case `"$ac_path_EGREP" --version 2>&1` in
7937 *GNU*)
7938   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7939 *)
7940   ac_count=0
7941   $as_echo_n 0123456789 >"conftest.in"
7942   while :
7943   do
7944     cat "conftest.in" "conftest.in" >"conftest.tmp"
7945     mv "conftest.tmp" "conftest.in"
7946     cp "conftest.in" "conftest.nl"
7947     $as_echo 'EGREP' >> "conftest.nl"
7948     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7949     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7950     as_fn_arith $ac_count + 1 && ac_count=$as_val
7951     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7952       # Best one so far, save it but keep looking for a better one
7953       ac_cv_path_EGREP="$ac_path_EGREP"
7954       ac_path_EGREP_max=$ac_count
7955     fi
7956     # 10*(2^10) chars as input seems more than enough
7957     test $ac_count -gt 10 && break
7958   done
7959   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7960 esac
7961
7962       $ac_path_EGREP_found && break 3
7963     done
7964   done
7965   done
7966 IFS=$as_save_IFS
7967   if test -z "$ac_cv_path_EGREP"; then
7968     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7969   fi
7970 else
7971   ac_cv_path_EGREP=$EGREP
7972 fi
7973
7974    fi
7975 fi
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7977 $as_echo "$ac_cv_path_EGREP" >&6; }
7978  EGREP="$ac_cv_path_EGREP"
7979
7980
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7982 $as_echo_n "checking for ANSI C header files... " >&6; }
7983 if ${ac_cv_header_stdc+:} false; then :
7984   $as_echo_n "(cached) " >&6
7985 else
7986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7987 /* end confdefs.h.  */
7988 #include <stdlib.h>
7989 #include <stdarg.h>
7990 #include <string.h>
7991 #include <float.h>
7992
7993 int
7994 main ()
7995 {
7996
7997   ;
7998   return 0;
7999 }
8000 _ACEOF
8001 if ac_fn_c_try_compile "$LINENO"; then :
8002   ac_cv_header_stdc=yes
8003 else
8004   ac_cv_header_stdc=no
8005 fi
8006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8007
8008 if test $ac_cv_header_stdc = yes; then
8009   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8011 /* end confdefs.h.  */
8012 #include <string.h>
8013
8014 _ACEOF
8015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8016   $EGREP "memchr" >/dev/null 2>&1; then :
8017
8018 else
8019   ac_cv_header_stdc=no
8020 fi
8021 rm -f conftest*
8022
8023 fi
8024
8025 if test $ac_cv_header_stdc = yes; then
8026   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8028 /* end confdefs.h.  */
8029 #include <stdlib.h>
8030
8031 _ACEOF
8032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8033   $EGREP "free" >/dev/null 2>&1; then :
8034
8035 else
8036   ac_cv_header_stdc=no
8037 fi
8038 rm -f conftest*
8039
8040 fi
8041
8042 if test $ac_cv_header_stdc = yes; then
8043   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8044   if test "$cross_compiling" = yes; then :
8045   :
8046 else
8047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8048 /* end confdefs.h.  */
8049 #include <ctype.h>
8050 #include <stdlib.h>
8051 #if ((' ' & 0x0FF) == 0x020)
8052 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8053 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8054 #else
8055 # define ISLOWER(c) \
8056                    (('a' <= (c) && (c) <= 'i') \
8057                      || ('j' <= (c) && (c) <= 'r') \
8058                      || ('s' <= (c) && (c) <= 'z'))
8059 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8060 #endif
8061
8062 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8063 int
8064 main ()
8065 {
8066   int i;
8067   for (i = 0; i < 256; i++)
8068     if (XOR (islower (i), ISLOWER (i))
8069         || toupper (i) != TOUPPER (i))
8070       return 2;
8071   return 0;
8072 }
8073 _ACEOF
8074 if ac_fn_c_try_run "$LINENO"; then :
8075
8076 else
8077   ac_cv_header_stdc=no
8078 fi
8079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8080   conftest.$ac_objext conftest.beam conftest.$ac_ext
8081 fi
8082
8083 fi
8084 fi
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8086 $as_echo "$ac_cv_header_stdc" >&6; }
8087 if test $ac_cv_header_stdc = yes; then
8088
8089 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8090
8091 fi
8092
8093
8094 # Check whether --enable-largefile was given.
8095 if test "${enable_largefile+set}" = set; then :
8096   enableval=$enable_largefile;
8097 fi
8098
8099 if test "$enable_largefile" != no; then
8100
8101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
8102 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
8103 if ${ac_cv_sys_largefile_CC+:} false; then :
8104   $as_echo_n "(cached) " >&6
8105 else
8106   ac_cv_sys_largefile_CC=no
8107      if test "$GCC" != yes; then
8108        ac_save_CC=$CC
8109        while :; do
8110          # IRIX 6.2 and later do not support large files by default,
8111          # so use the C compiler's -n32 option if that helps.
8112          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8113 /* end confdefs.h.  */
8114 #include <sys/types.h>
8115  /* Check that off_t can represent 2**63 - 1 correctly.
8116     We can't simply define LARGE_OFF_T to be 9223372036854775807,
8117     since some C++ compilers masquerading as C compilers
8118     incorrectly reject 9223372036854775807.  */
8119 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8120   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8121                        && LARGE_OFF_T % 2147483647 == 1)
8122                       ? 1 : -1];
8123 int
8124 main ()
8125 {
8126
8127   ;
8128   return 0;
8129 }
8130 _ACEOF
8131          if ac_fn_c_try_compile "$LINENO"; then :
8132   break
8133 fi
8134 rm -f core conftest.err conftest.$ac_objext
8135          CC="$CC -n32"
8136          if ac_fn_c_try_compile "$LINENO"; then :
8137   ac_cv_sys_largefile_CC=' -n32'; break
8138 fi
8139 rm -f core conftest.err conftest.$ac_objext
8140          break
8141        done
8142        CC=$ac_save_CC
8143        rm -f conftest.$ac_ext
8144     fi
8145 fi
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
8147 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
8148   if test "$ac_cv_sys_largefile_CC" != no; then
8149     CC=$CC$ac_cv_sys_largefile_CC
8150   fi
8151
8152   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
8153 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
8154 if ${ac_cv_sys_file_offset_bits+:} false; then :
8155   $as_echo_n "(cached) " >&6
8156 else
8157   while :; do
8158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8159 /* end confdefs.h.  */
8160 #include <sys/types.h>
8161  /* Check that off_t can represent 2**63 - 1 correctly.
8162     We can't simply define LARGE_OFF_T to be 9223372036854775807,
8163     since some C++ compilers masquerading as C compilers
8164     incorrectly reject 9223372036854775807.  */
8165 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8166   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8167                        && LARGE_OFF_T % 2147483647 == 1)
8168                       ? 1 : -1];
8169 int
8170 main ()
8171 {
8172
8173   ;
8174   return 0;
8175 }
8176 _ACEOF
8177 if ac_fn_c_try_compile "$LINENO"; then :
8178   ac_cv_sys_file_offset_bits=no; break
8179 fi
8180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8182 /* end confdefs.h.  */
8183 #define _FILE_OFFSET_BITS 64
8184 #include <sys/types.h>
8185  /* Check that off_t can represent 2**63 - 1 correctly.
8186     We can't simply define LARGE_OFF_T to be 9223372036854775807,
8187     since some C++ compilers masquerading as C compilers
8188     incorrectly reject 9223372036854775807.  */
8189 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8190   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8191                        && LARGE_OFF_T % 2147483647 == 1)
8192                       ? 1 : -1];
8193 int
8194 main ()
8195 {
8196
8197   ;
8198   return 0;
8199 }
8200 _ACEOF
8201 if ac_fn_c_try_compile "$LINENO"; then :
8202   ac_cv_sys_file_offset_bits=64; break
8203 fi
8204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8205   ac_cv_sys_file_offset_bits=unknown
8206   break
8207 done
8208 fi
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
8210 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
8211 case $ac_cv_sys_file_offset_bits in #(
8212   no | unknown) ;;
8213   *)
8214 cat >>confdefs.h <<_ACEOF
8215 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
8216 _ACEOF
8217 ;;
8218 esac
8219 rm -rf conftest*
8220   if test $ac_cv_sys_file_offset_bits = unknown; then
8221     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
8222 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
8223 if ${ac_cv_sys_large_files+:} false; then :
8224   $as_echo_n "(cached) " >&6
8225 else
8226   while :; do
8227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8228 /* end confdefs.h.  */
8229 #include <sys/types.h>
8230  /* Check that off_t can represent 2**63 - 1 correctly.
8231     We can't simply define LARGE_OFF_T to be 9223372036854775807,
8232     since some C++ compilers masquerading as C compilers
8233     incorrectly reject 9223372036854775807.  */
8234 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8235   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8236                        && LARGE_OFF_T % 2147483647 == 1)
8237                       ? 1 : -1];
8238 int
8239 main ()
8240 {
8241
8242   ;
8243   return 0;
8244 }
8245 _ACEOF
8246 if ac_fn_c_try_compile "$LINENO"; then :
8247   ac_cv_sys_large_files=no; break
8248 fi
8249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8251 /* end confdefs.h.  */
8252 #define _LARGE_FILES 1
8253 #include <sys/types.h>
8254  /* Check that off_t can represent 2**63 - 1 correctly.
8255     We can't simply define LARGE_OFF_T to be 9223372036854775807,
8256     since some C++ compilers masquerading as C compilers
8257     incorrectly reject 9223372036854775807.  */
8258 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
8259   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8260                        && LARGE_OFF_T % 2147483647 == 1)
8261                       ? 1 : -1];
8262 int
8263 main ()
8264 {
8265
8266   ;
8267   return 0;
8268 }
8269 _ACEOF
8270 if ac_fn_c_try_compile "$LINENO"; then :
8271   ac_cv_sys_large_files=1; break
8272 fi
8273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8274   ac_cv_sys_large_files=unknown
8275   break
8276 done
8277 fi
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
8279 $as_echo "$ac_cv_sys_large_files" >&6; }
8280 case $ac_cv_sys_large_files in #(
8281   no | unknown) ;;
8282   *)
8283 cat >>confdefs.h <<_ACEOF
8284 #define _LARGE_FILES $ac_cv_sys_large_files
8285 _ACEOF
8286 ;;
8287 esac
8288 rm -rf conftest*
8289   fi
8290
8291
8292 fi
8293
8294
8295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
8296 $as_echo_n "checking whether NLS is requested... " >&6; }
8297     # Check whether --enable-nls was given.
8298 if test "${enable_nls+set}" = set; then :
8299   enableval=$enable_nls; USE_NLS=$enableval
8300 else
8301   USE_NLS=yes
8302 fi
8303
8304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
8305 $as_echo "$USE_NLS" >&6; }
8306
8307
8308
8309
8310 case "$am__api_version" in
8311     1.01234)
8312         as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
8313     ;;
8314     *)
8315     ;;
8316 esac
8317
8318 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
8319 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
8320 INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
8321 if test -n "0.35.0"; then
8322     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
8323 $as_echo_n "checking for intltool >= 0.35.0... " >&6; }
8324     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
8325 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
8326     test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
8327         as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
8328 fi
8329
8330 # Extract the first word of "intltool-update", so it can be a program name with args.
8331 set dummy intltool-update; ac_word=$2
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8333 $as_echo_n "checking for $ac_word... " >&6; }
8334 if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
8335   $as_echo_n "(cached) " >&6
8336 else
8337   case $INTLTOOL_UPDATE in
8338   [\\/]* | ?:[\\/]*)
8339   ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
8340   ;;
8341   *)
8342   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8343 for as_dir in $PATH
8344 do
8345   IFS=$as_save_IFS
8346   test -z "$as_dir" && as_dir=.
8347     for ac_exec_ext in '' $ac_executable_extensions; do
8348   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8349     ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
8350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8351     break 2
8352   fi
8353 done
8354   done
8355 IFS=$as_save_IFS
8356
8357   ;;
8358 esac
8359 fi
8360 INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
8361 if test -n "$INTLTOOL_UPDATE"; then
8362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
8363 $as_echo "$INTLTOOL_UPDATE" >&6; }
8364 else
8365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8366 $as_echo "no" >&6; }
8367 fi
8368
8369
8370 # Extract the first word of "intltool-merge", so it can be a program name with args.
8371 set dummy intltool-merge; ac_word=$2
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8373 $as_echo_n "checking for $ac_word... " >&6; }
8374 if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
8375   $as_echo_n "(cached) " >&6
8376 else
8377   case $INTLTOOL_MERGE in
8378   [\\/]* | ?:[\\/]*)
8379   ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
8380   ;;
8381   *)
8382   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8383 for as_dir in $PATH
8384 do
8385   IFS=$as_save_IFS
8386   test -z "$as_dir" && as_dir=.
8387     for ac_exec_ext in '' $ac_executable_extensions; do
8388   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8389     ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
8390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8391     break 2
8392   fi
8393 done
8394   done
8395 IFS=$as_save_IFS
8396
8397   ;;
8398 esac
8399 fi
8400 INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
8401 if test -n "$INTLTOOL_MERGE"; then
8402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
8403 $as_echo "$INTLTOOL_MERGE" >&6; }
8404 else
8405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8406 $as_echo "no" >&6; }
8407 fi
8408
8409
8410 # Extract the first word of "intltool-extract", so it can be a program name with args.
8411 set dummy intltool-extract; ac_word=$2
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8413 $as_echo_n "checking for $ac_word... " >&6; }
8414 if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
8415   $as_echo_n "(cached) " >&6
8416 else
8417   case $INTLTOOL_EXTRACT in
8418   [\\/]* | ?:[\\/]*)
8419   ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
8420   ;;
8421   *)
8422   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8423 for as_dir in $PATH
8424 do
8425   IFS=$as_save_IFS
8426   test -z "$as_dir" && as_dir=.
8427     for ac_exec_ext in '' $ac_executable_extensions; do
8428   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8429     ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
8430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8431     break 2
8432   fi
8433 done
8434   done
8435 IFS=$as_save_IFS
8436
8437   ;;
8438 esac
8439 fi
8440 INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
8441 if test -n "$INTLTOOL_EXTRACT"; then
8442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
8443 $as_echo "$INTLTOOL_EXTRACT" >&6; }
8444 else
8445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8446 $as_echo "no" >&6; }
8447 fi
8448
8449
8450 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
8451     as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
8452 fi
8453
8454 if test -z "$AM_DEFAULT_VERBOSITY"; then
8455   AM_DEFAULT_VERBOSITY=1
8456 fi
8457
8458
8459 INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
8460 INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
8461 INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
8462
8463
8464
8465
8466 INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
8467 intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
8468 intltool__v_merge_options_0='-q'
8469
8470
8471
8472
8473   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 $< $@'
8474 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 $< $@'
8475      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 $< $@'
8476      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 $< $@'
8477       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 $< $@'
8478      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 $< $@'
8479    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 $< $@'
8480     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 $< $@'
8481 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 $< $@'
8482        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 $< $@'
8483       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 $< $@'
8484 if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
8485       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 $< $@'
8486 else
8487       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'
8488 fi
8489       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 $< $@'
8490       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 $< $@'
8491     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 $< $@'
8492   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 $< $@'
8493     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 $< $@'
8494     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 $< $@'
8495    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 $< $@'
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593 # Check the gettext tools to make sure they are GNU
8594 # Extract the first word of "xgettext", so it can be a program name with args.
8595 set dummy xgettext; ac_word=$2
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8597 $as_echo_n "checking for $ac_word... " >&6; }
8598 if ${ac_cv_path_XGETTEXT+:} false; then :
8599   $as_echo_n "(cached) " >&6
8600 else
8601   case $XGETTEXT in
8602   [\\/]* | ?:[\\/]*)
8603   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
8604   ;;
8605   *)
8606   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8607 for as_dir in $PATH
8608 do
8609   IFS=$as_save_IFS
8610   test -z "$as_dir" && as_dir=.
8611     for ac_exec_ext in '' $ac_executable_extensions; do
8612   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8613     ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
8614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8615     break 2
8616   fi
8617 done
8618   done
8619 IFS=$as_save_IFS
8620
8621   ;;
8622 esac
8623 fi
8624 XGETTEXT=$ac_cv_path_XGETTEXT
8625 if test -n "$XGETTEXT"; then
8626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
8627 $as_echo "$XGETTEXT" >&6; }
8628 else
8629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8630 $as_echo "no" >&6; }
8631 fi
8632
8633
8634 # Extract the first word of "msgmerge", so it can be a program name with args.
8635 set dummy msgmerge; ac_word=$2
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8637 $as_echo_n "checking for $ac_word... " >&6; }
8638 if ${ac_cv_path_MSGMERGE+:} false; then :
8639   $as_echo_n "(cached) " >&6
8640 else
8641   case $MSGMERGE in
8642   [\\/]* | ?:[\\/]*)
8643   ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
8644   ;;
8645   *)
8646   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8647 for as_dir in $PATH
8648 do
8649   IFS=$as_save_IFS
8650   test -z "$as_dir" && as_dir=.
8651     for ac_exec_ext in '' $ac_executable_extensions; do
8652   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8653     ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
8654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8655     break 2
8656   fi
8657 done
8658   done
8659 IFS=$as_save_IFS
8660
8661   ;;
8662 esac
8663 fi
8664 MSGMERGE=$ac_cv_path_MSGMERGE
8665 if test -n "$MSGMERGE"; then
8666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
8667 $as_echo "$MSGMERGE" >&6; }
8668 else
8669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8670 $as_echo "no" >&6; }
8671 fi
8672
8673
8674 # Extract the first word of "msgfmt", so it can be a program name with args.
8675 set dummy msgfmt; ac_word=$2
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8677 $as_echo_n "checking for $ac_word... " >&6; }
8678 if ${ac_cv_path_MSGFMT+:} false; then :
8679   $as_echo_n "(cached) " >&6
8680 else
8681   case $MSGFMT in
8682   [\\/]* | ?:[\\/]*)
8683   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
8684   ;;
8685   *)
8686   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8687 for as_dir in $PATH
8688 do
8689   IFS=$as_save_IFS
8690   test -z "$as_dir" && as_dir=.
8691     for ac_exec_ext in '' $ac_executable_extensions; do
8692   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8693     ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
8694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8695     break 2
8696   fi
8697 done
8698   done
8699 IFS=$as_save_IFS
8700
8701   ;;
8702 esac
8703 fi
8704 MSGFMT=$ac_cv_path_MSGFMT
8705 if test -n "$MSGFMT"; then
8706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
8707 $as_echo "$MSGFMT" >&6; }
8708 else
8709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8710 $as_echo "no" >&6; }
8711 fi
8712
8713
8714 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8715 set dummy gmsgfmt; ac_word=$2
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8717 $as_echo_n "checking for $ac_word... " >&6; }
8718 if ${ac_cv_path_GMSGFMT+:} false; then :
8719   $as_echo_n "(cached) " >&6
8720 else
8721   case $GMSGFMT in
8722   [\\/]* | ?:[\\/]*)
8723   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
8724   ;;
8725   *)
8726   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8727 for as_dir in $PATH
8728 do
8729   IFS=$as_save_IFS
8730   test -z "$as_dir" && as_dir=.
8731     for ac_exec_ext in '' $ac_executable_extensions; do
8732   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8733     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8734     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8735     break 2
8736   fi
8737 done
8738   done
8739 IFS=$as_save_IFS
8740
8741   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8742   ;;
8743 esac
8744 fi
8745 GMSGFMT=$ac_cv_path_GMSGFMT
8746 if test -n "$GMSGFMT"; then
8747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
8748 $as_echo "$GMSGFMT" >&6; }
8749 else
8750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8751 $as_echo "no" >&6; }
8752 fi
8753
8754
8755 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
8756     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
8757 fi
8758 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
8759 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
8760 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
8761 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
8762     as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
8763 fi
8764
8765 # Extract the first word of "perl", so it can be a program name with args.
8766 set dummy perl; ac_word=$2
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8768 $as_echo_n "checking for $ac_word... " >&6; }
8769 if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
8770   $as_echo_n "(cached) " >&6
8771 else
8772   case $INTLTOOL_PERL in
8773   [\\/]* | ?:[\\/]*)
8774   ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
8775   ;;
8776   *)
8777   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8778 for as_dir in $PATH
8779 do
8780   IFS=$as_save_IFS
8781   test -z "$as_dir" && as_dir=.
8782     for ac_exec_ext in '' $ac_executable_extensions; do
8783   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8784     ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
8785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8786     break 2
8787   fi
8788 done
8789   done
8790 IFS=$as_save_IFS
8791
8792   ;;
8793 esac
8794 fi
8795 INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
8796 if test -n "$INTLTOOL_PERL"; then
8797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
8798 $as_echo "$INTLTOOL_PERL" >&6; }
8799 else
8800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8801 $as_echo "no" >&6; }
8802 fi
8803
8804
8805 if test -z "$INTLTOOL_PERL"; then
8806    as_fn_error $? "perl not found" "$LINENO" 5
8807 fi
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
8809 $as_echo_n "checking for perl >= 5.8.1... " >&6; }
8810 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
8811 if test $? -ne 0; then
8812    as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
8813 else
8814    IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
8815    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
8816 $as_echo "$IT_PERL_VERSION" >&6; }
8817 fi
8818 if test "x" != "xno-xml"; then
8819    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
8820 $as_echo_n "checking for XML::Parser... " >&6; }
8821    if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
8822        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8823 $as_echo "ok" >&6; }
8824    else
8825        as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
8826    fi
8827 fi
8828
8829 # Substitute ALL_LINGUAS so we can use it in po/Makefile
8830
8831
8832
8833
8834
8835
8836
8837 for ac_func in strverscmp access fsync fflush
8838 do :
8839   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8840 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
8841 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8842   cat >>confdefs.h <<_ACEOF
8843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8844 _ACEOF
8845
8846 fi
8847 done
8848
8849
8850
8851 # Check target architecture
8852
8853 # Check for Win32
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
8855 $as_echo_n "checking for some Win32 platform... " >&6; }
8856 case "$target_os" in
8857   mingw* | cygwin*)
8858     platform_win32=yes
8859
8860 $as_echo "#define PLATFORM_WIN32 1" >>confdefs.h
8861
8862     ;;
8863   *)
8864     platform_win32=no
8865     ;;
8866 esac
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
8868 $as_echo "$platform_win32" >&6; }
8869  if test "$platform_win32" = "yes"; then
8870   PLATFORM_WIN32_TRUE=
8871   PLATFORM_WIN32_FALSE='#'
8872 else
8873   PLATFORM_WIN32_TRUE='#'
8874   PLATFORM_WIN32_FALSE=
8875 fi
8876
8877
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
8879 $as_echo_n "checking for native Win32... " >&6; }
8880 case "$target_os" in
8881   mingw*)
8882     os_win32=yes
8883
8884 $as_echo "#define OS_WIN32 1" >>confdefs.h
8885
8886     os_unix=no
8887     PATHSEP=';'
8888     ;;
8889   *)
8890     os_win32=no
8891     os_unix=yes
8892     PATHSEP=':'
8893     ;;
8894 esac
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
8896 $as_echo "$os_win32" >&6; }
8897
8898  if test "$os_win32" = "yes"; then
8899   OS_WIN32_TRUE=
8900   OS_WIN32_FALSE='#'
8901 else
8902   OS_WIN32_TRUE='#'
8903   OS_WIN32_FALSE=
8904 fi
8905
8906  if test "$os_unix" = "yes"; then
8907   OS_UNIX_TRUE=
8908   OS_UNIX_FALSE='#'
8909 else
8910   OS_UNIX_TRUE='#'
8911   OS_UNIX_FALSE=
8912 fi
8913
8914
8915 if test "$os_win32" = "yes"; then
8916   # Extract the first word of "lib.exe", so it can be a program name with args.
8917 set dummy lib.exe; ac_word=$2
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8919 $as_echo_n "checking for $ac_word... " >&6; }
8920 if ${ac_cv_prog_ms_librarian+:} false; then :
8921   $as_echo_n "(cached) " >&6
8922 else
8923   if test -n "$ms_librarian"; then
8924   ac_cv_prog_ms_librarian="$ms_librarian" # Let the user override the test.
8925 else
8926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8927 for as_dir in $PATH
8928 do
8929   IFS=$as_save_IFS
8930   test -z "$as_dir" && as_dir=.
8931     for ac_exec_ext in '' $ac_executable_extensions; do
8932   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8933     ac_cv_prog_ms_librarian="yes"
8934     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8935     break 2
8936   fi
8937 done
8938   done
8939 IFS=$as_save_IFS
8940
8941   test -z "$ac_cv_prog_ms_librarian" && ac_cv_prog_ms_librarian="no"
8942 fi
8943 fi
8944 ms_librarian=$ac_cv_prog_ms_librarian
8945 if test -n "$ms_librarian"; then
8946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ms_librarian" >&5
8947 $as_echo "$ms_librarian" >&6; }
8948 else
8949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8950 $as_echo "no" >&6; }
8951 fi
8952
8953
8954   if test -n "$ac_tool_prefix"; then
8955   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
8956 set dummy ${ac_tool_prefix}windres; ac_word=$2
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8958 $as_echo_n "checking for $ac_word... " >&6; }
8959 if ${ac_cv_prog_WINDRES+:} false; then :
8960   $as_echo_n "(cached) " >&6
8961 else
8962   if test -n "$WINDRES"; then
8963   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8964 else
8965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8966 for as_dir in $PATH
8967 do
8968   IFS=$as_save_IFS
8969   test -z "$as_dir" && as_dir=.
8970     for ac_exec_ext in '' $ac_executable_extensions; do
8971   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8972     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
8973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8974     break 2
8975   fi
8976 done
8977   done
8978 IFS=$as_save_IFS
8979
8980 fi
8981 fi
8982 WINDRES=$ac_cv_prog_WINDRES
8983 if test -n "$WINDRES"; then
8984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
8985 $as_echo "$WINDRES" >&6; }
8986 else
8987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8988 $as_echo "no" >&6; }
8989 fi
8990
8991
8992 fi
8993 if test -z "$ac_cv_prog_WINDRES"; then
8994   ac_ct_WINDRES=$WINDRES
8995   # Extract the first word of "windres", so it can be a program name with args.
8996 set dummy windres; ac_word=$2
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8998 $as_echo_n "checking for $ac_word... " >&6; }
8999 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
9000   $as_echo_n "(cached) " >&6
9001 else
9002   if test -n "$ac_ct_WINDRES"; then
9003   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
9004 else
9005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9006 for as_dir in $PATH
9007 do
9008   IFS=$as_save_IFS
9009   test -z "$as_dir" && as_dir=.
9010     for ac_exec_ext in '' $ac_executable_extensions; do
9011   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9012     ac_cv_prog_ac_ct_WINDRES="windres"
9013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9014     break 2
9015   fi
9016 done
9017   done
9018 IFS=$as_save_IFS
9019
9020 fi
9021 fi
9022 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
9023 if test -n "$ac_ct_WINDRES"; then
9024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
9025 $as_echo "$ac_ct_WINDRES" >&6; }
9026 else
9027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9028 $as_echo "no" >&6; }
9029 fi
9030
9031   if test "x$ac_ct_WINDRES" = x; then
9032     WINDRES=":"
9033   else
9034     case $cross_compiling:$ac_tool_warned in
9035 yes:)
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9038 ac_tool_warned=yes ;;
9039 esac
9040     WINDRES=$ac_ct_WINDRES
9041   fi
9042 else
9043   WINDRES="$ac_cv_prog_WINDRES"
9044 fi
9045
9046 else
9047   WINDRES=":"
9048 fi
9049
9050  if test x$ms_librarian = xyes; then
9051   MS_LIB_AVAILABLE_TRUE=
9052   MS_LIB_AVAILABLE_FALSE='#'
9053 else
9054   MS_LIB_AVAILABLE_TRUE='#'
9055   MS_LIB_AVAILABLE_FALSE=
9056 fi
9057
9058  if test "x$WINDRES" != "x:"; then
9059   HAVE_WINDRES_TRUE=
9060   HAVE_WINDRES_FALSE='#'
9061 else
9062   HAVE_WINDRES_TRUE='#'
9063   HAVE_WINDRES_FALSE=
9064 fi
9065
9066
9067
9068 if test "x$prefix" = "xNONE"; then
9069   prefix="/usr/local"
9070 else
9071   prefix=$prefix
9072 fi
9073
9074
9075
9076
9077 # Check whether --enable-glibtest was given.
9078 if test "${enable_glibtest+set}" = set; then :
9079   enableval=$enable_glibtest;
9080 else
9081   enable_glibtest=yes
9082 fi
9083
9084
9085   min_glib_version=2.52.0
9086   pkg_config_args="glib-2.0 >= $min_glib_version"
9087   for module in .
9088   do
9089       case "$module" in
9090          gmodule)
9091              pkg_config_args="$pkg_config_args gmodule-2.0"
9092          ;;
9093          gmodule-no-export)
9094              pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
9095          ;;
9096          gobject)
9097              pkg_config_args="$pkg_config_args gobject-2.0"
9098          ;;
9099          gthread)
9100              pkg_config_args="$pkg_config_args gthread-2.0"
9101          ;;
9102          gio*)
9103              pkg_config_args="$pkg_config_args $module-2.0"
9104          ;;
9105       esac
9106   done
9107
9108
9109
9110
9111
9112
9113
9114
9115 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9116         if test -n "$ac_tool_prefix"; then
9117   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9118 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9120 $as_echo_n "checking for $ac_word... " >&6; }
9121 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9122   $as_echo_n "(cached) " >&6
9123 else
9124   case $PKG_CONFIG in
9125   [\\/]* | ?:[\\/]*)
9126   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9127   ;;
9128   *)
9129   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9130 for as_dir in $PATH
9131 do
9132   IFS=$as_save_IFS
9133   test -z "$as_dir" && as_dir=.
9134     for ac_exec_ext in '' $ac_executable_extensions; do
9135   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9136     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9137     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9138     break 2
9139   fi
9140 done
9141   done
9142 IFS=$as_save_IFS
9143
9144   ;;
9145 esac
9146 fi
9147 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9148 if test -n "$PKG_CONFIG"; then
9149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9150 $as_echo "$PKG_CONFIG" >&6; }
9151 else
9152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9153 $as_echo "no" >&6; }
9154 fi
9155
9156
9157 fi
9158 if test -z "$ac_cv_path_PKG_CONFIG"; then
9159   ac_pt_PKG_CONFIG=$PKG_CONFIG
9160   # Extract the first word of "pkg-config", so it can be a program name with args.
9161 set dummy pkg-config; ac_word=$2
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9163 $as_echo_n "checking for $ac_word... " >&6; }
9164 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
9165   $as_echo_n "(cached) " >&6
9166 else
9167   case $ac_pt_PKG_CONFIG in
9168   [\\/]* | ?:[\\/]*)
9169   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9170   ;;
9171   *)
9172   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9173 for as_dir in $PATH
9174 do
9175   IFS=$as_save_IFS
9176   test -z "$as_dir" && as_dir=.
9177     for ac_exec_ext in '' $ac_executable_extensions; do
9178   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9179     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9180     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9181     break 2
9182   fi
9183 done
9184   done
9185 IFS=$as_save_IFS
9186
9187   ;;
9188 esac
9189 fi
9190 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9191 if test -n "$ac_pt_PKG_CONFIG"; then
9192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9193 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9194 else
9195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9196 $as_echo "no" >&6; }
9197 fi
9198
9199   if test "x$ac_pt_PKG_CONFIG" = x; then
9200     PKG_CONFIG=""
9201   else
9202     case $cross_compiling:$ac_tool_warned in
9203 yes:)
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9206 ac_tool_warned=yes ;;
9207 esac
9208     PKG_CONFIG=$ac_pt_PKG_CONFIG
9209   fi
9210 else
9211   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9212 fi
9213
9214 fi
9215 if test -n "$PKG_CONFIG"; then
9216         _pkg_min_version=0.16
9217         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9218 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9219         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9220                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9221 $as_echo "yes" >&6; }
9222         else
9223                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9224 $as_echo "no" >&6; }
9225                 PKG_CONFIG=""
9226         fi
9227 fi
9228
9229   no_glib=""
9230
9231   if test "x$PKG_CONFIG" = x ; then
9232     no_glib=yes
9233     PKG_CONFIG=no
9234   fi
9235
9236
9237 pkg_failed=no
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
9239 $as_echo_n "checking for GLIB... " >&6; }
9240
9241 if test -n "$GLIB_CFLAGS"; then
9242     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
9243  elif test -n "$PKG_CONFIG"; then
9244     if test -n "$PKG_CONFIG" && \
9245     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
9246   ($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
9247   ac_status=$?
9248   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9249   test $ac_status = 0; }; then
9250   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$pkg_config_args" 2>/dev/null`
9251                       test "x$?" != "x0" && pkg_failed=yes
9252 else
9253   pkg_failed=yes
9254 fi
9255  else
9256     pkg_failed=untried
9257 fi
9258 if test -n "$GLIB_LIBS"; then
9259     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
9260  elif test -n "$PKG_CONFIG"; then
9261     if test -n "$PKG_CONFIG" && \
9262     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
9263   ($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
9264   ac_status=$?
9265   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9266   test $ac_status = 0; }; then
9267   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$pkg_config_args" 2>/dev/null`
9268                       test "x$?" != "x0" && pkg_failed=yes
9269 else
9270   pkg_failed=yes
9271 fi
9272  else
9273     pkg_failed=untried
9274 fi
9275
9276
9277
9278 if test $pkg_failed = yes; then
9279         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9280 $as_echo "no" >&6; }
9281
9282 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9283         _pkg_short_errors_supported=yes
9284 else
9285         _pkg_short_errors_supported=no
9286 fi
9287         if test $_pkg_short_errors_supported = yes; then
9288                 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$pkg_config_args" 2>&1`
9289         else
9290                 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$pkg_config_args" 2>&1`
9291         fi
9292         # Put the nasty error message in config.log where it belongs
9293         echo "$GLIB_PKG_ERRORS" >&5
9294
9295         :
9296 elif test $pkg_failed = untried; then
9297         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9298 $as_echo "no" >&6; }
9299         :
9300 else
9301         GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
9302         GLIB_LIBS=$pkg_cv_GLIB_LIBS
9303         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9304 $as_echo "yes" >&6; }
9305         :
9306 fi
9307
9308
9309 if test -n "$GLIB_GENMARSHAL"; then
9310     pkg_cv_GLIB_GENMARSHAL="$GLIB_GENMARSHAL"
9311  elif test -n "$PKG_CONFIG"; then
9312     if test -n "$PKG_CONFIG" && \
9313     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
9314   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
9315   ac_status=$?
9316   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9317   test $ac_status = 0; }; then
9318   pkg_cv_GLIB_GENMARSHAL=`$PKG_CONFIG --variable="glib_genmarshal" "glib-2.0" 2>/dev/null`
9319                       test "x$?" != "x0" && pkg_failed=yes
9320 else
9321   pkg_failed=yes
9322 fi
9323  else
9324     pkg_failed=untried
9325 fi
9326 GLIB_GENMARSHAL=$pkg_cv_GLIB_GENMARSHAL
9327
9328 if test "x$GLIB_GENMARSHAL" = x""; then :
9329
9330 fi
9331
9332 if test -n "$GOBJECT_QUERY"; then
9333     pkg_cv_GOBJECT_QUERY="$GOBJECT_QUERY"
9334  elif test -n "$PKG_CONFIG"; then
9335     if test -n "$PKG_CONFIG" && \
9336     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
9337   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
9338   ac_status=$?
9339   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9340   test $ac_status = 0; }; then
9341   pkg_cv_GOBJECT_QUERY=`$PKG_CONFIG --variable="gobject_query" "glib-2.0" 2>/dev/null`
9342                       test "x$?" != "x0" && pkg_failed=yes
9343 else
9344   pkg_failed=yes
9345 fi
9346  else
9347     pkg_failed=untried
9348 fi
9349 GOBJECT_QUERY=$pkg_cv_GOBJECT_QUERY
9350
9351 if test "x$GOBJECT_QUERY" = x""; then :
9352
9353 fi
9354
9355 if test -n "$GLIB_MKENUMS"; then
9356     pkg_cv_GLIB_MKENUMS="$GLIB_MKENUMS"
9357  elif test -n "$PKG_CONFIG"; then
9358     if test -n "$PKG_CONFIG" && \
9359     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
9360   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
9361   ac_status=$?
9362   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9363   test $ac_status = 0; }; then
9364   pkg_cv_GLIB_MKENUMS=`$PKG_CONFIG --variable="glib_mkenums" "glib-2.0" 2>/dev/null`
9365                       test "x$?" != "x0" && pkg_failed=yes
9366 else
9367   pkg_failed=yes
9368 fi
9369  else
9370     pkg_failed=untried
9371 fi
9372 GLIB_MKENUMS=$pkg_cv_GLIB_MKENUMS
9373
9374 if test "x$GLIB_MKENUMS" = x""; then :
9375
9376 fi
9377
9378 if test -n "$GLIB_COMPILE_RESOURCES"; then
9379     pkg_cv_GLIB_COMPILE_RESOURCES="$GLIB_COMPILE_RESOURCES"
9380  elif test -n "$PKG_CONFIG"; then
9381     if test -n "$PKG_CONFIG" && \
9382     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
9383   ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
9384   ac_status=$?
9385   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9386   test $ac_status = 0; }; then
9387   pkg_cv_GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable="glib_compile_resources" "gio-2.0" 2>/dev/null`
9388                       test "x$?" != "x0" && pkg_failed=yes
9389 else
9390   pkg_failed=yes
9391 fi
9392  else
9393     pkg_failed=untried
9394 fi
9395 GLIB_COMPILE_RESOURCES=$pkg_cv_GLIB_COMPILE_RESOURCES
9396
9397 if test "x$GLIB_COMPILE_RESOURCES" = x""; then :
9398
9399 fi
9400
9401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
9402 $as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
9403
9404   if test x$PKG_CONFIG != xno ; then
9405     ## don't try to run the test against uninstalled libtool libs
9406     if $PKG_CONFIG --uninstalled $pkg_config_args; then
9407           echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
9408           enable_glibtest=no
9409     fi
9410
9411     if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
9412           :
9413     else
9414           no_glib=yes
9415     fi
9416   fi
9417
9418   if test x"$no_glib" = x ; then
9419     glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
9420            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9421     glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
9422            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9423     glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
9424            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9425     if test "x$enable_glibtest" = "xyes" ; then
9426       ac_save_CFLAGS="$CFLAGS"
9427       ac_save_LIBS="$LIBS"
9428       CFLAGS="$CFLAGS $GLIB_CFLAGS"
9429       LIBS="$GLIB_LIBS $LIBS"
9430       rm -f conf.glibtest
9431       if test "$cross_compiling" = yes; then :
9432   echo $ac_n "cross compiling; assumed OK... $ac_c"
9433 else
9434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9435 /* end confdefs.h.  */
9436
9437 #include <glib.h>
9438 #include <stdio.h>
9439 #include <stdlib.h>
9440
9441 int
9442 main (void)
9443 {
9444   unsigned int major, minor, micro;
9445
9446   fclose (fopen ("conf.glibtest", "w"));
9447
9448   if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, &micro) != 3) {
9449      printf("%s, bad version string\n", "$min_glib_version");
9450      exit(1);
9451    }
9452
9453   if ((glib_major_version != $glib_config_major_version) ||
9454       (glib_minor_version != $glib_config_minor_version) ||
9455       (glib_micro_version != $glib_config_micro_version))
9456     {
9457       printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
9458              $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
9459              glib_major_version, glib_minor_version, glib_micro_version);
9460       printf ("*** was found! If pkg-config was correct, then it is best\n");
9461       printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
9462       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9463       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9464       printf("*** required on your system.\n");
9465       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
9466       printf("*** to point to the correct configuration files\n");
9467     }
9468   else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
9469            (glib_minor_version != GLIB_MINOR_VERSION) ||
9470            (glib_micro_version != GLIB_MICRO_VERSION))
9471     {
9472       printf("*** GLIB header files (version %d.%d.%d) do not match\n",
9473              GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
9474       printf("*** library (version %d.%d.%d)\n",
9475              glib_major_version, glib_minor_version, glib_micro_version);
9476     }
9477   else
9478     {
9479       if ((glib_major_version > major) ||
9480         ((glib_major_version == major) && (glib_minor_version > minor)) ||
9481         ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
9482       {
9483         return 0;
9484        }
9485      else
9486       {
9487         printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
9488                glib_major_version, glib_minor_version, glib_micro_version);
9489         printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
9490                major, minor, micro);
9491         printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
9492         printf("***\n");
9493         printf("*** If you have already installed a sufficiently new version, this error\n");
9494         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
9495         printf("*** being found. The easiest way to fix this is to remove the old version\n");
9496         printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
9497         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
9498         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9499         printf("*** so that the correct libraries are found at run-time))\n");
9500       }
9501     }
9502   return 1;
9503 }
9504
9505 _ACEOF
9506 if ac_fn_c_try_run "$LINENO"; then :
9507
9508 else
9509   no_glib=yes
9510 fi
9511 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9512   conftest.$ac_objext conftest.beam conftest.$ac_ext
9513 fi
9514
9515        CFLAGS="$ac_save_CFLAGS"
9516        LIBS="$ac_save_LIBS"
9517      fi
9518   fi
9519   if test "x$no_glib" = x ; then
9520      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
9521 $as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
9522      :
9523   else
9524      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9525 $as_echo "no" >&6; }
9526      if test "$PKG_CONFIG" = "no" ; then
9527        echo "*** A new enough version of pkg-config was not found."
9528        echo "*** See http://www.freedesktop.org/software/pkgconfig/"
9529      else
9530        if test -f conf.glibtest ; then
9531         :
9532        else
9533           echo "*** Could not run GLIB test program, checking why..."
9534           ac_save_CFLAGS="$CFLAGS"
9535           ac_save_LIBS="$LIBS"
9536           CFLAGS="$CFLAGS $GLIB_CFLAGS"
9537           LIBS="$LIBS $GLIB_LIBS"
9538           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9539 /* end confdefs.h.  */
9540
9541 #include <glib.h>
9542 #include <stdio.h>
9543
9544 int
9545 main ()
9546 {
9547  return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
9548   ;
9549   return 0;
9550 }
9551 _ACEOF
9552 if ac_fn_c_try_link "$LINENO"; then :
9553    echo "*** The test program compiled, but did not run. This usually means"
9554           echo "*** that the run-time linker is not finding GLIB or finding the wrong"
9555           echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
9556           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9557           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
9558           echo "*** is required on your system"
9559           echo "***"
9560           echo "*** If you have an old version installed, it is best to remove it, although"
9561           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9562 else
9563    echo "*** The test program failed to compile or link. See the file config.log for the"
9564           echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
9565 fi
9566 rm -f core conftest.err conftest.$ac_objext \
9567     conftest$ac_exeext conftest.$ac_ext
9568           CFLAGS="$ac_save_CFLAGS"
9569           LIBS="$ac_save_LIBS"
9570        fi
9571      fi
9572      GLIB_CFLAGS=""
9573      GLIB_LIBS=""
9574      GLIB_GENMARSHAL=""
9575      GOBJECT_QUERY=""
9576      GLIB_MKENUMS=""
9577      GLIB_COMPILE_RESOURCES=""
9578      as_fn_error $? "GLIB >= 2.52.0 not installed." "$LINENO" 5
9579   fi
9580   rm -f conf.glibtest
9581
9582 # Check whether --enable-gtk3 was given.
9583 if test "${enable_gtk3+set}" = set; then :
9584   enableval=$enable_gtk3; gtk3="${enableval}"
9585 else
9586   gtk3=no
9587 fi
9588
9589
9590 if test x$gtk3 = xyes; then
9591     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Gtk3 enabled\"" >&5
9592 $as_echo "$as_me: WARNING: \"Gtk3 enabled\"" >&2;}
9593
9594 fi
9595
9596 if test x$gtk3 = xno; then
9597     # Check whether --enable-gtktest was given.
9598 if test "${enable_gtktest+set}" = set; then :
9599   enableval=$enable_gtktest;
9600 else
9601   enable_gtktest=yes
9602 fi
9603
9604
9605   pkg_config_args=gtk+-2.0
9606   for module in .
9607   do
9608       case "$module" in
9609          gthread)
9610              pkg_config_args="$pkg_config_args gthread-2.0"
9611          ;;
9612       esac
9613   done
9614
9615   no_gtk=""
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9626         if test -n "$ac_tool_prefix"; then
9627   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9628 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9630 $as_echo_n "checking for $ac_word... " >&6; }
9631 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9632   $as_echo_n "(cached) " >&6
9633 else
9634   case $PKG_CONFIG in
9635   [\\/]* | ?:[\\/]*)
9636   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9637   ;;
9638   *)
9639   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9640 for as_dir in $PATH
9641 do
9642   IFS=$as_save_IFS
9643   test -z "$as_dir" && as_dir=.
9644     for ac_exec_ext in '' $ac_executable_extensions; do
9645   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9646     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9648     break 2
9649   fi
9650 done
9651   done
9652 IFS=$as_save_IFS
9653
9654   ;;
9655 esac
9656 fi
9657 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9658 if test -n "$PKG_CONFIG"; then
9659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9660 $as_echo "$PKG_CONFIG" >&6; }
9661 else
9662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9663 $as_echo "no" >&6; }
9664 fi
9665
9666
9667 fi
9668 if test -z "$ac_cv_path_PKG_CONFIG"; then
9669   ac_pt_PKG_CONFIG=$PKG_CONFIG
9670   # Extract the first word of "pkg-config", so it can be a program name with args.
9671 set dummy pkg-config; ac_word=$2
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9673 $as_echo_n "checking for $ac_word... " >&6; }
9674 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
9675   $as_echo_n "(cached) " >&6
9676 else
9677   case $ac_pt_PKG_CONFIG in
9678   [\\/]* | ?:[\\/]*)
9679   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9680   ;;
9681   *)
9682   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9683 for as_dir in $PATH
9684 do
9685   IFS=$as_save_IFS
9686   test -z "$as_dir" && as_dir=.
9687     for ac_exec_ext in '' $ac_executable_extensions; do
9688   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9689     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9690     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9691     break 2
9692   fi
9693 done
9694   done
9695 IFS=$as_save_IFS
9696
9697   ;;
9698 esac
9699 fi
9700 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9701 if test -n "$ac_pt_PKG_CONFIG"; then
9702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9703 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9704 else
9705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9706 $as_echo "no" >&6; }
9707 fi
9708
9709   if test "x$ac_pt_PKG_CONFIG" = x; then
9710     PKG_CONFIG=""
9711   else
9712     case $cross_compiling:$ac_tool_warned in
9713 yes:)
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9715 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9716 ac_tool_warned=yes ;;
9717 esac
9718     PKG_CONFIG=$ac_pt_PKG_CONFIG
9719   fi
9720 else
9721   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9722 fi
9723
9724 fi
9725 if test -n "$PKG_CONFIG"; then
9726         _pkg_min_version=0.7
9727         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9728 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9729         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9730                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9731 $as_echo "yes" >&6; }
9732         else
9733                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9734 $as_echo "no" >&6; }
9735                 PKG_CONFIG=""
9736         fi
9737 fi
9738
9739   min_gtk_version=2.20.0
9740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
9741 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
9742
9743   if test x$PKG_CONFIG != xno ; then
9744     ## don't try to run the test against uninstalled libtool libs
9745     if $PKG_CONFIG --uninstalled $pkg_config_args; then
9746           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
9747           enable_gtktest=no
9748     fi
9749
9750     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
9751           :
9752     else
9753           no_gtk=yes
9754     fi
9755   fi
9756
9757   if test x"$no_gtk" = x ; then
9758     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
9759     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
9760     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
9761            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9762     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
9763            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9764     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
9765            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9766     if test "x$enable_gtktest" = "xyes" ; then
9767       ac_save_CFLAGS="$CFLAGS"
9768       ac_save_LIBS="$LIBS"
9769       CFLAGS="$CFLAGS $GTK_CFLAGS"
9770       LIBS="$GTK_LIBS $LIBS"
9771       rm -f conf.gtktest
9772       if test "$cross_compiling" = yes; then :
9773   echo $ac_n "cross compiling; assumed OK... $ac_c"
9774 else
9775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h.  */
9777
9778 #include <gtk/gtk.h>
9779 #include <stdio.h>
9780 #include <stdlib.h>
9781
9782 int
9783 main ()
9784 {
9785   int major, minor, micro;
9786   char *tmp_version;
9787
9788   fclose (fopen ("conf.gtktest", "w"));
9789
9790   /* HP/UX 9 (%@#!) writes to sscanf strings */
9791   tmp_version = g_strdup("$min_gtk_version");
9792   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
9793      printf("%s, bad version string\n", "$min_gtk_version");
9794      exit(1);
9795    }
9796
9797   if ((gtk_major_version != $gtk_config_major_version) ||
9798       (gtk_minor_version != $gtk_config_minor_version) ||
9799       (gtk_micro_version != $gtk_config_micro_version))
9800     {
9801       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9802              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9803              gtk_major_version, gtk_minor_version, gtk_micro_version);
9804       printf ("*** was found! If pkg-config was correct, then it is best\n");
9805       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9806       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9807       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9808       printf("*** required on your system.\n");
9809       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
9810       printf("*** to point to the correct configuration files\n");
9811     }
9812   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9813            (gtk_minor_version != GTK_MINOR_VERSION) ||
9814            (gtk_micro_version != GTK_MICRO_VERSION))
9815     {
9816       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9817              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9818       printf("*** library (version %d.%d.%d)\n",
9819              gtk_major_version, gtk_minor_version, gtk_micro_version);
9820     }
9821   else
9822     {
9823       if ((gtk_major_version > major) ||
9824         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9825         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9826       {
9827         return 0;
9828        }
9829      else
9830       {
9831         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9832                gtk_major_version, gtk_minor_version, gtk_micro_version);
9833         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9834                major, minor, micro);
9835         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9836         printf("***\n");
9837         printf("*** If you have already installed a sufficiently new version, this error\n");
9838         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
9839         printf("*** being found. The easiest way to fix this is to remove the old version\n");
9840         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
9841         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
9842         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9843         printf("*** so that the correct libraries are found at run-time))\n");
9844       }
9845     }
9846   return 1;
9847 }
9848
9849 _ACEOF
9850 if ac_fn_c_try_run "$LINENO"; then :
9851
9852 else
9853   no_gtk=yes
9854 fi
9855 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9856   conftest.$ac_objext conftest.beam conftest.$ac_ext
9857 fi
9858
9859        CFLAGS="$ac_save_CFLAGS"
9860        LIBS="$ac_save_LIBS"
9861      fi
9862   fi
9863   if test "x$no_gtk" = x ; then
9864      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
9865 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
9866      :
9867   else
9868      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9869 $as_echo "no" >&6; }
9870      if test "$PKG_CONFIG" = "no" ; then
9871        echo "*** A new enough version of pkg-config was not found."
9872        echo "*** See http://pkgconfig.sourceforge.net"
9873      else
9874        if test -f conf.gtktest ; then
9875         :
9876        else
9877           echo "*** Could not run GTK+ test program, checking why..."
9878           ac_save_CFLAGS="$CFLAGS"
9879           ac_save_LIBS="$LIBS"
9880           CFLAGS="$CFLAGS $GTK_CFLAGS"
9881           LIBS="$LIBS $GTK_LIBS"
9882           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h.  */
9884
9885 #include <gtk/gtk.h>
9886 #include <stdio.h>
9887
9888 int
9889 main ()
9890 {
9891  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9892   ;
9893   return 0;
9894 }
9895 _ACEOF
9896 if ac_fn_c_try_link "$LINENO"; then :
9897    echo "*** The test program compiled, but did not run. This usually means"
9898           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
9899           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
9900           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9901           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
9902           echo "*** is required on your system"
9903           echo "***"
9904           echo "*** If you have an old version installed, it is best to remove it, although"
9905           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9906 else
9907    echo "*** The test program failed to compile or link. See the file config.log for the"
9908           echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
9909 fi
9910 rm -f core conftest.err conftest.$ac_objext \
9911     conftest$ac_exeext conftest.$ac_ext
9912           CFLAGS="$ac_save_CFLAGS"
9913           LIBS="$ac_save_LIBS"
9914        fi
9915      fi
9916      GTK_CFLAGS=""
9917      GTK_LIBS=""
9918      as_fn_error $? "GTK+ >= 2.20.0 not installed." "$LINENO" 5
9919   fi
9920
9921
9922   rm -f conf.gtktest
9923
9924     true
9925 fi
9926
9927 threads="auto"
9928 # Check whether --enable-threads was given.
9929 if test "${enable_threads+set}" = set; then :
9930   enableval=$enable_threads; threads="${enableval}"
9931 fi
9932
9933
9934 have_gthread="no"
9935 if test "x${threads}" != "xno" ; then
9936
9937 pkg_failed=no
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
9939 $as_echo_n "checking for GTHREAD... " >&6; }
9940
9941 if test -n "$GTHREAD_CFLAGS"; then
9942     pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
9943  elif test -n "$PKG_CONFIG"; then
9944     if test -n "$PKG_CONFIG" && \
9945     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
9946   ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
9947   ac_status=$?
9948   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9949   test $ac_status = 0; }; then
9950   pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
9951                       test "x$?" != "x0" && pkg_failed=yes
9952 else
9953   pkg_failed=yes
9954 fi
9955  else
9956     pkg_failed=untried
9957 fi
9958 if test -n "$GTHREAD_LIBS"; then
9959     pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
9960  elif test -n "$PKG_CONFIG"; then
9961     if test -n "$PKG_CONFIG" && \
9962     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
9963   ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
9964   ac_status=$?
9965   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9966   test $ac_status = 0; }; then
9967   pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
9968                       test "x$?" != "x0" && pkg_failed=yes
9969 else
9970   pkg_failed=yes
9971 fi
9972  else
9973     pkg_failed=untried
9974 fi
9975
9976
9977
9978 if test $pkg_failed = yes; then
9979         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9980 $as_echo "no" >&6; }
9981
9982 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
9983         _pkg_short_errors_supported=yes
9984 else
9985         _pkg_short_errors_supported=no
9986 fi
9987         if test $_pkg_short_errors_supported = yes; then
9988                 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0" 2>&1`
9989         else
9990                 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0" 2>&1`
9991         fi
9992         # Put the nasty error message in config.log where it belongs
9993         echo "$GTHREAD_PKG_ERRORS" >&5
9994
9995         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"No thread support in glib\"" >&5
9996 $as_echo "$as_me: WARNING: \"No thread support in glib\"" >&2;}
9997 elif test $pkg_failed = untried; then
9998         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9999 $as_echo "no" >&6; }
10000         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"No thread support in glib\"" >&5
10001 $as_echo "$as_me: WARNING: \"No thread support in glib\"" >&2;}
10002 else
10003         GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
10004         GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
10005         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10006 $as_echo "yes" >&6; }
10007         have_gthread="yes"
10008 fi
10009 fi
10010
10011 if test "x$have_gthread" != "xno"; then
10012
10013 $as_echo "#define HAVE_GTHREAD 1" >>confdefs.h
10014
10015         GLIB_CFLAGS="$GTHREAD_CFLAGS"
10016         GLIB_LIBS="$GTHREAD_LIBS"
10017 fi
10018
10019
10020 for ac_prog in "gdk-pixbuf-csource"
10021 do
10022   # Extract the first word of "$ac_prog", so it can be a program name with args.
10023 set dummy $ac_prog; ac_word=$2
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10025 $as_echo_n "checking for $ac_word... " >&6; }
10026 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
10027   $as_echo_n "(cached) " >&6
10028 else
10029   case $GDK_PIXBUF_CSOURCE in
10030   [\\/]* | ?:[\\/]*)
10031   ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
10032   ;;
10033   *)
10034   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10035 for as_dir in $PATH
10036 do
10037   IFS=$as_save_IFS
10038   test -z "$as_dir" && as_dir=.
10039     for ac_exec_ext in '' $ac_executable_extensions; do
10040   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10041     ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
10042     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10043     break 2
10044   fi
10045 done
10046   done
10047 IFS=$as_save_IFS
10048
10049   ;;
10050 esac
10051 fi
10052 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
10053 if test -n "$GDK_PIXBUF_CSOURCE"; then
10054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
10055 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
10056 else
10057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10058 $as_echo "no" >&6; }
10059 fi
10060
10061
10062   test -n "$GDK_PIXBUF_CSOURCE" && break
10063 done
10064
10065 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
10066 set dummy glib-genmarshal; ac_word=$2
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10068 $as_echo_n "checking for $ac_word... " >&6; }
10069 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
10070   $as_echo_n "(cached) " >&6
10071 else
10072   case $GLIB_GENMARSHAL in
10073   [\\/]* | ?:[\\/]*)
10074   ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
10075   ;;
10076   *)
10077   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10078 for as_dir in $PATH
10079 do
10080   IFS=$as_save_IFS
10081   test -z "$as_dir" && as_dir=.
10082     for ac_exec_ext in '' $ac_executable_extensions; do
10083   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10084     ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
10085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10086     break 2
10087   fi
10088 done
10089   done
10090 IFS=$as_save_IFS
10091
10092   ;;
10093 esac
10094 fi
10095 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
10096 if test -n "$GLIB_GENMARSHAL"; then
10097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
10098 $as_echo "$GLIB_GENMARSHAL" >&6; }
10099 else
10100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10101 $as_echo "no" >&6; }
10102 fi
10103
10104
10105
10106
10107 # Check whether --with-readmedir was given.
10108 if test "${with_readmedir+set}" = set; then :
10109   withval=$with_readmedir; readmedir=$withval
10110 else
10111   readmedir="$prefix/share/doc/geeqie-$VERSION"
10112 fi
10113
10114
10115 # Check whether --with-htmldir was given.
10116 if test "${with_htmldir+set}" = set; then :
10117   withval=$with_htmldir; htmldir=$withval
10118 else
10119   htmldir="$readmedir/html"
10120 fi
10121
10122
10123
10124 cat >>confdefs.h <<_ACEOF
10125 #define GQ_HELPDIR "$readmedir"
10126 _ACEOF
10127
10128
10129 cat >>confdefs.h <<_ACEOF
10130 #define GQ_HTMLDIR "$htmldir"
10131 _ACEOF
10132
10133
10134 # Extract the first word of "gnome-doc-tool", so it can be a program name with args.
10135 set dummy gnome-doc-tool; ac_word=$2
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10137 $as_echo_n "checking for $ac_word... " >&6; }
10138 if ${ac_cv_path_GNOME_DOC_TOOL+:} false; then :
10139   $as_echo_n "(cached) " >&6
10140 else
10141   case $GNOME_DOC_TOOL in
10142   [\\/]* | ?:[\\/]*)
10143   ac_cv_path_GNOME_DOC_TOOL="$GNOME_DOC_TOOL" # Let the user override the test with a path.
10144   ;;
10145   *)
10146   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10147 for as_dir in $PATH
10148 do
10149   IFS=$as_save_IFS
10150   test -z "$as_dir" && as_dir=.
10151     for ac_exec_ext in '' $ac_executable_extensions; do
10152   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10153     ac_cv_path_GNOME_DOC_TOOL="$as_dir/$ac_word$ac_exec_ext"
10154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10155     break 2
10156   fi
10157 done
10158   done
10159 IFS=$as_save_IFS
10160
10161   ;;
10162 esac
10163 fi
10164 GNOME_DOC_TOOL=$ac_cv_path_GNOME_DOC_TOOL
10165 if test -n "$GNOME_DOC_TOOL"; then
10166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNOME_DOC_TOOL" >&5
10167 $as_echo "$GNOME_DOC_TOOL" >&6; }
10168 else
10169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10170 $as_echo "no" >&6; }
10171 fi
10172
10173
10174
10175
10176
10177
10178 eval "eval appdir=${datadir}/${PACKAGE}"
10179
10180 cat >>confdefs.h <<_ACEOF
10181 #define GQ_APP_DIR "$appdir"
10182 _ACEOF
10183
10184
10185
10186 eval "eval gq_bindir=${prefix}/lib/${PACKAGE}"
10187
10188 cat >>confdefs.h <<_ACEOF
10189 #define GQ_BIN_DIR "$gq_bindir"
10190 _ACEOF
10191
10192
10193
10194 #  LIRC support
10195 # ----------------------------------------------------------------------
10196
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if LIRC support is enabled" >&5
10198 $as_echo_n "checking if LIRC support is enabled... " >&6; }
10199 lirc=no
10200 # Check whether --enable-lirc was given.
10201 if test "${enable_lirc+set}" = set; then :
10202   enableval=$enable_lirc;
10203 if test "x${enableval}" = "xyes" -a "x$GCC" = "xyes"; then
10204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10205 $as_echo "yes" >&6; }
10206   lirc=yes
10207 else
10208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10209 $as_echo "no" >&6; }
10210   lirc=no
10211 fi
10212 else
10213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10214 $as_echo "no" >&6; }
10215 fi
10216
10217
10218
10219
10220 # Check whether --with-lirc-prefix was given.
10221 if test "${with_lirc_prefix+set}" = set; then :
10222   withval=$with_lirc_prefix;
10223 for dir in `echo "$withval" | tr : ' '`; do
10224   if test -d $dir/lib; then CXXFLAGS="$CXXFLAGS -L$dir/lib"; fi
10225   if test -d $dir/include; then CXXFLAGS="$CXXFLAGS -I$dir/include"; fi
10226   done
10227
10228 fi
10229
10230
10231 HAVE_LIRC=no
10232 if test "x${lirc}" != "xno" ; then
10233   # On IRIX 5.3, sys/types and inttypes.h are conflicting.
10234 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10235                   inttypes.h stdint.h unistd.h
10236 do :
10237   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10238 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10239 "
10240 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10241   cat >>confdefs.h <<_ACEOF
10242 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10243 _ACEOF
10244
10245 fi
10246
10247 done
10248
10249
10250 ac_fn_c_check_header_mongrel "$LINENO" "lirc/lirc_client.h" "ac_cv_header_lirc_lirc_client_h" "$ac_includes_default"
10251 if test "x$ac_cv_header_lirc_lirc_client_h" = xyes; then :
10252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lirc_init in -llirc_client" >&5
10253 $as_echo_n "checking for lirc_init in -llirc_client... " >&6; }
10254 if ${ac_cv_lib_lirc_client_lirc_init+:} false; then :
10255   $as_echo_n "(cached) " >&6
10256 else
10257   ac_check_lib_save_LIBS=$LIBS
10258 LIBS="-llirc_client  $LIBS"
10259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10260 /* end confdefs.h.  */
10261
10262 /* Override any GCC internal prototype to avoid an error.
10263    Use char because int might match the return type of a GCC
10264    builtin and then its argument prototype would still apply.  */
10265 #ifdef __cplusplus
10266 extern "C"
10267 #endif
10268 char lirc_init ();
10269 int
10270 main ()
10271 {
10272 return lirc_init ();
10273   ;
10274   return 0;
10275 }
10276 _ACEOF
10277 if ac_fn_c_try_link "$LINENO"; then :
10278   ac_cv_lib_lirc_client_lirc_init=yes
10279 else
10280   ac_cv_lib_lirc_client_lirc_init=no
10281 fi
10282 rm -f core conftest.err conftest.$ac_objext \
10283     conftest$ac_exeext conftest.$ac_ext
10284 LIBS=$ac_check_lib_save_LIBS
10285 fi
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lirc_client_lirc_init" >&5
10287 $as_echo "$ac_cv_lib_lirc_client_lirc_init" >&6; }
10288 if test "x$ac_cv_lib_lirc_client_lirc_init" = xyes; then :
10289   HAVE_LIRC=yes;LIBS=-llirc_client $LIBS;
10290 $as_echo "#define HAVE_LIRC /**/" >>confdefs.h
10291
10292 fi
10293
10294 fi
10295
10296
10297 fi
10298  if test "x$HAVE_LIRC" = xyes; then
10299   HAVE_LIRC_TRUE=
10300   HAVE_LIRC_FALSE='#'
10301 else
10302   HAVE_LIRC_TRUE='#'
10303   HAVE_LIRC_FALSE=
10304 fi
10305
10306
10307
10308 #  LCMS support
10309 # ----------------------------------------------------------------------
10310
10311 # Check whether --enable-lcms was given.
10312 if test "${enable_lcms+set}" = set; then :
10313   enableval=$enable_lcms; liblcms=$enableval
10314 else
10315   liblcms=auto
10316 fi
10317
10318
10319 if test "x${liblcms}" != "xno"; then
10320
10321 pkg_failed=no
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS" >&5
10323 $as_echo_n "checking for LCMS... " >&6; }
10324
10325 if test -n "$LCMS_CFLAGS"; then
10326     pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
10327  elif test -n "$PKG_CONFIG"; then
10328     if test -n "$PKG_CONFIG" && \
10329     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2 >= 2.0\""; } >&5
10330   ($PKG_CONFIG --exists --print-errors "lcms2 >= 2.0") 2>&5
10331   ac_status=$?
10332   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10333   test $ac_status = 0; }; then
10334   pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms2 >= 2.0" 2>/dev/null`
10335                       test "x$?" != "x0" && pkg_failed=yes
10336 else
10337   pkg_failed=yes
10338 fi
10339  else
10340     pkg_failed=untried
10341 fi
10342 if test -n "$LCMS_LIBS"; then
10343     pkg_cv_LCMS_LIBS="$LCMS_LIBS"
10344  elif test -n "$PKG_CONFIG"; then
10345     if test -n "$PKG_CONFIG" && \
10346     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2 >= 2.0\""; } >&5
10347   ($PKG_CONFIG --exists --print-errors "lcms2 >= 2.0") 2>&5
10348   ac_status=$?
10349   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10350   test $ac_status = 0; }; then
10351   pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms2 >= 2.0" 2>/dev/null`
10352                       test "x$?" != "x0" && pkg_failed=yes
10353 else
10354   pkg_failed=yes
10355 fi
10356  else
10357     pkg_failed=untried
10358 fi
10359
10360
10361
10362 if test $pkg_failed = yes; then
10363         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10364 $as_echo "no" >&6; }
10365
10366 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10367         _pkg_short_errors_supported=yes
10368 else
10369         _pkg_short_errors_supported=no
10370 fi
10371         if test $_pkg_short_errors_supported = yes; then
10372                 LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms2 >= 2.0" 2>&1`
10373         else
10374                 LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms2 >= 2.0" 2>&1`
10375         fi
10376         # Put the nasty error message in config.log where it belongs
10377         echo "$LCMS_PKG_ERRORS" >&5
10378
10379
10380
10381 pkg_failed=no
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS" >&5
10383 $as_echo_n "checking for LCMS... " >&6; }
10384
10385 if test -n "$LCMS_CFLAGS"; then
10386     pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
10387  elif test -n "$PKG_CONFIG"; then
10388     if test -n "$PKG_CONFIG" && \
10389     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
10390   ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
10391   ac_status=$?
10392   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10393   test $ac_status = 0; }; then
10394   pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms >= 1.14" 2>/dev/null`
10395                       test "x$?" != "x0" && pkg_failed=yes
10396 else
10397   pkg_failed=yes
10398 fi
10399  else
10400     pkg_failed=untried
10401 fi
10402 if test -n "$LCMS_LIBS"; then
10403     pkg_cv_LCMS_LIBS="$LCMS_LIBS"
10404  elif test -n "$PKG_CONFIG"; then
10405     if test -n "$PKG_CONFIG" && \
10406     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
10407   ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
10408   ac_status=$?
10409   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10410   test $ac_status = 0; }; then
10411   pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms >= 1.14" 2>/dev/null`
10412                       test "x$?" != "x0" && pkg_failed=yes
10413 else
10414   pkg_failed=yes
10415 fi
10416  else
10417     pkg_failed=untried
10418 fi
10419
10420
10421
10422 if test $pkg_failed = yes; then
10423         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10424 $as_echo "no" >&6; }
10425
10426 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10427         _pkg_short_errors_supported=yes
10428 else
10429         _pkg_short_errors_supported=no
10430 fi
10431         if test $_pkg_short_errors_supported = yes; then
10432                 LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
10433         else
10434                 LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
10435         fi
10436         # Put the nasty error message in config.log where it belongs
10437         echo "$LCMS_PKG_ERRORS" >&5
10438
10439
10440         HAVE_LCMS=no
10441         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
10442 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
10443
10444 elif test $pkg_failed = untried; then
10445         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10446 $as_echo "no" >&6; }
10447
10448         HAVE_LCMS=no
10449         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
10450 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
10451
10452 else
10453         LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
10454         LCMS_LIBS=$pkg_cv_LCMS_LIBS
10455         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10456 $as_echo "yes" >&6; }
10457
10458         HAVE_LCMS=yes
10459
10460 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10461
10462
10463 fi
10464
10465 elif test $pkg_failed = untried; then
10466         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10467 $as_echo "no" >&6; }
10468
10469
10470 pkg_failed=no
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS" >&5
10472 $as_echo_n "checking for LCMS... " >&6; }
10473
10474 if test -n "$LCMS_CFLAGS"; then
10475     pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
10476  elif test -n "$PKG_CONFIG"; then
10477     if test -n "$PKG_CONFIG" && \
10478     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
10479   ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
10480   ac_status=$?
10481   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10482   test $ac_status = 0; }; then
10483   pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms >= 1.14" 2>/dev/null`
10484                       test "x$?" != "x0" && pkg_failed=yes
10485 else
10486   pkg_failed=yes
10487 fi
10488  else
10489     pkg_failed=untried
10490 fi
10491 if test -n "$LCMS_LIBS"; then
10492     pkg_cv_LCMS_LIBS="$LCMS_LIBS"
10493  elif test -n "$PKG_CONFIG"; then
10494     if test -n "$PKG_CONFIG" && \
10495     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
10496   ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
10497   ac_status=$?
10498   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10499   test $ac_status = 0; }; then
10500   pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms >= 1.14" 2>/dev/null`
10501                       test "x$?" != "x0" && pkg_failed=yes
10502 else
10503   pkg_failed=yes
10504 fi
10505  else
10506     pkg_failed=untried
10507 fi
10508
10509
10510
10511 if test $pkg_failed = yes; then
10512         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10513 $as_echo "no" >&6; }
10514
10515 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10516         _pkg_short_errors_supported=yes
10517 else
10518         _pkg_short_errors_supported=no
10519 fi
10520         if test $_pkg_short_errors_supported = yes; then
10521                 LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
10522         else
10523                 LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
10524         fi
10525         # Put the nasty error message in config.log where it belongs
10526         echo "$LCMS_PKG_ERRORS" >&5
10527
10528
10529         HAVE_LCMS=no
10530         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
10531 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
10532
10533 elif test $pkg_failed = untried; then
10534         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10535 $as_echo "no" >&6; }
10536
10537         HAVE_LCMS=no
10538         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
10539 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
10540
10541 else
10542         LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
10543         LCMS_LIBS=$pkg_cv_LCMS_LIBS
10544         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10545 $as_echo "yes" >&6; }
10546
10547         HAVE_LCMS=yes
10548
10549 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10550
10551
10552 fi
10553
10554 else
10555         LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
10556         LCMS_LIBS=$pkg_cv_LCMS_LIBS
10557         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10558 $as_echo "yes" >&6; }
10559
10560       HAVE_LCMS=yes
10561
10562 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10563
10564
10565 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
10566
10567
10568 fi
10569 else
10570   HAVE_LCMS=disabled
10571 fi
10572
10573  if test "x$HAVE_LCMS" = xyes; then
10574   HAVE_LCMS_TRUE=
10575   HAVE_LCMS_FALSE='#'
10576 else
10577   HAVE_LCMS_TRUE='#'
10578   HAVE_LCMS_FALSE=
10579 fi
10580
10581
10582
10583
10584 #  libjpeg support
10585 # ----------------------------------------------------------------------
10586
10587 # Check whether --enable-jpeg was given.
10588 if test "${enable_jpeg+set}" = set; then :
10589   enableval=$enable_jpeg; libjpeg=$enableval
10590 else
10591   libjpeg=auto
10592 fi
10593
10594
10595 if test "x${libjpeg}" != "xno"; then
10596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5
10597 $as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; }
10598 if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then :
10599   $as_echo_n "(cached) " >&6
10600 else
10601   ac_check_lib_save_LIBS=$LIBS
10602 LIBS="-ljpeg  $LIBS"
10603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10604 /* end confdefs.h.  */
10605
10606 /* Override any GCC internal prototype to avoid an error.
10607    Use char because int might match the return type of a GCC
10608    builtin and then its argument prototype would still apply.  */
10609 #ifdef __cplusplus
10610 extern "C"
10611 #endif
10612 char jpeg_destroy_decompress ();
10613 int
10614 main ()
10615 {
10616 return jpeg_destroy_decompress ();
10617   ;
10618   return 0;
10619 }
10620 _ACEOF
10621 if ac_fn_c_try_link "$LINENO"; then :
10622   ac_cv_lib_jpeg_jpeg_destroy_decompress=yes
10623 else
10624   ac_cv_lib_jpeg_jpeg_destroy_decompress=no
10625 fi
10626 rm -f core conftest.err conftest.$ac_objext \
10627     conftest$ac_exeext conftest.$ac_ext
10628 LIBS=$ac_check_lib_save_LIBS
10629 fi
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5
10631 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; }
10632 if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then :
10633   HAVE_JPEG=yes
10634       JPEG_LIBS=-ljpeg
10635
10636 $as_echo "#define HAVE_JPEG 1" >>confdefs.h
10637
10638 else
10639   HAVE_JPEG=no
10640 fi
10641
10642 else
10643   HAVE_JPEG=disabled
10644 fi
10645
10646  if test "x$HAVE_JPEG" = xyes; then
10647   HAVE_JPEG_TRUE=
10648   HAVE_JPEG_FALSE='#'
10649 else
10650   HAVE_JPEG_TRUE='#'
10651   HAVE_JPEG_FALSE=
10652 fi
10653
10654
10655
10656
10657
10658 #  libtiff support
10659 # ----------------------------------------------------------------------
10660
10661 # Check whether --enable-tiff was given.
10662 if test "${enable_tiff+set}" = set; then :
10663   enableval=$enable_tiff; libtiff=$enableval
10664 else
10665   libtiff=auto
10666 fi
10667
10668
10669 if test "x${libtiff}" != "xno"; then
10670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in -ltiff" >&5
10671 $as_echo_n "checking for TIFFClientOpen in -ltiff... " >&6; }
10672 if ${ac_cv_lib_tiff_TIFFClientOpen+:} false; then :
10673   $as_echo_n "(cached) " >&6
10674 else
10675   ac_check_lib_save_LIBS=$LIBS
10676 LIBS="-ltiff  $LIBS"
10677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10678 /* end confdefs.h.  */
10679
10680 /* Override any GCC internal prototype to avoid an error.
10681    Use char because int might match the return type of a GCC
10682    builtin and then its argument prototype would still apply.  */
10683 #ifdef __cplusplus
10684 extern "C"
10685 #endif
10686 char TIFFClientOpen ();
10687 int
10688 main ()
10689 {
10690 return TIFFClientOpen ();
10691   ;
10692   return 0;
10693 }
10694 _ACEOF
10695 if ac_fn_c_try_link "$LINENO"; then :
10696   ac_cv_lib_tiff_TIFFClientOpen=yes
10697 else
10698   ac_cv_lib_tiff_TIFFClientOpen=no
10699 fi
10700 rm -f core conftest.err conftest.$ac_objext \
10701     conftest$ac_exeext conftest.$ac_ext
10702 LIBS=$ac_check_lib_save_LIBS
10703 fi
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFClientOpen" >&5
10705 $as_echo "$ac_cv_lib_tiff_TIFFClientOpen" >&6; }
10706 if test "x$ac_cv_lib_tiff_TIFFClientOpen" = xyes; then :
10707   HAVE_TIFF=yes
10708       TIFF_LIBS=-ltiff
10709
10710 $as_echo "#define HAVE_TIFF 1" >>confdefs.h
10711
10712 else
10713   HAVE_TIFF=no
10714 fi
10715
10716 else
10717   HAVE_TIFF=disabled
10718 fi
10719
10720  if test "x$HAVE_TIFF" = xyes; then
10721   HAVE_TIFF_TRUE=
10722   HAVE_TIFF_FALSE='#'
10723 else
10724   HAVE_TIFF_TRUE='#'
10725   HAVE_TIFF_FALSE=
10726 fi
10727
10728
10729
10730
10731 #  libffmpegthumbnailer support
10732 # ----------------------------------------------------------------------
10733
10734 # Check whether --enable-ffmpegthumbnailer was given.
10735 if test "${enable_ffmpegthumbnailer+set}" = set; then :
10736   enableval=$enable_ffmpegthumbnailer; ffmpegthumbnailer=$enableval
10737 else
10738   ffmpegthumbnailer=auto
10739 fi
10740
10741
10742 if test "x${ffmpegthumbnailer}" != "xno"; then
10743
10744 pkg_failed=no
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFMPEGTHUMBNAILER" >&5
10746 $as_echo_n "checking for FFMPEGTHUMBNAILER... " >&6; }
10747
10748 if test -n "$FFMPEGTHUMBNAILER_CFLAGS"; then
10749     pkg_cv_FFMPEGTHUMBNAILER_CFLAGS="$FFMPEGTHUMBNAILER_CFLAGS"
10750  elif test -n "$PKG_CONFIG"; then
10751     if test -n "$PKG_CONFIG" && \
10752     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffmpegthumbnailer >= 2.1.0\""; } >&5
10753   ($PKG_CONFIG --exists --print-errors "libffmpegthumbnailer >= 2.1.0") 2>&5
10754   ac_status=$?
10755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10756   test $ac_status = 0; }; then
10757   pkg_cv_FFMPEGTHUMBNAILER_CFLAGS=`$PKG_CONFIG --cflags "libffmpegthumbnailer >= 2.1.0" 2>/dev/null`
10758                       test "x$?" != "x0" && pkg_failed=yes
10759 else
10760   pkg_failed=yes
10761 fi
10762  else
10763     pkg_failed=untried
10764 fi
10765 if test -n "$FFMPEGTHUMBNAILER_LIBS"; then
10766     pkg_cv_FFMPEGTHUMBNAILER_LIBS="$FFMPEGTHUMBNAILER_LIBS"
10767  elif test -n "$PKG_CONFIG"; then
10768     if test -n "$PKG_CONFIG" && \
10769     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffmpegthumbnailer >= 2.1.0\""; } >&5
10770   ($PKG_CONFIG --exists --print-errors "libffmpegthumbnailer >= 2.1.0") 2>&5
10771   ac_status=$?
10772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10773   test $ac_status = 0; }; then
10774   pkg_cv_FFMPEGTHUMBNAILER_LIBS=`$PKG_CONFIG --libs "libffmpegthumbnailer >= 2.1.0" 2>/dev/null`
10775                       test "x$?" != "x0" && pkg_failed=yes
10776 else
10777   pkg_failed=yes
10778 fi
10779  else
10780     pkg_failed=untried
10781 fi
10782
10783
10784
10785 if test $pkg_failed = yes; then
10786         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10787 $as_echo "no" >&6; }
10788
10789 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10790         _pkg_short_errors_supported=yes
10791 else
10792         _pkg_short_errors_supported=no
10793 fi
10794         if test $_pkg_short_errors_supported = yes; then
10795                 FFMPEGTHUMBNAILER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffmpegthumbnailer >= 2.1.0" 2>&1`
10796         else
10797                 FFMPEGTHUMBNAILER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffmpegthumbnailer >= 2.1.0" 2>&1`
10798         fi
10799         # Put the nasty error message in config.log where it belongs
10800         echo "$FFMPEGTHUMBNAILER_PKG_ERRORS" >&5
10801
10802
10803       HAVE_FFMPEGTHUMBNAILER=no
10804
10805 elif test $pkg_failed = untried; then
10806         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10807 $as_echo "no" >&6; }
10808
10809       HAVE_FFMPEGTHUMBNAILER=no
10810
10811 else
10812         FFMPEGTHUMBNAILER_CFLAGS=$pkg_cv_FFMPEGTHUMBNAILER_CFLAGS
10813         FFMPEGTHUMBNAILER_LIBS=$pkg_cv_FFMPEGTHUMBNAILER_LIBS
10814         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10815 $as_echo "yes" >&6; }
10816
10817       HAVE_FFMPEGTHUMBNAILER=yes
10818
10819 $as_echo "#define HAVE_FFMPEGTHUMBNAILER 1" >>confdefs.h
10820
10821       ac_fn_c_check_member "$LINENO" "video_thumbnailer" "prefer_embedded_metadata" "ac_cv_member_video_thumbnailer_prefer_embedded_metadata" "#include <libffmpegthumbnailer/videothumbnailerc.h>
10822 "
10823 if test "x$ac_cv_member_video_thumbnailer_prefer_embedded_metadata" = xyes; then :
10824
10825 $as_echo "#define HAVE_FFMPEGTHUMBNAILER_METADATA 1" >>confdefs.h
10826
10827 fi
10828
10829       ac_fn_c_check_member "$LINENO" "image_data" "image_data_width" "ac_cv_member_image_data_image_data_width" "#include <libffmpegthumbnailer/videothumbnailerc.h>
10830 "
10831 if test "x$ac_cv_member_image_data_image_data_width" = xyes; then :
10832
10833 $as_echo "#define HAVE_FFMPEGTHUMBNAILER_RGB 1" >>confdefs.h
10834
10835 fi
10836
10837       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for video_thumbnailer_set_size in -lffmpegthumbnailer" >&5
10838 $as_echo_n "checking for video_thumbnailer_set_size in -lffmpegthumbnailer... " >&6; }
10839 if ${ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size+:} false; then :
10840   $as_echo_n "(cached) " >&6
10841 else
10842   ac_check_lib_save_LIBS=$LIBS
10843 LIBS="-lffmpegthumbnailer  $LIBS"
10844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h.  */
10846
10847 /* Override any GCC internal prototype to avoid an error.
10848    Use char because int might match the return type of a GCC
10849    builtin and then its argument prototype would still apply.  */
10850 #ifdef __cplusplus
10851 extern "C"
10852 #endif
10853 char video_thumbnailer_set_size ();
10854 int
10855 main ()
10856 {
10857 return video_thumbnailer_set_size ();
10858   ;
10859   return 0;
10860 }
10861 _ACEOF
10862 if ac_fn_c_try_link "$LINENO"; then :
10863   ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size=yes
10864 else
10865   ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size=no
10866 fi
10867 rm -f core conftest.err conftest.$ac_objext \
10868     conftest$ac_exeext conftest.$ac_ext
10869 LIBS=$ac_check_lib_save_LIBS
10870 fi
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size" >&5
10872 $as_echo "$ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size" >&6; }
10873 if test "x$ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size" = xyes; then :
10874
10875 $as_echo "#define HAVE_FFMPEGTHUMBNAILER_WH 1" >>confdefs.h
10876
10877 fi
10878
10879
10880 fi
10881 else
10882   HAVE_FFMPEGTHUMBNAILER=disabled
10883 fi
10884
10885  if test "x$HAVE_FFMPEGTHUMBNAILER" = xyes; then
10886   HAVE_FFMPEGTHUMBNAILER_TRUE=
10887   HAVE_FFMPEGTHUMBNAILER_FALSE='#'
10888 else
10889   HAVE_FFMPEGTHUMBNAILER_TRUE='#'
10890   HAVE_FFMPEGTHUMBNAILER_FALSE=
10891 fi
10892
10893
10894
10895
10896 #  Exiv2 support
10897 # ----------------------------------------------------------------------
10898
10899 # Check whether --enable-exiv2 was given.
10900 if test "${enable_exiv2+set}" = set; then :
10901   enableval=$enable_exiv2; libexiv2=$enableval
10902 else
10903   libexiv2=auto
10904 fi
10905
10906
10907 if test "x${libexiv2}" != "xno"; then
10908
10909 pkg_failed=no
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXIV2" >&5
10911 $as_echo_n "checking for EXIV2... " >&6; }
10912
10913 if test -n "$EXIV2_CFLAGS"; then
10914     pkg_cv_EXIV2_CFLAGS="$EXIV2_CFLAGS"
10915  elif test -n "$PKG_CONFIG"; then
10916     if test -n "$PKG_CONFIG" && \
10917     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exiv2 >= 0.11\""; } >&5
10918   ($PKG_CONFIG --exists --print-errors "exiv2 >= 0.11") 2>&5
10919   ac_status=$?
10920   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10921   test $ac_status = 0; }; then
10922   pkg_cv_EXIV2_CFLAGS=`$PKG_CONFIG --cflags "exiv2 >= 0.11" 2>/dev/null`
10923                       test "x$?" != "x0" && pkg_failed=yes
10924 else
10925   pkg_failed=yes
10926 fi
10927  else
10928     pkg_failed=untried
10929 fi
10930 if test -n "$EXIV2_LIBS"; then
10931     pkg_cv_EXIV2_LIBS="$EXIV2_LIBS"
10932  elif test -n "$PKG_CONFIG"; then
10933     if test -n "$PKG_CONFIG" && \
10934     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exiv2 >= 0.11\""; } >&5
10935   ($PKG_CONFIG --exists --print-errors "exiv2 >= 0.11") 2>&5
10936   ac_status=$?
10937   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10938   test $ac_status = 0; }; then
10939   pkg_cv_EXIV2_LIBS=`$PKG_CONFIG --libs "exiv2 >= 0.11" 2>/dev/null`
10940                       test "x$?" != "x0" && pkg_failed=yes
10941 else
10942   pkg_failed=yes
10943 fi
10944  else
10945     pkg_failed=untried
10946 fi
10947
10948
10949
10950 if test $pkg_failed = yes; then
10951         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10952 $as_echo "no" >&6; }
10953
10954 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10955         _pkg_short_errors_supported=yes
10956 else
10957         _pkg_short_errors_supported=no
10958 fi
10959         if test $_pkg_short_errors_supported = yes; then
10960                 EXIV2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "exiv2 >= 0.11" 2>&1`
10961         else
10962                 EXIV2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "exiv2 >= 0.11" 2>&1`
10963         fi
10964         # Put the nasty error message in config.log where it belongs
10965         echo "$EXIV2_PKG_ERRORS" >&5
10966
10967
10968       HAVE_EXIV2=no
10969       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $EXIV2_PKG_ERRORS" >&5
10970 $as_echo "$as_me: WARNING: $EXIV2_PKG_ERRORS" >&2;}
10971
10972 elif test $pkg_failed = untried; then
10973         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10974 $as_echo "no" >&6; }
10975
10976       HAVE_EXIV2=no
10977       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $EXIV2_PKG_ERRORS" >&5
10978 $as_echo "$as_me: WARNING: $EXIV2_PKG_ERRORS" >&2;}
10979
10980 else
10981         EXIV2_CFLAGS=$pkg_cv_EXIV2_CFLAGS
10982         EXIV2_LIBS=$pkg_cv_EXIV2_LIBS
10983         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10984 $as_echo "yes" >&6; }
10985
10986       HAVE_EXIV2=yes
10987
10988 $as_echo "#define HAVE_EXIV2 1" >>confdefs.h
10989
10990
10991 fi
10992 else
10993   HAVE_EXIV2=disabled
10994 fi
10995
10996  if test "x$HAVE_EXIV2" = xyes; then
10997   HAVE_EXIV2_TRUE=
10998   HAVE_EXIV2_FALSE='#'
10999 else
11000   HAVE_EXIV2_TRUE='#'
11001   HAVE_EXIV2_FALSE=
11002 fi
11003
11004
11005
11006
11007
11008 #  Gettext support
11009 # ----------------------------------------------------------------------
11010
11011 ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
11012 CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/po/LINGUAS'
11013
11014
11015 GETTEXT_PACKAGE=$PACKAGE
11016
11017
11018 cat >>confdefs.h <<_ACEOF
11019 #define GETTEXT_PACKAGE "${GETTEXT_PACKAGE}"
11020 _ACEOF
11021
11022
11023    for ac_header in locale.h
11024 do :
11025   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
11026 if test "x$ac_cv_header_locale_h" = xyes; then :
11027   cat >>confdefs.h <<_ACEOF
11028 #define HAVE_LOCALE_H 1
11029 _ACEOF
11030
11031 fi
11032
11033 done
11034
11035     if test $ac_cv_header_locale_h = yes; then
11036     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
11037 $as_echo_n "checking for LC_MESSAGES... " >&6; }
11038 if ${am_cv_val_LC_MESSAGES+:} false; then :
11039   $as_echo_n "(cached) " >&6
11040 else
11041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11042 /* end confdefs.h.  */
11043 #include <locale.h>
11044 int
11045 main ()
11046 {
11047 return LC_MESSAGES
11048   ;
11049   return 0;
11050 }
11051 _ACEOF
11052 if ac_fn_c_try_link "$LINENO"; then :
11053   am_cv_val_LC_MESSAGES=yes
11054 else
11055   am_cv_val_LC_MESSAGES=no
11056 fi
11057 rm -f core conftest.err conftest.$ac_objext \
11058     conftest$ac_exeext conftest.$ac_ext
11059 fi
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
11061 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
11062     if test $am_cv_val_LC_MESSAGES = yes; then
11063
11064 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
11065
11066     fi
11067   fi
11068      USE_NLS=yes
11069
11070
11071     gt_cv_have_gettext=no
11072
11073     CATOBJEXT=NONE
11074     XGETTEXT=:
11075     INTLLIBS=
11076
11077
11078     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
11079 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
11080 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
11081   $as_echo_n "(cached) " >&6
11082 else
11083   gt_save_LIBS="$LIBS"
11084      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
11085      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11086 /* end confdefs.h.  */
11087 #include <CoreFoundation/CFPreferences.h>
11088 int
11089 main ()
11090 {
11091 CFPreferencesCopyAppValue(NULL, NULL)
11092   ;
11093   return 0;
11094 }
11095 _ACEOF
11096 if ac_fn_c_try_link "$LINENO"; then :
11097   gt_cv_func_CFPreferencesCopyAppValue=yes
11098 else
11099   gt_cv_func_CFPreferencesCopyAppValue=no
11100 fi
11101 rm -f core conftest.err conftest.$ac_objext \
11102     conftest$ac_exeext conftest.$ac_ext
11103      LIBS="$gt_save_LIBS"
11104 fi
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
11106 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
11107   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
11108
11109 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
11110
11111   fi
11112     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
11113 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
11114 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
11115   $as_echo_n "(cached) " >&6
11116 else
11117   gt_save_LIBS="$LIBS"
11118      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
11119      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11120 /* end confdefs.h.  */
11121 #include <CoreFoundation/CFLocale.h>
11122 int
11123 main ()
11124 {
11125 CFLocaleCopyCurrent();
11126   ;
11127   return 0;
11128 }
11129 _ACEOF
11130 if ac_fn_c_try_link "$LINENO"; then :
11131   gt_cv_func_CFLocaleCopyCurrent=yes
11132 else
11133   gt_cv_func_CFLocaleCopyCurrent=no
11134 fi
11135 rm -f core conftest.err conftest.$ac_objext \
11136     conftest$ac_exeext conftest.$ac_ext
11137      LIBS="$gt_save_LIBS"
11138 fi
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
11140 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
11141   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
11142
11143 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
11144
11145   fi
11146   INTL_MACOSX_LIBS=
11147   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
11148     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
11149   fi
11150
11151
11152
11153     ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
11154 if test "x$ac_cv_header_libintl_h" = xyes; then :
11155   gt_cv_func_dgettext_libintl="no"
11156       libintl_extra_libs=""
11157
11158       #
11159       # First check in libc
11160       #
11161       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
11162 $as_echo_n "checking for ngettext in libc... " >&6; }
11163 if ${gt_cv_func_ngettext_libc+:} false; then :
11164   $as_echo_n "(cached) " >&6
11165 else
11166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h.  */
11168
11169 #include <libintl.h>
11170
11171 int
11172 main ()
11173 {
11174 return !ngettext ("","", 1)
11175   ;
11176   return 0;
11177 }
11178 _ACEOF
11179 if ac_fn_c_try_link "$LINENO"; then :
11180   gt_cv_func_ngettext_libc=yes
11181 else
11182   gt_cv_func_ngettext_libc=no
11183 fi
11184 rm -f core conftest.err conftest.$ac_objext \
11185     conftest$ac_exeext conftest.$ac_ext
11186
11187 fi
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
11189 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
11190
11191       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11192               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
11193 $as_echo_n "checking for dgettext in libc... " >&6; }
11194 if ${gt_cv_func_dgettext_libc+:} false; then :
11195   $as_echo_n "(cached) " >&6
11196 else
11197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h.  */
11199
11200 #include <libintl.h>
11201
11202 int
11203 main ()
11204 {
11205 return !dgettext ("","")
11206   ;
11207   return 0;
11208 }
11209 _ACEOF
11210 if ac_fn_c_try_link "$LINENO"; then :
11211   gt_cv_func_dgettext_libc=yes
11212 else
11213   gt_cv_func_dgettext_libc=no
11214 fi
11215 rm -f core conftest.err conftest.$ac_objext \
11216     conftest$ac_exeext conftest.$ac_ext
11217
11218 fi
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
11220 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
11221       fi
11222
11223       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11224         for ac_func in bind_textdomain_codeset
11225 do :
11226   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11227 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
11228   cat >>confdefs.h <<_ACEOF
11229 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
11230 _ACEOF
11231
11232 fi
11233 done
11234
11235       fi
11236
11237       #
11238       # If we don't have everything we want, check in libintl
11239       #
11240       if test "$gt_cv_func_dgettext_libc" != "yes" \
11241          || test "$gt_cv_func_ngettext_libc" != "yes" \
11242          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
11243
11244         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
11245 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
11246 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
11247   $as_echo_n "(cached) " >&6
11248 else
11249   ac_check_lib_save_LIBS=$LIBS
11250 LIBS="-lintl  $LIBS"
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h.  */
11253
11254 /* Override any GCC internal prototype to avoid an error.
11255    Use char because int might match the return type of a GCC
11256    builtin and then its argument prototype would still apply.  */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char bindtextdomain ();
11261 int
11262 main ()
11263 {
11264 return bindtextdomain ();
11265   ;
11266   return 0;
11267 }
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270   ac_cv_lib_intl_bindtextdomain=yes
11271 else
11272   ac_cv_lib_intl_bindtextdomain=no
11273 fi
11274 rm -f core conftest.err conftest.$ac_objext \
11275     conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11277 fi
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
11279 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
11280 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
11281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11282 $as_echo_n "checking for ngettext in -lintl... " >&6; }
11283 if ${ac_cv_lib_intl_ngettext+:} false; then :
11284   $as_echo_n "(cached) " >&6
11285 else
11286   ac_check_lib_save_LIBS=$LIBS
11287 LIBS="-lintl  $LIBS"
11288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11289 /* end confdefs.h.  */
11290
11291 /* Override any GCC internal prototype to avoid an error.
11292    Use char because int might match the return type of a GCC
11293    builtin and then its argument prototype would still apply.  */
11294 #ifdef __cplusplus
11295 extern "C"
11296 #endif
11297 char ngettext ();
11298 int
11299 main ()
11300 {
11301 return ngettext ();
11302   ;
11303   return 0;
11304 }
11305 _ACEOF
11306 if ac_fn_c_try_link "$LINENO"; then :
11307   ac_cv_lib_intl_ngettext=yes
11308 else
11309   ac_cv_lib_intl_ngettext=no
11310 fi
11311 rm -f core conftest.err conftest.$ac_objext \
11312     conftest$ac_exeext conftest.$ac_ext
11313 LIBS=$ac_check_lib_save_LIBS
11314 fi
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11316 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11317 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
11318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
11319 $as_echo_n "checking for dgettext in -lintl... " >&6; }
11320 if ${ac_cv_lib_intl_dgettext+:} false; then :
11321   $as_echo_n "(cached) " >&6
11322 else
11323   ac_check_lib_save_LIBS=$LIBS
11324 LIBS="-lintl  $LIBS"
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h.  */
11327
11328 /* Override any GCC internal prototype to avoid an error.
11329    Use char because int might match the return type of a GCC
11330    builtin and then its argument prototype would still apply.  */
11331 #ifdef __cplusplus
11332 extern "C"
11333 #endif
11334 char dgettext ();
11335 int
11336 main ()
11337 {
11338 return dgettext ();
11339   ;
11340   return 0;
11341 }
11342 _ACEOF
11343 if ac_fn_c_try_link "$LINENO"; then :
11344   ac_cv_lib_intl_dgettext=yes
11345 else
11346   ac_cv_lib_intl_dgettext=no
11347 fi
11348 rm -f core conftest.err conftest.$ac_objext \
11349     conftest$ac_exeext conftest.$ac_ext
11350 LIBS=$ac_check_lib_save_LIBS
11351 fi
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
11353 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
11354 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
11355   gt_cv_func_dgettext_libintl=yes
11356 fi
11357
11358 fi
11359
11360 fi
11361
11362
11363         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
11364           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
11365 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
11366           { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
11367 $as_echo "" >&6; }
11368           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11369 $as_echo_n "checking for ngettext in -lintl... " >&6; }
11370 if ${ac_cv_lib_intl_ngettext+:} false; then :
11371   $as_echo_n "(cached) " >&6
11372 else
11373   ac_check_lib_save_LIBS=$LIBS
11374 LIBS="-lintl -liconv $LIBS"
11375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11376 /* end confdefs.h.  */
11377
11378 /* Override any GCC internal prototype to avoid an error.
11379    Use char because int might match the return type of a GCC
11380    builtin and then its argument prototype would still apply.  */
11381 #ifdef __cplusplus
11382 extern "C"
11383 #endif
11384 char ngettext ();
11385 int
11386 main ()
11387 {
11388 return ngettext ();
11389   ;
11390   return 0;
11391 }
11392 _ACEOF
11393 if ac_fn_c_try_link "$LINENO"; then :
11394   ac_cv_lib_intl_ngettext=yes
11395 else
11396   ac_cv_lib_intl_ngettext=no
11397 fi
11398 rm -f core conftest.err conftest.$ac_objext \
11399     conftest$ac_exeext conftest.$ac_ext
11400 LIBS=$ac_check_lib_save_LIBS
11401 fi
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11403 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11404 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
11405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
11406 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
11407 if ${ac_cv_lib_intl_dcgettext+:} false; then :
11408   $as_echo_n "(cached) " >&6
11409 else
11410   ac_check_lib_save_LIBS=$LIBS
11411 LIBS="-lintl -liconv $LIBS"
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h.  */
11414
11415 /* Override any GCC internal prototype to avoid an error.
11416    Use char because int might match the return type of a GCC
11417    builtin and then its argument prototype would still apply.  */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 char dcgettext ();
11422 int
11423 main ()
11424 {
11425 return dcgettext ();
11426   ;
11427   return 0;
11428 }
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"; then :
11431   ac_cv_lib_intl_dcgettext=yes
11432 else
11433   ac_cv_lib_intl_dcgettext=no
11434 fi
11435 rm -f core conftest.err conftest.$ac_objext \
11436     conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_lib_save_LIBS
11438 fi
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
11440 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
11441 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
11442   gt_cv_func_dgettext_libintl=yes
11443                         libintl_extra_libs=-liconv
11444 else
11445   :
11446 fi
11447
11448 else
11449   :
11450 fi
11451
11452         fi
11453
11454         #
11455         # If we found libintl, then check in it for bind_textdomain_codeset();
11456         # we'll prefer libc if neither have bind_textdomain_codeset(),
11457         # and both have dgettext and ngettext
11458         #
11459         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
11460           glib_save_LIBS="$LIBS"
11461           LIBS="$LIBS -lintl $libintl_extra_libs"
11462           unset ac_cv_func_bind_textdomain_codeset
11463           for ac_func in bind_textdomain_codeset
11464 do :
11465   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11466 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
11467   cat >>confdefs.h <<_ACEOF
11468 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
11469 _ACEOF
11470
11471 fi
11472 done
11473
11474           LIBS="$glib_save_LIBS"
11475
11476           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
11477             gt_cv_func_dgettext_libc=no
11478           else
11479             if test "$gt_cv_func_dgettext_libc" = "yes" \
11480                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
11481               gt_cv_func_dgettext_libintl=no
11482             fi
11483           fi
11484         fi
11485       fi
11486
11487       if test "$gt_cv_func_dgettext_libc" = "yes" \
11488         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
11489         gt_cv_have_gettext=yes
11490       fi
11491
11492       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
11493         INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
11494       fi
11495
11496       if test "$gt_cv_have_gettext" = "yes"; then
11497
11498 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
11499
11500         # Extract the first word of "msgfmt", so it can be a program name with args.
11501 set dummy msgfmt; ac_word=$2
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11503 $as_echo_n "checking for $ac_word... " >&6; }
11504 if ${ac_cv_path_MSGFMT+:} false; then :
11505   $as_echo_n "(cached) " >&6
11506 else
11507   case "$MSGFMT" in
11508   /*)
11509   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11510   ;;
11511   *)
11512   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
11513   for ac_dir in $PATH; do
11514     test -z "$ac_dir" && ac_dir=.
11515     if test -f $ac_dir/$ac_word; then
11516       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
11517         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
11518         break
11519       fi
11520     fi
11521   done
11522   IFS="$ac_save_ifs"
11523   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
11524   ;;
11525 esac
11526 fi
11527 MSGFMT="$ac_cv_path_MSGFMT"
11528 if test "$MSGFMT" != "no"; then
11529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11530 $as_echo "$MSGFMT" >&6; }
11531 else
11532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11533 $as_echo "no" >&6; }
11534 fi
11535         if test "$MSGFMT" != "no"; then
11536           glib_save_LIBS="$LIBS"
11537           LIBS="$LIBS $INTLLIBS"
11538           for ac_func in dcgettext
11539 do :
11540   ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
11541 if test "x$ac_cv_func_dcgettext" = xyes; then :
11542   cat >>confdefs.h <<_ACEOF
11543 #define HAVE_DCGETTEXT 1
11544 _ACEOF
11545
11546 fi
11547 done
11548
11549           MSGFMT_OPTS=
11550           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
11551 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
11552           cat >conftest.foo <<_ACEOF
11553
11554 msgid ""
11555 msgstr ""
11556 "Content-Type: text/plain; charset=UTF-8\n"
11557 "Project-Id-Version: test 1.0\n"
11558 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
11559 "Last-Translator: test <foo@bar.xx>\n"
11560 "Language-Team: C <LL@li.org>\n"
11561 "MIME-Version: 1.0\n"
11562 "Content-Transfer-Encoding: 8bit\n"
11563
11564 _ACEOF
11565 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
11566   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
11567   ac_status=$?
11568   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11569   test $ac_status = 0; }; then
11570   MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11571 $as_echo "yes" >&6; }
11572 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11573 $as_echo "no" >&6; }
11574 echo "$as_me: failed input was:" >&5
11575 sed 's/^/| /' conftest.foo >&5
11576 fi
11577
11578           # Extract the first word of "gmsgfmt", so it can be a program name with args.
11579 set dummy gmsgfmt; ac_word=$2
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11581 $as_echo_n "checking for $ac_word... " >&6; }
11582 if ${ac_cv_path_GMSGFMT+:} false; then :
11583   $as_echo_n "(cached) " >&6
11584 else
11585   case $GMSGFMT in
11586   [\\/]* | ?:[\\/]*)
11587   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11588   ;;
11589   *)
11590   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11591 for as_dir in $PATH
11592 do
11593   IFS=$as_save_IFS
11594   test -z "$as_dir" && as_dir=.
11595     for ac_exec_ext in '' $ac_executable_extensions; do
11596   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11597     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11599     break 2
11600   fi
11601 done
11602   done
11603 IFS=$as_save_IFS
11604
11605   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11606   ;;
11607 esac
11608 fi
11609 GMSGFMT=$ac_cv_path_GMSGFMT
11610 if test -n "$GMSGFMT"; then
11611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11612 $as_echo "$GMSGFMT" >&6; }
11613 else
11614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11615 $as_echo "no" >&6; }
11616 fi
11617
11618
11619           # Extract the first word of "xgettext", so it can be a program name with args.
11620 set dummy xgettext; ac_word=$2
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11622 $as_echo_n "checking for $ac_word... " >&6; }
11623 if ${ac_cv_path_XGETTEXT+:} false; then :
11624   $as_echo_n "(cached) " >&6
11625 else
11626   case "$XGETTEXT" in
11627   /*)
11628   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11629   ;;
11630   *)
11631   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
11632   for ac_dir in $PATH; do
11633     test -z "$ac_dir" && ac_dir=.
11634     if test -f $ac_dir/$ac_word; then
11635       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
11636         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
11637         break
11638       fi
11639     fi
11640   done
11641   IFS="$ac_save_ifs"
11642   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11643   ;;
11644 esac
11645 fi
11646 XGETTEXT="$ac_cv_path_XGETTEXT"
11647 if test "$XGETTEXT" != ":"; then
11648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11649 $as_echo "$XGETTEXT" >&6; }
11650 else
11651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11652 $as_echo "no" >&6; }
11653 fi
11654
11655           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11656 /* end confdefs.h.  */
11657
11658 int
11659 main ()
11660 {
11661 extern int _nl_msg_cat_cntr;
11662                          return _nl_msg_cat_cntr
11663   ;
11664   return 0;
11665 }
11666 _ACEOF
11667 if ac_fn_c_try_link "$LINENO"; then :
11668   CATOBJEXT=.gmo
11669              DATADIRNAME=share
11670 else
11671   case $host in
11672             *-*-solaris*)
11673                                                                 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11674 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
11675   CATOBJEXT=.gmo
11676                DATADIRNAME=share
11677 else
11678   CATOBJEXT=.mo
11679                DATADIRNAME=lib
11680 fi
11681
11682             ;;
11683             *-*-openbsd*)
11684             CATOBJEXT=.mo
11685             DATADIRNAME=share
11686             ;;
11687             *)
11688             CATOBJEXT=.mo
11689             DATADIRNAME=lib
11690             ;;
11691             esac
11692 fi
11693 rm -f core conftest.err conftest.$ac_objext \
11694     conftest$ac_exeext conftest.$ac_ext
11695           LIBS="$glib_save_LIBS"
11696           INSTOBJEXT=.mo
11697         else
11698           gt_cv_have_gettext=no
11699         fi
11700       fi
11701
11702 fi
11703
11704
11705
11706     if test "$gt_cv_have_gettext" = "yes" ; then
11707
11708 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
11709
11710     fi
11711
11712         if test "$XGETTEXT" != ":"; then
11713                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
11714         : ;
11715       else
11716         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11717 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11718         XGETTEXT=":"
11719       fi
11720     fi
11721
11722     # We need to process the po/ directory.
11723     POSUB=po
11724
11725     ac_config_commands="$ac_config_commands default-1"
11726
11727
11728                 for lang in $ALL_LINGUAS; do
11729       GMOFILES="$GMOFILES $lang.gmo"
11730       POFILES="$POFILES $lang.po"
11731     done
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745    if test "$gt_cv_have_gettext" = "yes"; then
11746      if test "x$ALL_LINGUAS" = "x"; then
11747        LINGUAS=
11748      else
11749        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11750 $as_echo_n "checking for catalogs to be installed... " >&6; }
11751        NEW_LINGUAS=
11752        for presentlang in $ALL_LINGUAS; do
11753          useit=no
11754          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
11755            desiredlanguages="$LINGUAS"
11756          else
11757            desiredlanguages="$ALL_LINGUAS"
11758          fi
11759          for desiredlang in $desiredlanguages; do
11760            # Use the presentlang catalog if desiredlang is
11761            #   a. equal to presentlang, or
11762            #   b. a variant of presentlang (because in this case,
11763            #      presentlang can be used as a fallback for messages
11764            #      which are not translated in the desiredlang catalog).
11765            case "$desiredlang" in
11766              "$presentlang"*) useit=yes;;
11767            esac
11768          done
11769          if test $useit = yes; then
11770            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
11771          fi
11772        done
11773        LINGUAS=$NEW_LINGUAS
11774        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11775 $as_echo "$LINGUAS" >&6; }
11776      fi
11777
11778           if test -n "$LINGUAS"; then
11779        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
11780      fi
11781    fi
11782
11783             MKINSTALLDIRS=
11784    if test -n "$ac_aux_dir"; then
11785      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
11786    fi
11787    if test -z "$MKINSTALLDIRS"; then
11788      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11789    fi
11790
11791
11792          test -d po || mkdir po
11793    if test "x$srcdir" != "x."; then
11794      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
11795        posrcprefix="$srcdir/"
11796      else
11797        posrcprefix="../$srcdir/"
11798      fi
11799    else
11800      posrcprefix="../"
11801    fi
11802    rm -f po/POTFILES
11803    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
11804         < $srcdir/po/POTFILES.in > po/POTFILES
11805
11806 glib_save_prefix="$prefix"
11807 glib_save_exec_prefix="$exec_prefix"
11808 glib_save_datarootdir="$datarootdir"
11809 test "x$prefix" = xNONE && prefix=$ac_default_prefix
11810 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
11811 datarootdir=`eval echo "${datarootdir}"`
11812 if test "x$CATOBJEXT" = "x.mo" ; then
11813   localedir=`eval echo "${libdir}/locale"`
11814 else
11815   localedir=`eval echo "${datadir}/locale"`
11816 fi
11817 prefix="$glib_save_prefix"
11818 exec_prefix="$glib_save_exec_prefix"
11819 datarootdir="$glib_save_datarootdir"
11820
11821 cat >>confdefs.h <<_ACEOF
11822 #define GQ_LOCALEDIR "$localedir"
11823 _ACEOF
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833 #  clutter and champlain support
11834 # ----------------------------------------------------------------------
11835
11836 # Check whether --enable-map was given.
11837 if test "${enable_map+set}" = set; then :
11838   enableval=$enable_map; libgps=$enableval
11839 else
11840   libgps=auto
11841 fi
11842
11843
11844 # Check whether --enable-gpu-accel was given.
11845 if test "${enable_gpu_accel+set}" = set; then :
11846   enableval=$enable_gpu_accel; libclutter=$enableval
11847 else
11848   libclutter=auto
11849 fi
11850
11851
11852 if test "x${libclutter}" != "xno" -a "x${gtk3}" != "xno"; then
11853
11854 pkg_failed=no
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER" >&5
11856 $as_echo_n "checking for CLUTTER... " >&6; }
11857
11858 if test -n "$CLUTTER_CFLAGS"; then
11859     pkg_cv_CLUTTER_CFLAGS="$CLUTTER_CFLAGS"
11860  elif test -n "$PKG_CONFIG"; then
11861     if test -n "$PKG_CONFIG" && \
11862     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= 1.0\""; } >&5
11863   ($PKG_CONFIG --exists --print-errors "clutter-1.0 >= 1.0") 2>&5
11864   ac_status=$?
11865   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11866   test $ac_status = 0; }; then
11867   pkg_cv_CLUTTER_CFLAGS=`$PKG_CONFIG --cflags "clutter-1.0 >= 1.0" 2>/dev/null`
11868                       test "x$?" != "x0" && pkg_failed=yes
11869 else
11870   pkg_failed=yes
11871 fi
11872  else
11873     pkg_failed=untried
11874 fi
11875 if test -n "$CLUTTER_LIBS"; then
11876     pkg_cv_CLUTTER_LIBS="$CLUTTER_LIBS"
11877  elif test -n "$PKG_CONFIG"; then
11878     if test -n "$PKG_CONFIG" && \
11879     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= 1.0\""; } >&5
11880   ($PKG_CONFIG --exists --print-errors "clutter-1.0 >= 1.0") 2>&5
11881   ac_status=$?
11882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11883   test $ac_status = 0; }; then
11884   pkg_cv_CLUTTER_LIBS=`$PKG_CONFIG --libs "clutter-1.0 >= 1.0" 2>/dev/null`
11885                       test "x$?" != "x0" && pkg_failed=yes
11886 else
11887   pkg_failed=yes
11888 fi
11889  else
11890     pkg_failed=untried
11891 fi
11892
11893
11894
11895 if test $pkg_failed = yes; then
11896         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11897 $as_echo "no" >&6; }
11898
11899 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11900         _pkg_short_errors_supported=yes
11901 else
11902         _pkg_short_errors_supported=no
11903 fi
11904         if test $_pkg_short_errors_supported = yes; then
11905                 CLUTTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-1.0 >= 1.0" 2>&1`
11906         else
11907                 CLUTTER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-1.0 >= 1.0" 2>&1`
11908         fi
11909         # Put the nasty error message in config.log where it belongs
11910         echo "$CLUTTER_PKG_ERRORS" >&5
11911
11912
11913       HAVE_CLUTTER=no
11914       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_PKG_ERRORS" >&5
11915 $as_echo "$as_me: WARNING: $CLUTTER_PKG_ERRORS" >&2;}
11916
11917 elif test $pkg_failed = untried; then
11918         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11919 $as_echo "no" >&6; }
11920
11921       HAVE_CLUTTER=no
11922       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_PKG_ERRORS" >&5
11923 $as_echo "$as_me: WARNING: $CLUTTER_PKG_ERRORS" >&2;}
11924
11925 else
11926         CLUTTER_CFLAGS=$pkg_cv_CLUTTER_CFLAGS
11927         CLUTTER_LIBS=$pkg_cv_CLUTTER_LIBS
11928         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11929 $as_echo "yes" >&6; }
11930
11931
11932 pkg_failed=no
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_GTK" >&5
11934 $as_echo_n "checking for CLUTTER_GTK... " >&6; }
11935
11936 if test -n "$CLUTTER_GTK_CFLAGS"; then
11937     pkg_cv_CLUTTER_GTK_CFLAGS="$CLUTTER_GTK_CFLAGS"
11938  elif test -n "$PKG_CONFIG"; then
11939     if test -n "$PKG_CONFIG" && \
11940     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-1.0 >= 1.0\""; } >&5
11941   ($PKG_CONFIG --exists --print-errors "clutter-gtk-1.0 >= 1.0") 2>&5
11942   ac_status=$?
11943   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11944   test $ac_status = 0; }; then
11945   pkg_cv_CLUTTER_GTK_CFLAGS=`$PKG_CONFIG --cflags "clutter-gtk-1.0 >= 1.0" 2>/dev/null`
11946                       test "x$?" != "x0" && pkg_failed=yes
11947 else
11948   pkg_failed=yes
11949 fi
11950  else
11951     pkg_failed=untried
11952 fi
11953 if test -n "$CLUTTER_GTK_LIBS"; then
11954     pkg_cv_CLUTTER_GTK_LIBS="$CLUTTER_GTK_LIBS"
11955  elif test -n "$PKG_CONFIG"; then
11956     if test -n "$PKG_CONFIG" && \
11957     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-1.0 >= 1.0\""; } >&5
11958   ($PKG_CONFIG --exists --print-errors "clutter-gtk-1.0 >= 1.0") 2>&5
11959   ac_status=$?
11960   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11961   test $ac_status = 0; }; then
11962   pkg_cv_CLUTTER_GTK_LIBS=`$PKG_CONFIG --libs "clutter-gtk-1.0 >= 1.0" 2>/dev/null`
11963                       test "x$?" != "x0" && pkg_failed=yes
11964 else
11965   pkg_failed=yes
11966 fi
11967  else
11968     pkg_failed=untried
11969 fi
11970
11971
11972
11973 if test $pkg_failed = yes; then
11974         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11975 $as_echo "no" >&6; }
11976
11977 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11978         _pkg_short_errors_supported=yes
11979 else
11980         _pkg_short_errors_supported=no
11981 fi
11982         if test $_pkg_short_errors_supported = yes; then
11983                 CLUTTER_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gtk-1.0 >= 1.0" 2>&1`
11984         else
11985                 CLUTTER_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gtk-1.0 >= 1.0" 2>&1`
11986         fi
11987         # Put the nasty error message in config.log where it belongs
11988         echo "$CLUTTER_GTK_PKG_ERRORS" >&5
11989
11990
11991           HAVE_CLUTTER=no
11992           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&5
11993 $as_echo "$as_me: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&2;}
11994
11995 elif test $pkg_failed = untried; then
11996         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11997 $as_echo "no" >&6; }
11998
11999           HAVE_CLUTTER=no
12000           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&5
12001 $as_echo "$as_me: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&2;}
12002
12003 else
12004         CLUTTER_GTK_CFLAGS=$pkg_cv_CLUTTER_GTK_CFLAGS
12005         CLUTTER_GTK_LIBS=$pkg_cv_CLUTTER_GTK_LIBS
12006         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12007 $as_echo "yes" >&6; }
12008
12009           HAVE_CLUTTER=yes
12010
12011 $as_echo "#define HAVE_CLUTTER 1" >>confdefs.h
12012
12013
12014 fi
12015
12016 fi
12017 else
12018   HAVE_CLUTTER=disabled
12019 fi
12020
12021
12022
12023
12024
12025
12026
12027 #  Libchamplain support - used for map facility
12028 # ----------------------------------------------------------------------
12029
12030 if test "x${libgps}" != "xno" -a "x${HAVE_CLUTTER}" = "xyes"; then
12031     if test "x${gtk3}" != "xno"; then
12032
12033 pkg_failed=no
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCHAMPLAIN" >&5
12035 $as_echo_n "checking for LIBCHAMPLAIN... " >&6; }
12036
12037 if test -n "$LIBCHAMPLAIN_CFLAGS"; then
12038     pkg_cv_LIBCHAMPLAIN_CFLAGS="$LIBCHAMPLAIN_CFLAGS"
12039  elif test -n "$PKG_CONFIG"; then
12040     if test -n "$PKG_CONFIG" && \
12041     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-0.12 >= 0.12\""; } >&5
12042   ($PKG_CONFIG --exists --print-errors "champlain-0.12 >= 0.12") 2>&5
12043   ac_status=$?
12044   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12045   test $ac_status = 0; }; then
12046   pkg_cv_LIBCHAMPLAIN_CFLAGS=`$PKG_CONFIG --cflags "champlain-0.12 >= 0.12" 2>/dev/null`
12047                       test "x$?" != "x0" && pkg_failed=yes
12048 else
12049   pkg_failed=yes
12050 fi
12051  else
12052     pkg_failed=untried
12053 fi
12054 if test -n "$LIBCHAMPLAIN_LIBS"; then
12055     pkg_cv_LIBCHAMPLAIN_LIBS="$LIBCHAMPLAIN_LIBS"
12056  elif test -n "$PKG_CONFIG"; then
12057     if test -n "$PKG_CONFIG" && \
12058     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-0.12 >= 0.12\""; } >&5
12059   ($PKG_CONFIG --exists --print-errors "champlain-0.12 >= 0.12") 2>&5
12060   ac_status=$?
12061   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12062   test $ac_status = 0; }; then
12063   pkg_cv_LIBCHAMPLAIN_LIBS=`$PKG_CONFIG --libs "champlain-0.12 >= 0.12" 2>/dev/null`
12064                       test "x$?" != "x0" && pkg_failed=yes
12065 else
12066   pkg_failed=yes
12067 fi
12068  else
12069     pkg_failed=untried
12070 fi
12071
12072
12073
12074 if test $pkg_failed = yes; then
12075         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12076 $as_echo "no" >&6; }
12077
12078 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12079         _pkg_short_errors_supported=yes
12080 else
12081         _pkg_short_errors_supported=no
12082 fi
12083         if test $_pkg_short_errors_supported = yes; then
12084                 LIBCHAMPLAIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "champlain-0.12 >= 0.12" 2>&1`
12085         else
12086                 LIBCHAMPLAIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "champlain-0.12 >= 0.12" 2>&1`
12087         fi
12088         # Put the nasty error message in config.log where it belongs
12089         echo "$LIBCHAMPLAIN_PKG_ERRORS" >&5
12090
12091
12092           HAVE_LIBCHAMPLAIN=no
12093           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&5
12094 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&2;}
12095
12096 elif test $pkg_failed = untried; then
12097         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12098 $as_echo "no" >&6; }
12099
12100           HAVE_LIBCHAMPLAIN=no
12101           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&5
12102 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&2;}
12103
12104 else
12105         LIBCHAMPLAIN_CFLAGS=$pkg_cv_LIBCHAMPLAIN_CFLAGS
12106         LIBCHAMPLAIN_LIBS=$pkg_cv_LIBCHAMPLAIN_LIBS
12107         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12108 $as_echo "yes" >&6; }
12109
12110           HAVE_LIBCHAMPLAIN=yes
12111
12112 $as_echo "#define HAVE_LIBCHAMPLAIN 1" >>confdefs.h
12113
12114
12115 fi
12116     else
12117       HAVE_LIBCHAMPLAIN=disabled
12118     fi
12119 else
12120   HAVE_LIBCHAMPLAIN=disabled
12121 fi
12122
12123 if test "x${libgps}" != "xno" -a "x${HAVE_LIBCHAMPLAIN}" = "xyes" ; then
12124
12125 pkg_failed=no
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCHAMPLAIN_GTK" >&5
12127 $as_echo_n "checking for LIBCHAMPLAIN_GTK... " >&6; }
12128
12129 if test -n "$LIBCHAMPLAIN_GTK_CFLAGS"; then
12130     pkg_cv_LIBCHAMPLAIN_GTK_CFLAGS="$LIBCHAMPLAIN_GTK_CFLAGS"
12131  elif test -n "$PKG_CONFIG"; then
12132     if test -n "$PKG_CONFIG" && \
12133     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-gtk-0.12 >= 0.12\""; } >&5
12134   ($PKG_CONFIG --exists --print-errors "champlain-gtk-0.12 >= 0.12") 2>&5
12135   ac_status=$?
12136   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12137   test $ac_status = 0; }; then
12138   pkg_cv_LIBCHAMPLAIN_GTK_CFLAGS=`$PKG_CONFIG --cflags "champlain-gtk-0.12 >= 0.12" 2>/dev/null`
12139                       test "x$?" != "x0" && pkg_failed=yes
12140 else
12141   pkg_failed=yes
12142 fi
12143  else
12144     pkg_failed=untried
12145 fi
12146 if test -n "$LIBCHAMPLAIN_GTK_LIBS"; then
12147     pkg_cv_LIBCHAMPLAIN_GTK_LIBS="$LIBCHAMPLAIN_GTK_LIBS"
12148  elif test -n "$PKG_CONFIG"; then
12149     if test -n "$PKG_CONFIG" && \
12150     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-gtk-0.12 >= 0.12\""; } >&5
12151   ($PKG_CONFIG --exists --print-errors "champlain-gtk-0.12 >= 0.12") 2>&5
12152   ac_status=$?
12153   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12154   test $ac_status = 0; }; then
12155   pkg_cv_LIBCHAMPLAIN_GTK_LIBS=`$PKG_CONFIG --libs "champlain-gtk-0.12 >= 0.12" 2>/dev/null`
12156                       test "x$?" != "x0" && pkg_failed=yes
12157 else
12158   pkg_failed=yes
12159 fi
12160  else
12161     pkg_failed=untried
12162 fi
12163
12164
12165
12166 if test $pkg_failed = yes; then
12167         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12168 $as_echo "no" >&6; }
12169
12170 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12171         _pkg_short_errors_supported=yes
12172 else
12173         _pkg_short_errors_supported=no
12174 fi
12175         if test $_pkg_short_errors_supported = yes; then
12176                 LIBCHAMPLAIN_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "champlain-gtk-0.12 >= 0.12" 2>&1`
12177         else
12178                 LIBCHAMPLAIN_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "champlain-gtk-0.12 >= 0.12" 2>&1`
12179         fi
12180         # Put the nasty error message in config.log where it belongs
12181         echo "$LIBCHAMPLAIN_GTK_PKG_ERRORS" >&5
12182
12183
12184       HAVE_LIBCHAMPLAIN_GTK=no
12185       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&5
12186 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&2;}
12187
12188 elif test $pkg_failed = untried; then
12189         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12190 $as_echo "no" >&6; }
12191
12192       HAVE_LIBCHAMPLAIN_GTK=no
12193       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&5
12194 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&2;}
12195
12196 else
12197         LIBCHAMPLAIN_GTK_CFLAGS=$pkg_cv_LIBCHAMPLAIN_GTK_CFLAGS
12198         LIBCHAMPLAIN_GTK_LIBS=$pkg_cv_LIBCHAMPLAIN_GTK_LIBS
12199         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12200 $as_echo "yes" >&6; }
12201
12202       HAVE_LIBCHAMPLAIN_GTK=yes
12203
12204 $as_echo "#define HAVE_LIBCHAMPLAIN_GTK 1" >>confdefs.h
12205
12206
12207 fi
12208 else
12209   HAVE_LIBCHAMPLAIN_GTK=disabled
12210 fi
12211
12212  if test "x$HAVE_LIBCHAMPLAIN_GTK" = xyes; then
12213   HAVE_LIBCHAMPLAIN_GTK_TRUE=
12214   HAVE_LIBCHAMPLAIN_GTK_FALSE='#'
12215 else
12216   HAVE_LIBCHAMPLAIN_GTK_TRUE='#'
12217   HAVE_LIBCHAMPLAIN_GTK_FALSE=
12218 fi
12219
12220
12221
12222
12223 #  Lua support
12224 # ----------------------------------------------------------------------
12225
12226 # Check whether --enable-lua was given.
12227 if test "${enable_lua+set}" = set; then :
12228   enableval=$enable_lua; liblua=$enableval
12229 else
12230   liblua=auto
12231 fi
12232
12233
12234 if test "x${liblua}" != "xno"; then
12235
12236 pkg_failed=no
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12238 $as_echo_n "checking for LUA... " >&6; }
12239
12240 if test -n "$LUA_CFLAGS"; then
12241     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12242  elif test -n "$PKG_CONFIG"; then
12243     if test -n "$PKG_CONFIG" && \
12244     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3 >= 5.3\""; } >&5
12245   ($PKG_CONFIG --exists --print-errors "lua5.3 >= 5.3") 2>&5
12246   ac_status=$?
12247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12248   test $ac_status = 0; }; then
12249   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.3 >= 5.3" 2>/dev/null`
12250                       test "x$?" != "x0" && pkg_failed=yes
12251 else
12252   pkg_failed=yes
12253 fi
12254  else
12255     pkg_failed=untried
12256 fi
12257 if test -n "$LUA_LIBS"; then
12258     pkg_cv_LUA_LIBS="$LUA_LIBS"
12259  elif test -n "$PKG_CONFIG"; then
12260     if test -n "$PKG_CONFIG" && \
12261     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3 >= 5.3\""; } >&5
12262   ($PKG_CONFIG --exists --print-errors "lua5.3 >= 5.3") 2>&5
12263   ac_status=$?
12264   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12265   test $ac_status = 0; }; then
12266   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.3 >= 5.3" 2>/dev/null`
12267                       test "x$?" != "x0" && pkg_failed=yes
12268 else
12269   pkg_failed=yes
12270 fi
12271  else
12272     pkg_failed=untried
12273 fi
12274
12275
12276
12277 if test $pkg_failed = yes; then
12278         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12279 $as_echo "no" >&6; }
12280
12281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12282         _pkg_short_errors_supported=yes
12283 else
12284         _pkg_short_errors_supported=no
12285 fi
12286         if test $_pkg_short_errors_supported = yes; then
12287                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.3 >= 5.3" 2>&1`
12288         else
12289                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.3 >= 5.3" 2>&1`
12290         fi
12291         # Put the nasty error message in config.log where it belongs
12292         echo "$LUA_PKG_ERRORS" >&5
12293
12294
12295
12296 pkg_failed=no
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12298 $as_echo_n "checking for LUA... " >&6; }
12299
12300 if test -n "$LUA_CFLAGS"; then
12301     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12302  elif test -n "$PKG_CONFIG"; then
12303     if test -n "$PKG_CONFIG" && \
12304     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
12305   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
12306   ac_status=$?
12307   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12308   test $ac_status = 0; }; then
12309   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
12310                       test "x$?" != "x0" && pkg_failed=yes
12311 else
12312   pkg_failed=yes
12313 fi
12314  else
12315     pkg_failed=untried
12316 fi
12317 if test -n "$LUA_LIBS"; then
12318     pkg_cv_LUA_LIBS="$LUA_LIBS"
12319  elif test -n "$PKG_CONFIG"; then
12320     if test -n "$PKG_CONFIG" && \
12321     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
12322   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
12323   ac_status=$?
12324   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12325   test $ac_status = 0; }; then
12326   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
12327                       test "x$?" != "x0" && pkg_failed=yes
12328 else
12329   pkg_failed=yes
12330 fi
12331  else
12332     pkg_failed=untried
12333 fi
12334
12335
12336
12337 if test $pkg_failed = yes; then
12338         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12339 $as_echo "no" >&6; }
12340
12341 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12342         _pkg_short_errors_supported=yes
12343 else
12344         _pkg_short_errors_supported=no
12345 fi
12346         if test $_pkg_short_errors_supported = yes; then
12347                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
12348         else
12349                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
12350         fi
12351         # Put the nasty error message in config.log where it belongs
12352         echo "$LUA_PKG_ERRORS" >&5
12353
12354
12355
12356 pkg_failed=no
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12358 $as_echo_n "checking for LUA... " >&6; }
12359
12360 if test -n "$LUA_CFLAGS"; then
12361     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12362  elif test -n "$PKG_CONFIG"; then
12363     if test -n "$PKG_CONFIG" && \
12364     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
12365   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
12366   ac_status=$?
12367   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12368   test $ac_status = 0; }; then
12369   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
12370                       test "x$?" != "x0" && pkg_failed=yes
12371 else
12372   pkg_failed=yes
12373 fi
12374  else
12375     pkg_failed=untried
12376 fi
12377 if test -n "$LUA_LIBS"; then
12378     pkg_cv_LUA_LIBS="$LUA_LIBS"
12379  elif test -n "$PKG_CONFIG"; then
12380     if test -n "$PKG_CONFIG" && \
12381     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
12382   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
12383   ac_status=$?
12384   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12385   test $ac_status = 0; }; then
12386   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
12387                       test "x$?" != "x0" && pkg_failed=yes
12388 else
12389   pkg_failed=yes
12390 fi
12391  else
12392     pkg_failed=untried
12393 fi
12394
12395
12396
12397 if test $pkg_failed = yes; then
12398         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12399 $as_echo "no" >&6; }
12400
12401 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12402         _pkg_short_errors_supported=yes
12403 else
12404         _pkg_short_errors_supported=no
12405 fi
12406         if test $_pkg_short_errors_supported = yes; then
12407                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1" 2>&1`
12408         else
12409                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1" 2>&1`
12410         fi
12411         # Put the nasty error message in config.log where it belongs
12412         echo "$LUA_PKG_ERRORS" >&5
12413
12414
12415                HAVE_LUA=no
12416                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
12417 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
12418
12419 elif test $pkg_failed = untried; then
12420         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12421 $as_echo "no" >&6; }
12422
12423                HAVE_LUA=no
12424                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
12425 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
12426
12427 else
12428         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
12429         LUA_LIBS=$pkg_cv_LUA_LIBS
12430         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12431 $as_echo "yes" >&6; }
12432
12433               HAVE_LUA=yes
12434
12435 $as_echo "#define HAVE_LUA 1" >>confdefs.h
12436
12437
12438 fi
12439
12440 elif test $pkg_failed = untried; then
12441         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12442 $as_echo "no" >&6; }
12443
12444
12445 pkg_failed=no
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12447 $as_echo_n "checking for LUA... " >&6; }
12448
12449 if test -n "$LUA_CFLAGS"; then
12450     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12451  elif test -n "$PKG_CONFIG"; then
12452     if test -n "$PKG_CONFIG" && \
12453     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
12454   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
12455   ac_status=$?
12456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12457   test $ac_status = 0; }; then
12458   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
12459                       test "x$?" != "x0" && pkg_failed=yes
12460 else
12461   pkg_failed=yes
12462 fi
12463  else
12464     pkg_failed=untried
12465 fi
12466 if test -n "$LUA_LIBS"; then
12467     pkg_cv_LUA_LIBS="$LUA_LIBS"
12468  elif test -n "$PKG_CONFIG"; then
12469     if test -n "$PKG_CONFIG" && \
12470     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
12471   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
12472   ac_status=$?
12473   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12474   test $ac_status = 0; }; then
12475   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
12476                       test "x$?" != "x0" && pkg_failed=yes
12477 else
12478   pkg_failed=yes
12479 fi
12480  else
12481     pkg_failed=untried
12482 fi
12483
12484
12485
12486 if test $pkg_failed = yes; then
12487         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12488 $as_echo "no" >&6; }
12489
12490 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12491         _pkg_short_errors_supported=yes
12492 else
12493         _pkg_short_errors_supported=no
12494 fi
12495         if test $_pkg_short_errors_supported = yes; then
12496                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1" 2>&1`
12497         else
12498                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1" 2>&1`
12499         fi
12500         # Put the nasty error message in config.log where it belongs
12501         echo "$LUA_PKG_ERRORS" >&5
12502
12503
12504                HAVE_LUA=no
12505                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
12506 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
12507
12508 elif test $pkg_failed = untried; then
12509         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12510 $as_echo "no" >&6; }
12511
12512                HAVE_LUA=no
12513                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
12514 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
12515
12516 else
12517         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
12518         LUA_LIBS=$pkg_cv_LUA_LIBS
12519         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12520 $as_echo "yes" >&6; }
12521
12522               HAVE_LUA=yes
12523
12524 $as_echo "#define HAVE_LUA 1" >>confdefs.h
12525
12526
12527 fi
12528
12529 else
12530         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
12531         LUA_LIBS=$pkg_cv_LUA_LIBS
12532         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12533 $as_echo "yes" >&6; }
12534
12535          HAVE_LUA=yes
12536
12537 $as_echo "#define HAVE_LUA 1" >>confdefs.h
12538
12539
12540 fi
12541
12542 elif test $pkg_failed = untried; then
12543         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12544 $as_echo "no" >&6; }
12545
12546
12547 pkg_failed=no
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12549 $as_echo_n "checking for LUA... " >&6; }
12550
12551 if test -n "$LUA_CFLAGS"; then
12552     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12553  elif test -n "$PKG_CONFIG"; then
12554     if test -n "$PKG_CONFIG" && \
12555     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
12556   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
12557   ac_status=$?
12558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12559   test $ac_status = 0; }; then
12560   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
12561                       test "x$?" != "x0" && pkg_failed=yes
12562 else
12563   pkg_failed=yes
12564 fi
12565  else
12566     pkg_failed=untried
12567 fi
12568 if test -n "$LUA_LIBS"; then
12569     pkg_cv_LUA_LIBS="$LUA_LIBS"
12570  elif test -n "$PKG_CONFIG"; then
12571     if test -n "$PKG_CONFIG" && \
12572     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
12573   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
12574   ac_status=$?
12575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12576   test $ac_status = 0; }; then
12577   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
12578                       test "x$?" != "x0" && pkg_failed=yes
12579 else
12580   pkg_failed=yes
12581 fi
12582  else
12583     pkg_failed=untried
12584 fi
12585
12586
12587
12588 if test $pkg_failed = yes; then
12589         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12590 $as_echo "no" >&6; }
12591
12592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12593         _pkg_short_errors_supported=yes
12594 else
12595         _pkg_short_errors_supported=no
12596 fi
12597         if test $_pkg_short_errors_supported = yes; then
12598                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
12599         else
12600                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
12601         fi
12602         # Put the nasty error message in config.log where it belongs
12603         echo "$LUA_PKG_ERRORS" >&5
12604
12605
12606
12607 pkg_failed=no
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12609 $as_echo_n "checking for LUA... " >&6; }
12610
12611 if test -n "$LUA_CFLAGS"; then
12612     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12613  elif test -n "$PKG_CONFIG"; then
12614     if test -n "$PKG_CONFIG" && \
12615     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
12616   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
12617   ac_status=$?
12618   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12619   test $ac_status = 0; }; then
12620   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
12621                       test "x$?" != "x0" && pkg_failed=yes
12622 else
12623   pkg_failed=yes
12624 fi
12625  else
12626     pkg_failed=untried
12627 fi
12628 if test -n "$LUA_LIBS"; then
12629     pkg_cv_LUA_LIBS="$LUA_LIBS"
12630  elif test -n "$PKG_CONFIG"; then
12631     if test -n "$PKG_CONFIG" && \
12632     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
12633   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
12634   ac_status=$?
12635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12636   test $ac_status = 0; }; then
12637   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
12638                       test "x$?" != "x0" && pkg_failed=yes
12639 else
12640   pkg_failed=yes
12641 fi
12642  else
12643     pkg_failed=untried
12644 fi
12645
12646
12647
12648 if test $pkg_failed = yes; then
12649         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12650 $as_echo "no" >&6; }
12651
12652 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12653         _pkg_short_errors_supported=yes
12654 else
12655         _pkg_short_errors_supported=no
12656 fi
12657         if test $_pkg_short_errors_supported = yes; then
12658                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1" 2>&1`
12659         else
12660                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1" 2>&1`
12661         fi
12662         # Put the nasty error message in config.log where it belongs
12663         echo "$LUA_PKG_ERRORS" >&5
12664
12665
12666                HAVE_LUA=no
12667                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
12668 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
12669
12670 elif test $pkg_failed = untried; then
12671         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12672 $as_echo "no" >&6; }
12673
12674                HAVE_LUA=no
12675                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
12676 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
12677
12678 else
12679         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
12680         LUA_LIBS=$pkg_cv_LUA_LIBS
12681         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12682 $as_echo "yes" >&6; }
12683
12684               HAVE_LUA=yes
12685
12686 $as_echo "#define HAVE_LUA 1" >>confdefs.h
12687
12688
12689 fi
12690
12691 elif test $pkg_failed = untried; then
12692         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12693 $as_echo "no" >&6; }
12694
12695
12696 pkg_failed=no
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12698 $as_echo_n "checking for LUA... " >&6; }
12699
12700 if test -n "$LUA_CFLAGS"; then
12701     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12702  elif test -n "$PKG_CONFIG"; then
12703     if test -n "$PKG_CONFIG" && \
12704     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
12705   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
12706   ac_status=$?
12707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12708   test $ac_status = 0; }; then
12709   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
12710                       test "x$?" != "x0" && pkg_failed=yes
12711 else
12712   pkg_failed=yes
12713 fi
12714  else
12715     pkg_failed=untried
12716 fi
12717 if test -n "$LUA_LIBS"; then
12718     pkg_cv_LUA_LIBS="$LUA_LIBS"
12719  elif test -n "$PKG_CONFIG"; then
12720     if test -n "$PKG_CONFIG" && \
12721     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
12722   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
12723   ac_status=$?
12724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12725   test $ac_status = 0; }; then
12726   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
12727                       test "x$?" != "x0" && pkg_failed=yes
12728 else
12729   pkg_failed=yes
12730 fi
12731  else
12732     pkg_failed=untried
12733 fi
12734
12735
12736
12737 if test $pkg_failed = yes; then
12738         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12739 $as_echo "no" >&6; }
12740
12741 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12742         _pkg_short_errors_supported=yes
12743 else
12744         _pkg_short_errors_supported=no
12745 fi
12746         if test $_pkg_short_errors_supported = yes; then
12747                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1" 2>&1`
12748         else
12749                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1" 2>&1`
12750         fi
12751         # Put the nasty error message in config.log where it belongs
12752         echo "$LUA_PKG_ERRORS" >&5
12753
12754
12755                HAVE_LUA=no
12756                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
12757 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
12758
12759 elif test $pkg_failed = untried; then
12760         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12761 $as_echo "no" >&6; }
12762
12763                HAVE_LUA=no
12764                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
12765 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
12766
12767 else
12768         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
12769         LUA_LIBS=$pkg_cv_LUA_LIBS
12770         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12771 $as_echo "yes" >&6; }
12772
12773               HAVE_LUA=yes
12774
12775 $as_echo "#define HAVE_LUA 1" >>confdefs.h
12776
12777
12778 fi
12779
12780 else
12781         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
12782         LUA_LIBS=$pkg_cv_LUA_LIBS
12783         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12784 $as_echo "yes" >&6; }
12785
12786          HAVE_LUA=yes
12787
12788 $as_echo "#define HAVE_LUA 1" >>confdefs.h
12789
12790
12791 fi
12792
12793 else
12794         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
12795         LUA_LIBS=$pkg_cv_LUA_LIBS
12796         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12797 $as_echo "yes" >&6; }
12798
12799       HAVE_LUA=yes
12800
12801 $as_echo "#define HAVE_LUA 1" >>confdefs.h
12802
12803
12804 fi
12805 else
12806   HAVE_LUA=disabled
12807 fi
12808
12809  if test "x$HAVE_LUA" = xyes; then
12810   HAVE_LUA_TRUE=
12811   HAVE_LUA_FALSE='#'
12812 else
12813   HAVE_LUA_TRUE='#'
12814   HAVE_LUA_FALSE=
12815 fi
12816
12817
12818
12819
12820 #  Pdf support
12821 # ----------------------------------------------------------------------
12822
12823 if test "x${gtk3}" != "xno"; then
12824     # Check whether --enable-pdf was given.
12825 if test "${enable_pdf+set}" = set; then :
12826   enableval=$enable_pdf; libpdf=$enableval
12827 else
12828   libpdf=auto
12829 fi
12830
12831
12832     if test "x${libpdf}" != "xno"; then
12833
12834 pkg_failed=no
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PDF" >&5
12836 $as_echo_n "checking for PDF... " >&6; }
12837
12838 if test -n "$PDF_CFLAGS"; then
12839     pkg_cv_PDF_CFLAGS="$PDF_CFLAGS"
12840  elif test -n "$PKG_CONFIG"; then
12841     if test -n "$PKG_CONFIG" && \
12842     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.62\""; } >&5
12843   ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.62") 2>&5
12844   ac_status=$?
12845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12846   test $ac_status = 0; }; then
12847   pkg_cv_PDF_CFLAGS=`$PKG_CONFIG --cflags "poppler-glib >= 0.62" 2>/dev/null`
12848                       test "x$?" != "x0" && pkg_failed=yes
12849 else
12850   pkg_failed=yes
12851 fi
12852  else
12853     pkg_failed=untried
12854 fi
12855 if test -n "$PDF_LIBS"; then
12856     pkg_cv_PDF_LIBS="$PDF_LIBS"
12857  elif test -n "$PKG_CONFIG"; then
12858     if test -n "$PKG_CONFIG" && \
12859     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.62\""; } >&5
12860   ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.62") 2>&5
12861   ac_status=$?
12862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12863   test $ac_status = 0; }; then
12864   pkg_cv_PDF_LIBS=`$PKG_CONFIG --libs "poppler-glib >= 0.62" 2>/dev/null`
12865                       test "x$?" != "x0" && pkg_failed=yes
12866 else
12867   pkg_failed=yes
12868 fi
12869  else
12870     pkg_failed=untried
12871 fi
12872
12873
12874
12875 if test $pkg_failed = yes; then
12876         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12877 $as_echo "no" >&6; }
12878
12879 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12880         _pkg_short_errors_supported=yes
12881 else
12882         _pkg_short_errors_supported=no
12883 fi
12884         if test $_pkg_short_errors_supported = yes; then
12885                 PDF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "poppler-glib >= 0.62" 2>&1`
12886         else
12887                 PDF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "poppler-glib >= 0.62" 2>&1`
12888         fi
12889         # Put the nasty error message in config.log where it belongs
12890         echo "$PDF_PKG_ERRORS" >&5
12891
12892
12893           HAVE_PDF=no
12894           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $PDF_PKG_ERRORS" >&5
12895 $as_echo "$as_me: WARNING: $PDF_PKG_ERRORS" >&2;}
12896
12897 elif test $pkg_failed = untried; then
12898         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12899 $as_echo "no" >&6; }
12900
12901           HAVE_PDF=no
12902           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $PDF_PKG_ERRORS" >&5
12903 $as_echo "$as_me: WARNING: $PDF_PKG_ERRORS" >&2;}
12904
12905 else
12906         PDF_CFLAGS=$pkg_cv_PDF_CFLAGS
12907         PDF_LIBS=$pkg_cv_PDF_LIBS
12908         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12909 $as_echo "yes" >&6; }
12910
12911           HAVE_PDF=yes
12912
12913 $as_echo "#define HAVE_PDF 1" >>confdefs.h
12914
12915
12916 fi
12917     else
12918         HAVE_PDF=disabled
12919     fi
12920 else
12921     HAVE_PDF=disabled
12922 fi
12923
12924  if test "x$HAVE_PDF" = xyes; then
12925   HAVE_PDF_TRUE=
12926   HAVE_PDF_FALSE='#'
12927 else
12928   HAVE_PDF_TRUE='#'
12929   HAVE_PDF_FALSE=
12930 fi
12931
12932
12933
12934
12935 #  Markdown support
12936 # ----------------------------------------------------------------------
12937
12938  if  "$(command -v markdown)" ; then
12939   HAVE_MARKDOWN_TRUE=
12940   HAVE_MARKDOWN_FALSE='#'
12941 else
12942   HAVE_MARKDOWN_TRUE='#'
12943   HAVE_MARKDOWN_FALSE=
12944 fi
12945
12946
12947 # _NL_TIME_FIRST_WEEKDAY support
12948 # note that it is an enum and not a define
12949 # ----------------------------------------------------------------------
12950
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _NL_TIME_FIRST_WEEKDAY" >&5
12952 $as_echo_n "checking for _NL_TIME_FIRST_WEEKDAY... " >&6; }
12953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12954 /* end confdefs.h.  */
12955 #include <langinfo.h>
12956 int
12957 main ()
12958 {
12959
12960 char c;
12961 c = *((unsigned char *)  nl_langinfo(_NL_TIME_FIRST_WEEKDAY));
12962
12963   ;
12964   return 0;
12965 }
12966 _ACEOF
12967 if ac_fn_c_try_link "$LINENO"; then :
12968   nl_ok=yes
12969 else
12970   nl_ok=no
12971 fi
12972 rm -f core conftest.err conftest.$ac_objext \
12973     conftest$ac_exeext conftest.$ac_ext
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nl_ok" >&5
12975 $as_echo "$nl_ok" >&6; }
12976 if test "$nl_ok" = "yes"; then
12977
12978 $as_echo "#define HAVE__NL_TIME_FIRST_WEEKDAY 1" >>confdefs.h
12979
12980 fi
12981
12982 # ----------------------------------------------------------------------
12983
12984
12985
12986
12987
12988
12989 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 geeqie.spec"
12990
12991
12992 cat >confcache <<\_ACEOF
12993 # This file is a shell script that caches the results of configure
12994 # tests run on this system so they can be shared between configure
12995 # scripts and configure runs, see configure's option --config-cache.
12996 # It is not useful on other systems.  If it contains results you don't
12997 # want to keep, you may remove or edit it.
12998 #
12999 # config.status only pays attention to the cache file if you give it
13000 # the --recheck option to rerun configure.
13001 #
13002 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13003 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13004 # following values.
13005
13006 _ACEOF
13007
13008 # The following way of writing the cache mishandles newlines in values,
13009 # but we know of no workaround that is simple, portable, and efficient.
13010 # So, we kill variables containing newlines.
13011 # Ultrix sh set writes to stderr and can't be redirected directly,
13012 # and sets the high bit in the cache file unless we assign to the vars.
13013 (
13014   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13015     eval ac_val=\$$ac_var
13016     case $ac_val in #(
13017     *${as_nl}*)
13018       case $ac_var in #(
13019       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13020 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13021       esac
13022       case $ac_var in #(
13023       _ | IFS | as_nl) ;; #(
13024       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13025       *) { eval $ac_var=; unset $ac_var;} ;;
13026       esac ;;
13027     esac
13028   done
13029
13030   (set) 2>&1 |
13031     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13032     *${as_nl}ac_space=\ *)
13033       # `set' does not quote correctly, so add quotes: double-quote
13034       # substitution turns \\\\ into \\, and sed turns \\ into \.
13035       sed -n \
13036         "s/'/'\\\\''/g;
13037           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13038       ;; #(
13039     *)
13040       # `set' quotes correctly as required by POSIX, so do not add quotes.
13041       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13042       ;;
13043     esac |
13044     sort
13045 ) |
13046   sed '
13047      /^ac_cv_env_/b end
13048      t clear
13049      :clear
13050      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13051      t end
13052      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13053      :end' >>confcache
13054 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13055   if test -w "$cache_file"; then
13056     if test "x$cache_file" != "x/dev/null"; then
13057       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13058 $as_echo "$as_me: updating cache $cache_file" >&6;}
13059       if test ! -f "$cache_file" || test -h "$cache_file"; then
13060         cat confcache >"$cache_file"
13061       else
13062         case $cache_file in #(
13063         */* | ?:*)
13064           mv -f confcache "$cache_file"$$ &&
13065           mv -f "$cache_file"$$ "$cache_file" ;; #(
13066         *)
13067           mv -f confcache "$cache_file" ;;
13068         esac
13069       fi
13070     fi
13071   else
13072     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13073 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13074   fi
13075 fi
13076 rm -f confcache
13077
13078 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13079 # Let make expand exec_prefix.
13080 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13081
13082 DEFS=-DHAVE_CONFIG_H
13083
13084 ac_libobjs=
13085 ac_ltlibobjs=
13086 U=
13087 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13088   # 1. Remove the extension, and $U if already installed.
13089   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13090   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13091   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13092   #    will be set to the directory where LIBOBJS objects are built.
13093   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13094   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13095 done
13096 LIBOBJS=$ac_libobjs
13097
13098 LTLIBOBJS=$ac_ltlibobjs
13099
13100
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13102 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13103    if test -n "$am_sleep_pid"; then
13104      # Hide warnings about reused PIDs.
13105      wait $am_sleep_pid 2>/dev/null
13106    fi
13107    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13108 $as_echo "done" >&6; }
13109  if test -n "$EXEEXT"; then
13110   am__EXEEXT_TRUE=
13111   am__EXEEXT_FALSE='#'
13112 else
13113   am__EXEEXT_TRUE='#'
13114   am__EXEEXT_FALSE=
13115 fi
13116
13117 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13118   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13120 fi
13121 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
13122   as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
13123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13124 fi
13125 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
13126   as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
13127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13128 fi
13129 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
13130   as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
13131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13132 fi
13133 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
13134   as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
13135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13136 fi
13137 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
13138   as_fn_error $? "conditional \"DX_COND_man\" was never defined.
13139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13140 fi
13141 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
13142   as_fn_error $? "conditional \"DX_COND_man\" was never defined.
13143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13144 fi
13145 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
13146   as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
13147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13148 fi
13149 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
13150   as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
13151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13152 fi
13153 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
13154   as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
13155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13156 fi
13157 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
13158   as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
13159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13160 fi
13161 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
13162   as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
13163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13164 fi
13165 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
13166   as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
13167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13168 fi
13169 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
13170   as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
13171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13172 fi
13173 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
13174   as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
13175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13176 fi
13177 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
13178   as_fn_error $? "conditional \"DX_COND_html\" was never defined.
13179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13180 fi
13181 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
13182   as_fn_error $? "conditional \"DX_COND_html\" was never defined.
13183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13184 fi
13185 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
13186   as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
13187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13188 fi
13189 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
13190   as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
13191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13192 fi
13193 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
13194   as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
13195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13196 fi
13197 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
13198   as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
13199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13200 fi
13201 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
13202   as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
13203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13204 fi
13205 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
13206   as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
13207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13208 fi
13209 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
13210   as_fn_error $? "conditional \"DEBUG\" was never defined.
13211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13212 fi
13213 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13214   as_fn_error $? "conditional \"AMDEP\" was never defined.
13215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13216 fi
13217 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13218   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13220 fi
13221 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13222   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13224 fi
13225 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
13226   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
13227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13228 fi
13229
13230   ac_config_commands="$ac_config_commands po/stamp-it"
13231
13232
13233 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
13234   as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
13235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13236 fi
13237 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
13238   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
13239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13240 fi
13241 if test -z "${OS_UNIX_TRUE}" && test -z "${OS_UNIX_FALSE}"; then
13242   as_fn_error $? "conditional \"OS_UNIX\" was never defined.
13243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13244 fi
13245 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
13246   as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
13247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13248 fi
13249 if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then
13250   as_fn_error $? "conditional \"HAVE_WINDRES\" was never defined.
13251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13252 fi
13253 if test -z "${HAVE_LIRC_TRUE}" && test -z "${HAVE_LIRC_FALSE}"; then
13254   as_fn_error $? "conditional \"HAVE_LIRC\" was never defined.
13255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13256 fi
13257 if test -z "${HAVE_LCMS_TRUE}" && test -z "${HAVE_LCMS_FALSE}"; then
13258   as_fn_error $? "conditional \"HAVE_LCMS\" was never defined.
13259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13260 fi
13261 if test -z "${HAVE_JPEG_TRUE}" && test -z "${HAVE_JPEG_FALSE}"; then
13262   as_fn_error $? "conditional \"HAVE_JPEG\" was never defined.
13263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13264 fi
13265 if test -z "${HAVE_TIFF_TRUE}" && test -z "${HAVE_TIFF_FALSE}"; then
13266   as_fn_error $? "conditional \"HAVE_TIFF\" was never defined.
13267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13268 fi
13269 if test -z "${HAVE_FFMPEGTHUMBNAILER_TRUE}" && test -z "${HAVE_FFMPEGTHUMBNAILER_FALSE}"; then
13270   as_fn_error $? "conditional \"HAVE_FFMPEGTHUMBNAILER\" was never defined.
13271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13272 fi
13273 if test -z "${HAVE_EXIV2_TRUE}" && test -z "${HAVE_EXIV2_FALSE}"; then
13274   as_fn_error $? "conditional \"HAVE_EXIV2\" was never defined.
13275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13276 fi
13277 if test -z "${HAVE_LIBCHAMPLAIN_GTK_TRUE}" && test -z "${HAVE_LIBCHAMPLAIN_GTK_FALSE}"; then
13278   as_fn_error $? "conditional \"HAVE_LIBCHAMPLAIN_GTK\" was never defined.
13279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13280 fi
13281 if test -z "${HAVE_LUA_TRUE}" && test -z "${HAVE_LUA_FALSE}"; then
13282   as_fn_error $? "conditional \"HAVE_LUA\" was never defined.
13283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13284 fi
13285 if test -z "${HAVE_PDF_TRUE}" && test -z "${HAVE_PDF_FALSE}"; then
13286   as_fn_error $? "conditional \"HAVE_PDF\" was never defined.
13287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13288 fi
13289 if test -z "${HAVE_MARKDOWN_TRUE}" && test -z "${HAVE_MARKDOWN_FALSE}"; then
13290   as_fn_error $? "conditional \"HAVE_MARKDOWN\" was never defined.
13291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13292 fi
13293
13294 : "${CONFIG_STATUS=./config.status}"
13295 ac_write_fail=0
13296 ac_clean_files_save=$ac_clean_files
13297 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13299 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13300 as_write_fail=0
13301 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13302 #! $SHELL
13303 # Generated by $as_me.
13304 # Run this file to recreate the current configuration.
13305 # Compiler output produced by configure, useful for debugging
13306 # configure, is in config.log if it exists.
13307
13308 debug=false
13309 ac_cs_recheck=false
13310 ac_cs_silent=false
13311
13312 SHELL=\${CONFIG_SHELL-$SHELL}
13313 export SHELL
13314 _ASEOF
13315 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13316 ## -------------------- ##
13317 ## M4sh Initialization. ##
13318 ## -------------------- ##
13319
13320 # Be more Bourne compatible
13321 DUALCASE=1; export DUALCASE # for MKS sh
13322 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13323   emulate sh
13324   NULLCMD=:
13325   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13326   # is contrary to our usage.  Disable this feature.
13327   alias -g '${1+"$@"}'='"$@"'
13328   setopt NO_GLOB_SUBST
13329 else
13330   case `(set -o) 2>/dev/null` in #(
13331   *posix*) :
13332     set -o posix ;; #(
13333   *) :
13334      ;;
13335 esac
13336 fi
13337
13338
13339 as_nl='
13340 '
13341 export as_nl
13342 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13343 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13344 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13345 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13346 # Prefer a ksh shell builtin over an external printf program on Solaris,
13347 # but without wasting forks for bash or zsh.
13348 if test -z "$BASH_VERSION$ZSH_VERSION" \
13349     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13350   as_echo='print -r --'
13351   as_echo_n='print -rn --'
13352 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13353   as_echo='printf %s\n'
13354   as_echo_n='printf %s'
13355 else
13356   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13357     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13358     as_echo_n='/usr/ucb/echo -n'
13359   else
13360     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13361     as_echo_n_body='eval
13362       arg=$1;
13363       case $arg in #(
13364       *"$as_nl"*)
13365         expr "X$arg" : "X\\(.*\\)$as_nl";
13366         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13367       esac;
13368       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13369     '
13370     export as_echo_n_body
13371     as_echo_n='sh -c $as_echo_n_body as_echo'
13372   fi
13373   export as_echo_body
13374   as_echo='sh -c $as_echo_body as_echo'
13375 fi
13376
13377 # The user is always right.
13378 if test "${PATH_SEPARATOR+set}" != set; then
13379   PATH_SEPARATOR=:
13380   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13381     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13382       PATH_SEPARATOR=';'
13383   }
13384 fi
13385
13386
13387 # IFS
13388 # We need space, tab and new line, in precisely that order.  Quoting is
13389 # there to prevent editors from complaining about space-tab.
13390 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13391 # splitting by setting IFS to empty value.)
13392 IFS=" ""        $as_nl"
13393
13394 # Find who we are.  Look in the path if we contain no directory separator.
13395 as_myself=
13396 case $0 in #((
13397   *[\\/]* ) as_myself=$0 ;;
13398   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13399 for as_dir in $PATH
13400 do
13401   IFS=$as_save_IFS
13402   test -z "$as_dir" && as_dir=.
13403     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13404   done
13405 IFS=$as_save_IFS
13406
13407      ;;
13408 esac
13409 # We did not find ourselves, most probably we were run as `sh COMMAND'
13410 # in which case we are not to be found in the path.
13411 if test "x$as_myself" = x; then
13412   as_myself=$0
13413 fi
13414 if test ! -f "$as_myself"; then
13415   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13416   exit 1
13417 fi
13418
13419 # Unset variables that we do not need and which cause bugs (e.g. in
13420 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13421 # suppresses any "Segmentation fault" message there.  '((' could
13422 # trigger a bug in pdksh 5.2.14.
13423 for as_var in BASH_ENV ENV MAIL MAILPATH
13424 do eval test x\${$as_var+set} = xset \
13425   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13426 done
13427 PS1='$ '
13428 PS2='> '
13429 PS4='+ '
13430
13431 # NLS nuisances.
13432 LC_ALL=C
13433 export LC_ALL
13434 LANGUAGE=C
13435 export LANGUAGE
13436
13437 # CDPATH.
13438 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13439
13440
13441 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13442 # ----------------------------------------
13443 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13444 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13445 # script with STATUS, using 1 if that was 0.
13446 as_fn_error ()
13447 {
13448   as_status=$1; test $as_status -eq 0 && as_status=1
13449   if test "$4"; then
13450     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13451     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13452   fi
13453   $as_echo "$as_me: error: $2" >&2
13454   as_fn_exit $as_status
13455 } # as_fn_error
13456
13457
13458 # as_fn_set_status STATUS
13459 # -----------------------
13460 # Set $? to STATUS, without forking.
13461 as_fn_set_status ()
13462 {
13463   return $1
13464 } # as_fn_set_status
13465
13466 # as_fn_exit STATUS
13467 # -----------------
13468 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13469 as_fn_exit ()
13470 {
13471   set +e
13472   as_fn_set_status $1
13473   exit $1
13474 } # as_fn_exit
13475
13476 # as_fn_unset VAR
13477 # ---------------
13478 # Portably unset VAR.
13479 as_fn_unset ()
13480 {
13481   { eval $1=; unset $1;}
13482 }
13483 as_unset=as_fn_unset
13484 # as_fn_append VAR VALUE
13485 # ----------------------
13486 # Append the text in VALUE to the end of the definition contained in VAR. Take
13487 # advantage of any shell optimizations that allow amortized linear growth over
13488 # repeated appends, instead of the typical quadratic growth present in naive
13489 # implementations.
13490 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13491   eval 'as_fn_append ()
13492   {
13493     eval $1+=\$2
13494   }'
13495 else
13496   as_fn_append ()
13497   {
13498     eval $1=\$$1\$2
13499   }
13500 fi # as_fn_append
13501
13502 # as_fn_arith ARG...
13503 # ------------------
13504 # Perform arithmetic evaluation on the ARGs, and store the result in the
13505 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13506 # must be portable across $(()) and expr.
13507 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13508   eval 'as_fn_arith ()
13509   {
13510     as_val=$(( $* ))
13511   }'
13512 else
13513   as_fn_arith ()
13514   {
13515     as_val=`expr "$@" || test $? -eq 1`
13516   }
13517 fi # as_fn_arith
13518
13519
13520 if expr a : '\(a\)' >/dev/null 2>&1 &&
13521    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13522   as_expr=expr
13523 else
13524   as_expr=false
13525 fi
13526
13527 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13528   as_basename=basename
13529 else
13530   as_basename=false
13531 fi
13532
13533 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13534   as_dirname=dirname
13535 else
13536   as_dirname=false
13537 fi
13538
13539 as_me=`$as_basename -- "$0" ||
13540 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13541          X"$0" : 'X\(//\)$' \| \
13542          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13543 $as_echo X/"$0" |
13544     sed '/^.*\/\([^/][^/]*\)\/*$/{
13545             s//\1/
13546             q
13547           }
13548           /^X\/\(\/\/\)$/{
13549             s//\1/
13550             q
13551           }
13552           /^X\/\(\/\).*/{
13553             s//\1/
13554             q
13555           }
13556           s/.*/./; q'`
13557
13558 # Avoid depending upon Character Ranges.
13559 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13560 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13561 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13562 as_cr_digits='0123456789'
13563 as_cr_alnum=$as_cr_Letters$as_cr_digits
13564
13565 ECHO_C= ECHO_N= ECHO_T=
13566 case `echo -n x` in #(((((
13567 -n*)
13568   case `echo 'xy\c'` in
13569   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13570   xy)  ECHO_C='\c';;
13571   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13572        ECHO_T=' ';;
13573   esac;;
13574 *)
13575   ECHO_N='-n';;
13576 esac
13577
13578 rm -f conf$$ conf$$.exe conf$$.file
13579 if test -d conf$$.dir; then
13580   rm -f conf$$.dir/conf$$.file
13581 else
13582   rm -f conf$$.dir
13583   mkdir conf$$.dir 2>/dev/null
13584 fi
13585 if (echo >conf$$.file) 2>/dev/null; then
13586   if ln -s conf$$.file conf$$ 2>/dev/null; then
13587     as_ln_s='ln -s'
13588     # ... but there are two gotchas:
13589     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13590     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13591     # In both cases, we have to default to `cp -pR'.
13592     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13593       as_ln_s='cp -pR'
13594   elif ln conf$$.file conf$$ 2>/dev/null; then
13595     as_ln_s=ln
13596   else
13597     as_ln_s='cp -pR'
13598   fi
13599 else
13600   as_ln_s='cp -pR'
13601 fi
13602 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13603 rmdir conf$$.dir 2>/dev/null
13604
13605
13606 # as_fn_mkdir_p
13607 # -------------
13608 # Create "$as_dir" as a directory, including parents if necessary.
13609 as_fn_mkdir_p ()
13610 {
13611
13612   case $as_dir in #(
13613   -*) as_dir=./$as_dir;;
13614   esac
13615   test -d "$as_dir" || eval $as_mkdir_p || {
13616     as_dirs=
13617     while :; do
13618       case $as_dir in #(
13619       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13620       *) as_qdir=$as_dir;;
13621       esac
13622       as_dirs="'$as_qdir' $as_dirs"
13623       as_dir=`$as_dirname -- "$as_dir" ||
13624 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13625          X"$as_dir" : 'X\(//\)[^/]' \| \
13626          X"$as_dir" : 'X\(//\)$' \| \
13627          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13628 $as_echo X"$as_dir" |
13629     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13630             s//\1/
13631             q
13632           }
13633           /^X\(\/\/\)[^/].*/{
13634             s//\1/
13635             q
13636           }
13637           /^X\(\/\/\)$/{
13638             s//\1/
13639             q
13640           }
13641           /^X\(\/\).*/{
13642             s//\1/
13643             q
13644           }
13645           s/.*/./; q'`
13646       test -d "$as_dir" && break
13647     done
13648     test -z "$as_dirs" || eval "mkdir $as_dirs"
13649   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13650
13651
13652 } # as_fn_mkdir_p
13653 if mkdir -p . 2>/dev/null; then
13654   as_mkdir_p='mkdir -p "$as_dir"'
13655 else
13656   test -d ./-p && rmdir ./-p
13657   as_mkdir_p=false
13658 fi
13659
13660
13661 # as_fn_executable_p FILE
13662 # -----------------------
13663 # Test if FILE is an executable regular file.
13664 as_fn_executable_p ()
13665 {
13666   test -f "$1" && test -x "$1"
13667 } # as_fn_executable_p
13668 as_test_x='test -x'
13669 as_executable_p=as_fn_executable_p
13670
13671 # Sed expression to map a string onto a valid CPP name.
13672 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13673
13674 # Sed expression to map a string onto a valid variable name.
13675 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13676
13677
13678 exec 6>&1
13679 ## ----------------------------------- ##
13680 ## Main body of $CONFIG_STATUS script. ##
13681 ## ----------------------------------- ##
13682 _ASEOF
13683 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13684
13685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13686 # Save the log message, to keep $0 and so on meaningful, and to
13687 # report actual input values of CONFIG_FILES etc. instead of their
13688 # values after options handling.
13689 ac_log="
13690 This file was extended by geeqie $as_me 1.5.1, which was
13691 generated by GNU Autoconf 2.69.  Invocation command line was
13692
13693   CONFIG_FILES    = $CONFIG_FILES
13694   CONFIG_HEADERS  = $CONFIG_HEADERS
13695   CONFIG_LINKS    = $CONFIG_LINKS
13696   CONFIG_COMMANDS = $CONFIG_COMMANDS
13697   $ $0 $@
13698
13699 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13700 "
13701
13702 _ACEOF
13703
13704 case $ac_config_files in *"
13705 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13706 esac
13707
13708 case $ac_config_headers in *"
13709 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13710 esac
13711
13712
13713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13714 # Files that config.status was made for.
13715 config_files="$ac_config_files"
13716 config_headers="$ac_config_headers"
13717 config_commands="$ac_config_commands"
13718
13719 _ACEOF
13720
13721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13722 ac_cs_usage="\
13723 \`$as_me' instantiates files and other configuration actions
13724 from templates according to the current configuration.  Unless the files
13725 and actions are specified as TAGs, all are instantiated by default.
13726
13727 Usage: $0 [OPTION]... [TAG]...
13728
13729   -h, --help       print this help, then exit
13730   -V, --version    print version number and configuration settings, then exit
13731       --config     print configuration, then exit
13732   -q, --quiet, --silent
13733                    do not print progress messages
13734   -d, --debug      don't remove temporary files
13735       --recheck    update $as_me by reconfiguring in the same conditions
13736       --file=FILE[:TEMPLATE]
13737                    instantiate the configuration file FILE
13738       --header=FILE[:TEMPLATE]
13739                    instantiate the configuration header FILE
13740
13741 Configuration files:
13742 $config_files
13743
13744 Configuration headers:
13745 $config_headers
13746
13747 Configuration commands:
13748 $config_commands
13749
13750 Report bugs to <https://github.com/BestImageViewer/geeqie/issues>.
13751 geeqie home page: <http://www.geeqie.org/>."
13752
13753 _ACEOF
13754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13755 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13756 ac_cs_version="\\
13757 geeqie config.status 1.5.1
13758 configured by $0, generated by GNU Autoconf 2.69,
13759   with options \\"\$ac_cs_config\\"
13760
13761 Copyright (C) 2012 Free Software Foundation, Inc.
13762 This config.status script is free software; the Free Software Foundation
13763 gives unlimited permission to copy, distribute and modify it."
13764
13765 ac_pwd='$ac_pwd'
13766 srcdir='$srcdir'
13767 INSTALL='$INSTALL'
13768 MKDIR_P='$MKDIR_P'
13769 AWK='$AWK'
13770 test -n "\$AWK" || AWK=awk
13771 _ACEOF
13772
13773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13774 # The default lists apply if the user does not specify any file.
13775 ac_need_defaults=:
13776 while test $# != 0
13777 do
13778   case $1 in
13779   --*=?*)
13780     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13781     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13782     ac_shift=:
13783     ;;
13784   --*=)
13785     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13786     ac_optarg=
13787     ac_shift=:
13788     ;;
13789   *)
13790     ac_option=$1
13791     ac_optarg=$2
13792     ac_shift=shift
13793     ;;
13794   esac
13795
13796   case $ac_option in
13797   # Handling of the options.
13798   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13799     ac_cs_recheck=: ;;
13800   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13801     $as_echo "$ac_cs_version"; exit ;;
13802   --config | --confi | --conf | --con | --co | --c )
13803     $as_echo "$ac_cs_config"; exit ;;
13804   --debug | --debu | --deb | --de | --d | -d )
13805     debug=: ;;
13806   --file | --fil | --fi | --f )
13807     $ac_shift
13808     case $ac_optarg in
13809     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13810     '') as_fn_error $? "missing file argument" ;;
13811     esac
13812     as_fn_append CONFIG_FILES " '$ac_optarg'"
13813     ac_need_defaults=false;;
13814   --header | --heade | --head | --hea )
13815     $ac_shift
13816     case $ac_optarg in
13817     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13818     esac
13819     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13820     ac_need_defaults=false;;
13821   --he | --h)
13822     # Conflict between --help and --header
13823     as_fn_error $? "ambiguous option: \`$1'
13824 Try \`$0 --help' for more information.";;
13825   --help | --hel | -h )
13826     $as_echo "$ac_cs_usage"; exit ;;
13827   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13828   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13829     ac_cs_silent=: ;;
13830
13831   # This is an error.
13832   -*) as_fn_error $? "unrecognized option: \`$1'
13833 Try \`$0 --help' for more information." ;;
13834
13835   *) as_fn_append ac_config_targets " $1"
13836      ac_need_defaults=false ;;
13837
13838   esac
13839   shift
13840 done
13841
13842 ac_configure_extra_args=
13843
13844 if $ac_cs_silent; then
13845   exec 6>/dev/null
13846   ac_configure_extra_args="$ac_configure_extra_args --silent"
13847 fi
13848
13849 _ACEOF
13850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13851 if \$ac_cs_recheck; then
13852   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13853   shift
13854   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13855   CONFIG_SHELL='$SHELL'
13856   export CONFIG_SHELL
13857   exec "\$@"
13858 fi
13859
13860 _ACEOF
13861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13862 exec 5>>config.log
13863 {
13864   echo
13865   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13866 ## Running $as_me. ##
13867 _ASBOX
13868   $as_echo "$ac_log"
13869 } >&5
13870
13871 _ACEOF
13872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13873 #
13874 # INIT-COMMANDS
13875 #
13876 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
13877
13878
13879 _ACEOF
13880
13881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13882
13883 # Handling of arguments.
13884 for ac_config_target in $ac_config_targets
13885 do
13886   case $ac_config_target in
13887     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13888     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13889     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13890     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13891     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13892     "src/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/icons/Makefile" ;;
13893     "src/icons/svg/Makefile") CONFIG_FILES="$CONFIG_FILES src/icons/svg/Makefile" ;;
13894     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13895     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13896     "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
13897     "plugins/symlink/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/symlink/Makefile" ;;
13898     "plugins/rotate/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/rotate/Makefile" ;;
13899     "plugins/ufraw/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ufraw/Makefile" ;;
13900     "plugins/geocode-parameters/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/geocode-parameters/Makefile" ;;
13901     "plugins/export-jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/export-jpeg/Makefile" ;;
13902     "plugins/tethered-photography/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/tethered-photography/Makefile" ;;
13903     "plugins/camera-import/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/camera-import/Makefile" ;;
13904     "plugins/image-crop/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/image-crop/Makefile" ;;
13905     "plugins/random-image/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/random-image/Makefile" ;;
13906     "geeqie.spec") CONFIG_FILES="$CONFIG_FILES geeqie.spec" ;;
13907     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
13908
13909   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13910   esac
13911 done
13912
13913
13914 # If the user did not use the arguments to specify the items to instantiate,
13915 # then the envvar interface is used.  Set only those that are not.
13916 # We use the long form for the default assignment because of an extremely
13917 # bizarre bug on SunOS 4.1.3.
13918 if $ac_need_defaults; then
13919   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13920   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13921   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13922 fi
13923
13924 # Have a temporary directory for convenience.  Make it in the build tree
13925 # simply because there is no reason against having it here, and in addition,
13926 # creating and moving files from /tmp can sometimes cause problems.
13927 # Hook for its removal unless debugging.
13928 # Note that there is a small window in which the directory will not be cleaned:
13929 # after its creation but before its name has been assigned to `$tmp'.
13930 $debug ||
13931 {
13932   tmp= ac_tmp=
13933   trap 'exit_status=$?
13934   : "${ac_tmp:=$tmp}"
13935   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13936 ' 0
13937   trap 'as_fn_exit 1' 1 2 13 15
13938 }
13939 # Create a (secure) tmp directory for tmp files.
13940
13941 {
13942   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13943   test -d "$tmp"
13944 }  ||
13945 {
13946   tmp=./conf$$-$RANDOM
13947   (umask 077 && mkdir "$tmp")
13948 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13949 ac_tmp=$tmp
13950
13951 # Set up the scripts for CONFIG_FILES section.
13952 # No need to generate them if there are no CONFIG_FILES.
13953 # This happens for instance with `./config.status config.h'.
13954 if test -n "$CONFIG_FILES"; then
13955
13956
13957 ac_cr=`echo X | tr X '\015'`
13958 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13959 # But we know of no other shell where ac_cr would be empty at this
13960 # point, so we can use a bashism as a fallback.
13961 if test "x$ac_cr" = x; then
13962   eval ac_cr=\$\'\\r\'
13963 fi
13964 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13965 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13966   ac_cs_awk_cr='\\r'
13967 else
13968   ac_cs_awk_cr=$ac_cr
13969 fi
13970
13971 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13972 _ACEOF
13973
13974
13975 {
13976   echo "cat >conf$$subs.awk <<_ACEOF" &&
13977   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13978   echo "_ACEOF"
13979 } >conf$$subs.sh ||
13980   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13981 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13982 ac_delim='%!_!# '
13983 for ac_last_try in false false false false false :; do
13984   . ./conf$$subs.sh ||
13985     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13986
13987   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13988   if test $ac_delim_n = $ac_delim_num; then
13989     break
13990   elif $ac_last_try; then
13991     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13992   else
13993     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13994   fi
13995 done
13996 rm -f conf$$subs.sh
13997
13998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13999 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14000 _ACEOF
14001 sed -n '
14002 h
14003 s/^/S["/; s/!.*/"]=/
14004 p
14005 g
14006 s/^[^!]*!//
14007 :repl
14008 t repl
14009 s/'"$ac_delim"'$//
14010 t delim
14011 :nl
14012 h
14013 s/\(.\{148\}\)..*/\1/
14014 t more1
14015 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14016 p
14017 n
14018 b repl
14019 :more1
14020 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14021 p
14022 g
14023 s/.\{148\}//
14024 t nl
14025 :delim
14026 h
14027 s/\(.\{148\}\)..*/\1/
14028 t more2
14029 s/["\\]/\\&/g; s/^/"/; s/$/"/
14030 p
14031 b
14032 :more2
14033 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14034 p
14035 g
14036 s/.\{148\}//
14037 t delim
14038 ' <conf$$subs.awk | sed '
14039 /^[^""]/{
14040   N
14041   s/\n//
14042 }
14043 ' >>$CONFIG_STATUS || ac_write_fail=1
14044 rm -f conf$$subs.awk
14045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14046 _ACAWK
14047 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14048   for (key in S) S_is_set[key] = 1
14049   FS = "\a"
14050
14051 }
14052 {
14053   line = $ 0
14054   nfields = split(line, field, "@")
14055   substed = 0
14056   len = length(field[1])
14057   for (i = 2; i < nfields; i++) {
14058     key = field[i]
14059     keylen = length(key)
14060     if (S_is_set[key]) {
14061       value = S[key]
14062       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14063       len += length(value) + length(field[++i])
14064       substed = 1
14065     } else
14066       len += 1 + keylen
14067   }
14068
14069   print line
14070 }
14071
14072 _ACAWK
14073 _ACEOF
14074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14075 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14076   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14077 else
14078   cat
14079 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14080   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14081 _ACEOF
14082
14083 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14084 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14085 # trailing colons and then remove the whole line if VPATH becomes empty
14086 # (actually we leave an empty line to preserve line numbers).
14087 if test "x$srcdir" = x.; then
14088   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14089 h
14090 s///
14091 s/^/:/
14092 s/[      ]*$/:/
14093 s/:\$(srcdir):/:/g
14094 s/:\${srcdir}:/:/g
14095 s/:@srcdir@:/:/g
14096 s/^:*//
14097 s/:*$//
14098 x
14099 s/\(=[   ]*\).*/\1/
14100 G
14101 s/\n//
14102 s/^[^=]*=[       ]*$//
14103 }'
14104 fi
14105
14106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14107 fi # test -n "$CONFIG_FILES"
14108
14109 # Set up the scripts for CONFIG_HEADERS section.
14110 # No need to generate them if there are no CONFIG_HEADERS.
14111 # This happens for instance with `./config.status Makefile'.
14112 if test -n "$CONFIG_HEADERS"; then
14113 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14114 BEGIN {
14115 _ACEOF
14116
14117 # Transform confdefs.h into an awk script `defines.awk', embedded as
14118 # here-document in config.status, that substitutes the proper values into
14119 # config.h.in to produce config.h.
14120
14121 # Create a delimiter string that does not exist in confdefs.h, to ease
14122 # handling of long lines.
14123 ac_delim='%!_!# '
14124 for ac_last_try in false false :; do
14125   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14126   if test -z "$ac_tt"; then
14127     break
14128   elif $ac_last_try; then
14129     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14130   else
14131     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14132   fi
14133 done
14134
14135 # For the awk script, D is an array of macro values keyed by name,
14136 # likewise P contains macro parameters if any.  Preserve backslash
14137 # newline sequences.
14138
14139 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14140 sed -n '
14141 s/.\{148\}/&'"$ac_delim"'/g
14142 t rset
14143 :rset
14144 s/^[     ]*#[    ]*define[       ][      ]*/ /
14145 t def
14146 d
14147 :def
14148 s/\\$//
14149 t bsnl
14150 s/["\\]/\\&/g
14151 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14152 D["\1"]=" \3"/p
14153 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14154 d
14155 :bsnl
14156 s/["\\]/\\&/g
14157 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14158 D["\1"]=" \3\\\\\\n"\\/p
14159 t cont
14160 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14161 t cont
14162 d
14163 :cont
14164 n
14165 s/.\{148\}/&'"$ac_delim"'/g
14166 t clear
14167 :clear
14168 s/\\$//
14169 t bsnlc
14170 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14171 d
14172 :bsnlc
14173 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14174 b cont
14175 ' <confdefs.h | sed '
14176 s/'"$ac_delim"'/"\\\
14177 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14178
14179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14180   for (key in D) D_is_set[key] = 1
14181   FS = "\a"
14182 }
14183 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14184   line = \$ 0
14185   split(line, arg, " ")
14186   if (arg[1] == "#") {
14187     defundef = arg[2]
14188     mac1 = arg[3]
14189   } else {
14190     defundef = substr(arg[1], 2)
14191     mac1 = arg[2]
14192   }
14193   split(mac1, mac2, "(") #)
14194   macro = mac2[1]
14195   prefix = substr(line, 1, index(line, defundef) - 1)
14196   if (D_is_set[macro]) {
14197     # Preserve the white space surrounding the "#".
14198     print prefix "define", macro P[macro] D[macro]
14199     next
14200   } else {
14201     # Replace #undef with comments.  This is necessary, for example,
14202     # in the case of _POSIX_SOURCE, which is predefined and required
14203     # on some systems where configure will not decide to define it.
14204     if (defundef == "undef") {
14205       print "/*", prefix defundef, macro, "*/"
14206       next
14207     }
14208   }
14209 }
14210 { print }
14211 _ACAWK
14212 _ACEOF
14213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14214   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14215 fi # test -n "$CONFIG_HEADERS"
14216
14217
14218 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14219 shift
14220 for ac_tag
14221 do
14222   case $ac_tag in
14223   :[FHLC]) ac_mode=$ac_tag; continue;;
14224   esac
14225   case $ac_mode$ac_tag in
14226   :[FHL]*:*);;
14227   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14228   :[FH]-) ac_tag=-:-;;
14229   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14230   esac
14231   ac_save_IFS=$IFS
14232   IFS=:
14233   set x $ac_tag
14234   IFS=$ac_save_IFS
14235   shift
14236   ac_file=$1
14237   shift
14238
14239   case $ac_mode in
14240   :L) ac_source=$1;;
14241   :[FH])
14242     ac_file_inputs=
14243     for ac_f
14244     do
14245       case $ac_f in
14246       -) ac_f="$ac_tmp/stdin";;
14247       *) # Look for the file first in the build tree, then in the source tree
14248          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14249          # because $ac_f cannot contain `:'.
14250          test -f "$ac_f" ||
14251            case $ac_f in
14252            [\\/$]*) false;;
14253            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14254            esac ||
14255            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14256       esac
14257       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14258       as_fn_append ac_file_inputs " '$ac_f'"
14259     done
14260
14261     # Let's still pretend it is `configure' which instantiates (i.e., don't
14262     # use $as_me), people would be surprised to read:
14263     #    /* config.h.  Generated by config.status.  */
14264     configure_input='Generated from '`
14265           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14266         `' by configure.'
14267     if test x"$ac_file" != x-; then
14268       configure_input="$ac_file.  $configure_input"
14269       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14270 $as_echo "$as_me: creating $ac_file" >&6;}
14271     fi
14272     # Neutralize special characters interpreted by sed in replacement strings.
14273     case $configure_input in #(
14274     *\&* | *\|* | *\\* )
14275        ac_sed_conf_input=`$as_echo "$configure_input" |
14276        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14277     *) ac_sed_conf_input=$configure_input;;
14278     esac
14279
14280     case $ac_tag in
14281     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14282       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14283     esac
14284     ;;
14285   esac
14286
14287   ac_dir=`$as_dirname -- "$ac_file" ||
14288 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14289          X"$ac_file" : 'X\(//\)[^/]' \| \
14290          X"$ac_file" : 'X\(//\)$' \| \
14291          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14292 $as_echo X"$ac_file" |
14293     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14294             s//\1/
14295             q
14296           }
14297           /^X\(\/\/\)[^/].*/{
14298             s//\1/
14299             q
14300           }
14301           /^X\(\/\/\)$/{
14302             s//\1/
14303             q
14304           }
14305           /^X\(\/\).*/{
14306             s//\1/
14307             q
14308           }
14309           s/.*/./; q'`
14310   as_dir="$ac_dir"; as_fn_mkdir_p
14311   ac_builddir=.
14312
14313 case "$ac_dir" in
14314 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14315 *)
14316   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14317   # A ".." for each directory in $ac_dir_suffix.
14318   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14319   case $ac_top_builddir_sub in
14320   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14321   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14322   esac ;;
14323 esac
14324 ac_abs_top_builddir=$ac_pwd
14325 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14326 # for backward compatibility:
14327 ac_top_builddir=$ac_top_build_prefix
14328
14329 case $srcdir in
14330   .)  # We are building in place.
14331     ac_srcdir=.
14332     ac_top_srcdir=$ac_top_builddir_sub
14333     ac_abs_top_srcdir=$ac_pwd ;;
14334   [\\/]* | ?:[\\/]* )  # Absolute name.
14335     ac_srcdir=$srcdir$ac_dir_suffix;
14336     ac_top_srcdir=$srcdir
14337     ac_abs_top_srcdir=$srcdir ;;
14338   *) # Relative name.
14339     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14340     ac_top_srcdir=$ac_top_build_prefix$srcdir
14341     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14342 esac
14343 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14344
14345
14346   case $ac_mode in
14347   :F)
14348   #
14349   # CONFIG_FILE
14350   #
14351
14352   case $INSTALL in
14353   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14354   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14355   esac
14356   ac_MKDIR_P=$MKDIR_P
14357   case $MKDIR_P in
14358   [\\/$]* | ?:[\\/]* ) ;;
14359   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14360   esac
14361 _ACEOF
14362
14363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14364 # If the template does not know about datarootdir, expand it.
14365 # FIXME: This hack should be removed a few years after 2.60.
14366 ac_datarootdir_hack=; ac_datarootdir_seen=
14367 ac_sed_dataroot='
14368 /datarootdir/ {
14369   p
14370   q
14371 }
14372 /@datadir@/p
14373 /@docdir@/p
14374 /@infodir@/p
14375 /@localedir@/p
14376 /@mandir@/p'
14377 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14378 *datarootdir*) ac_datarootdir_seen=yes;;
14379 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14380   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14381 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14382 _ACEOF
14383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14384   ac_datarootdir_hack='
14385   s&@datadir@&$datadir&g
14386   s&@docdir@&$docdir&g
14387   s&@infodir@&$infodir&g
14388   s&@localedir@&$localedir&g
14389   s&@mandir@&$mandir&g
14390   s&\\\${datarootdir}&$datarootdir&g' ;;
14391 esac
14392 _ACEOF
14393
14394 # Neutralize VPATH when `$srcdir' = `.'.
14395 # Shell code in configure.ac might set extrasub.
14396 # FIXME: do we really want to maintain this feature?
14397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14398 ac_sed_extra="$ac_vpsub
14399 $extrasub
14400 _ACEOF
14401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14402 :t
14403 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14404 s|@configure_input@|$ac_sed_conf_input|;t t
14405 s&@top_builddir@&$ac_top_builddir_sub&;t t
14406 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14407 s&@srcdir@&$ac_srcdir&;t t
14408 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14409 s&@top_srcdir@&$ac_top_srcdir&;t t
14410 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14411 s&@builddir@&$ac_builddir&;t t
14412 s&@abs_builddir@&$ac_abs_builddir&;t t
14413 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14414 s&@INSTALL@&$ac_INSTALL&;t t
14415 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14416 $ac_datarootdir_hack
14417 "
14418 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14419   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14420
14421 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14422   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14423   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14424       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14425   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14426 which seems to be undefined.  Please make sure it is defined" >&5
14427 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14428 which seems to be undefined.  Please make sure it is defined" >&2;}
14429
14430   rm -f "$ac_tmp/stdin"
14431   case $ac_file in
14432   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14433   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14434   esac \
14435   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14436  ;;
14437   :H)
14438   #
14439   # CONFIG_HEADER
14440   #
14441   if test x"$ac_file" != x-; then
14442     {
14443       $as_echo "/* $configure_input  */" \
14444       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14445     } >"$ac_tmp/config.h" \
14446       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14447     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14448       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14449 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14450     else
14451       rm -f "$ac_file"
14452       mv "$ac_tmp/config.h" "$ac_file" \
14453         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14454     fi
14455   else
14456     $as_echo "/* $configure_input  */" \
14457       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14458       || as_fn_error $? "could not create -" "$LINENO" 5
14459   fi
14460 # Compute "$ac_file"'s index in $config_headers.
14461 _am_arg="$ac_file"
14462 _am_stamp_count=1
14463 for _am_header in $config_headers :; do
14464   case $_am_header in
14465     $_am_arg | $_am_arg:* )
14466       break ;;
14467     * )
14468       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14469   esac
14470 done
14471 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14472 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14473          X"$_am_arg" : 'X\(//\)[^/]' \| \
14474          X"$_am_arg" : 'X\(//\)$' \| \
14475          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14476 $as_echo X"$_am_arg" |
14477     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14478             s//\1/
14479             q
14480           }
14481           /^X\(\/\/\)[^/].*/{
14482             s//\1/
14483             q
14484           }
14485           /^X\(\/\/\)$/{
14486             s//\1/
14487             q
14488           }
14489           /^X\(\/\).*/{
14490             s//\1/
14491             q
14492           }
14493           s/.*/./; q'`/stamp-h$_am_stamp_count
14494  ;;
14495
14496   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14497 $as_echo "$as_me: executing $ac_file commands" >&6;}
14498  ;;
14499   esac
14500
14501
14502   case $ac_file$ac_mode in
14503     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14504   # Older Autoconf quotes --file arguments for eval, but not when files
14505   # are listed without --file.  Let's play safe and only enable the eval
14506   # if we detect the quoting.
14507   # TODO: see whether this extra hack can be removed once we start
14508   # requiring Autoconf 2.70 or later.
14509   case $CONFIG_FILES in #(
14510   *\'*) :
14511     eval set x "$CONFIG_FILES" ;; #(
14512   *) :
14513     set x $CONFIG_FILES ;; #(
14514   *) :
14515      ;;
14516 esac
14517   shift
14518   # Used to flag and report bootstrapping failures.
14519   am_rc=0
14520   for am_mf
14521   do
14522     # Strip MF so we end up with the name of the file.
14523     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
14524     # Check whether this is an Automake generated Makefile which includes
14525     # dependency-tracking related rules and includes.
14526     # Grep'ing the whole file directly is not great: AIX grep has a line
14527     # limit of 2048, but all sed's we know have understand at least 4000.
14528     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
14529       || continue
14530     am_dirpart=`$as_dirname -- "$am_mf" ||
14531 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14532          X"$am_mf" : 'X\(//\)[^/]' \| \
14533          X"$am_mf" : 'X\(//\)$' \| \
14534          X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14535 $as_echo X"$am_mf" |
14536     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14537             s//\1/
14538             q
14539           }
14540           /^X\(\/\/\)[^/].*/{
14541             s//\1/
14542             q
14543           }
14544           /^X\(\/\/\)$/{
14545             s//\1/
14546             q
14547           }
14548           /^X\(\/\).*/{
14549             s//\1/
14550             q
14551           }
14552           s/.*/./; q'`
14553     am_filepart=`$as_basename -- "$am_mf" ||
14554 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
14555          X"$am_mf" : 'X\(//\)$' \| \
14556          X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14557 $as_echo X/"$am_mf" |
14558     sed '/^.*\/\([^/][^/]*\)\/*$/{
14559             s//\1/
14560             q
14561           }
14562           /^X\/\(\/\/\)$/{
14563             s//\1/
14564             q
14565           }
14566           /^X\/\(\/\).*/{
14567             s//\1/
14568             q
14569           }
14570           s/.*/./; q'`
14571     { echo "$as_me:$LINENO: cd "$am_dirpart" \
14572       && sed -e '/# am--include-marker/d' "$am_filepart" \
14573         | $MAKE -f - am--depfiles" >&5
14574    (cd "$am_dirpart" \
14575       && sed -e '/# am--include-marker/d' "$am_filepart" \
14576         | $MAKE -f - am--depfiles) >&5 2>&5
14577    ac_status=$?
14578    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579    (exit $ac_status); } || am_rc=$?
14580   done
14581   if test $am_rc -ne 0; then
14582     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14584 as_fn_error $? "Something went wrong bootstrapping makefile fragments
14585     for automatic dependency tracking.  Try re-running configure with the
14586     '--disable-dependency-tracking' option to at least be able to build
14587     the package (albeit without support for automatic dependency tracking).
14588 See \`config.log' for more details" "$LINENO" 5; }
14589   fi
14590   { am_dirpart=; unset am_dirpart;}
14591   { am_filepart=; unset am_filepart;}
14592   { am_mf=; unset am_mf;}
14593   { am_rc=; unset am_rc;}
14594   rm -f conftest-deps.mk
14595 }
14596  ;;
14597     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
14598         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
14599       esac ;;
14600     "po/stamp-it":C)
14601     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
14602        as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
14603     fi
14604     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
14605     >"po/stamp-it.tmp"
14606     sed '/^#/d
14607          s/^[[].*] *//
14608          /^[    ]*$/d
14609         '"s|^|  $ac_top_srcdir/|" \
14610       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
14611
14612     sed '/^POTFILES =/,/[^\\]$/ {
14613                 /^POTFILES =/!d
14614                 r po/POTFILES
14615           }
14616          ' "po/Makefile.in" >"po/Makefile"
14617     rm -f "po/Makefile.tmp"
14618     mv "po/stamp-it.tmp" "po/stamp-it"
14619    ;;
14620
14621   esac
14622 done # for ac_tag
14623
14624
14625 as_fn_exit 0
14626 _ACEOF
14627 ac_clean_files=$ac_clean_files_save
14628
14629 test $ac_write_fail = 0 ||
14630   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14631
14632
14633 # configure is writing to config.log, and then calls config.status.
14634 # config.status does its own redirection, appending to config.log.
14635 # Unfortunately, on DOS this fails, as config.log is still kept open
14636 # by configure, so config.status won't be able to write to it; its
14637 # output is simply discarded.  So we exec the FD to /dev/null,
14638 # effectively closing config.log, so it can be properly (re)opened and
14639 # appended to by config.status.  When coming back to configure, we
14640 # need to make the FD available again.
14641 if test "$no_create" != yes; then
14642   ac_cs_success=:
14643   ac_config_status_args=
14644   test "$silent" = yes &&
14645     ac_config_status_args="$ac_config_status_args --quiet"
14646   exec 5>/dev/null
14647   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14648   exec 5>>config.log
14649   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14650   # would make configure fail if this is the last instruction.
14651   $ac_cs_success || as_fn_exit 1
14652 fi
14653 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14654   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14655 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14656 fi
14657
14658
14659 cat > config.report << END
14660
14661      Config results:
14662     -=-=-=-=-=-=-=-=-
14663
14664 Package:
14665   Name:          $PACKAGE_NAME
14666   Version:       $PACKAGE_VERSION
14667
14668 Architecture:
14669   UNIX:          $os_unix
14670   Win32:         $platform_win32 (native: $os_win32)
14671
14672 Flags:
14673   Geeqie:        $GQ_CFLAGS
14674   DEFS:          $DEFS
14675   CPPFLAGS:      $__CPPFLAGS
14676   CFLAGS:        $CFLAGS
14677   CXXFLAGS:      $CXXFLAGS
14678   Gtk:           $GTK_CFLAGS
14679   Glib:          $GLIB_CFLAGS
14680   Thread:        $GTHREAD_LIBS
14681   Others:        $JPEG_LIBS $TIFF_LIBS $LCMS_LIBS $EXIV2_LIBS $CLUTTER_LIBS $CLUTTER_GTK_LIBS $LIBCHAMPLAIN_LIBS $LIBCHAMPLAIN_GTK_LIBS $LUA_LIBS
14682
14683 Localization:
14684   NLS support:   $USE_NLS
14685   LINGUAS:       $LINGUAS
14686
14687 Settings:
14688   Developer:     $__IS_DEVELOPER
14689   Debug flags:   $__IS_DEBUG_FLAGS
14690   Debug log:     $__IS_DEBUG_LOG
14691   Deprecated:    $__IS_DEPRECATED
14692
14693 Support:
14694   LCMS:          $HAVE_LCMS
14695   Exiv2:         $HAVE_EXIV2
14696   Lirc:          $HAVE_LIRC
14697   Clutter:       $HAVE_CLUTTER
14698   Libchamplain:         $HAVE_LIBCHAMPLAIN
14699   Libchamplain-gtk:     $HAVE_LIBCHAMPLAIN_GTK
14700   Lua:           $HAVE_LUA
14701   FFmpegthumbnailer:    $HAVE_FFMPEGTHUMBNAILER
14702   Pdf:           $HAVE_PDF
14703
14704 Documentation:
14705   Doxygen:       $DX_DOXYGEN
14706   doc-tool:      $GNOME_DOC_TOOL
14707
14708 END
14709
14710 cat config.report
14711 cat <<EOF
14712
14713   Now you can type "make" to build Geeqie
14714   (or you take blue pill and the story ends :)
14715
14716 EOF