5f4d617b9c698f8fd373181d089f14792882c21f
[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.
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'
584 PACKAGE_STRING='geeqie 1.5'
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 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:";;
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
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, 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'
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.24.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.24.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 # Check whether --enable-gtktest was given.
9595 if test "${enable_gtktest+set}" = set; then :
9596   enableval=$enable_gtktest;
9597 else
9598   enable_gtktest=yes
9599 fi
9600
9601   min_gtk_version=3.0.0
9602
9603   pkg_config_args="gtk+-3.0 >= $min_gtk_version"
9604   for module in .
9605   do
9606       case "$module" in
9607          gthread)
9608              pkg_config_args="$pkg_config_args gthread-2.0"
9609          ;;
9610       esac
9611   done
9612
9613   no_gtk=""
9614
9615
9616
9617
9618
9619
9620
9621
9622 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9623         if test -n "$ac_tool_prefix"; then
9624   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9625 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9627 $as_echo_n "checking for $ac_word... " >&6; }
9628 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9629   $as_echo_n "(cached) " >&6
9630 else
9631   case $PKG_CONFIG in
9632   [\\/]* | ?:[\\/]*)
9633   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9634   ;;
9635   *)
9636   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9637 for as_dir in $PATH
9638 do
9639   IFS=$as_save_IFS
9640   test -z "$as_dir" && as_dir=.
9641     for ac_exec_ext in '' $ac_executable_extensions; do
9642   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9643     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9644     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9645     break 2
9646   fi
9647 done
9648   done
9649 IFS=$as_save_IFS
9650
9651   ;;
9652 esac
9653 fi
9654 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9655 if test -n "$PKG_CONFIG"; then
9656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9657 $as_echo "$PKG_CONFIG" >&6; }
9658 else
9659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9660 $as_echo "no" >&6; }
9661 fi
9662
9663
9664 fi
9665 if test -z "$ac_cv_path_PKG_CONFIG"; then
9666   ac_pt_PKG_CONFIG=$PKG_CONFIG
9667   # Extract the first word of "pkg-config", so it can be a program name with args.
9668 set dummy pkg-config; ac_word=$2
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9670 $as_echo_n "checking for $ac_word... " >&6; }
9671 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
9672   $as_echo_n "(cached) " >&6
9673 else
9674   case $ac_pt_PKG_CONFIG in
9675   [\\/]* | ?:[\\/]*)
9676   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
9677   ;;
9678   *)
9679   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9680 for as_dir in $PATH
9681 do
9682   IFS=$as_save_IFS
9683   test -z "$as_dir" && as_dir=.
9684     for ac_exec_ext in '' $ac_executable_extensions; do
9685   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9686     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9688     break 2
9689   fi
9690 done
9691   done
9692 IFS=$as_save_IFS
9693
9694   ;;
9695 esac
9696 fi
9697 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
9698 if test -n "$ac_pt_PKG_CONFIG"; then
9699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
9700 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
9701 else
9702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9703 $as_echo "no" >&6; }
9704 fi
9705
9706   if test "x$ac_pt_PKG_CONFIG" = x; then
9707     PKG_CONFIG=""
9708   else
9709     case $cross_compiling:$ac_tool_warned in
9710 yes:)
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9713 ac_tool_warned=yes ;;
9714 esac
9715     PKG_CONFIG=$ac_pt_PKG_CONFIG
9716   fi
9717 else
9718   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
9719 fi
9720
9721 fi
9722 if test -n "$PKG_CONFIG"; then
9723         _pkg_min_version=0.16
9724         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
9725 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
9726         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
9727                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9728 $as_echo "yes" >&6; }
9729         else
9730                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9731 $as_echo "no" >&6; }
9732                 PKG_CONFIG=""
9733         fi
9734 fi
9735
9736   if test -z "$PKG_CONFIG"; then
9737     no_gtk=yes
9738   fi
9739
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 -n "$PKG_CONFIG"; 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 $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+-3.0 | \
9761            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9762     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
9763            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9764     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.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   unsigned int major, minor, micro;
9786
9787   fclose (fopen ("conf.gtktest", "w"));
9788
9789   if (sscanf("$min_gtk_version", "%u.%u.%u", &major, &minor, &micro) != 3) {
9790      printf("%s, bad version string\n", "$min_gtk_version");
9791      exit(1);
9792    }
9793
9794   if ((gtk_major_version != $gtk_config_major_version) ||
9795       (gtk_minor_version != $gtk_config_minor_version) ||
9796       (gtk_micro_version != $gtk_config_micro_version))
9797     {
9798       printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9799              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9800              gtk_major_version, gtk_minor_version, gtk_micro_version);
9801       printf ("*** was found! If pkg-config was correct, then it is best\n");
9802       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9803       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9804       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9805       printf("*** required on your system.\n");
9806       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
9807       printf("*** to point to the correct configuration files\n");
9808     }
9809   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9810            (gtk_minor_version != GTK_MINOR_VERSION) ||
9811            (gtk_micro_version != GTK_MICRO_VERSION))
9812     {
9813       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9814              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9815       printf("*** library (version %d.%d.%d)\n",
9816              gtk_major_version, gtk_minor_version, gtk_micro_version);
9817     }
9818   else
9819     {
9820       if ((gtk_major_version > major) ||
9821         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9822         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9823       {
9824         return 0;
9825        }
9826      else
9827       {
9828         printf("\n*** An old version of GTK+ (%u.%u.%u) was found.\n",
9829                gtk_major_version, gtk_minor_version, gtk_micro_version);
9830         printf("*** You need a version of GTK+ newer than %u.%u.%u. The latest version of\n",
9831                major, minor, micro);
9832         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9833         printf("***\n");
9834         printf("*** If you have already installed a sufficiently new version, this error\n");
9835         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
9836         printf("*** being found. The easiest way to fix this is to remove the old version\n");
9837         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
9838         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
9839         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9840         printf("*** so that the correct libraries are found at run-time))\n");
9841       }
9842     }
9843   return 1;
9844 }
9845
9846 _ACEOF
9847 if ac_fn_c_try_run "$LINENO"; then :
9848
9849 else
9850   no_gtk=yes
9851 fi
9852 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9853   conftest.$ac_objext conftest.beam conftest.$ac_ext
9854 fi
9855
9856        CFLAGS="$ac_save_CFLAGS"
9857        LIBS="$ac_save_LIBS"
9858      fi
9859   fi
9860   if test "x$no_gtk" = x ; then
9861      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
9862 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
9863      :
9864   else
9865      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9866 $as_echo "no" >&6; }
9867      if test -z "$PKG_CONFIG"; then
9868        echo "*** A new enough version of pkg-config was not found."
9869        echo "*** See http://pkgconfig.sourceforge.net"
9870      else
9871        if test -f conf.gtktest ; then
9872         :
9873        else
9874           echo "*** Could not run GTK+ test program, checking why..."
9875           ac_save_CFLAGS="$CFLAGS"
9876           ac_save_LIBS="$LIBS"
9877           CFLAGS="$CFLAGS $GTK_CFLAGS"
9878           LIBS="$LIBS $GTK_LIBS"
9879           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h.  */
9881
9882 #include <gtk/gtk.h>
9883 #include <stdio.h>
9884
9885 int
9886 main ()
9887 {
9888  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9889   ;
9890   return 0;
9891 }
9892 _ACEOF
9893 if ac_fn_c_try_link "$LINENO"; then :
9894    echo "*** The test program compiled, but did not run. This usually means"
9895           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
9896           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
9897           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9898           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
9899           echo "*** is required on your system"
9900           echo "***"
9901           echo "*** If you have an old version installed, it is best to remove it, although"
9902           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9903 else
9904    echo "*** The test program failed to compile or link. See the file config.log for the"
9905           echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
9906 fi
9907 rm -f core conftest.err conftest.$ac_objext \
9908     conftest$ac_exeext conftest.$ac_ext
9909           CFLAGS="$ac_save_CFLAGS"
9910           LIBS="$ac_save_LIBS"
9911        fi
9912      fi
9913      GTK_CFLAGS=""
9914      GTK_LIBS=""
9915      as_fn_error $? "GTK+ >= 3.0.0 not installed." "$LINENO" 5
9916   fi
9917
9918
9919   rm -f conf.gtktest
9920
9921 fi
9922
9923 if test x$gtk3 = xno; then
9924     # Check whether --enable-gtktest was given.
9925 if test "${enable_gtktest+set}" = set; then :
9926   enableval=$enable_gtktest;
9927 else
9928   enable_gtktest=yes
9929 fi
9930
9931
9932   pkg_config_args=gtk+-2.0
9933   for module in .
9934   do
9935       case "$module" in
9936          gthread)
9937              pkg_config_args="$pkg_config_args gthread-2.0"
9938          ;;
9939       esac
9940   done
9941
9942   no_gtk=""
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
9953         if test -n "$ac_tool_prefix"; then
9954   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9955 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9957 $as_echo_n "checking for $ac_word... " >&6; }
9958 if ${ac_cv_path_PKG_CONFIG+:} false; then :
9959   $as_echo_n "(cached) " >&6
9960 else
9961   case $PKG_CONFIG in
9962   [\\/]* | ?:[\\/]*)
9963   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
9964   ;;
9965   *)
9966   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9967 for as_dir in $PATH
9968 do
9969   IFS=$as_save_IFS
9970   test -z "$as_dir" && as_dir=.
9971     for ac_exec_ext in '' $ac_executable_extensions; do
9972   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9973     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9974     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9975     break 2
9976   fi
9977 done
9978   done
9979 IFS=$as_save_IFS
9980
9981   ;;
9982 esac
9983 fi
9984 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
9985 if test -n "$PKG_CONFIG"; then
9986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9987 $as_echo "$PKG_CONFIG" >&6; }
9988 else
9989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9990 $as_echo "no" >&6; }
9991 fi
9992
9993
9994 fi
9995 if test -z "$ac_cv_path_PKG_CONFIG"; then
9996   ac_pt_PKG_CONFIG=$PKG_CONFIG
9997   # Extract the first word of "pkg-config", so it can be a program name with args.
9998 set dummy pkg-config; ac_word=$2
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10000 $as_echo_n "checking for $ac_word... " >&6; }
10001 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
10002   $as_echo_n "(cached) " >&6
10003 else
10004   case $ac_pt_PKG_CONFIG in
10005   [\\/]* | ?:[\\/]*)
10006   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
10007   ;;
10008   *)
10009   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10010 for as_dir in $PATH
10011 do
10012   IFS=$as_save_IFS
10013   test -z "$as_dir" && as_dir=.
10014     for ac_exec_ext in '' $ac_executable_extensions; do
10015   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10016     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10017     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10018     break 2
10019   fi
10020 done
10021   done
10022 IFS=$as_save_IFS
10023
10024   ;;
10025 esac
10026 fi
10027 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
10028 if test -n "$ac_pt_PKG_CONFIG"; then
10029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
10030 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
10031 else
10032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10033 $as_echo "no" >&6; }
10034 fi
10035
10036   if test "x$ac_pt_PKG_CONFIG" = x; then
10037     PKG_CONFIG=""
10038   else
10039     case $cross_compiling:$ac_tool_warned in
10040 yes:)
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10043 ac_tool_warned=yes ;;
10044 esac
10045     PKG_CONFIG=$ac_pt_PKG_CONFIG
10046   fi
10047 else
10048   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
10049 fi
10050
10051 fi
10052 if test -n "$PKG_CONFIG"; then
10053         _pkg_min_version=0.7
10054         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
10055 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
10056         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
10057                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10058 $as_echo "yes" >&6; }
10059         else
10060                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10061 $as_echo "no" >&6; }
10062                 PKG_CONFIG=""
10063         fi
10064 fi
10065
10066   min_gtk_version=2.20.0
10067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
10068 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
10069
10070   if test x$PKG_CONFIG != xno ; then
10071     ## don't try to run the test against uninstalled libtool libs
10072     if $PKG_CONFIG --uninstalled $pkg_config_args; then
10073           echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
10074           enable_gtktest=no
10075     fi
10076
10077     if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
10078           :
10079     else
10080           no_gtk=yes
10081     fi
10082   fi
10083
10084   if test x"$no_gtk" = x ; then
10085     GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
10086     GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
10087     gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10088            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10089     gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10090            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10091     gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
10092            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10093     if test "x$enable_gtktest" = "xyes" ; then
10094       ac_save_CFLAGS="$CFLAGS"
10095       ac_save_LIBS="$LIBS"
10096       CFLAGS="$CFLAGS $GTK_CFLAGS"
10097       LIBS="$GTK_LIBS $LIBS"
10098       rm -f conf.gtktest
10099       if test "$cross_compiling" = yes; then :
10100   echo $ac_n "cross compiling; assumed OK... $ac_c"
10101 else
10102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10103 /* end confdefs.h.  */
10104
10105 #include <gtk/gtk.h>
10106 #include <stdio.h>
10107 #include <stdlib.h>
10108
10109 int
10110 main ()
10111 {
10112   int major, minor, micro;
10113   char *tmp_version;
10114
10115   fclose (fopen ("conf.gtktest", "w"));
10116
10117   /* HP/UX 9 (%@#!) writes to sscanf strings */
10118   tmp_version = g_strdup("$min_gtk_version");
10119   if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
10120      printf("%s, bad version string\n", "$min_gtk_version");
10121      exit(1);
10122    }
10123
10124   if ((gtk_major_version != $gtk_config_major_version) ||
10125       (gtk_minor_version != $gtk_config_minor_version) ||
10126       (gtk_micro_version != $gtk_config_micro_version))
10127     {
10128       printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10129              $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10130              gtk_major_version, gtk_minor_version, gtk_micro_version);
10131       printf ("*** was found! If pkg-config was correct, then it is best\n");
10132       printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10133       printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10134       printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10135       printf("*** required on your system.\n");
10136       printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
10137       printf("*** to point to the correct configuration files\n");
10138     }
10139   else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10140            (gtk_minor_version != GTK_MINOR_VERSION) ||
10141            (gtk_micro_version != GTK_MICRO_VERSION))
10142     {
10143       printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10144              GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10145       printf("*** library (version %d.%d.%d)\n",
10146              gtk_major_version, gtk_minor_version, gtk_micro_version);
10147     }
10148   else
10149     {
10150       if ((gtk_major_version > major) ||
10151         ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10152         ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10153       {
10154         return 0;
10155        }
10156      else
10157       {
10158         printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10159                gtk_major_version, gtk_minor_version, gtk_micro_version);
10160         printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10161                major, minor, micro);
10162         printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10163         printf("***\n");
10164         printf("*** If you have already installed a sufficiently new version, this error\n");
10165         printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
10166         printf("*** being found. The easiest way to fix this is to remove the old version\n");
10167         printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
10168         printf("*** correct copy of pkg-config. (In this case, you will have to\n");
10169         printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10170         printf("*** so that the correct libraries are found at run-time))\n");
10171       }
10172     }
10173   return 1;
10174 }
10175
10176 _ACEOF
10177 if ac_fn_c_try_run "$LINENO"; then :
10178
10179 else
10180   no_gtk=yes
10181 fi
10182 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
10183   conftest.$ac_objext conftest.beam conftest.$ac_ext
10184 fi
10185
10186        CFLAGS="$ac_save_CFLAGS"
10187        LIBS="$ac_save_LIBS"
10188      fi
10189   fi
10190   if test "x$no_gtk" = x ; then
10191      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
10192 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
10193      :
10194   else
10195      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10196 $as_echo "no" >&6; }
10197      if test "$PKG_CONFIG" = "no" ; then
10198        echo "*** A new enough version of pkg-config was not found."
10199        echo "*** See http://pkgconfig.sourceforge.net"
10200      else
10201        if test -f conf.gtktest ; then
10202         :
10203        else
10204           echo "*** Could not run GTK+ test program, checking why..."
10205           ac_save_CFLAGS="$CFLAGS"
10206           ac_save_LIBS="$LIBS"
10207           CFLAGS="$CFLAGS $GTK_CFLAGS"
10208           LIBS="$LIBS $GTK_LIBS"
10209           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h.  */
10211
10212 #include <gtk/gtk.h>
10213 #include <stdio.h>
10214
10215 int
10216 main ()
10217 {
10218  return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10219   ;
10220   return 0;
10221 }
10222 _ACEOF
10223 if ac_fn_c_try_link "$LINENO"; then :
10224    echo "*** The test program compiled, but did not run. This usually means"
10225           echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
10226           echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
10227           echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10228           echo "*** to the installed location  Also, make sure you have run ldconfig if that"
10229           echo "*** is required on your system"
10230           echo "***"
10231           echo "*** If you have an old version installed, it is best to remove it, although"
10232           echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10233 else
10234    echo "*** The test program failed to compile or link. See the file config.log for the"
10235           echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
10236 fi
10237 rm -f core conftest.err conftest.$ac_objext \
10238     conftest$ac_exeext conftest.$ac_ext
10239           CFLAGS="$ac_save_CFLAGS"
10240           LIBS="$ac_save_LIBS"
10241        fi
10242      fi
10243      GTK_CFLAGS=""
10244      GTK_LIBS=""
10245      as_fn_error $? "GTK+ >= 2.20.0 not installed." "$LINENO" 5
10246   fi
10247
10248
10249   rm -f conf.gtktest
10250
10251     true
10252 fi
10253
10254 threads="auto"
10255 # Check whether --enable-threads was given.
10256 if test "${enable_threads+set}" = set; then :
10257   enableval=$enable_threads; threads="${enableval}"
10258 fi
10259
10260
10261 have_gthread="no"
10262 if test "x${threads}" != "xno" ; then
10263
10264 pkg_failed=no
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
10266 $as_echo_n "checking for GTHREAD... " >&6; }
10267
10268 if test -n "$GTHREAD_CFLAGS"; then
10269     pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
10270  elif test -n "$PKG_CONFIG"; then
10271     if test -n "$PKG_CONFIG" && \
10272     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
10273   ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
10274   ac_status=$?
10275   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10276   test $ac_status = 0; }; then
10277   pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
10278                       test "x$?" != "x0" && pkg_failed=yes
10279 else
10280   pkg_failed=yes
10281 fi
10282  else
10283     pkg_failed=untried
10284 fi
10285 if test -n "$GTHREAD_LIBS"; then
10286     pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
10287  elif test -n "$PKG_CONFIG"; then
10288     if test -n "$PKG_CONFIG" && \
10289     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\""; } >&5
10290   ($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
10291   ac_status=$?
10292   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10293   test $ac_status = 0; }; then
10294   pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
10295                       test "x$?" != "x0" && pkg_failed=yes
10296 else
10297   pkg_failed=yes
10298 fi
10299  else
10300     pkg_failed=untried
10301 fi
10302
10303
10304
10305 if test $pkg_failed = yes; then
10306         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10307 $as_echo "no" >&6; }
10308
10309 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10310         _pkg_short_errors_supported=yes
10311 else
10312         _pkg_short_errors_supported=no
10313 fi
10314         if test $_pkg_short_errors_supported = yes; then
10315                 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0" 2>&1`
10316         else
10317                 GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0" 2>&1`
10318         fi
10319         # Put the nasty error message in config.log where it belongs
10320         echo "$GTHREAD_PKG_ERRORS" >&5
10321
10322         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"No thread support in glib\"" >&5
10323 $as_echo "$as_me: WARNING: \"No thread support in glib\"" >&2;}
10324 elif test $pkg_failed = untried; then
10325         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10326 $as_echo "no" >&6; }
10327         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"No thread support in glib\"" >&5
10328 $as_echo "$as_me: WARNING: \"No thread support in glib\"" >&2;}
10329 else
10330         GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
10331         GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
10332         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10333 $as_echo "yes" >&6; }
10334         have_gthread="yes"
10335 fi
10336 fi
10337
10338 if test "x$have_gthread" != "xno"; then
10339
10340 $as_echo "#define HAVE_GTHREAD 1" >>confdefs.h
10341
10342         GLIB_CFLAGS="$GTHREAD_CFLAGS"
10343         GLIB_LIBS="$GTHREAD_LIBS"
10344 fi
10345
10346
10347 for ac_prog in "gdk-pixbuf-csource"
10348 do
10349   # Extract the first word of "$ac_prog", so it can be a program name with args.
10350 set dummy $ac_prog; ac_word=$2
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10352 $as_echo_n "checking for $ac_word... " >&6; }
10353 if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
10354   $as_echo_n "(cached) " >&6
10355 else
10356   case $GDK_PIXBUF_CSOURCE in
10357   [\\/]* | ?:[\\/]*)
10358   ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
10359   ;;
10360   *)
10361   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10362 for as_dir in $PATH
10363 do
10364   IFS=$as_save_IFS
10365   test -z "$as_dir" && as_dir=.
10366     for ac_exec_ext in '' $ac_executable_extensions; do
10367   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10368     ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
10369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10370     break 2
10371   fi
10372 done
10373   done
10374 IFS=$as_save_IFS
10375
10376   ;;
10377 esac
10378 fi
10379 GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
10380 if test -n "$GDK_PIXBUF_CSOURCE"; then
10381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
10382 $as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
10383 else
10384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10385 $as_echo "no" >&6; }
10386 fi
10387
10388
10389   test -n "$GDK_PIXBUF_CSOURCE" && break
10390 done
10391
10392 # Extract the first word of "glib-genmarshal", so it can be a program name with args.
10393 set dummy glib-genmarshal; ac_word=$2
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10395 $as_echo_n "checking for $ac_word... " >&6; }
10396 if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
10397   $as_echo_n "(cached) " >&6
10398 else
10399   case $GLIB_GENMARSHAL in
10400   [\\/]* | ?:[\\/]*)
10401   ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
10402   ;;
10403   *)
10404   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10405 for as_dir in $PATH
10406 do
10407   IFS=$as_save_IFS
10408   test -z "$as_dir" && as_dir=.
10409     for ac_exec_ext in '' $ac_executable_extensions; do
10410   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10411     ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
10412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10413     break 2
10414   fi
10415 done
10416   done
10417 IFS=$as_save_IFS
10418
10419   ;;
10420 esac
10421 fi
10422 GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
10423 if test -n "$GLIB_GENMARSHAL"; then
10424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
10425 $as_echo "$GLIB_GENMARSHAL" >&6; }
10426 else
10427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10428 $as_echo "no" >&6; }
10429 fi
10430
10431
10432
10433
10434 # Check whether --with-readmedir was given.
10435 if test "${with_readmedir+set}" = set; then :
10436   withval=$with_readmedir; readmedir=$withval
10437 else
10438   readmedir="$prefix/share/doc/geeqie-$VERSION"
10439 fi
10440
10441
10442 # Check whether --with-htmldir was given.
10443 if test "${with_htmldir+set}" = set; then :
10444   withval=$with_htmldir; htmldir=$withval
10445 else
10446   htmldir="$readmedir/html"
10447 fi
10448
10449
10450
10451 cat >>confdefs.h <<_ACEOF
10452 #define GQ_HELPDIR "$readmedir"
10453 _ACEOF
10454
10455
10456 cat >>confdefs.h <<_ACEOF
10457 #define GQ_HTMLDIR "$htmldir"
10458 _ACEOF
10459
10460
10461 # Extract the first word of "gnome-doc-tool", so it can be a program name with args.
10462 set dummy gnome-doc-tool; ac_word=$2
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10464 $as_echo_n "checking for $ac_word... " >&6; }
10465 if ${ac_cv_path_GNOME_DOC_TOOL+:} false; then :
10466   $as_echo_n "(cached) " >&6
10467 else
10468   case $GNOME_DOC_TOOL in
10469   [\\/]* | ?:[\\/]*)
10470   ac_cv_path_GNOME_DOC_TOOL="$GNOME_DOC_TOOL" # Let the user override the test with a path.
10471   ;;
10472   *)
10473   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10474 for as_dir in $PATH
10475 do
10476   IFS=$as_save_IFS
10477   test -z "$as_dir" && as_dir=.
10478     for ac_exec_ext in '' $ac_executable_extensions; do
10479   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10480     ac_cv_path_GNOME_DOC_TOOL="$as_dir/$ac_word$ac_exec_ext"
10481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10482     break 2
10483   fi
10484 done
10485   done
10486 IFS=$as_save_IFS
10487
10488   ;;
10489 esac
10490 fi
10491 GNOME_DOC_TOOL=$ac_cv_path_GNOME_DOC_TOOL
10492 if test -n "$GNOME_DOC_TOOL"; then
10493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNOME_DOC_TOOL" >&5
10494 $as_echo "$GNOME_DOC_TOOL" >&6; }
10495 else
10496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10497 $as_echo "no" >&6; }
10498 fi
10499
10500
10501
10502
10503
10504
10505 eval "eval appdir=${datadir}/${PACKAGE}"
10506
10507 cat >>confdefs.h <<_ACEOF
10508 #define GQ_APP_DIR "$appdir"
10509 _ACEOF
10510
10511
10512
10513 eval "eval gq_bindir=${prefix}/lib/${PACKAGE}"
10514
10515 cat >>confdefs.h <<_ACEOF
10516 #define GQ_BIN_DIR "$gq_bindir"
10517 _ACEOF
10518
10519
10520
10521 #  LIRC support
10522 # ----------------------------------------------------------------------
10523
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if LIRC support is enabled" >&5
10525 $as_echo_n "checking if LIRC support is enabled... " >&6; }
10526 lirc=no
10527 # Check whether --enable-lirc was given.
10528 if test "${enable_lirc+set}" = set; then :
10529   enableval=$enable_lirc;
10530 if test "x${enableval}" = "xyes" -a "x$GCC" = "xyes"; then
10531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10532 $as_echo "yes" >&6; }
10533   lirc=yes
10534 else
10535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10536 $as_echo "no" >&6; }
10537   lirc=no
10538 fi
10539 else
10540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10541 $as_echo "no" >&6; }
10542 fi
10543
10544
10545
10546
10547 # Check whether --with-lirc-prefix was given.
10548 if test "${with_lirc_prefix+set}" = set; then :
10549   withval=$with_lirc_prefix;
10550 for dir in `echo "$withval" | tr : ' '`; do
10551   if test -d $dir/lib; then CXXFLAGS="$CXXFLAGS -L$dir/lib"; fi
10552   if test -d $dir/include; then CXXFLAGS="$CXXFLAGS -I$dir/include"; fi
10553   done
10554
10555 fi
10556
10557
10558 HAVE_LIRC=no
10559 if test "x${lirc}" != "xno" ; then
10560   # On IRIX 5.3, sys/types and inttypes.h are conflicting.
10561 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
10562                   inttypes.h stdint.h unistd.h
10563 do :
10564   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10565 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
10566 "
10567 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10568   cat >>confdefs.h <<_ACEOF
10569 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10570 _ACEOF
10571
10572 fi
10573
10574 done
10575
10576
10577 ac_fn_c_check_header_mongrel "$LINENO" "lirc/lirc_client.h" "ac_cv_header_lirc_lirc_client_h" "$ac_includes_default"
10578 if test "x$ac_cv_header_lirc_lirc_client_h" = xyes; then :
10579   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lirc_init in -llirc_client" >&5
10580 $as_echo_n "checking for lirc_init in -llirc_client... " >&6; }
10581 if ${ac_cv_lib_lirc_client_lirc_init+:} false; then :
10582   $as_echo_n "(cached) " >&6
10583 else
10584   ac_check_lib_save_LIBS=$LIBS
10585 LIBS="-llirc_client  $LIBS"
10586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10587 /* end confdefs.h.  */
10588
10589 /* Override any GCC internal prototype to avoid an error.
10590    Use char because int might match the return type of a GCC
10591    builtin and then its argument prototype would still apply.  */
10592 #ifdef __cplusplus
10593 extern "C"
10594 #endif
10595 char lirc_init ();
10596 int
10597 main ()
10598 {
10599 return lirc_init ();
10600   ;
10601   return 0;
10602 }
10603 _ACEOF
10604 if ac_fn_c_try_link "$LINENO"; then :
10605   ac_cv_lib_lirc_client_lirc_init=yes
10606 else
10607   ac_cv_lib_lirc_client_lirc_init=no
10608 fi
10609 rm -f core conftest.err conftest.$ac_objext \
10610     conftest$ac_exeext conftest.$ac_ext
10611 LIBS=$ac_check_lib_save_LIBS
10612 fi
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lirc_client_lirc_init" >&5
10614 $as_echo "$ac_cv_lib_lirc_client_lirc_init" >&6; }
10615 if test "x$ac_cv_lib_lirc_client_lirc_init" = xyes; then :
10616   HAVE_LIRC=yes;LIBS=-llirc_client $LIBS;
10617 $as_echo "#define HAVE_LIRC /**/" >>confdefs.h
10618
10619 fi
10620
10621 fi
10622
10623
10624 fi
10625  if test "x$HAVE_LIRC" = xyes; then
10626   HAVE_LIRC_TRUE=
10627   HAVE_LIRC_FALSE='#'
10628 else
10629   HAVE_LIRC_TRUE='#'
10630   HAVE_LIRC_FALSE=
10631 fi
10632
10633
10634
10635 #  LCMS support
10636 # ----------------------------------------------------------------------
10637
10638 # Check whether --enable-lcms was given.
10639 if test "${enable_lcms+set}" = set; then :
10640   enableval=$enable_lcms; liblcms=$enableval
10641 else
10642   liblcms=auto
10643 fi
10644
10645
10646 if test "x${liblcms}" != "xno"; then
10647
10648 pkg_failed=no
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS" >&5
10650 $as_echo_n "checking for LCMS... " >&6; }
10651
10652 if test -n "$LCMS_CFLAGS"; then
10653     pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
10654  elif test -n "$PKG_CONFIG"; then
10655     if test -n "$PKG_CONFIG" && \
10656     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2 >= 2.0\""; } >&5
10657   ($PKG_CONFIG --exists --print-errors "lcms2 >= 2.0") 2>&5
10658   ac_status=$?
10659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10660   test $ac_status = 0; }; then
10661   pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms2 >= 2.0" 2>/dev/null`
10662                       test "x$?" != "x0" && pkg_failed=yes
10663 else
10664   pkg_failed=yes
10665 fi
10666  else
10667     pkg_failed=untried
10668 fi
10669 if test -n "$LCMS_LIBS"; then
10670     pkg_cv_LCMS_LIBS="$LCMS_LIBS"
10671  elif test -n "$PKG_CONFIG"; then
10672     if test -n "$PKG_CONFIG" && \
10673     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2 >= 2.0\""; } >&5
10674   ($PKG_CONFIG --exists --print-errors "lcms2 >= 2.0") 2>&5
10675   ac_status=$?
10676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10677   test $ac_status = 0; }; then
10678   pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms2 >= 2.0" 2>/dev/null`
10679                       test "x$?" != "x0" && pkg_failed=yes
10680 else
10681   pkg_failed=yes
10682 fi
10683  else
10684     pkg_failed=untried
10685 fi
10686
10687
10688
10689 if test $pkg_failed = yes; then
10690         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10691 $as_echo "no" >&6; }
10692
10693 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10694         _pkg_short_errors_supported=yes
10695 else
10696         _pkg_short_errors_supported=no
10697 fi
10698         if test $_pkg_short_errors_supported = yes; then
10699                 LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms2 >= 2.0" 2>&1`
10700         else
10701                 LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms2 >= 2.0" 2>&1`
10702         fi
10703         # Put the nasty error message in config.log where it belongs
10704         echo "$LCMS_PKG_ERRORS" >&5
10705
10706
10707
10708 pkg_failed=no
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS" >&5
10710 $as_echo_n "checking for LCMS... " >&6; }
10711
10712 if test -n "$LCMS_CFLAGS"; then
10713     pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
10714  elif test -n "$PKG_CONFIG"; then
10715     if test -n "$PKG_CONFIG" && \
10716     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
10717   ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
10718   ac_status=$?
10719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10720   test $ac_status = 0; }; then
10721   pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms >= 1.14" 2>/dev/null`
10722                       test "x$?" != "x0" && pkg_failed=yes
10723 else
10724   pkg_failed=yes
10725 fi
10726  else
10727     pkg_failed=untried
10728 fi
10729 if test -n "$LCMS_LIBS"; then
10730     pkg_cv_LCMS_LIBS="$LCMS_LIBS"
10731  elif test -n "$PKG_CONFIG"; then
10732     if test -n "$PKG_CONFIG" && \
10733     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
10734   ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
10735   ac_status=$?
10736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10737   test $ac_status = 0; }; then
10738   pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms >= 1.14" 2>/dev/null`
10739                       test "x$?" != "x0" && pkg_failed=yes
10740 else
10741   pkg_failed=yes
10742 fi
10743  else
10744     pkg_failed=untried
10745 fi
10746
10747
10748
10749 if test $pkg_failed = yes; then
10750         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10751 $as_echo "no" >&6; }
10752
10753 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10754         _pkg_short_errors_supported=yes
10755 else
10756         _pkg_short_errors_supported=no
10757 fi
10758         if test $_pkg_short_errors_supported = yes; then
10759                 LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
10760         else
10761                 LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
10762         fi
10763         # Put the nasty error message in config.log where it belongs
10764         echo "$LCMS_PKG_ERRORS" >&5
10765
10766
10767         HAVE_LCMS=no
10768         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
10769 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
10770
10771 elif test $pkg_failed = untried; then
10772         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10773 $as_echo "no" >&6; }
10774
10775         HAVE_LCMS=no
10776         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
10777 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
10778
10779 else
10780         LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
10781         LCMS_LIBS=$pkg_cv_LCMS_LIBS
10782         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10783 $as_echo "yes" >&6; }
10784
10785         HAVE_LCMS=yes
10786
10787 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10788
10789
10790 fi
10791
10792 elif test $pkg_failed = untried; then
10793         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10794 $as_echo "no" >&6; }
10795
10796
10797 pkg_failed=no
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS" >&5
10799 $as_echo_n "checking for LCMS... " >&6; }
10800
10801 if test -n "$LCMS_CFLAGS"; then
10802     pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS"
10803  elif test -n "$PKG_CONFIG"; then
10804     if test -n "$PKG_CONFIG" && \
10805     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
10806   ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
10807   ac_status=$?
10808   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10809   test $ac_status = 0; }; then
10810   pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms >= 1.14" 2>/dev/null`
10811                       test "x$?" != "x0" && pkg_failed=yes
10812 else
10813   pkg_failed=yes
10814 fi
10815  else
10816     pkg_failed=untried
10817 fi
10818 if test -n "$LCMS_LIBS"; then
10819     pkg_cv_LCMS_LIBS="$LCMS_LIBS"
10820  elif test -n "$PKG_CONFIG"; then
10821     if test -n "$PKG_CONFIG" && \
10822     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms >= 1.14\""; } >&5
10823   ($PKG_CONFIG --exists --print-errors "lcms >= 1.14") 2>&5
10824   ac_status=$?
10825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10826   test $ac_status = 0; }; then
10827   pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms >= 1.14" 2>/dev/null`
10828                       test "x$?" != "x0" && pkg_failed=yes
10829 else
10830   pkg_failed=yes
10831 fi
10832  else
10833     pkg_failed=untried
10834 fi
10835
10836
10837
10838 if test $pkg_failed = yes; then
10839         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10840 $as_echo "no" >&6; }
10841
10842 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
10843         _pkg_short_errors_supported=yes
10844 else
10845         _pkg_short_errors_supported=no
10846 fi
10847         if test $_pkg_short_errors_supported = yes; then
10848                 LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
10849         else
10850                 LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms >= 1.14" 2>&1`
10851         fi
10852         # Put the nasty error message in config.log where it belongs
10853         echo "$LCMS_PKG_ERRORS" >&5
10854
10855
10856         HAVE_LCMS=no
10857         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
10858 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
10859
10860 elif test $pkg_failed = untried; then
10861         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10862 $as_echo "no" >&6; }
10863
10864         HAVE_LCMS=no
10865         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LCMS_PKG_ERRORS" >&5
10866 $as_echo "$as_me: WARNING: $LCMS_PKG_ERRORS" >&2;}
10867
10868 else
10869         LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
10870         LCMS_LIBS=$pkg_cv_LCMS_LIBS
10871         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10872 $as_echo "yes" >&6; }
10873
10874         HAVE_LCMS=yes
10875
10876 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10877
10878
10879 fi
10880
10881 else
10882         LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS
10883         LCMS_LIBS=$pkg_cv_LCMS_LIBS
10884         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10885 $as_echo "yes" >&6; }
10886
10887       HAVE_LCMS=yes
10888
10889 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10890
10891
10892 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
10893
10894
10895 fi
10896 else
10897   HAVE_LCMS=disabled
10898 fi
10899
10900  if test "x$HAVE_LCMS" = xyes; then
10901   HAVE_LCMS_TRUE=
10902   HAVE_LCMS_FALSE='#'
10903 else
10904   HAVE_LCMS_TRUE='#'
10905   HAVE_LCMS_FALSE=
10906 fi
10907
10908
10909
10910
10911 #  libjpeg support
10912 # ----------------------------------------------------------------------
10913
10914 # Check whether --enable-jpeg was given.
10915 if test "${enable_jpeg+set}" = set; then :
10916   enableval=$enable_jpeg; libjpeg=$enableval
10917 else
10918   libjpeg=auto
10919 fi
10920
10921
10922 if test "x${libjpeg}" != "xno"; then
10923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5
10924 $as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; }
10925 if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then :
10926   $as_echo_n "(cached) " >&6
10927 else
10928   ac_check_lib_save_LIBS=$LIBS
10929 LIBS="-ljpeg  $LIBS"
10930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10931 /* end confdefs.h.  */
10932
10933 /* Override any GCC internal prototype to avoid an error.
10934    Use char because int might match the return type of a GCC
10935    builtin and then its argument prototype would still apply.  */
10936 #ifdef __cplusplus
10937 extern "C"
10938 #endif
10939 char jpeg_destroy_decompress ();
10940 int
10941 main ()
10942 {
10943 return jpeg_destroy_decompress ();
10944   ;
10945   return 0;
10946 }
10947 _ACEOF
10948 if ac_fn_c_try_link "$LINENO"; then :
10949   ac_cv_lib_jpeg_jpeg_destroy_decompress=yes
10950 else
10951   ac_cv_lib_jpeg_jpeg_destroy_decompress=no
10952 fi
10953 rm -f core conftest.err conftest.$ac_objext \
10954     conftest$ac_exeext conftest.$ac_ext
10955 LIBS=$ac_check_lib_save_LIBS
10956 fi
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5
10958 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; }
10959 if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then :
10960   HAVE_JPEG=yes
10961       JPEG_LIBS=-ljpeg
10962
10963 $as_echo "#define HAVE_JPEG 1" >>confdefs.h
10964
10965 else
10966   HAVE_JPEG=no
10967 fi
10968
10969 else
10970   HAVE_JPEG=disabled
10971 fi
10972
10973  if test "x$HAVE_JPEG" = xyes; then
10974   HAVE_JPEG_TRUE=
10975   HAVE_JPEG_FALSE='#'
10976 else
10977   HAVE_JPEG_TRUE='#'
10978   HAVE_JPEG_FALSE=
10979 fi
10980
10981
10982
10983
10984
10985 #  libtiff support
10986 # ----------------------------------------------------------------------
10987
10988 # Check whether --enable-tiff was given.
10989 if test "${enable_tiff+set}" = set; then :
10990   enableval=$enable_tiff; libtiff=$enableval
10991 else
10992   libtiff=auto
10993 fi
10994
10995
10996 if test "x${libtiff}" != "xno"; then
10997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in -ltiff" >&5
10998 $as_echo_n "checking for TIFFClientOpen in -ltiff... " >&6; }
10999 if ${ac_cv_lib_tiff_TIFFClientOpen+:} false; then :
11000   $as_echo_n "(cached) " >&6
11001 else
11002   ac_check_lib_save_LIBS=$LIBS
11003 LIBS="-ltiff  $LIBS"
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h.  */
11006
11007 /* Override any GCC internal prototype to avoid an error.
11008    Use char because int might match the return type of a GCC
11009    builtin and then its argument prototype would still apply.  */
11010 #ifdef __cplusplus
11011 extern "C"
11012 #endif
11013 char TIFFClientOpen ();
11014 int
11015 main ()
11016 {
11017 return TIFFClientOpen ();
11018   ;
11019   return 0;
11020 }
11021 _ACEOF
11022 if ac_fn_c_try_link "$LINENO"; then :
11023   ac_cv_lib_tiff_TIFFClientOpen=yes
11024 else
11025   ac_cv_lib_tiff_TIFFClientOpen=no
11026 fi
11027 rm -f core conftest.err conftest.$ac_objext \
11028     conftest$ac_exeext conftest.$ac_ext
11029 LIBS=$ac_check_lib_save_LIBS
11030 fi
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFClientOpen" >&5
11032 $as_echo "$ac_cv_lib_tiff_TIFFClientOpen" >&6; }
11033 if test "x$ac_cv_lib_tiff_TIFFClientOpen" = xyes; then :
11034   HAVE_TIFF=yes
11035       TIFF_LIBS=-ltiff
11036
11037 $as_echo "#define HAVE_TIFF 1" >>confdefs.h
11038
11039 else
11040   HAVE_TIFF=no
11041 fi
11042
11043 else
11044   HAVE_TIFF=disabled
11045 fi
11046
11047  if test "x$HAVE_TIFF" = xyes; then
11048   HAVE_TIFF_TRUE=
11049   HAVE_TIFF_FALSE='#'
11050 else
11051   HAVE_TIFF_TRUE='#'
11052   HAVE_TIFF_FALSE=
11053 fi
11054
11055
11056
11057
11058 #  libffmpegthumbnailer support
11059 # ----------------------------------------------------------------------
11060
11061 # Check whether --enable-ffmpegthumbnailer was given.
11062 if test "${enable_ffmpegthumbnailer+set}" = set; then :
11063   enableval=$enable_ffmpegthumbnailer; ffmpegthumbnailer=$enableval
11064 else
11065   ffmpegthumbnailer=auto
11066 fi
11067
11068
11069 if test "x${ffmpegthumbnailer}" != "xno"; then
11070
11071 pkg_failed=no
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFMPEGTHUMBNAILER" >&5
11073 $as_echo_n "checking for FFMPEGTHUMBNAILER... " >&6; }
11074
11075 if test -n "$FFMPEGTHUMBNAILER_CFLAGS"; then
11076     pkg_cv_FFMPEGTHUMBNAILER_CFLAGS="$FFMPEGTHUMBNAILER_CFLAGS"
11077  elif test -n "$PKG_CONFIG"; then
11078     if test -n "$PKG_CONFIG" && \
11079     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffmpegthumbnailer >= 2.1.0\""; } >&5
11080   ($PKG_CONFIG --exists --print-errors "libffmpegthumbnailer >= 2.1.0") 2>&5
11081   ac_status=$?
11082   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11083   test $ac_status = 0; }; then
11084   pkg_cv_FFMPEGTHUMBNAILER_CFLAGS=`$PKG_CONFIG --cflags "libffmpegthumbnailer >= 2.1.0" 2>/dev/null`
11085                       test "x$?" != "x0" && pkg_failed=yes
11086 else
11087   pkg_failed=yes
11088 fi
11089  else
11090     pkg_failed=untried
11091 fi
11092 if test -n "$FFMPEGTHUMBNAILER_LIBS"; then
11093     pkg_cv_FFMPEGTHUMBNAILER_LIBS="$FFMPEGTHUMBNAILER_LIBS"
11094  elif test -n "$PKG_CONFIG"; then
11095     if test -n "$PKG_CONFIG" && \
11096     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffmpegthumbnailer >= 2.1.0\""; } >&5
11097   ($PKG_CONFIG --exists --print-errors "libffmpegthumbnailer >= 2.1.0") 2>&5
11098   ac_status=$?
11099   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11100   test $ac_status = 0; }; then
11101   pkg_cv_FFMPEGTHUMBNAILER_LIBS=`$PKG_CONFIG --libs "libffmpegthumbnailer >= 2.1.0" 2>/dev/null`
11102                       test "x$?" != "x0" && pkg_failed=yes
11103 else
11104   pkg_failed=yes
11105 fi
11106  else
11107     pkg_failed=untried
11108 fi
11109
11110
11111
11112 if test $pkg_failed = yes; then
11113         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11114 $as_echo "no" >&6; }
11115
11116 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11117         _pkg_short_errors_supported=yes
11118 else
11119         _pkg_short_errors_supported=no
11120 fi
11121         if test $_pkg_short_errors_supported = yes; then
11122                 FFMPEGTHUMBNAILER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libffmpegthumbnailer >= 2.1.0" 2>&1`
11123         else
11124                 FFMPEGTHUMBNAILER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libffmpegthumbnailer >= 2.1.0" 2>&1`
11125         fi
11126         # Put the nasty error message in config.log where it belongs
11127         echo "$FFMPEGTHUMBNAILER_PKG_ERRORS" >&5
11128
11129
11130       HAVE_FFMPEGTHUMBNAILER=no
11131
11132 elif test $pkg_failed = untried; then
11133         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11134 $as_echo "no" >&6; }
11135
11136       HAVE_FFMPEGTHUMBNAILER=no
11137
11138 else
11139         FFMPEGTHUMBNAILER_CFLAGS=$pkg_cv_FFMPEGTHUMBNAILER_CFLAGS
11140         FFMPEGTHUMBNAILER_LIBS=$pkg_cv_FFMPEGTHUMBNAILER_LIBS
11141         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11142 $as_echo "yes" >&6; }
11143
11144       HAVE_FFMPEGTHUMBNAILER=yes
11145
11146 $as_echo "#define HAVE_FFMPEGTHUMBNAILER 1" >>confdefs.h
11147
11148       ac_fn_c_check_member "$LINENO" "video_thumbnailer" "prefer_embedded_metadata" "ac_cv_member_video_thumbnailer_prefer_embedded_metadata" "#include <libffmpegthumbnailer/videothumbnailerc.h>
11149 "
11150 if test "x$ac_cv_member_video_thumbnailer_prefer_embedded_metadata" = xyes; then :
11151
11152 $as_echo "#define HAVE_FFMPEGTHUMBNAILER_METADATA 1" >>confdefs.h
11153
11154 fi
11155
11156       ac_fn_c_check_member "$LINENO" "image_data" "image_data_width" "ac_cv_member_image_data_image_data_width" "#include <libffmpegthumbnailer/videothumbnailerc.h>
11157 "
11158 if test "x$ac_cv_member_image_data_image_data_width" = xyes; then :
11159
11160 $as_echo "#define HAVE_FFMPEGTHUMBNAILER_RGB 1" >>confdefs.h
11161
11162 fi
11163
11164       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for video_thumbnailer_set_size in -lffmpegthumbnailer" >&5
11165 $as_echo_n "checking for video_thumbnailer_set_size in -lffmpegthumbnailer... " >&6; }
11166 if ${ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size+:} false; then :
11167   $as_echo_n "(cached) " >&6
11168 else
11169   ac_check_lib_save_LIBS=$LIBS
11170 LIBS="-lffmpegthumbnailer  $LIBS"
11171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11172 /* end confdefs.h.  */
11173
11174 /* Override any GCC internal prototype to avoid an error.
11175    Use char because int might match the return type of a GCC
11176    builtin and then its argument prototype would still apply.  */
11177 #ifdef __cplusplus
11178 extern "C"
11179 #endif
11180 char video_thumbnailer_set_size ();
11181 int
11182 main ()
11183 {
11184 return video_thumbnailer_set_size ();
11185   ;
11186   return 0;
11187 }
11188 _ACEOF
11189 if ac_fn_c_try_link "$LINENO"; then :
11190   ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size=yes
11191 else
11192   ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size=no
11193 fi
11194 rm -f core conftest.err conftest.$ac_objext \
11195     conftest$ac_exeext conftest.$ac_ext
11196 LIBS=$ac_check_lib_save_LIBS
11197 fi
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size" >&5
11199 $as_echo "$ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size" >&6; }
11200 if test "x$ac_cv_lib_ffmpegthumbnailer_video_thumbnailer_set_size" = xyes; then :
11201
11202 $as_echo "#define HAVE_FFMPEGTHUMBNAILER_WH 1" >>confdefs.h
11203
11204 fi
11205
11206
11207 fi
11208 else
11209   HAVE_FFMPEGTHUMBNAILER=disabled
11210 fi
11211
11212  if test "x$HAVE_FFMPEGTHUMBNAILER" = xyes; then
11213   HAVE_FFMPEGTHUMBNAILER_TRUE=
11214   HAVE_FFMPEGTHUMBNAILER_FALSE='#'
11215 else
11216   HAVE_FFMPEGTHUMBNAILER_TRUE='#'
11217   HAVE_FFMPEGTHUMBNAILER_FALSE=
11218 fi
11219
11220
11221
11222
11223 #  Exiv2 support
11224 # ----------------------------------------------------------------------
11225
11226 # Check whether --enable-exiv2 was given.
11227 if test "${enable_exiv2+set}" = set; then :
11228   enableval=$enable_exiv2; libexiv2=$enableval
11229 else
11230   libexiv2=auto
11231 fi
11232
11233
11234 if test "x${libexiv2}" != "xno"; then
11235
11236 pkg_failed=no
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXIV2" >&5
11238 $as_echo_n "checking for EXIV2... " >&6; }
11239
11240 if test -n "$EXIV2_CFLAGS"; then
11241     pkg_cv_EXIV2_CFLAGS="$EXIV2_CFLAGS"
11242  elif test -n "$PKG_CONFIG"; then
11243     if test -n "$PKG_CONFIG" && \
11244     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exiv2 >= 0.11\""; } >&5
11245   ($PKG_CONFIG --exists --print-errors "exiv2 >= 0.11") 2>&5
11246   ac_status=$?
11247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11248   test $ac_status = 0; }; then
11249   pkg_cv_EXIV2_CFLAGS=`$PKG_CONFIG --cflags "exiv2 >= 0.11" 2>/dev/null`
11250                       test "x$?" != "x0" && pkg_failed=yes
11251 else
11252   pkg_failed=yes
11253 fi
11254  else
11255     pkg_failed=untried
11256 fi
11257 if test -n "$EXIV2_LIBS"; then
11258     pkg_cv_EXIV2_LIBS="$EXIV2_LIBS"
11259  elif test -n "$PKG_CONFIG"; then
11260     if test -n "$PKG_CONFIG" && \
11261     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exiv2 >= 0.11\""; } >&5
11262   ($PKG_CONFIG --exists --print-errors "exiv2 >= 0.11") 2>&5
11263   ac_status=$?
11264   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11265   test $ac_status = 0; }; then
11266   pkg_cv_EXIV2_LIBS=`$PKG_CONFIG --libs "exiv2 >= 0.11" 2>/dev/null`
11267                       test "x$?" != "x0" && pkg_failed=yes
11268 else
11269   pkg_failed=yes
11270 fi
11271  else
11272     pkg_failed=untried
11273 fi
11274
11275
11276
11277 if test $pkg_failed = yes; then
11278         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11279 $as_echo "no" >&6; }
11280
11281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11282         _pkg_short_errors_supported=yes
11283 else
11284         _pkg_short_errors_supported=no
11285 fi
11286         if test $_pkg_short_errors_supported = yes; then
11287                 EXIV2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "exiv2 >= 0.11" 2>&1`
11288         else
11289                 EXIV2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "exiv2 >= 0.11" 2>&1`
11290         fi
11291         # Put the nasty error message in config.log where it belongs
11292         echo "$EXIV2_PKG_ERRORS" >&5
11293
11294
11295       HAVE_EXIV2=no
11296       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $EXIV2_PKG_ERRORS" >&5
11297 $as_echo "$as_me: WARNING: $EXIV2_PKG_ERRORS" >&2;}
11298
11299 elif test $pkg_failed = untried; then
11300         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11301 $as_echo "no" >&6; }
11302
11303       HAVE_EXIV2=no
11304       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $EXIV2_PKG_ERRORS" >&5
11305 $as_echo "$as_me: WARNING: $EXIV2_PKG_ERRORS" >&2;}
11306
11307 else
11308         EXIV2_CFLAGS=$pkg_cv_EXIV2_CFLAGS
11309         EXIV2_LIBS=$pkg_cv_EXIV2_LIBS
11310         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11311 $as_echo "yes" >&6; }
11312
11313       HAVE_EXIV2=yes
11314
11315 $as_echo "#define HAVE_EXIV2 1" >>confdefs.h
11316
11317
11318 fi
11319 else
11320   HAVE_EXIV2=disabled
11321 fi
11322
11323  if test "x$HAVE_EXIV2" = xyes; then
11324   HAVE_EXIV2_TRUE=
11325   HAVE_EXIV2_FALSE='#'
11326 else
11327   HAVE_EXIV2_TRUE='#'
11328   HAVE_EXIV2_FALSE=
11329 fi
11330
11331
11332
11333
11334
11335 #  Gettext support
11336 # ----------------------------------------------------------------------
11337
11338 ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
11339 CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/po/LINGUAS'
11340
11341
11342 GETTEXT_PACKAGE=$PACKAGE
11343
11344
11345 cat >>confdefs.h <<_ACEOF
11346 #define GETTEXT_PACKAGE "${GETTEXT_PACKAGE}"
11347 _ACEOF
11348
11349
11350    for ac_header in locale.h
11351 do :
11352   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
11353 if test "x$ac_cv_header_locale_h" = xyes; then :
11354   cat >>confdefs.h <<_ACEOF
11355 #define HAVE_LOCALE_H 1
11356 _ACEOF
11357
11358 fi
11359
11360 done
11361
11362     if test $ac_cv_header_locale_h = yes; then
11363     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
11364 $as_echo_n "checking for LC_MESSAGES... " >&6; }
11365 if ${am_cv_val_LC_MESSAGES+:} false; then :
11366   $as_echo_n "(cached) " >&6
11367 else
11368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11369 /* end confdefs.h.  */
11370 #include <locale.h>
11371 int
11372 main ()
11373 {
11374 return LC_MESSAGES
11375   ;
11376   return 0;
11377 }
11378 _ACEOF
11379 if ac_fn_c_try_link "$LINENO"; then :
11380   am_cv_val_LC_MESSAGES=yes
11381 else
11382   am_cv_val_LC_MESSAGES=no
11383 fi
11384 rm -f core conftest.err conftest.$ac_objext \
11385     conftest$ac_exeext conftest.$ac_ext
11386 fi
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
11388 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
11389     if test $am_cv_val_LC_MESSAGES = yes; then
11390
11391 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
11392
11393     fi
11394   fi
11395      USE_NLS=yes
11396
11397
11398     gt_cv_have_gettext=no
11399
11400     CATOBJEXT=NONE
11401     XGETTEXT=:
11402     INTLLIBS=
11403
11404
11405     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
11406 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
11407 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
11408   $as_echo_n "(cached) " >&6
11409 else
11410   gt_save_LIBS="$LIBS"
11411      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
11412      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h.  */
11414 #include <CoreFoundation/CFPreferences.h>
11415 int
11416 main ()
11417 {
11418 CFPreferencesCopyAppValue(NULL, NULL)
11419   ;
11420   return 0;
11421 }
11422 _ACEOF
11423 if ac_fn_c_try_link "$LINENO"; then :
11424   gt_cv_func_CFPreferencesCopyAppValue=yes
11425 else
11426   gt_cv_func_CFPreferencesCopyAppValue=no
11427 fi
11428 rm -f core conftest.err conftest.$ac_objext \
11429     conftest$ac_exeext conftest.$ac_ext
11430      LIBS="$gt_save_LIBS"
11431 fi
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
11433 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
11434   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
11435
11436 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
11437
11438   fi
11439     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
11440 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
11441 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
11442   $as_echo_n "(cached) " >&6
11443 else
11444   gt_save_LIBS="$LIBS"
11445      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
11446      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11447 /* end confdefs.h.  */
11448 #include <CoreFoundation/CFLocale.h>
11449 int
11450 main ()
11451 {
11452 CFLocaleCopyCurrent();
11453   ;
11454   return 0;
11455 }
11456 _ACEOF
11457 if ac_fn_c_try_link "$LINENO"; then :
11458   gt_cv_func_CFLocaleCopyCurrent=yes
11459 else
11460   gt_cv_func_CFLocaleCopyCurrent=no
11461 fi
11462 rm -f core conftest.err conftest.$ac_objext \
11463     conftest$ac_exeext conftest.$ac_ext
11464      LIBS="$gt_save_LIBS"
11465 fi
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
11467 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
11468   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
11469
11470 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
11471
11472   fi
11473   INTL_MACOSX_LIBS=
11474   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
11475     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
11476   fi
11477
11478
11479
11480     ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
11481 if test "x$ac_cv_header_libintl_h" = xyes; then :
11482   gt_cv_func_dgettext_libintl="no"
11483       libintl_extra_libs=""
11484
11485       #
11486       # First check in libc
11487       #
11488       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
11489 $as_echo_n "checking for ngettext in libc... " >&6; }
11490 if ${gt_cv_func_ngettext_libc+:} false; then :
11491   $as_echo_n "(cached) " >&6
11492 else
11493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11494 /* end confdefs.h.  */
11495
11496 #include <libintl.h>
11497
11498 int
11499 main ()
11500 {
11501 return !ngettext ("","", 1)
11502   ;
11503   return 0;
11504 }
11505 _ACEOF
11506 if ac_fn_c_try_link "$LINENO"; then :
11507   gt_cv_func_ngettext_libc=yes
11508 else
11509   gt_cv_func_ngettext_libc=no
11510 fi
11511 rm -f core conftest.err conftest.$ac_objext \
11512     conftest$ac_exeext conftest.$ac_ext
11513
11514 fi
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
11516 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
11517
11518       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11519               { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
11520 $as_echo_n "checking for dgettext in libc... " >&6; }
11521 if ${gt_cv_func_dgettext_libc+:} false; then :
11522   $as_echo_n "(cached) " >&6
11523 else
11524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11525 /* end confdefs.h.  */
11526
11527 #include <libintl.h>
11528
11529 int
11530 main ()
11531 {
11532 return !dgettext ("","")
11533   ;
11534   return 0;
11535 }
11536 _ACEOF
11537 if ac_fn_c_try_link "$LINENO"; then :
11538   gt_cv_func_dgettext_libc=yes
11539 else
11540   gt_cv_func_dgettext_libc=no
11541 fi
11542 rm -f core conftest.err conftest.$ac_objext \
11543     conftest$ac_exeext conftest.$ac_ext
11544
11545 fi
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
11547 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
11548       fi
11549
11550       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11551         for ac_func in bind_textdomain_codeset
11552 do :
11553   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11554 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
11555   cat >>confdefs.h <<_ACEOF
11556 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
11557 _ACEOF
11558
11559 fi
11560 done
11561
11562       fi
11563
11564       #
11565       # If we don't have everything we want, check in libintl
11566       #
11567       if test "$gt_cv_func_dgettext_libc" != "yes" \
11568          || test "$gt_cv_func_ngettext_libc" != "yes" \
11569          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
11570
11571         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
11572 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
11573 if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
11574   $as_echo_n "(cached) " >&6
11575 else
11576   ac_check_lib_save_LIBS=$LIBS
11577 LIBS="-lintl  $LIBS"
11578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11579 /* end confdefs.h.  */
11580
11581 /* Override any GCC internal prototype to avoid an error.
11582    Use char because int might match the return type of a GCC
11583    builtin and then its argument prototype would still apply.  */
11584 #ifdef __cplusplus
11585 extern "C"
11586 #endif
11587 char bindtextdomain ();
11588 int
11589 main ()
11590 {
11591 return bindtextdomain ();
11592   ;
11593   return 0;
11594 }
11595 _ACEOF
11596 if ac_fn_c_try_link "$LINENO"; then :
11597   ac_cv_lib_intl_bindtextdomain=yes
11598 else
11599   ac_cv_lib_intl_bindtextdomain=no
11600 fi
11601 rm -f core conftest.err conftest.$ac_objext \
11602     conftest$ac_exeext conftest.$ac_ext
11603 LIBS=$ac_check_lib_save_LIBS
11604 fi
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
11606 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
11607 if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
11608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11609 $as_echo_n "checking for ngettext in -lintl... " >&6; }
11610 if ${ac_cv_lib_intl_ngettext+:} false; then :
11611   $as_echo_n "(cached) " >&6
11612 else
11613   ac_check_lib_save_LIBS=$LIBS
11614 LIBS="-lintl  $LIBS"
11615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11616 /* end confdefs.h.  */
11617
11618 /* Override any GCC internal prototype to avoid an error.
11619    Use char because int might match the return type of a GCC
11620    builtin and then its argument prototype would still apply.  */
11621 #ifdef __cplusplus
11622 extern "C"
11623 #endif
11624 char ngettext ();
11625 int
11626 main ()
11627 {
11628 return ngettext ();
11629   ;
11630   return 0;
11631 }
11632 _ACEOF
11633 if ac_fn_c_try_link "$LINENO"; then :
11634   ac_cv_lib_intl_ngettext=yes
11635 else
11636   ac_cv_lib_intl_ngettext=no
11637 fi
11638 rm -f core conftest.err conftest.$ac_objext \
11639     conftest$ac_exeext conftest.$ac_ext
11640 LIBS=$ac_check_lib_save_LIBS
11641 fi
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11643 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11644 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
11645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
11646 $as_echo_n "checking for dgettext in -lintl... " >&6; }
11647 if ${ac_cv_lib_intl_dgettext+:} false; then :
11648   $as_echo_n "(cached) " >&6
11649 else
11650   ac_check_lib_save_LIBS=$LIBS
11651 LIBS="-lintl  $LIBS"
11652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h.  */
11654
11655 /* Override any GCC internal prototype to avoid an error.
11656    Use char because int might match the return type of a GCC
11657    builtin and then its argument prototype would still apply.  */
11658 #ifdef __cplusplus
11659 extern "C"
11660 #endif
11661 char dgettext ();
11662 int
11663 main ()
11664 {
11665 return dgettext ();
11666   ;
11667   return 0;
11668 }
11669 _ACEOF
11670 if ac_fn_c_try_link "$LINENO"; then :
11671   ac_cv_lib_intl_dgettext=yes
11672 else
11673   ac_cv_lib_intl_dgettext=no
11674 fi
11675 rm -f core conftest.err conftest.$ac_objext \
11676     conftest$ac_exeext conftest.$ac_ext
11677 LIBS=$ac_check_lib_save_LIBS
11678 fi
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
11680 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
11681 if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
11682   gt_cv_func_dgettext_libintl=yes
11683 fi
11684
11685 fi
11686
11687 fi
11688
11689
11690         if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
11691           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
11692 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
11693           { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
11694 $as_echo "" >&6; }
11695           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11696 $as_echo_n "checking for ngettext in -lintl... " >&6; }
11697 if ${ac_cv_lib_intl_ngettext+:} false; then :
11698   $as_echo_n "(cached) " >&6
11699 else
11700   ac_check_lib_save_LIBS=$LIBS
11701 LIBS="-lintl -liconv $LIBS"
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h.  */
11704
11705 /* Override any GCC internal prototype to avoid an error.
11706    Use char because int might match the return type of a GCC
11707    builtin and then its argument prototype would still apply.  */
11708 #ifdef __cplusplus
11709 extern "C"
11710 #endif
11711 char ngettext ();
11712 int
11713 main ()
11714 {
11715 return ngettext ();
11716   ;
11717   return 0;
11718 }
11719 _ACEOF
11720 if ac_fn_c_try_link "$LINENO"; then :
11721   ac_cv_lib_intl_ngettext=yes
11722 else
11723   ac_cv_lib_intl_ngettext=no
11724 fi
11725 rm -f core conftest.err conftest.$ac_objext \
11726     conftest$ac_exeext conftest.$ac_ext
11727 LIBS=$ac_check_lib_save_LIBS
11728 fi
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11730 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11731 if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
11732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
11733 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
11734 if ${ac_cv_lib_intl_dcgettext+:} false; then :
11735   $as_echo_n "(cached) " >&6
11736 else
11737   ac_check_lib_save_LIBS=$LIBS
11738 LIBS="-lintl -liconv $LIBS"
11739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11740 /* end confdefs.h.  */
11741
11742 /* Override any GCC internal prototype to avoid an error.
11743    Use char because int might match the return type of a GCC
11744    builtin and then its argument prototype would still apply.  */
11745 #ifdef __cplusplus
11746 extern "C"
11747 #endif
11748 char dcgettext ();
11749 int
11750 main ()
11751 {
11752 return dcgettext ();
11753   ;
11754   return 0;
11755 }
11756 _ACEOF
11757 if ac_fn_c_try_link "$LINENO"; then :
11758   ac_cv_lib_intl_dcgettext=yes
11759 else
11760   ac_cv_lib_intl_dcgettext=no
11761 fi
11762 rm -f core conftest.err conftest.$ac_objext \
11763     conftest$ac_exeext conftest.$ac_ext
11764 LIBS=$ac_check_lib_save_LIBS
11765 fi
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
11767 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
11768 if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
11769   gt_cv_func_dgettext_libintl=yes
11770                         libintl_extra_libs=-liconv
11771 else
11772   :
11773 fi
11774
11775 else
11776   :
11777 fi
11778
11779         fi
11780
11781         #
11782         # If we found libintl, then check in it for bind_textdomain_codeset();
11783         # we'll prefer libc if neither have bind_textdomain_codeset(),
11784         # and both have dgettext and ngettext
11785         #
11786         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
11787           glib_save_LIBS="$LIBS"
11788           LIBS="$LIBS -lintl $libintl_extra_libs"
11789           unset ac_cv_func_bind_textdomain_codeset
11790           for ac_func in bind_textdomain_codeset
11791 do :
11792   ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11793 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
11794   cat >>confdefs.h <<_ACEOF
11795 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
11796 _ACEOF
11797
11798 fi
11799 done
11800
11801           LIBS="$glib_save_LIBS"
11802
11803           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
11804             gt_cv_func_dgettext_libc=no
11805           else
11806             if test "$gt_cv_func_dgettext_libc" = "yes" \
11807                 && test "$gt_cv_func_ngettext_libc" = "yes"; then
11808               gt_cv_func_dgettext_libintl=no
11809             fi
11810           fi
11811         fi
11812       fi
11813
11814       if test "$gt_cv_func_dgettext_libc" = "yes" \
11815         || test "$gt_cv_func_dgettext_libintl" = "yes"; then
11816         gt_cv_have_gettext=yes
11817       fi
11818
11819       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
11820         INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS"
11821       fi
11822
11823       if test "$gt_cv_have_gettext" = "yes"; then
11824
11825 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
11826
11827         # Extract the first word of "msgfmt", so it can be a program name with args.
11828 set dummy msgfmt; ac_word=$2
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11830 $as_echo_n "checking for $ac_word... " >&6; }
11831 if ${ac_cv_path_MSGFMT+:} false; then :
11832   $as_echo_n "(cached) " >&6
11833 else
11834   case "$MSGFMT" in
11835   /*)
11836   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11837   ;;
11838   *)
11839   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
11840   for ac_dir in $PATH; do
11841     test -z "$ac_dir" && ac_dir=.
11842     if test -f $ac_dir/$ac_word; then
11843       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
11844         ac_cv_path_MSGFMT="$ac_dir/$ac_word"
11845         break
11846       fi
11847     fi
11848   done
11849   IFS="$ac_save_ifs"
11850   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
11851   ;;
11852 esac
11853 fi
11854 MSGFMT="$ac_cv_path_MSGFMT"
11855 if test "$MSGFMT" != "no"; then
11856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11857 $as_echo "$MSGFMT" >&6; }
11858 else
11859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11860 $as_echo "no" >&6; }
11861 fi
11862         if test "$MSGFMT" != "no"; then
11863           glib_save_LIBS="$LIBS"
11864           LIBS="$LIBS $INTLLIBS"
11865           for ac_func in dcgettext
11866 do :
11867   ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
11868 if test "x$ac_cv_func_dcgettext" = xyes; then :
11869   cat >>confdefs.h <<_ACEOF
11870 #define HAVE_DCGETTEXT 1
11871 _ACEOF
11872
11873 fi
11874 done
11875
11876           MSGFMT_OPTS=
11877           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
11878 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
11879           cat >conftest.foo <<_ACEOF
11880
11881 msgid ""
11882 msgstr ""
11883 "Content-Type: text/plain; charset=UTF-8\n"
11884 "Project-Id-Version: test 1.0\n"
11885 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
11886 "Last-Translator: test <foo@bar.xx>\n"
11887 "Language-Team: C <LL@li.org>\n"
11888 "MIME-Version: 1.0\n"
11889 "Content-Transfer-Encoding: 8bit\n"
11890
11891 _ACEOF
11892 if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
11893   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
11894   ac_status=$?
11895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11896   test $ac_status = 0; }; then
11897   MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11898 $as_echo "yes" >&6; }
11899 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11900 $as_echo "no" >&6; }
11901 echo "$as_me: failed input was:" >&5
11902 sed 's/^/| /' conftest.foo >&5
11903 fi
11904
11905           # Extract the first word of "gmsgfmt", so it can be a program name with args.
11906 set dummy gmsgfmt; ac_word=$2
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11908 $as_echo_n "checking for $ac_word... " >&6; }
11909 if ${ac_cv_path_GMSGFMT+:} false; then :
11910   $as_echo_n "(cached) " >&6
11911 else
11912   case $GMSGFMT in
11913   [\\/]* | ?:[\\/]*)
11914   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11915   ;;
11916   *)
11917   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11918 for as_dir in $PATH
11919 do
11920   IFS=$as_save_IFS
11921   test -z "$as_dir" && as_dir=.
11922     for ac_exec_ext in '' $ac_executable_extensions; do
11923   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11924     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11925     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11926     break 2
11927   fi
11928 done
11929   done
11930 IFS=$as_save_IFS
11931
11932   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11933   ;;
11934 esac
11935 fi
11936 GMSGFMT=$ac_cv_path_GMSGFMT
11937 if test -n "$GMSGFMT"; then
11938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11939 $as_echo "$GMSGFMT" >&6; }
11940 else
11941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11942 $as_echo "no" >&6; }
11943 fi
11944
11945
11946           # Extract the first word of "xgettext", so it can be a program name with args.
11947 set dummy xgettext; ac_word=$2
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11949 $as_echo_n "checking for $ac_word... " >&6; }
11950 if ${ac_cv_path_XGETTEXT+:} false; then :
11951   $as_echo_n "(cached) " >&6
11952 else
11953   case "$XGETTEXT" in
11954   /*)
11955   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11956   ;;
11957   *)
11958   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
11959   for ac_dir in $PATH; do
11960     test -z "$ac_dir" && ac_dir=.
11961     if test -f $ac_dir/$ac_word; then
11962       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
11963         ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
11964         break
11965       fi
11966     fi
11967   done
11968   IFS="$ac_save_ifs"
11969   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11970   ;;
11971 esac
11972 fi
11973 XGETTEXT="$ac_cv_path_XGETTEXT"
11974 if test "$XGETTEXT" != ":"; then
11975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11976 $as_echo "$XGETTEXT" >&6; }
11977 else
11978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11979 $as_echo "no" >&6; }
11980 fi
11981
11982           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h.  */
11984
11985 int
11986 main ()
11987 {
11988 extern int _nl_msg_cat_cntr;
11989                          return _nl_msg_cat_cntr
11990   ;
11991   return 0;
11992 }
11993 _ACEOF
11994 if ac_fn_c_try_link "$LINENO"; then :
11995   CATOBJEXT=.gmo
11996              DATADIRNAME=share
11997 else
11998   case $host in
11999             *-*-solaris*)
12000                                                                 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12001 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12002   CATOBJEXT=.gmo
12003                DATADIRNAME=share
12004 else
12005   CATOBJEXT=.mo
12006                DATADIRNAME=lib
12007 fi
12008
12009             ;;
12010             *-*-openbsd*)
12011             CATOBJEXT=.mo
12012             DATADIRNAME=share
12013             ;;
12014             *)
12015             CATOBJEXT=.mo
12016             DATADIRNAME=lib
12017             ;;
12018             esac
12019 fi
12020 rm -f core conftest.err conftest.$ac_objext \
12021     conftest$ac_exeext conftest.$ac_ext
12022           LIBS="$glib_save_LIBS"
12023           INSTOBJEXT=.mo
12024         else
12025           gt_cv_have_gettext=no
12026         fi
12027       fi
12028
12029 fi
12030
12031
12032
12033     if test "$gt_cv_have_gettext" = "yes" ; then
12034
12035 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
12036
12037     fi
12038
12039         if test "$XGETTEXT" != ":"; then
12040                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
12041         : ;
12042       else
12043         { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12044 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12045         XGETTEXT=":"
12046       fi
12047     fi
12048
12049     # We need to process the po/ directory.
12050     POSUB=po
12051
12052     ac_config_commands="$ac_config_commands default-1"
12053
12054
12055                 for lang in $ALL_LINGUAS; do
12056       GMOFILES="$GMOFILES $lang.gmo"
12057       POFILES="$POFILES $lang.po"
12058     done
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072    if test "$gt_cv_have_gettext" = "yes"; then
12073      if test "x$ALL_LINGUAS" = "x"; then
12074        LINGUAS=
12075      else
12076        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
12077 $as_echo_n "checking for catalogs to be installed... " >&6; }
12078        NEW_LINGUAS=
12079        for presentlang in $ALL_LINGUAS; do
12080          useit=no
12081          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
12082            desiredlanguages="$LINGUAS"
12083          else
12084            desiredlanguages="$ALL_LINGUAS"
12085          fi
12086          for desiredlang in $desiredlanguages; do
12087            # Use the presentlang catalog if desiredlang is
12088            #   a. equal to presentlang, or
12089            #   b. a variant of presentlang (because in this case,
12090            #      presentlang can be used as a fallback for messages
12091            #      which are not translated in the desiredlang catalog).
12092            case "$desiredlang" in
12093              "$presentlang"*) useit=yes;;
12094            esac
12095          done
12096          if test $useit = yes; then
12097            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
12098          fi
12099        done
12100        LINGUAS=$NEW_LINGUAS
12101        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
12102 $as_echo "$LINGUAS" >&6; }
12103      fi
12104
12105           if test -n "$LINGUAS"; then
12106        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
12107      fi
12108    fi
12109
12110             MKINSTALLDIRS=
12111    if test -n "$ac_aux_dir"; then
12112      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
12113    fi
12114    if test -z "$MKINSTALLDIRS"; then
12115      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12116    fi
12117
12118
12119          test -d po || mkdir po
12120    if test "x$srcdir" != "x."; then
12121      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
12122        posrcprefix="$srcdir/"
12123      else
12124        posrcprefix="../$srcdir/"
12125      fi
12126    else
12127      posrcprefix="../"
12128    fi
12129    rm -f po/POTFILES
12130    sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
12131         < $srcdir/po/POTFILES.in > po/POTFILES
12132
12133 glib_save_prefix="$prefix"
12134 glib_save_exec_prefix="$exec_prefix"
12135 glib_save_datarootdir="$datarootdir"
12136 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12137 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
12138 datarootdir=`eval echo "${datarootdir}"`
12139 if test "x$CATOBJEXT" = "x.mo" ; then
12140   localedir=`eval echo "${libdir}/locale"`
12141 else
12142   localedir=`eval echo "${datadir}/locale"`
12143 fi
12144 prefix="$glib_save_prefix"
12145 exec_prefix="$glib_save_exec_prefix"
12146 datarootdir="$glib_save_datarootdir"
12147
12148 cat >>confdefs.h <<_ACEOF
12149 #define GQ_LOCALEDIR "$localedir"
12150 _ACEOF
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160 #  clutter and champlain support
12161 # ----------------------------------------------------------------------
12162
12163 # Check whether --enable-map was given.
12164 if test "${enable_map+set}" = set; then :
12165   enableval=$enable_map; libgps=$enableval
12166 else
12167   libgps=auto
12168 fi
12169
12170
12171 # Check whether --enable-gpu-accel was given.
12172 if test "${enable_gpu_accel+set}" = set; then :
12173   enableval=$enable_gpu_accel; libclutter=$enableval
12174 else
12175   libclutter=auto
12176 fi
12177
12178
12179 if test "x${libclutter}" != "xno" -a "x${gtk3}" != "xno"; then
12180
12181 pkg_failed=no
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER" >&5
12183 $as_echo_n "checking for CLUTTER... " >&6; }
12184
12185 if test -n "$CLUTTER_CFLAGS"; then
12186     pkg_cv_CLUTTER_CFLAGS="$CLUTTER_CFLAGS"
12187  elif test -n "$PKG_CONFIG"; then
12188     if test -n "$PKG_CONFIG" && \
12189     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= 1.0\""; } >&5
12190   ($PKG_CONFIG --exists --print-errors "clutter-1.0 >= 1.0") 2>&5
12191   ac_status=$?
12192   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12193   test $ac_status = 0; }; then
12194   pkg_cv_CLUTTER_CFLAGS=`$PKG_CONFIG --cflags "clutter-1.0 >= 1.0" 2>/dev/null`
12195                       test "x$?" != "x0" && pkg_failed=yes
12196 else
12197   pkg_failed=yes
12198 fi
12199  else
12200     pkg_failed=untried
12201 fi
12202 if test -n "$CLUTTER_LIBS"; then
12203     pkg_cv_CLUTTER_LIBS="$CLUTTER_LIBS"
12204  elif test -n "$PKG_CONFIG"; then
12205     if test -n "$PKG_CONFIG" && \
12206     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= 1.0\""; } >&5
12207   ($PKG_CONFIG --exists --print-errors "clutter-1.0 >= 1.0") 2>&5
12208   ac_status=$?
12209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12210   test $ac_status = 0; }; then
12211   pkg_cv_CLUTTER_LIBS=`$PKG_CONFIG --libs "clutter-1.0 >= 1.0" 2>/dev/null`
12212                       test "x$?" != "x0" && pkg_failed=yes
12213 else
12214   pkg_failed=yes
12215 fi
12216  else
12217     pkg_failed=untried
12218 fi
12219
12220
12221
12222 if test $pkg_failed = yes; then
12223         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12224 $as_echo "no" >&6; }
12225
12226 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12227         _pkg_short_errors_supported=yes
12228 else
12229         _pkg_short_errors_supported=no
12230 fi
12231         if test $_pkg_short_errors_supported = yes; then
12232                 CLUTTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-1.0 >= 1.0" 2>&1`
12233         else
12234                 CLUTTER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-1.0 >= 1.0" 2>&1`
12235         fi
12236         # Put the nasty error message in config.log where it belongs
12237         echo "$CLUTTER_PKG_ERRORS" >&5
12238
12239
12240       HAVE_CLUTTER=no
12241       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_PKG_ERRORS" >&5
12242 $as_echo "$as_me: WARNING: $CLUTTER_PKG_ERRORS" >&2;}
12243
12244 elif test $pkg_failed = untried; then
12245         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12246 $as_echo "no" >&6; }
12247
12248       HAVE_CLUTTER=no
12249       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_PKG_ERRORS" >&5
12250 $as_echo "$as_me: WARNING: $CLUTTER_PKG_ERRORS" >&2;}
12251
12252 else
12253         CLUTTER_CFLAGS=$pkg_cv_CLUTTER_CFLAGS
12254         CLUTTER_LIBS=$pkg_cv_CLUTTER_LIBS
12255         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12256 $as_echo "yes" >&6; }
12257
12258
12259 pkg_failed=no
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER_GTK" >&5
12261 $as_echo_n "checking for CLUTTER_GTK... " >&6; }
12262
12263 if test -n "$CLUTTER_GTK_CFLAGS"; then
12264     pkg_cv_CLUTTER_GTK_CFLAGS="$CLUTTER_GTK_CFLAGS"
12265  elif test -n "$PKG_CONFIG"; then
12266     if test -n "$PKG_CONFIG" && \
12267     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-1.0 >= 1.0\""; } >&5
12268   ($PKG_CONFIG --exists --print-errors "clutter-gtk-1.0 >= 1.0") 2>&5
12269   ac_status=$?
12270   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12271   test $ac_status = 0; }; then
12272   pkg_cv_CLUTTER_GTK_CFLAGS=`$PKG_CONFIG --cflags "clutter-gtk-1.0 >= 1.0" 2>/dev/null`
12273                       test "x$?" != "x0" && pkg_failed=yes
12274 else
12275   pkg_failed=yes
12276 fi
12277  else
12278     pkg_failed=untried
12279 fi
12280 if test -n "$CLUTTER_GTK_LIBS"; then
12281     pkg_cv_CLUTTER_GTK_LIBS="$CLUTTER_GTK_LIBS"
12282  elif test -n "$PKG_CONFIG"; then
12283     if test -n "$PKG_CONFIG" && \
12284     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-1.0 >= 1.0\""; } >&5
12285   ($PKG_CONFIG --exists --print-errors "clutter-gtk-1.0 >= 1.0") 2>&5
12286   ac_status=$?
12287   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12288   test $ac_status = 0; }; then
12289   pkg_cv_CLUTTER_GTK_LIBS=`$PKG_CONFIG --libs "clutter-gtk-1.0 >= 1.0" 2>/dev/null`
12290                       test "x$?" != "x0" && pkg_failed=yes
12291 else
12292   pkg_failed=yes
12293 fi
12294  else
12295     pkg_failed=untried
12296 fi
12297
12298
12299
12300 if test $pkg_failed = yes; then
12301         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12302 $as_echo "no" >&6; }
12303
12304 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12305         _pkg_short_errors_supported=yes
12306 else
12307         _pkg_short_errors_supported=no
12308 fi
12309         if test $_pkg_short_errors_supported = yes; then
12310                 CLUTTER_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gtk-1.0 >= 1.0" 2>&1`
12311         else
12312                 CLUTTER_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gtk-1.0 >= 1.0" 2>&1`
12313         fi
12314         # Put the nasty error message in config.log where it belongs
12315         echo "$CLUTTER_GTK_PKG_ERRORS" >&5
12316
12317
12318           HAVE_CLUTTER=no
12319           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&5
12320 $as_echo "$as_me: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&2;}
12321
12322 elif test $pkg_failed = untried; then
12323         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12324 $as_echo "no" >&6; }
12325
12326           HAVE_CLUTTER=no
12327           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&5
12328 $as_echo "$as_me: WARNING: $CLUTTER_GTK_PKG_ERRORS" >&2;}
12329
12330 else
12331         CLUTTER_GTK_CFLAGS=$pkg_cv_CLUTTER_GTK_CFLAGS
12332         CLUTTER_GTK_LIBS=$pkg_cv_CLUTTER_GTK_LIBS
12333         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12334 $as_echo "yes" >&6; }
12335
12336           HAVE_CLUTTER=yes
12337
12338 $as_echo "#define HAVE_CLUTTER 1" >>confdefs.h
12339
12340
12341 fi
12342
12343 fi
12344 else
12345   HAVE_CLUTTER=disabled
12346 fi
12347
12348
12349
12350
12351
12352
12353
12354 #  Libchamplain support - used for map facility
12355 # ----------------------------------------------------------------------
12356
12357 if test "x${libgps}" != "xno" -a "x${HAVE_CLUTTER}" = "xyes"; then
12358     if test "x${gtk3}" != "xno"; then
12359
12360 pkg_failed=no
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCHAMPLAIN" >&5
12362 $as_echo_n "checking for LIBCHAMPLAIN... " >&6; }
12363
12364 if test -n "$LIBCHAMPLAIN_CFLAGS"; then
12365     pkg_cv_LIBCHAMPLAIN_CFLAGS="$LIBCHAMPLAIN_CFLAGS"
12366  elif test -n "$PKG_CONFIG"; then
12367     if test -n "$PKG_CONFIG" && \
12368     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-0.12 >= 0.12\""; } >&5
12369   ($PKG_CONFIG --exists --print-errors "champlain-0.12 >= 0.12") 2>&5
12370   ac_status=$?
12371   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12372   test $ac_status = 0; }; then
12373   pkg_cv_LIBCHAMPLAIN_CFLAGS=`$PKG_CONFIG --cflags "champlain-0.12 >= 0.12" 2>/dev/null`
12374                       test "x$?" != "x0" && pkg_failed=yes
12375 else
12376   pkg_failed=yes
12377 fi
12378  else
12379     pkg_failed=untried
12380 fi
12381 if test -n "$LIBCHAMPLAIN_LIBS"; then
12382     pkg_cv_LIBCHAMPLAIN_LIBS="$LIBCHAMPLAIN_LIBS"
12383  elif test -n "$PKG_CONFIG"; then
12384     if test -n "$PKG_CONFIG" && \
12385     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-0.12 >= 0.12\""; } >&5
12386   ($PKG_CONFIG --exists --print-errors "champlain-0.12 >= 0.12") 2>&5
12387   ac_status=$?
12388   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12389   test $ac_status = 0; }; then
12390   pkg_cv_LIBCHAMPLAIN_LIBS=`$PKG_CONFIG --libs "champlain-0.12 >= 0.12" 2>/dev/null`
12391                       test "x$?" != "x0" && pkg_failed=yes
12392 else
12393   pkg_failed=yes
12394 fi
12395  else
12396     pkg_failed=untried
12397 fi
12398
12399
12400
12401 if test $pkg_failed = yes; then
12402         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12403 $as_echo "no" >&6; }
12404
12405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12406         _pkg_short_errors_supported=yes
12407 else
12408         _pkg_short_errors_supported=no
12409 fi
12410         if test $_pkg_short_errors_supported = yes; then
12411                 LIBCHAMPLAIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "champlain-0.12 >= 0.12" 2>&1`
12412         else
12413                 LIBCHAMPLAIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "champlain-0.12 >= 0.12" 2>&1`
12414         fi
12415         # Put the nasty error message in config.log where it belongs
12416         echo "$LIBCHAMPLAIN_PKG_ERRORS" >&5
12417
12418
12419           HAVE_LIBCHAMPLAIN=no
12420           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&5
12421 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&2;}
12422
12423 elif test $pkg_failed = untried; then
12424         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12425 $as_echo "no" >&6; }
12426
12427           HAVE_LIBCHAMPLAIN=no
12428           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&5
12429 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_PKG_ERRORS" >&2;}
12430
12431 else
12432         LIBCHAMPLAIN_CFLAGS=$pkg_cv_LIBCHAMPLAIN_CFLAGS
12433         LIBCHAMPLAIN_LIBS=$pkg_cv_LIBCHAMPLAIN_LIBS
12434         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12435 $as_echo "yes" >&6; }
12436
12437           HAVE_LIBCHAMPLAIN=yes
12438
12439 $as_echo "#define HAVE_LIBCHAMPLAIN 1" >>confdefs.h
12440
12441
12442 fi
12443     else
12444       HAVE_LIBCHAMPLAIN=disabled
12445     fi
12446 else
12447   HAVE_LIBCHAMPLAIN=disabled
12448 fi
12449
12450 if test "x${libgps}" != "xno" -a "x${HAVE_LIBCHAMPLAIN}" = "xyes" ; then
12451
12452 pkg_failed=no
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCHAMPLAIN_GTK" >&5
12454 $as_echo_n "checking for LIBCHAMPLAIN_GTK... " >&6; }
12455
12456 if test -n "$LIBCHAMPLAIN_GTK_CFLAGS"; then
12457     pkg_cv_LIBCHAMPLAIN_GTK_CFLAGS="$LIBCHAMPLAIN_GTK_CFLAGS"
12458  elif test -n "$PKG_CONFIG"; then
12459     if test -n "$PKG_CONFIG" && \
12460     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-gtk-0.12 >= 0.12\""; } >&5
12461   ($PKG_CONFIG --exists --print-errors "champlain-gtk-0.12 >= 0.12") 2>&5
12462   ac_status=$?
12463   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12464   test $ac_status = 0; }; then
12465   pkg_cv_LIBCHAMPLAIN_GTK_CFLAGS=`$PKG_CONFIG --cflags "champlain-gtk-0.12 >= 0.12" 2>/dev/null`
12466                       test "x$?" != "x0" && pkg_failed=yes
12467 else
12468   pkg_failed=yes
12469 fi
12470  else
12471     pkg_failed=untried
12472 fi
12473 if test -n "$LIBCHAMPLAIN_GTK_LIBS"; then
12474     pkg_cv_LIBCHAMPLAIN_GTK_LIBS="$LIBCHAMPLAIN_GTK_LIBS"
12475  elif test -n "$PKG_CONFIG"; then
12476     if test -n "$PKG_CONFIG" && \
12477     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"champlain-gtk-0.12 >= 0.12\""; } >&5
12478   ($PKG_CONFIG --exists --print-errors "champlain-gtk-0.12 >= 0.12") 2>&5
12479   ac_status=$?
12480   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12481   test $ac_status = 0; }; then
12482   pkg_cv_LIBCHAMPLAIN_GTK_LIBS=`$PKG_CONFIG --libs "champlain-gtk-0.12 >= 0.12" 2>/dev/null`
12483                       test "x$?" != "x0" && pkg_failed=yes
12484 else
12485   pkg_failed=yes
12486 fi
12487  else
12488     pkg_failed=untried
12489 fi
12490
12491
12492
12493 if test $pkg_failed = yes; then
12494         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12495 $as_echo "no" >&6; }
12496
12497 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12498         _pkg_short_errors_supported=yes
12499 else
12500         _pkg_short_errors_supported=no
12501 fi
12502         if test $_pkg_short_errors_supported = yes; then
12503                 LIBCHAMPLAIN_GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "champlain-gtk-0.12 >= 0.12" 2>&1`
12504         else
12505                 LIBCHAMPLAIN_GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "champlain-gtk-0.12 >= 0.12" 2>&1`
12506         fi
12507         # Put the nasty error message in config.log where it belongs
12508         echo "$LIBCHAMPLAIN_GTK_PKG_ERRORS" >&5
12509
12510
12511       HAVE_LIBCHAMPLAIN_GTK=no
12512       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&5
12513 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&2;}
12514
12515 elif test $pkg_failed = untried; then
12516         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12517 $as_echo "no" >&6; }
12518
12519       HAVE_LIBCHAMPLAIN_GTK=no
12520       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&5
12521 $as_echo "$as_me: WARNING: $LIBCHAMPLAIN_GTK_PKG_ERRORS" >&2;}
12522
12523 else
12524         LIBCHAMPLAIN_GTK_CFLAGS=$pkg_cv_LIBCHAMPLAIN_GTK_CFLAGS
12525         LIBCHAMPLAIN_GTK_LIBS=$pkg_cv_LIBCHAMPLAIN_GTK_LIBS
12526         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12527 $as_echo "yes" >&6; }
12528
12529       HAVE_LIBCHAMPLAIN_GTK=yes
12530
12531 $as_echo "#define HAVE_LIBCHAMPLAIN_GTK 1" >>confdefs.h
12532
12533
12534 fi
12535 else
12536   HAVE_LIBCHAMPLAIN_GTK=disabled
12537 fi
12538
12539  if test "x$HAVE_LIBCHAMPLAIN_GTK" = xyes; then
12540   HAVE_LIBCHAMPLAIN_GTK_TRUE=
12541   HAVE_LIBCHAMPLAIN_GTK_FALSE='#'
12542 else
12543   HAVE_LIBCHAMPLAIN_GTK_TRUE='#'
12544   HAVE_LIBCHAMPLAIN_GTK_FALSE=
12545 fi
12546
12547
12548
12549
12550 #  Lua support
12551 # ----------------------------------------------------------------------
12552
12553 # Check whether --enable-lua was given.
12554 if test "${enable_lua+set}" = set; then :
12555   enableval=$enable_lua; liblua=$enableval
12556 else
12557   liblua=auto
12558 fi
12559
12560
12561 if test "x${liblua}" != "xno"; then
12562
12563 pkg_failed=no
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12565 $as_echo_n "checking for LUA... " >&6; }
12566
12567 if test -n "$LUA_CFLAGS"; then
12568     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12569  elif test -n "$PKG_CONFIG"; then
12570     if test -n "$PKG_CONFIG" && \
12571     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
12572   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
12573   ac_status=$?
12574   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12575   test $ac_status = 0; }; then
12576   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua5.1 >= 5.1" 2>/dev/null`
12577                       test "x$?" != "x0" && pkg_failed=yes
12578 else
12579   pkg_failed=yes
12580 fi
12581  else
12582     pkg_failed=untried
12583 fi
12584 if test -n "$LUA_LIBS"; then
12585     pkg_cv_LUA_LIBS="$LUA_LIBS"
12586  elif test -n "$PKG_CONFIG"; then
12587     if test -n "$PKG_CONFIG" && \
12588     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.1 >= 5.1\""; } >&5
12589   ($PKG_CONFIG --exists --print-errors "lua5.1 >= 5.1") 2>&5
12590   ac_status=$?
12591   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12592   test $ac_status = 0; }; then
12593   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua5.1 >= 5.1" 2>/dev/null`
12594                       test "x$?" != "x0" && pkg_failed=yes
12595 else
12596   pkg_failed=yes
12597 fi
12598  else
12599     pkg_failed=untried
12600 fi
12601
12602
12603
12604 if test $pkg_failed = yes; then
12605         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12606 $as_echo "no" >&6; }
12607
12608 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12609         _pkg_short_errors_supported=yes
12610 else
12611         _pkg_short_errors_supported=no
12612 fi
12613         if test $_pkg_short_errors_supported = yes; then
12614                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
12615         else
12616                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua5.1 >= 5.1" 2>&1`
12617         fi
12618         # Put the nasty error message in config.log where it belongs
12619         echo "$LUA_PKG_ERRORS" >&5
12620
12621
12622
12623 pkg_failed=no
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12625 $as_echo_n "checking for LUA... " >&6; }
12626
12627 if test -n "$LUA_CFLAGS"; then
12628     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12629  elif test -n "$PKG_CONFIG"; then
12630     if test -n "$PKG_CONFIG" && \
12631     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
12632   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
12633   ac_status=$?
12634   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12635   test $ac_status = 0; }; then
12636   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
12637                       test "x$?" != "x0" && pkg_failed=yes
12638 else
12639   pkg_failed=yes
12640 fi
12641  else
12642     pkg_failed=untried
12643 fi
12644 if test -n "$LUA_LIBS"; then
12645     pkg_cv_LUA_LIBS="$LUA_LIBS"
12646  elif test -n "$PKG_CONFIG"; then
12647     if test -n "$PKG_CONFIG" && \
12648     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
12649   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
12650   ac_status=$?
12651   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12652   test $ac_status = 0; }; then
12653   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
12654                       test "x$?" != "x0" && pkg_failed=yes
12655 else
12656   pkg_failed=yes
12657 fi
12658  else
12659     pkg_failed=untried
12660 fi
12661
12662
12663
12664 if test $pkg_failed = yes; then
12665         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12666 $as_echo "no" >&6; }
12667
12668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12669         _pkg_short_errors_supported=yes
12670 else
12671         _pkg_short_errors_supported=no
12672 fi
12673         if test $_pkg_short_errors_supported = yes; then
12674                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1" 2>&1`
12675         else
12676                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1" 2>&1`
12677         fi
12678         # Put the nasty error message in config.log where it belongs
12679         echo "$LUA_PKG_ERRORS" >&5
12680
12681
12682             HAVE_LUA=no
12683             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
12684 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
12685
12686 elif test $pkg_failed = untried; then
12687         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12688 $as_echo "no" >&6; }
12689
12690             HAVE_LUA=no
12691             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
12692 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
12693
12694 else
12695         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
12696         LUA_LIBS=$pkg_cv_LUA_LIBS
12697         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12698 $as_echo "yes" >&6; }
12699
12700            HAVE_LUA=yes
12701
12702 $as_echo "#define HAVE_LUA 1" >>confdefs.h
12703
12704
12705 fi
12706
12707 elif test $pkg_failed = untried; then
12708         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12709 $as_echo "no" >&6; }
12710
12711
12712 pkg_failed=no
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LUA" >&5
12714 $as_echo_n "checking for LUA... " >&6; }
12715
12716 if test -n "$LUA_CFLAGS"; then
12717     pkg_cv_LUA_CFLAGS="$LUA_CFLAGS"
12718  elif test -n "$PKG_CONFIG"; then
12719     if test -n "$PKG_CONFIG" && \
12720     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
12721   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
12722   ac_status=$?
12723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12724   test $ac_status = 0; }; then
12725   pkg_cv_LUA_CFLAGS=`$PKG_CONFIG --cflags "lua >= 5.1" 2>/dev/null`
12726                       test "x$?" != "x0" && pkg_failed=yes
12727 else
12728   pkg_failed=yes
12729 fi
12730  else
12731     pkg_failed=untried
12732 fi
12733 if test -n "$LUA_LIBS"; then
12734     pkg_cv_LUA_LIBS="$LUA_LIBS"
12735  elif test -n "$PKG_CONFIG"; then
12736     if test -n "$PKG_CONFIG" && \
12737     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua >= 5.1\""; } >&5
12738   ($PKG_CONFIG --exists --print-errors "lua >= 5.1") 2>&5
12739   ac_status=$?
12740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12741   test $ac_status = 0; }; then
12742   pkg_cv_LUA_LIBS=`$PKG_CONFIG --libs "lua >= 5.1" 2>/dev/null`
12743                       test "x$?" != "x0" && pkg_failed=yes
12744 else
12745   pkg_failed=yes
12746 fi
12747  else
12748     pkg_failed=untried
12749 fi
12750
12751
12752
12753 if test $pkg_failed = yes; then
12754         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12755 $as_echo "no" >&6; }
12756
12757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12758         _pkg_short_errors_supported=yes
12759 else
12760         _pkg_short_errors_supported=no
12761 fi
12762         if test $_pkg_short_errors_supported = yes; then
12763                 LUA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lua >= 5.1" 2>&1`
12764         else
12765                 LUA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lua >= 5.1" 2>&1`
12766         fi
12767         # Put the nasty error message in config.log where it belongs
12768         echo "$LUA_PKG_ERRORS" >&5
12769
12770
12771             HAVE_LUA=no
12772             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
12773 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
12774
12775 elif test $pkg_failed = untried; then
12776         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12777 $as_echo "no" >&6; }
12778
12779             HAVE_LUA=no
12780             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $LUA_PKG_ERRORS" >&5
12781 $as_echo "$as_me: WARNING: $LUA_PKG_ERRORS" >&2;}
12782
12783 else
12784         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
12785         LUA_LIBS=$pkg_cv_LUA_LIBS
12786         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12787 $as_echo "yes" >&6; }
12788
12789            HAVE_LUA=yes
12790
12791 $as_echo "#define HAVE_LUA 1" >>confdefs.h
12792
12793
12794 fi
12795
12796 else
12797         LUA_CFLAGS=$pkg_cv_LUA_CFLAGS
12798         LUA_LIBS=$pkg_cv_LUA_LIBS
12799         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12800 $as_echo "yes" >&6; }
12801
12802       HAVE_LUA=yes
12803
12804 $as_echo "#define HAVE_LUA 1" >>confdefs.h
12805
12806
12807 fi
12808 else
12809   HAVE_LUA=disabled
12810 fi
12811
12812  if test "x$HAVE_LUA" = xyes; then
12813   HAVE_LUA_TRUE=
12814   HAVE_LUA_FALSE='#'
12815 else
12816   HAVE_LUA_TRUE='#'
12817   HAVE_LUA_FALSE=
12818 fi
12819
12820
12821
12822
12823 #  Pdf support
12824 # ----------------------------------------------------------------------
12825
12826 if test "x${gtk3}" != "xno"; then
12827     # Check whether --enable-pdf was given.
12828 if test "${enable_pdf+set}" = set; then :
12829   enableval=$enable_pdf; libpdf=$enableval
12830 else
12831   libpdf=auto
12832 fi
12833
12834
12835     if test "x${libpdf}" != "xno"; then
12836
12837 pkg_failed=no
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PDF" >&5
12839 $as_echo_n "checking for PDF... " >&6; }
12840
12841 if test -n "$PDF_CFLAGS"; then
12842     pkg_cv_PDF_CFLAGS="$PDF_CFLAGS"
12843  elif test -n "$PKG_CONFIG"; then
12844     if test -n "$PKG_CONFIG" && \
12845     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.62\""; } >&5
12846   ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.62") 2>&5
12847   ac_status=$?
12848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12849   test $ac_status = 0; }; then
12850   pkg_cv_PDF_CFLAGS=`$PKG_CONFIG --cflags "poppler-glib >= 0.62" 2>/dev/null`
12851                       test "x$?" != "x0" && pkg_failed=yes
12852 else
12853   pkg_failed=yes
12854 fi
12855  else
12856     pkg_failed=untried
12857 fi
12858 if test -n "$PDF_LIBS"; then
12859     pkg_cv_PDF_LIBS="$PDF_LIBS"
12860  elif test -n "$PKG_CONFIG"; then
12861     if test -n "$PKG_CONFIG" && \
12862     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"poppler-glib >= 0.62\""; } >&5
12863   ($PKG_CONFIG --exists --print-errors "poppler-glib >= 0.62") 2>&5
12864   ac_status=$?
12865   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12866   test $ac_status = 0; }; then
12867   pkg_cv_PDF_LIBS=`$PKG_CONFIG --libs "poppler-glib >= 0.62" 2>/dev/null`
12868                       test "x$?" != "x0" && pkg_failed=yes
12869 else
12870   pkg_failed=yes
12871 fi
12872  else
12873     pkg_failed=untried
12874 fi
12875
12876
12877
12878 if test $pkg_failed = yes; then
12879         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12880 $as_echo "no" >&6; }
12881
12882 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12883         _pkg_short_errors_supported=yes
12884 else
12885         _pkg_short_errors_supported=no
12886 fi
12887         if test $_pkg_short_errors_supported = yes; then
12888                 PDF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "poppler-glib >= 0.62" 2>&1`
12889         else
12890                 PDF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "poppler-glib >= 0.62" 2>&1`
12891         fi
12892         # Put the nasty error message in config.log where it belongs
12893         echo "$PDF_PKG_ERRORS" >&5
12894
12895
12896           HAVE_PDF=no
12897           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $PDF_PKG_ERRORS" >&5
12898 $as_echo "$as_me: WARNING: $PDF_PKG_ERRORS" >&2;}
12899
12900 elif test $pkg_failed = untried; then
12901         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12902 $as_echo "no" >&6; }
12903
12904           HAVE_PDF=no
12905           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $PDF_PKG_ERRORS" >&5
12906 $as_echo "$as_me: WARNING: $PDF_PKG_ERRORS" >&2;}
12907
12908 else
12909         PDF_CFLAGS=$pkg_cv_PDF_CFLAGS
12910         PDF_LIBS=$pkg_cv_PDF_LIBS
12911         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12912 $as_echo "yes" >&6; }
12913
12914           HAVE_PDF=yes
12915
12916 $as_echo "#define HAVE_PDF 1" >>confdefs.h
12917
12918
12919 fi
12920     else
12921         HAVE_PDF=disabled
12922     fi
12923 else
12924     HAVE_PDF=disabled
12925 fi
12926
12927  if test "x$HAVE_PDF" = xyes; then
12928   HAVE_PDF_TRUE=
12929   HAVE_PDF_FALSE='#'
12930 else
12931   HAVE_PDF_TRUE='#'
12932   HAVE_PDF_FALSE=
12933 fi
12934
12935
12936
12937
12938 #  Markdown support
12939 # ----------------------------------------------------------------------
12940
12941  if  "$(command -v markdown)" ; then
12942   HAVE_MARKDOWN_TRUE=
12943   HAVE_MARKDOWN_FALSE='#'
12944 else
12945   HAVE_MARKDOWN_TRUE='#'
12946   HAVE_MARKDOWN_FALSE=
12947 fi
12948
12949
12950 # ----------------------------------------------------------------------
12951
12952
12953
12954
12955
12956
12957 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"
12958
12959
12960 cat >confcache <<\_ACEOF
12961 # This file is a shell script that caches the results of configure
12962 # tests run on this system so they can be shared between configure
12963 # scripts and configure runs, see configure's option --config-cache.
12964 # It is not useful on other systems.  If it contains results you don't
12965 # want to keep, you may remove or edit it.
12966 #
12967 # config.status only pays attention to the cache file if you give it
12968 # the --recheck option to rerun configure.
12969 #
12970 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12971 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12972 # following values.
12973
12974 _ACEOF
12975
12976 # The following way of writing the cache mishandles newlines in values,
12977 # but we know of no workaround that is simple, portable, and efficient.
12978 # So, we kill variables containing newlines.
12979 # Ultrix sh set writes to stderr and can't be redirected directly,
12980 # and sets the high bit in the cache file unless we assign to the vars.
12981 (
12982   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12983     eval ac_val=\$$ac_var
12984     case $ac_val in #(
12985     *${as_nl}*)
12986       case $ac_var in #(
12987       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12988 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12989       esac
12990       case $ac_var in #(
12991       _ | IFS | as_nl) ;; #(
12992       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12993       *) { eval $ac_var=; unset $ac_var;} ;;
12994       esac ;;
12995     esac
12996   done
12997
12998   (set) 2>&1 |
12999     case $as_nl`(ac_space=' '; set) 2>&1` in #(
13000     *${as_nl}ac_space=\ *)
13001       # `set' does not quote correctly, so add quotes: double-quote
13002       # substitution turns \\\\ into \\, and sed turns \\ into \.
13003       sed -n \
13004         "s/'/'\\\\''/g;
13005           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13006       ;; #(
13007     *)
13008       # `set' quotes correctly as required by POSIX, so do not add quotes.
13009       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13010       ;;
13011     esac |
13012     sort
13013 ) |
13014   sed '
13015      /^ac_cv_env_/b end
13016      t clear
13017      :clear
13018      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13019      t end
13020      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13021      :end' >>confcache
13022 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13023   if test -w "$cache_file"; then
13024     if test "x$cache_file" != "x/dev/null"; then
13025       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13026 $as_echo "$as_me: updating cache $cache_file" >&6;}
13027       if test ! -f "$cache_file" || test -h "$cache_file"; then
13028         cat confcache >"$cache_file"
13029       else
13030         case $cache_file in #(
13031         */* | ?:*)
13032           mv -f confcache "$cache_file"$$ &&
13033           mv -f "$cache_file"$$ "$cache_file" ;; #(
13034         *)
13035           mv -f confcache "$cache_file" ;;
13036         esac
13037       fi
13038     fi
13039   else
13040     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13041 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13042   fi
13043 fi
13044 rm -f confcache
13045
13046 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13047 # Let make expand exec_prefix.
13048 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13049
13050 DEFS=-DHAVE_CONFIG_H
13051
13052 ac_libobjs=
13053 ac_ltlibobjs=
13054 U=
13055 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13056   # 1. Remove the extension, and $U if already installed.
13057   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13058   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13059   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13060   #    will be set to the directory where LIBOBJS objects are built.
13061   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13062   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13063 done
13064 LIBOBJS=$ac_libobjs
13065
13066 LTLIBOBJS=$ac_ltlibobjs
13067
13068
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13070 $as_echo_n "checking that generated files are newer than configure... " >&6; }
13071    if test -n "$am_sleep_pid"; then
13072      # Hide warnings about reused PIDs.
13073      wait $am_sleep_pid 2>/dev/null
13074    fi
13075    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13076 $as_echo "done" >&6; }
13077  if test -n "$EXEEXT"; then
13078   am__EXEEXT_TRUE=
13079   am__EXEEXT_FALSE='#'
13080 else
13081   am__EXEEXT_TRUE='#'
13082   am__EXEEXT_FALSE=
13083 fi
13084
13085 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13086   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13088 fi
13089 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
13090   as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
13091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13092 fi
13093 if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
13094   as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
13095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13096 fi
13097 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
13098   as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
13099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13100 fi
13101 if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
13102   as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
13103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13104 fi
13105 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
13106   as_fn_error $? "conditional \"DX_COND_man\" was never defined.
13107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13108 fi
13109 if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
13110   as_fn_error $? "conditional \"DX_COND_man\" was never defined.
13111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13112 fi
13113 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
13114   as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
13115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13116 fi
13117 if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
13118   as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
13119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13120 fi
13121 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
13122   as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
13123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13124 fi
13125 if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
13126   as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
13127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13128 fi
13129 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
13130   as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
13131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13132 fi
13133 if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
13134   as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
13135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13136 fi
13137 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
13138   as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
13139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13140 fi
13141 if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
13142   as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
13143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13144 fi
13145 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
13146   as_fn_error $? "conditional \"DX_COND_html\" was never defined.
13147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13148 fi
13149 if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
13150   as_fn_error $? "conditional \"DX_COND_html\" was never defined.
13151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13152 fi
13153 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
13154   as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
13155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13156 fi
13157 if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
13158   as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
13159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13160 fi
13161 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
13162   as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
13163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13164 fi
13165 if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
13166   as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
13167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13168 fi
13169 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
13170   as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
13171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13172 fi
13173 if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
13174   as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
13175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13176 fi
13177 if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
13178   as_fn_error $? "conditional \"DEBUG\" was never defined.
13179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13180 fi
13181 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13182   as_fn_error $? "conditional \"AMDEP\" was never defined.
13183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13184 fi
13185 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13186   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13188 fi
13189 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13190   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13192 fi
13193 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
13194   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
13195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13196 fi
13197
13198   ac_config_commands="$ac_config_commands po/stamp-it"
13199
13200
13201 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
13202   as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
13203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13204 fi
13205 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
13206   as_fn_error $? "conditional \"OS_WIN32\" was never defined.
13207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13208 fi
13209 if test -z "${OS_UNIX_TRUE}" && test -z "${OS_UNIX_FALSE}"; then
13210   as_fn_error $? "conditional \"OS_UNIX\" was never defined.
13211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13212 fi
13213 if test -z "${MS_LIB_AVAILABLE_TRUE}" && test -z "${MS_LIB_AVAILABLE_FALSE}"; then
13214   as_fn_error $? "conditional \"MS_LIB_AVAILABLE\" was never defined.
13215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13216 fi
13217 if test -z "${HAVE_WINDRES_TRUE}" && test -z "${HAVE_WINDRES_FALSE}"; then
13218   as_fn_error $? "conditional \"HAVE_WINDRES\" was never defined.
13219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13220 fi
13221 if test -z "${HAVE_LIRC_TRUE}" && test -z "${HAVE_LIRC_FALSE}"; then
13222   as_fn_error $? "conditional \"HAVE_LIRC\" was never defined.
13223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13224 fi
13225 if test -z "${HAVE_LCMS_TRUE}" && test -z "${HAVE_LCMS_FALSE}"; then
13226   as_fn_error $? "conditional \"HAVE_LCMS\" was never defined.
13227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13228 fi
13229 if test -z "${HAVE_JPEG_TRUE}" && test -z "${HAVE_JPEG_FALSE}"; then
13230   as_fn_error $? "conditional \"HAVE_JPEG\" was never defined.
13231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13232 fi
13233 if test -z "${HAVE_TIFF_TRUE}" && test -z "${HAVE_TIFF_FALSE}"; then
13234   as_fn_error $? "conditional \"HAVE_TIFF\" was never defined.
13235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13236 fi
13237 if test -z "${HAVE_FFMPEGTHUMBNAILER_TRUE}" && test -z "${HAVE_FFMPEGTHUMBNAILER_FALSE}"; then
13238   as_fn_error $? "conditional \"HAVE_FFMPEGTHUMBNAILER\" was never defined.
13239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13240 fi
13241 if test -z "${HAVE_EXIV2_TRUE}" && test -z "${HAVE_EXIV2_FALSE}"; then
13242   as_fn_error $? "conditional \"HAVE_EXIV2\" was never defined.
13243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13244 fi
13245 if test -z "${HAVE_LIBCHAMPLAIN_GTK_TRUE}" && test -z "${HAVE_LIBCHAMPLAIN_GTK_FALSE}"; then
13246   as_fn_error $? "conditional \"HAVE_LIBCHAMPLAIN_GTK\" was never defined.
13247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13248 fi
13249 if test -z "${HAVE_LUA_TRUE}" && test -z "${HAVE_LUA_FALSE}"; then
13250   as_fn_error $? "conditional \"HAVE_LUA\" was never defined.
13251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13252 fi
13253 if test -z "${HAVE_PDF_TRUE}" && test -z "${HAVE_PDF_FALSE}"; then
13254   as_fn_error $? "conditional \"HAVE_PDF\" was never defined.
13255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13256 fi
13257 if test -z "${HAVE_MARKDOWN_TRUE}" && test -z "${HAVE_MARKDOWN_FALSE}"; then
13258   as_fn_error $? "conditional \"HAVE_MARKDOWN\" was never defined.
13259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13260 fi
13261
13262 : "${CONFIG_STATUS=./config.status}"
13263 ac_write_fail=0
13264 ac_clean_files_save=$ac_clean_files
13265 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13267 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13268 as_write_fail=0
13269 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13270 #! $SHELL
13271 # Generated by $as_me.
13272 # Run this file to recreate the current configuration.
13273 # Compiler output produced by configure, useful for debugging
13274 # configure, is in config.log if it exists.
13275
13276 debug=false
13277 ac_cs_recheck=false
13278 ac_cs_silent=false
13279
13280 SHELL=\${CONFIG_SHELL-$SHELL}
13281 export SHELL
13282 _ASEOF
13283 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13284 ## -------------------- ##
13285 ## M4sh Initialization. ##
13286 ## -------------------- ##
13287
13288 # Be more Bourne compatible
13289 DUALCASE=1; export DUALCASE # for MKS sh
13290 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13291   emulate sh
13292   NULLCMD=:
13293   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13294   # is contrary to our usage.  Disable this feature.
13295   alias -g '${1+"$@"}'='"$@"'
13296   setopt NO_GLOB_SUBST
13297 else
13298   case `(set -o) 2>/dev/null` in #(
13299   *posix*) :
13300     set -o posix ;; #(
13301   *) :
13302      ;;
13303 esac
13304 fi
13305
13306
13307 as_nl='
13308 '
13309 export as_nl
13310 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13311 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13312 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13313 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13314 # Prefer a ksh shell builtin over an external printf program on Solaris,
13315 # but without wasting forks for bash or zsh.
13316 if test -z "$BASH_VERSION$ZSH_VERSION" \
13317     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13318   as_echo='print -r --'
13319   as_echo_n='print -rn --'
13320 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13321   as_echo='printf %s\n'
13322   as_echo_n='printf %s'
13323 else
13324   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13325     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13326     as_echo_n='/usr/ucb/echo -n'
13327   else
13328     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13329     as_echo_n_body='eval
13330       arg=$1;
13331       case $arg in #(
13332       *"$as_nl"*)
13333         expr "X$arg" : "X\\(.*\\)$as_nl";
13334         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13335       esac;
13336       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13337     '
13338     export as_echo_n_body
13339     as_echo_n='sh -c $as_echo_n_body as_echo'
13340   fi
13341   export as_echo_body
13342   as_echo='sh -c $as_echo_body as_echo'
13343 fi
13344
13345 # The user is always right.
13346 if test "${PATH_SEPARATOR+set}" != set; then
13347   PATH_SEPARATOR=:
13348   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13349     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13350       PATH_SEPARATOR=';'
13351   }
13352 fi
13353
13354
13355 # IFS
13356 # We need space, tab and new line, in precisely that order.  Quoting is
13357 # there to prevent editors from complaining about space-tab.
13358 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13359 # splitting by setting IFS to empty value.)
13360 IFS=" ""        $as_nl"
13361
13362 # Find who we are.  Look in the path if we contain no directory separator.
13363 as_myself=
13364 case $0 in #((
13365   *[\\/]* ) as_myself=$0 ;;
13366   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13367 for as_dir in $PATH
13368 do
13369   IFS=$as_save_IFS
13370   test -z "$as_dir" && as_dir=.
13371     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13372   done
13373 IFS=$as_save_IFS
13374
13375      ;;
13376 esac
13377 # We did not find ourselves, most probably we were run as `sh COMMAND'
13378 # in which case we are not to be found in the path.
13379 if test "x$as_myself" = x; then
13380   as_myself=$0
13381 fi
13382 if test ! -f "$as_myself"; then
13383   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13384   exit 1
13385 fi
13386
13387 # Unset variables that we do not need and which cause bugs (e.g. in
13388 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13389 # suppresses any "Segmentation fault" message there.  '((' could
13390 # trigger a bug in pdksh 5.2.14.
13391 for as_var in BASH_ENV ENV MAIL MAILPATH
13392 do eval test x\${$as_var+set} = xset \
13393   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13394 done
13395 PS1='$ '
13396 PS2='> '
13397 PS4='+ '
13398
13399 # NLS nuisances.
13400 LC_ALL=C
13401 export LC_ALL
13402 LANGUAGE=C
13403 export LANGUAGE
13404
13405 # CDPATH.
13406 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13407
13408
13409 # as_fn_error STATUS ERROR [LINENO LOG_FD]
13410 # ----------------------------------------
13411 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13412 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13413 # script with STATUS, using 1 if that was 0.
13414 as_fn_error ()
13415 {
13416   as_status=$1; test $as_status -eq 0 && as_status=1
13417   if test "$4"; then
13418     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13419     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13420   fi
13421   $as_echo "$as_me: error: $2" >&2
13422   as_fn_exit $as_status
13423 } # as_fn_error
13424
13425
13426 # as_fn_set_status STATUS
13427 # -----------------------
13428 # Set $? to STATUS, without forking.
13429 as_fn_set_status ()
13430 {
13431   return $1
13432 } # as_fn_set_status
13433
13434 # as_fn_exit STATUS
13435 # -----------------
13436 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13437 as_fn_exit ()
13438 {
13439   set +e
13440   as_fn_set_status $1
13441   exit $1
13442 } # as_fn_exit
13443
13444 # as_fn_unset VAR
13445 # ---------------
13446 # Portably unset VAR.
13447 as_fn_unset ()
13448 {
13449   { eval $1=; unset $1;}
13450 }
13451 as_unset=as_fn_unset
13452 # as_fn_append VAR VALUE
13453 # ----------------------
13454 # Append the text in VALUE to the end of the definition contained in VAR. Take
13455 # advantage of any shell optimizations that allow amortized linear growth over
13456 # repeated appends, instead of the typical quadratic growth present in naive
13457 # implementations.
13458 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13459   eval 'as_fn_append ()
13460   {
13461     eval $1+=\$2
13462   }'
13463 else
13464   as_fn_append ()
13465   {
13466     eval $1=\$$1\$2
13467   }
13468 fi # as_fn_append
13469
13470 # as_fn_arith ARG...
13471 # ------------------
13472 # Perform arithmetic evaluation on the ARGs, and store the result in the
13473 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13474 # must be portable across $(()) and expr.
13475 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13476   eval 'as_fn_arith ()
13477   {
13478     as_val=$(( $* ))
13479   }'
13480 else
13481   as_fn_arith ()
13482   {
13483     as_val=`expr "$@" || test $? -eq 1`
13484   }
13485 fi # as_fn_arith
13486
13487
13488 if expr a : '\(a\)' >/dev/null 2>&1 &&
13489    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13490   as_expr=expr
13491 else
13492   as_expr=false
13493 fi
13494
13495 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13496   as_basename=basename
13497 else
13498   as_basename=false
13499 fi
13500
13501 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13502   as_dirname=dirname
13503 else
13504   as_dirname=false
13505 fi
13506
13507 as_me=`$as_basename -- "$0" ||
13508 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13509          X"$0" : 'X\(//\)$' \| \
13510          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13511 $as_echo X/"$0" |
13512     sed '/^.*\/\([^/][^/]*\)\/*$/{
13513             s//\1/
13514             q
13515           }
13516           /^X\/\(\/\/\)$/{
13517             s//\1/
13518             q
13519           }
13520           /^X\/\(\/\).*/{
13521             s//\1/
13522             q
13523           }
13524           s/.*/./; q'`
13525
13526 # Avoid depending upon Character Ranges.
13527 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13528 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13529 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13530 as_cr_digits='0123456789'
13531 as_cr_alnum=$as_cr_Letters$as_cr_digits
13532
13533 ECHO_C= ECHO_N= ECHO_T=
13534 case `echo -n x` in #(((((
13535 -n*)
13536   case `echo 'xy\c'` in
13537   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13538   xy)  ECHO_C='\c';;
13539   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13540        ECHO_T=' ';;
13541   esac;;
13542 *)
13543   ECHO_N='-n';;
13544 esac
13545
13546 rm -f conf$$ conf$$.exe conf$$.file
13547 if test -d conf$$.dir; then
13548   rm -f conf$$.dir/conf$$.file
13549 else
13550   rm -f conf$$.dir
13551   mkdir conf$$.dir 2>/dev/null
13552 fi
13553 if (echo >conf$$.file) 2>/dev/null; then
13554   if ln -s conf$$.file conf$$ 2>/dev/null; then
13555     as_ln_s='ln -s'
13556     # ... but there are two gotchas:
13557     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13558     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13559     # In both cases, we have to default to `cp -pR'.
13560     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13561       as_ln_s='cp -pR'
13562   elif ln conf$$.file conf$$ 2>/dev/null; then
13563     as_ln_s=ln
13564   else
13565     as_ln_s='cp -pR'
13566   fi
13567 else
13568   as_ln_s='cp -pR'
13569 fi
13570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13571 rmdir conf$$.dir 2>/dev/null
13572
13573
13574 # as_fn_mkdir_p
13575 # -------------
13576 # Create "$as_dir" as a directory, including parents if necessary.
13577 as_fn_mkdir_p ()
13578 {
13579
13580   case $as_dir in #(
13581   -*) as_dir=./$as_dir;;
13582   esac
13583   test -d "$as_dir" || eval $as_mkdir_p || {
13584     as_dirs=
13585     while :; do
13586       case $as_dir in #(
13587       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13588       *) as_qdir=$as_dir;;
13589       esac
13590       as_dirs="'$as_qdir' $as_dirs"
13591       as_dir=`$as_dirname -- "$as_dir" ||
13592 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13593          X"$as_dir" : 'X\(//\)[^/]' \| \
13594          X"$as_dir" : 'X\(//\)$' \| \
13595          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13596 $as_echo X"$as_dir" |
13597     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13598             s//\1/
13599             q
13600           }
13601           /^X\(\/\/\)[^/].*/{
13602             s//\1/
13603             q
13604           }
13605           /^X\(\/\/\)$/{
13606             s//\1/
13607             q
13608           }
13609           /^X\(\/\).*/{
13610             s//\1/
13611             q
13612           }
13613           s/.*/./; q'`
13614       test -d "$as_dir" && break
13615     done
13616     test -z "$as_dirs" || eval "mkdir $as_dirs"
13617   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13618
13619
13620 } # as_fn_mkdir_p
13621 if mkdir -p . 2>/dev/null; then
13622   as_mkdir_p='mkdir -p "$as_dir"'
13623 else
13624   test -d ./-p && rmdir ./-p
13625   as_mkdir_p=false
13626 fi
13627
13628
13629 # as_fn_executable_p FILE
13630 # -----------------------
13631 # Test if FILE is an executable regular file.
13632 as_fn_executable_p ()
13633 {
13634   test -f "$1" && test -x "$1"
13635 } # as_fn_executable_p
13636 as_test_x='test -x'
13637 as_executable_p=as_fn_executable_p
13638
13639 # Sed expression to map a string onto a valid CPP name.
13640 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13641
13642 # Sed expression to map a string onto a valid variable name.
13643 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13644
13645
13646 exec 6>&1
13647 ## ----------------------------------- ##
13648 ## Main body of $CONFIG_STATUS script. ##
13649 ## ----------------------------------- ##
13650 _ASEOF
13651 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13652
13653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13654 # Save the log message, to keep $0 and so on meaningful, and to
13655 # report actual input values of CONFIG_FILES etc. instead of their
13656 # values after options handling.
13657 ac_log="
13658 This file was extended by geeqie $as_me 1.5, which was
13659 generated by GNU Autoconf 2.69.  Invocation command line was
13660
13661   CONFIG_FILES    = $CONFIG_FILES
13662   CONFIG_HEADERS  = $CONFIG_HEADERS
13663   CONFIG_LINKS    = $CONFIG_LINKS
13664   CONFIG_COMMANDS = $CONFIG_COMMANDS
13665   $ $0 $@
13666
13667 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13668 "
13669
13670 _ACEOF
13671
13672 case $ac_config_files in *"
13673 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13674 esac
13675
13676 case $ac_config_headers in *"
13677 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13678 esac
13679
13680
13681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13682 # Files that config.status was made for.
13683 config_files="$ac_config_files"
13684 config_headers="$ac_config_headers"
13685 config_commands="$ac_config_commands"
13686
13687 _ACEOF
13688
13689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13690 ac_cs_usage="\
13691 \`$as_me' instantiates files and other configuration actions
13692 from templates according to the current configuration.  Unless the files
13693 and actions are specified as TAGs, all are instantiated by default.
13694
13695 Usage: $0 [OPTION]... [TAG]...
13696
13697   -h, --help       print this help, then exit
13698   -V, --version    print version number and configuration settings, then exit
13699       --config     print configuration, then exit
13700   -q, --quiet, --silent
13701                    do not print progress messages
13702   -d, --debug      don't remove temporary files
13703       --recheck    update $as_me by reconfiguring in the same conditions
13704       --file=FILE[:TEMPLATE]
13705                    instantiate the configuration file FILE
13706       --header=FILE[:TEMPLATE]
13707                    instantiate the configuration header FILE
13708
13709 Configuration files:
13710 $config_files
13711
13712 Configuration headers:
13713 $config_headers
13714
13715 Configuration commands:
13716 $config_commands
13717
13718 Report bugs to <https://github.com/BestImageViewer/geeqie/issues>.
13719 geeqie home page: <http://www.geeqie.org/>."
13720
13721 _ACEOF
13722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13723 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13724 ac_cs_version="\\
13725 geeqie config.status 1.5
13726 configured by $0, generated by GNU Autoconf 2.69,
13727   with options \\"\$ac_cs_config\\"
13728
13729 Copyright (C) 2012 Free Software Foundation, Inc.
13730 This config.status script is free software; the Free Software Foundation
13731 gives unlimited permission to copy, distribute and modify it."
13732
13733 ac_pwd='$ac_pwd'
13734 srcdir='$srcdir'
13735 INSTALL='$INSTALL'
13736 MKDIR_P='$MKDIR_P'
13737 AWK='$AWK'
13738 test -n "\$AWK" || AWK=awk
13739 _ACEOF
13740
13741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13742 # The default lists apply if the user does not specify any file.
13743 ac_need_defaults=:
13744 while test $# != 0
13745 do
13746   case $1 in
13747   --*=?*)
13748     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13749     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13750     ac_shift=:
13751     ;;
13752   --*=)
13753     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13754     ac_optarg=
13755     ac_shift=:
13756     ;;
13757   *)
13758     ac_option=$1
13759     ac_optarg=$2
13760     ac_shift=shift
13761     ;;
13762   esac
13763
13764   case $ac_option in
13765   # Handling of the options.
13766   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13767     ac_cs_recheck=: ;;
13768   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13769     $as_echo "$ac_cs_version"; exit ;;
13770   --config | --confi | --conf | --con | --co | --c )
13771     $as_echo "$ac_cs_config"; exit ;;
13772   --debug | --debu | --deb | --de | --d | -d )
13773     debug=: ;;
13774   --file | --fil | --fi | --f )
13775     $ac_shift
13776     case $ac_optarg in
13777     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13778     '') as_fn_error $? "missing file argument" ;;
13779     esac
13780     as_fn_append CONFIG_FILES " '$ac_optarg'"
13781     ac_need_defaults=false;;
13782   --header | --heade | --head | --hea )
13783     $ac_shift
13784     case $ac_optarg in
13785     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13786     esac
13787     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13788     ac_need_defaults=false;;
13789   --he | --h)
13790     # Conflict between --help and --header
13791     as_fn_error $? "ambiguous option: \`$1'
13792 Try \`$0 --help' for more information.";;
13793   --help | --hel | -h )
13794     $as_echo "$ac_cs_usage"; exit ;;
13795   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13796   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13797     ac_cs_silent=: ;;
13798
13799   # This is an error.
13800   -*) as_fn_error $? "unrecognized option: \`$1'
13801 Try \`$0 --help' for more information." ;;
13802
13803   *) as_fn_append ac_config_targets " $1"
13804      ac_need_defaults=false ;;
13805
13806   esac
13807   shift
13808 done
13809
13810 ac_configure_extra_args=
13811
13812 if $ac_cs_silent; then
13813   exec 6>/dev/null
13814   ac_configure_extra_args="$ac_configure_extra_args --silent"
13815 fi
13816
13817 _ACEOF
13818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13819 if \$ac_cs_recheck; then
13820   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13821   shift
13822   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13823   CONFIG_SHELL='$SHELL'
13824   export CONFIG_SHELL
13825   exec "\$@"
13826 fi
13827
13828 _ACEOF
13829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13830 exec 5>>config.log
13831 {
13832   echo
13833   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13834 ## Running $as_me. ##
13835 _ASBOX
13836   $as_echo "$ac_log"
13837 } >&5
13838
13839 _ACEOF
13840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13841 #
13842 # INIT-COMMANDS
13843 #
13844 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
13845
13846
13847 _ACEOF
13848
13849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13850
13851 # Handling of arguments.
13852 for ac_config_target in $ac_config_targets
13853 do
13854   case $ac_config_target in
13855     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13856     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13857     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13858     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13859     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13860     "src/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/icons/Makefile" ;;
13861     "src/icons/svg/Makefile") CONFIG_FILES="$CONFIG_FILES src/icons/svg/Makefile" ;;
13862     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13863     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13864     "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
13865     "plugins/symlink/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/symlink/Makefile" ;;
13866     "plugins/rotate/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/rotate/Makefile" ;;
13867     "plugins/ufraw/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ufraw/Makefile" ;;
13868     "plugins/geocode-parameters/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/geocode-parameters/Makefile" ;;
13869     "plugins/export-jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/export-jpeg/Makefile" ;;
13870     "plugins/tethered-photography/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/tethered-photography/Makefile" ;;
13871     "plugins/camera-import/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/camera-import/Makefile" ;;
13872     "plugins/image-crop/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/image-crop/Makefile" ;;
13873     "plugins/random-image/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/random-image/Makefile" ;;
13874     "geeqie.spec") CONFIG_FILES="$CONFIG_FILES geeqie.spec" ;;
13875     "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
13876
13877   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13878   esac
13879 done
13880
13881
13882 # If the user did not use the arguments to specify the items to instantiate,
13883 # then the envvar interface is used.  Set only those that are not.
13884 # We use the long form for the default assignment because of an extremely
13885 # bizarre bug on SunOS 4.1.3.
13886 if $ac_need_defaults; then
13887   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13888   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13889   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13890 fi
13891
13892 # Have a temporary directory for convenience.  Make it in the build tree
13893 # simply because there is no reason against having it here, and in addition,
13894 # creating and moving files from /tmp can sometimes cause problems.
13895 # Hook for its removal unless debugging.
13896 # Note that there is a small window in which the directory will not be cleaned:
13897 # after its creation but before its name has been assigned to `$tmp'.
13898 $debug ||
13899 {
13900   tmp= ac_tmp=
13901   trap 'exit_status=$?
13902   : "${ac_tmp:=$tmp}"
13903   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13904 ' 0
13905   trap 'as_fn_exit 1' 1 2 13 15
13906 }
13907 # Create a (secure) tmp directory for tmp files.
13908
13909 {
13910   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13911   test -d "$tmp"
13912 }  ||
13913 {
13914   tmp=./conf$$-$RANDOM
13915   (umask 077 && mkdir "$tmp")
13916 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13917 ac_tmp=$tmp
13918
13919 # Set up the scripts for CONFIG_FILES section.
13920 # No need to generate them if there are no CONFIG_FILES.
13921 # This happens for instance with `./config.status config.h'.
13922 if test -n "$CONFIG_FILES"; then
13923
13924
13925 ac_cr=`echo X | tr X '\015'`
13926 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13927 # But we know of no other shell where ac_cr would be empty at this
13928 # point, so we can use a bashism as a fallback.
13929 if test "x$ac_cr" = x; then
13930   eval ac_cr=\$\'\\r\'
13931 fi
13932 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13933 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13934   ac_cs_awk_cr='\\r'
13935 else
13936   ac_cs_awk_cr=$ac_cr
13937 fi
13938
13939 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13940 _ACEOF
13941
13942
13943 {
13944   echo "cat >conf$$subs.awk <<_ACEOF" &&
13945   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13946   echo "_ACEOF"
13947 } >conf$$subs.sh ||
13948   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13949 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13950 ac_delim='%!_!# '
13951 for ac_last_try in false false false false false :; do
13952   . ./conf$$subs.sh ||
13953     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13954
13955   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13956   if test $ac_delim_n = $ac_delim_num; then
13957     break
13958   elif $ac_last_try; then
13959     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13960   else
13961     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13962   fi
13963 done
13964 rm -f conf$$subs.sh
13965
13966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13967 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13968 _ACEOF
13969 sed -n '
13970 h
13971 s/^/S["/; s/!.*/"]=/
13972 p
13973 g
13974 s/^[^!]*!//
13975 :repl
13976 t repl
13977 s/'"$ac_delim"'$//
13978 t delim
13979 :nl
13980 h
13981 s/\(.\{148\}\)..*/\1/
13982 t more1
13983 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13984 p
13985 n
13986 b repl
13987 :more1
13988 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13989 p
13990 g
13991 s/.\{148\}//
13992 t nl
13993 :delim
13994 h
13995 s/\(.\{148\}\)..*/\1/
13996 t more2
13997 s/["\\]/\\&/g; s/^/"/; s/$/"/
13998 p
13999 b
14000 :more2
14001 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14002 p
14003 g
14004 s/.\{148\}//
14005 t delim
14006 ' <conf$$subs.awk | sed '
14007 /^[^""]/{
14008   N
14009   s/\n//
14010 }
14011 ' >>$CONFIG_STATUS || ac_write_fail=1
14012 rm -f conf$$subs.awk
14013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14014 _ACAWK
14015 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14016   for (key in S) S_is_set[key] = 1
14017   FS = "\a"
14018
14019 }
14020 {
14021   line = $ 0
14022   nfields = split(line, field, "@")
14023   substed = 0
14024   len = length(field[1])
14025   for (i = 2; i < nfields; i++) {
14026     key = field[i]
14027     keylen = length(key)
14028     if (S_is_set[key]) {
14029       value = S[key]
14030       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14031       len += length(value) + length(field[++i])
14032       substed = 1
14033     } else
14034       len += 1 + keylen
14035   }
14036
14037   print line
14038 }
14039
14040 _ACAWK
14041 _ACEOF
14042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14043 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14044   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14045 else
14046   cat
14047 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14048   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14049 _ACEOF
14050
14051 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14052 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14053 # trailing colons and then remove the whole line if VPATH becomes empty
14054 # (actually we leave an empty line to preserve line numbers).
14055 if test "x$srcdir" = x.; then
14056   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
14057 h
14058 s///
14059 s/^/:/
14060 s/[      ]*$/:/
14061 s/:\$(srcdir):/:/g
14062 s/:\${srcdir}:/:/g
14063 s/:@srcdir@:/:/g
14064 s/^:*//
14065 s/:*$//
14066 x
14067 s/\(=[   ]*\).*/\1/
14068 G
14069 s/\n//
14070 s/^[^=]*=[       ]*$//
14071 }'
14072 fi
14073
14074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14075 fi # test -n "$CONFIG_FILES"
14076
14077 # Set up the scripts for CONFIG_HEADERS section.
14078 # No need to generate them if there are no CONFIG_HEADERS.
14079 # This happens for instance with `./config.status Makefile'.
14080 if test -n "$CONFIG_HEADERS"; then
14081 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14082 BEGIN {
14083 _ACEOF
14084
14085 # Transform confdefs.h into an awk script `defines.awk', embedded as
14086 # here-document in config.status, that substitutes the proper values into
14087 # config.h.in to produce config.h.
14088
14089 # Create a delimiter string that does not exist in confdefs.h, to ease
14090 # handling of long lines.
14091 ac_delim='%!_!# '
14092 for ac_last_try in false false :; do
14093   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14094   if test -z "$ac_tt"; then
14095     break
14096   elif $ac_last_try; then
14097     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14098   else
14099     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14100   fi
14101 done
14102
14103 # For the awk script, D is an array of macro values keyed by name,
14104 # likewise P contains macro parameters if any.  Preserve backslash
14105 # newline sequences.
14106
14107 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14108 sed -n '
14109 s/.\{148\}/&'"$ac_delim"'/g
14110 t rset
14111 :rset
14112 s/^[     ]*#[    ]*define[       ][      ]*/ /
14113 t def
14114 d
14115 :def
14116 s/\\$//
14117 t bsnl
14118 s/["\\]/\\&/g
14119 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14120 D["\1"]=" \3"/p
14121 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14122 d
14123 :bsnl
14124 s/["\\]/\\&/g
14125 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14126 D["\1"]=" \3\\\\\\n"\\/p
14127 t cont
14128 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14129 t cont
14130 d
14131 :cont
14132 n
14133 s/.\{148\}/&'"$ac_delim"'/g
14134 t clear
14135 :clear
14136 s/\\$//
14137 t bsnlc
14138 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14139 d
14140 :bsnlc
14141 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14142 b cont
14143 ' <confdefs.h | sed '
14144 s/'"$ac_delim"'/"\\\
14145 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14146
14147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14148   for (key in D) D_is_set[key] = 1
14149   FS = "\a"
14150 }
14151 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14152   line = \$ 0
14153   split(line, arg, " ")
14154   if (arg[1] == "#") {
14155     defundef = arg[2]
14156     mac1 = arg[3]
14157   } else {
14158     defundef = substr(arg[1], 2)
14159     mac1 = arg[2]
14160   }
14161   split(mac1, mac2, "(") #)
14162   macro = mac2[1]
14163   prefix = substr(line, 1, index(line, defundef) - 1)
14164   if (D_is_set[macro]) {
14165     # Preserve the white space surrounding the "#".
14166     print prefix "define", macro P[macro] D[macro]
14167     next
14168   } else {
14169     # Replace #undef with comments.  This is necessary, for example,
14170     # in the case of _POSIX_SOURCE, which is predefined and required
14171     # on some systems where configure will not decide to define it.
14172     if (defundef == "undef") {
14173       print "/*", prefix defundef, macro, "*/"
14174       next
14175     }
14176   }
14177 }
14178 { print }
14179 _ACAWK
14180 _ACEOF
14181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14182   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14183 fi # test -n "$CONFIG_HEADERS"
14184
14185
14186 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14187 shift
14188 for ac_tag
14189 do
14190   case $ac_tag in
14191   :[FHLC]) ac_mode=$ac_tag; continue;;
14192   esac
14193   case $ac_mode$ac_tag in
14194   :[FHL]*:*);;
14195   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14196   :[FH]-) ac_tag=-:-;;
14197   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14198   esac
14199   ac_save_IFS=$IFS
14200   IFS=:
14201   set x $ac_tag
14202   IFS=$ac_save_IFS
14203   shift
14204   ac_file=$1
14205   shift
14206
14207   case $ac_mode in
14208   :L) ac_source=$1;;
14209   :[FH])
14210     ac_file_inputs=
14211     for ac_f
14212     do
14213       case $ac_f in
14214       -) ac_f="$ac_tmp/stdin";;
14215       *) # Look for the file first in the build tree, then in the source tree
14216          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14217          # because $ac_f cannot contain `:'.
14218          test -f "$ac_f" ||
14219            case $ac_f in
14220            [\\/$]*) false;;
14221            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14222            esac ||
14223            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14224       esac
14225       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14226       as_fn_append ac_file_inputs " '$ac_f'"
14227     done
14228
14229     # Let's still pretend it is `configure' which instantiates (i.e., don't
14230     # use $as_me), people would be surprised to read:
14231     #    /* config.h.  Generated by config.status.  */
14232     configure_input='Generated from '`
14233           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14234         `' by configure.'
14235     if test x"$ac_file" != x-; then
14236       configure_input="$ac_file.  $configure_input"
14237       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14238 $as_echo "$as_me: creating $ac_file" >&6;}
14239     fi
14240     # Neutralize special characters interpreted by sed in replacement strings.
14241     case $configure_input in #(
14242     *\&* | *\|* | *\\* )
14243        ac_sed_conf_input=`$as_echo "$configure_input" |
14244        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14245     *) ac_sed_conf_input=$configure_input;;
14246     esac
14247
14248     case $ac_tag in
14249     *:-:* | *:-) cat >"$ac_tmp/stdin" \
14250       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14251     esac
14252     ;;
14253   esac
14254
14255   ac_dir=`$as_dirname -- "$ac_file" ||
14256 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14257          X"$ac_file" : 'X\(//\)[^/]' \| \
14258          X"$ac_file" : 'X\(//\)$' \| \
14259          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14260 $as_echo X"$ac_file" |
14261     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14262             s//\1/
14263             q
14264           }
14265           /^X\(\/\/\)[^/].*/{
14266             s//\1/
14267             q
14268           }
14269           /^X\(\/\/\)$/{
14270             s//\1/
14271             q
14272           }
14273           /^X\(\/\).*/{
14274             s//\1/
14275             q
14276           }
14277           s/.*/./; q'`
14278   as_dir="$ac_dir"; as_fn_mkdir_p
14279   ac_builddir=.
14280
14281 case "$ac_dir" in
14282 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14283 *)
14284   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14285   # A ".." for each directory in $ac_dir_suffix.
14286   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14287   case $ac_top_builddir_sub in
14288   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14289   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14290   esac ;;
14291 esac
14292 ac_abs_top_builddir=$ac_pwd
14293 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14294 # for backward compatibility:
14295 ac_top_builddir=$ac_top_build_prefix
14296
14297 case $srcdir in
14298   .)  # We are building in place.
14299     ac_srcdir=.
14300     ac_top_srcdir=$ac_top_builddir_sub
14301     ac_abs_top_srcdir=$ac_pwd ;;
14302   [\\/]* | ?:[\\/]* )  # Absolute name.
14303     ac_srcdir=$srcdir$ac_dir_suffix;
14304     ac_top_srcdir=$srcdir
14305     ac_abs_top_srcdir=$srcdir ;;
14306   *) # Relative name.
14307     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14308     ac_top_srcdir=$ac_top_build_prefix$srcdir
14309     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14310 esac
14311 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14312
14313
14314   case $ac_mode in
14315   :F)
14316   #
14317   # CONFIG_FILE
14318   #
14319
14320   case $INSTALL in
14321   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14322   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14323   esac
14324   ac_MKDIR_P=$MKDIR_P
14325   case $MKDIR_P in
14326   [\\/$]* | ?:[\\/]* ) ;;
14327   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14328   esac
14329 _ACEOF
14330
14331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14332 # If the template does not know about datarootdir, expand it.
14333 # FIXME: This hack should be removed a few years after 2.60.
14334 ac_datarootdir_hack=; ac_datarootdir_seen=
14335 ac_sed_dataroot='
14336 /datarootdir/ {
14337   p
14338   q
14339 }
14340 /@datadir@/p
14341 /@docdir@/p
14342 /@infodir@/p
14343 /@localedir@/p
14344 /@mandir@/p'
14345 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14346 *datarootdir*) ac_datarootdir_seen=yes;;
14347 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14348   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14349 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14350 _ACEOF
14351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14352   ac_datarootdir_hack='
14353   s&@datadir@&$datadir&g
14354   s&@docdir@&$docdir&g
14355   s&@infodir@&$infodir&g
14356   s&@localedir@&$localedir&g
14357   s&@mandir@&$mandir&g
14358   s&\\\${datarootdir}&$datarootdir&g' ;;
14359 esac
14360 _ACEOF
14361
14362 # Neutralize VPATH when `$srcdir' = `.'.
14363 # Shell code in configure.ac might set extrasub.
14364 # FIXME: do we really want to maintain this feature?
14365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14366 ac_sed_extra="$ac_vpsub
14367 $extrasub
14368 _ACEOF
14369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14370 :t
14371 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14372 s|@configure_input@|$ac_sed_conf_input|;t t
14373 s&@top_builddir@&$ac_top_builddir_sub&;t t
14374 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14375 s&@srcdir@&$ac_srcdir&;t t
14376 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14377 s&@top_srcdir@&$ac_top_srcdir&;t t
14378 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14379 s&@builddir@&$ac_builddir&;t t
14380 s&@abs_builddir@&$ac_abs_builddir&;t t
14381 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14382 s&@INSTALL@&$ac_INSTALL&;t t
14383 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14384 $ac_datarootdir_hack
14385 "
14386 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14387   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14388
14389 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14390   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14391   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
14392       "$ac_tmp/out"`; test -z "$ac_out"; } &&
14393   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14394 which seems to be undefined.  Please make sure it is defined" >&5
14395 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14396 which seems to be undefined.  Please make sure it is defined" >&2;}
14397
14398   rm -f "$ac_tmp/stdin"
14399   case $ac_file in
14400   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14401   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14402   esac \
14403   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14404  ;;
14405   :H)
14406   #
14407   # CONFIG_HEADER
14408   #
14409   if test x"$ac_file" != x-; then
14410     {
14411       $as_echo "/* $configure_input  */" \
14412       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14413     } >"$ac_tmp/config.h" \
14414       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14415     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14416       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14417 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14418     else
14419       rm -f "$ac_file"
14420       mv "$ac_tmp/config.h" "$ac_file" \
14421         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14422     fi
14423   else
14424     $as_echo "/* $configure_input  */" \
14425       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14426       || as_fn_error $? "could not create -" "$LINENO" 5
14427   fi
14428 # Compute "$ac_file"'s index in $config_headers.
14429 _am_arg="$ac_file"
14430 _am_stamp_count=1
14431 for _am_header in $config_headers :; do
14432   case $_am_header in
14433     $_am_arg | $_am_arg:* )
14434       break ;;
14435     * )
14436       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14437   esac
14438 done
14439 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14440 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14441          X"$_am_arg" : 'X\(//\)[^/]' \| \
14442          X"$_am_arg" : 'X\(//\)$' \| \
14443          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14444 $as_echo X"$_am_arg" |
14445     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14446             s//\1/
14447             q
14448           }
14449           /^X\(\/\/\)[^/].*/{
14450             s//\1/
14451             q
14452           }
14453           /^X\(\/\/\)$/{
14454             s//\1/
14455             q
14456           }
14457           /^X\(\/\).*/{
14458             s//\1/
14459             q
14460           }
14461           s/.*/./; q'`/stamp-h$_am_stamp_count
14462  ;;
14463
14464   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14465 $as_echo "$as_me: executing $ac_file commands" >&6;}
14466  ;;
14467   esac
14468
14469
14470   case $ac_file$ac_mode in
14471     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14472   # Older Autoconf quotes --file arguments for eval, but not when files
14473   # are listed without --file.  Let's play safe and only enable the eval
14474   # if we detect the quoting.
14475   # TODO: see whether this extra hack can be removed once we start
14476   # requiring Autoconf 2.70 or later.
14477   case $CONFIG_FILES in #(
14478   *\'*) :
14479     eval set x "$CONFIG_FILES" ;; #(
14480   *) :
14481     set x $CONFIG_FILES ;; #(
14482   *) :
14483      ;;
14484 esac
14485   shift
14486   # Used to flag and report bootstrapping failures.
14487   am_rc=0
14488   for am_mf
14489   do
14490     # Strip MF so we end up with the name of the file.
14491     am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
14492     # Check whether this is an Automake generated Makefile which includes
14493     # dependency-tracking related rules and includes.
14494     # Grep'ing the whole file directly is not great: AIX grep has a line
14495     # limit of 2048, but all sed's we know have understand at least 4000.
14496     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
14497       || continue
14498     am_dirpart=`$as_dirname -- "$am_mf" ||
14499 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14500          X"$am_mf" : 'X\(//\)[^/]' \| \
14501          X"$am_mf" : 'X\(//\)$' \| \
14502          X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14503 $as_echo X"$am_mf" |
14504     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14505             s//\1/
14506             q
14507           }
14508           /^X\(\/\/\)[^/].*/{
14509             s//\1/
14510             q
14511           }
14512           /^X\(\/\/\)$/{
14513             s//\1/
14514             q
14515           }
14516           /^X\(\/\).*/{
14517             s//\1/
14518             q
14519           }
14520           s/.*/./; q'`
14521     am_filepart=`$as_basename -- "$am_mf" ||
14522 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
14523          X"$am_mf" : 'X\(//\)$' \| \
14524          X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
14525 $as_echo X/"$am_mf" |
14526     sed '/^.*\/\([^/][^/]*\)\/*$/{
14527             s//\1/
14528             q
14529           }
14530           /^X\/\(\/\/\)$/{
14531             s//\1/
14532             q
14533           }
14534           /^X\/\(\/\).*/{
14535             s//\1/
14536             q
14537           }
14538           s/.*/./; q'`
14539     { echo "$as_me:$LINENO: cd "$am_dirpart" \
14540       && sed -e '/# am--include-marker/d' "$am_filepart" \
14541         | $MAKE -f - am--depfiles" >&5
14542    (cd "$am_dirpart" \
14543       && sed -e '/# am--include-marker/d' "$am_filepart" \
14544         | $MAKE -f - am--depfiles) >&5 2>&5
14545    ac_status=$?
14546    echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547    (exit $ac_status); } || am_rc=$?
14548   done
14549   if test $am_rc -ne 0; then
14550     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14552 as_fn_error $? "Something went wrong bootstrapping makefile fragments
14553     for automatic dependency tracking.  Try re-running configure with the
14554     '--disable-dependency-tracking' option to at least be able to build
14555     the package (albeit without support for automatic dependency tracking).
14556 See \`config.log' for more details" "$LINENO" 5; }
14557   fi
14558   { am_dirpart=; unset am_dirpart;}
14559   { am_filepart=; unset am_filepart;}
14560   { am_mf=; unset am_mf;}
14561   { am_rc=; unset am_rc;}
14562   rm -f conftest-deps.mk
14563 }
14564  ;;
14565     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
14566         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
14567       esac ;;
14568     "po/stamp-it":C)
14569     if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
14570        as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
14571     fi
14572     rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
14573     >"po/stamp-it.tmp"
14574     sed '/^#/d
14575          s/^[[].*] *//
14576          /^[    ]*$/d
14577         '"s|^|  $ac_top_srcdir/|" \
14578       "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
14579
14580     sed '/^POTFILES =/,/[^\\]$/ {
14581                 /^POTFILES =/!d
14582                 r po/POTFILES
14583           }
14584          ' "po/Makefile.in" >"po/Makefile"
14585     rm -f "po/Makefile.tmp"
14586     mv "po/stamp-it.tmp" "po/stamp-it"
14587    ;;
14588
14589   esac
14590 done # for ac_tag
14591
14592
14593 as_fn_exit 0
14594 _ACEOF
14595 ac_clean_files=$ac_clean_files_save
14596
14597 test $ac_write_fail = 0 ||
14598   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14599
14600
14601 # configure is writing to config.log, and then calls config.status.
14602 # config.status does its own redirection, appending to config.log.
14603 # Unfortunately, on DOS this fails, as config.log is still kept open
14604 # by configure, so config.status won't be able to write to it; its
14605 # output is simply discarded.  So we exec the FD to /dev/null,
14606 # effectively closing config.log, so it can be properly (re)opened and
14607 # appended to by config.status.  When coming back to configure, we
14608 # need to make the FD available again.
14609 if test "$no_create" != yes; then
14610   ac_cs_success=:
14611   ac_config_status_args=
14612   test "$silent" = yes &&
14613     ac_config_status_args="$ac_config_status_args --quiet"
14614   exec 5>/dev/null
14615   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14616   exec 5>>config.log
14617   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14618   # would make configure fail if this is the last instruction.
14619   $ac_cs_success || as_fn_exit 1
14620 fi
14621 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14622   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14623 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14624 fi
14625
14626
14627 cat > config.report << END
14628
14629      Config results:
14630     -=-=-=-=-=-=-=-=-
14631
14632 Package:
14633   Name:          $PACKAGE_NAME
14634   Version:       $PACKAGE_VERSION
14635
14636 Architecture:
14637   UNIX:          $os_unix
14638   Win32:         $platform_win32 (native: $os_win32)
14639
14640 Flags:
14641   Geeqie:        $GQ_CFLAGS
14642   DEFS:          $DEFS
14643   CPPFLAGS:      $__CPPFLAGS
14644   CFLAGS:        $CFLAGS
14645   CXXFLAGS:      $CXXFLAGS
14646   Gtk:           $GTK_CFLAGS
14647   Glib:          $GLIB_CFLAGS
14648   Thread:        $GTHREAD_LIBS
14649   Others:        $JPEG_LIBS $TIFF_LIBS $LCMS_LIBS $EXIV2_LIBS $CLUTTER_LIBS $CLUTTER_GTK_LIBS $LIBCHAMPLAIN_LIBS $LIBCHAMPLAIN_GTK_LIBS $LUA_LIBS
14650
14651 Localization:
14652   NLS support:   $USE_NLS
14653   LINGUAS:       $LINGUAS
14654
14655 Settings:
14656   Developer:     $__IS_DEVELOPER
14657   Debug flags:   $__IS_DEBUG_FLAGS
14658   Debug log:     $__IS_DEBUG_LOG
14659   Deprecated:    $__IS_DEPRECATED
14660
14661 Support:
14662   LCMS:          $HAVE_LCMS
14663   Exiv2:         $HAVE_EXIV2
14664   Lirc:          $HAVE_LIRC
14665   Clutter:       $HAVE_CLUTTER
14666   Libchamplain:         $HAVE_LIBCHAMPLAIN
14667   Libchamplain-gtk:     $HAVE_LIBCHAMPLAIN_GTK
14668   Lua:           $HAVE_LUA
14669   FFmpegthumbnailer:    $HAVE_FFMPEGTHUMBNAILER
14670   Pdf:           $HAVE_PDF
14671
14672 Documentation:
14673   Doxygen:       $DX_DOXYGEN
14674   doc-tool:      $GNOME_DOC_TOOL
14675
14676 END
14677
14678 cat config.report
14679 cat <<EOF
14680
14681   Now you can type "make" to build Geeqie
14682   (or you take blue pill and the story ends :)
14683
14684 EOF